/* VOICE work: an academic project page, calm and exact, read by researchers on laptops and phones
   IDEA rank space: every sample owns the rectangle it dominates; the page draws that rectangle again and again
   PICTURE the teaser video (same noise, Base vs Harmony, 40 steps) and the live rank-space demo
   COLOUR white / near-black ground, ink, Harmony green #009E73 leads, GDPO blue #4A78C8, cool greys for linear rules
   TYPE Inter Tight 700 display + Inter text + JetBrains Mono code
   LAYOUT laptop: title block over a full-width teaser; sections in a 1160px column, text beside its graphic;
          phone: one column, title, teaser, buttons, then sections stacked */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg2: #f3f7f5;
  --card: #ffffff;
  --ink: #15191c;
  --ink2: #4b535a;
  --ink3: #6f7780;
  --line: #e1e6e4;
  --line2: #cdd4d1;
  --harmony: #009E73;
  --harmony-ink: #00785a;
  --harmony-soft: #e2f2ec;
  --harmony-light: #80CFB9;
  --gdpo: #4A78C8;
  --ws: #545B66;
  --corr: #AEB4BD;
  --pareto: #8C939D;
  --base: #9aa1a9;
  --warn: #c2410c;
  --code: #f5f7f6;
  --shadow: 0 1px 2px rgba(16, 24, 22, .06), 0 4px 16px rgba(16, 24, 22, .05);
  --maxw: 1160px;
  --gut: max(5vw, 16px);
  --navh: 52px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d1110;
    --bg2: #131917;
    --card: #161d1b;
    --ink: #e7edeb;
    --ink2: #b3bcb9;
    --ink3: #8b9592;
    --line: #26302d;
    --line2: #34403c;
    --harmony: #2bbd8f;
    --harmony-ink: #49d3a6;
    --harmony-soft: #12302a;
    --harmony-light: #5fae97;
    --gdpo: #7ea3ea;
    --ws: #a3abb6;
    --corr: #69717c;
    --pareto: #848c96;
    --base: #79818a;
    --warn: #fb923c;
    --code: #121816;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1110;
  --bg2: #131917;
  --card: #161d1b;
  --ink: #e7edeb;
  --ink2: #b3bcb9;
  --ink3: #8b9592;
  --line: #26302d;
  --line2: #34403c;
  --harmony: #2bbd8f;
  --harmony-ink: #49d3a6;
  --harmony-soft: #12302a;
  --harmony-light: #5fae97;
  --gdpo: #7ea3ea;
  --ws: #a3abb6;
  --corr: #69717c;
  --pareto: #848c96;
  --base: #79818a;
  --warn: #fb923c;
  --code: #121816;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--harmony-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: "Inter Tight", "Inter", system-ui, sans-serif; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 650; }
h4 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 .9em; }
code, pre, .mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; }
:focus-visible { outline: 2px solid var(--harmony); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--ink3); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
section.band { padding-block: clamp(44px, 6vw, 84px); border-top: 1px solid var(--line); }
section.band.alt { background: var(--bg2); }
.lede { font-size: 18px; color: var(--ink2); max-width: 760px; margin-top: 12px; }
.sec-head { margin-bottom: 28px; }
.sec-head .kicker { font-size: 14px; font-weight: 600; color: var(--harmony-ink); margin-bottom: 8px; }

/* nav */
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: var(--navh); }
.nav .brand { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; flex: none; }
.nav .brand svg { width: 22px; height: 22px; }
.nav .links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.nav .links::-webkit-scrollbar { display: none; }
.nav .links a { flex: none; color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: 7px; }
.nav .links a:hover { background: var(--bg2); color: var(--ink); }
.nav .links a.on { color: var(--harmony-ink); background: var(--harmony-soft); }
.iconbtn { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--card); color: var(--ink2); border-radius: 9px; cursor: pointer; }
.iconbtn:hover { color: var(--ink); border-color: var(--ink3); }
.iconbtn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 72px) 28px; }
.hero .venue { display: inline-block; font-size: 14px; font-weight: 600; color: var(--harmony-ink); background: var(--harmony-soft); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 750; line-height: 1.04; max-width: 15em; }
.hero .sub { font-family: "Inter Tight", sans-serif; font-size: clamp(19px, 2.3vw, 27px); font-weight: 500; color: var(--ink2); margin-top: 10px; letter-spacing: -.01em; line-height: 1.25; }
.hero .slogan { font-size: 18px; font-style: italic; color: var(--harmony-ink); margin-top: 16px; }
.authors { margin-top: 22px; font-size: 16.5px; line-height: 1.75; max-width: 980px; }
.authors a, .authors span.a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.authors a:hover { color: var(--harmony-ink); text-decoration: underline; }
.authors sup { color: var(--ink3); font-size: 11px; margin-left: 1px; }
.authors .sep { color: var(--line2); margin: 0 6px; }
.affils { color: var(--ink2); font-size: 15px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.affils sup { color: var(--ink3); }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { border-color: var(--ink3); text-decoration: none; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 85%, var(--harmony)); }
.btn.soon { color: var(--ink3); cursor: default; }
.btn.soon .tag { font-size: 12px; font-weight: 500; color: var(--ink3); background: var(--bg2); border-radius: 6px; padding: 1px 6px; }

