/* ============================================================================
   Pala — playpala.app
   Design system applies the ui-ux-pro-max methodology:
   semantic color tokens (never per-screen hex), 4.5:1+ contrast, 44px touch
   targets, vector icons (no emoji), 150–300ms motion, reduced-motion respected.
   Visual language: the app's own "Scoreboard" identity — deep-navy gradient,
   lime energy accent, cyan/orange team tints, glass stat cards, court texture.
   ========================================================================== */

:root {
  /* ── Brand surfaces (from the Pala app icon gradient) ── */
  --navy-top: #1C5C9E;
  --navy-mid: #103A6B;
  --navy-bot: #091C3A;
  --ink:      #0A1A30;

  /* ── Accents ── */
  --lime:      #C9E94B;
  --lime-soft: #DCF06E;
  --lime-deep: #A8CC2E;
  --cyan:      #5AC8FF;   /* "you" / winner */
  --orange:    #FFB35C;   /* opponents */
  --win:       #5CEC6E;
  --gold:      #FFD60A;   /* serve */

  /* ── Text on dark navy ── */
  --on-navy:       #EAF1FB;
  --on-navy-muted: #BAC7DE;
  --on-navy-faint: #93A3BD;

  /* ── Light document surfaces (legal / long-read) ── */
  --paper:    #F4F7FB;
  --card:     #FFFFFF;
  --text-ink: #0E1B33;
  --text-sec: #44546F;

  /* ── Lines & glass ── */
  --line:        rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.16);
  --glass:       rgba(255,255,255,.055);
  --glass-2:     rgba(255,255,255,.085);

  /* ── Type ── */
  --font: -apple-system, "SF Pro Display", "SF Pro Text", system-ui,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ── Rhythm ── */
  --container: 1120px;
  --radius:    20px;
  --radius-lg: 28px;
  --shadow:    0 24px 60px rgba(4,12,28,.45);
  --shadow-sm: 0 8px 24px rgba(4,12,28,.30);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--on-navy);
  background: var(--navy-bot);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Accessible focus ring everywhere */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--lime); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border-radius: 10px; transition: top .2s ease;
}
.skip:focus { top: 16px; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.eyebrow {
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

h1, h2, h3 { letter-spacing: -.025em; line-height: 1.04; font-weight: 800; }
.h-lead { font-size: clamp(13px, 1.5vw, 18px); color: var(--on-navy-muted); line-height: 1.6; font-weight: 450; }
.accent { color: var(--lime); }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 50px); margin: 16px 0 14px; }

/* court-line + glow texture (reused on navy surfaces) */
.court-tex { position: relative; isolation: isolate; }
.court-tex::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

/* ============================================================================
   Buttons & App Store badge
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px; line-height: 1; min-height: 52px;
  padding: 0 24px; border-radius: 14px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px rgba(201,233,75,.28); }
.btn-lime:hover { background: var(--lime-soft); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--on-navy); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.10); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); }

.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 14px;
  padding: 11px 20px 11px 18px; min-height: 56px;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, box-shadow .2s ease;
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.appstore svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.appstore .t { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore .t small { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.appstore .t b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,28,58,.55); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--on-navy-muted);
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 13px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--on-navy); background: rgba(255,255,255,.06); }
.nav .nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  color: var(--on-navy); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; }

/* ============================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -8%, var(--navy-top) 0%, var(--navy-mid) 44%, var(--navy-bot) 100%);
  padding-block: clamp(48px, 7vw, 92px) clamp(60px, 8vw, 110px);
}
.hero::before { /* glows */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 40% at 88% 4%, rgba(201,233,75,.16), transparent 60%),
    radial-gradient(46% 42% at 4% 96%, rgba(90,200,255,.12), transparent 60%);
}
.hero .court-tex::before { z-index: 0; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(38px, 6.2vw, 72px); margin: 20px 0 18px; }
.hero h1 .accent { display: inline; }
.hero p.h-lead { max-width: 520px; font-size: clamp(15px, 1.7vw, 20px); }
.hero .cta-row { margin-top: 30px; }
.hero .trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--on-navy-muted); font-size: 13.5px; font-weight: 600; }
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust svg { width: 16px; height: 16px; fill: var(--lime); flex: none; }

/* ── Device cluster (real Pala app screens) ── */
.devices { position: relative; height: auto; min-height: clamp(420px, 50vw, 560px); display: grid; place-items: center; }

