/*
  Vytalio marketing site
  Theme is locked to dark. The brand mark itself is drawn on true black
  (see assets/img/app-icon-1024.png), so this site commits to one mode
  instead of flipping to a light theme (Section 4.11 / 6.C override).

  Shape scale: cards + panels = 20px, chips/icon tiles = 12px,
  buttons = full pill. The logo mark keeps its iOS squircle crop.
*/

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/satoshi-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/satoshi-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/satoshi-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/satoshi-900.woff2') format('woff2');
}

@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/general-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/general-sans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/general-sans-600.woff2') format('woff2');
}

:root {
  --bg: #0a0a0b;
  --bg-raised: #131316;
  --bg-raised-2: #19191d;
  --hairline: rgba(245, 243, 238, 0.1);
  --hairline-strong: rgba(245, 243, 238, 0.18);
  --fg: #fffcf6;
  --fg-muted: #b6b3ab;
  --fg-faint: #85837c;
  --accent: #0a6ef5;
  --accent-text: #3b82f6;
  --accent-soft: rgba(10, 110, 245, 0.14);
  --on-accent: #fffcf6;
  --stress-tint: rgba(240, 138, 93, 0.16);
  --stress-line: rgba(240, 138, 93, 0.55);
  --readiness-tint: rgba(84, 199, 140, 0.16);
  --readiness-line: rgba(84, 199, 140, 0.55);
  --sleep-tint: rgba(122, 139, 245, 0.18);
  --sleep-line: rgba(122, 139, 245, 0.55);
  --energy-tint: rgba(10, 110, 245, 0.18);
  --energy-line: rgba(10, 110, 245, 0.6);
  --radius-lg: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --nav-h: 72px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 3.75rem;
  --space-11: 4.5rem;
  --space-12: 5rem;
  --space-13: 6rem;
  --space-14: 7rem;
  --space-15: 8rem;
  --space-16: 9.5rem;
  --z-nav: 30;
  --z-mobile-panel: 20;
  --wrap-x: clamp(var(--space-4), 4vw, var(--space-8));
  --section-pad-y: var(--space-11);
  --section-pad-y-sm: var(--space-10);
  --section-stack-gap: var(--space-7);
  --cluster-tight: var(--space-3);
  --cluster: var(--space-5);
  --cluster-loose: var(--space-7);
  --focus-ring: 0 0 0 2px rgba(10, 110, 245, 0.38), 0 0 0 5px rgba(10, 110, 245, 0.22);
  --motion-breather: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-wrap: balance;
  line-height: 1.08;
}

h1,
h2,
h3,
p {
  max-width: 75ch;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: none;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--wrap-x);
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cluster);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: 'Satoshi', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 22%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta-slot {
  display: flex;
  align-items: center;
  gap: var(--cluster);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: var(--z-mobile-panel);
  background: var(--bg);
  padding: var(--space-7) var(--wrap-x);
  flex-direction: column;
  gap: var(--space-5);
  font-size: 1.25rem;
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a {
  color: var(--fg);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-cta-slot .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #2f7dfb;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--hairline-strong);
}

.btn-ghost:hover {
  border-color: var(--fg-muted);
}

.btn-lg {
  padding: var(--space-4) var(--space-7);
  font-size: 1rem;
}

.app-store-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  text-align: left;
  opacity: 0.88;
}

.app-store-cta-hero {
  box-shadow: 0 0 0 1px rgba(10, 110, 245, 0.35);
}

.app-store-cta-banner {
  margin: 0 auto;
}

.app-store-logo {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  align-items: flex-start;
}

.app-store-text span {
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-store-text strong {
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.cta-status {
  font-size: 0.8125rem;
  color: var(--fg-faint);
}

/* ---------- Sections & type ---------- */

section {
  padding: var(--section-pad-y) 0;
  scroll-margin-top: calc(var(--nav-h) + var(--space-3));
}

@media (max-width: 720px) {
  section {
    padding: var(--section-pad-y-sm) 0;
  }
}

.section-stack > .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--section-stack-gap);
}

.section-head {
  margin: 0;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
}

