/* SourceHawk (c) 2026. All rights reserved. Proprietary.
   https://sourcehawk.fleczona.com/terms */

/* ============================================================
   SourceHawk site
   Ink/navy base, one gold accent, green/red only as eligibility
   signals. Glass surfaces: translucent fills + backdrop blur +
   1px light borders over soft gradient washes. Dark is the
   brand; light is a designed variant, not an inversion.
   Faces: Geist (display) / Inter Tight (body) / Geist Mono (data).
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:     #0C1626;
  --surface: #142438;
  --raised:  #18293F;
  --border:  #1C2C45;
  --gold:    #F5A524;
  --text:    #F7FAFC;
  --text-2:  #B9C4D6;
  --steel:   #7C8AA5;
  --ungated: #16C784;
  --gated:   #F0426B;

  /* gold that is safe AS TEXT on the current background */
  --accent-text: #F5A524;
  /* button gold */
  --accent: #F5A524;
  --accent-hover: #FFB845;
  --on-accent: #0C1626;

  /* focus ring: gold clears 3:1 on the dark surfaces */
  --focus-ring: #F5A524;

  /* glass */
  --glass-hi: rgba(255, 255, 255, 0.075);
  --glass-lo: rgba(255, 255, 255, 0.03);
  --glass-edge: rgba(255, 255, 255, 0.10);
  --glass-shine: rgba(255, 255, 255, 0.07);

  --glow: rgba(245, 165, 36, 0.07);
  --shadow-card: 0 1px 2px rgba(2, 6, 14, 0.4), 0 12px 32px -14px rgba(2, 6, 14, 0.55);
  --shadow-card-hover: 0 2px 4px rgba(2, 6, 14, 0.4), 0 22px 48px -16px rgba(2, 6, 14, 0.65);
  --shadow-shell: 0 1px 2px rgba(2, 6, 14, 0.45), 0 34px 80px -26px rgba(2, 6, 14, 0.75);
  --nav-veil: rgba(12, 22, 38, 0.6);

  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter Tight", -apple-system, "Segoe UI", sans-serif;
  --mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1120px;
  --bleed: 1480px;
}

