:root {
  --bg: #ffffff;
  --panel: #f1f3f8;
  --ink: #162038;
  --text: #5e657e;
  --muted: #8d93a9;
  --border: #dce1ec;
  --accent: #1296b6;
  --tint: #e7f4f7;
  --band: #162038;
  --on-band: #ffffff;
  --mine: #0bb1a1;
  --mine-bg: #d8f4f1;
  --ai: #6c4fd6;
  --ai-bg: #ebe6fb;
  --web: #e07a2e;
  --web-bg: #fcebdc;
  --known: #8d93a9;
  --known-bg: #eceef4;
  --danger: #e21738;
  --focus: #1296b6;
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --panel: #0e1120; --ink: #eef0f7; --text: #aab0c6; --muted: #7c829b;
    --border: #252a44; --accent: #3db6d6; --tint: #0b2731; --band: #2f3561; --on-band: #ffffff;
    --mine: #2ad3c2; --mine-bg: #0b302d; --ai: #a08bff; --ai-bg: #231a46; --web: #ff9b52;
    --web-bg: #3a2210; --known: #8a90a9; --known-bg: #1b1f33; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --panel: #0e1120; --ink: #eef0f7; --text: #aab0c6; --muted: #7c829b;
  --border: #252a44; --accent: #3db6d6; --tint: #0b2731; --band: #2f3561; --on-band: #ffffff;
  --mine: #2ad3c2; --mine-bg: #0b302d; --ai: #a08bff; --ai-bg: #231a46; --web: #ff9b52;
  --web-bg: #3a2210; --known: #8a90a9; --known-bg: #1b1f33; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hide { display: none !important; }

/* Top bar */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.brand small { font-weight: 600; color: var(--muted); font-size: 14px; }
.top nav a { white-space: nowrap; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.top nav a { color: var(--ink); }
.iconbtn { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; display: grid; place-items: center; }
.iconbtn svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px;
  border: 1px solid var(--accent); background: var(--accent); color: #fff; font: 700 15px var(--font);
  cursor: pointer; border-radius: 0; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.hero .lede { font-size: 19px; margin: 22px 0 0; max-width: 34ch; }
.legend-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--ink); }
.example { display: inline-block; margin-top: 22px; font-weight: 700; font-size: 15px; }
.legend-inline span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; display: inline-block; }
.sw.mine { background: var(--mine); } .sw.ai { background: var(--ai); } .sw.web { background: var(--web); } .sw.known { background: var(--known); }

.composer { border: 1px solid var(--border); background: var(--bg); }
.tabs { display: flex; border-bottom: 1px solid var(--border); }
.tabs button {
  flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: 14px 20px;
  font: 700 14px var(--font); color: var(--muted); cursor: pointer; margin-bottom: -1px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs .samples { margin-left: auto; display: flex; align-items: center; gap: 4px; padding-right: 12px; font-size: 13px; }
.tabs .samples button { padding: 6px 8px; font-size: 13px; color: var(--accent); border: 0; }
.composer textarea, .composer input[type=url], .composer input[type=text] {
  width: 100%; border: 0; background: transparent; color: var(--ink); font: 400 16px/1.6 var(--font); padding: 18px 20px; resize: vertical;
}
.composer textarea { min-height: 300px; }
.composer textarea:focus, .composer input:focus { outline: none; }
.composer .title-in { border-bottom: 1px solid var(--border); font-weight: 700 !important; }
.composer .foot { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; border-top: 1px solid var(--border); background: var(--panel); }
.composer .count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.composer .foot .btn { margin-left: auto; }
.err { color: var(--danger); font-size: 14px; font-weight: 600; margin: 10px 0 0; }

/* Theme-bound illustrations */
img.only-dark { display: none !important; }
:root[data-theme="dark"] img.only-light { display: none !important; }
:root[data-theme="dark"] img.only-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) img.only-light { display: none !important; }
  :root:not([data-theme="light"]) img.only-dark { display: block !important; }
}
/* The reader sits on the hero's bottom rule: the illustration's own ground line (75.1% down the image)
   is pulled onto the section border, so the figure belongs to the page structure instead of floating. */
