/* vikix.dev: the styles both pages share (index.html, gallery.html). */
/* The two Vikix themes, as the desktop ships them: paper (light) and void (dark). */
:root {
  --bg: #eff1f5; --bg2: #e6e9ef; --bg3: #dce0e8;
  --fg: #4c4f69; --subtle: #636679; --dim: #9ca0b0; --line: #ccd0da; --sel: #ccd0da;
  --accent: #1c5bd6; --alert: #d20f39; --green: #327a1f; --yellow: #8a5d06; --pink: #a33a91; --cyan: #107077;
  --desk-a: #dfe3ee; --desk-b: #e9ecf3; --desk-c: #d6dcea;
  --shadow: 0 30px 80px -30px rgba(76, 79, 105, .35);
  --display: "Martian Mono", "IBM Plex Mono", ui-monospace, monospace;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1e1e2e; --bg2: #181825; --bg3: #11111b;
    --fg: #cdd6f4; --subtle: #a6adc8; --dim: #585b70; --line: #313244; --sel: #45475a;
    --accent: #89b4fa; --alert: #f38ba8; --green: #a6e3a1; --yellow: #f9e2af; --pink: #f5c2e7; --cyan: #94e2d5;
    --desk-a: #2b2940; --desk-b: #151521; --desk-c: #262c44;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1e1e2e; --bg2: #181825; --bg3: #11111b;
  --fg: #cdd6f4; --subtle: #a6adc8; --dim: #585b70; --line: #313244; --sel: #45475a;
  --accent: #89b4fa; --alert: #f38ba8; --green: #a6e3a1; --yellow: #f9e2af; --pink: #f5c2e7; --cyan: #94e2d5;
  --desk-a: #2b2940; --desk-b: #151521; --desk-c: #262c44;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  transition: background .35s, color .35s;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } body { font-size: 16px; } }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: .9em; background: var(--bg2); border: 1px solid var(--line); padding: .05em .35em; border-radius: 4px; }
kbd {
  font-size: .82em; padding: .1em .45em; border-radius: 5px;
  background: var(--bg2); border: 1px solid var(--line); border-bottom-width: 2px; white-space: nowrap;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; text-wrap: balance; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: 1.15rem; color: var(--subtle); max-width: 62ch; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--subtle);
}
.eyebrow b { color: var(--accent); font-weight: 600; }
.void-mark b { color: var(--green); }

/* ---------- top bar: styled like the StumpWM mode line ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg3) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .86rem;
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 46px; }
.logo { font-family: var(--display); font-weight: 800; color: var(--fg); text-decoration: none; font-size: 1rem; letter-spacing: -.03em; }
.logo span { color: var(--accent); }
.top nav { display: flex; gap: 16px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.top nav a { color: var(--subtle); text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--fg); }
.theme-btn {
  font: inherit; color: var(--subtle); background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 10px; cursor: pointer; white-space: nowrap;
}
.theme-btn:hover { color: var(--fg); border-color: var(--dim); }
.theme-btn b { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) { .top nav a.opt { display: none; } }
@media (max-width: 520px) { .theme-btn .tb-cmd { display: none; } .top .wrap { gap: 12px; } }

/* ---------- hero ---------- */
.hero { padding-block: 64px 40px; }
.hero-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .v { color: var(--green); }
.hero-side { display: grid; gap: 18px; }
.hero-logo { margin-bottom: 18px; }
.hero-logo img { width: min(360px, 85%); height: auto; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .92rem var(--mono); text-decoration: none; padding: 11px 18px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--fg); background: var(--bg2);
}
.btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
@media (max-width: 860px) { .hero-head { grid-template-columns: 1fr; gap: 24px; } .hero { padding-top: 40px; } }