.section-head p {
  font-size: 17px;
  color: var(--fg-muted);
  margin: 0;
  max-width: 52ch;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: var(--space-9);
  padding-bottom: var(--space-8);
}

@media (max-width: 720px) {
  .hero {
    padding-top: var(--space-8);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-8), 4vw, var(--space-11));
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-text);
}

.hero .lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 46ch;
  margin: 0 0 var(--space-8);
}

.hero-kicker {
  margin: 0 0 var(--space-3);
  color: var(--fg-faint);
  font-size: 0.9375rem;
}

.hero-flow-link {
  margin-top: var(--space-5);
}

.hero-metrics {
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.hero-metrics li {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--fg-muted);
  font-size: 0.875rem;
}

.hero-metrics strong {
  color: var(--fg);
}

@media (max-width: 720px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--cluster);
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-text);
}

.text-link:hover .icon {
  transform: translateX(2px);
}

.hero-ctas a.text-link,
.text-link .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.hero-visual {
  width: 100%;
  min-width: 0;
}

/* Four score gauges, matching the ring/number/zone pattern from the app's
   own CircularGaugeView (real HealthKit-derived scores, not decoration). */

.gauge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 400px;
  margin: 0 auto;
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 20%, rgba(10, 110, 245, 0.14), transparent 55%), var(--bg-raised);
  border: 1px solid var(--hairline);
}

.gauge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.gauge {
  position: relative;
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1 / 1;
}

.gauge-ring {
  width: 100%;
  height: 100%;
}

.gauge-track {
  fill: none;
  stroke: var(--hairline-strong);
  stroke-width: 11;
  opacity: 0.55;
}

.gauge-progress {
  fill: none;
  stroke-linecap: round;
  stroke-width: 11;
  stroke-dasharray: 540.35;
}

@media (prefers-reduced-motion: no-preference) {
  .gauge-progress {
    stroke-dashoffset: 540.35;
    animation-name: gauge-draw;
    animation-duration: 1.2s;
    animation-timing-function: var(--motion-breather);
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
  }
}

@keyframes gauge-draw {
  to {
    stroke-dashoffset: var(--gauge-offset);
  }
}

.gauge-item:nth-child(2) .gauge-progress { animation-delay: 0.32s; }
.gauge-item:nth-child(3) .gauge-progress { animation-delay: 0.44s; }
.gauge-item:nth-child(4) .gauge-progress { animation-delay: 0.56s; }

.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-number {
  font-family: 'Satoshi', 'General Sans', sans-serif;
  font-size: clamp(1.375rem, 3.4vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gauge-color);
}

.gauge-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.gauge-zone {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gauge-color);
}

.gauge-title {
  font-size: 0.75rem;
  color: var(--fg-faint);
}

@media (max-width: 420px) {
  .gauge-grid {
    padding: var(--space-5);
    gap: var(--space-4);
  }
}

/* ---------- Quick facts strip ---------- */

.facts {
  padding: 0 0 var(--space-11);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fact {
  background: var(--bg-raised);
  padding: var(--space-7) var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.fact .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-text);
  margin-top: var(--space-2);
}

.fact h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 var(--space-1);
}

.fact p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin: 0;
}