/* iPhone — height follows the real screenshot's aspect ratio */
.iphone {
  width: clamp(238px, 25vw, 290px);
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2b3344, #0c0f16 60%);
  box-shadow: 0 40px 90px rgba(2,8,20,.6), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative; z-index: 2; transform: rotate(-3deg);
}
.iphone .screen {
  width: 100%; aspect-ratio: 620 / 1349; border-radius: 36px; overflow: hidden; position: relative;
  background: var(--navy-bot);
}
.iphone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.iphone .island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; background: #05080f; border-radius: 14px; z-index: 5; }

/* Apple Watch — height follows the real screenshot's aspect ratio */
.watch {
  position: absolute; left: clamp(-70px, -4.6vw, -40px); bottom: 6px; z-index: 3;
  width: clamp(120px, 13.4vw, 156px); transform: rotate(4deg);
}
.watch .case {
  border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #20242e, #05070c);
  box-shadow: 0 30px 60px rgba(2,8,20,.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.watch .screen {
  width: 100%; aspect-ratio: 416 / 496; border-radius: 26px; overflow: hidden; position: relative;
  background: var(--navy-bot);
}
.watch .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.float { animation: float 6s ease-in-out infinite; }
.float.slow { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--rot,0)); } 50% { transform: translateY(-12px) rotate(var(--rot,0)); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ============================================================================
   Trust marquee band
   ========================================================================== */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.band .inner { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); padding-block: 24px; }
.band .item { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy-muted); font-weight: 600; font-size: 14.5px; }
.band .item svg { width: 19px; height: 19px; fill: var(--lime); flex: none; }
.band .item b { color: var(--on-navy); }

/* ============================================================================
   Feature pillars (3 from the App Store description)
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar {
  background: linear-gradient(180deg, var(--glass-2), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pillar:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.pillar .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(201,233,75,.12); border: 1px solid rgba(201,233,75,.25); margin-bottom: 20px; }
.pillar .ico svg { width: 28px; height: 28px; stroke: var(--lime); fill: none; stroke-width: 1.8; }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--on-navy-muted); font-size: 15px; }
.pillar ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.pillar li { display: flex; gap: 10px; font-size: 14px; color: var(--on-navy-muted); }
.pillar li svg { width: 17px; height: 17px; fill: var(--lime); flex: none; margin-top: 2px; }

/* ============================================================================
   Bento feature grid
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.tile {
  background: linear-gradient(180deg, var(--glass-2), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  grid-column: span 2; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile.wide { grid-column: span 3; }
.tile .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); margin-bottom: 16px; }
.tile .ico svg { width: 24px; height: 24px; stroke: var(--lime); fill: none; stroke-width: 1.8; }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { color: var(--on-navy-muted); font-size: 14.5px; }
.tile .tag { position: absolute; top: 20px; right: 20px; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); background: rgba(255,214,10,.10); border: 1px solid rgba(255,214,10,.28);
  padding: 4px 9px; border-radius: 999px; }

/* ============================================================================
   Privacy section
   ========================================================================== */
.privacy-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.privacy-card {
  background: radial-gradient(120% 110% at 80% 0%, var(--navy-top), var(--navy-mid) 50%, var(--navy-bot));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.privacy-card .lock { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(201,233,75,.14); border: 1px solid rgba(201,233,75,.3); margin-bottom: 22px; }
.privacy-card .lock svg { width: 32px; height: 32px; stroke: var(--lime); fill: none; stroke-width: 1.8; }
.privacy-list { list-style: none; display: grid; gap: 16px; }
.privacy-list li { display: flex; gap: 13px; }
.privacy-list li svg { width: 22px; height: 22px; fill: var(--lime); flex: none; margin-top: 1px; }
.privacy-list li b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.privacy-list li span { color: var(--on-navy-muted); font-size: 14px; }

/* ============================================================================
   Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.02); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 24px; right: 26px;
  font-size: 46px; font-weight: 800; color: rgba(201,233,75,.18); line-height: 1; }
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { color: var(--on-navy-muted); font-size: 14.5px; }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 16.5px;
  display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-left: auto; width: 20px; height: 20px; transition: transform .25s ease; flex: none; }
.faq summary .chev svg { width: 100%; height: 100%; stroke: var(--lime); fill: none; stroke-width: 2; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .body { padding: 0 22px 20px; color: var(--on-navy-muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .faq summary .chev { transition: none; } }

/* ============================================================================
   Final CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 50% -20%, var(--navy-top), var(--navy-mid) 45%, var(--navy-bot)); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 60% at 50% 0%, rgba(201,233,75,.18), transparent 60%); }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-inner h2 { font-size: clamp(30px, 5vw, 56px); margin-bottom: 16px; }
.cta-inner p { color: var(--on-navy-muted); font-size: clamp(15px, 1.6vw, 19px); margin-bottom: 32px; }
.cta-inner .cta-row { justify-content: center; }

/* ============================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); background: var(--navy-bot); padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 14px; }
.footer .tagline { color: var(--on-navy-muted); font-size: 14.5px; max-width: 300px; }
.footer h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-faint);
  margin-bottom: 16px; font-weight: 800; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer ul a { display: inline-block; color: var(--on-navy-muted); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer ul a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--on-navy-faint); font-size: 13px; }
.footer-bottom .legal { display: flex; gap: 8px; }
.footer-bottom .legal a { padding: 6px 10px; border-radius: 8px; }
.footer-bottom .legal a:hover { color: var(--on-navy); background: rgba(255,255,255,.05); }
.footer-bottom a:hover { color: var(--on-navy-muted); }

/* ============================================================================
   Legal / document pages (light, high-readability)
   ========================================================================== */
.doc-hero { background: radial-gradient(120% 120% at 80% -20%, var(--navy-top), var(--navy-mid) 50%, var(--navy-bot));
  position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 86px) clamp(40px, 5vw, 64px); }
