/* ============================================================
   Aletha Codex — dark graphite design system (matches the app)
   ============================================================ */

:root {
  --bg-page:       #1f2024;   /* dark graphite canvas — matches the app */
  --bg-elevated:   rgba(255,255,255,0.045);   /* dark glass card */
  --bg-elevated-2: rgba(255,255,255,0.028);   /* slightly deeper for the gradient */
  --bg-near-white: rgba(255,255,255,0.06);    /* ghost button / req / input surface */
  --bg-dark:       #16171a;   /* deepest anchor */
  --text-primary:  #f4f4f2;
  --text-second:   #c6c6c2;
  --text-tertiary: #8f8f89;
  --text-display:  #e6e8ec;   /* soft silver for headings — not pure white */
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --hilite:        rgba(255, 255, 255, 0.04);  /* subtle top inset on dark glass */
  --accent:        #9db7d5;   /* blue-silver — small accents / links / icons on dark */
  --accent-hover:  #b6cbe6;
  --accent-soft:   #8aa6cc;   /* small accents only, never as text-on-fill */

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08), 0 2px 6px rgba(20,24,32,0.08);
  --shadow-md: 0 8px 26px rgba(18,22,30,0.14), 0 2px 8px rgba(18,22,30,0.08);
  --shadow-lg: 0 22px 56px rgba(18,22,30,0.20), 0 8px 18px rgba(18,22,30,0.10);

  --maxw: 1120px;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: #1f2024;   /* dark graphite */
  background-image:
    radial-gradient(ellipse 900px 650px at 50% 18%, rgba(220,220,215,0.045), transparent 70%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: var(--text-display);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.05rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-second); }

a { color: var(--text-primary); text-decoration: none; }
a:hover { color: var(--accent); }

.muted   { color: var(--text-tertiary); }
.second  { color: var(--text-second); }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--text-second); max-width: 56ch; }
.eyebrow {
  text-transform: none;
  font-size: 0.92rem;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); display: inline-block; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(22, 22, 23, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.02em; font-size: 1.06rem; color: var(--text-primary); }
