  :root {
  --bg: #FBFAF6;
  --panel: #F2F5F1;
  --card: #FFFFFF;
  --ink: #1D2430;
  --ink-soft: #46505E;
  --muted: #727C8A;
  --rule: #E3E6E0;
  --rule-soft: #EEF0EB;
  --primary: #0B7F73;         /* buttons, links */
  --primary-deep: #086A60;
  --primary-soft: #DDF1EE;
  --path: #E8603C;            /* the value's path through the study — nothing else is this colour */
  --path-soft: #FDE9E1;
  --path-ink: #B6411F;
  --dm: #2E7FE8;  --dm-soft: #E4EEFC;
  --st: #7A5AF8;  --st-soft: #EDE9FE;
  --pg: #14934F;  --pg-soft: #E1F4E8;
  --mw: #E0940B;  --mw-soft: #FFF2D9;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 12px; --r-lg: 18px; --pill: 999px;
  --shadow: 0 1px 2px rgb(29 36 48 / 4%), 0 8px 24px -12px rgb(29 36 48 / 14%);
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 0.86em; }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.wrap { padding-inline: var(--gutter); max-width: 1240px; margin-inline: auto; width: 100%; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: var(--pill); text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn.solid { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.solid:hover { background: var(--primary-deep); border-color: var(--primary-deep); }

header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule-soft); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 9px; }
.wordmark:hover { text-decoration: none; color: var(--ink); }
.wordmark svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.wordmark svg .bar { stroke: var(--path); }
nav.top { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 500; }
nav.top a { color: var(--ink-soft); }
nav.top a:hover { color: var(--ink); text-decoration: none; }
nav.top .btn { padding: 9px 16px; font-size: 14px; }