.doc-hero::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 50% at 88% 0%, rgba(201,233,75,.14), transparent 60%); }
.doc-hero .inner { position: relative; z-index: 2; }
.doc-hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 14px 0 10px; }
.doc-hero .updated { color: var(--on-navy-muted); font-size: 14px; }
.doc-wrap { background: var(--paper); color: var(--text-ink); }
.doc {
  max-width: 820px; margin: -36px auto clamp(64px, 8vw, 110px); position: relative; z-index: 3;
  background: var(--card); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 24px 60px rgba(8,24,52,.16); border: 1px solid #E7EDF5;
}
.doc h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--text-ink); margin: 34px 0 12px; letter-spacing: -.02em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; color: var(--text-ink); margin: 22px 0 8px; }
.doc p, .doc li { color: var(--text-sec); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 8px; }
.doc a { color: #1768B8; font-weight: 600; }
.doc a:hover { text-decoration: underline; }
.doc strong { color: var(--text-ink); }
.doc .lead { font-size: 18px; color: var(--text-ink); }
.doc .toc { background: var(--paper); border: 1px solid #E3EAF3; border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; }
.doc .toc h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #6B7A92; margin-bottom: 12px; font-weight: 800; }
.doc .toc ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.doc .toc a { color: var(--text-sec); font-weight: 500; }
.doc .callout { background: rgba(201,233,75,.10); border: 1px solid rgba(168,204,46,.4); border-radius: 14px;
  padding: 18px 20px; margin: 22px 0; }
.doc .callout p { color: #3a4a2a; margin-bottom: 0; }
.doc .callout strong { color: #2e3d1d; }

/* FAQ on support page (light) */
.doc .qa { border: 1px solid #E7EDF5; border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.doc .qa summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; color: var(--text-ink);
  display: flex; align-items: center; gap: 12px; }
.doc .qa summary::-webkit-details-marker { display: none; }
.doc .qa summary .chev { margin-left: auto; transition: transform .25s ease; }
.doc .qa summary .chev svg { width: 18px; height: 18px; stroke: #1768B8; fill: none; stroke-width: 2; }
.doc .qa[open] summary .chev { transform: rotate(180deg); }
.doc .qa .body { padding: 0 20px 18px; color: var(--text-sec); }
.doc .qa .body p { margin-bottom: 0; }

/* ============================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .devices { order: -1; height: auto; padding-block: 6px 2px; margin-bottom: 6px; }
  .hero .iphone { width: clamp(238px, 62vw, 282px); transform: rotate(-2deg); }
  .hero .watch { left: clamp(-54px, -14vw, -34px); bottom: 0; width: clamp(116px, 30vw, 148px); transform: rotate(3deg); }
  .privacy-wrap { grid-template-columns: 1fr; }
  .bento .tile, .bento .tile.wide { grid-column: span 3; }
}
@media (max-width: 980px) {
  .nav-links, .nav .nav-cta.desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: rgba(7,22,46,.97); backdrop-filter: blur(16px); padding: 14px 22px 20px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open .nav-links a { padding: 13px 12px; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .tile, .bento .tile.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn, .cta-row .appstore { width: 100%; }
  .hero .cta-row .appstore { justify-content: center; }
}