/* teaser */
.teaser { margin-top: 30px; }
.teaser .frame { position: relative; border-radius: 14px; overflow: hidden; background: #0b0e0d; aspect-ratio: 2 / 1; }
.teaser video { width: 100%; height: 100%; object-fit: cover; }
.teaser .lbl { position: absolute; top: 12px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 3px 10px; border-radius: 999px; }
.teaser .lbl.l { left: 12px; }
.teaser .lbl.r { right: 12px; background: rgba(0, 120, 90, .85); }
.teaser .step { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; font-size: 12.5px; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.teaser .cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; margin-top: 12px; }
.teaser .prompt { font-size: 15px; color: var(--ink2); min-height: 3em; }
.teaser .prompt b { color: var(--ink); font-weight: 600; }
.teaser .dots { display: flex; gap: 6px; padding-top: 6px; }
.teaser .dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line2); padding: 0; cursor: pointer; }
.teaser .dots button.on { background: var(--harmony); }
.figcap { font-size: 14px; color: var(--ink3); margin-top: 8px; }

/* tldr + highlights */
.tldr { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: baseline; }
.tldr .k { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 22px; color: var(--harmony-ink); }
.tldr p { font-size: 19px; line-height: 1.55; margin: 0; max-width: 860px; }
.hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.hl .c { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.hl .c svg.ic { width: 100%; height: 86px; }
.hl .c h3 { font-size: 20px; }
.hl .c p { color: var(--ink2); font-size: 15.5px; margin: 0; }
.hl .c .num { font-family: "Inter Tight", sans-serif; font-weight: 700; color: var(--ink); }

.abstract { max-width: 860px; font-size: 16.5px; color: var(--ink2); }
.abstract p:first-child { font-style: italic; font-weight: 600; color: var(--ink); }

/* generic layout */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.two.wide-l { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.two.wide-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.panel.flat { padding: 0; overflow: hidden; }
.panel h4 { margin-bottom: 4px; }
.callout { border-left: 3px solid var(--harmony); background: var(--harmony-soft); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 14px 0; font-size: 15.5px; color: var(--ink); }
.callout.grey { border-left-color: var(--ink3); background: var(--bg2); color: var(--ink2); }
.callout b { font-weight: 650; }
.callouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.callouts .callout { margin: 0; }
.figure { background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 14px; }
.figure img { width: 100%; height: auto; }

/* controls */
.ctrls { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 12px; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--ink2); font: 500 14px/1 "Inter", sans-serif; padding: 9px 12px; border-radius: 7px; cursor: pointer; min-height: 36px; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
select, input[type="number"] { font: 15px "Inter", sans-serif; color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: 8px; padding: 7px 9px; min-height: 38px; }
label.inl { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2); }
.play { display: inline-flex; align-items: center; gap: 10px; }
.play button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.play button svg { width: 15px; height: 15px; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--line2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--harmony); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--harmony); margin-top: -7px; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--harmony); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--harmony); }
.play input[type="range"] { width: min(260px, 40vw); }
.play .t { font-size: 13.5px; color: var(--ink3); font-variant-numeric: tabular-nums; min-width: 9ch; }

/* charts */
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart text { font: 12.5px "Inter", sans-serif; fill: var(--ink3); }
.chart .axis line, .chart .axis path { stroke: var(--line2); }
.chart .grid line { stroke: var(--line); }
.chart .lab { fill: var(--ink2); font-weight: 500; }
.chart .ttl { fill: var(--ink); font-weight: 600; font-size: 13.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink2); margin: 6px 0 2px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.legend i.dash { background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px) !important; height: 2px; }
.tip { position: absolute; pointer-events: none; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); border-radius: 8px; padding: 7px 9px; font-size: 13px; color: var(--ink); white-space: nowrap; z-index: 5; display: none; font-variant-numeric: tabular-nums; }