/* ---------- Hero: why, then what, then "which one are you". ---------- */
.hero { padding-block: clamp(40px, 7vh, 88px) clamp(40px, 6vh, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 10fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(34px, 3.9vw, 54px); max-width: 17ch; margin-top: 16px; }
.hero h1 span { color: var(--primary); }
.hero .why { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 50ch; }
.hero .why b { color: var(--ink); font-weight: 600; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero .cta .quiet { font-size: 14px; color: var(--muted); flex-basis: 100%; }
.journey { margin: 0; min-width: 0; }
.journey svg { display: block; width: 100%; height: auto; overflow: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.who { padding-block: 0 clamp(56px, 8vh, 88px); }
.chain-wrap { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 2.6vw, 34px); }
.chain-head h2 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; margin-top: 8px; max-width: 34ch; line-height: 1.25; }
.roles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.roles button { all: unset; cursor: pointer; font: 600 14px/1 var(--display); padding: 10px 14px; border-radius: var(--pill); border: 1.5px solid var(--rule); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; transition: all .15s; }
.roles button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; }
.roles button:hover { border-color: var(--c); color: var(--ink); }
.roles button[aria-pressed="true"] { background: var(--c-soft); border-color: var(--c); color: var(--ink); }
.roles button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.chain { position: relative; margin-top: 28px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.chain::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15px; height: 2px; background: var(--rule); z-index: 0; }
.chain .dot { position: absolute; top: 10px; left: calc(10% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--path); box-shadow: 0 0 0 4px var(--path-soft); z-index: 0; animation: travel 9s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes travel { 0%, 10% { left: calc(10% - 6px); } 90%, 100% { left: calc(90% - 6px); } }
.node { position: relative; z-index: 1; text-align: center; }
.node .pin { width: 32px; height: 32px; border-radius: 50%; margin: 0 auto; background: var(--card); border: 2px solid var(--rule); display: grid; place-items: center; font: 700 12px var(--display); color: var(--muted); transition: all .25s; }
.node .t { margin-top: 10px; font: 700 15px/1.25 var(--display); }
.node .s { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.node .tag { margin-top: 8px; display: inline-block; font: 600 11px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--pill); opacity: 0; transform: translateY(-2px); transition: all .25s; white-space: nowrap; }
.chain-wrap.picked .node.mine .pin { border-color: var(--c); background: var(--c); color: #fff; }
.chain-wrap.picked .node.mine .tag { opacity: 1; transform: none; background: var(--c-soft); color: var(--ink); }
.chain-wrap.picked .node.other .tag { opacity: 1; transform: none; background: var(--primary-soft); color: var(--primary-deep); }
.chain-wrap.picked .node.other .t { color: var(--ink); }
.chain-wrap.picked .node.mine .t { color: var(--c); }
.verdict { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.verdict p { font-size: 16px; color: var(--ink-soft); line-height: 1.5; max-width: 62ch; }
.verdict p b { color: var(--ink); font-weight: 600; }
.verdict .btn { white-space: nowrap; }
.verdict .btn.solid { background: var(--c, var(--primary)); border-color: var(--c, var(--primary)); }
.verdict .btn.solid:hover { filter: brightness(.92); }

/* ---------- Section rhythm ---------- */
section { padding-block: clamp(64px, 9vh, 104px); }
.sec-head { max-width: 62ch; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.sec-head .lede { margin-top: 16px; font-size: 18px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Why: the seams, as four stories ---------- */
.seams { background: var(--panel); border-block: 1px solid var(--rule-soft); }
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.story { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.story .pair { display: flex; align-items: center; gap: 8px; font: 600 13px var(--display); flex-wrap: wrap; }
.story .pair span { padding: 5px 10px; border-radius: var(--pill); background: var(--c-soft); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.story .pair span i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.story .pair em { font-style: normal; color: var(--muted); }
.story h3 { font-size: 20px; line-height: 1.25; }
.story p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.story .cost { font-size: 14px; color: var(--path-ink); font-weight: 600; padding-top: 10px; border-top: 1px dashed var(--rule); }
.seams .sum { margin-top: 36px; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; max-width: 40ch; color: var(--ink); }
.seams .sum span { color: var(--primary); }

/* ---------- How: the three things it does ---------- */
.how .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.how .item { padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.how .item .n { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font: 700 14px var(--display); }
.how .item h3 { font-size: 21px; margin-top: 16px; }
.how .item p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.how .item a { display: inline-block; margin-top: 14px; font-weight: 600; }

/* ---------- The trace: one value, five stops ---------- */
.trace { background: var(--panel); border-block: 1px solid var(--rule-soft); }
.trace .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.trace .sec-head { grid-column: 1 / -1; }
.trace .sec-head .lede .mono { color: var(--path-ink); font-weight: 500; }
.rail { position: sticky; top: 96px; align-self: start; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rail li { padding: 12px 14px; border-radius: var(--r); color: var(--muted); cursor: pointer; border: 1px solid transparent; transition: all .2s; }
.rail li .who { display: block; font: 600 11px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.rail li .name { display: block; font: 700 17px/1.2 var(--display); margin-top: 5px; color: var(--ink-soft); }
.rail li .form { display: block; font-family: var(--mono); font-size: 12.5px; margin-top: 6px; opacity: 0; max-height: 0; overflow: hidden; transition: all .25s; }
.rail li.on { background: var(--card); border-color: var(--rule); box-shadow: var(--shadow); }
.rail li.on .name { color: var(--ink); }
.rail li.on .who { color: var(--path-ink); }
.rail li.on .form { opacity: 1; max-height: 3em; color: var(--path-ink); }
.rail .foot { margin-top: 18px; font-size: 14px; color: var(--muted); padding-inline: 14px; line-height: 1.5; }

.hop { padding-block: 28px 40px; }
.hop + .hop { border-top: 1px solid var(--rule); }
.hop .head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hop .head .step { font: 700 12px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--path-ink); background: var(--path-soft); padding: 6px 10px; border-radius: var(--pill); }
.hop .head .owner { font-size: 14px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.hop .head .owner i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--c); }
.hop h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 14px; max-width: 26ch; }
.hop .text { margin-top: 16px; max-width: 62ch; color: var(--ink-soft); font-size: 16.5px; }
.hop .text p + p { margin-top: 10px; }
.hop .text .mono { color: var(--ink); }
.artefact { margin-top: 20px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.artefact .bar { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--rule-soft); background: #FAFBF9; }
.artefact .bar .mono { color: var(--ink-soft); white-space: nowrap; }
.hit { background: var(--path-soft); color: var(--path-ink); box-shadow: inset 0 0 0 1.5px var(--path); border-radius: 4px; }
.scroll-x { overflow-x: auto; }
table.tlf { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
table.tlf caption { text-align: left; padding: 14px 16px 6px; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); caption-side: top; }
table.tlf caption b { display: block; color: var(--ink); font-weight: 600; }
table.tlf th, table.tlf td { padding: 8px 12px; text-align: right; white-space: nowrap; }
table.tlf th { font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--rule); }
table.tlf th:first-child, table.tlf td:first-child { text-align: left; white-space: normal; min-width: 11ch; }
table.tlf td:first-child { color: var(--ink-soft); }
table.tlf tr.sub td { padding-top: 14px; color: var(--ink); font-family: var(--sans); font-weight: 600; }
table.tlf td.hit { font-weight: 500; padding-inline: 10px; }
table.tlf tfoot td { font-family: var(--sans); font-size: 12.5px; color: var(--muted); white-space: normal; text-align: left; padding-top: 14px; }
table.ds { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
table.ds th, table.ds td { padding: 8px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--rule-soft); }
table.ds th { font-weight: 500; color: var(--muted); background: #FAFBF9; }
table.ds tr.dim td { color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.two .artefact { margin-top: 0; }
.crf { padding: 16px; font-size: 14px; }
.crf .q { color: var(--ink-soft); }
.crf .field { display: flex; gap: 6px; margin-top: 8px; }
.crf .box { border: 1.5px solid var(--rule); border-radius: 6px; padding: 6px 10px; font-family: var(--mono); min-width: 44px; text-align: center; background: #fff; }
.crf .meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
pre.transfer { margin: 0; padding: 14px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-soft); white-space: pre; overflow-x: auto; }
pre.transfer .hit { padding: 1px 4px; }
.doc { padding: 20px 24px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.doc .h { font: 700 13px var(--display); color: var(--ink); margin-bottom: 8px; }
.doc .hit { background: transparent; box-shadow: none; border-bottom: 2px solid var(--path); color: var(--ink); border-radius: 0; padding: 0 2px; }
.doc + .doc { border-top: 1px solid var(--rule-soft); }
.trace .after { grid-column: 2; padding-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trace .after p { font-size: 15px; color: var(--muted); }

/* ---------- The flip ---------- */
.flip .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.flip h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.flip .text { margin-top: 18px; color: var(--ink-soft); font-size: 17px; max-width: 50ch; }
.flip .text p + p { margin-top: 12px; }
.flip .text .mono { color: var(--ink); }
.switch { display: inline-flex; border: 1.5px solid var(--rule); border-radius: var(--pill); padding: 4px; margin-top: 24px; font: 700 14px var(--display); background: var(--card); }
.switch button { all: unset; cursor: pointer; padding: 9px 16px; font: inherit; color: var(--ink-soft); border-radius: var(--pill); transition: all .15s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.switch button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.flip .stack { display: grid; gap: 14px; }
.flip .artefact { margin-top: 0; }
.flip .query { padding: 14px 16px; font-size: 14.5px; color: var(--ink-soft); display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.flip .query dt { color: var(--muted); font: 600 11px/1.6 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.flip .query dd { margin: 0; }
.flip .query .mono { color: var(--ink); }
.flip [data-state] { display: none; }
.flip.collected [data-state="collected"], .flip.locked [data-state="locked"] { display: revert; }
.flip.collected dd[data-state="collected"], .flip.locked dd[data-state="locked"] { display: block; }
.flip.locked td.flipcell { background: var(--path-soft); color: var(--path-ink); }
.flip .changed { font-size: 12px; color: var(--path-ink); margin-left: 8px; }
.flip table.tlf th, .flip table.tlf td, .flip table.ds th, .flip table.ds td { padding-inline: 12px; font-size: 12.5px; }

/* ---------- Doors ---------- */
.doors { background: var(--panel); border-block: 1px solid var(--rule-soft); }
.doors .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.door { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--c); border-radius: var(--r-lg); padding: 24px 22px 22px; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.door:hover { text-decoration: none; color: var(--ink); transform: translateY(-2px); box-shadow: 0 2px 4px rgb(29 36 48 / 5%), 0 16px 32px -14px rgb(29 36 48 / 22%); }
.door small { font: 600 12px var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.door .role { font: 700 22px/1.15 var(--display); margin-top: 6px; }
.door p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; flex: 1; }
.door .go { margin-top: 18px; font: 700 15px var(--display); color: var(--c); }
.doors .new { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* ---------- Close ---------- */
.close { text-align: center; }
.close h2 { font-size: clamp(32px, 4vw, 52px); max-width: 20ch; margin-inline: auto; }
.close h2 span { color: var(--primary); }
.close .lede { margin-top: 16px; color: var(--ink-soft); font-size: 18px; max-width: 54ch; margin-inline: auto; }
.close .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.close .facts { margin-top: 44px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.close .facts span { font-size: 14px; color: var(--ink-soft); background: var(--card); border: 1px solid var(--rule); border-radius: var(--pill); padding: 8px 14px; }

footer.site { border-top: 1px solid var(--rule); padding-block: 40px 56px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
footer.site .study b { color: var(--ink); font-weight: 600; }
footer.site .study .mono { color: var(--ink-soft); }
footer.site .counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
footer.site .counts div { border-top: 1px solid var(--rule); padding-top: 8px; }
footer.site .counts .n { display: block; font: 700 18px var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
footer.site .fine { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.hero .wrap > *, .trace .wrap > *, .two > *, .flip .wrap > *, .flip .stack > *, footer.site .wrap > * { min-width: 0; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .journey { max-width: 560px; }
  .chain { grid-template-columns: 1fr; gap: 14px; }
  .chain::before, .chain .dot { display: none; }
  .node { display: grid; grid-template-columns: 32px 1fr auto; gap: 0 12px; text-align: left; align-items: center; }
  .node .pin { margin: 0; grid-row: 1 / 3; }
  .node .t { margin-top: 0; grid-column: 2; }
  .node .s { grid-column: 2; margin-top: 2px; }
  .node .tag { grid-column: 3; grid-row: 1 / 3; margin-top: 0; }
  .stories, .how .trio, .doors .grid { grid-template-columns: 1fr 1fr; }
  .trace .wrap, .flip .wrap, footer.site .wrap { grid-template-columns: 1fr; }
  .trace .after { grid-column: 1; }
  .rail { position: static; }
  .rail ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .rail li { padding: 8px 12px; }
  .rail li .who, .rail li .form { display: none; }
  .rail li .name { margin-top: 0; font-size: 15px; }
  .rail .foot { display: none; }
  footer.site .counts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  nav.top a:not(.btn) { display: none; }
  .node { grid-template-columns: 32px 1fr; }
  .node .pin { grid-row: 1 / 2; }
  .node .tag { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 6px; transform: none; }
  .two, .stories, .how .trio, .doors .grid { grid-template-columns: 1fr; }
}

/* ---------- Teaser for the trace page (index) ---------- */
.teaser { background: var(--panel); border-block: 1px solid var(--rule-soft); }
.teaser .card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.teaser h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 12px; }
.teaser .lede { margin-top: 14px; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.teaser .lede .mono { color: var(--path-ink); font-weight: 500; }
.teaser .btn { margin-top: 22px; }
.mini { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 6px; }
.mini::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--rule); }
.mini li { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; align-items: center; padding: 6px 0; }
.mini li i { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--rule); display: grid; place-items: center; font: 700 11px var(--display); color: var(--muted); }
.mini li:first-child i { border-color: var(--path); background: var(--path); color: #fff; }
.mini li .l { font: 600 13px/1.2 var(--display); color: var(--ink-soft); }
.mini li .v { font-family: var(--mono); font-size: 12.5px; color: var(--path-ink); margin-top: 2px; }

/* ---------- Page heads (trace, pricing) ---------- */
.page-head { padding-block: clamp(44px, 7vh, 80px) 0; }
.page-head h1 { font-size: clamp(34px, 4vw, 54px); max-width: 20ch; margin-top: 14px; }
.page-head h1 span { color: var(--primary); }
.page-head .lede { margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.page-head .lede .mono { color: var(--path-ink); font-weight: 500; }
.trace.standalone { background: transparent; border: 0; padding-top: clamp(28px, 4vh, 44px); }
.next { background: var(--panel); border-block: 1px solid var(--rule-soft); }
.next .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next a.card { display: block; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px 24px; color: var(--ink); box-shadow: var(--shadow); }
.next a.card:hover { text-decoration: none; color: var(--ink); transform: translateY(-2px); }
.next a.card small { font: 600 12px var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
.next a.card b { display: block; font: 700 19px/1.2 var(--display); margin-top: 6px; }
.next a.card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Pricing ---------- */
.plans { padding-top: clamp(32px, 5vh, 56px); }
.plans .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 26px 24px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft), var(--shadow); }
.plan .flag { position: absolute; top: -12px; left: 24px; font: 700 11px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; background: var(--primary); color: #fff; padding: 6px 10px; border-radius: var(--pill); }
.plan .name { font: 700 20px/1.2 var(--display); }
.plan .for { margin-top: 4px; font-size: 14px; color: var(--muted); min-height: 2.8em; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price .amt { font: 800 40px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.plan .price .amt sup { font-size: 0.5em; font-weight: 700; vertical-align: top; margin-right: 2px; }
.plan .price .per { font-size: 14px; color: var(--muted); }
.plan .note { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 2.6em; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule-soft); display: grid; gap: 9px; align-content: start; font-size: 15px; color: var(--ink-soft); flex: 1; }
.plan ul li { padding-left: 24px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary-soft); }
.plan ul li::after { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 3px; border-left: 2px solid var(--primary-deep); border-bottom: 2px solid var(--primary-deep); transform: rotate(-45deg); }
.plan ul li.plus { font-weight: 600; color: var(--ink); }
.plan ul li.plus::before { background: var(--primary); }
.plan ul li.plus::after { border-color: #fff; }
.plan .btn { margin-top: 22px; justify-content: center; }
.plans .fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.compare { padding-top: 0; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.compare th { font: 700 13px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: #FAFBF9; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 15%; }
.compare td:first-child { color: var(--ink); }
.compare td small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.compare tr.group td { background: var(--panel); font: 700 13px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.compare .yes { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft); position: relative; }
.compare .yes::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid var(--primary-deep); border-bottom: 2px solid var(--primary-deep); transform: rotate(-45deg); }
.compare .no { color: var(--rule); }
.faq { background: var(--panel); border-block: 1px solid var(--rule-soft); }
.faq .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; margin-top: 36px; }
.faq h3 { font-size: 18px; }
.faq p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

@media (max-width: 980px) {
  .teaser .card, .faq .grid { grid-template-columns: 1fr; }
  .plans .grid { grid-template-columns: 1fr 1fr; }
  .next .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plans .grid { grid-template-columns: 1fr; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: auto; }
}

