/* ============================================================
   Clause0 — AI Compliance Scanner (validation landing page)
   Self-contained design system. No external dependencies.
   ============================================================ */

:root {
  /* palette */
  --ink:      #0a0e1a;
  --ink-2:    #121828;
  --ink-3:    #1c2436;
  --paper:    #ffffff;
  --paper-2:  #f5f7fc;
  --line:     #e6e9f2;
  --line-2:   #eef1f8;

  --text:     #0f1524;
  --muted:    #545d73;
  --muted-2:  #6d7690;
  --on-dark:  #eef1fb;
  --on-dark-muted: #9aa4c0;

  --brand:      #5b6cff;
  --brand-600:  #4453f0;
  --brand-050:  #eef0ff;
  --brand-ink:  #c7ccff;

  --crit: #e5484d;
  --high: #f2760c;
  --med:  #d99a00;
  --low:  #16a34a;

  --crit-bg: #fdecec;
  --high-bg: #fdf0e4;
  --med-bg:  #fbf4de;
  --low-bg:  #e7f7ee;

  /* type */
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* scale */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(16,22,40,.06), 0 1px 1px rgba(16,22,40,.04);
  --shadow-md: 0 8px 24px rgba(16,22,40,.08), 0 2px 6px rgba(16,22,40,.05);
  --shadow-lg: 0 24px 60px rgba(16,22,40,.16), 0 8px 20px rgba(16,22,40,.08);
  --shadow-brand: 0 12px 30px rgba(68,83,240,.28);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; font-weight: 640; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
s { color: var(--muted-2); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.br-d { display: none; }
@media (min-width: 720px) { .br-d { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 560; font-size: 15px; line-height: 1;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --pad-y: 9px; --pad-x: 14px; font-size: 14px; }
.btn--lg { --pad-y: 15px; --pad-x: 26px; font-size: 16px; border-radius: var(--r-md); }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: #3b49e0; box-shadow: 0 16px 36px rgba(68,83,240,.34); }
.btn--primary:disabled { background: #c8ccdd; color: #fff; box-shadow: none; cursor: not-allowed; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: #c9cfe0; background: var(--paper-2); }

/* ghost on dark hero */
.hero .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.22); }
.hero .btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, #17060a, #2a0b12 55%, #17060a);
  color: #ffdfe1;
  font-size: 13.5px;
}
.announce__inner { display: flex; align-items: center; gap: 10px; padding: 9px 24px; }
.announce p { margin: 0; letter-spacing: .01em; }
.announce strong { color: #fff; font-weight: 640; }
.announce__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; flex: none;
  box-shadow: 0 0 0 0 rgba(255,90,95,.55); animation: pulse 1.8s infinite;
}
.announce__count { color: #ff8b8f; font-weight: 640; margin-left: 4px; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,90,95,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(255,90,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,95,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 680; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 15.5px; gap: 7px; } .brand__mark { width: 22px; height: 22px; } }
.brand__mark { color: var(--brand); }
.brand__zero { color: var(--brand); }
.brand--sm { font-size: 16px; }
.nav__links { display: none; gap: 26px; margin-left: 8px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: auto; }
@media (min-width: 860px) { .nav__links { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(91,108,255,.30), transparent 60%),
    radial-gradient(700px 400px at 8% 8%, rgba(120,80,255,.14), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: clamp(56px, 9vw, 104px) 0 clamp(60px, 9vw, 96px);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; max-width: 860px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 640; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-ink);
  background: rgba(91,108,255,.12); border: 1px solid rgba(91,108,255,.28);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow--dark { color: var(--brand-600); background: var(--brand-050); border-color: #dfe3ff; }
.hero__title { font-size: clamp(38px, 6.4vw, 68px); font-weight: 680; letter-spacing: -.03em; }
.hero__title .hl { color: #ff6a6f; }
.hero__sub {
  margin-top: 22px; font-size: clamp(16px, 2vw, 19px); line-height: 1.6;
  color: var(--on-dark-muted); max-width: 660px;
}
.hero__sub strong { color: #fff; font-weight: 620; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--on-dark-muted);
}
.hero__trust li { position: relative; padding-left: 22px; }
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -7.5px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4 4 10-10' fill='none' stroke='%235b6cff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hero__verticals {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
}
.hero__verticals-label {
  font-size: 12px; font-weight: 640; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-right: 6px;
}
.vchip {
  font-size: 13px; font-weight: 520; color: var(--brand-ink);
  border: 1px solid rgba(91,108,255,.35); background: rgba(91,108,255,.10);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Scan card ---------- */
.scan { background: var(--paper-2); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.scan__card {
  max-width: 720px; margin: -80px auto 0; position: relative; z-index: 2;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3.4vw, 34px);
}
@media (max-width: 640px) { .scan__card { margin-top: -56px; } }

.scan__head { margin-bottom: 22px; }
.scan__headtop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.scan__kicker { font-size: 12px; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.scan__step { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.progress { height: 6px; background: #eaedf6; border-radius: 999px; overflow: hidden; }
.progress__fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), var(--brand-600)); border-radius: 999px; transition: width .4s cubic-bezier(.4,0,.2,1); }

.q__title { font-size: clamp(19px, 2.6vw, 23px); font-weight: 640; letter-spacing: -.02em; margin-bottom: 4px; }
.q__hint { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.q__hint--multi::after { content: " · choose all that apply"; color: var(--muted-2); }

.options { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
  background: var(--paper);
}
.opt:hover { border-color: #c3caf0; background: #fbfcff; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; }
.opt:focus-within { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(91,108,255,.32); outline: none; }
.opt__box {
  flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #cfd5e6;
  display: grid; place-items: center; transition: all .15s; background: #fff;
}
.opt__box::after {
  content: ""; width: 11px; height: 11px; border-radius: 3px; transform: scale(0); transition: transform .15s;
  background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4 4 10-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.opt--radio .opt__box { border-radius: 50%; }
.opt--radio .opt__box::after { border-radius: 50%; }
.opt__label { font-size: 15.5px; font-weight: 500; color: var(--text); }
.opt__sub { display: block; font-size: 13px; color: var(--muted-2); font-weight: 400; margin-top: 2px; }
.opt.is-checked { border-color: var(--brand-600); background: var(--brand-050); box-shadow: 0 0 0 3px rgba(91,108,255,.12); }
.opt.is-checked .opt__box { border-color: var(--brand-600); background: var(--brand-600); }
.opt.is-checked .opt__box::after { transform: scale(1); }

.scan__nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.scan__nav .btn--primary { margin-left: auto; }
#backBtn { color: var(--muted); }

/* ---------- Scanning animation ---------- */
.scanning { text-align: center; padding: 20px 0 8px; }
.scanning__radar { width: 132px; height: 132px; margin: 8px auto 26px; position: relative; }
.scanning__radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,108,255,.14), transparent 70%);
}
.scanning__ring { position: absolute; inset: 12px; border: 2px solid rgba(91,108,255,.18); border-radius: 50%; }
.scanning__ring--2 { inset: 34px; border-color: rgba(91,108,255,.28); }
.scanning__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, rgba(91,108,255,.55) 360deg);
  mask: radial-gradient(circle, transparent 30%, #000 31%);
  -webkit-mask: radial-gradient(circle, transparent 30%, #000 31%);
  animation: sweep 1.15s linear infinite;
}
.scanning__radar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: var(--brand-600); border-radius: 50%; box-shadow: 0 0 0 6px rgba(68,83,240,.18);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.scanning__status { font-size: 16px; font-weight: 560; color: var(--text); min-height: 24px; }
.scanning__log { list-style: none; padding: 0; margin: 18px auto 0; max-width: 420px; text-align: left; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.scanning__log li { display: flex; align-items: center; gap: 9px; padding: 5px 0; opacity: 0; transform: translateY(4px); animation: logIn .3s forwards; }
.scanning__log li::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4 4 10-10' fill='none' stroke='%2316a34a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@keyframes logIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Results ---------- */
.results { animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.res__top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ring { position: relative; width: 128px; height: 128px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring__track { stroke: #eaedf6; }
.ring__val { stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1); }
.ring__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring__num { font-size: 38px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; color: var(--text); }
.ring__den { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.res__headline { flex: 1; min-width: 240px; }
.res__risklabel { font-size: 13px; font-weight: 640; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.res__risk { font-size: clamp(24px, 3.4vw, 30px); font-weight: 680; letter-spacing: -.02em; margin: 4px 0 8px; }
.res__risk.is-crit { color: var(--crit); }
.res__risk.is-high { color: var(--high); }
.res__risk.is-med  { color: var(--med); }
.res__risk.is-low  { color: var(--low); }
.res__summary { font-size: 14.5px; color: var(--muted); }

.res__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; text-align: center; }
.stat__n { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat__n.is-crit { color: var(--crit); }
.stat__l { font-size: 12px; color: var(--muted-2); margin-top: 2px; letter-spacing: .01em; }

.gaps__title { font-size: 15px; font-weight: 640; margin: 26px 0 12px; display: flex; align-items: center; justify-content: space-between; }
.gaps { display: flex; flex-direction: column; gap: 10px; }
.gap { display: flex; gap: 13px; padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.gap__sev { flex: none; align-self: flex-start; font-size: 11px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; margin-top: 1px; }
.gap__body h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.gap__body p { font-size: 13.5px; color: var(--muted); }
.gap__ref { font-family: var(--mono); font-size: 11.5px; color: var(--brand-600); margin-top: 6px; display: inline-block; background: var(--brand-050); padding: 2px 7px; border-radius: 5px; }
.gap.is-locked { position: relative; }
.gap.is-locked .gap__body { filter: blur(4px); opacity: .7; user-select: none; }
.gap__locktag { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.gap__locktag span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow-sm); }

.sev-crit { background: var(--crit-bg); color: var(--crit); }
.sev-high { background: var(--high-bg); color: var(--high); }
.sev-med  { background: var(--med-bg);  color: #a97a00; }
.sev-low  { background: var(--low-bg);  color: var(--low); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.doc__row--crit .dot { background: var(--crit); }
.doc__row--high .dot { background: var(--high); }
.doc__row--med .dot  { background: var(--med); }

/* results CTA */
.res__cta { margin-top: 26px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(135deg, #0f1730, var(--ink)); color: var(--on-dark); text-align: center; }
.res__cta h3 { font-size: 20px; margin-bottom: 6px; }
.res__cta p { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 4px; }
.res__price { display: inline-flex; align-items: baseline; gap: 8px; margin: 14px 0 16px; }
.res__price s { font-size: 17px; color: #7480a0; }
.res__price strong { font-size: 34px; font-weight: 720; color: #fff; letter-spacing: -.02em; }
.res__price small { font-size: 13px; color: var(--on-dark-muted); }
.res__cta .btn--primary { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.res__cta .btn--primary:hover { background: #eef1fb; }
.res__guarantee { font-size: 12.5px; color: var(--on-dark-muted); margin-top: 12px; }
.res__book { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.res__book a { color: var(--brand-600); font-weight: 560; border-bottom: 1px solid rgba(68,83,240,.3); }
.res__disclaimer { font-size: 11.5px; color: var(--muted-2); margin-top: 18px; text-align: center; line-height: 1.5; }
.res__restart { margin-top: 10px; text-align: center; }
.res__restart button { background: none; border: none; color: var(--muted-2); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Generic sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.section__lede { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.6; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 680; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* report */
.report__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .report__grid { grid-template-columns: 1.05fr .95fr; } }
.report__copy h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 14px 0 12px; }
.ticklist { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticklist li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--text); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23e7f7ee'/%3E%3Cpath d='M7 12.4l3.2 3.2L17 8.8' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.report__preview { perspective: 1400px; }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: rotateY(-6deg) rotateX(2deg); transition: transform .4s ease; }
.doc:hover { transform: rotateY(0) rotateX(0); }
.doc__bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.doc__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d7dbe8; }
.doc__body { padding: 22px; position: relative; }
.doc__scoreline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.doc__score strong { font-size: 42px; font-weight: 720; font-variant-numeric: tabular-nums; }
.doc__score small { font-size: 15px; color: var(--muted-2); }
.doc__meta { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.doc__row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 13.5px; margin-bottom: 8px; }
.doc__row--muted { opacity: .55; }
.doc__watermark { position: absolute; right: 16px; bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #d3d8e6; }
.chip { font-size: 12px; font-weight: 680; padding: 5px 11px; border-radius: 999px; }
.chip--high { background: var(--high-bg); color: var(--high); }

/* timeline */
.timeline { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.tl { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.tl--now { border-color: #f6c9b0; background: linear-gradient(180deg, #fff8f3, #fff); box-shadow: 0 10px 30px rgba(242,118,12,.12); }
.tl__date { font-family: var(--mono); font-size: 14px; font-weight: 620; color: var(--text); display: block; }
.tl__badge { display: inline-block; font-size: 11px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin: 8px 0 10px; }
.tl__badge--live { background: var(--low-bg); color: var(--low); }
.tl__badge--now { background: var(--high-bg); color: var(--high); }
.tl p { font-size: 13.5px; color: var(--muted); }
.tl p strong { color: var(--text); }
.fineprint { font-size: 12px; color: var(--muted-2); }
.fineprint--center { text-align: center; margin-top: 26px; }

/* pricing */
.pricing { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.plan--feature { border-color: var(--brand); box-shadow: 0 20px 50px rgba(68,83,240,.16); }
@media (min-width: 860px) { .plan--feature { transform: scale(1.035); } }
.plan__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; font-size: 11.5px; font-weight: 640; letter-spacing: .04em; padding: 5px 13px; border-radius: 999px; box-shadow: var(--shadow-brand); }
.plan__name { font-size: 14px; font-weight: 640; color: var(--muted); letter-spacing: .02em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.plan__price strong { font-size: 40px; font-weight: 720; letter-spacing: -.02em; }
.plan__price s { font-size: 19px; }
.plan__price small { font-size: 13px; color: var(--muted-2); }
.plan__tag { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plan__feat { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan__feat li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.plan__feat li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4 4 10-10' fill='none' stroke='%234453f0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 580; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 22px; color: var(--muted-2); font-weight: 400; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 20px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.qa p strong { color: var(--text); }

/* final cta */
.finalcta { background: radial-gradient(900px 400px at 50% 0%, rgba(91,108,255,.28), transparent 65%), var(--ink); color: var(--on-dark); text-align: center; padding: clamp(60px, 9vw, 100px) 0; }
.finalcta h2 { font-size: clamp(28px, 4.4vw, 44px); }
.finalcta p { margin: 14px 0 30px; font-size: 18px; color: var(--on-dark-muted); }

/* footer */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 54px 0 40px; }
.footer__inner { display: flex; flex-direction: column; gap: 18px; }
.footer .brand { color: #fff; }
.footer__tag { font-size: 14px; color: var(--on-dark-muted); margin-top: 8px; }
.footer__disclaimer { font-size: 12px; line-height: 1.65; color: #7883a0; max-width: 780px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
.footer__meta { font-size: 12.5px; color: #67718d; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8,11,22,.62); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal__panel { position: relative; width: 100%; max-width: 440px; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 30px; animation: pop .22s cubic-bezier(.3,1.3,.5,1); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.modal__x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none; background: var(--paper-2); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal__x:hover { background: var(--line-2); color: var(--text); }
.modal__title { font-size: 23px; margin: 10px 0 8px; }
.modal__lede { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; line-height: 1.55; }
.cform { display: flex; flex-direction: column; gap: 14px; }
.cform__field { display: flex; flex-direction: column; gap: 6px; }
.cform__field span { font-size: 13px; font-weight: 560; color: var(--text); }
.cform__field input { font: inherit; font-size: 15px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.cform__field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,108,255,.14); }
.cform__error { font-size: 13px; color: var(--crit); margin: 0; }
.cform__note { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 2px; line-height: 1.5; }

.capture-done { text-align: center; padding: 8px 0; }
.capture-done__mark { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--low-bg); display: grid; place-items: center; }
.capture-done h3 { font-size: 22px; margin-bottom: 10px; }
.capture-done p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