/* method */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--harmony); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.step .prop { font-size: 14px; font-weight: 600; color: var(--harmony-ink); }
.step .eq { background: var(--bg2); border-radius: 10px; padding: 10px 8px; overflow-x: auto; text-align: center; }
.step p { font-size: 15px; color: var(--ink2); margin: 0; }
.step svg.mini { width: 100%; height: 120px; }
.eqline { background: var(--bg2); border-radius: 10px; padding: 12px; overflow-x: auto; margin-top: 16px; text-align: center; }
.eq .katex-display, .eqline .katex-display { margin: 0; }
.step .eq .katex-display > .katex { font-size: .94em; }

/* tables */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
table.t th, table.t td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t th { font-weight: 600; color: var(--ink2); font-size: 13.5px; vertical-align: bottom; }
table.t th.grp { border-bottom: 1px solid var(--line2); color: var(--ink); }
table.t td:first-child, table.t th:first-child { text-align: left; }
table.t tr.ours td { background: var(--harmony-soft); }
table.t tr.ours td:first-child { font-weight: 650; color: var(--harmony-ink); }
table.t tr.base td { color: var(--ink3); }
table.t td.b { font-weight: 700; color: var(--ink); }
table.t td.u { text-decoration: underline; text-underline-offset: 3px; }
table.t .yes { color: var(--harmony); font-weight: 700; }
table.t .no { color: var(--ink3); }
table.t td .bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--line2); vertical-align: middle; margin-left: 8px; }
table.t tr.ours td .bar { background: var(--harmony); }
table.t.sticky td:first-child, table.t.sticky th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; }
table.t.sticky tr.ours td:first-child { background: var(--harmony-soft); }
.tnote { font-size: 13.5px; color: var(--ink3); margin-top: 8px; }

/* demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.demo .full { grid-column: 1 / -1; }
.demo .panel { padding: 16px; }
.demo .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.demo .ph .muted { font-size: 13.5px; }
.scores td input { width: 78px; text-align: right; padding: 4px 6px; min-height: 32px; font-size: 14px; font-variant-numeric: tabular-nums; }
.scores td, .scores th { padding: 5px 4px; }
.wk td, .wk th { padding: 6px 4px; font-size: 13.5px; }
.scores td.xi, .wk td.xi { font-weight: 600; }
.chip { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.adv { display: grid; gap: 7px; }
.adv .row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; }
.adv .bars { display: grid; gap: 2px; }
.adv .b { position: relative; height: 11px; }
.adv .b::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line2); }
.adv .b span { position: absolute; top: 0; height: 100%; border-radius: 3px; transition: left .25s, width .25s; }
.adv .b span.ghost { background: transparent !important; border: 1.5px dashed var(--ink3); top: -1px; height: calc(100% + 2px); }
.delta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.delta div { background: var(--bg2); border-radius: 10px; padding: 9px 11px; font-size: 13.5px; color: var(--ink2); }
.delta b { display: block; font-family: "Inter Tight", sans-serif; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.delta .h b { color: var(--harmony-ink); }
.checks { font-size: 13.5px; color: var(--ink3); margin-top: 12px; }
.checks b { color: var(--harmony-ink); }
.rspace { aspect-ratio: 1 / 1; width: 100%; max-height: 420px; }

/* explainer */
.explainer .stage { aspect-ratio: 16 / 7; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.explainer .chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.explainer .chapters button { text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--ink3); font: 500 13.5px "Inter", sans-serif; }
.explainer .chapters button i { display: block; height: 3px; border-radius: 2px; background: var(--line2); margin-bottom: 6px; position: relative; overflow: hidden; }
.explainer .chapters button i b { position: absolute; inset: 0 auto 0 0; background: var(--harmony); width: 0; }
.explainer .chapters button.on { color: var(--ink); }