[data-theme="light"] {
  --ink:     #FAF8F4;
  --surface: #FFFFFF;
  --raised:  #F3EFE7;
  --border:  #E4DFD3;
  --text:    #131C2E;
  --text-2:  #3D4A61;
  --steel:   #5A6880;

  --accent-text: #8F5B00;
  --accent: #F5A524;
  --accent-hover: #E29310;
  --on-accent: #131C2E;
  /* raw gold is ~2:1 on the warm whites; the dark amber clears 3:1 */
  --focus-ring: #8F5B00;

  --glass-hi: rgba(255, 255, 255, 0.78);
  --glass-lo: rgba(255, 255, 255, 0.5);
  --glass-edge: rgba(19, 28, 46, 0.10);
  --glass-shine: rgba(255, 255, 255, 0.9);

  --glow: rgba(245, 165, 36, 0.11);
  --shadow-card: 0 1px 2px rgba(60, 48, 20, 0.06), 0 12px 28px -14px rgba(60, 48, 20, 0.18);
  --shadow-card-hover: 0 2px 4px rgba(60, 48, 20, 0.07), 0 20px 44px -16px rgba(60, 48, 20, 0.24);
  --shadow-shell: 0 1px 2px rgba(60, 48, 20, 0.08), 0 34px 70px -28px rgba(60, 48, 20, 0.3);
  --nav-veil: rgba(250, 248, 244, 0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* overflow-x on BOTH html and body, `clip` where supported: unlike `hidden`,
   mobile browsers cannot pan or zoom into clipped overflow, so decorative
   bleed (glows) can never widen the page. */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color 250ms ease, color 250ms ease;
}
/* ambient washes the glass blurs against */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(56% 42% at 72% -8%, rgba(245, 165, 36, 0.10), transparent 62%),
    radial-gradient(48% 38% at 8% 6%, rgba(64, 106, 170, 0.16), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(64, 106, 170, 0.10), transparent 60%);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(56% 42% at 72% -8%, rgba(245, 165, 36, 0.14), transparent 62%),
    radial-gradient(48% 38% at 8% 6%, rgba(120, 100, 60, 0.07), transparent 60%);
}
::selection { background: var(--gold); color: #0C1626; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { max-width: 68ch; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.wrap-bleed { max-width: var(--bleed); margin-inline: auto; padding-inline: clamp(12px, 2.5vw, 28px); }
/* anchor jumps land below the sticky header, never behind it */
[id] { scroll-margin-top: 92px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 1px; }
.mono { font-family: var(--mono); }

/* ---------- icons ---------- */
.ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none;
      stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease,
              transform 150ms ease, box-shadow 150ms ease;
}
.btn .ic { transition: transform 150ms var(--ease); }
.btn:hover .ic.arr { transform: translateX(3px); }
.btn:active { transform: scale(0.98); transition-duration: 80ms; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-gold {
  background: linear-gradient(180deg, #FFC155, #F5A524 55%, #EE9A10);
  color: var(--on-accent);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 26px -10px rgba(245, 165, 36, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: linear-gradient(180deg, #FFCB6E, #FFB845 55%, #F5A524);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(245, 165, 36, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:active { transform: scale(0.98); }
.btn-ghost {
  border-color: var(--glass-edge);
  color: var(--text);
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--glass-shine);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--steel); transform: translateY(-1px); }

/* ---------- brand mark: the real logo file, untouched ---------- */
.mark { width: 30px; height: 30px; object-fit: contain; flex: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease, box-shadow 200ms ease;
}
.nav.scrolled {
  background: var(--nav-veil);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom-color: var(--glass-edge);
  box-shadow: 0 8px 30px -18px rgba(2, 6, 14, 0.6);
}
[data-theme="light"] .nav.scrolled { box-shadow: 0 8px 30px -18px rgba(60, 48, 20, 0.25); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) {
  position: relative;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--steel);
  padding: 4px 0;
  transition: color 150ms ease;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn):focus-visible { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn):focus-visible::after { transform: scaleX(1); }
.nav .btn { padding: 9px 16px; font-size: 14px; }

/* theme toggle */
.theme-btn {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-edge);
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  color: var(--steel);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.theme-btn:hover { color: var(--accent-text); border-color: var(--steel); }
.theme-btn:active { transform: scale(0.94); }
.theme-btn .ic { width: 17px; height: 17px; }
.theme-btn .sun { display: none; }
.theme-btn .moon { display: block; }
[data-theme="light"] .theme-btn .sun { display: block; }
[data-theme="light"] .theme-btn .moon { display: none; }

/* ---------- section bands: gradient washes, hairline seams ---------- */
.band { padding: clamp(72px, 11vw, 150px) 0; }
.band-surface {
  background:
    radial-gradient(90% 55% at 50% 0%, var(--glow), transparent 58%),
    linear-gradient(180deg, var(--surface), var(--ink));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .band-surface {
  background:
    radial-gradient(90% 55% at 50% 0%, var(--glow), transparent 58%),
    linear-gradient(180deg, var(--surface), var(--ink));
}

/* ---------- hero ---------- */
.hero { padding: 164px 0 clamp(56px, 8vw, 96px); }
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.hero .sub {
  margin-top: 24px;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text-2);
  max-width: 50ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-req { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--steel); letter-spacing: 0.02em; }
.hero-stage { position: relative; margin-top: clamp(44px, 6vw, 76px); }
/* the glow bleeds vertically only; horizontal bleed would widen the page
   on phones and mid-width windows (the root overflow clip is the backstop) */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: -16% 0;
  background:
    radial-gradient(60% 58% at 50% 38%, rgba(245, 165, 36, 0.17), transparent 64%),
    radial-gradient(46% 45% at 18% 80%, rgba(64, 106, 170, 0.2), transparent 65%);
  pointer-events: none;
  filter: blur(2px);
}
[data-theme="light"] .hero-stage::before {
  background: radial-gradient(52% 58% at 50% 38%, rgba(245, 165, 36, 0.16), transparent 64%);
}

/* ---------- media frames: the signature ----------
   Rounded, light-edged, deep soft shadow. The placeholder sits
   BEHIND the media as a passive fallback: if a file ever fails,
   the frame still reads as designed instead of breaking. */
.media {
  position: relative;
  border: 1px solid var(--glass-edge);
  border-radius: 20px;
  background: var(--raised);
  box-shadow: var(--shadow-shell), inset 0 1px 0 var(--glass-shine);
  overflow: hidden;
}
.media > img, .media > video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--raised);
}
.ph-logo { width: clamp(48px, 14%, 84px); opacity: 0.22; }
[data-theme="light"] .ph-logo { opacity: 0.3; }
.ph-name {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--steel);
  letter-spacing: 0.04em;
}