/* ---------- the desktop mock ---------- */
.desk-wrap { position: relative; }
.desk {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 12% 0%, var(--desk-a), transparent 60%),
    radial-gradient(90% 80% at 85% 75%, var(--desk-c), transparent 65%),
    var(--desk-b);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.45;
  outline: none;
}
.desk:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 860px) { .desk { aspect-ratio: 4 / 3.6; font-size: 11px; } }
@media (max-width: 520px) { .desk { aspect-ratio: 3 / 4; font-size: 10.5px; } }
.bar {
  display: flex; justify-content: space-between; gap: 12px; padding: 3px 10px;
  background: var(--bg); color: var(--fg); white-space: nowrap; overflow: hidden; flex: none;
  font-size: .95em;
}
.bar .l, .bar .r { display: flex; gap: 12px; overflow: hidden; }
.bar .ws-on { color: var(--accent); }
.bar .wins span.f { color: var(--accent); }
.bar .upd { color: var(--accent); }
.bar .q { color: var(--subtle); }
@media (max-width: 520px) { .bar .hide-s { display: none; } }
.screen { flex: 1; display: flex; padding: 6px; gap: 6px; min-height: 0; }
.node { flex: 1; display: flex; gap: 6px; min-width: 0; min-height: 0; }
.node.col { flex-direction: column; }
.frame {
  flex: 1; min-width: 0; min-height: 0; position: relative;
  border: 2px solid var(--dim); border-radius: 4px; overflow: hidden;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  transition: border-color .15s;
}
.frame.on { border-color: var(--accent); }
.frame.empty { background: transparent; border-style: dashed; }
.frame .tag {
  position: absolute; right: 6px; top: 3px; font-size: .85em; color: var(--dim); z-index: 1;
}
.frame.on .tag { color: var(--accent); }
.frame .empty-note { position: absolute; inset: 0; display: grid; place-items: center; color: var(--subtle); text-align: center; padding: 8px; font-size: .95em; }
.win { position: absolute; inset: 0; padding: 1.5em 9px 6px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
.win pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; color: var(--fg); }
.win.top-align { justify-content: flex-start; }
.t-p { color: var(--green); } .t-a { color: var(--accent); } .t-d { color: var(--subtle); }
.t-y { color: var(--yellow); } .t-r { color: var(--alert); } .t-k { color: var(--pink); } .t-c { color: var(--cyan); }
.cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--fg); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.desk-hint {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 14px;
  font-family: var(--mono); font-size: .8rem; color: var(--subtle);
}
.desk-hint .state { color: var(--accent); }
.pad { display: flex; flex-wrap: wrap; gap: 6px; }
.pad button {
  font: 500 .78rem var(--mono); color: var(--fg); background: var(--bg2); cursor: pointer;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 5px 9px;
}
.pad button:hover { border-color: var(--accent); }
.pad button span { color: var(--subtle); margin-left: 4px; }
.flash {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: var(--bg3); color: var(--fg); border: 1px solid var(--accent);
  padding: 4px 12px; border-radius: 6px; font-size: .95em; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap;
}
.flash.show { opacity: 1; }

/* ---------- sections ---------- */
section { padding-block: 88px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { section { padding-block: 60px; } }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 820px; }

/* Void: the pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pillar { background: var(--bg); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; }
.pillar .k { font-family: var(--mono); font-size: .76rem; color: var(--green); letter-spacing: .06em; }
.pillar p { color: var(--subtle); font-size: .98rem; }
.pillar pre {
  margin: 6px 0 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: .78rem; line-height: 1.55; overflow-x: auto; color: var(--fg);
}
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }

.runit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; align-items: start; }
.runit-copy { display: grid; gap: 14px; }
.runit-copy p { color: var(--subtle); }
.tree {
  background: var(--bg3); color: var(--fg); border-radius: 12px; padding: 20px 22px; margin: 0;
  font-size: .85rem; line-height: 1.7; overflow-x: auto; border: 1px solid var(--line);
}
@media (max-width: 860px) { .runit { grid-template-columns: 1fr; } }

/* comparison */
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 820px; font-size: .92rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--display); font-size: .82rem; font-weight: 600; background: var(--bg2); }
.cmp thead th.void { color: var(--green); }
.cmp tbody th { font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--subtle); width: 13%; letter-spacing: .03em; }
.cmp td.void { background: color-mix(in srgb, var(--green) 9%, var(--bg)); }
.cmp td { color: var(--subtle); }
.cmp td.void { color: var(--fg); }
.fair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.fair div { display: grid; gap: 8px; align-content: start; }
.fair p { color: var(--subtle); font-size: .96rem; }
@media (max-width: 860px) { .fair { grid-template-columns: 1fr; gap: 22px; } }