/* gallery */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { border: 0; background: none; padding: 10px 12px; font: 500 15px "Inter", sans-serif; color: var(--ink2); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--harmony); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.grid.g5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card .img { position: relative; aspect-ratio: 1 / 1; background: var(--bg2); }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 9px 11px 11px; font-size: 13.5px; color: var(--ink2); line-height: 1.45; }
.card .meta .p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta .tags { display: flex; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; border-radius: 6px; padding: 1px 7px; background: var(--bg2); color: var(--ink2); }
.tag.picked { background: var(--harmony-soft); color: var(--harmony-ink); }
.tag.random { background: color-mix(in srgb, var(--gdpo) 16%, transparent); color: var(--gdpo); }
.compare { position: relative; aspect-ratio: 1 / 1; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; background: var(--bg2); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .top { clip-path: inset(0 0 0 var(--x, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); transform: translateX(-1px); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size: 18px; background-repeat: no-repeat; background-position: center; }
.compare .lb { position: absolute; bottom: 8px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.compare .lb.l { left: 8px; }
.compare .lb.r { right: 8px; background: rgba(0, 120, 90, .85); }
.compare input.kb { position: absolute; inset: auto 0 0 0; opacity: 0; height: 1px; }
.more { display: flex; justify-content: center; margin-top: 18px; }
.mrow { display: grid; grid-template-columns: 120px repeat(var(--n, 6), minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.mrow + .mrow { margin-top: 6px; }
.mrow .hd { font-size: 13px; font-weight: 600; color: var(--ink2); text-align: center; padding-bottom: 2px; }
.mrow .hd.ours { color: var(--harmony-ink); }
.mrow .pr { font-size: 12.5px; color: var(--ink2); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; }
.mrow img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: var(--bg2); }
.mrow .cell.ours img { outline: 2px solid var(--harmony); outline-offset: -2px; }
.frame-sq { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #0b0e0d; max-width: 460px; margin-left: auto; }
.frame-sq video { width: 100%; height: 100%; object-fit: cover; }
.vcard video { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; background: #0b0e0d; }
.vcard.two video { aspect-ratio: 2 / 1; }
.vcard .vl { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); font-size: 12.5px; font-weight: 600; color: var(--ink2); text-align: center; padding: 6px 4px 0; }
.vcard .vl .ours { color: var(--harmony-ink); }

/* llm */
.chat { display: grid; gap: 14px; }
.qbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.qbar button { border: 1px solid var(--line2); background: var(--card); color: var(--ink2); border-radius: 999px; padding: 8px 14px; font: 500 14px "Inter", sans-serif; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qbar button.on { border-color: var(--harmony); color: var(--harmony-ink); background: var(--harmony-soft); }
.bubble.user { justify-self: end; max-width: min(640px, 92%); background: var(--ink); color: var(--bg); border-radius: 14px 14px 4px 14px; padding: 11px 15px; font-size: 15px; }
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ans { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.55; display: flex; flex-direction: column; min-height: 220px; }
.ans.ours { border-color: color-mix(in srgb, var(--harmony) 55%, var(--line)); }
.ans .who { font-size: 13px; font-weight: 650; color: var(--ink2); margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.ans.ours .who { color: var(--harmony-ink); }
.ans .txt { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); max-height: 420px; overflow-y: auto; }
.ans .txt .cur { display: inline-block; width: 7px; height: 1.05em; background: var(--harmony); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* code */
pre.code { background: var(--code); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; line-height: 1.55; margin: 0; position: relative; color: var(--ink); }
pre.code .c { color: var(--ink3); }
pre.code .s { color: var(--harmony-ink); }
pre.code .k { color: var(--gdpo); }
.copy { position: absolute; top: 8px; right: 8px; font: 600 12.5px "Inter", sans-serif; border: 1px solid var(--line2); background: var(--card); color: var(--ink2); border-radius: 7px; padding: 4px 9px; cursor: pointer; }
.codewrap { position: relative; }
.codecol { display: grid; gap: 12px; max-width: 900px; }
footer { border-top: 1px solid var(--line); padding-block: 30px 40px; color: var(--ink3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (min-width: 861px) { .rank-callouts { margin-top: 56px; } }

/* responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .answers { grid-template-columns: minmax(0, 1fr); }
  .ans { min-height: 0; }
}
@media (max-width: 860px) {
  .two, .two.wide-l, .two.wide-r, .demo { grid-template-columns: minmax(0, 1fr); }
  .hl { grid-template-columns: minmax(0, 1fr); }
  .tldr { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mrow { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
  .mrow .pr { grid-column: 1 / -1; -webkit-line-clamp: 3; }
  .mrow .pr.hd { display: none; }
  .explainer .stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  table.t { font-size: 13px; }
  table.t th, table.t td { padding: 6px 6px; }
  .nav .brand span { display: none; }
  .teaser .frame { aspect-ratio: 2 / 1; }
  .delta { grid-template-columns: minmax(0, 1fr); }
  .explainer .chapters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .explainer .chapters button span { display: none; }
  .explainer .stage { aspect-ratio: 3 / 5; }
  #props th, #props td { padding: 6px 4px; }
  table.t td .bar { display: none; }
  #rank-table td:first-child { white-space: normal; }
  #props td:first-child { white-space: normal; }
  .btn { height: 38px; padding: 0 12px; font-size: 14.5px; }
  .btn.soon .tag .long { display: none; }
  .scores td input { width: 56px; font-size: 13px; padding: 4px; }
  .scores td, .scores th { padding: 4px 2px; }
  .wk .uk { display: none; }
}