.hero { position: relative; z-index: 1; padding-bottom: 0; border-bottom: 1px solid var(--border); overflow: visible; }
.hero .wrap { align-items: stretch; }
.hero-text { display: flex; flex-direction: column; }
.hero-art { --w: 260px; margin-top: 28px; width: var(--w); align-self: flex-end; margin-right: 8px;
  margin-bottom: calc(var(--w) * -0.249); line-height: 0; pointer-events: none; }
.hero-art img { width: 100%; height: auto; }
.hero .composer { align-self: start; margin-bottom: 56px; }
.hero .err { position: absolute; left: 0; right: 0; bottom: -2px; }

/* Research */
.research { padding: 72px 0 24px; }
.research h2 { font-size: clamp(26px, 3vw, 36px); max-width: 24ch; }
.research .lede { font-size: 18px; max-width: 58ch; margin: 14px 0 32px; }
.research .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.rcard { padding: 26px 26px 22px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rcard h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.rcard p { margin: 0 0 10px; font-size: 15px; }
.rcard .more { display: none; }
.rcard.open .more { display: block; }
.rcard .src { font-size: 13px; color: var(--muted); }
.rcard .src a { color: var(--accent); }
.morebtn { background: none; border: 0; padding: 0; color: var(--accent); font: 700 14px var(--font); cursor: pointer; }
.morebtn::after { content: " +"; }
.rcard.open .morebtn::after { content: " \2212"; }

/* Compare tabs */
.tabs-grid { margin: 0 0 20px; }
.tabs-grid button { padding: 9px 16px; }
/* Same device in the join band: two readers over one screen, their desk line on the band's edge. */
section.join .wrap { align-items: stretch; padding-bottom: 0; }
.join-text { display: flex; flex-direction: column; }
.join .join-art { --w: 360px; width: var(--w); margin-top: 30px; margin-left: -6px; align-self: flex-start;
  margin-bottom: calc(var(--w) * (425 / 736) * -0.113); line-height: 0; pointer-events: none; }
.join .join-art img { width: 100%; height: auto; }
.join form { padding-bottom: 64px; }
.join .done { margin-bottom: 64px; }

/* Signed-in options on the composer */
.opts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 10px 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--ink); font-weight: 600; }
.opts label { display: inline-flex; align-items: center; gap: 8px; }
.opts small { color: var(--muted); font-weight: 600; }
.opts select { border: 1px solid var(--border); background: var(--bg); color: var(--ink); font: 600 14px var(--font); padding: 4px 8px; }
.opts input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }

/* Share and embed */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 0; }
.xcard { border: 1px solid var(--border); padding: 20px; }
.xcard h4 { font-size: 15px; margin-bottom: 6px; }
.xcard p { margin: 0 0 12px; font-size: 14px; }
.xcard .row { display: flex; gap: 8px; }
.xcard input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font: 500 14px var(--font); padding: 0 12px; }
.xcard code { display: block; font-family: var(--mono); font-size: 12px; background: var(--panel); padding: 10px; overflow-wrap: anywhere; color: var(--ink); margin: 0 0 10px; }
@media (max-width: 720px) { .extras { grid-template-columns: 1fr; } .opts { padding: 10px 14px; } }