/* corner play/pause: glass circle, glyph follows state */
.vctl {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 16, 28, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transition: transform 150ms var(--ease), background-color 150ms ease;
}
.vctl:hover, .vctl:focus-visible { background: rgba(10, 16, 28, 0.78); transform: scale(1.06); }
/* two-tone focus ring: visible over any video frame, light or dark */
.vctl:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(10, 16, 28, 0.85);
}
.vctl:active { transform: scale(0.94); transition-duration: 80ms; }
.vctl .ic { width: 18px; height: 18px; stroke-width: 2; }
.vctl .vp-play { display: none; fill: currentColor; stroke: none; margin-left: 2px; }
.media.vpaused .vctl .vp-play { display: block; }
.media.vpaused .vctl .vp-pause { display: none; }

/* slight scale-in as the hero frame arrives */
@keyframes scale-in {
  from { transform: scale(0.98); opacity: 0.4; }
  to   { transform: none;        opacity: 1; }
}
.scale-in { animation: scale-in 700ms var(--ease) both; }

/* ---------- marquee: slow proof ticker under the hero ----------
   The animation strip is ~10x the phone viewport wide. `clip` +
   paint containment hard-clip its painting AND its compositor layer
   to this box, so mobile browsers never count the strip when they
   compute pan/zoom bounds or page extents. */
.marquee {
  border-top: 1px solid var(--border);
  padding: 17px 0;
  overflow: hidden;
  overflow: clip;
  contain: layout paint;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marq-track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.marq-group {
  display: flex;
  align-items: center;
  list-style: none;
}
.marq-group li {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--steel);
  white-space: nowrap;
}
.marq-group li::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
  margin-inline: 34px;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- feature sections: copy above, media nearly full width ---------- */
.feature-head { margin-bottom: clamp(34px, 4.5vw, 52px); max-width: 100%; }
.feature-head h2 {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 22ch;
}
.feature-head p { color: var(--text-2); font-size: 18px; max-width: 56ch; }
.punch {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--text);
}
.feature-alt {
  background: radial-gradient(70% 55% at 88% 12%, rgba(245, 165, 36, 0.055), transparent 60%);
}

/* eligibility chips: THE only place green/red appear */
.sig { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 600;
       letter-spacing: 0.08em; padding: 3px 9px; border-radius: 6px; }
