/* ==========================================================================
   AtLastWalk landing page — E16
   Layout + component styles for the public marketing site. All colour, radius,
   shadow, spacing and font values are taken from nocturne-styles.css tokens.
   Rebuilt cleanly from the design reference (not copied from the .dc.html).
   ========================================================================== */

/* ---- keyframes (all reduced-motion-safe; see @media block at the end) ---- */
@keyframes aw-draw   { from { stroke-dashoffset: 402.12; } to { stroke-dashoffset: 130; } }
@keyframes aw-glow   { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.85; } }
@keyframes aw-up     { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aw-float  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes aw-marquee{ from { transform: translateX(0); } to { transform: translateX(-50%); } }

html { scroll-behavior: smooth; }
body { margin: 0; text-wrap: pretty; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-400); }

/* Skip link (A11y-2): off-screen until focused, then pinned top-left. */
.skip-link {
  position: absolute; left: var(--space-4); top: -60px; z-index: 100;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
  background: var(--color-surface); color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-accent);
  font-family: var(--font-heading); font-weight: 500; font-size: 14px;
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: var(--space-4); color: var(--color-text); }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* Page ground: the two ambient radial washes plus the base bg. */
.page {
  overflow-x: hidden;
  background:
    radial-gradient(1300px 780px at 84% -220px, color-mix(in srgb, var(--color-accent-900) 85%, transparent), transparent 62%),
    radial-gradient(1100px 800px at -12% 62%, color-mix(in srgb, black 34%, transparent), transparent 55%),
    var(--color-bg);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

/* Inline SVG icon helper — sprite symbols are rendered via <use>. */
.icon { width: 1em; height: 1em; display: block; fill: currentColor; flex: none; }
.i-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.eyebrow {
  display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-accent); margin: 0 0 16px;
}

/* ========================== Nav ========================== */
.site-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: var(--space-6);
  padding: var(--space-3) max(24px, calc((100% - 1240px) / 2 + 24px));
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
}
.site-nav .brand { display: flex; align-items: center; margin-right: auto; flex-shrink: 0; }
.site-nav .brand img { height: 38px; width: auto; display: block; flex-shrink: 0; }
.site-nav a { color: inherit; font-size: 14px; }
.site-nav a.navlink:hover { color: var(--color-accent); }
.site-nav .btn-primary { font-size: 14px; }
.site-nav .nav-links { display: flex; align-items: center; gap: var(--space-6); }
/* Hamburger toggle — hidden on desktop, revealed at the mobile breakpoint. */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--color-divider); border-radius: var(--radius-sm);
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--color-text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========================== Hero ========================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 84px 0 72px;
}
.hero-copy { animation: aw-up 0.8s cubic-bezier(0.22,1,0.36,1) both; }

.pill {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent-900) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--color-accent-700);
  font-size: 12.5px; color: var(--color-accent-200);
}
.pill .pill-tag {
  padding: 3px 9px; border-radius: 999px;
  background: var(--color-accent-800); color: var(--color-accent-100);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(44px, 6.2vw, 84px); line-height: 1.06;
  letter-spacing: -0.022em; margin: 26px 0 0 -0.06em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--color-accent); }
.hero-lede {
  font-size: 17.5px; line-height: 29px; max-width: 52ch; margin: 30px 0 0;
  color: color-mix(in srgb, var(--color-text) 84%, transparent);
}