/* vikix: install parts */
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.part { border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: grid; gap: 14px; align-content: start; background: var(--bg); }
.part.one { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.part header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.part header span { font-family: var(--mono); font-size: .78rem; color: var(--subtle); }
.part p { color: var(--subtle); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.stages li { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; }
.stages code { background: none; border: 0; padding: 0; color: var(--accent); }
.stages span { color: var(--subtle); }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; } }

.feat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.card { grid-column: span 2; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 12px; align-content: start; background: var(--bg); }
.card.wide { grid-column: span 3; }
.card.full { grid-column: span 6; }
.card p { color: var(--subtle); font-size: .96rem; }
.card pre { margin: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: .8rem; line-height: 1.6; overflow-x: auto; }
@media (max-width: 960px) { .card, .card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .feat { grid-template-columns: 1fr; } .card, .card.wide, .card.full { grid-column: auto; } }

.barline {
  font-family: var(--mono); font-size: .8rem; background: var(--bg3); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; display: flex; justify-content: space-between; gap: 10px; overflow-x: auto; white-space: nowrap;
}
.barline .r { display: flex; gap: 12px; }
.legend { display: grid; gap: 6px; font-size: .9rem; color: var(--subtle); }
.legend div { display: flex; gap: 10px; align-items: baseline; }
.dot { width: .7em; height: .7em; border-radius: 50%; flex: none; transform: translateY(1px); }

.own { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.own div { border-radius: 8px; padding: 14px; border: 1px solid var(--line); font-size: .86rem; display: grid; gap: 6px; align-content: start; }
.own h4 { margin: 0; font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.own .vk h4 { color: var(--accent); } .own .yo h4 { color: var(--green); }
.own ul { margin: 0; padding-left: 1.1em; color: var(--subtle); font-family: var(--mono); font-size: .78rem; line-height: 1.7; }
@media (max-width: 480px) { .own { grid-template-columns: 1fr; } }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { display: grid; gap: 6px; justify-items: start; font-family: var(--mono); font-size: .72rem; color: var(--subtle); }
.sw i { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); display: block; }
.theme-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.theme-pick button {
  font: 500 .85rem var(--mono); padding: 8px 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg2); color: var(--fg);
}
.theme-pick button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { font-family: var(--mono); font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); }
.langs span em { font-style: normal; color: var(--subtle); margin-left: 6px; }

/* keys */
.keys-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.keys-tools input {
  font: 400 1rem var(--mono); color: var(--fg); background: var(--bg2);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; width: min(420px, 100%);
}
.keys-tools input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.keys-tools span { font-family: var(--mono); font-size: .8rem; color: var(--subtle); }
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.key { display: grid; grid-template-columns: 11em 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; align-items: baseline; }
.key > span:first-child { display: flex; flex-wrap: wrap; gap: 4px; }
.key > span:last-child { color: var(--subtle); }
@media (max-width: 860px) { .keys { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .key { grid-template-columns: 1fr; gap: 4px; } }

/* install */
.install { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.2em 1fr; gap: 12px; counter-increment: s; }
.steps li::before {
  content: counter(s); font-family: var(--display); font-weight: 800; font-size: .9rem;
  width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent);
}
.steps p { color: var(--subtle); }
.steps h3 { margin-bottom: 4px; }
.term {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.term header { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .78rem; color: var(--subtle); }
.term pre { margin: 0; padding: 18px; font-size: .88rem; line-height: 1.75; overflow-x: auto; }
.copy {
  font: 500 .75rem var(--mono); color: var(--fg); background: var(--bg2); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 10px; cursor: pointer;
}
.copy:hover { border-color: var(--accent); }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; } }