/* Steps strip */
.how { border-bottom: 1px solid var(--border); background: var(--panel); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.how li { padding: 26px 24px 28px; border-left: 1px solid var(--border); counter-increment: s; }
.how li:first-child { border-left: 0; padding-left: 0; }
.how li::before { content: counter(s); display: block; font-weight: 800; color: var(--accent); font-size: 14px; margin-bottom: 8px; }
.how h3 { font-size: 17px; margin-bottom: 4px; }
.how p { margin: 0; font-size: 14px; }

/* Live analysis */
.live { padding: 48px 0 64px; }
.live-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.stages { list-style: none; margin: 0; padding: 0; }
.stages li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.stages li .dotc { width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 50%; flex: 0 0 18px; margin-top: 3px; }
.stages li.on { color: var(--ink); }
.stages li.on .dotc { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.stages li.ok { color: var(--ink); }
.stages li.ok .dotc { border-color: var(--mine); background: var(--mine); }
.feed h3 { font-size: 15px; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.feed h3 small { color: var(--muted); font-weight: 600; }
.feed ul { list-style: none; margin: 0; padding: 0; max-height: 460px; overflow: auto; }
.feed li { padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--ink); animation: drop .35s ease both; }
.feed.ai li { color: var(--text); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }

.instant { margin-top: 22px; border: 1px solid var(--border); padding: 16px 18px; }
.instant h3 { font-size: 15px; margin-bottom: 10px; }
.instant dl { margin: 0; }
.instant dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 14px; }
.instant dt { color: var(--muted); font-weight: 600; }
.instant dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.instant dd.warn { color: var(--web); }
.instant .pending { color: var(--muted); font-weight: 600; }
.instant .pending::after { content: "…"; }
.instant .fine { margin: 10px 0 0; }

/* Quick read */
.q-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.q-head .dial .num span { font-size: 12px; }
.q-head h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.15; margin: 0 0 6px; max-width: 30ch; }
.q-head .meta { font-size: 14px; color: var(--muted); }
.q-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 28px 0 0; }
.q-facts .pillar .v { font-size: 26px; }
.q-facts .pillar .v.txt { font-size: 18px; }
.qmap { margin: 40px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.qmap .cap { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 14px; font-size: 14px; color: var(--ink); font-weight: 600; }
.qmap .cap span { display: inline-flex; gap: 8px; align-items: center; }
.doc mark.echo { background: var(--web-bg); border-color: var(--web); }
.doc mark.related { background: var(--known-bg); border-color: var(--known); }
.locked { position: relative; margin: 48px 0 0; border: 1px solid var(--border); overflow: hidden; }
.locked .blur { filter: blur(7px); pointer-events: none; user-select: none; padding: 24px; opacity: .85; }
.locked .blur .spectrum .bar i { background: var(--mine); }
.locked .blur .spectrum .bar i:nth-child(3n) { background: var(--ai); }
.locked .blur .spectrum .bar i:nth-child(5n) { background: var(--web); }
.locked .over { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.92)); }
:root[data-theme="dark"] .locked .over { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.92)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .locked .over { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.92)); } }
.locked .cta { text-align: center; max-width: 46ch; padding: 24px; }
.locked .cta h3 { font-size: 24px; margin-bottom: 8px; }
.locked .cta p { margin: 0 0 18px; }
.locked .cta .btn { height: 54px; padding: 0 32px; font-size: 16px; }
.locked .cta .fine { margin-top: 12px; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.pack { border: 1px solid var(--border); background: var(--bg); padding: 14px 10px; cursor: pointer; text-align: center; font-family: var(--font); color: var(--ink); }
.pack:hover { border-color: var(--accent); }
.pack b { display: block; font-size: 24px; font-weight: 800; }
.pack span { display: block; font-size: 13px; font-weight: 700; margin-top: 4px; }
.pack small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pack[disabled] { opacity: .6; cursor: progress; }

/* Account */
.acct-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.acct-head h2 { font-size: 26px; }
.acct-head .who { color: var(--muted); font-size: 14px; }
.acct-head .spacer { flex: 1; }
.acct-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; margin-top: 28px; }
.acct-card { border: 1px solid var(--border); padding: 20px; }
.acct-card h3 { font-size: 15px; margin-bottom: 8px; }
.acct-card .big { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.acct-card .big small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.acct-card .btn { margin-top: 14px; }
.acct-card + .acct-card { margin-top: 16px; }
.acct-card code { display: block; font-family: var(--mono); font-size: 12px; background: var(--panel); padding: 8px 10px; overflow-wrap: anywhere; margin-top: 8px; color: var(--ink); }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.hist li:first-child { border-top: 0; }
.hist .sc { font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.hist .sc.q { color: var(--muted); font-size: 16px; }
.hist a { color: var(--ink); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist small { color: var(--muted); display: block; }
.hist .when { color: var(--muted); font-size: 13px; white-space: nowrap; }
.banner { background: var(--mine-bg); color: var(--ink); padding: 14px 18px; font-weight: 600; margin-bottom: 20px; border-left: 3px solid var(--mine); }
.ok { color: var(--mine); font-weight: 600; margin: 8px 0 0; }
@media (max-width: 720px) { .acct-grid { grid-template-columns: 1fr; } }

/* Unlock sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(10,16,40,.55); display: grid; place-items: center; padding: 16px; }
.sheet-box { position: relative; background: var(--bg); color: var(--text); width: min(480px, 100%); padding: 28px 28px 24px; border: 1px solid var(--border); }
.sheet-box h3 { font-size: 22px; margin: 0 40px 8px 0; }
.sheet-box p { margin: 0 0 16px; }
.sheet-box .close { position: absolute; top: 12px; right: 12px; }
.sheet-box form { display: grid; gap: 10px; }
.sheet-box input { height: 48px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font: 500 16px var(--font); padding: 0 14px; border-radius: 0; }
.sheet-box .fine { margin: 2px 0 0; }

/* Results */
.result { padding: 40px 0 24px; }
.r-head { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.dial { position: relative; width: 176px; height: 176px; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial .track { stroke: var(--panel); }
.dial .val { stroke: var(--accent); transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.dial .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.dial .num b { display: block; font-size: 58px; line-height: 1; color: var(--ink); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dial .num span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.r-title .tier { display: inline-block; font-weight: 800; font-size: 14px; padding: 4px 10px; background: var(--tint); color: var(--accent); }
.r-title h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 12px 0 8px; max-width: 30ch; }
.r-title .meta { font-size: 14px; color: var(--muted); }
.r-actions { display: flex; flex-direction: column; gap: 10px; }

.spectrum { margin: 28px 0 8px; }
.spectrum .bar { display: flex; height: 18px; gap: 2px; }
.spectrum .bar i { flex: 1; display: block; cursor: pointer; }
.spectrum .bar i:hover { filter: brightness(1.15); }
.spectrum .cap { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 14px; color: var(--ink); font-weight: 600; }
.spectrum .cap span { display: inline-flex; gap: 8px; align-items: center; }
.spectrum .big { font-size: 20px; color: var(--ink); font-weight: 700; margin: 0 0 14px; }
.spectrum .big b { color: var(--mine); }

.i-mine { background: var(--mine); } .i-ai { background: var(--ai); } .i-web { background: var(--web); } .i-known { background: var(--known); }

.pillars.four { grid-template-columns: repeat(4, 1fr); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 28px 0 0; }
.pillar { padding: 18px 18px 20px; border-left: 1px solid var(--border); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .row { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pillar .v { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 6px 0 8px; }
.pillar .v small { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.pillar .meter { height: 4px; background: var(--panel); }
.pillar .meter i { display: block; height: 100%; background: var(--accent); transition: width 1s ease; }
.help { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); background: none; color: var(--muted); font: 700 11px var(--font); cursor: pointer; padding: 0; line-height: 16px; }
.helppop { position: absolute; z-index: 30; max-width: 280px; background: var(--band); color: var(--on-band); font-size: 13px; line-height: 1.5; padding: 12px 14px; box-shadow: 0 10px 30px rgba(10,16,40,.25); }

.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0 0; }
.verdict blockquote { margin: 0; font-size: 21px; line-height: 1.45; color: var(--ink); font-weight: 600; border-left: 3px solid var(--accent); padding-left: 20px; }
.verdict .angle h4 { font-size: 14px; margin-bottom: 6px; }
.verdict .angle p { margin: 0; }

p.notice { margin: 24px 0 0; padding: 14px 18px; background: var(--web-bg); color: var(--ink); font-weight: 600; font-size: 15px; border-left: 3px solid var(--web); }

/* v1 / v2 comparison */
.versions { display: grid; grid-template-columns: 1fr 2fr; border: 1px solid var(--border); margin: 28px 0 0; }
.ver { padding: 18px 20px; }
.ver + .ver { border-left: 1px solid var(--border); background: var(--tint); }
.ver .vh { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 14px; }
.ver .vn { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 6px; font-variant-numeric: tabular-nums; }
.ver .vn small { font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 0; margin-left: 10px; }
.ver .vb { font-size: 14px; }
.vstats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.vstats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vstats .bad b, .vstats .bad { color: var(--danger); }
.v2t { margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--border); }
.v2t h3 { font-size: 20px; margin-bottom: 16px; }
.v2t .tbl table { min-width: 640px; font-size: 14px; }
.v2t .st { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cols.one { grid-template-columns: 1fr; }
.v2t td, .v2t th { padding: 10px 10px; }
.v2t tbody tr { cursor: pointer; }
.v2t tbody tr:hover { background: var(--panel); }
.v2t td.ct { color: var(--ink); max-width: 420px; }
.v2t td.ct small, .v2t small.ak { display: block; color: var(--muted); }
.cred { font-weight: 800; font-size: 12px; padding: 2px 8px; background: var(--panel); white-space: nowrap; }
.cred.supported { background: var(--mine-bg); color: var(--mine); }
.cred.plausible { background: var(--tint); color: var(--accent); }
.cred.doubtful { background: var(--web-bg); color: var(--web); }
.cred.contradicted { background: var(--danger); color: #fff; }
.v2t td.val { position: relative; min-width: 110px; }
.v2t td.val i { position: absolute; left: 10px; top: 50%; height: 6px; margin-top: -3px; background: var(--accent); max-width: calc(100% - 64px); }
.v2t td.val span { position: relative; float: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Echo map */
.map { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; margin: 48px 0 0; }
.map-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.map-head h3 { font-size: 22px; }
.seg { display: inline-flex; border: 1px solid var(--border); margin-left: auto; }
.seg button { background: none; border: 0; padding: 8px 14px; font: 700 13px var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.doc { font-size: 17px; line-height: 1.85; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 72ch; }
.doc mark { color: inherit; padding: 1px 0; cursor: pointer; border-bottom: 2px solid; }
.doc mark.original { background: var(--mine-bg); border-color: var(--mine); }
.doc mark.echo-ai { background: var(--ai-bg); border-color: var(--ai); }
.doc mark.echo-web { background: var(--web-bg); border-color: var(--web); }
.doc mark.known { background: var(--known-bg); border-color: var(--known); }
.doc mark.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.doc .h { padding: 2px 0; }
.heat-legend { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.heat-legend .grad { width: 160px; height: 8px; background: linear-gradient(90deg, var(--ai), var(--ai-bg), transparent); border: 1px solid var(--border); }

.side { position: sticky; top: 20px; align-self: start; }
.claimcard { border: 1px solid var(--border); padding: 20px; background: var(--bg); }
.claimcard .st { font-size: 13px; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }
.claimcard p.c { color: var(--ink); font-weight: 600; font-size: 16px; margin: 10px 0; }
.claimcard .note { font-size: 14px; margin: 0 0 14px; }
.claimcard .ev { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; font-size: 14px; }
.claimcard .ev h5 { margin: 0 0 4px; font-size: 13px; color: var(--ink); }
.claimcard .ev q { display: block; quotes: none; color: var(--text); }
.claimcard .nav { display: flex; justify-content: space-between; margin-top: 16px; }
.empty-side { color: var(--muted); font-size: 14px; border: 1px dashed var(--border); padding: 20px; }

/* Lower result blocks */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--border); }
.cols h3 { font-size: 20px; margin-bottom: 4px; }
.cols .sub { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.blind { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.blind li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.blind li::before { counter-increment: b; content: counter(b); color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.blind li.hit { color: var(--ink); }
.blind li.hit span { background: var(--ai-bg); box-shadow: inset 0 -2px 0 var(--ai); }
.sources { list-style: none; margin: 0; padding: 0; }
.sources li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; align-items: center; }
.sources li a { color: var(--ink); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sources li small { color: var(--muted); }
.sources .pct { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.sources .pct.hot { color: var(--web); }
.more { background: none; border: 0; color: var(--accent); font: 700 14px var(--font); padding: 10px 0 0; cursor: pointer; }

details.prov { margin: 48px 0 0; border: 1px solid var(--border); }
details.prov summary { cursor: pointer; padding: 18px 20px; font-weight: 800; color: var(--ink); display: flex; gap: 14px; align-items: center; list-style: none; }
details.prov summary::-webkit-details-marker { display: none; }
details.prov summary .sum { font-weight: 600; color: var(--muted); font-size: 14px; }
details.prov summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); }
details.prov[open] summary::after { content: "\2212"; }
.prov-body { padding: 0 20px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prov-body h4 { font-size: 15px; margin: 12px 0 8px; }
.prov-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prov-body td { padding: 8px 0; border-top: 1px solid var(--border); vertical-align: top; }
.prov-body td:first-child { color: var(--ink); font-weight: 600; padding-right: 12px; width: 42%; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; background: var(--panel); color: var(--text); }
.pill.warn { background: var(--web-bg); color: var(--web); }
.pill.ok { background: var(--mine-bg); color: var(--mine); }

/* Join band */
.join { background: var(--band); color: var(--on-band); margin-top: 72px; }
.join .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.join h2 { color: var(--on-band); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.join p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 42ch; }
.join form { display: grid; gap: 12px; align-content: start; }
.join input, .join select {
  height: 50px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff;
  font: 500 16px var(--font); padding: 0 16px; border-radius: 0;
}
.join input::placeholder { color: rgba(255,255,255,.55); }
.join select option { color: #162038; }
.join .btn { background: #fff; color: #162038; border-color: #fff; }
.join .done { border: 1px solid rgba(255,255,255,.28); padding: 22px; }
.join .done h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.join code { font-family: var(--mono); font-size: 13px; background: rgba(255,255,255,.1); padding: 8px 10px; display: block; overflow-wrap: anywhere; margin: 10px 0; color: #fff; }

/* Compare */
.compare { padding: 72px 0 24px; }
.compare h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; max-width: 24ch; }
.tbl { overflow-x: auto; border-top: 2px solid var(--ink); }
.tbl table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl thead th { color: var(--ink); font-weight: 800; font-size: 15px; }
.tbl tbody th { color: var(--ink); font-weight: 700; width: 24%; }
.tbl .us { background: var(--tint); color: var(--ink); font-weight: 700; }
.tbl thead .us { color: var(--accent); }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Pricing */
.pricing { padding: 72px 0 8px; }
.pricing h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 28px; max-width: 26ch; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.plan { padding: 26px 24px 24px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.plan:first-child { border-left: 0; }
.plan.hot { background: var(--tint); }
.plan h3 { font-size: 17px; }
.plan .price { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan p { margin: 0 0 8px; font-size: 15px; flex: 1; }
.plan .btn { align-self: flex-start; }

.plans-h { font-size: 20px; margin: 40px 0 16px; }
.plans.monthly .plan .price small { font-size: 15px; }

/* API */
.api { padding: 64px 0 80px; }
.api .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.api h2 { font-size: clamp(26px, 3vw, 36px); }
.api p { max-width: 40ch; }
pre.code { margin: 0; background: #0e1120; color: #dfe4f2; font: 13px/1.7 var(--mono); padding: 22px 24px; overflow-x: auto; border-left: 3px solid var(--accent); }
pre.code .k { color: #7fd6ea; } pre.code .s { color: #b5e8a8; } pre.code .c { color: #7c829b; }

footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; }
footer .wrap span:last-child { margin-left: auto; }

.toast { position: fixed; left: 24px; bottom: 24px; background: var(--band); color: var(--on-band); padding: 12px 18px; font-weight: 600; font-size: 14px; z-index: 50; animation: drop .25s ease; }

@media (max-width: 1040px) {
  .hero .wrap, .api .wrap, .join .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { order: 2; } .hero .composer { order: 1; margin-bottom: 0; }
  .hero-art { --w: 220px; }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .live-grid .stages { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 22px; }
  .map { grid-template-columns: 1fr; }
  .side { position: static; order: -1; }
  .pillars, .pillars.four { grid-template-columns: repeat(3, 1fr); }
  .pillar:nth-child(4) { border-left: 0; padding-left: 0; }
  .pillar:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top nav a.hide-sm, .brand small { display: none; }
  .top nav { gap: 14px; }
  .composer textarea { min-height: 220px; }
  .pillar:nth-child(5) { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; }
  .hero { padding: 36px 0 40px; }
  .how ol { grid-template-columns: 1fr 1fr; }
  .how li:nth-child(3) { border-left: 0; padding-left: 0; }
  .how li { padding: 20px 16px; }
  .how li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .live-grid { grid-template-columns: 1fr; }
  .r-head { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
  .r-actions { flex-direction: row; flex-wrap: wrap; }
  .dial { width: 140px; height: 140px; }
  .dial .num b { font-size: 46px; }
  .pillars, .pillars.four { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .pillar:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
  .verdict, .cols, .prov-body, .versions, .qmap, .plans, .research .cards { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-text { padding-bottom: 36px; }
  .join .join-art { --w: 240px; }
  .tabs-grid { display: flex; overflow-x: auto; max-width: 100%; }
  .plan { border-left: 0; border-top: 1px solid var(--border); }
  .plan:first-child { border-top: 0; }
  .q-head { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .q-facts { grid-template-columns: 1fr 1fr; }
  .ver + .ver { border-left: 0; border-top: 1px solid var(--border); }
  .doc { font-size: 16px; }
  .tabs .samples { display: none; }
  footer .wrap span:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