/* Store buttons — pair wraps together, never shrink-to-fit. */
.store-row { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: 32px; }
.store-btn {
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  padding: 11px 20px 11px 16px; border-radius: var(--radius-md);
  background: var(--color-neutral-900); color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-neutral-700), var(--shadow-md);
  transition: box-shadow 0.18s ease;
}
.store-btn:hover, .store-btn:focus-visible {
  color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-accent), var(--shadow-md);
}
.store-btn .glyph { font-size: 27px; color: var(--color-text); }
.store-btn .glyph.small { font-size: 25px; }
.store-btn .label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .label .top {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.store-btn .label .bottom {
  font-family: var(--font-heading); font-weight: 500; font-size: 18px; letter-spacing: -0.01em;
}

.hero-meta {
  display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap;
  margin-top: 26px; font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.hero-meta .rating { display: inline-flex; align-items: center; gap: 5px; }
.hero-meta .rating .icon { color: var(--color-accent); width: 14px; height: 14px; }
.hero-meta .rating .count { margin-left: 5px; font-feature-settings: 'tnum' 1; }
.hero-meta .nowear { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .nowear .icon { color: var(--color-accent); width: 15px; height: 15px; }

/* ---- Hero device ---- */
.hero-device {
  justify-self: center; position: relative;
  animation: aw-up 0.9s 0.12s cubic-bezier(0.22,1,0.36,1) both;
}
.device-glow {
  position: absolute; inset: -8% -14%;
  background: radial-gradient(circle at 50% 38%, var(--color-accent-800) 0%, transparent 62%);
  filter: blur(46px); animation: aw-glow 6s ease-in-out infinite; pointer-events: none;
}
.device-stage { position: relative; width: 322px; height: 700px; }
.device-scale {
  transform: scale(0.8); transform-origin: top left;
  filter:
    drop-shadow(0 2px 0 color-mix(in srgb, var(--color-accent-300) 55%, transparent))
    drop-shadow(0 24px 40px rgba(0,0,0,0.62))
    drop-shadow(0 60px 90px rgba(0,0,0,0.5));
}

/* Clean CSS iPhone frame (replaces the prototype .jsx chrome). */
.device {
  width: 402px; height: 874px; border-radius: 48px; background: #000;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.12);
}
.device .island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50;
}
.device .statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 34px 0; color: var(--color-text);
}
.device .statusbar .time {
  /* Weight 500 so we do not rely on an Inter 600 face (dropped for perf); the
     Apple system fonts lead the stack and still render the iOS status weight. */
  font-weight: 500; font-size: 17px;
  font-family: -apple-system, "SF Pro", system-ui, "Inter", sans-serif;
}
.device .statusbar .sysicons { display: flex; align-items: center; gap: 7px; }
.device .statusbar .sysicons svg { display: block; }
.device .home-indicator {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 139px; height: 5px; border-radius: 100px;
  background: rgba(255,255,255,0.7); z-index: 60;
}
.device .screen {
  height: 100%; box-sizing: border-box; padding: 74px 22px 46px;
  display: flex; flex-direction: column; gap: 18px;
  background: radial-gradient(120% 55% at 50% 0%, var(--color-accent-900) 0%, var(--color-bg) 68%);
  color: var(--color-text);
}
.screen .greet-kicker {
  font-family: var(--font-heading); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.screen .greet-name {
  font-family: var(--font-heading); font-weight: 500; font-size: 28px;
  letter-spacing: -0.015em; margin-top: 4px;
}
.screen .pred-card {
  border-radius: var(--radius-md); padding: 22px;
  background: linear-gradient(160deg, var(--color-accent-900), var(--color-surface) 72%);
  box-shadow: 0 0 0 1px var(--color-accent-700), var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.screen .pred-card .card-eyebrow {
  align-self: flex-start; font-family: var(--font-heading); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent);
}
.screen .pred-card .dial { display: block; overflow: visible; }
.screen .pred-card .band {
  width: 100%; display: flex; justify-content: space-between; font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.screen .pred-card .band .conf { color: var(--color-accent-300); }
.screen .sub-card {
  border-radius: var(--radius-md); padding: 16px;
  background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-neutral-700);
}
.screen .credit { display: flex; align-items: center; justify-content: space-between; }
.screen .credit .label, .screen .grants .label {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.screen .credit .amount {
  font-family: var(--font-heading); font-weight: 500; font-size: 22px;
  margin-top: 3px; font-feature-settings: 'tnum' 1;
}
.screen .credit .icon { color: var(--color-accent); width: 20px; height: 20px; }
.screen .grants { display: flex; flex-direction: column; gap: 10px; }
.screen .grants .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.screen .grants .tag { font-size: 12px; }
.screen .privacy-line {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1.5;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.screen .privacy-line .icon { color: var(--color-accent); width: 18px; height: 18px; }

/* Floating stat chips outside the bezel. */
.stat-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--color-neutral-700), var(--shadow-md);
}
.stat-chip .icon { color: var(--color-accent); width: 18px; height: 18px; }
.stat-chip .val { display: flex; flex-direction: column; line-height: 1.2; }
.stat-chip .val .big {
  font-family: var(--font-heading); font-weight: 500; font-size: 15px;
  font-feature-settings: 'tnum' 1;
}
.stat-chip .val .cap {
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 58%, transparent);
}
.stat-chip.hit { top: 268px; left: -182px; animation: aw-float 7s ease-in-out infinite; }
.stat-chip.credit { bottom: 128px; right: -70px; animation: aw-float 7s 1.6s ease-in-out infinite; }

/* ========================== Partner marquee ========================== */
.marquee {
  padding: 6px 0 26px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
          mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex; width: max-content; gap: 64px;
  animation: aw-marquee 34s linear infinite;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 42%, transparent);
}
.marquee-track span { white-space: nowrap; }