.maker { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 14px; padding: 32px;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.maker .mono {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.6rem var(--display); color: var(--bg); background: var(--accent); letter-spacing: -.04em;
}
.maker div.txt { display: grid; gap: 8px; max-width: 60ch; }
.maker p { color: var(--subtle); }
.maker .cta { justify-content: flex-end; }
@media (max-width: 860px) { .maker { grid-template-columns: 1fr; gap: 18px; padding: 24px; } .maker .cta { justify-content: flex-start; } }
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-family: var(--mono); font-size: .82rem; color: var(--subtle); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.notyet { margin-top: 40px; display: grid; gap: 8px; max-width: 70ch; }
.notyet ul { margin: 0; padding-left: 1.2em; color: var(--subtle); font-size: .95rem; display: grid; gap: 4px; }

/* ---------- screenshots: each has a light and a dark version, shown with the page's theme ---------- */
.on-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-dark { display: block !important; }
  :root:not([data-theme="light"]) .on-light { display: none !important; }
}
:root[data-theme="dark"] .on-dark { display: block !important; }
:root[data-theme="dark"] .on-light { display: none !important; }
.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0; background: var(--bg3); }
.shot img { display: block; width: 100%; height: auto; }
a.shot:hover { border-color: var(--accent); }
.hero-shot { margin: 0; display: grid; gap: 12px; }
.hero-shot figcaption, .also { font-size: .92rem; color: var(--subtle); }
.fine { font-size: .95rem; color: var(--subtle); max-width: 62ch; }

/* ---------- agentic ---------- */
.agent { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.agent .term header span:last-child { color: var(--dim); }
.agent .term pre { font-size: .84rem; line-height: 1.7; }
.agent-left { display: grid; gap: 24px; position: sticky; top: 88px; }   /* the cards run longer: the terminals stay in view beside them */
.safe { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.safe li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--accent); }
.safe p { color: var(--subtle); font-size: .96rem; }
.coming { margin-top: 48px; border: 1px dashed var(--dim); border-radius: 12px; padding: 22px 24px; display: grid; gap: 12px; }
.coming ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.coming li { color: var(--subtle); font-size: .94rem; }
.coming li b { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) { .agent { grid-template-columns: 1fr; } .agent-left { position: static; } .coming ul { grid-template-columns: 1fr; } }

/* ---------- new here ---------- */
.words { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.word { background: var(--bg); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.word .k { font-family: var(--mono); font-size: .76rem; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.word p { color: var(--subtle); font-size: .96rem; }
.also { margin-top: 24px; max-width: 70ch; }
.also b { color: var(--fg); }
@media (max-width: 1000px) { .words { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .words { grid-template-columns: 1fr; } }

/* ---------- is it for you ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit > div { border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; display: grid; gap: 12px; align-content: start; }
.fit .yes { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.fit .yes h3 { color: var(--green); } .fit .no h3 { color: var(--subtle); }
.fit ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--subtle); font-size: .96rem; }
.teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } .teaser { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--subtle); margin-top: 10px; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  * { transition: none !important; }
}

/* ---------- why: the three proofs ---------- */
.proof { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.proof:first-of-type { border-top: 0; padding-top: 0; }
.proof-text { display: grid; gap: 14px; align-content: start; }
.proof-text h3 { margin-top: 10px; }
.proof-text h3:first-child, .proof-text .eyebrow + h3 { margin-top: 0; }
.proof-text p { color: var(--subtle); font-size: .98rem; }
.proof .term pre { font-size: .82rem; line-height: 1.7; }
.proof .term header span:last-child { color: var(--dim); }
.proof .safe { gap: 18px; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; } }
.proof.one { grid-template-columns: 1fr; gap: 28px; }
.proof.one .safe { grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.proof .term header { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 860px) { .proof.one .safe { grid-template-columns: 1fr; } }