@media (max-width: 780px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- What we deliver ---------- */

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.delivery-card {
  background: var(--bg-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.delivery-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
}

.delivery-list {
  margin: var(--space-1) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.delivery-list li {
  position: relative;
  padding-left: 1.25rem;
}

.delivery-list li::before {
  content: '';
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-text);
}

@media (max-width: 980px) {
  .delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scores bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
}

.bento-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.card-stress { background: var(--stress-tint); }
.card-readiness { background: var(--readiness-tint); }
.card-sleep { background: var(--sleep-tint); }
.card-energy { background: var(--energy-tint); }

.bento-card .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.bento-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.zone-path {
  font-size: 0.8125rem;
  color: var(--fg-faint);
  margin: 0;
}

.bento-card p.desc {
  font-size: 0.90625rem;
  color: var(--fg-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
}

/* ---------- Split (coaching) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-11);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.split h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  line-height: 1.15;
}

.split p {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 46ch;
  margin: 0 0 var(--space-6);
}

.coach-panel {
  background: var(--bg-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.coach-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coach-avatar .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.coach-list {
  margin: 0 0 var(--space-7);
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.coach-list li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--fg-muted);
  font-size: 0.96875rem;
}

.coach-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-text);
  transform: translateY(-1px);
}

.coach-bubble {
  background: var(--bg-raised-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: 0.90625rem;
  max-width: 88%;
}

.coach-bubble.right {
  align-self: flex-end;
  background: var(--accent-soft);
  border-color: rgba(10, 110, 245, 0.3);
}

.coach-tag {
  font-size: 12px;
  color: var(--fg-faint);
  text-transform: none;
}

/* ---------- Photo band ---------- */

.photo-band {
  padding: 0;
}

.photo-band-media {
  margin: 0;
  width: 100%;
  height: clamp(260px, 36vw, 460px);
  overflow: hidden;
}

.photo-band-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 46%;
}

.photo-band .wrap {
  padding-top: var(--space-6);
}

.photo-band-caption {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0;
}

@media (max-width: 720px) {
  .photo-band-media {
    height: clamp(220px, 60vw, 320px);
  }

  .photo-band-media img {
    object-position: 38% 46%;
  }
}

/* ---------- Privacy statement ---------- */

.privacy-block {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-14) 0;
}

.privacy-block .section-head {
  max-width: 620px;
}

.privacy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-10);
  max-width: 820px;
}

@media (max-width: 700px) {
  .privacy-list {
    grid-template-columns: 1fr;
  }
}

.privacy-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.privacy-item .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--readiness-line);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

.privacy-more {
  margin-top: var(--space-7);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-text);
}

.privacy-more .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  max-width: 720px;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}

.price-card.featured {
  border-color: rgba(10, 110, 245, 0.5);
  background: var(--accent-soft);
}

.price-save {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-text);
}

.price-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin: 0;
}

.price-amount {
  font-family: 'Satoshi', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: var(--space-2) 0 var(--space-1);
}

.price-amount span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.price-card p.detail {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin: 0 0 var(--space-5);
}

.pricing-fine {
  max-width: 720px;
  font-size: 0.8125rem;
  color: var(--fg-faint);
  margin-top: var(--space-5);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.step-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.step-number {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.step-card h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  display: grid;
  gap: var(--space-3);
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-weight: 600;
  color: var(--fg);
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: '+';
  color: var(--fg-faint);
}

.faq-item[open] summary:after {
  content: '−';
}

.faq-answer {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-raised) 0%, rgba(10, 110, 245, 0.16) 100%);
  border: 1px solid var(--hairline);
  padding: var(--space-11) var(--space-12);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}

.cta-banner p {
  font-size: 16px;
  color: var(--fg-muted);
  margin: 0 0 var(--space-6);
}

@media (max-width: 600px) {
  .cta-banner {
    padding: var(--space-8) var(--space-6);
  }
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: var(--space-11) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-10);
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: var(--space-3);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 32ch;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
  margin: 0 0 var(--space-3);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: 0.90625rem;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--fg-faint);
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: var(--space-11) 0 var(--space-14);
}

.legal-header {
  max-width: 680px;
  margin-bottom: var(--space-10);
}

.legal-header h1 {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}

.legal-header .updated {
  font-size: 0.875rem;
  color: var(--fg-faint);
}

.legal-body {
  max-width: 720px;
}

.legal-body h2 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: var(--space-10) 0 var(--space-3);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 0.96875rem;
  color: var(--fg-muted);
  margin: 0 0 var(--space-3);
}

.legal-body ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
  color: var(--fg-muted);
  font-size: 0.96875rem;
}

.legal-body li {
  margin-bottom: var(--space-2);
}

.legal-body a {
  color: var(--accent-text);
  font-weight: 600;
}

.legal-callout {
  background: var(--bg-raised);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.legal-callout .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: #f0a15d;
  flex-shrink: 0;
  margin-top: var(--space-1);
}

.legal-callout p {
  margin: 0;
  font-size: 0.90625rem;
}