.sig.ok  { color: var(--ungated); background: rgba(22, 199, 132, 0.13); }
.sig.bad { color: var(--gated);   background: rgba(240, 66, 107, 0.13); }
[data-theme="light"] .sig.ok  { color: #0B7A50; background: rgba(22, 199, 132, 0.15); }
[data-theme="light"] .sig.bad { color: #BE1E47; background: rgba(240, 66, 107, 0.13); }

/* ---------- bento: four glass cards ---------- */
.bento h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.span3 { grid-column: span 3; }
.bento-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: var(--shadow-card), inset 0 1px 0 var(--glass-shine);
  overflow: hidden;
  transition: transform 150ms var(--ease), box-shadow 150ms ease, border-color 150ms ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 165, 36, 0.35);
  box-shadow: 0 14px 44px -16px rgba(245, 165, 36, 0.28), var(--shadow-card-hover), inset 0 1px 0 var(--glass-shine);
}
.bento-copy { padding: 22px 24px 18px; }
.bento-copy h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.bento-copy p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.bento-media {
  position: relative;
  margin-top: auto;
  border-top: 1px solid var(--glass-edge);
  overflow: hidden;
  aspect-ratio: 937 / 640;
}
.bento-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.bento-media .ph { z-index: 0; }

/* ---------- pricing: glass plans, the Bundle lit ---------- */
.pricing h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; }
.pricing .lede { color: var(--text-2); margin-top: 12px; max-width: 46ch; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
  align-items: stretch;
}
.plan {
  position: relative;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: var(--shadow-card), inset 0 1px 0 var(--glass-shine);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 150ms var(--ease), box-shadow 150ms ease, border-color 150ms ease;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover), inset 0 1px 0 var(--glass-shine); }
.plan.featured {
  border-color: rgba(245, 165, 36, 0.7);
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.14), rgba(245, 165, 36, 0.03) 40%, var(--glass-lo));
  transform: scale(1.03);
  box-shadow:
    0 10px 60px -18px rgba(245, 165, 36, 0.55),
    var(--shadow-card-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  z-index: 1;
}
[data-theme="light"] .plan.featured {
  border-color: rgba(200, 130, 10, 0.75);
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.16), rgba(255, 255, 255, 0.72) 45%);
  box-shadow:
    0 10px 50px -16px rgba(245, 165, 36, 0.5),
    var(--shadow-card-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.plan.featured:hover { transform: scale(1.03) translateY(-2px); }
.plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #0C1626;
  background: linear-gradient(180deg, #FFC155, #F5A524);
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 6px 18px -6px rgba(245, 165, 36, 0.7);
  white-space: nowrap;
}
.plan-tag .ic { width: 12px; height: 12px; stroke-width: 2; }
.plan h3 { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.plan .for { color: var(--text-2); font-size: 14.5px; margin-top: 4px; min-height: 44px; }
.price { font-family: var(--mono); margin: 18px 0 4px; }
.price .amount { font-size: 40px; font-weight: 600; color: var(--accent-text); letter-spacing: -0.02em; }
.price .per { color: var(--text-2); font-size: 14px; }
.plan ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); align-items: baseline; }
.plan li .ic { width: 15px; height: 15px; stroke-width: 2; color: var(--accent-text); transform: translateY(2px); }
.plan .btn { margin-top: auto; justify-content: center; }
.price-note { margin-top: 30px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */
.faq h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: clamp(30px, 4vw, 48px); }
.faq-list { max-width: 780px; }
.faq-item {
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 150ms ease;
}
.faq-item[open] { border-color: var(--steel); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 150ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item summary .ic { color: var(--steel); transition: transform 250ms var(--ease); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-a { padding: 0 20px; overflow: hidden; }
.faq-a p { padding-bottom: 20px; color: var(--text-2); max-width: 64ch; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 42px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(120px, 0.8fr));
  gap: 40px 28px;
}
.foot-brand .tagline { margin-top: 14px; color: var(--steel); font-size: 14.5px; max-width: 30ch; }
.foot-brand .socials { margin-top: 20px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-col b {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 4px;
}
.foot-col a { font-size: 14.5px; color: var(--steel); text-decoration: none; transition: color 150ms ease; }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a, .socials span {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  color: var(--steel);
  transition: color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.socials .ic { width: 17px; height: 17px; }
.socials .solid { fill: currentColor; stroke: none; }
.socials a:hover, .socials span:hover { color: var(--accent-text); border-color: var(--steel); transform: translateY(-1px); }
.foot-bottom {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 13px; color: var(--steel);
}
.foot-bottom .spacer { margin-left: auto; }
/* legal pages keep the simpler footer row */
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.foot-links a { font-size: 14px; color: var(--steel); text-decoration: none; transition: color 150ms ease; }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--text); }
.foot-top + .foot-bottom { border-top: 0; padding-top: 0; margin-top: 30px; }

/* ---------- legal pages ---------- */
.page { padding: 128px 0 90px; }
.page-body { max-width: 720px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 8px; }
.page .eff { font-family: var(--mono); font-size: 13px; color: var(--steel); margin-bottom: 40px; }
.page h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.page h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--text-2); font-size: 16.5px; }
.page p + p { margin-top: 12px; }
.page ul { margin: 12px 0 12px 22px; }
.page li { margin: 7px 0; }
.page a { color: var(--accent-text); text-decoration: none; }
.page a:hover { text-decoration: underline; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; color: var(--steel);
  text-decoration: none; margin-bottom: 34px; transition: color 150ms ease;
}
.back:hover { color: var(--text); }

