@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
:root {
  --ink: #111214;
  --muted: #6b6f76;
  --red: #e5252c;
  --red-dark: #9a1c21;
  --paper: #ffffff;
  --sand: #f5f5f7;
  --line: #e6e6e9;
  --ok: #1d7448;
  --warn: #9a5b00;
  --radius: 10px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--fg); background: var(--paper); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 620px; }
.pad { padding-block: clamp(56px, 9vw, 112px); }
.pad-s { padding-block: clamp(32px, 5vw, 56px) 80px; }
.center { text-align: center; }
.center .btn { margin-top: 24px; }

h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }
.h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
.h4 { font-size: 1rem; font-weight: 600; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; margin-top: 14px; }
.eyebrow, .label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.label { color: var(--muted); letter-spacing: 0.1em; }
.eyebrow { margin-bottom: 14px; }
.eyebrow a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.eyebrow.light { color: #ff8a8f; }
.fine { font-size: 0.82rem; color: var(--muted); }
.meta { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid var(--fg); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--fg); }
.btn.light { background: #fff; color: var(--fg); border-color: #fff; }
.btn.light:hover { background: var(--ink); color: #fff; border-color: var(--fg); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.86rem; }
.link { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 0.86rem; }
.link-btn:hover { color: var(--red); }

/* header and footer */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; text-decoration: none; }
.mark { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--fg); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--red); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-size: 0.92rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { border-bottom-color: var(--red); }
.menu { display: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--fg); border-radius: 999px; background: none; font-weight: 600; cursor: pointer; }
.foot { background: var(--ink); color: #d9d6d0; padding: 56px 0 32px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot .mark { border-color: #fff; }
.foot p { max-width: 44ch; font-size: 0.92rem; }
.foot nav { display: grid; gap: 8px; justify-items: start; font-size: 0.92rem; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot .fine { grid-column: 1 / -1; color: #a29e97; border-top: 1px solid #2a4a41; padding-top: 20px; max-width: none; }

/* home */
.hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero .lead { font-size: 1.15rem; margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.88rem; color: var(--muted); }
.ticks li { padding-left: 18px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.clock { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px -30px rgba(17, 18, 20, 0.35); }
.clock-head { display: flex; justify-content: space-between; align-items: baseline; }
.clock-min { font-weight: 600; font-size: 1.3rem; }
.clock input[type="range"] { width: 100%; margin: 16px 0 18px; accent-color: var(--red); height: 28px; }
.clock-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; }
.clock-bar span { background: var(--ink); transition: flex-grow 0.25s ease; }
.clock-bar span:nth-child(2), .clock-bar span:nth-child(3), .clock-bar span:nth-child(5) { background: var(--red); }
.clock-bar span:last-child { background: var(--ok); }
.clock-list { margin: 18px 0 14px; display: grid; gap: 2px; }
.clock-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.clock-list li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

.band { background: var(--sand); padding-block: clamp(48px, 7vw, 88px); border-block: 1px solid var(--line); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.three p { color: var(--muted); margin-top: 10px; }
.num { font-size: 0.9rem; font-weight: 600; color: var(--red) !important; margin: 0 0 14px !important; padding-top: 14px; border-top: 3px solid var(--fg); width: 56px; }
.split-head { margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.steps li { padding: 32px 28px 36px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; background: var(--ink); color: #fff; }
.steps li:last-child p { color: #cfcbc4; }
.steps p { color: var(--muted); margin-top: 10px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 600; margin-bottom: 22px; }

.tryout { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 104px); }
.tryout .lead { color: #cfcbc4; }
.try-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.chips { display: grid; gap: 8px; margin-top: 26px; justify-items: start; }
.chips button { text-align: left; background: none; border: 1px solid #3d6257; color: #e9e6e0; border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; cursor: pointer; }
.chips button:hover { border-color: #fff; }
.try-card { background: #fff; color: var(--fg); border-radius: 18px; padding: 26px; display: grid; gap: 12px; }
.try-card label { font-weight: 600; font-size: 0.9rem; }
.try-card .btn { justify-self: start; }
.try-out { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; font-size: 0.94rem; }
.try-out .rewrite { margin-top: 4px; }

.check-demo { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.phone { width: min(100%, 320px); margin-inline: auto; background: var(--ink); border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(17, 18, 20, 0.5); }
.phone-top { color: #fff; font-size: 0.8rem; font-weight: 600; padding: 12px 14px; display: flex; justify-content: space-between; }
.phone-top span { color: #ff8a8f; letter-spacing: 0.1em; }
.bubbles { background: var(--sand); border-radius: 24px; padding: 16px 12px; display: grid; gap: 8px; }
.b { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 0.84rem; line-height: 1.45; }
.b.in { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.b.out { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.facts { margin-top: 28px; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--muted); }

.cards .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; border-top: 4px solid var(--fg); }
.cards .card:last-child { border-top-color: var(--red); }
.principles { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.principles li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.principles li strong { color: var(--fg); }
.cta { background: var(--red); color: #fff; padding-block: clamp(48px, 7vw, 80px); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* app pages */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 3px solid var(--fg); }
.samples, .tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.samples .label { width: 100%; }
.error { background: #fdecec; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 6px; margin: 16px 0; font-weight: 500; }
.empty { color: var(--muted); padding: 24px; background: var(--sand); border-radius: var(--radius); }

.form { display: grid; gap: 28px; max-width: 860px; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 8px 24px 24px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
legend { font-weight: 600; padding: 0 8px; font-size: 1.02rem; }
.field { display: grid; gap: 6px; align-content: start; }
.field.wide { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 0.82rem; color: var(--muted); }
input:not([type="checkbox"]):not([type="range"]), select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #c9c9cf; border-radius: 8px; background: #fff; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--fg); }
.checks { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 500; min-height: 32px; }
.checks input { width: 20px; height: 20px; accent-color: var(--red); }
.form-end { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.join { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.join input { max-width: 180px; text-align: center; font-size: 1.4rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tabs a { padding: 8px 16px; border-radius: 999px; background: var(--sand); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.tabs a:hover { background: var(--ink); color: #fff; }
.sec { margin: 44px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.objectives { counter-reset: o; display: grid; gap: 10px; }
.objectives li { counter-increment: o; position: relative; padding: 16px 18px 16px 62px; background: var(--sand); border-radius: var(--radius); }
.objectives li::before { content: counter(o); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; }
.tagline { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 8px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; background: #e6e6e9; white-space: nowrap; }
.tag.ok { background: #dff1e7; color: var(--ok); }
.tag.bad { background: #fbe0e1; color: var(--red-dark); }
.tag.warn { background: #fbecd2; color: var(--warn); }
.note { font-size: 0.84rem; color: var(--muted); }
.rewrite { margin-top: 8px; padding: 8px 12px; background: #fff; border-left: 3px solid var(--ok); border-radius: 4px; font-size: 0.92rem; }
.rewrite .label { margin-right: 6px; color: var(--ok); }

.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 640px; }
.table th { text-align: left; background: var(--ink); color: #fff; padding: 10px 14px; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table td p + p { margin-top: 6px; }
.table .blank { min-width: 90px; }
.metercell { min-width: 160px; }
.metercell span { font-weight: 600; font-size: 0.84rem; }

.lesson { margin-bottom: 32px; scroll-margin-top: 84px; }
.lesson-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.lesson-obj { margin-bottom: 12px; display: grid; gap: 4px; }
.lesson-obj li { padding-left: 18px; position: relative; color: var(--muted); font-size: 0.94rem; }
.lesson-obj li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--red); }
.result { margin-top: 12px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--fg); border-radius: var(--radius); display: grid; gap: 12px; }
.result-row { display: grid; grid-template-columns: 1fr 240px; gap: 16px; align-items: center; font-size: 0.9rem; }
.result-bar { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.84rem; }
.meter { width: 100%; height: 8px; border-radius: 999px; flex: 1; }
.meter-bg { fill: #e6e6e9; }
.meter-fg { fill: var(--fg); }
.danger { margin-top: 48px; }

.verdict { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--ink); color: #fff; border-radius: 14px; padding: 24px 28px; scroll-margin-top: 84px; }
.verdict .label { color: #cfcbc4; }
.verdict-text { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 600; }
.verdict-score { font-size: 1rem; white-space: nowrap; }
.verdict-score strong { font-size: 2.4rem; color: #ff8a8f; }
.criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 12px; }
.criterion { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; }
.criterion header { display: flex; justify-content: space-between; font-weight: 600; }
.criterion p { font-size: 0.86rem; color: var(--muted); }

.live { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.live-join { background: var(--ink); color: #fff; border-radius: 18px; padding: 26px; display: grid; gap: 12px; justify-items: start; position: sticky; top: 88px; }
.live-join .label, .live-join .fine { color: #cfcbc4; }
.live-join .btn { border-color: #fff; background: #fff; color: var(--fg); }
.live-join .btn.ghost { background: transparent; color: #fff; }
.code { font-size: 3.2rem; font-weight: 600; letter-spacing: 0.14em; line-height: 1; }
.join-url { font-size: 0.82rem; word-break: break-all; color: #ff8a8f; }
.live-results { border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.live-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.count strong { font-size: 1.8rem; }
.live-row { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.stack { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #e6e6e9; }
.stack span { width: 0; transition: width 0.4s ease; }
.s2 { background: var(--ok); }
.s1 { background: #d79a2b; }
.s0 { background: var(--red); }
.stack-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.84rem; color: var(--muted); align-items: center; }
.stack-key b { color: var(--fg); }
.live-results .h4 { margin-top: 22px; }
.unclear { margin: 10px 0 16px; display: grid; gap: 6px; }
.unclear li { padding: 8px 12px; background: var(--sand); border-radius: 8px; font-size: 0.9rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stats div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stat { font-size: 2.4rem; font-weight: 600; line-height: 1.1; }
.revisit { display: grid; gap: 8px; }
.revisit li { display: grid; grid-template-columns: 240px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); font-size: 0.9rem; }
.revisit a { font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.plans a { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; height: 100%; }
.plans a:hover { border-color: var(--fg); }
.plans span { font-size: 0.84rem; color: var(--muted); }

/* learner chat */
.bare { background: var(--sand); }
.chat { max-width: 520px; margin-inline: auto; min-height: 100dvh; display: flex; flex-direction: column; background: var(--sand); }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--ink); color: #fff; position: sticky; top: 0; }
.chat-head .mark { border-color: #fff; }
.chat-title { font-weight: 600; line-height: 1.2; }
.chat-sub { font-size: 0.78rem; color: #cfcbc4; }
.chat-log { flex: 1; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-log .b { font-size: 0.98rem; animation: rise 0.25s ease both; }
.chat-log .b.out { align-self: flex-end; }
.chat-log .b.in { align-self: flex-start; }
.chat-input { position: sticky; bottom: 0; padding: 12px 14px 18px; background: #fff; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.chat-input:empty { display: none; }
.choice { min-height: 52px; border: 2px solid var(--fg); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; }
.choice:hover, .choice:focus-visible { background: var(--ink); color: #fff; }
.chat-row { display: flex; gap: 8px; }
.chat-row input { flex: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-in, .try-in, .check-demo, .principles, .live, .foot-in { grid-template-columns: 1fr; }
  .three, .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .live-join { position: static; }
  .result-row, .revisit li { grid-template-columns: 1fr; gap: 8px; }
  .menu { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 520px) {
  .join { flex-direction: column; align-items: center; }
  .verdict { flex-direction: column; align-items: flex-start; }
  fieldset { padding: 8px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .foot, .no-print { display: none !important; }
  body { font-size: 11pt; }
  .wrap { width: 100%; }
  .pad-s { padding: 0; }
  .scroll { overflow: visible; border: 0; }
  .table { min-width: 0; font-size: 9.5pt; }
  .table th { background: #ddd; color: #000; }
  .lesson, .objectives li { break-inside: avoid; }
  .blank { height: 28pt; }
}

/* home: demo board, tour, review score; companion page */
:root { --glow: #e5252c; }
.btn.accent { background: var(--red); border-color: var(--red); }
.btn.accent:hover { background: var(--ink); border-color: var(--fg); }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rv.in { opacity: 1; transform: none; }
.under { position: relative; white-space: nowrap; color: var(--red); }
.under svg { position: absolute; left: 0; right: 0; bottom: -0.16em; width: 100%; height: 0.22em; overflow: visible; }
.under path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s 0.5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero h1 { font-size: clamp(2.2rem, 4.9vw, 3.7rem); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; background: rgba(255, 255, 255, 0.1); color: var(--chalk); }
.pill.dark { background: var(--ink); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.7); } }

.board { background: var(--ink); color: var(--chalk); border-radius: 20px; padding: 26px 28px 22px; border: 10px solid #7a5a3c; box-shadow: 0 30px 70px -34px rgba(17, 18, 20, 0.7), inset 0 0 60px rgba(0, 0, 0, 0.25); }
.board-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #b9c8c1; }
.board-label { margin-top: 22px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glow); }
.chalk { min-height: 4.2em; margin-top: 8px; font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 600; line-height: 1.35; }
.chalk::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.12em; background: var(--chalk); animation: pulse 1s steps(2) infinite; }
.board-q { margin-top: 14px; padding-top: 16px; border-top: 1px dashed rgba(244, 239, 226, 0.25); font-size: 0.9rem; color: #b9c8c1; }
.board-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 18px; }
.board-btns button { min-height: 46px; border-radius: 10px; border: 1.5px solid rgba(244, 239, 226, 0.5); background: transparent; color: var(--chalk); font-weight: 600; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.board-btns button:hover { background: rgba(244, 239, 226, 0.12); }
.board-btns button.hit { background: var(--glow); color: var(--fg); transform: scale(0.96); }
.board-bars { display: grid; gap: 9px; }
.board-bars > div, .score-rows > div { display: grid; grid-template-columns: 70px 1fr 34px; gap: 12px; align-items: center; font-size: 0.82rem; }
.board-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.track { height: 10px; border-radius: 999px; background: rgba(244, 239, 226, 0.14); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--chalk); transition: width 0.5s ease; }
.board-bars div:first-child .track i { background: var(--glow); }
.board-note { margin-top: 16px; font-size: 0.76rem; color: #9fb3aa; }
.board-note b { color: var(--chalk); }

.tour-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tour-tabs { display: grid; gap: 10px; }
.tour-tabs button { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; row-gap: 2px; text-align: left; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tour-tabs .tn { grid-row: span 2; font-weight: 600; color: var(--red); font-size: 0.9rem; padding-top: 3px; }
.tour-tabs strong { font-size: 1.1rem; }
.tour-tabs .td { grid-column: 2; font-size: 0.88rem; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; }
.tour-tabs button:hover { border-color: var(--fg); }
.tour-tabs [aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--fg); }
.tour-tabs [aria-selected="true"] .td { max-height: 6em; opacity: 1; color: #c9d5cf; }
.tour-tabs [aria-selected="true"] .tn { color: var(--glow); }
.tour-tabs i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--glow); }
.tour-tabs .run i { animation: fill 8s linear forwards; }
@keyframes fill { to { width: 100%; } }
.tour-stage { background: var(--sand); border-radius: 20px; padding: clamp(18px, 3vw, 34px); min-height: 480px; display: grid; align-items: center; }
.panel { animation: rise 0.35s ease both; }
.panel[hidden] { display: none; }

.listen { background: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 14px; }
.listen-head { display: flex; justify-content: space-between; align-items: center; }
.lines { display: grid; gap: 6px; min-height: 216px; align-content: start; }
.lines li { padding: 8px 12px; background: var(--sand); border-radius: 10px; font-size: 0.9rem; animation: rise 0.3s ease both; }
.heard { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-row span { padding: 5px 12px; border-radius: 999px; border: 1.5px dashed #c9c9cf; font-size: 0.8rem; font-weight: 600; color: var(--muted); transition: all 0.3s ease; }
.chips-row span.on { background: var(--ink); border: 1.5px solid var(--fg); color: #fff; }
.q-count { font-size: 0.86rem; color: var(--muted); }
.q-count b { color: var(--fg); font-size: 1rem; }
.b.pop { animation: rise 0.35s ease both; }

.score { background: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 18px; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; background: var(--sand); border-radius: 999px; justify-self: start; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.seg [aria-pressed="true"], .seg [aria-selected="true"] { background: var(--ink); color: #fff; }
.score-rows { display: grid; gap: 12px; }
.score-rows > div { grid-template-columns: 150px 1fr 46px; }
.score .track { background: #e6e6e9; }
.score .track i { background: var(--red); }
.score.good .track i { background: var(--ok); }
.score-verdict { font-size: 1rem; }
.score-verdict strong { font-size: 2rem; }
.score .link { margin-top: 0; justify-self: start; }

.gap-sec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.gap-cards { display: grid; gap: 12px; }
.gap-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 12px; padding: 18px 22px; }
.gap-card.good { border-left-color: var(--ok); }
.gap-card p + p { font-size: 1.08rem; font-weight: 600; margin-top: 4px; }

.comp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.comp-in { display: grid; gap: 20px; }
.comp-in > [data-pane] { display: grid; gap: 18px; justify-items: start; }
.comp-in > [data-pane][hidden] { display: none; }
.comp-in .field { width: 100%; }
.comp-in .field.short { max-width: 220px; }
.mic { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.mic-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--fg); background: var(--ink); color: #fff; font-weight: 600; font-size: 1.02rem; cursor: pointer; }
.mic-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.mic-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--chalk); }
.mic-btn.on { background: var(--red); border-color: var(--red); }
.mic-btn.on .mic-dot { background: #fff; animation: pulse 1.2s ease-in-out infinite; }
.mic-time { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.live-lines { width: 100%; min-height: 120px; padding: 12px; border: 1px dashed #c9c9cf; border-radius: 12px; }
.rules { display: grid; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.rules li { padding-left: 18px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.comp-out { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; position: sticky; top: 88px; }
.comp-obj { display: grid; gap: 14px; counter-reset: c; }
.comp-obj li { counter-increment: c; padding-left: 34px; position: relative; display: grid; gap: 8px; }
.comp-obj li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.78rem; font-weight: 600; }
.comp-row { display: grid; gap: 6px; }
.comp-row .track { background: #e6e6e9; }
.comp-row .track i { background: var(--ink); }
.comp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 16px; }
.comp-stats div { background: var(--sand); border-radius: 12px; padding: 12px 14px; display: grid; }
.comp-stats b { font-size: 1.6rem; line-height: 1.1; }
.comp-stats span { font-size: 0.76rem; color: var(--muted); }
.tools form { display: inline-flex; }

@media (max-width: 900px) {
  .tour-grid, .gap-sec, .comp { grid-template-columns: 1fr; }
  .tour-tabs { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .tour-tabs button { scroll-snap-align: start; grid-template-columns: 1fr; padding: 14px 16px; }
  .tour-tabs .tn { grid-row: auto; }
  .tour-tabs .td { display: none; }
  .tour-stage { min-height: 0; }
  .comp-out { position: static; }
  .score-rows > div { grid-template-columns: 110px 1fr 40px; }
  .under { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .under path { stroke-dashoffset: 0; } }

/* minimal skin */
body { letter-spacing: -0.006em; }
.eyebrow, .label, .board-label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.eyebrow.light { color: var(--muted); }
.btn { border-radius: 12px; border-width: 1px; }
.btn.accent { background: var(--ink); border-color: var(--fg); }
.btn.accent:hover { background: var(--red); border-color: var(--red); }
.btn.ghost { border-color: #c9c9cf; }
.top { border-bottom-color: transparent; }
.mark { width: 24px; height: 20px; border: 0; border-radius: 0; background: repeating-linear-gradient(90deg, var(--fg) 0 5px, transparent 5px 9.5px); }
.mark::after { inset: 0 0 auto 0; height: 5px; border-radius: 0; background: var(--red); }
.brand { letter-spacing: 0.04em; }

.hero { background: #fff; border: 0; }
.hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 56px; padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(3.2rem, 10vw, 7rem); letter-spacing: -0.045em; line-height: 0.98; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; margin-inline: auto; }
.under { color: var(--fg); }
.actions, .ticks { justify-content: center; }
.ticks li { padding-left: 0; }
.ticks li::before { display: none; }
.ticks li + li { padding-left: 22px; border-left: 1px solid var(--line); }

.board { width: min(100%, 720px); text-align: left; background: #fff; color: var(--fg); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; box-shadow: 0 40px 80px -48px rgba(17, 18, 20, 0.35); }
.board-top, .board-q, .board-note { color: var(--muted); }
.board-note b { color: var(--fg); }
.pill { background: var(--sand); color: var(--fg); }
.pill.dark { background: var(--sand); color: var(--fg); }
.chalk { font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; min-height: 2.8em; }
.chalk::after { background: var(--ink); }
.board-q { border-top: 1px solid var(--line); }
.board-btns button { border: 1px solid #c9c9cf; color: var(--fg); border-radius: 12px; transition: background 0.15s, color 0.15s; }
.board-btns button:hover { background: var(--sand); }
.board-btns button.hit { background: var(--ink); color: #fff; }
.track { background: #ececef; }
.track i { background: var(--ink); }

.band { border: 0; }
.num { border-top: 0; padding-top: 0; width: auto; color: var(--muted) !important; }
.split-head { margin-bottom: 48px; }
.tour-tabs { gap: 0; }
.tour-tabs button { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 20px 0; color: var(--muted); }
.tour-tabs button:hover { color: var(--fg); }
.tour-tabs [aria-selected="true"] { background: transparent; color: var(--fg); }
.tour-tabs [aria-selected="true"] .td { color: var(--muted); }
.tour-tabs .tn { color: inherit; font-weight: 500; }
.tour-tabs [aria-selected="true"] .tn { color: var(--red); }
.tour-tabs i { bottom: auto; top: -1px; height: 2px; background: var(--ink); }
.tour-tabs [aria-selected="true"] i { width: 100%; }
.tour-tabs .run i { width: 0; }
.tour-stage { border-radius: 28px; }
.clock { box-shadow: none; border: 0; }
.clock-bar span:nth-child(2), .clock-bar span:nth-child(3), .clock-bar span:nth-child(5) { background: #8e8e93; }
.clock-bar span:last-child { background: var(--red); }
.chips-row span.on { background: var(--ink); }

.tryout { background: var(--sand); color: var(--fg); }
.tryout .lead { color: var(--muted); }
.chips button { border-color: #c9c9cf; color: var(--fg); background: #fff; }
.chips button:hover { border-color: var(--fg); }
.try-card { border-radius: 24px; box-shadow: 0 30px 60px -44px rgba(17, 18, 20, 0.3); }
.gap-card, .cards .card { background: transparent; border: 0; border-top: 1px solid var(--fg); border-radius: 0; padding: 18px 0 6px; }
.gap-card.good { border-top-color: var(--ok); }
.cards .card:last-child { border-top-color: var(--fg); }
.link { text-decoration-color: var(--fg); text-decoration-thickness: 1px; }
.cta { background: var(--ink); }
.foot { background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.foot .brand { color: var(--fg); }
.foot .mark { border: 0; }
.foot nav a:hover { color: var(--fg); }
.foot .fine { color: var(--muted); border-top-color: var(--line); }

.page-head { border-bottom: 1px solid var(--line); }
.table th { background: var(--sand); color: var(--fg); text-transform: none; letter-spacing: 0; font-size: 0.82rem; }
.steps li:last-child p, .tour-tabs [aria-selected="true"] .td { color: var(--muted); }
.mic-dot { background: #fff; }
.live-join .label, .live-join .fine, .verdict .label { color: #b5b5ba; }
.phone-top span, .join-url, .verdict-score strong { color: #ff8a8f; }
@media (max-width: 900px) {
  .tour-tabs button { border-top: 0; border-bottom: 2px solid var(--line); padding: 12px 4px; }
  .tour-tabs [aria-selected="true"] { border-bottom-color: var(--fg); }
  .tour-tabs i { display: none; }
  .board { padding: 22px 20px; }
}
@media (max-width: 520px) { .ticks { flex-direction: column; align-items: center; } .ticks li + li { padding-left: 0; border-left: 0; } }

/* 60-30-10: black canvas, white surfaces, one red accent */
:root { --fg: #f4f4f1; --ink: #0b0b0c; --muted: #a3a3a8; --line: #2b2b2f; --panel: #17171a; }
body { background: var(--ink); color: var(--fg); }
.board, .clock, .listen, .score, .tour-stage, .tryout, .try-card, fieldset, .scroll, .objectives li, .result, .criterion,
.live-results, .comp-out, .stats, .plans a, .revisit li, .tabs a, .error, .empty, .chat, .chat-input, .bubbles, .unclear li,
.comp-stats div, .rewrite, .tag, .seg, .chips button, .live-lines, .btn.light, .mic-btn, .choice {
  --fg: #0b0b0c; --muted: #6b6f76; --line: #e6e6e9; color: var(--fg);
}
fieldset, .scroll, .result, .criterion, .live-results, .stats, .plans a, .revisit li, .live-lines { background: #fff; }
input:not([type="checkbox"]):not([type="range"]), select, textarea { color: #0b0b0c; }
.top { background: rgba(11, 11, 12, 0.82); }
.btn, .btn.accent { background: var(--red); border-color: var(--red); color: #fff; }
.btn:hover, .btn.accent:hover { background: #fff; border-color: #fff; color: #0b0b0c; }
.btn.ghost { background: transparent; border-color: #55555b; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.board .btn:hover, .try-card .btn:hover { background: #0b0b0c; border-color: #0b0b0c; color: #fff; }
.btn.light { background: #fff; border-color: #fff; }
.btn.light:hover { background: #0b0b0c; border-color: #0b0b0c; color: #fff; }
.menu { color: var(--fg); border-color: #55555b; }
.hero, .band, .foot { background: var(--ink); }
.hero h1 { color: #fff; }
.board { border: 0; box-shadow: 0 0 0 1px #2b2b2f, 0 50px 120px -40px rgba(229, 37, 44, 0.35); }
.board-btns button.hit { background: var(--red); border-color: var(--red); color: #fff; }
.band { border-block: 1px solid var(--line); }
.tour-tabs i { background: #fff; }
.tour-tabs [aria-selected="true"] .tn, .num { color: var(--red) !important; }
.tabs a:hover { background: var(--red); color: #fff; }
.cta { background: var(--red); }
.foot { border-top: 1px solid var(--line); }
.verdict, .live-join, .phone { background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: #fff; }
.live-join .btn { background: #fff; border-color: #fff; color: #0b0b0c; }
.live-join .btn.ghost { background: transparent; color: #fff; border-color: #55555b; }
.mic-btn { background: #fff; border-color: #fff; }
.mic-btn .mic-dot { background: #0b0b0c; }
.mic-btn.on { background: var(--red); border-color: var(--red); color: #fff; }
.mic-btn.on .mic-dot { background: #fff; }
.meter-bg { fill: #e6e6e9; }
.meter-fg { fill: #0b0b0c; }
.chips button:hover { border-color: #0b0b0c; }
.gap-card.good { border-top-color: #35c27a; }
.bare { background: #f5f5f7; }
.danger .link-btn:hover, .link-btn:hover { color: var(--red); }
legend { background: #fff; border-radius: 8px; padding: 4px 12px; margin-left: -4px; }
.chat-head { --fg: #fff; }
@media (max-width: 900px) { .nav { background: var(--ink); } }
@media print {
  :root { --fg: #000; --muted: #444; --line: #ccc; }
  body { background: #fff; color: #000; }
}

/* theme: deep teal, warm ivory, neon lime */
:root { --ink: #071b1b; --fg: #f3efe6; --muted: #9db3ad; --line: #17393a; --panel: #0c2626; --sand: #f3efe6;
  --red: #c8ff27; --glow: #c8ff27; --on-accent: #071b1b; }
.clock, .listen, .score, .tour-stage, .try-card, fieldset, .scroll, .objectives li, .result, .criterion,
.live-results, .comp-out, .stats, .plans a, .revisit li, .tabs a, .error, .empty, .chat, .chat-input, .bubbles, .unclear li,
.comp-stats div, .rewrite, .tag, .seg, .chips button, .live-lines, .btn.light, .mic-btn, .choice, .band {
  --fg: #071b1b; --muted: #5d6b67; --line: #ded8c8; --red: #0b6b57; --glow: #0b6b57; --on-accent: #fff; color: var(--fg);
}
h1, .h2, .h3, .h4, .brand, .stat, .code, .verdict-text, .clock-min { font-family: "Montserrat", "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.btn, .btn.accent { color: var(--on-accent); border-radius: 999px; font-weight: 600; }
.btn:hover, .btn.accent:hover { background: #f3efe6; border-color: #f3efe6; color: #071b1b; }
.try-card .btn:hover, fieldset .btn:hover { background: #071b1b; border-color: #071b1b; color: #fff; }
.btn.ghost { border-color: rgba(243, 239, 230, 0.35); color: var(--fg); border-radius: 999px; }
.menu { border-color: rgba(243, 239, 230, 0.35); }
.top { background: rgba(7, 27, 27, 0.82); }
.bare { background: #f3efe6; }

.hero { position: relative; overflow: hidden; background: radial-gradient(55% 75% at 78% 62%, rgba(200, 255, 39, 0.22), transparent 70%), var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(200, 255, 39, 0.09) 0 54px, transparent 54px 108px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 78%); mask-image: linear-gradient(to top, #000, transparent 78%); }
.hero-in { position: relative; grid-template-columns: 1.05fr 0.95fr; justify-items: stretch; text-align: left; gap: clamp(32px, 5vw, 72px); padding-block: clamp(56px, 8vw, 112px); }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--fg); }
.hero h1 em { color: var(--red); font-style: italic; }
.hero .lead { margin-inline: 0; max-width: 44ch; }
.hero .eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid rgba(200, 255, 39, 0.45); border-radius: 999px; font-size: 0.78rem; color: var(--fg); }
.actions, .ticks { justify-content: flex-start; }

.board { width: 100%; background: rgba(243, 239, 230, 0.05); color: var(--fg); border: 1px solid rgba(200, 255, 39, 0.4); border-radius: 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(200, 255, 39, 0.08), 0 40px 110px -30px rgba(200, 255, 39, 0.45);
  transform: perspective(1400px) rotateY(-11deg) rotateX(4deg); transition: transform 0.5s ease; }
.board:hover, .board:focus-within { transform: none; }
.board-top, .board-q, .board-note { color: var(--muted); }
.board-note b { color: var(--fg); }
.board .pill { background: rgba(243, 239, 230, 0.1); color: var(--fg); }
.chalk::after { background: var(--fg); }
.board-q { border-top-color: rgba(243, 239, 230, 0.16); }
.board-btns button { border-color: rgba(243, 239, 230, 0.35); color: var(--fg); border-radius: 999px; }
.board-btns button:hover { background: rgba(243, 239, 230, 0.1); }
.board-btns button.hit { background: var(--red); border-color: var(--red); color: #071b1b; }
.board .track { background: rgba(243, 239, 230, 0.12); }
.board .track i { background: var(--fg); }
.board-bars div:first-child .track i { background: var(--red); }

.band { background: var(--sand); border: 0; }
.tryout { background: var(--panel); color: var(--fg); }
.tryout .lead, .eyebrow.light { color: var(--muted); }
.tour-tabs i { background: var(--red); }
.cta { background: var(--red); color: #071b1b; }
.cta .btn.light { background: #071b1b; border-color: #071b1b; color: #f3efe6; }
.cta .btn.light:hover { background: #f3efe6; border-color: #f3efe6; color: #071b1b; }
.mic-btn.on { color: #071b1b; }
.mic-btn.on .mic-dot { background: #071b1b; }
.mic-btn .mic-dot { background: #071b1b; }
.phone-top span, .join-url, .verdict-score strong { color: #c8ff27; }
.live-join .btn.ghost { border-color: rgba(243, 239, 230, 0.35); }
.s0, .score .track i { background: #d9463b; }
.score.good .track i { background: var(--ok); }
.gap-card.good { border-top-color: var(--red); }
.foot { background: var(--ink); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .board { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .board { transform: none; } }
.board, .tryout { --fg: #f3efe6; --muted: #9db3ad; --line: #17393a; --red: #c8ff27; --glow: #c8ff27; --on-accent: #071b1b; color: var(--fg); }
.ticks { gap: 8px 22px; }
.ticks li + li { border-left: 0; padding-left: 0; }
.ticks li::before { display: inline-block; position: static; width: 6px; height: 6px; margin-right: 8px; vertical-align: middle; border-radius: 50%; background: var(--red); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.duo a { display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px; border: 1px solid rgba(243, 239, 230, 0.18); border-radius: 16px; background: rgba(243, 239, 230, 0.04); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.duo a:hover { border-color: var(--red); transform: translateY(-2px); }
.duo-n { font-size: 0.76rem; font-weight: 600; color: var(--red); }
.duo strong { font-family: "Montserrat", "Inter", sans-serif; font-size: 1.02rem; line-height: 1.3; }
.duo span:last-child { font-size: 0.84rem; color: var(--muted); }
.hero .actions { margin-top: 22px; }
@media (max-width: 520px) { .duo { grid-template-columns: 1fr; } }
