/* TuringForge Lab — styles.css (no build step) */
/* Inter (self-hosted, latin subset, variable weight 100–900; SIL OFL 1.1) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #0B1220;
  --card: #121A2B;
  --card-2: #172136;
  --line: rgba(168, 179, 199, 0.14);
  --line-strong: rgba(168, 179, 199, 0.24);
  --text: #F5F7FA;
  --muted: #A8B3C7;
  --accent: #14B8A6;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --accent-line: rgba(20, 184, 166, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 32px);
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 50px -24px rgba(0,0,0,0.6);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* type ladder */
  --fs-xs: 0.75rem;   /* 12 */
  --fs-sm: 0.875rem;  /* 14 */
  --fs-base: 1rem;    /* 16 */
  --fs-md: 1.125rem;  /* 18 */
  --fs-lg: 1.25rem;   /* 20 */
  --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-2xl: clamp(2.375rem, 1.4rem + 4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* soft ambient glow */
  content: "";
  position: fixed; inset: -20vh -10vw auto -10vw; height: 80vh;
  background:
    radial-gradient(50% 60% at 75% 10%, rgba(20,184,166,0.10), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(56,98,180,0.10), transparent 70%);
  pointer-events: none; z-index: -1;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--accent); color: #04211E; padding: 8px 14px; border-radius: 8px; font-weight: 600; z-index: 100; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head h2 { font-size: var(--fs-xl); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: var(--fs-md); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 var(--fs-base)/1 var(--font); letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #04211E; box-shadow: 0 8px 24px -10px rgba(20,184,166,0.7); }