/* ========================== Stat band ========================== */
.stat-band {
  background:
    radial-gradient(900px 420px at 85% -40%, color-mix(in srgb, var(--color-section-glow) 70%, transparent), transparent 64%),
    var(--color-section);
  padding: 66px 0;
}
.stat-band .grid {
  display: grid; grid-template-columns: repeat(4, auto);
  justify-content: space-between; gap: 40px 28px;
}
.stat-band .figure {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; margin: 0 0 0 -0.055em;
}
.stat-band .caption {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 64%, transparent); margin: 14px 0 0;
}

/* ========================== Inside the app (bento) ========================== */
.section { padding: 92px 0 40px; }
.section h2 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -0.018em;
  margin: 0; max-width: 20ch;
}
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6); margin-top: 44px;
}
.bento .cell {
  border-radius: var(--radius-md); padding: var(--space-8);
  background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-neutral-700);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.bento .cell.wide { grid-column: span 4; }
.bento .cell.narrow { grid-column: span 2; }
.bento .cell.feature {
  background: linear-gradient(155deg, color-mix(in srgb, var(--color-accent-900) 70%, transparent), var(--color-surface) 76%);
  box-shadow: inset 0 0 0 1px var(--color-accent-800), var(--shadow-md);
}
.bento .cell .icon { color: var(--color-accent); width: 24px; height: 24px; }
.bento .cell h3 {
  font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.014em; margin: 0;
}
.bento .cell.wide h3 { font-size: 25px; }
.bento .cell.narrow h3 { font-size: 20px; letter-spacing: -0.012em; }
.bento .cell p { margin: 0; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.bento .cell.wide p { font-size: 15.5px; line-height: 27px; max-width: 48ch; }
.bento .cell.narrow p { font-size: 15px; line-height: 26px; }

/* ========================== For partners ========================== */
.partners-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-8); flex-wrap: wrap;
}
.partners-head h2 { max-width: 22ch; }
.partners-head .intro {
  font-size: 15.5px; line-height: 27px; margin: 0; max-width: 40ch;
  color: color-mix(in srgb, var(--color-text) 74%, transparent);
}
.tablist {
  display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: 42px;
  border-bottom: 1px solid var(--color-neutral-700);
}
.tab {
  appearance: none; background: none; border: 0; padding: 0 0 14px;
  cursor: pointer; color: var(--color-text);
  font-family: var(--font-heading); font-weight: 500; font-size: 17px;
  letter-spacing: -0.008em; display: flex; align-items: center; gap: 9px;
  position: relative;
}
.tab .icon { width: 19px; height: 19px; }
.tab[aria-selected="true"] { color: var(--color-text); }
.tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--color-accent);
}
.tab[aria-selected="false"] { color: color-mix(in srgb, var(--color-text) 66%, transparent); }
.tab[aria-selected="false"]:hover { color: var(--color-text); }

.partner-panel {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px); align-items: start; padding: 48px 0 0;
}
.partner-panel[hidden] { display: none; }
.partner-panel .k-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 58%, transparent);
}
.partner-panel .k-label.accent { color: var(--color-accent); margin: 30px 0 0; }
.partner-panel .problem { font-size: 17px; line-height: 29px; margin: 10px 0 0; max-width: 46ch; }
.partner-panel .answer {
  font-size: 15.5px; line-height: 27px; margin: 10px 0 0; max-width: 50ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.partner-panel .metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6); margin-top: 34px;
}
.partner-panel .metrics .figure {
  font-family: var(--font-heading); font-weight: 500; font-size: 25px; letter-spacing: -0.015em;
}
.partner-panel .metrics .label {
  font-size: 12.5px; line-height: 20px; margin-top: 6px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.partner-panel .actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: 34px; }