.brand:hover { color: var(--text-primary); }
.brand__mark { width: 28px; height: 28px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--text-second); font-size: 0.97rem; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text-primary); }
.nav__cta { display: inline-flex; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: -2px; border-radius: 8px;
}
.nav-toggle .icon { stroke: var(--text-primary); }
.nav-toggle:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 24px 14px;
    background: rgba(22, 22, 23, 0.96);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  }
  .nav.menu-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 1.02rem; border-bottom: 1px solid var(--border); }
  .nav__links a:last-child { border-bottom: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 550; font-size: 1rem;
  padding: 14px 26px; border-radius: 11px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
/* THE only accent-colored action on the whole site — the app's blue-silver button */
.btn--buy {
  background: linear-gradient(180deg, #bbcde3, #9db7d5); color: #0f1923;
  box-shadow: 0 2px 10px rgba(157, 183, 213, 0.14), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--buy:hover { background: linear-gradient(180deg, #cad9ec, #aac1dd); color: #0f1923; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(157,183,213,0.22), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn--buy svg { stroke: #0f1923; }
.btn--ghost {
  background: var(--bg-near-white); color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }
.btn--sm { padding: 10px 18px; font-size: 0.94rem; }
.btn--lg { padding: 17px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: 0.45; pointer-events: none; filter: grayscale(0.3); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn:disabled:hover { transform: none; }

.cta-microcopy { color: var(--text-tertiary); font-size: 0.92rem; margin-top: 14px; }
.cta-secondary { font-size: 0.96rem; margin-top: 8px; }
.cta-secondary a { color: var(--accent); }

/* ---------- icons ---------- */
.icon { width: 22px; height: 22px; stroke: var(--text-second); stroke-width: 1.6; fill: none; flex: none; }
.icon--lg { width: 28px; height: 28px; }
.icon-chip {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--hilite);
}
.icon-chip .icon { stroke: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 54px 0 60px; }
.hero__grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 52px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero__cta { margin-top: 8px; }

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

.credibility {
  margin: 40px 0 0; padding-top: 26px;
  border-top: 1px solid var(--border);
  max-width: 70ch; color: var(--text-tertiary);
  font-size: 1rem; line-height: 1.5;
}

/* ---------- video placeholder ---------- */
.video {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, #2a2d33 0%, #14161a 100%);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid; place-items: center;
}
.video::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 50% 38%, rgba(111,139,176,0.22), transparent 70%);
}
.video__play {
  position: relative; z-index: 1;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
}
.video__play svg { width: 26px; height: 26px; stroke: #fff; fill: #fff; margin-left: 3px; }
.video__label {
  position: absolute; bottom: 16px; left: 18px; z-index: 1;
  color: rgba(255,255,255,0.62); font-size: 0.82rem; letter-spacing: 0.01em;
}

/* ---------- live hero video (click-to-play) ---------- */
.video--live { aspect-ratio: 1600 / 1036; }
.video--live .video__el {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: inherit;
}
.video--live::after { transition: opacity 0.3s var(--ease); }
.video--live.is-playing::after { opacity: 0; pointer-events: none; }
.video__cover {
  position: absolute; inset: 0; z-index: 2;
  background: none; border: 0; cursor: pointer; padding: 0;
  display: grid; place-items: center; font: inherit;
}
.video__cover .video__play { transition: transform 0.18s var(--ease), background 0.18s var(--ease); }
.video__cover:hover .video__play { transform: scale(1.06); background: rgba(255,255,255,0.16); }
.video--live.is-playing .video__cover { display: none; }

/* ---------- capability row ---------- */
.caprow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cap {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}
.cap__title { font-weight: 600; font-size: 1rem; margin: 14px 0 6px; letter-spacing: -0.01em; }
.cap__desc { font-size: 0.9rem; color: var(--text-tertiary); margin: 0; line-height: 1.45; }
@media (max-width: 900px) { .caprow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .caprow { grid-template-columns: 1fr; } }

/* ---------- rent vs own comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.compare__col {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}
.compare__col h3 { margin-bottom: 18px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.compare__col li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; line-height: 1.5; }
.compare__col .icon { width: 18px; height: 18px; margin-top: 3px; }
.compare__col--rent li { color: var(--text-tertiary); }
.compare__col--rent .icon { stroke: var(--text-tertiary); }
.compare__col--aletha { border-color: var(--accent-soft); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--hilite); }
.compare__col--aletha li { color: var(--text-second); }
.compare__col--aletha .icon { stroke: var(--accent-soft); }
.compare__note { text-align: center; color: var(--text-tertiary); font-size: 0.95rem; max-width: 56ch; margin: 22px auto 0; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- three-up fact / persona cards ---------- */
.caprow--3 { grid-template-columns: repeat(3, 1fr); }
.caprow--3 .cap { padding: 26px 24px; }
.caprow--3 .cap__title { margin-top: 0; font-size: 1.05rem; }
.caprow--3 .cap__desc { font-size: 0.95rem; color: var(--text-second); }
@media (max-width: 900px) { .caprow--3 { grid-template-columns: 1fr; } }

/* ---------- demo clip inside cta band ---------- */
.cta-band__demo {
  max-width: 640px; margin: 0 auto 16px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1600 / 1036; position: relative;
}
.cta-band__demo video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cta-band__caption { color: var(--text-second); font-size: 0.95rem; margin: 0 0 26px; }

/* ---------- founder line inside cta band ---------- */
.founder-line {
  margin: 28px auto 0; max-width: 58ch;
  font-style: italic; color: var(--text-tertiary); font-size: 0.95rem; line-height: 1.6;
}

/* ---------- numbered steps (post-payment walkthrough) ---------- */
.steps {
  list-style: none; padding: 0; margin: 0 auto; max-width: 1020px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.step {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}
.step__num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--accent-soft); color: var(--accent);
  background: rgba(157, 183, 213, 0.08);
  font-weight: 600; font-size: 0.95rem;
}
.step__title { font-weight: 600; font-size: 1rem; margin: 14px 0 6px; letter-spacing: -0.01em; color: var(--text-primary); }
.step__desc { font-size: 0.92rem; color: var(--text-tertiary); margin: 0; line-height: 1.5; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* vertical variant for the getting-started page */
.steps--col { grid-template-columns: 1fr; max-width: 720px; gap: 14px; }
.steps--col .step { display: grid; grid-template-columns: 34px 1fr; column-gap: 18px; padding: 24px 26px; }
.steps--col .step__num { grid-row: 1 / span 2; }
.steps--col .step__title { margin: 5px 0 6px; }
.steps--col .step__desc { font-size: 0.96rem; color: var(--text-second); }

/* ---------- trust strip ---------- */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px;
  padding: 24px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}
.trust span { display: inline-flex; align-items: center; gap: 9px; color: var(--text-second); font-size: 0.98rem; font-weight: 500; }
.trust .icon { width: 18px; height: 18px; stroke: var(--accent); }

/* ---------- generic panels ---------- */
.panel {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}
.section-head { max-width: 60ch; margin: 0 auto 48px; text-align: center; }

/* ---------- accordion (How it works) ---------- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.acc {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm), inset 0 1px 0 var(--hilite);
  overflow: hidden; transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.acc.is-open { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 24px; display: flex; align-items: center; gap: 16px;
  font: inherit; color: var(--text-primary);
}
.acc__btn .icon-chip { flex: none; }
.acc__heads { flex: 1; }
.acc__title { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.acc__sub { display: block; font-weight: 400; font-size: 0.92rem; color: var(--text-tertiary); margin-top: 3px; line-height: 1.4; }
.accordion--faq .acc__content { padding: 0 24px 24px; }
.accordion--faq .acc__btn { padding: 19px 24px; }
.accordion--faq .acc__title { font-size: 1.05rem; }
.accordion--faq .acc__plain { margin-bottom: 0; }
.acc__plus { transition: transform 0.3s var(--ease); }
.acc.is-open .acc__plus { transform: rotate(45deg); }
.acc__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__content { padding: 0 24px 26px 86px; }
.acc__hook { color: var(--text-primary); font-weight: 500; margin-bottom: 10px; }
.acc__plain { color: var(--text-second); margin-bottom: 18px; }
.acc__demo {
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: linear-gradient(160deg, #2a2d33 0%, #14161a 100%);
  border: 1px solid rgba(255,255,255,0.13);
  display: grid; place-items: center; position: relative;
}
.acc__demo .video__play { width: 56px; height: 56px; }
.acc__demo .video__play svg { width: 20px; height: 20px; }
.acc__demo span { position: absolute; bottom: 12px; left: 14px; color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.acc__demo--live { overflow: hidden; }
.acc__demo--live video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: inherit;
}
@media (max-width: 560px) { .acc__content { padding-left: 24px; } }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
  display: flex; flex-direction: column;
}
.price-card__tag {
  position: absolute; top: 18px; right: 18px; font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--accent); background: rgba(157,183,213,0.12); border: 1px solid rgba(157,183,213,0.26);
  padding: 4px 11px; border-radius: 999px;
}
.price-grid--single { grid-template-columns: 1fr; max-width: 460px; }
.price-card.is-default { border-color: var(--accent-soft); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--hilite); }
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.guarantee-note { font-size: 0.88rem; color: var(--text-tertiary); margin-top: 14px; line-height: 1.45; }
.price-amount { font-size: 2.6rem; font-weight: 650; letter-spacing: -0.03em; margin: 6px 0 2px; }
.price-amount small { font-size: 1rem; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0; }
.price-card p { font-size: 0.98rem; }
.price-card .btn { margin-top: auto; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

.feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-second); }
.feature-list .icon { width: 20px; height: 20px; stroke: var(--accent-soft); margin-top: 2px; }

.req {
  background: var(--bg-near-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px; font-size: 0.96rem; color: var(--text-second);
}

/* ---------- waitlist / forms ---------- */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  flex: 1; min-width: 220px;
  padding: 13px 16px; font: inherit; font-size: 1rem;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text-primary);
}
.input::placeholder { color: var(--text-tertiary); }
.input:focus { outline: 2px solid var(--accent-soft); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: 0.88rem; color: var(--text-tertiary); margin-top: 10px; }
.form-msg { font-size: 0.94rem; margin-top: 12px; min-height: 1.2em; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #e69393; }

/* ---------- founder note ---------- */
.founder {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.founder p { font-size: 1.06rem; color: var(--text-second); font-style: italic; }
.founder .sig { font-style: normal; color: var(--text-tertiary); font-size: 0.95rem; margin-top: 6px; }

/* ---------- closing cta band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .container {
  max-width: 920px;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 56px 40px; box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}

/* ---------- voice spotlight ---------- */
.voice-band {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 46px; box-shadow: var(--shadow-md), inset 0 1px 0 var(--hilite);
}
.voice-band h2 { margin-bottom: 14px; }
.voice-band p { margin-bottom: 26px; max-width: 46ch; }
.voice-band__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: linear-gradient(160deg, #2b2e35 0%, #16181c 100%);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; overflow: hidden;
}
.wave { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.wave i { width: 3px; border-radius: 2px; background: var(--accent-soft); display: block; }
@media (max-width: 900px) { .voice-band { grid-template-columns: 1fr; gap: 28px; padding: 30px; } }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.option {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg-elevated); cursor: pointer; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.option:hover { border-color: var(--accent-soft); }
.option.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.option input { margin-top: 4px; accent-color: var(--accent); }
.option__title { font-weight: 600; }
.option__desc { font-size: 0.92rem; color: var(--text-tertiary); margin: 4px 0 0; }
.option__price { margin-left: auto; font-weight: 600; }
.summary { position: sticky; top: 92px; }
.summary__row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-second); border-bottom: 1px solid var(--border); }
.summary__row.total { border-bottom: 0; color: var(--text-primary); font-weight: 650; font-size: 1.15rem; padding-top: 16px; }
.secure-note { display: inline-flex; align-items: center; gap: 8px; color: var(--text-tertiary); font-size: 0.88rem; margin-top: 16px; }
.secure-note .icon { width: 16px; height: 16px; stroke: var(--accent-soft); }
@media (max-width: 800px) { .checkout-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { margin-bottom: 8px; }
.legal .effective { color: var(--text-tertiary); font-size: 0.95rem; margin-bottom: 28px; }
.legal h3 { margin: 30px 0 8px; font-size: 1.08rem; }
.legal p, .legal li { color: var(--text-second); font-size: 0.99rem; line-height: 1.65; }
.legal .placeholder-note { color: var(--text-tertiary); font-size: 0.9rem; }
.draft-banner {
  background: rgba(157, 183, 213, 0.08);
  border: 1px solid rgba(157, 183, 213, 0.3);
  border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 36px;
  color: var(--text-second); font-size: 0.92rem;
}

/* ---------- checkout consent ---------- */
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 20px; font-size: 0.92rem; color: var(--text-second);
  cursor: pointer; text-align: left;
}
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; cursor: pointer; }
.consent a { color: var(--accent); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0 56px; margin-top: 40px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text-tertiary); font-size: 0.92rem; }
.footer__links a:hover { color: var(--text-primary); }
.footer small { color: var(--text-tertiary); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- success / cancel ---------- */
.status-card { max-width: 560px; margin: 80px auto; text-align: center; }
.status-card .icon-chip { width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 16px; }
.status-card .icon-chip .icon { width: 30px; height: 30px; stroke: var(--accent); }

/* ---------- license key (success page) ---------- */
.license__label { font-size: 0.85rem; color: var(--text-tertiary); margin: 0 0 8px; }
.license {
  display: flex; align-items: stretch; gap: 8px;
  max-width: 440px; margin: 0 auto;
}
.license__key {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 16px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.02rem; letter-spacing: 0.04em; color: var(--text-display);
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
  border-radius: 11px; word-break: break-all;
}
.license .btn { flex: none; }
.license__note { font-size: 0.9rem; color: var(--text-second); margin: 12px 0 0; }