/* ---------- setup guide ---------- */
.steps { list-style: none; margin: 18px 0 6px; display: grid; gap: 12px; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  padding: 16px 18px;
}
.step-n {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  border: 1px solid rgba(245, 165, 36, 0.35);
  border-radius: 50%;
  background: rgba(245, 165, 36, 0.08);
}
.step-body { min-width: 0; }
.step-body b {
  display: block;
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  color: var(--text);
}
.page .step-body p { font-size: 15px; line-height: 1.55; }
/* small "this is a UI control" chip */
.ui {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 1px 7px 2px;
  border: 1px solid var(--glass-edge);
  border-radius: 6px;
  background: var(--raised);
  color: var(--text);
  white-space: nowrap;
}
/* tiny illustrative toggle, ON state */
.tgl {
  display: inline-block;
  vertical-align: -3px;
  width: 28px; height: 16px;
  margin-left: 4px;
  border-radius: 100px;
  background: var(--gold);
  position: relative;
}
.tgl::after {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
}
.callout {
  margin: 14px 0 6px;
  border: 1px solid rgba(245, 165, 36, 0.45);
  border-left-width: 3px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.10), rgba(245, 165, 36, 0.03));
  padding: 14px 18px 15px;
}
.callout .tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.page .callout p { font-size: 15px; }
.fine {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.fine::before { content: ""; flex: none; width: 22px; height: 2px; background: var(--gold); border-radius: 1px; }
.scan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.scan-card {
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass-lo));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--glass-shine);
  padding: 18px 20px;
}
.scan-card .k {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.scan-card b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text);
}
.page .scan-card p { font-size: 15px; line-height: 1.55; }
.page .faq-a p { font-size: 15.5px; }
.still {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .scan-grid { grid-template-columns: 1fr; }
}

/* ---------- scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .span3 { grid-column: span 1; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-2px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .band { padding: 72px 0; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 126px; }
  .bento-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-links { margin-left: 0; }
  /* narrow screens: the two bottom lines stack, both left-aligned with the
     footer columns, instead of one left + one pushed right */
  .foot-bottom { flex-direction: column; gap: 6px; }
  .foot-bottom .spacer { margin-left: 0; }
}
@media (max-width: 480px) {
  .nav .wordmark { display: none; }
  .nav-inner { gap: 14px; }
  .nav-links { gap: 14px; }
}

/* ---------- reduced motion: still, readable, complete ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marq-track { width: auto; }
  .marq-group[aria-hidden="true"] { display: none; }
  .marq-group { flex-wrap: wrap; row-gap: 8px; }
  .marq-group li { white-space: normal; }
}