.console {
  border-radius: var(--radius-md); padding: var(--space-8);
  background: linear-gradient(160deg, color-mix(in srgb, var(--color-accent-900) 60%, transparent), var(--color-surface) 74%);
  box-shadow: inset 0 0 0 1px var(--color-neutral-700), var(--shadow-md);
  display: flex; flex-direction: column; gap: var(--space-6);
}
.console .console-head { display: flex; align-items: center; justify-content: space-between; }
.console .console-name {
  font-family: var(--font-heading); font-weight: 500; font-size: 15px; letter-spacing: -0.008em;
}
.console .rows { display: flex; flex-direction: column; gap: var(--space-4); }
.console .row { display: flex; flex-direction: column; gap: 7px; }
.console .row .rowtop {
  display: flex; justify-content: space-between; font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 74%, transparent);
}
.console .row .rowtop .val { font-feature-settings: 'tnum' 1; color: var(--color-text); }
.console .row .bar { height: 6px; border-radius: 999px; background: var(--color-neutral-800); overflow: hidden; }
.console .row .bar span { display: block; height: 100%; border-radius: 999px; background: var(--color-accent); }
.console .console-note {
  display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  border-top: 1px solid var(--color-neutral-700); padding-top: var(--space-4);
}
.console .console-note .icon { color: var(--color-accent); width: 15px; height: 15px; }

/* ========================== Privacy ========================== */
/* N3/N4: h2 bottom spacing from spacing tokens (was an inline margin-bottom:40px). */
.privacy-h2 { margin-bottom: calc(var(--space-8) + var(--space-6)); }
.privacy-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6);
}
.privacy-grid .card .icon { color: var(--color-accent); width: 22px; height: 22px; }
/* card-title is a real <h3> (A11y-5); neutralise the default heading margins. */
.privacy-grid .card h3.card-title { margin: var(--space-3) 0 0; }

/* ========================== Quote ========================== */
.quote-section { padding: 56px 0 40px; }
.quote {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 42px; letter-spacing: -0.01em;
  max-width: 32ch; margin: 0; text-indent: -0.474em;
}
.quote-by {
  /* Attribution now reads "By ..." (no em-dash per house style), so there is no
     leading mark to hang: it aligns flush with the quote body (text-indent 0). */
  font-size: 15.5px; line-height: 28px; margin: 34px 0 0;
  color: color-mix(in srgb, var(--color-text) 64%, transparent);
  text-indent: 0;
}

/* ========================== Download ========================== */
.download {
  background:
    radial-gradient(900px 460px at 20% -30%, color-mix(in srgb, var(--color-section-glow) 70%, transparent), transparent 64%),
    var(--color-section);
  padding: 84px 0;
}
.download .inner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-6);
}
.download .lockup { width: min(420px, 80%); height: auto; }
.download h2 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0; max-width: 18ch;
}
.download p {
  font-size: 16.5px; line-height: 28px; margin: 0; max-width: 52ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.download .store-row { width: 100%; justify-content: center; margin-top: var(--space-2); }
.download .store-btn {
  padding: 12px 22px 12px 18px;
  background: color-mix(in srgb, black 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-text) 30%, transparent);
}
.download .store-btn:hover, .download .store-btn:focus-visible {
  box-shadow: inset 0 0 0 1px var(--color-text);
}
.download .store-btn .glyph { font-size: 28px; }
.download .store-btn .glyph.small { font-size: 26px; }
.download .store-btn .label .bottom { font-size: 19px; }
.download .reqs {
  width: 100%; display: flex; align-items: center; gap: var(--space-8);
  flex-wrap: wrap; justify-content: center; margin-top: var(--space-2);
  font-size: 13px; color: color-mix(in srgb, var(--color-text) 66%, transparent);
}