.btn-primary:hover { background: #22c9b6; }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); border-radius: 10px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,0.78);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; font-size: var(--fs-md); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.nav-links a:not(.btn) { display: inline-block; padding: 10px 0; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #04211E; }

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(24px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.035em; margin-top: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 560px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.hero-note strong { color: var(--text); font-weight: 600; }
.hero-copy > *, .hero .demo { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .1s; }
.hero-copy > :nth-child(4), .hero-copy > :nth-child(5) { animation-delay: .15s; } .hero .demo { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .6; }

/* Hero demo */
.demo {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(20,184,166,0.05), 0 40px 80px -40px rgba(20,184,166,0.25);
  overflow: hidden;
}
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(168,179,199,0.25); }
.demo-title { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.demo-steps { display: flex; gap: 6px; padding: 14px 16px 0; list-style: none; }
.demo-step {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  background: none; border: 0; padding: 6px 0 4px; min-height: 32px; cursor: pointer; text-align: left;
  font: 600 var(--fs-xs)/1 var(--font); color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}
.demo-step .track { height: 3px; border-radius: 3px; background: rgba(168,179,199,0.16); overflow: hidden; }
.demo-step .track::after { content: ""; display: block; height: 100%; width: 0; background: var(--accent); }
.demo-step.is-done .track::after { width: 100%; }
.demo-step.is-active { color: var(--text); }
.demo-step.is-active .track::after { width: 100%; transition: width var(--step-ms, 3600ms) linear; }
.demo.is-static .demo-step.is-active .track::after { transition: none; }
.demo-body { display: grid; padding: 18px 16px 18px; min-height: 352px; }
.demo-panel { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.demo-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.demo-label { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.paste-box { flex: 1; border: 1px dashed var(--accent-line); border-radius: 14px; padding: 14px; background: rgba(11,18,32,0.5); }
.demo-panel.is-active .chat > * { animation: pop .5s ease both; }
.demo-panel.is-active .chat > *:nth-child(2) { animation-delay: .35s; }
.demo-panel.is-active .chat > *:nth-child(3) { animation-delay: .7s; }
.demo-panel.is-active .chat > *:nth-child(4) { animation-delay: 1.05s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.demo-score { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.demo-score .num { font-size: 4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.demo-score .den { font-size: var(--fs-lg); color: var(--muted); font-weight: 600; }
.demo-score .tag { margin-left: auto; align-self: center; }
.upgrade-list { list-style: none; display: grid; gap: 10px; }
.upgrade-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; background: rgba(11,18,32,0.5); border: 1px solid var(--line); }
.demo-panel.is-active .upgrade-list li { animation: pop .5s ease both; }
.demo-panel.is-active .upgrade-list li:nth-child(2) { animation-delay: .3s; }
.demo-panel.is-active .upgrade-list li:nth-child(3) { animation-delay: .6s; }
.upgrade-list .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--fs-sm); }
.upgrade-list strong { display: block; font-size: var(--fs-sm); color: var(--text); }
.upgrade-list span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* Chat bubbles */
.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; }
.msg .who { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 4px 5px; }
.msg p { padding: 10px 14px; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.55; }
.msg.q { align-self: flex-start; }
.msg.q p { background: #1C2740; color: var(--text); border-top-left-radius: 6px; }
.msg.a { align-self: flex-end; text-align: right; }
.msg.a p { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text); border-top-right-radius: 6px; text-align: left; }
.msg.a .who { color: var(--accent); }

/* Tags */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255,255,255,0.02); white-space: nowrap; }
.tag.teal { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

/* Bars */
.bars { list-style: none; display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: var(--fs-sm); }
.bar-row .label { color: var(--text); font-weight: 500; }
.bar-row .val { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.bar-row .val b { color: var(--text); font-weight: 700; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(168,179,199,0.14); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #0E8F82, var(--accent)); transform-origin: left; }
.js .animate-bars .bar i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.js .animate-bars.bars-in .bar i { transform: scaleX(1); }
.js .animate-bars.bars-in .bar-row:nth-child(2) .bar i { transition-delay: .08s; }
.js .animate-bars.bars-in .bar-row:nth-child(3) .bar i { transition-delay: .16s; }
.js .animate-bars.bars-in .bar-row:nth-child(4) .bar i { transition-delay: .24s; }
.js .animate-bars.bars-in .bar-row:nth-child(5) .bar i { transition-delay: .32s; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.problem-grid .statement { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; margin-top: 14px; }
.problem-grid .statement span { color: var(--muted); }
.answer { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; overflow: hidden; }
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.answer p { font-size: var(--fs-lg); line-height: 1.55; font-weight: 500; }
.answer .tag { align-self: flex-start; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.step { padding: 28px; position: relative; }
.step .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: 22px; }
.step .icon svg { width: 22px; height: 22px; }
.step .num { position: absolute; top: 24px; right: 26px; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; color: rgba(168,179,199,0.12); line-height: 1; }
.step h3 { font-size: var(--fs-lg); }
.step p { margin-top: 8px; color: var(--muted); font-size: var(--fs-base); }

/* Samples */
.sample-main { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.sample-main > div { padding: clamp(22px, 3vw, 32px); }
.sample-conv { border-right: 1px solid var(--line); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-head h3 { font-size: var(--fs-lg); }
.score-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.score-big { display: flex; align-items: baseline; gap: 6px; }
.score-big .num { font-size: clamp(4rem, 3rem + 3vw, 5.25rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.score-big .den { font-size: var(--fs-lg); color: var(--muted); font-weight: 600; }
.score-caption { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.sample-notes { grid-column: 1 / -1; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); background: rgba(11,18,32,0.35); }
.sample-notes h4 { font-size: var(--fs-base); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 14px; }
.sample-notes h4 small { font-weight: 500; color: var(--muted); font-size: var(--fs-sm); letter-spacing: 0; }
.check-list, .num-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.check-list li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.num-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.num-list li .n { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--fs-xs); margin-top: 1px; }
.num-list li strong, .check-list li strong { color: var(--text); font-weight: 600; }

.samples-more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.sample-card { padding: clamp(22px, 3vw, 28px); display: flex; flex-direction: column; }
.sample-card .chat { flex: 1; }
.samples-cta { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px clamp(22px, 3vw, 28px); }
.samples-cta p { color: var(--muted); max-width: 560px; }
.samples-cta p strong { color: var(--text); }

/* Waitlist */
.waitlist-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.waitlist-copy h2 { font-size: var(--fs-xl); margin-top: 14px; }
.waitlist-copy p { margin-top: 14px; color: var(--muted); font-size: var(--fs-md); }
.waitlist-points { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.waitlist-points li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.waitlist-points li svg { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); flex: none; }
.form { padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field label .opt { color: var(--muted); font-weight: 500; }
/* Form fields (2026-10-17 22:4x): colours come from theme tokens (--field-*), set per theme below, so typed text,
   placeholder, caret and browser autofill stay readable in BOTH themes (was a fixed dark box: light theme = dark-on-dark). */
.field input, .field textarea, .field select {
  width: 100%; font: 400 var(--fs-base)/1.5 var(--font); color: var(--field-text, #F5F7FA); -webkit-text-fill-color: var(--field-text, #F5F7FA);
  caret-color: var(--field-caret, #F5F7FA);
  background: var(--field-bg, #0E1626); border: 1px solid var(--field-line, var(--line-strong)); border-radius: 12px;
  padding: 12px 14px; min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select option { color: var(--field-text, #F5F7FA); background: var(--field-bg, #0E1626); }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--field-ph, #94A3B8); -webkit-text-fill-color: var(--field-ph, #94A3B8); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
/* Browser autofill (Chrome/Edge/Safari paint their own light-blue/yellow box): keep our field colours. */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill, .field select:-webkit-autofill {
  -webkit-text-fill-color: var(--field-text, #F5F7FA); caret-color: var(--field-caret, #F5F7FA);
  -webkit-box-shadow: 0 0 0 1000px var(--field-bg, #0E1626) inset; box-shadow: 0 0 0 1000px var(--field-bg, #0E1626) inset;
  transition: background-color 9999s ease-out 0s;
}
.field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--field-bg, #0E1626) inset, 0 0 0 4px var(--accent-soft); box-shadow: 0 0 0 1000px var(--field-bg, #0E1626) inset, 0 0 0 4px var(--accent-soft); }
.field input:autofill { color: var(--field-text, #F5F7FA); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.form-foot { font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; }
.pricing > div { padding: clamp(24px, 3.5vw, 40px); }
.pricing-info { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.pricing-info .tag { align-self: flex-start; }
.pricing-info h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); margin-top: 16px; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; gap: 12px; align-items: center; font-size: var(--fs-base); }
.feature-list li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.pricing-note { margin-top: auto; padding-top: 28px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
.pricing-note-inner { padding: 14px 16px; border-radius: 12px; background: rgba(11,18,32,0.5); border: 1px solid var(--line); display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.pricing-note-inner svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plans { display: grid; gap: 16px; align-content: center; background: rgba(11,18,32,0.35); }
.plan { border: 1px solid var(--line-strong); border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--card); transition: border-color .15s ease, transform .15s ease; }
.plan:hover { border-color: var(--accent-line); }
.plan.featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), 0 20px 40px -24px rgba(20,184,166,0.45); }
.plan-name { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.plan-price { margin-top: 6px; display: flex; align-items: baseline; gap: 4px; }
.plan-price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan-price .cur { font-size: var(--fs-base); font-weight: 600; color: var(--muted); align-self: flex-start; margin-top: 4px; }
.plan-price .per { font-size: var(--fs-base); color: var(--muted); font-weight: 500; }
.seats { font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.seats strong { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid .brand { font-size: var(--fs-base); }
.footer-grid .brand img { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: -6px; list-style: none; font-size: var(--fs-sm); }
.footer-links a { color: var(--muted); display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--text); }
.footer-small { margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); display: grid; gap: 6px; }

/* Legal / simple pages */
.page { padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 112px); }
.doc { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); }
.doc h1 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; }
.doc .updated { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }
.doc dl { margin: 32px 0 0; display: grid; gap: 0; }
.doc dt { font-weight: 700; font-size: var(--fs-base); padding-top: 22px; border-top: 1px solid var(--line); }
.doc dt:first-child { border-top: 0; padding-top: 0; }
.doc dd { margin: 8px 0 22px; color: var(--muted); }
.doc dd:last-child { margin-bottom: 0; }
.back { display: flex; width: max-content; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 16px; padding: 4px 0; }
.back:hover { color: var(--text); text-decoration: none; }
.center-page { min-height: calc(100vh - 68px - 160px); display: grid; place-items: center; padding: 64px 0; }
.thanks { text-align: center; max-width: 560px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); }
.thanks .badge { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.thanks .badge svg { width: 30px; height: 30px; }
.thanks h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.thanks p { margin-top: 14px; color: var(--muted); font-size: var(--fs-md); }
.thanks .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Tester app (/app) */
.nav-links a[aria-current="page"] { color: var(--text); }
.app-top { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.app-head { max-width: 760px; }
.app-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 16px; }
.app-head h1 .accent { color: var(--accent); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: 20px; align-items: start; }
.tester .field textarea { min-height: 300px; font-size: var(--fs-sm); line-height: 1.6; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.count { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.count.warn { color: #F5B454; }
.field-hint { font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }
.field-hint code, .form-foot code { font: 600 0.92em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); background: rgba(168,179,199,0.1); padding: 2px 5px; border-radius: 5px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.examples > span { margin-right: 2px; }
.chip { font: 600 var(--fs-xs)/1 var(--font); color: var(--text); background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 13px; min-height: 36px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.form-error { padding: 12px 14px; border-radius: 12px; font-size: var(--fs-sm); color: #FFD7D7; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.35); }
.form-error[hidden] { display: none; }
.btn[disabled] { opacity: .7; cursor: progress; }
.app-side { padding: clamp(22px, 3vw, 28px); position: sticky; top: 88px; }
.app-side h2 { font-size: var(--fs-lg); }
.app-side > p { margin-top: 10px; font-size: var(--fs-sm); line-height: 1.6; }
.criteria { margin: 18px 0 0; display: grid; gap: 0; }
.criteria dt { font-weight: 600; font-size: var(--fs-sm); padding-top: 12px; border-top: 1px solid var(--line); }
.criteria dt:first-child { border-top: 0; padding-top: 0; }
.criteria dd { margin: 3px 0 12px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.side-note { margin-top: 6px !important; padding: 12px 14px; border-radius: 12px; background: rgba(11,18,32,0.5); border: 1px solid var(--line); color: var(--muted); }
.side-note strong { color: var(--text); }
.result-section { outline: none; }
.result-section[hidden] { display: none; }
#result-context { color: var(--text); font-weight: 500; }
.result-card .msg p { white-space: pre-line; overflow-wrap: anywhere; }
.result-card .chat { max-height: 560px; overflow-y: auto; padding-right: 4px; }
.more-turns { margin-top: 12px; font-size: var(--fs-xs); color: var(--muted); }
.shared-note { display: grid; gap: 14px; justify-items: start; color: var(--muted); font-size: var(--fs-sm); }
.shared-note[hidden], .more-turns[hidden], .result-notes[hidden] { display: none; }
.verdict { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: rgba(11,18,32,0.5); border: 1px solid var(--accent-line); }
.verdict .score-caption { color: var(--accent); margin-bottom: 6px; }
.verdict p { font-size: var(--fs-base); line-height: 1.55; font-weight: 500; }
.result-notes { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--muted); }
.result-notes li::before { content: "Note: "; color: var(--text); font-weight: 600; }
.result-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.copy-status { margin-top: 12px; min-height: 1.6em; font-size: var(--fs-sm); color: var(--accent); }
.engine-note { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); max-width: 760px; }
.nav-links .nav-try a { white-space: nowrap; }
.app-cta { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.result-card .chat { overscroll-behavior: contain; }
@media (max-width: 380px) {
  .nav-links li.nav-try { display: none; }
}
@media (max-width: 960px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-side { position: static; }
}
@media (max-width: 560px) {
  .tester .field textarea { min-height: 240px; }
  .result-actions .btn { flex: 1 1 100%; }
  .result-card .chat { max-height: 420px; }
}

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { max-width: 560px; }
  .problem-grid, .waitlist-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .pricing-info { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-links li:not(.nav-cta):not(.nav-try):not(.nav-wl) { display: none; }
  .nav-links { gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 22px 22px 22px 88px; min-height: 0; }
  .step .icon { position: absolute; left: 22px; top: 22px; margin: 0; }
  .step .num { display: none; }
  .sample-main { grid-template-columns: 1fr; }
  .sample-conv { border-right: 0; border-bottom: 1px solid var(--line); }
  .sample-notes { grid-template-columns: 1fr; }
  .samples-more { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .form-row { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .plan .btn { width: 100%; }
  .samples-cta .btn { width: 100%; }
  .thanks .actions .btn { width: 100%; }
  .demo-body { min-height: 0; }
  .paste-box .msg:nth-child(n+4) { display: none; }
  .demo-score .num { font-size: 3.25rem; }
  .msg { max-width: 92%; }
  .brand span { font-size: var(--fs-base); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Homepage tester, paper section, invites, header CTA (2026-10-08) ===== */
.nav-links .nav-cta .btn { white-space: nowrap; }
.nav-links .nav-wl a { white-space: nowrap; }
@media (max-width: 900px) { .nav-links li.nav-sec { display: none; } .nav-links { gap: 18px; } }
@media (max-width: 480px) { .nav-links li.nav-wl { display: none; } }
@media (max-width: 380px) {
  .nav { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .brand span { font-size: 0.9375rem; }
  .nav-links .nav-cta .btn { padding: 0 12px; }
}
.hero-tool .hero-grid { align-items: start; }
.hero-tool .hero-copy { padding-top: clamp(0px, 2vw, 24px); }
.hero-note a { white-space: nowrap; }
.hero-tester { animation: rise .7s cubic-bezier(.2,.7,.2,1) .1s both; border-color: var(--accent-line); box-shadow: var(--shadow), 0 40px 80px -40px rgba(20,184,166,0.25); }
.tester-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tester-head h2 { font-size: var(--fs-lg); }
.hero-tester .field textarea { min-height: 220px; }
.home .result-section { border-top: 1px solid var(--line); }
.method-link { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); }
.sample-load { margin-top: 18px; align-self: flex-start; }

.invite { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 20px; border: 1px dashed var(--accent-line); border-radius: 14px; background: rgba(20,184,166,0.04); color: var(--text); font-weight: 500; }
.invite > span { min-width: 0; }
.invite a { font-weight: 600; white-space: nowrap; }
.invite-band { padding-bottom: clamp(8px, 2vw, 16px); }
.invite-band .invite { margin-top: 0; }
.footer-invite { margin: 0 0 32px; }

.paper-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.citation { margin: 0; padding: clamp(22px, 3vw, 28px); border-left: 3px solid var(--accent); }
.cite { font-size: var(--fs-md); line-height: 1.6; overflow-wrap: anywhere; }
.cite-note { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; padding: 18px 20px; }
.quote p { font-size: var(--fs-base); line-height: 1.55; font-style: italic; }
.quote footer { margin-top: 8px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.mapping { margin-top: 20px; padding: clamp(22px, 3vw, 32px); }
.mapping-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.mapping-head h3 { font-size: var(--fs-lg); }
.map-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.map-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.map-list dt { font-weight: 700; font-size: var(--fs-base); color: var(--accent); }
.map-list dd { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.mapping-foot { margin-top: 16px; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 860px) {
  .paper-grid, .map-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .invite { padding: 14px 16px; }
  .sample-load { width: 100%; }
}

/* Method page */
.doc h2 { font-size: var(--fs-lg); margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc > p, .doc .prose p, .doc .prose li { color: var(--muted); line-height: 1.7; }
.doc .lead-p { margin-top: 16px; font-size: var(--fs-md); color: var(--muted); }
.doc .prose p { margin-top: 12px; }
.doc .prose ul, .doc .prose ol { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.doc .prose strong { color: var(--text); }
.doc .criteria dd { font-size: var(--fs-sm); }
.doc .refs li { overflow-wrap: anywhere; }
.doc .callout { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(11,18,32,0.5); border: 1px solid var(--accent-line); color: var(--text); }

/* Test-invite nudges (homepage) */
.nudge { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: min(340px, calc(100vw - 40px)); padding: 18px 18px 16px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--accent-line); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(20,184,166,0.08); display: grid; gap: 8px; justify-items: start; }
.nudge-title { font-weight: 700; font-size: var(--fs-base); padding-right: 32px; }
.nudge-text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.nudge .btn { margin-top: 6px; }
.nudge-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: 400 1.5rem/1 var(--font); cursor: pointer; display: grid; place-items: center; }
.nudge-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
@media (prefers-reduced-motion: no-preference) { .nudge { animation: nudge-in .35s cubic-bezier(.2,.7,.2,1) both; } }
@keyframes nudge-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .nudge { left: 0; right: 0; bottom: 0; width: auto; border-radius: 18px 18px 0 0; border-bottom: 0; padding: 18px 20px calc(16px + env(safe-area-inset-bottom)); }
  .nudge .btn { width: 100%; }
}
.doc code { font: 600 0.9em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); background: rgba(168,179,199,0.1); padding: 2px 5px; border-radius: 5px; }
.doc .invite { margin-top: 36px; }
.invite-mid { margin: 20px 0 0; }
.paper-grid + .invite-mid { margin-bottom: 0; }
.samples-more { margin-top: 20px; }

/* Ambient background (bg.js, homepage only): decorative, behind content, never interactive */
.ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* Content always paints above decorative layers (body::before glow, .ambient canvas). No masks/blend modes on content. */
main, .site-footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ambient { display: none; } }

/* What it does / Coming next / How to test (level videos) */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: clamp(20px, 3vw, 26px); display: grid; gap: 10px; align-content: start; }
.feature h3 { font-size: var(--fs-md); }
.feature p { color: var(--muted); }
.feature.soon { border-style: dashed; background: rgba(255,255,255,0.015); box-shadow: none; }
.tag.soon-tag { justify-self: start; color: #F5C46B; border-color: rgba(245,196,107,0.45); background: rgba(245,196,107,0.08); }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.level { margin: 0; padding: 16px; display: grid; gap: 14px; align-content: start; }
.level-head { display: flex; align-items: center; gap: 10px; }
.level-head h3 { font-size: var(--fs-md); }
.level-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #05080f; border: 1px solid var(--line); }
.level figcaption { display: grid; gap: 8px; color: var(--muted); }
.level-scores { color: var(--text); font-weight: 600; font-size: var(--fs-sm, .9rem); }
.level-transcript summary { cursor: pointer; color: var(--accent); font-size: var(--fs-sm, .9rem); }
.level-transcript p { margin-top: 8px; font-size: var(--fs-sm, .9rem); }
.levels-note { margin-top: 18px; color: var(--muted); font-size: var(--fs-xs); }
@media (max-width: 960px) { .feature-grid, .level-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid, .level-grid { grid-template-columns: 1fr; } }
#coming .feature-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { #coming .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { #coming .feature-grid { grid-template-columns: 1fr; } }
.level-head { justify-content: space-between; }

/* How to test: scroll-snap row of video cards + lightbox (vlb.js) */
.vrow-wrap { position: relative; }
.vrow { list-style: none; margin: 0; padding: 4px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.vrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.vcard { scroll-snap-align: start; padding: 16px; display: grid; gap: 10px; align-content: start; }
.vhint { justify-self: start; }
.vname { font-size: var(--fs-md); margin: 0; }
.vname .vopen { all: unset; cursor: pointer; color: var(--text); }
.vname .vopen:hover { color: var(--accent); }
.vname .vopen:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.vthumb { all: unset; box-sizing: border-box; display: grid; gap: 8px; cursor: pointer; }
.vthumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #05080f; transition: transform .2s ease, border-color .2s ease; }
.vthumb:hover img, .vthumb:focus-visible img { transform: translateY(-2px); border-color: var(--accent-line); }
.vthumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.vplay { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: var(--fs-sm); }
.vplay-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.vplay-icon::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid #0B1220; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vsum { color: var(--muted); }
.vfallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.vfallback:focus { position: static; width: auto; height: auto; clip: auto; }
.vrow-arrow { display: none; position: absolute; top: 38%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card-2); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); }
.vrow-arrow:disabled { opacity: .35; cursor: default; }
.vrow-prev { left: -14px; } .vrow-next { right: -14px; }
@media (hover: hover) and (pointer: fine) { .vrow-wrap.is-scrollable .vrow-arrow { display: grid; place-items: center; } }
html.vlb-open, html.vlb-open body { overflow: hidden; }
.vlb { position: fixed; inset: 0; z-index: 1000; }
.vlb[hidden] { display: none; }
.vlb-backdrop { position: absolute; inset: 0; background: rgba(3,6,12,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vlb-stage { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.vlb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 12px; }
.vlb-title { font-size: var(--fs-md); margin: 0; color: var(--text); }
.vlb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card-2); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.vlb-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vlb-frame { align-self: center; justify-self: center; width: min(100%, calc((100dvh - 110px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgba(0,0,0,.9); will-change: transform; }
@supports not (height: 100dvh) { .vlb-frame { width: min(100%, calc((100vh - 110px) * 16 / 9)); } }
.vlb-video { display: block; width: 100%; height: 100%; background: #000; }
html:not(.js) .vfallback { position: static; width: auto; height: auto; clip: auto; }
.vrow-wrap, .vrow { min-width: 0; max-width: 100%; }
.vcard { position: relative; }

/* ===== Turing Test Suite (suite.html) ===== */
.suite-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; margin-top: 14px; letter-spacing: -0.02em; }
.suite-hero .section-head { max-width: 820px; }
.suite-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 820px; }
.sstat { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-2), var(--card)); display: grid; gap: 4px; }
.sstat strong { font-size: 2rem; line-height: 1; color: var(--accent); font-weight: 700; }
.sstat span { color: var(--muted); font-size: var(--fs-sm); }
.suite-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.suite-legend { margin-top: 20px; color: var(--muted); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.badge-live { color: #5EEAD4; background: rgba(20,184,166,.14); border: 1px solid rgba(20,184,166,.5); }
.badge-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #2DD4BF; box-shadow: 0 0 0 3px rgba(45,212,191,.22); }
.badge-soon { color: #F5C46B; background: rgba(245,196,107,.09); border: 1px solid rgba(245,196,107,.45); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.tcard { padding: clamp(20px, 2.6vw, 26px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.tcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 80%); opacity: .9; }
.tcard-soon::before { background: linear-gradient(90deg, #F5C46B, transparent 80%); opacity: .7; }
.tcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tsec { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.tcard h3 { font-size: var(--fs-lg, 1.25rem); line-height: 1.25; }
.tquote { margin: 0; padding: 12px 14px; border-left: 3px solid var(--accent-line); background: rgba(255,255,255,.025); border-radius: 0 10px 10px 0; }
.tcard-soon .tquote { border-left-color: rgba(245,196,107,.45); }
.tquote p { font-style: italic; color: var(--text); font-size: var(--fs-sm); line-height: 1.55; }
.tquote cite { display: block; margin-top: 6px; font-style: normal; color: var(--muted); font-size: var(--fs-xs); }
.tchecks h4 { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tchecks ul { list-style: none; display: grid; gap: 7px; }
.tchecks li { position: relative; padding-left: 22px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.tchecks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tcard-soon .tchecks li::before { width: 7px; height: 7px; border: 2px solid rgba(245,196,107,.7); border-radius: 50%; transform: none; top: .5em; }
.tcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.tdim { color: var(--muted); font-size: var(--fs-sm); }
.tdim strong { color: var(--text); }
/* design-preview mockups */
.tmock { margin: auto 0 0; position: relative; padding: 30px 14px 14px; border-radius: 12px; border: 1px dashed rgba(245,196,107,.38); background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px), #0d1526; display: grid; gap: 10px; }
.tmock-label { position: absolute; top: 8px; left: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F5C46B; }
.mock-chat { display: grid; gap: 6px; }
.mb { max-width: 86%; padding: 7px 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.4; color: var(--text); background: #16213a; border: 1px solid var(--line); }
.mb span { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.mb-a { justify-self: end; background: rgba(20,184,166,.10); border-color: rgba(20,184,166,.3); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.03); }
.mock-val { color: var(--text); font-weight: 600; }
.mock-steps { display: inline-flex; gap: 4px; } .mock-steps i { width: 18px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); } .mock-steps i.on { background: rgba(245,196,107,.6); }
.mock-timer { display: flex; align-items: center; gap: 14px; }
.mock-timer svg { width: 72px; height: 72px; transform: rotate(-90deg); }
.mock-timer .trk { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.mock-timer .arc { fill: none; stroke: rgba(245,196,107,.65); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 0; }
.mock-timer strong { display: block; font-size: 1.6rem; color: var(--text); font-variant-numeric: tabular-nums; }
.mock-timer span { font-size: 12px; color: var(--muted); }
.mock-bars { display: grid; gap: 8px; }
.mock-bar { display: grid; grid-template-columns: 96px 1fr 1fr 22px; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mock-bar i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.07); position: relative; overflow: hidden; }
.mock-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: mockshimmer 2.4s infinite; }
.mock-bar em { font-style: normal; color: var(--text); text-align: right; }
.mock-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); }
.mock-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mock-legend .la::before { background: rgba(20,184,166,.5); } .mock-legend .lb::before { background: rgba(245,196,107,.55); }
.mock-tasks { list-style: none; display: grid; gap: 6px; }
.mock-tasks li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.03); font-size: 12.5px; color: var(--muted); }
.mock-tasks li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(245,196,107,.6); flex: none; margin-top: 1px; }
.mock-tasks li span { flex: 1; } .mock-tasks em { font-style: normal; color: var(--text); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chips span { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line-strong); }
.mock-lights { display: flex; gap: 10px; justify-content: center; padding: 6px 0; }
.mock-lights i { width: 28px; height: 28px; border-radius: 50%; }
.mock-lights .r { background: radial-gradient(circle at 35% 35%, #ff8a8a, #c0392b); box-shadow: 0 0 18px rgba(231,76,60,.55); }
.mock-lights .g { background: radial-gradient(circle at 35% 35%, #8af5c0, #16a34a); box-shadow: 0 0 18px rgba(34,197,94,.5); }
@keyframes mockshimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .mock-bar i::after { animation: none; } }
.ngrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ncard { padding: 18px; display: grid; gap: 8px; align-content: start; background: rgba(255,255,255,.015); box-shadow: none; }
.ncard h3 { font-size: var(--fs-md); }
.ncard p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.ethics { margin-top: 20px; padding: clamp(20px, 3vw, 28px); border-color: var(--accent-line); background: linear-gradient(135deg, rgba(20,184,166,.08), var(--card) 60%); }
.ethics h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.ethics p { color: var(--muted); }
.suite-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(22px, 3.4vw, 34px); background: linear-gradient(120deg, rgba(20,184,166,.14), var(--card) 55%); border-color: var(--accent-line); }
.suite-band h2 { font-size: var(--fs-xl); } .suite-band p { color: var(--muted); margin-top: 6px; }
.suite-cite { margin-top: 18px; font-size: var(--fs-xs); color: var(--muted); max-width: 820px; }
@media (max-width: 1100px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .suite-stats { grid-template-columns: 1fr; } .ngrid { grid-template-columns: 1fr; } .sstat { grid-template-columns: auto 1fr; align-items: center; gap: 14px; } .tcard-foot { flex-wrap: wrap; } }
.suite-teaser { padding-top: 0; }
.suite .suite-hero { padding-top: clamp(8px, 2vw, 24px); }
@media (min-width: 1000px) {
  .tcard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "top top" "title checks" "quote checks" "foot foot"; column-gap: 32px; align-items: start; }
  .tcard-wide .tcard-top { grid-area: top; } .tcard-wide h3 { grid-area: title; } .tcard-wide .tquote { grid-area: quote; }
  .tcard-wide .tchecks { grid-area: checks; } .tcard-wide .tcard-foot { grid-area: foot; }
}

.vcard { transition: border-color .2s ease, box-shadow .2s ease; }
/* 2026-10-10 (c): each card's text starts with its Turing quote (was in the removed shared info panel) */
.vquote { margin: 0; padding: 8px 12px; border-left: 3px solid var(--accent-line); background: rgba(255,255,255,.025); border-radius: 0 10px 10px 0; }
.vquote p { font-style: italic; font-size: var(--fs-sm); line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.vquote cite { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 4px; font-style: normal; font-size: var(--fs-xs); color: var(--muted); }
.vsub { color: var(--muted); font-size: var(--fs-sm); margin-top: -4px; }
.vcard-soon { border-style: dashed; background: rgba(255,255,255,.015); }
.vcard-vision { border-color: rgba(245,196,107,.45); background: linear-gradient(160deg, rgba(245,196,107,.07), var(--card) 50%); }
.vsep { scroll-snap-align: start; align-self: stretch; display: grid; align-content: center; justify-items: start; gap: 10px; width: 170px; padding: 18px 14px; border-left: 2px dashed rgba(245,196,107,.45); color: var(--muted); font-size: var(--fs-sm); }
.vrow { grid-auto-columns: auto; }
.vrow > .vcard { width: 300px; }
@media (max-width: 600px) { .vrow > .vcard { width: 280px; } }

/* ---- 2026-10-10: video card zoom (hover / keyboard focus-visible / touch tap). Layout unchanged: the row
   gets extra padding for the zoomed card, offset by equal negative margins, so nothing moves and nothing clips. ---- */
.vrow { margin: -26px -20px -18px; padding: 30px 22px 32px; max-width: calc(100% + 40px); scroll-padding-inline: 22px; }
.vrow { margin-top: -38px; padding-top: 42px; }
@media (min-width: 760px) { .vrow { margin-left: -30px; margin-right: -30px; padding-left: 32px; padding-right: 32px; max-width: calc(100% + 60px); scroll-padding-inline: 32px; } }
.vrow-arrow { z-index: 4; }
.vrow > .vcard { transform-origin: 50% 50%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vrow > .vcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(94,234,212,.20) 45%, rgba(255,255,255,.16) 50%, rgba(94,234,212,.12) 55%, transparent 68%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; }
.vrow > .vcard.is-zoom, .vrow > .vcard:has(:focus-visible), .vrow > .vcard.is-tapped, .vrow > .vcard.vlb-origin {
  z-index: 3; transform: translateY(-6px) scale(1.1); border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 22px 2px rgba(20,184,166,.42), 0 24px 44px -14px rgba(0,0,0,.8);
  animation: vcard-pulse .55s ease-out 1; }
.vrow > .vcard.is-zoom::after, .vrow > .vcard:has(:focus-visible)::after, .vrow > .vcard.is-tapped::after { animation: vcard-shine .6s ease-out 1; }
@media (hover: hover) {
  .vrow > .vcard:hover { z-index: 3; transform: translateY(-6px) scale(1.1); border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent), 0 0 22px 2px rgba(20,184,166,.42), 0 24px 44px -14px rgba(0,0,0,.8);
    animation: vcard-pulse .55s ease-out 1; }
  .vrow > .vcard:hover::after { animation: vcard-shine .6s ease-out 1; }
}
@media (hover: none) {
  .vrow > .vcard.is-tapped, .vrow > .vcard:active, .vrow > .vcard.vlb-origin { z-index: 3; transform: translateY(-4px) scale(1.08); border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent), 0 0 20px 2px rgba(20,184,166,.42), 0 20px 40px -14px rgba(0,0,0,.8); }
  .vrow > .vcard:active::after { animation: vcard-shine .6s ease-out 1; }
}
@keyframes vcard-pulse {
  0% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 0 rgba(20,184,166,.65), 0 24px 44px -14px rgba(0,0,0,.8); }
  100% { box-shadow: 0 0 0 2px var(--accent), 0 0 22px 2px rgba(20,184,166,.42), 0 24px 44px -14px rgba(0,0,0,.8); }
}
@keyframes vcard-shine { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 0; background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) {
  .vrow > .vcard { transition: border-color .2s ease, box-shadow .2s ease; }
  .vrow > .vcard:hover, .vrow > .vcard.is-zoom, .vrow > .vcard:has(:focus-visible), .vrow > .vcard.is-tapped, .vrow > .vcard:active, .vrow > .vcard.vlb-origin {
    transform: none !important; animation: none !important; box-shadow: 0 0 0 2px var(--accent) !important; }
  .vrow > .vcard::after { animation: none !important; display: none; }
}
/* only the hovered card zooms: a card that merely keeps keyboard focus shows the ring, not the zoom, while the pointer is elsewhere in the row */
@media (hover: hover) {
  .vrow:hover > .vcard:not(:hover):has(:focus-visible):not(.vlb-origin) { z-index: 1; transform: none; animation: none; box-shadow: 0 0 0 2px var(--accent-line), var(--shadow); }
  .vrow:hover > .vcard:not(:hover):has(:focus-visible)::after { animation: none; }
}

/* ---- 2026-10-10: User | Investor mode toggle (header, every page) + investor access page ---- */
.mode-toggle { display: inline-flex; flex: none; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); }
.mode-seg { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); line-height: 1; white-space: nowrap; }
.mode-seg:hover { color: var(--text); text-decoration: none; }
.mode-seg[aria-current] { background: var(--accent); color: #04211E; }
.nav .nav-links { margin-left: auto; }
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .mode-seg { padding: 6px 9px; font-size: 0.6875rem; }
  .nav-links .nav-cta .btn { padding: 0 10px; }
}
@media (max-width: 400px) { .brand span { font-size: 0.875rem; } .nav-links .nav-cta .btn { font-size: 0.8125rem; } }
.gate-page .nav .mode-toggle { margin-left: auto; }
.gate-head { margin-bottom: 26px; }
.gate-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; margin: 10px 0 8px; }
.gate-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .gate-grid { grid-template-columns: 1fr; } }
.gate-card h2 { font-size: var(--fs-lg, 1.25rem); margin: 0; }
.gate-msg { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: var(--fs-sm); border: 1px solid rgba(245,196,107,.45); background: rgba(245,196,107,.08); color: var(--text); }
.gate-msg.is-error { border-color: rgba(248,113,113,.5); background: rgba(248,113,113,.08); }
.gate-foot { padding: 22px 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .brand { gap: 6px; }
  .brand span { font-size: 0.8125rem; }
  .mode-toggle { padding: 2px; }
  .mode-seg { padding: 6px 7px; }
  .nav-links .nav-cta .btn { padding: 0 9px; font-size: 0.78rem; }
}
@media (max-width: 960px) { .nav-links li.nav-sec { display: none; } .nav-links { gap: 18px; } }
@media (max-width: 370px) { .nav-links .nav-cta .btn { padding: 0 7px; } .mode-seg { padding: 6px 6px; } }
@media (max-width: 340px) { .brand span { display: none; } }

/* ---- 2026-10-10 (c): video row moved up to directly below the hero (home) ---- */
.hero-compact { padding: clamp(28px, 4vw, 52px) 0 clamp(12px, 1.6vw, 20px); }
#levels.section-after-hero { padding-top: clamp(28px, 3vw, 40px); }
#levels.section-after-hero .section-head { max-width: 960px; margin-bottom: clamp(26px, 3vw, 34px); }

/* ---- 2026-10-10 (d): formal citations (the only place the paper's year appears) are small and muted ---- */
.cite { font-size: var(--fs-sm); color: var(--muted); }
.doc .refs li { font-size: var(--fs-sm); color: var(--muted); }

/* ===== Investor overview page (gated) ===== */
.investor .ihero { padding: clamp(28px, 4vw, 52px) 0 clamp(16px, 2vw, 28px); }
.ihero-grid { display: grid; gap: clamp(22px, 3vw, 40px); align-items: center; }
@media (min-width: 1000px) { .ihero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.ihero-copy h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-top: 14px; }
.ihero-lead { margin-top: 14px; color: var(--muted); font-size: var(--fs-md); }
.ihero-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.ihero-video { margin: 0; overflow: hidden; }
.ihero-video .level-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.ihero-video figcaption { padding: 10px 14px 12px; }
.ivsrc > summary, .imini > summary { cursor: pointer; color: var(--muted); font-size: var(--fs-xs); }
.ivsrc > p, .imini > p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); }
.investor .isec { padding: clamp(14px, 2vw, 24px) 0; }
.investor #gallery { padding-top: clamp(36px, 5vw, 64px); }
.icards { display: grid; gap: 16px; align-items: start; }
@media (min-width: 640px) { .icards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .icards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icard { padding: 0; }
.icard > summary { list-style: none; cursor: pointer; display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--radius); }
.icard > summary::-webkit-details-marker { display: none; }
.icard > summary:hover { background: rgba(255,255,255,0.02); }
.icard > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icard-k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.icard-k .tag { text-transform: none; letter-spacing: 0; }
.icard-sum { color: var(--text); font-size: var(--fs-base); line-height: 1.5; }
.icard-more { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.icard-more .m-open::after { content: " +"; } .icard-more .m-close::after { content: " −"; }
.icard-more .m-close, .icard[open] .icard-more .m-open { display: none; }
.icard[open] .icard-more .m-close { display: inline; }
.icard[open] { border-color: var(--accent-line); }
.icard-body { padding: 0 20px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.icard-list, .iroad { margin-top: 14px; padding-left: 20px; display: grid; gap: 8px; }
.icard-body strong { color: var(--text); }
.icard-note { margin-top: 12px; }
.icard-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.icard-links .btn { padding: 8px 14px; font-size: var(--fs-sm); }
.itable { width: 100%; margin-top: 14px; border-collapse: collapse; }
.itable th, .itable td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.itable td { text-align: right; color: var(--text); font-weight: 600; white-space: nowrap; padding-left: 10px; }
.est { display: inline-block; font-size: 11px; font-weight: 700; color: #F5C46B; border: 1px solid rgba(245,196,107,0.45); border-radius: 999px; padding: 0 6px; margin-left: 4px; }
.isrc-h { margin-top: 14px; font-size: var(--fs-xs); font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; }
.isrc { margin-top: 6px; padding-left: 18px; display: grid; gap: 4px; font-size: var(--fs-xs); color: var(--muted); overflow-wrap: anywhere; }
.isrc a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); }
.isrc a:hover { color: var(--accent); }
.istrip { display: grid; gap: 16px; align-items: start; }
@media (min-width: 860px) { .istrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ibox { padding: 18px 20px; display: grid; gap: 8px; }
.ibig { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.ibig span { font-size: var(--fs-sm); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ibig-s { font-size: var(--fs-md); }
.ibox-p { color: var(--muted); font-size: var(--fs-sm); }
.ibar { height: 8px; border-radius: 999px; background: rgba(168,179,199,0.14); overflow: hidden; }
.ibar i { display: block; height: 100%; width: max(0.68%, 4px); background: var(--accent); border-radius: 999px; }
.icontact { padding: clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.icontact h2 { font-size: var(--fs-lg); }
.icontact p { color: var(--muted); margin-top: 6px; }
.icontact .btn { margin-top: 0; overflow-wrap: anywhere; }

/* ===== Free vs Pro modal (plans.js; draft) — prefixed pm- (".plans"/".plan" belong to the Founder Pass section) ===== */
html.pm-open { overflow: hidden; }
dialog.pm { padding: 0; border: 0; background: transparent; color: var(--text); width: min(760px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; overflow: visible; }
dialog.pm::backdrop { background: rgba(4,8,16,0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pm-box { position: relative; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3.4vw, 32px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
dialog.pm.pm-anim[open] .pm-box { animation: pm-in .22s cubic-bezier(.2,.7,.2,1); }
dialog.pm.pm-anim[open]::backdrop { animation: pm-fade .22s ease-out; }
@keyframes pm-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pm-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.pm .pm-box, dialog.pm::backdrop { animation: none !important; } }
.pm-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.pm-x:hover { border-color: var(--accent-line); }
.pm-x:focus-visible, dialog.pm .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pm-title { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.02em; padding-right: 44px; }
.pm-grid { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 640px) { .pm-grid { grid-template-columns: 1fr 1fr; } }
.pm-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: rgba(11,18,32,0.4); }
.pm-card h3 { font-size: var(--fs-md); display: flex; align-items: baseline; gap: 6px 8px; flex-wrap: wrap; }
.pm-sep, .pm-price { color: var(--muted); }
.pm-price { font-weight: 700; font-size: var(--fs-sm); }
.pm-pro .pm-price { color: var(--accent); }
.pm-sub { margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); }
.pm-pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-line), 0 0 28px -4px var(--accent-line), 0 0 60px -20px var(--accent); background: linear-gradient(180deg, var(--accent-soft), rgba(11,18,32,0.4) 60%); }
.pm-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.pm-list li { display: flex; gap: 8px; align-items: flex-start; }
.pm-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }
.pm-pro .pm-list { color: var(--text); }
.pm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }
@media (max-width: 480px) { .pm-actions { flex-direction: column-reverse; } .pm-actions .btn { width: 100%; justify-content: center; } }
.pm-foot { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); text-align: right; }
@media (max-width: 480px) { .pm-foot { text-align: center; } }
.pm-pricelink a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.pm-pricelink a:hover { color: var(--accent); }
.doc dd p + p { margin-top: 8px; }

/* "Free vs Pro" price link (2026-10-10h): small link centred under the two price cards (right column; stacked: under the prices). */
.pm-pricelink { text-align: center; font-size: var(--fs-xs); margin: -4px 0 0; }

/* ===== 2026-10-16 pricing polish: planned note, pop-up, post-launch cards ===== */
.fp-planned { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-color: var(--line-strong); background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--shadow), 0 0 0 1px rgba(20,184,166,0.04); }
.fp-planned-copy h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); letter-spacing: -0.02em; line-height: 1.12; margin: 12px 0 14px; }
.fp-when { display: block; color: var(--muted); font-weight: 500; font-size: 0.62em; letter-spacing: -0.01em; margin-top: 6px; }
.fp-planned-copy p { color: var(--muted); line-height: 1.7; max-width: 56ch; margin: 0 0 24px; }
.fp-cta { border-color: var(--accent-line); }
.fp-cta:hover, .fp-cta:focus-visible { background: var(--accent-soft); border-color: var(--accent); }
.fp-planned-prices { margin: 0; display: grid; gap: 12px; }
.fp-price { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(11,18,32,0.45); }
.fp-price dt { color: var(--muted); font-size: var(--fs-sm); letter-spacing: 0.02em; }
.fp-price dd { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.fp-price .cur { font-size: 0.55em; color: var(--muted); margin-right: 3px; vertical-align: 0.5em; font-weight: 500; }
.fp-price .per { font-size: 0.55em; color: var(--muted); margin-left: 3px; font-weight: 500; }
.fp-status, .pm-status { margin: 4px 0 0; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.fp-dot { width: 7px; height: 7px; border-radius: 50%; background: #E5B567; box-shadow: 0 0 0 3px rgba(229,181,103,0.15); flex: none; }
.pm-planned .pm-box { max-width: 520px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.75), 0 1px 0 rgba(255,255,255,0.05) inset; }
.pm-planned .pm-status { margin: 0 0 12px; }
.pm-planned .pm-title { letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.pm-planned .pm-note { color: var(--muted); line-height: 1.7; margin: 0 0 22px; }
.pm-planned .pm-foot { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
/* post-launch cards (template) */
#founder-pass .pricing { box-shadow: var(--shadow); border-color: var(--line-strong); }
#founder-pass .plan { box-shadow: 0 12px 30px -20px rgba(0,0,0,0.7); }
#founder-pass .plan.featured { box-shadow: 0 0 0 1px var(--accent-line), 0 18px 40px -22px rgba(20,184,166,0.35); }
@media (max-width: 760px) { .fp-planned { grid-template-columns: 1fr; } }

/* ===== 2026-10-16 engagement polish (decorative art, hover/focus, live vs coming-soon) ===== */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; z-index: -1; pointer-events: none; top: 50%; left: -6%; width: min(72vw, 900px); height: auto; transform: translateY(-50%); opacity: .6; }
@media (max-width: 760px) { .hero-art { width: 140vw; left: -30%; top: 22%; opacity: .25; } }
.feature-art { display: block; width: 120px; height: auto; margin: 0 0 14px; opacity: .9; }
.tcard .feature-art { width: 110px; margin: 6px 0 10px; }
/* Live vs intentional coming-soon */
.tag.teal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(20,184,166,.18); }
.feature.soon, .vcard-soon, .tcard-soon { border-style: dashed; border-color: rgba(245,196,107,0.28); }
/* Cards and CTAs: subtle lift + clear focus */
.feature, .vcard, .tcard, .plan, .fp-planned { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.feature:hover, .vcard:hover, .tcard:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow), 0 16px 34px -24px rgba(0,0,0,.8); }
.feature.soon:hover, .vcard-soon:hover, .tcard-soon:hover { border-color: rgba(245,196,107,0.45); }
.btn { transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 10px 24px -14px rgba(20,184,166,.7); }
.btn:focus-visible, a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-tester:focus-within { border-color: var(--accent-line); box-shadow: var(--shadow), 0 0 0 4px rgba(20,184,166,.10); }
.section-head h2 { letter-spacing: -0.02em; }
@media (prefers-reduced-motion: reduce) {
  .feature, .vcard, .tcard, .plan, .fp-planned, .btn { transition: none; }
  .feature:hover, .vcard:hover, .tcard:hover, .btn:hover { transform: none; }
}

/* ===== 2026-10-16 light/dark theme (data-theme on <html>, set by theme-init.js) ===== */
:root, [data-theme="dark"] { color-scheme: dark; --field-bg: #0E1626; --field-text: #F5F7FA; --field-ph: #94A3B8; --field-caret: #F5F7FA; --field-line: rgba(168,179,199,0.24); --amber: #F5C46B; --amber-line: rgba(245,196,107,0.45); --amber-soft: rgba(245,196,107,0.08); --inset: rgba(11,18,32,0.5); --ghost: rgba(255,255,255,0.03); --on-accent: #04211E; }
[data-theme="light"] {
  color-scheme: light;
  --field-bg: #FFFFFF; --field-text: #0B1220; --field-ph: #5B6779; --field-caret: #0B1220; --field-line: rgba(15,23,42,0.28);
  --bg: #F6F8FB; --card: #FFFFFF; --card-2: #F1F4F8;
  --line: rgba(15,23,42,0.10); --line-strong: rgba(15,23,42,0.18);
  --text: #0B1220; --muted: #475569;
  --accent: #0F766E; --accent-soft: rgba(15,118,110,0.10); --accent-line: rgba(15,118,110,0.38);
  --shadow: 0 1px 2px rgba(15,23,42,0.06), 0 18px 40px -26px rgba(15,23,42,0.28);
  --amber: #8A5A00; --amber-line: rgba(138,90,0,0.40); --amber-soft: rgba(229,181,103,0.16); --inset: #F3F6FA; --ghost: rgba(15,23,42,0.03); --on-accent: #FFFFFF;
}
.theme-ready body, .theme-ready .card, .theme-ready .site-header, .theme-ready .btn, .theme-ready .tag { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
@media (prefers-reduced-motion: reduce) { .theme-ready body, .theme-ready .card, .theme-ready .site-header, .theme-ready .btn, .theme-ready .tag { transition: none; } }
.theme-toggle { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ghost); color: var(--text); cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent-line); color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-theme="dark"] .tt-moon, [data-theme="light"] .tt-sun { display: none; }
/* light-mode overrides for hard-coded dark surfaces */
[data-theme="light"] .site-header { background: rgba(246,248,251,0.86) !important; }
[data-theme="light"] .btn-primary, [data-theme="light"] .skip, [data-theme="light"] .nav-links a.btn-primary, [data-theme="light"] .mode-seg[aria-current] { color: var(--on-accent); }
[data-theme="light"] .btn-primary { box-shadow: 0 8px 22px -12px rgba(15,118,110,0.6); }
[data-theme="light"] .btn-ghost, [data-theme="light"] .chip, [data-theme="light"] .pm-x, [data-theme="light"] .mode-toggle { background: var(--ghost); }
[data-theme="light"] .paste-box, [data-theme="light"] .upgrade-list li, [data-theme="light"] .sample-notes, [data-theme="light"] .pricing-note-inner, [data-theme="light"] .plans, [data-theme="light"] .side-note, [data-theme="light"] .verdict, [data-theme="light"] .doc .callout, [data-theme="light"] .pm-card, [data-theme="light"] .fp-price, [data-theme="light"] .mock-row, [data-theme="light"] .mock-tasks li { background: var(--inset); }
[data-theme="light"] .feature.soon, [data-theme="light"] .vcard-soon, [data-theme="light"] .ncard, [data-theme="light"] .tquote, [data-theme="light"] .vquote { background: var(--card-2); }
[data-theme="light"] .tag.soon-tag, [data-theme="light"] .badge-soon, [data-theme="light"] .est, [data-theme="light"] .tmock-label { color: var(--amber); border-color: var(--amber-line); background: var(--amber-soft); }
[data-theme="light"] .tmock { border-color: var(--amber-line); background: var(--card-2); }
[data-theme="light"] .tcard-soon::before { background: linear-gradient(90deg, #C98A1B, transparent 80%); }
[data-theme="light"] .feature.soon, [data-theme="light"] .vcard-soon, [data-theme="light"] .tcard-soon { border-color: var(--amber-line); }
[data-theme="light"] .mock-bar i, [data-theme="light"] .mock-timer .trk { background: rgba(15,23,42,0.08); stroke: rgba(15,23,42,0.10); }
[data-theme="light"] .fp-planned { background: linear-gradient(180deg, #FFFFFF, #F4F7FA); }
[data-theme="light"] .fp-dot { background: #C98A1B; }
[data-theme="light"] .pm-pro { background: var(--card); }
[data-theme="light"] dialog.pm::backdrop { background: rgba(15,23,42,0.45); }
[data-theme="light"] .hero-art { opacity: .8; }
[data-theme="light"] .feature-art { filter: saturate(1.2) brightness(.8); }
[data-theme="light"] .tag { background: var(--ghost); }
[data-theme="light"] .tag.teal { background: var(--accent-soft); }

/* ===== 2026-10-16 visual pass: dimension tiles, icons ===== */
.dim-tiles { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 14px; padding: 0; }
.dim-tile { display: grid; gap: 6px; justify-items: start; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow); }
.dim-tile strong { font-size: var(--fs-base); color: var(--text); }
.dim-tile > span:not(.info-pop) { font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.dim-ico, .stu-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.stu-ico { margin-bottom: 12px; }
.feature.soon .stu-ico { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-line); }
.dim-note { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 28px; }
.fp-cal { display: inline-grid; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 900px) { .dim-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .dim-tiles { grid-template-columns: 1fr 1fr; } .dim-tile { padding: 14px 12px; } }

/* ===== 2026-10-16 bolder hero ===== */
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 4.6rem); line-height: 1.02; }
.hero .lead { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); color: var(--text); font-weight: 500; }
.hero-art { left: 50% !important; top: 50% !important; width: max(1400px, 120vw) !important; transform: translate(-50%, -50%) !important; opacity: .55 !important; }
[data-theme="light"] .hero-art { opacity: .7 !important; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 20% 30%, var(--accent-soft), transparent 70%), radial-gradient(50% 60% at 85% 70%, rgba(229,181,103,0.10), transparent 70%); }
.hero-flow { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-flow li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow); }
.hero-flow li svg { color: var(--accent); flex: none; }
.hero-flow small { color: var(--muted); font-weight: 500; }
.hero-cta [data-try-now] { font-size: 1.0625rem; padding: 16px 26px; box-shadow: 0 14px 34px -14px rgba(20,184,166,.85); }
.hero-cta [data-try-now]:hover { box-shadow: 0 18px 40px -14px rgba(20,184,166,1); }
@media (max-width: 760px) { .hero-art { width: 260vw !important; top: 30% !important; opacity: .4 !important; } .hero-flow li { flex: 1 1 100%; } }
/* toggle polish */
.theme-toggle { width: 42px; height: 42px; transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease; }
.theme-toggle:hover { background: var(--accent-soft); transform: rotate(-12deg); }
.theme-toggle svg { transition: transform .35s ease; }
.theme-toggle:active svg { transform: scale(.85); }
@media (prefers-reduced-motion: reduce) { .theme-toggle, .theme-toggle svg { transition: none; } .theme-toggle:hover { transform: none; } }

/* ===== 2026-10-16 tappable icon explanations ===== */
.info-btn { cursor: pointer; font: inherit; padding: 0; position: relative; }
.flow-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--accent-soft); color: var(--accent); }
.hero-flow li { position: relative; }
.fp-cal { border: 0; background: transparent; border-radius: 12px; }
.dim-tile, .feature, .fp-planned-copy { position: relative; }
.info-pop { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--card-2); color: var(--text); font-size: var(--fs-sm); line-height: 1.5; box-shadow: var(--shadow); font-weight: 400; }
.hero-flow .info-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 5; width: min(300px, 80vw); margin: 0; }
.info-pop[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .info-pop:not([hidden]) { animation: tipin .18s ease both; } }
@keyframes tipin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .hero-flow li { flex-wrap: wrap; border-radius: 16px; } .hero-flow .info-pop { position: static; width: 100%; flex-basis: 100%; margin-top: 4px; } }
.hero-flow li > span:not(.info-pop) { flex: 1 1 auto; min-width: 0; }

/* ===== 2026-10-17 per-turn highlights v1 ===== */
.sig-human { --sig: var(--accent); } .sig-mixed { --sig: var(--amber); } .sig-machine { --sig: #E5717A; }
[data-theme="light"] .sig-machine { --sig: #B42335; }
.sig-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 12px; font-size: var(--fs-xs); color: var(--muted); }
.sig-key { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; }
.sig-note { flex-basis: 100%; }
.sig-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sig) 22%, transparent); flex: none; }
.msg.sig { border-left: 3px solid var(--sig); padding-left: 12px; }
.sig-btn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; padding: 6px 10px; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--ghost); color: var(--text); font: inherit; font-size: var(--fs-xs); cursor: pointer; }
.sig-btn:hover { border-color: var(--sig); }
.sig-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sig-lv { font-weight: 700; color: var(--text); }
.sig-why { color: var(--muted); }
.sig-btn::after { content: "▾"; margin-left: auto; color: var(--muted); }
.sig-btn[aria-expanded="true"]::after { content: "▴"; }
.sig-detail { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--inset); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text); }
.sig-detail[hidden] { display: none; }
.sig-dims { font-weight: 600; margin: 0 0 4px; }
.sig-list { margin: 0 0 6px; padding-left: 16px; color: var(--muted); }
.sig-honest { margin: 0; color: var(--muted); font-style: italic; }
@media (prefers-reduced-motion: no-preference) { .sig-detail:not([hidden]) { animation: tipin .18s ease both; } }
.msg .sig-detail { text-align: left; }
.msg .sig-detail p { padding: 0; background: none; border: 0; border-radius: 0; font-size: inherit; line-height: 1.45; }
.msg .sig-detail .sig-dims { margin-bottom: 4px; }
.sig-list { list-style: none; padding-left: 0; }

/* ===== 2026-10-17 whole-card tap targets (no "i" badge) ===== */
.tap-card { cursor: pointer; }
.tap-card:hover { border-color: var(--accent-line); }
@media (prefers-reduced-motion: no-preference) { .tap-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; } .tap-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); } .hero-flow .tap-card:hover, .fp-planned-copy.tap-card:hover { transform: none; box-shadow: none; } }
.tap-card:focus-within { border-color: var(--accent-line); }
.info-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tap-hint { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.tap-hint::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.tap-card.is-open .tap-hint::after { transform: rotate(-135deg) translateY(-1px); }
.hero-flow .tap-hint { margin: 0 0 0 auto; padding-left: 4px; }
.fp-planned-copy .tap-hint { display: flex; }
.hero-flow .tap-hint { display: none; } /* 2026-10-17: chevron made hero chips wrap and pushed "Try it now" below the fold at 1280x800 */
/* 2026-10-17 AI judge vs preview fallback labels */
#r-engine.eng-ai { color: var(--accent); border-color: var(--accent-line); font-weight: 700; }
#r-engine.eng-fallback { color: var(--amber); border-color: var(--amber-line); }

/* ===== 2026-10-17 "Live today" block (replaces the roadmap cards) ===== */
.live-today { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lt-card { display: flex; flex-direction: column; gap: 10px; border-color: var(--accent-line); }
.lt-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.lt-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
.lt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .lt-dot { animation: ltpulse 2.4s ease-in-out infinite; } }
@keyframes ltpulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lt-card h3 { margin: 2px 0 0; }
.lt-card p { margin: 0; color: var(--muted); }
.lt-link { margin-top: auto; padding-top: 4px; font-weight: 600; color: var(--accent); text-decoration: none; }
.lt-link:hover { text-decoration: underline; }
.lt-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.lt-planned { margin: 18px 0 0; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* ===== Investor pitch v2 (2026-10-17 23:xx): visual-first sections, sourced stat tiles, comparison table, path, live tiles ===== */
.ihero-shot { margin: 0; overflow: hidden; padding: 0; }
.ihero-shot img { display: block; width: 100%; height: auto; }
.ihero-shot figcaption { padding: 10px 14px 12px; color: var(--muted); font-size: var(--fs-xs); border-top: 1px solid var(--line); }
.investor .ipitch { padding: clamp(18px, 2.6vw, 32px) 0; }
.ipitch-head { max-width: 760px; display: grid; gap: 8px; margin-bottom: 16px; }
.ipitch-head h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2; }
.ipitch-lead { color: var(--muted); font-size: var(--fs-base); }
.ipitch-note { margin-top: 12px; color: var(--muted); font-size: var(--fs-sm); max-width: 820px; }
.ipitch-note strong { color: var(--text); }
.isec-src { margin-top: 10px; }
.istats { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.istat { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.istat-n { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.istat-l { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
.istat-y { justify-self: start; margin-top: 4px; font-size: var(--fs-xs); font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.istat.is-hl { border-color: var(--accent-line); background: var(--accent-soft); }
.istat.is-hl .istat-n { color: var(--accent); }
.icomp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.icomp-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icomp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--fs-sm); }
.icomp th, .icomp td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.icomp thead th { color: var(--text); font-weight: 700; font-size: var(--fs-xs); }
.icomp thead th small { font-weight: 500; color: var(--muted); }
.icomp tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.icomp .is-us { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.icomp thead .is-us { color: var(--accent); }
.icomp tr:last-child th, .icomp tr:last-child td { border-bottom: 0; }
.ic { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; font-size: 12px; font-weight: 800; margin-right: 4px; vertical-align: -4px; }
.ic-y { background: var(--accent-soft); color: var(--accent); }
.ic-h { background: var(--amber-soft, rgba(245,196,107,.08)); color: var(--amber, #F5C46B); }
.ic-n { background: rgba(248,113,113,.12); color: #F87171; }
[data-theme="light"] .ic-n { color: #B91C1C; background: rgba(185,28,28,.08); }
.ipath { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); counter-reset: ip; }
.ipath-step { padding: 16px 18px; display: grid; gap: 6px; align-content: start; position: relative; }
.ipath-y { font-weight: 800; font-size: var(--fs-md); color: var(--accent); }
.ipath-step p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.ipath-step .ipath-g { color: var(--text); font-size: var(--fs-xs); border-top: 1px dashed var(--line-strong); padding-top: 6px; }
.ilive { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ilive-t { padding: 16px 18px 16px 40px; position: relative; display: grid; gap: 4px; align-content: start; }
.ilive-dot { position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 999px; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.ilive-t h3 { font-size: var(--fs-base); }
.ilive-t h3 a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.ilive-t h3 a:hover { color: var(--accent); }
.ilive-t p { color: var(--muted); font-size: var(--fs-sm); }
.ipitch-muted .ipitch-head h2 { font-size: var(--fs-md); color: var(--muted); }
.ichips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ichips li { border: 1px dashed var(--line-strong); border-radius: 999px; padding: 6px 12px; font-size: var(--fs-sm); color: var(--muted); }
.ichips li span { margin-left: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); opacity: .85; }
.iprice { margin-top: 14px; padding: 14px 18px; max-width: 760px; }
.iprice > summary { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.iprice[open] > summary { color: var(--text); }
.iprice > p { color: var(--muted); }
.iprice .icard-list { color: var(--muted); font-size: var(--fs-sm); }
.iprice strong { color: var(--text); }

/* Credit protection (17 Oct 2026): AI judge unlock line under the tester + waitlist note */
.judge-status { margin: 2px 0 10px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.judge-status a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.judge-status.on #judge-line { color: var(--text); }
.form-note { margin: 4px 0 12px; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.ts-box { margin: 4px 0 12px; min-height: 65px; }

/* ===== Acronym footnotes (research-report style, 2026-10-26) ===== */
sup.fn { font-size: max(.68em, 11px); line-height: 0; vertical-align: super; margin-left: 1px; letter-spacing: 0; text-transform: none; font-weight: 600; white-space: nowrap; }
sup.fn a { color: var(--accent); text-decoration: none; padding: 0 1px; }
sup.fn a:hover, sup.fn a:focus-visible { text-decoration: underline; }
.page-notes { position: relative; z-index: 1; padding: 8px 0 28px; }
.page-notes-h { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin: 0 0 6px; letter-spacing: .02em; }
.page-notes-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); line-height: 1.6; overflow-wrap: anywhere; }
.page-notes-list li { margin: 0 0 2px; scroll-margin-top: 96px; }
.page-notes-list .pn-m { color: var(--text); font-weight: 600; }
.page-notes-list .pn-back { color: var(--accent); text-decoration: none; margin-left: 2px; }
