/* Haven Footbag Designer micro site (about + support). Copied into dist/ by
   `npm run build:web`, so it ships with every web deploy of the app. */
:root {
  --bg: #eaf6fd;        /* Pale Blue */
  --card: #ffffff;
  --text: #16211f;      /* Ink */
  --muted: #666666;     /* Dark Gray */
  --accent: #007ca5;    /* Teal */
  --line: #d6e8f2;
  --band-from: #0c2b35; /* Dark Teal */
  --band-to: #007ca5;
  --logo-filter: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c2b35;
    --card: #123844;
    --text: #f2f7f9;
    --muted: #a9c3cc;
    --accent: #5cc3e6;
    --line: #1f4a57;
    --band-from: #081e25;
    --band-to: #0c4a5e;
    --logo-filter: invert(1);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Mulish, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
a { color: var(--accent); }
strong { color: var(--text); }
p, li { color: var(--muted); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; margin: 0 auto; }

/* Header + nav */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 0; }
.top .logo img { display: block; width: 300px; max-width: 100%; filter: var(--logo-filter); }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; font-size: 15px; }
.top nav a { color: var(--text); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding: 16px 0 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 16px; font-weight: 800; }
.lede { font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.btn { display: inline-block; border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: 15px; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-quiet { background: var(--card); color: var(--text); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0c2b35; } }
/* The hero image is a phone cut out on a transparent background, so the shadow
   follows its outline. */
.hero .shot img { display: block; margin: 0 auto; width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 20px 24px rgba(12, 43, 53, 0.22)); }

/* Dark Teal band */
.band { background: linear-gradient(160deg, var(--band-from), var(--band-to)); color: #fff; padding: 48px 0; margin: 24px 0; }
.band h2 { color: #fff; }
.band p { color: #d7ebf2; }
.makes { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
.makes figure { margin: 0; text-align: center; }
.makes img { height: 200px; width: auto; object-fit: contain; }
.makes figcaption strong { display: block; color: #fff; font-size: 18px; margin-top: 8px; }
.makes figcaption span { color: #d7ebf2; font-size: 15px; }
.makes .icon3d { height: 200px; display: grid; place-items: center; font-size: 84px; line-height: 1; }

/* Screenshot row */
.shots { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 32px 0; }
.shots img { display: block; margin: 0 auto; max-width: 280px; border-radius: 24px; box-shadow: 0 16px 32px rgba(12, 43, 53, 0.18); }

h2 { font-size: 26px; line-height: 1.2; margin: 40px 0 10px; font-weight: 800; }
h3 { font-size: 18px; margin: 20px 0 4px; }
section { margin-bottom: 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 22px 10px; margin: 16px 0; }
.card h2 { margin-top: 18px; font-size: 22px; }
.card ol, .card ul { padding-left: 22px; }
.card li { margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.toc a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; text-decoration: none; }
h2[id], .card[id] { scroll-margin-top: 16px; }
.apps { padding-left: 22px; }
.apps li { margin-bottom: 8px; }

footer { margin: 48px auto 0; padding: 24px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { font-weight: 700; }

@media (min-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .makes { grid-template-columns: repeat(3, 1fr); }
}

/* Splash page (/footbagdesigner/): logo, two buttons in an even 50/50 split,
   one helper paragraph below them */
body.splash { min-height: 100vh; display: flex; }
.splash main { width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 24px; }
.splash-logo { margin: 0 auto 36px; text-align: center; }
.splash-logo img { display: block; margin: 0 auto; width: min(420px, 100%); filter: var(--logo-filter); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; width: 100%; margin: 0 auto; }
.choice { text-align: center; font-size: 17px; padding: 14px 12px; }
.splash-help { max-width: 520px; margin: 18px auto 0; text-align: center; font-size: 16px; }
.splash-footer { border-top: 0; margin: 32px auto 0; padding: 0; text-align: center; }

/* Support page: in-app purchase icons beside their section headings */
.iap-head { display: flex; align-items: center; gap: 14px; }
.iap-head img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