/* ========================== Footer ========================== */
.site-footer {
  padding: 48px 0; font-size: 13px; line-height: 26px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  display: flex; justify-content: space-between; gap: var(--space-6);
  flex-wrap: wrap; align-items: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-device { margin-top: var(--space-8); }
  .partner-panel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .cell.wide, .bento .cell.narrow { grid-column: span 1; }
  .partners-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .stat-band .grid { grid-template-columns: repeat(2, 1fr); justify-content: stretch; }
  .bento { grid-template-columns: 1fr; }
  /* Drop the hanging punctuation where the gutter is narrower than the mark. */
  .quote { text-indent: 0; }
  .quote-by { text-indent: 0; }
  /* The floating hero stat chips are positioned OUTSIDE the phone frame; on a
     narrow screen they hang past the viewport edges (clipped, distorted), so hide
     these decorative flourishes on small screens. */
  .stat-chip { display: none; }
  /* Hamburger nav: show the toggle and collapse the links into a dropdown panel
     that the .open class (toggled in main.js) reveals below the bar. */
  .nav-toggle { display: inline-flex; }
  /* Selectors are scoped to .site-nav so they outrank the desktop base rule
     `.site-nav .nav-links { display: flex }` (equal specificity, later wins). */
  .site-nav .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-2) 24px var(--space-4);
    background: var(--color-bg); border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-md);
  }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-links .navlink { padding: var(--space-3) 0; font-size: 16px; }
  .site-nav .nav-links .navlink + .navlink { border-top: 1px solid var(--color-divider); }
  .site-nav .nav-links .btn-primary { margin-top: var(--space-3); justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  /* Store buttons wrap as a full-width pair rather than shrinking to fit. */
  .store-row { flex-wrap: wrap; }
  .store-btn { flex: 1 1 100%; justify-content: flex-start; }
  .download .store-btn { justify-content: center; }
  .tablist { gap: var(--space-6); }
  .tab { font-size: 16px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Reduced motion — pause the marquee and float, freeze entry + dial draw.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .hero-device { animation: none; }
  .marquee-track { animation: none; }
  .stat-chip.hit, .stat-chip.credit { animation: none; }
  .device-glow { animation: none; opacity: 0.6; }
  .dial-arc { animation: none !important; stroke-dashoffset: 130 !important; }
}

/* ==========================================================================
   What is free (credits) · 24 business types · FAQ — Landing v3 sections.
   ========================================================================== */
.credits-card {
  border-radius: var(--radius-md); padding: var(--space-8);
  background: linear-gradient(155deg, var(--color-accent-900), var(--color-surface) 64%);
  box-shadow: 0 0 0 1px var(--color-accent-700);
  display: flex; flex-direction: column; gap: var(--space-6);
}
.credits-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.credits-copy { max-width: 52ch; }
.credits-copy h2 { margin: 10px 0 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.02em; }
.credits-copy p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.free-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.free-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.free-list .icon { color: var(--color-accent); width: 16px; height: 16px; flex-shrink: 0; }
.credits-note { margin: 0; max-width: 74ch; font-size: 13.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 72%, transparent); }

.types-card {
  margin-top: var(--space-8); border-radius: var(--radius-md); padding: var(--space-8);
  background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-divider);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.types-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.types-title { font-family: var(--font-heading); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; }
.types-sub { font-size: 13px; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.types-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.types-chips .tag { font-size: 12.5px; }

.faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; margin-bottom: var(--space-8); }
.faq-head > div:first-child { max-width: 32ch; }
.faq-contact { display: flex; flex-direction: column; gap: var(--space-3); max-width: 38ch; }
.faq-contact p { margin: 0; font-size: 15.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 74%, transparent); }
.faq-contact .btn { align-self: flex-start; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: var(--space-4); }
.faq-col-label { font-family: var(--font-heading); font-weight: 500; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 58%, transparent); }
.faq-item {
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-text) 4%, transparent);
  box-shadow: inset 0 0 0 1px var(--color-divider);
}
.faq-item[open] { background: color-mix(in srgb, var(--color-accent) 9%, transparent); box-shadow: inset 0 0 0 1px var(--color-accent-700); }
.faq-item summary {
  display: flex; align-items: center; gap: var(--space-4); cursor: pointer; list-style: none;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading); font-weight: 500; font-size: 16.5px; letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--color-text) 86%, transparent);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: ""; flex: 1; order: 0; }
.faq-item summary > :first-child { order: -1; }
.faq-item summary { justify-content: flex-start; }
.faq-item summary { position: relative; padding-right: 48px; }
.faq-item[open] summary { color: var(--color-text); }
.faq-mark {
  position: absolute; right: var(--space-6); top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: color-mix(in srgb, var(--color-text) 50%, transparent);
  transition: transform 0.18s ease, color 0.18s ease;
}
.faq-item[open] .faq-mark { transform: translateY(-50%) rotate(45deg); color: var(--color-accent); }
@media (prefers-reduced-motion: reduce) { .faq-mark { transition: none; } }
.faq-a { padding: 0 var(--space-6) var(--space-6); font-size: 14.5px; line-height: 1.62; color: color-mix(in srgb, var(--color-text) 76%, transparent); }
.faq-proof { display: flex; align-items: center; gap: 9px; margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-accent) 12%, transparent); font-size: 13px; line-height: 1.5; color: var(--color-accent-300); }
.faq-proof .icon { color: var(--color-accent); width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .credits-head { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
  .free-list { min-width: 0; }
}
