/* Geist and Geist Mono, self-hosted (SIL OFL), latin subset */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/geist.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/geist.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-mono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/geist-mono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0c0e0f;
  --bg-2: #111416;
  --panel: #15191b;
  --panel-2: #1a1f21;
  --line: #232a2c;
  --line-2: #2f383b;
  --ink: #edf1ee;
  --ink-2: #c4ccc7;
  --muted: #94a09a;
  --accent: #4cc38a;
  --accent-hi: #6fd6a4;
  --accent-ink: #052012;
  --accent-soft: rgba(76, 195, 138, .12);
  --accent-line: rgba(76, 195, 138, .35);
  --amber: #e6b25f;
  --amber-soft: rgba(230, 178, 95, .12);
  --red: #ec8b7c;
  --red-soft: rgba(236, 139, 124, .12);
  /* "light" sections: a softer graphite band rather than white, easier on the eye */
  --light-bg: #171c1e;
  --light-panel: #1e2427;
  --light-ink: #eef2ef;
  --light-muted: #a2aea8;
  --light-line: #2c3437;
  --radius: 14px;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .45em; color: #f3f6f4; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
.eyebrow { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: block; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-family: var(--mono); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 15, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.05rem var(--sans); letter-spacing: -0.02em; text-decoration: none; color: #f3f6f4; }
.nav { display: flex; gap: 26px; align-items: center; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: #f3f6f4; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink) !important; padding: 11px 18px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .92rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; font-family: var(--sans); }
.btn:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn.amber { background: var(--accent); color: var(--accent-ink) !important; }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--muted); background: rgba(255, 255, 255, .03); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); padding: 18px 24px; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
}

/* sections */
section { padding: 104px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
section.tight { padding: 64px 0; }
.alt { background: var(--bg-2); }
.dark { background: var(--bg-2); }
.dark .muted { color: var(--muted); }
.light { background: var(--light-bg); color: var(--light-ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.light h2, .light h3 { color: var(--light-ink); }
.light .muted, .light .small.muted { color: var(--light-muted); }
.light .eyebrow { color: var(--accent); }
.light .card { background: var(--light-panel); border-color: var(--light-line); color: var(--light-ink); }
.light a { color: var(--light-ink); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { max-width: 46ch; margin: 0; }
.idx { font: 500 .75rem var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 14px; }
.idx b { color: var(--accent); font-weight: 500; }

.hero { padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(76, 195, 138, .10), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 18px; }
.trust-line { font-size: .86rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.trust-line span::before { content: "✓ "; color: var(--accent); font-weight: 700; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.card .icon { width: 44px; height: 44px; margin-bottom: 14px; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; transition: border-color .15s, transform .15s; display: block; }
a.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.num { font: 500 .78rem var(--mono); color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 13px; font-size: .88rem; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* hero data panel */
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.panel-head { display: flex; justify-content: space-between; font: 500 .75rem var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.panel h3 { font-size: 1.4rem; margin-bottom: 16px; }
.src { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 8px; background: rgba(255, 255, 255, .015); }
.src .ic { width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 .8rem var(--mono); }
.src b { display: block; font-weight: 500; font-size: .95rem; }
.src span { color: var(--muted); font-size: .8rem; }
.src i { font-style: normal; color: var(--muted); }
.panel-foot { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* inline estimator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--panel); }
.calc-in { padding: 30px; }
.calc-out { padding: 30px; background: var(--panel-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.calc label.h { font: 500 .75rem var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin: 22px 0 10px; display: block; }
.calc label.h:first-child { margin-top: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 9px; padding: 9px 13px; font: inherit; font-size: .9rem; cursor: pointer; text-align: left; }
.seg button small { display: block; color: var(--muted); font-size: .75rem; }
.seg button.sel { border-color: var(--accent); background: var(--accent-soft); color: #f3f6f4; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.range-row { display: flex; justify-content: space-between; align-items: baseline; }
.range-row b { font: 500 1rem var(--mono); color: #f3f6f4; }
.big { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; color: #f3f6f4; margin: 6px 0 14px; line-height: 1.1; }
.scale { position: relative; height: 8px; background: var(--line); border-radius: 99px; margin: 8px 0 6px; }
.scale div { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 99px; transition: left .4s, width .4s; }
.scale-labels { display: flex; justify-content: space-between; font: .75rem var(--mono); color: var(--muted); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--line); } }

/* buyer rail */
.rail { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; color: var(--ink-2); font-size: 1.05rem; letter-spacing: -0.01em; }
.rail span { opacity: .85; }
.rail span::before { content: "◆ "; color: var(--accent); font-size: .75rem; vertical-align: middle; }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .9rem; cursor: pointer; }
.tabs button.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.explorer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.explorer .list button { display: flex; justify-content: space-between; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 15px 4px; color: var(--ink-2); font: inherit; font-size: 1rem; cursor: pointer; }
.explorer .list button.sel, .explorer .list button:hover { color: #f3f6f4; }
.explorer .list button.sel::after { content: "→"; color: var(--accent); }
.example { background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px; }
.example .meta { display: flex; justify-content: space-between; font: .75rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.example blockquote { margin: 0 0 14px; font-size: 1.12rem; color: #f3f6f4; letter-spacing: -0.01em; }
.example .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.example .tags span { font: .75rem var(--mono); color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; }
.example .want { border-top: 1px solid var(--line); padding-top: 12px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } }

/* criteria strip */
.criteria { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 22px; }
.criteria div { padding: 18px; border-left: 1px solid var(--line); }
.criteria div:first-child { border-left: 0; }
.criteria b { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; color: #f3f6f4; }
.criteria span { color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .criteria { grid-template-columns: 1fr 1fr; } .criteria div:nth-child(3) { border-left: 0; } .criteria div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* price-factor cards */
.mini { margin-top: 16px; border: 1px solid var(--line); border-radius: 11px; padding: 12px; background: var(--bg); font-size: .85rem; }
.mini .row { display: flex; justify-content: space-between; color: var(--muted); font: .75rem var(--mono); margin-bottom: 6px; }
.mini .ok { color: var(--accent); font: .75rem var(--mono); }
.steps-line { display: flex; gap: 6px; margin-top: 8px; }
.steps-line span { flex: 1; height: 4px; border-radius: 4px; background: var(--accent); opacity: .85; }

/* deal ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 14px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { white-space: nowrap; font-size: .9rem; color: var(--ink-2); }
.ticker-item b { color: #f3f6f4; font-weight: 500; }
.ticker-item i { font-style: normal; color: var(--accent); font-family: var(--mono); font-size: .8rem; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } }

/* bidding chart */
.bids { display: grid; gap: 10px; }
.bid { display: grid; grid-template-columns: 130px 1fr 70px; gap: 12px; align-items: center; font-size: .9rem; }
.bid .t { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bid .t div { height: 100%; background: var(--accent); border-radius: 99px; }
.bid b { font: 500 .9rem var(--mono); color: #f3f6f4; text-align: right; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 22px; position: relative; margin: 8px 0; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.light .ticks li { color: var(--light-ink); }
.light .ticks li::before { color: var(--accent); }

/* referral calculator */
.refer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.refer .out { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.035em; color: var(--accent); }
@media (max-width: 900px) { .refer { grid-template-columns: 1fr; } }

/* result card (estimator) */
.result { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.result .tag { display: inline-block; font: 600 .75rem var(--mono); padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); letter-spacing: .04em; }
.result .tag.possible { background: var(--amber-soft); color: var(--amber); }
.result .tag.no { background: var(--red-soft); color: var(--red); }
.result .range { font: 500 2.1rem var(--sans); letter-spacing: -0.03em; margin: 10px 0 2px; color: #f3f6f4; }
.bar { display: grid; grid-template-columns: 120px 1fr 34px; gap: 10px; align-items: center; font-size: .88rem; margin: 9px 0; color: var(--ink-2); }
.bar .track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width .6s; }
.bar b { font: 500 .85rem var(--mono); color: #f3f6f4; }
.illus-label { font: .75rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pill { font: .75rem var(--mono); padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }

/* forms / estimator wizard */
.est { max-width: 780px; margin: 0 auto; }
.step { display: none; }
.step.on { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.q { font: 500 1.6rem var(--sans); letter-spacing: -0.03em; margin-bottom: 20px; color: #f3f6f4; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { border: 1px solid var(--line-2); background: var(--panel); border-radius: 11px; padding: 14px 16px; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.opt:hover { border-color: var(--muted); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
input[type=number], input[type=text], input[type=email], select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; background: var(--bg); color: var(--ink); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
label { font-weight: 500; font-size: .92rem; display: block; margin: 14px 0 6px; color: var(--ink-2); }
input[type=checkbox] { accent-color: var(--accent); }
.err { color: var(--red); font-size: .85rem; min-height: 1.2em; margin-top: 6px; }
.navrow { display: flex; justify-content: space-between; margin-top: 26px; align-items: center; }
.progress { height: 4px; background: var(--line); border-radius: 99px; margin-bottom: 30px; overflow: hidden; }
.progress div { height: 100%; background: var(--accent); width: 0; transition: width .3s; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: #f3f6f4; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-2); }

/* footer */
footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); padding: 64px 0 32px; font-size: .9rem; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: #f3f6f4; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: #f3f6f4; font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 8px 0; }
footer .legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .8rem; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose p, .prose li { color: var(--ink-2); }

/* systems grid */
.sys-card { display: flex; flex-direction: column; min-height: 210px; }
.sys-card h3 { margin-top: auto; padding-top: 22px; }
.sys-row { display: flex; flex-wrap: wrap; gap: 6px; }
.sys { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--light-muted); border: 1px solid var(--light-line); border-radius: 8px; padding: 3px 8px 3px 3px; background: rgba(255, 255, 255, .02); }
.sys i { font: 600 .75rem var(--mono); font-style: normal; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.sys-custom { justify-content: center; }
.sys-custom h3 { margin-top: 0; padding-top: 0; }
.btn.dark-btn { background: transparent; color: var(--ink) !important; border-color: var(--line-2); align-self: flex-start; margin-top: 6px; }
.btn.dark-btn:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* polish */
.light .card:hover { border-color: var(--line-2); }
.card { transition: border-color .15s; }
.card:hover { border-color: var(--line-2); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* dropdown menus */
.dd { position: relative; }
.dd-btn { background: none; border: 0; color: var(--ink-2); font: inherit; font-size: .92rem; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.dd-btn:hover, .dd.open .dd-btn { color: #f3f6f4; }
.dd-menu { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-38%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); z-index: 30; }
.dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dd.open .dd-menu { display: block; }
@media (hover: hover) and (min-width: 901px) { .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; } }
.dd-grid { display: grid; grid-template-columns: 190px 190px 250px; gap: 18px; }
.dd-grid h5 { margin: 4px 0 10px; font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dd-grid > div a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.dd-grid > div a:hover { color: var(--accent); }
.dd-feature { display: flex; flex-direction: column; gap: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 11px; padding: 16px; text-decoration: none; position: relative; }
.dd-feature .eyebrow { margin: 0; }
.dd-feature b { color: #f3f6f4; font-weight: 500; font-size: 1.02rem; }
.dd-feature span:not(.eyebrow) { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.dd-feature i { position: absolute; top: 14px; right: 14px; font-style: normal; color: var(--accent); }
.dd-feature:hover { border-color: var(--accent-line); }
@media (max-width: 900px) {
  .nav { gap: 4px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .dd { width: 100%; }
  .dd-btn { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 1rem; }
  .dd-menu { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; }
  .dd-menu::before { display: none; }
  .dd-grid { grid-template-columns: 1fr; gap: 10px; }
  .nav > a { padding: 10px 0; font-size: 1rem; }
  .nav > a.btn { margin-top: 8px; padding: 11px 18px; }
}

/* quick-answers panel */
.help-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; font: 500 .9rem var(--sans); cursor: pointer; display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); }
.help-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.help { position: fixed; right: 20px; bottom: 76px; z-index: 40; width: min(370px, calc(100vw - 40px)); max-height: min(560px, calc(100vh - 110px)); overflow-y: auto; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85); display: none; }
.help.open { display: block; }
.help-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.help-head b { font-weight: 500; color: #f3f6f4; }
.help-head button { background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.help .q-list button { display: block; width: 100%; text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0 0; color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer; }
.help .q-list button small { display: block; color: var(--muted); font-size: .78rem; }
.help .q-list button:hover { border-color: var(--accent-line); }
.help .answer { background: var(--panel-2); border-radius: 10px; padding: 12px; margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
.help .answer a { color: var(--accent); }
.help-foot { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.help-foot .btn { padding: 9px 13px; font-size: .85rem; }

/* new pages */
.filters { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.filters input[type=search] { max-width: 280px; padding: 10px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
.deal { display: flex; flex-direction: column; gap: 8px; }
.deal .top-row { display: flex; justify-content: space-between; gap: 10px; font: .75rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.deal h3 { margin: 4px 0 0; }
.deal .val { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); }
.rate-bar { position: relative; height: 8px; background: var(--line); border-radius: 99px; min-width: 120px; }
.rate-bar div { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 99px; }
.cis .verdict { display: inline-block; font: 600 .75rem var(--mono); padding: 4px 9px; border-radius: 999px; margin-bottom: 12px; }
.cis .verdict.yes { background: var(--accent-soft); color: var(--accent); }
.cis .verdict.maybe { background: var(--amber-soft); color: var(--amber); }
.cis .verdict.special { background: var(--red-soft); color: var(--red); }
.cis h3 { font-size: 1.5rem; }
.cis .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.cis .cols3 h5 { margin: 0 0 6px; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cis .cols3 ul { margin: 0; padding-left: 16px; color: var(--ink-2); font-size: .88rem; }
@media (max-width: 700px) { .cis .cols3 { grid-template-columns: 1fr; } }
textarea { resize: vertical; }

/* data safety */
.clean-demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-bottom: 18px; }
.cd-col { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cd-text { font: .95rem/1.6 var(--mono); color: var(--ink-2); margin: 0; min-height: 4.8em; }
.cd-text mark { background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 0 3px; transition: background .3s; }
.cd-note { font-size: .82rem; margin-top: auto; }
.cd-note.bad { color: var(--red); }
.cd-note.good { color: var(--accent); }
.cd-arrow { align-self: center; color: var(--accent); font-size: 1.4rem; }
.steps-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sf { padding: 20px; border-left: 1px solid var(--line); background: var(--panel); position: relative; }
.sf:first-child { border-left: 0; }
.sf h3 { font-size: 1.02rem; }
@media (max-width: 960px) { .steps-flow { grid-template-columns: 1fr 1fr; } .sf { border-top: 1px solid var(--line); } .sf:nth-child(odd) { border-left: 0; } }
@media (max-width: 620px) { .clean-demo { grid-template-columns: 1fr; } .cd-arrow { transform: rotate(90deg); justify-self: center; } .steps-flow { grid-template-columns: 1fr; } .sf { border-left: 0; } }

/* motion: spotlight cards, scroll reveal */
.card, .sf, .cd-col, .panel { --mx: 50%; --my: 50%; }
.card::after, .sf::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(76, 195, 138, .10), transparent 65%); }
.card, .sf { position: relative; }
.card:hover::after, .sf:hover::after { opacity: 1; }
.card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.src { transition: transform .2s, border-color .2s; }
.src:hover { transform: translateX(4px); border-color: var(--accent-line); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .src:hover { transform: none; }
}

/* market */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.stat { padding: 24px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat:first-child { border-left: 0; }
.stat b { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.stat small { color: var(--muted); font: .75rem var(--mono); letter-spacing: .06em; margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } }
.buyer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.buyer-head h3 { margin: 0; flex: 1; }
.buyer-head .logo { flex: none; }
.mono-badge { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 .75rem var(--mono); }
/* icons in badges and picker */
.sys i svg { display: block; }
.seg.logos button { display: inline-flex; align-items: center; gap: 8px; }
.seg.logos button .logo { opacity: .55; transition: opacity .15s; }
.seg.logos button.sel .logo, .seg.logos button:hover .logo { opacity: 1; }
.sys i:has(svg) { background: rgba(255, 255, 255, .07); }

/* trust */
.promise .p-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 .85rem var(--mono); margin-bottom: 16px; }
.scenario { display: flex; flex-direction: column; gap: 10px; }
.scenario h3 { margin: 2px 0 0; }
.tag-ex { align-self: flex-start; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: var(--amber-soft); padding: 3px 8px; border-radius: 6px; }
.sc-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tools .sys { color: var(--ink-2); border-color: var(--line); }
.sc-meta { margin: 0; }
.sc-range { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.sc-range b { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); }
.scenario .ticks { margin: 4px 0 0; }
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: var(--amber); letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1rem; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; }

/* menu icons */
.dd-grid > div a { display: flex !important; align-items: center; gap: 12px; padding: 7px 0 !important; }
.mi { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; background: var(--panel-2); transition: border-color .15s; }
.mi svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dd-grid > div a:hover .mi { border-color: var(--accent-line); }
@media (min-width: 901px) { .dd-grid { grid-template-columns: 220px 220px 260px; } }
img.logo { display: block; border-radius: 3px; object-fit: contain; }

/* deal tracker filters, table, news */
.filters-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-bottom: 14px; }
.filters-bar label { margin: 0; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.filters-bar select, .filters-bar input[type=search] { padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); color: var(--ink); font: 400 .9rem var(--sans); text-transform: none; letter-spacing: 0; min-width: 150px; }
.filters-bar .btn { padding: 9px 14px; }
.view-toggle { display: flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; margin-left: auto; }
.view-toggle button { background: none; border: 0; color: var(--ink-2); padding: 9px 14px; font: inherit; font-size: .88rem; cursor: pointer; }
.view-toggle button.sel { background: var(--accent-soft); color: var(--accent); }
th[data-sort] { cursor: pointer; white-space: nowrap; }
th[data-sort]:hover { color: var(--ink); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 195, 138, .5); } 70% { box-shadow: 0 0 0 8px rgba(76, 195, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 195, 138, 0); } }
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.news-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; transition: border-color .15s, transform .15s; }
.news-item:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.news-item b { font-weight: 500; color: var(--ink); line-height: 1.4; }
.news-item span { font: .75rem var(--mono); color: var(--muted); }
@media (max-width: 760px) { .news-list { grid-template-columns: 1fr; } .view-toggle { margin-left: 0; } }

/* where to sell */
.quiz { padding: 28px; }
.quiz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; min-height: 38px; }
.quiz .q { font-size: 1.45rem; }
.compare th, .compare td { min-width: 150px; }
.compare tr > th:first-child { color: var(--muted); font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; min-width: 170px; }
.compare .focus { background: var(--accent-soft); color: var(--ink); }
.compare tr:first-child .focus { color: var(--accent); }
.route-tabs { margin: 0; }

/* blog */
.blog-tools { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.blog-tools input[type=search] { max-width: 260px; padding: 10px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card h3 { margin: 0; font-size: 1.12rem; }
.post-card p { margin: 0; }
.post-card.featured { padding: 32px; background: linear-gradient(135deg, var(--panel-2), var(--panel)); }
.post-card.featured h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 28ch; }
.pc-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font: .75rem var(--mono); color: var(--muted); }
.post { padding: 56px 0 90px; }
.post-wrap { max-width: 780px; }
.post h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 18px 0 18px; }
.post .back { font-size: .88rem; color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 18px; }
.post .back:hover { color: var(--accent); }
.hook { font-size: 1.28rem; line-height: 1.5; color: #f3f6f4; border-left: 3px solid var(--accent); padding-left: 18px; margin: 0 0 30px; letter-spacing: -0.01em; }
.post-body h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.post-body p, .post-body li { color: var(--ink-2); font-size: 1.02rem; }
.post-body ul { padding-left: 20px; margin: 0 0 18px; }
.post-body li { margin: 6px 0; }
.post-body a, .sources a { color: var(--accent); }
.post-fig { margin: 26px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 14px; }
.post-fig svg.chart { width: 100%; height: auto; display: block; }
.post-fig figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .84rem; }
.post-fig figcaption b { font-weight: 500; color: var(--ink); }
.post-fig figcaption span { color: var(--muted); font: .75rem var(--mono); }
.takeaways { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 14px; padding: 18px 20px; margin: 28px 0; }
.takeaways ul { margin: 0; }
.takeaways li { color: var(--ink); }
.sources { margin-top: 30px; font-size: .86rem; }
.sources ul { padding-left: 18px; color: var(--muted); }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin: 36px 0; }
.post-cta h3 { margin: 0 0 4px; }
.post-cta p { margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 40px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.post-nav a span { font: .75rem var(--mono); color: var(--muted); }
.post-nav a.r { text-align: right; }
.post-nav a:hover { border-color: var(--accent-line); }
.rel-h { font-size: 1.3rem; margin-bottom: 16px; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav a.r { text-align: left; } }

[hidden] { display: none !important; }

/* report page */
.report-cover { display: flex; flex-direction: column; gap: 14px; }
.toc { margin: 0; padding-left: 20px; color: var(--ink-2); }
.toc li { margin: 6px 0; }
.report-wrap { max-width: 820px; }
.locked { position: relative; margin-top: 10px; }
.locked-sec h2 { font-size: 1.4rem; color: var(--muted); margin: 26px 0 12px; }
.blur-lines { display: grid; gap: 9px; filter: blur(2px); opacity: .5; }
.blur-lines span { height: 11px; border-radius: 6px; background: var(--line-2); }
.blur-lines span:nth-child(2) { width: 92%; } .blur-lines span:nth-child(3) { width: 86%; } .blur-lines span:nth-child(4) { width: 60%; }
.gate { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.gate h3 { margin: 0 0 4px; }
.gate-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.gate .btn { align-self: flex-start; }
.chk { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin: 2px 0 !important; }
.chk input { margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gate-done h3 { margin: 0 0 6px; }
@media (max-width: 560px) { .gate-row { grid-template-columns: 1fr; } }
.rep-sec { margin-bottom: 18px; }

/* timed pop-up */
.pop-back { position: fixed; inset: 0; z-index: 60; background: rgba(5, 7, 8, .66); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.pop-back.in { opacity: 1; }
.pop { position: relative; width: min(720px, 100%); display: grid; grid-template-columns: 220px 1fr; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); transform: translateY(14px) scale(.98); transition: transform .3s; }
.pop-back.in .pop { transform: none; }
.pop-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer; z-index: 1; }
.pop-cover { background: linear-gradient(160deg, #1d3b2c, #12201a); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pop-cover b { color: #f3f6f4; font-weight: 500; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.02em; }
.pop-bars { margin-top: auto; height: 90px; display: flex; align-items: flex-end; gap: 8px; }
.pop-bars span { flex: 1; background: var(--accent); border-radius: 5px 5px 2px 2px; opacity: .9; }
.pop-body { padding: 26px 24px 20px; }
.pop-body h3 { margin: 0 0 8px; font-size: 1.3rem; }
.pop .gate { margin-top: 12px; }
.pop-no { background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; align-self: flex-start; padding: 2px 0; text-decoration: underline; }
@media (max-width: 620px) {
  .pop-back { place-items: end center; padding: 0; }
  .pop { grid-template-columns: 1fr; border-radius: 18px 18px 0 0; }
  .pop-cover { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pop-back, .pop { transition: none; } }
.toc { list-style: none; padding-left: 0; }

/* robot helper */
.help-btn { padding: 6px 16px 6px 8px; gap: 8px; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.help-btn::before { display: none; }
.help-btn:hover { transform: translateY(-2px); border-color: var(--accent-line); }
.bot { width: 36px; height: 36px; overflow: visible; }
.bot-arm { transform-origin: 30.7px 30px; transform-box: view-box; }
.help-btn:hover .bot-arm, .help-btn.waving .bot-arm { animation: wave 1.6s ease-in-out infinite; }
.bot-arm { animation: wave 1.6s ease-in-out 3s 2, idlewave 14s ease-in-out 8s infinite; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-38deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(-38deg); } 60% { transform: rotate(-12deg); } 75% { transform: rotate(-30deg); } }
@keyframes idlewave { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-36deg); } 94% { transform: rotate(-12deg); } 97% { transform: rotate(-34deg); } }
.bot-eyes { animation: blink 5s infinite; transform-origin: 20px 17.5px; transform-box: view-box; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.bot-bulb { animation: bulb 2.4s ease-in-out infinite; }
@keyframes bulb { 50% { opacity: .35; } }
.bot-bubble { position: fixed; right: 22px; bottom: 76px; z-index: 41; max-width: 230px; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px 14px 4px 14px;
  padding: 10px 14px; font-size: .88rem; box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.bot-bubble.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bot-arm, .bot-eyes, .bot-bulb { animation: none !important; } }

/* ---------- premium motion pass: slower, softer easing everywhere ---------- */
:root { --ease: cubic-bezier(.22, .61, .21, 1); --t-fast: .35s; --t-med: .55s; --t-slow: .9s; }
.btn { transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.card { transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease) !important; }
.card::after, .sf::after { transition: opacity var(--t-med) var(--ease); }
.src, .news-item, .post-nav a, .tabs button, .seg button, .opt, .dd-feature, .mi { transition: all var(--t-fast) var(--ease); }
.reveal { transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transform: translateY(24px); }
.ticker-track { animation-duration: 85s; }
.bar .fill, .scale div { transition-duration: .9s; transition-timing-function: var(--ease); }

/* dropdown menus: fade and glide instead of snapping open */
@media (min-width: 901px) {
  .dd-menu { display: block !important; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-38%, 10px) scale(.985); transform-origin: top center;
    transition: opacity .38s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
  .dd.open .dd-menu, .dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-38%, 0) scale(1);
    transition: opacity .38s var(--ease), transform .45s var(--ease), visibility 0s; }
  .dd:hover .dd-menu { transition-delay: .06s; }
  .dd-btn { position: relative; }
  .dd-btn::before { content: ""; position: absolute; left: 0; right: 14px; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
  .dd:hover .dd-btn::before, .dd.open .dd-btn::before { transform: scaleX(1); }
  .dd-btn::after { transition: transform .45s var(--ease); }
  .dd:hover .dd-btn::after, .dd.open .dd-btn::after { transform: rotate(225deg) translateY(-1px); }
  .dd-menu { padding: 20px; border-radius: 16px; background: rgba(21, 25, 27, .96); backdrop-filter: blur(14px); }
  .dd-grid > div a { border-radius: 8px; padding: 7px 8px !important; margin: 0 -8px; }
  .dd-grid > div a:hover { background: rgba(255, 255, 255, .035); }
}
@media (max-width: 900px) {
  .dd-menu { display: block !important; max-height: 0; overflow: hidden; padding: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease), padding .5s var(--ease); }
  .dd.open .dd-menu { max-height: 720px; opacity: 1; padding-bottom: 12px; }
}

/* pop-up: softer, slower entrance */
.pop-back { transition: opacity .6s var(--ease), backdrop-filter .6s var(--ease); backdrop-filter: blur(0); }
.pop-back.in { backdrop-filter: blur(4px); }
.pop { transform: translateY(26px) scale(.96); opacity: 0; transition: transform .75s var(--ease) .08s, opacity .6s var(--ease) .08s; }
.pop-back.in .pop { transform: none; opacity: 1; }
.pop-cover .pop-bars span { transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); }
.pop-back.in .pop-bars span { transform: scaleY(1); }
.pop-back.in .pop-bars span:nth-child(2) { transition-delay: .35s; } .pop-back.in .pop-bars span:nth-child(3) { transition-delay: .45s; }
.pop-back.in .pop-bars span:nth-child(4) { transition-delay: .55s; } .pop-back.in .pop-bars span:nth-child(5) { transition-delay: .65s; }
.pop-back.in .pop-bars span:nth-child(1) { transition-delay: .25s; }
@media (max-width: 620px) { .pop { transform: translateY(100%); } }
.help { display: block !important; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right;
  transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s linear .5s; }
.help.open { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s; }
@media (prefers-reduced-motion: reduce) {
  .dd-menu, .pop, .pop-back, .help, .pop-bars span { transition: none !important; }
}

/* parallax layers */
.px-sec { position: relative; overflow: hidden; isolation: isolate; }
.px-sec > .wrap, .px-sec > div:not(.px-layer) { position: relative; z-index: 1; }
.px-layer { position: absolute; inset: -160px 0; z-index: 0; pointer-events: none; }
.px-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(160, 176, 168, .26) 1.1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); will-change: transform; }
.px-orb { position: absolute; width: 520px; height: 520px; right: -120px; top: 80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(76, 195, 138, .13), transparent 70%); will-change: transform; }
.px-layer.alt .px-grid { -webkit-mask-image: radial-gradient(ellipse 60% 55% at 20% 50%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 60% 55% at 20% 50%, #000 15%, transparent 72%); }
.px-layer.alt .px-orb { left: -160px; right: auto; top: 30%; background: radial-gradient(closest-side, rgba(76, 195, 138, .09), transparent 70%); }
.hero::before { display: none; }

/* ---------- wordmark ---------- */
.brand { gap: 10px; }
.brand-name { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.42rem; letter-spacing: -0.005em; line-height: 1; color: #f3f6f4;
  display: inline-block; white-space: nowrap; overflow: hidden; max-width: 200px; transition: max-width .6s var(--ease), opacity .45s var(--ease), transform .6s var(--ease); }
.brand-name i { font-style: italic; color: var(--accent); }
footer .brand-name { font-size: 1.3rem; }
@media (max-width: 640px) {
  .top.scrolled .brand-name { max-width: 0; opacity: 0; transform: translateX(-8px); }
  .brand img { transition: transform .6s var(--ease); }
  .top.scrolled .brand img { transform: scale(1.08); }
}

/* ---------- attention badge on the main CTA ---------- */
.cta-badge { position: relative; }
.badge { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #ef6b5b; color: #fff;
  font: 600 .7rem/19px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--bg); animation: badge 2.8s var(--ease) infinite; }
@keyframes badge { 0%, 70%, 100% { transform: scale(1); box-shadow: 0 0 0 2px var(--bg), 0 0 0 0 rgba(239, 107, 91, .5); }
  80% { transform: scale(1.12); box-shadow: 0 0 0 2px var(--bg), 0 0 0 7px rgba(239, 107, 91, 0); } }
@media (max-width: 900px) { .nav .badge { top: 4px; right: auto; left: 128px; } }

/* ---------- side paragraphs: tie them to their section instead of floating ---------- */
.sec-head > p { border-left: 2px solid var(--accent-line); padding: 4px 0 4px 18px; color: var(--ink-2); line-height: 1.65; }
.light .sec-head > p { color: var(--light-muted); }
.muted { color: #9fa9a3; }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } .brand-name { transition: none; } }

/* ---------- book to cash, scroll-driven ---------- */
#journey { height: 260vh; padding: 0; border-top: 1px solid var(--line); }
.journey-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; overflow: hidden; }
.journey-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; width: 100%; }
.j-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 6px; }
.j-steps li { padding: 12px 16px; border-left: 2px solid var(--line-2); opacity: .45; transition: opacity .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease); border-radius: 0 10px 10px 0; }
.j-steps li b { display: block; font-weight: 500; color: #f3f6f4; }
.j-steps li span { color: var(--muted); font-size: .9rem; }
.j-steps li.on { opacity: 1; border-color: var(--accent); background: var(--accent-soft); }
.j-stage { position: relative; }
.j-svg { width: 100%; height: auto; overflow: visible; }
.leaf-r { fill: #e9eeeb; stroke: #c9d1cc; }
.leaf-l { font: 600 40px Georgia, serif; fill: #0b2014; opacity: 0; }
.leaf-lines rect { fill: #b8c2bc; }
.j-counter { position: absolute; right: 8px; top: 0; text-align: right; }
.j-counter b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  #journey { height: 220vh; }
  .journey-grid { grid-template-columns: 1fr; gap: 16px; }
  .j-steps { grid-template-columns: 1fr 1fr; margin-top: 14px; }
  .j-steps li span { display: none; }
  .journey-sticky h2 { font-size: 1.6rem; }
  .j-counter { position: static; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { #journey { height: auto; } .journey-sticky { position: static; height: auto; padding: 80px 0; } }

/* why us */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.why-item { display: flex; gap: 16px; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .5s var(--ease); text-decoration: none; }
.why-item:nth-child(3n) { border-right: 0; }
.why-item:nth-last-child(-n+3) { border-bottom: 0; }
.why-item:hover { background: rgba(76, 195, 138, .04); }
.why-n { font: 500 1.9rem/1 var(--sans); letter-spacing: -0.04em; color: var(--accent); min-width: 44px; }
.why-item h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.why-item p { margin: 0; }
.why-cta { background: var(--accent-soft); }
.why-cta:hover { background: rgba(76, 195, 138, .18); }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } .why-item { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; } .why-item:nth-child(2n) { border-right: 0 !important; } .why-item:nth-last-child(-n+2) { border-bottom: 0 !important; } }
@media (max-width: 620px) { .why { grid-template-columns: 1fr; } .why-item { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .why-item:last-child { border-bottom: 0 !important; } }

/* tracker header and buyer cards */
.deal-live { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.live-pill { display: inline-flex; align-items: center; font: 600 .75rem var(--mono); letter-spacing: .12em; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 99px; padding: 4px 10px 4px 8px; }
.live-pill .live-dot { margin-right: 6px; }
.deal-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); margin-bottom: 22px; }
.deal-stats div { padding: 18px 20px; border-left: 1px solid var(--line); }
.deal-stats div:first-child { border-left: 0; }
.deal-stats b { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.03em; color: var(--accent); }
.deal-stats span { color: var(--muted); font-size: .85rem; }
@media (max-width: 700px) { .deal-stats { grid-template-columns: 1fr 1fr; } .deal-stats div:nth-child(3) { border-left: 0; } .deal-stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.new-tag { font: 600 .75rem var(--mono); font-style: normal; letter-spacing: .1em; color: #052012; background: var(--accent); border-radius: 4px; padding: 2px 6px; align-self: flex-start; }
.buyer-big { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); margin: 6px 0 2px; }
.buyer-sub { font: .75rem var(--mono); color: var(--muted); margin-bottom: 8px; }
.oc-sys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 14px; margin-bottom: 6px; }
.oc-sys .chk { font-size: .9rem; color: var(--ink-2); }
.oc-out .result { box-shadow: none; }
.oc-flags { padding-left: 18px; color: var(--ink-2); font-size: .9rem; margin: 10px 0 16px; }
.oc-flags li { margin: 6px 0; }
.oc-v { color: var(--ink); margin: 10px 0 0; }
.calc-in label { color: var(--ink-2); }

/* ---------- AI mode ---------- */
.ai-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--line-2); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: 500 .86rem var(--sans); cursor: pointer; transition: all .4s var(--ease); }
.ai-btn svg { width: 15px; height: 15px; fill: var(--accent); }
.ai-btn:hover { border-color: var(--accent-line); background: var(--accent-soft); }
html.ai-open { overflow: hidden; }
.ai-mode { position: fixed; inset: 0; z-index: 70; background: #111416; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .5s var(--ease), transform .55s var(--ease), visibility 0s linear .55s; }
.ai-mode.in { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .55s var(--ease), visibility 0s; }
.ai-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.ai-title { font-weight: 500; color: #f3f6f4; display: flex; align-items: center; gap: 10px; }
.ai-spark, .ai-orb { color: var(--accent); }
.ai-head button { background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; margin-left: 14px; }
.ai-head .ai-x { font-size: 1.5rem; line-height: 1; }
.ai-body { flex: 1; overflow-y: auto; padding: 24px 16px; display: flex; flex-direction: column; }
.ai-intro { margin: auto; max-width: 680px; text-align: center; transition: opacity .4s var(--ease); }
.ai-orb { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1.2rem; margin-bottom: 18px; }
.ai-intro h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.ai-sugg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; text-align: left; }
.ai-sugg button { background: transparent; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer; transition: all .4s var(--ease); }
.ai-sugg button small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.ai-sugg button:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.ai-mode.chatting .ai-intro { display: none; }
.ai-log { width: 100%; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { width: fit-content; flex-shrink: 0; max-width: 85%; padding: 12px 15px; border-radius: 14px; line-height: 1.55; animation: msgin .45s var(--ease); }
.ai-msg p { margin: 0 0 8px; max-width: none; } .ai-msg p:last-child { margin: 0; }
.ai-msg.user { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--accent-line); color: #f3f6f4; border-bottom-right-radius: 4px; }
.ai-msg.bot { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.ai-msg a { color: var(--accent); }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } }
.dots { display: inline-flex; gap: 4px; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-form { width: calc(100% - 32px); max-width: 760px; margin: 0 auto 10px; display: flex; align-items: flex-end; gap: 10px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 10px 10px 10px 16px; }
.ai-form textarea { flex: 1; resize: none; border: 0 !important; background: transparent !important; padding: 8px 0 !important; color: var(--ink); font: inherit; outline: none !important; max-height: 160px; }
.ai-send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f3f6f4; color: #0b0c0f; font-size: 1.1rem; cursor: pointer; flex: none; transition: transform .3s var(--ease); }
.ai-send:hover { transform: translateY(-1px); background: var(--accent); }
.ai-foot { text-align: center; font-size: .75rem; color: var(--muted); margin: 0 16px 14px; }
.ai-foot a { color: var(--muted); }
.help-foot .ask-ai { background: var(--accent); }
@media (max-width: 900px) { .ai-btn { margin: 4px 0; } }
@media (max-width: 620px) { .ai-sugg { grid-template-columns: 1fr; } .ai-msg { max-width: 92%; } }
.ai-sugg button { text-align: left; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- footer, rebuilt ---------- */
footer { padding: 72px 0 28px; background: var(--bg); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; align-items: start; }
.foot-brand p { color: var(--muted); font-size: .92rem; margin: 14px 0 20px; max-width: 30ch; }
.foot-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-cta .btn { padding: 10px 16px; font-size: .88rem; }
.foot-mail { color: var(--ink-2) !important; font-size: .88rem; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.foot-mail:hover { color: var(--accent) !important; border-color: var(--accent-line); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
footer h4 { font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
footer li { margin: 0; }
footer li a { color: var(--ink-2); font-size: .9rem; text-decoration: none; transition: color .35s var(--ease); }
footer li a:hover { color: #f3f6f4; }
.foot-legal { display: flex; gap: 24px; align-items: baseline; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; }
.foot-legal span { font: .75rem var(--mono); color: var(--muted); white-space: nowrap; }
.foot-legal p { margin: 0; font-size: .76rem; line-height: 1.6; color: #7f8a84; }
footer .cols, footer .legal { display: none; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; gap: 40px; } .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } .foot-legal { flex-direction: column; gap: 8px; } }

/* ---------- typography and spacing pass (whole site) ---------- */
body { font-size: 16.5px; line-height: 1.62; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption, .lede { text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.038em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); letter-spacing: -0.032em; line-height: 1.1; }
h3 { font-size: 1.12rem; letter-spacing: -0.012em; line-height: 1.3; }
h4 { font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.lede { font-size: 1.14rem; line-height: 1.6; max-width: 50ch; }
p { max-width: 70ch; }
.card p, .card li { line-height: 1.6; }
.small { font-size: .9rem; }
.card .small, .card p.small { font-size: .9rem; }
.eyebrow { font-size: .75rem; letter-spacing: .14em; margin-bottom: 16px; }
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.sec-head { margin-bottom: 36px; gap: 32px; }
.sec-head h2 { max-width: 20ch; }
.sec-head > p { max-width: 44ch; font-size: .98rem; }
.card { padding: 24px 24px 22px; }
.grid { gap: 16px; }
.btn { letter-spacing: -0.005em; }
@media (max-width: 620px) { section { padding: 72px 0; } section.tight { padding: 56px 0; } body { font-size: 16px; } .sec-head { gap: 16px; } }

/* menus: no wrapped links, no tall empty cards */
.dd-grid { align-items: start; }
.dd-grid > div a { white-space: nowrap; }
.dd-feature { align-self: start; }
@media (min-width: 901px) { .dd-grid { grid-template-columns: auto auto 250px !important; column-gap: 30px; } }

/* ---------- pricing page ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.price-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; }
.price-card .eyebrow { margin: 0 0 4px; }
.price-card h3 { margin: 0; }
.price { font-size: 2.3rem; font-weight: 500; letter-spacing: -0.04em; color: #f3f6f4; line-height: 1.1; margin: 6px 0 4px; }
.price small { font-size: .9rem; color: var(--muted); letter-spacing: 0; font-weight: 400; margin-left: 4px; }
.price-card .more { margin-top: auto; padding-top: 14px; color: var(--accent); font-size: .9rem; }
.featured-price { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(76,195,138,.09), var(--panel) 60%); }
.price-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.price-strip a { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; text-decoration: none; border-left: 1px solid var(--line); transition: background .4s var(--ease); }
.price-strip a:first-child { border-left: 0; }
.price-strip a:hover { background: var(--accent-soft); }
.price-strip b { font-weight: 500; color: #f3f6f4; font-size: .95rem; }
.price-strip span { color: var(--accent); font-size: .86rem; }
.subnav { position: sticky; top: 64px; z-index: 15; background: rgba(12, 14, 15, .88); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: .88rem; padding: 7px 13px; border-radius: 99px; transition: all .35s var(--ease); }
.subnav a:hover, .subnav a.on { color: #f3f6f4; background: var(--accent-soft); }
.breakdown h4 { margin-top: 18px; }
.bd-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.bd-row:last-of-type { border-bottom: 0; }
.bd-row span { color: var(--ink-2); }
.bd-row b { font-weight: 500; color: #f3f6f4; text-align: right; }
.bd-table { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; background: var(--panel); }
table.ex td, table.ex th, .bd-table td, .bd-table th { padding: 10px 6px; }
.acc { color: var(--accent) !important; }
.plan .price { font-size: 1.9rem; }
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.terms-grid div { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.terms-grid div:nth-child(4n) { border-right: 0; }
.terms-grid div:nth-last-child(-n+4) { border-bottom: 0; }
.terms-grid b { font-weight: 500; color: #f3f6f4; }
.terms-grid span { color: var(--muted); font-size: .88rem; }
.refer-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.refer-steps > div { border-top: 2px solid var(--accent-line); padding-top: 16px; }
.refer-steps h3 { margin: 6px 0 6px; }
@media (max-width: 900px) { .price-cards, .price-strip { grid-template-columns: 1fr; } .price-strip a { border-left: 0; border-top: 1px solid var(--line); } .price-strip a:first-child { border-top: 0; }
  .terms-grid { grid-template-columns: 1fr 1fr; } .terms-grid div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; } .terms-grid div:nth-child(2n) { border-right: 0 !important; }
  .refer-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .terms-grid, .refer-steps { grid-template-columns: 1fr; } .terms-grid div { border-right: 0 !important; } }
section[id] { scroll-margin-top: 120px; }
@media (min-width: 901px) {
  .nav > .dd:last-of-type .dd-menu { left: auto; right: -150px; transform: translate(0, 10px) scale(.985); transform-origin: top right; }
  .nav > .dd:last-of-type.open .dd-menu, .nav > .dd:last-of-type:hover .dd-menu, .nav > .dd:last-of-type:focus-within .dd-menu { transform: translate(0, 0) scale(1); }
}

/* ---------- final polish: wordmark, badge ---------- */
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.03em; color: #f3f6f4; }
.brand-name b { font-weight: 600; color: var(--accent); margin-left: 1px; }
footer .brand-name { font-size: 1.02rem; }
.badge { top: -4px; right: -4px; min-width: 15px; height: 15px; padding: 0 4px; font: 700 .58rem/15px var(--sans); background: var(--accent); color: #052012;
  box-shadow: 0 0 0 2px var(--bg); animation: badge2 3.2s var(--ease) infinite; }
@keyframes badge2 { 0%, 75%, 100% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 0 rgba(76, 195, 138, .45); } 85% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 6px rgba(76, 195, 138, 0); } }
.cta-badge .badge { background: #f3f6f4; color: #0b2014; }
@media (max-width: 900px) { .nav .badge { top: 6px; right: auto; left: 122px; } }
.cta-badge .badge { background: #17633d; color: #eafff3; }

/* records to revenue: filled, framed stage */
#journey { height: 230vh; background: var(--bg-2); }
.journey-sticky { align-items: center; }
.journey-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; }
.journey-grid h2 { margin-bottom: 12px; }
.j-steps { margin-top: 22px; }
.j-stage { padding: 22px 24px 20px; min-height: min(560px, 70vh); display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.j-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.j-top b { display: block; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 500; letter-spacing: -0.035em; color: var(--accent); font-variant-numeric: tabular-nums; }
.j-stagename { font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 99px; padding: 5px 11px; white-space: nowrap; }
.j-svg { flex: 1; margin: 8px 0 10px; max-height: 52vh; }
.j-progress { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.j-progress div { height: 100%; width: 0; background: var(--accent); border-radius: 99px; }
.j-counter { display: none; }
@media (max-width: 900px) { #journey { height: 200vh; } .j-stage { min-height: 0; } .j-svg { max-height: 34vh; } .journey-grid p.muted { display: none; } }

/* ---------- spacing pass: one consistent rhythm across the site ---------- */
section { padding: 84px 0; }
section.tight { padding: 64px 0; }
.hero { padding: 84px 0 80px; }
.hero.tight { padding: 72px 0 56px; }
.sec-head { margin-bottom: 30px; align-items: flex-end; }
.sec-head h2 { margin-bottom: 0; }
h2 + p, h2 + .muted { margin-top: 0; }
.grid { gap: 16px; }
.grid + .grid, .criteria + .grid { margin-top: 16px; }
.hero .cta { margin: 26px 0 16px; }
.lede { margin-bottom: 0; }
.post { padding: 48px 0 72px; }
.subnav + section { padding-top: 64px; }
@media (max-width: 620px) { section { padding: 60px 0; } section.tight { padding: 48px 0; } .hero { padding: 56px 0 56px; } .sec-head { margin-bottom: 22px; } }
.brand-name b { margin-left: .26em; }

/* ---------- round 3 fixes ---------- */
/* estimator steps: slide in without starting invisible */
.step.on { animation: stepin .5s var(--ease); }
@keyframes stepin { from { transform: translateY(8px); } }
/* buyer-type chips: tidy grid on phones */
.rail { gap: 10px 26px; }
@media (max-width: 620px) {
  .rail { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .9rem; }
  .rail span { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--panel); text-align: left; }
}
/* phone menu: Pricing, then Free valuation, then AI mode; badge on the button's corner */
@media (max-width: 900px) {
  .nav > a.btn { order: 1; }
  .nav > .ai-btn { order: 2; }
  .nav .badge { top: -6px; right: -6px; left: auto; }
  .nav > a.btn { align-self: flex-start; }
}
@media (max-width: 640px) {
  .brand-name { display: inline-block; white-space: nowrap; overflow: hidden; max-width: 160px; transition: max-width .5s var(--ease), opacity .4s var(--ease), transform .5s var(--ease); }
  .top { transition: transform .45s var(--ease); }
  .top.hide { transform: translateY(-100%); }
}

/* records to revenue: four scenes */
#journey { height: 300vh; }
.scene { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.scanline { opacity: 0; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateY(140px); opacity: 0; } }
.flow { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.j-steps li { cursor: pointer; position: relative; padding-left: 34px; opacity: .5; }
.j-steps li::before { content: ""; position: absolute; left: 10px; top: 16px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg-2); transition: all .45s var(--ease); }
.j-steps li.done::before { background: var(--accent); border-color: var(--accent); }
.j-steps li.on { opacity: 1; }
.j-steps li.on::before { content: "▶"; width: auto; height: auto; border: 0; background: none; color: var(--accent); font-size: .85rem; top: 12px; left: 9px; animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }
.j-steps li.on b { color: var(--accent); font-weight: 600; }
.j-steps li.on span { color: var(--ink-2); }
.j-top { align-items: center; }
.j-svg { max-height: 54vh; }
#journey.static { height: auto; } #journey.static .journey-sticky { position: static; height: auto; padding: 84px 0; } #journey.static .scene { opacity: 1; }
@media (max-width: 900px) {
  #journey { height: 320vh; }
  .journey-sticky { align-items: flex-start; padding-top: 18px; }
  .j-steps { grid-template-columns: 1fr; gap: 2px; margin-top: 10px; }
  .j-steps li { padding: 7px 10px 7px 32px; }
  .j-steps li span { display: none; }
  .j-steps li.on span { display: block; font-size: .85rem; }
  .j-steps li::before { top: 11px; }
  .j-steps li.on::before { top: 7px; }
  .journey-grid h2 { font-size: 1.5rem; }
  .journey-grid > div > p.muted { display: none; }
  .j-stage { padding: 14px; }
  .j-svg { max-height: 38vh; }
}
@media (prefers-reduced-motion: reduce) { .scanline, .flow, .j-steps li.on::before { animation: none; } }
/* competition card */
.offers-head { margin-bottom: 18px; }
.offers-head .illus-label { display: block; margin-bottom: 6px; }
.offers-head h3 { margin: 0; font-size: 1.2rem; }
.bid { grid-template-columns: minmax(0, 1.25fr) 1fr 64px; gap: 14px; }
.bid span { color: var(--ink-2); line-height: 1.35; }
.bid span b { display: block; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.bid.win span, .bid.win > b { color: var(--accent); }
.bid.win .t div { background: var(--accent); box-shadow: 0 0 12px rgba(76,195,138,.4); }
@media (max-width: 520px) { .bid { grid-template-columns: 1fr 56px; } .bid .t { grid-column: 1 / -1; order: 3; } }

/* ---------- the basics chapter ---------- */
.basics { background: var(--bg-2); }
.basics-grid .card { padding-top: 22px; }
.b-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.keep-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.keep-strip > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 16px 18px; border-left: 1px solid var(--line); }
.keep-strip > div:first-child { border-left: 0; }
.keep-strip b { font-weight: 500; color: #f3f6f4; }
.keep-strip span:last-child { grid-column: 2; color: var(--muted); font-size: .88rem; }
.ks-ok, .ks-no { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.ks-ok { background: var(--accent-soft); color: var(--accent); }
.ks-no { background: var(--red-soft); color: var(--red); }
.glossary { margin-top: 16px; border: 1px dashed var(--line-2); border-radius: 14px; padding: 18px 20px; }
.glossary dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 12px 0 0; }
.glossary dt { font-weight: 500; color: var(--accent); margin-bottom: 4px; }
.glossary dd { margin: 0; color: var(--ink-2); font-size: .88rem; line-height: 1.55; }
.next-ch { margin: 22px 0 0; font-size: .95rem; }
.next-ch a { color: var(--accent); }
.sec-head p a, .sec-head > p a { color: var(--accent); }
@media (max-width: 900px) { .keep-strip { grid-template-columns: 1fr; } .keep-strip > div { border-left: 0; border-top: 1px solid var(--line); } .keep-strip > div:first-child { border-top: 0; } .glossary dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .glossary dl { grid-template-columns: 1fr; } }

/* ---------- chapter map ---------- */
.chapters { position: fixed; left: 0; right: 0; top: 64px; z-index: 18; background: rgba(12, 14, 15, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transform: translateY(-110%); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease), top .45s var(--ease); pointer-events: none; }
.chapters.show { transform: none; opacity: 1; pointer-events: auto; }
.chapters .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.chapters .wrap::-webkit-scrollbar { display: none; }
.chapters a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); text-decoration: none; font-size: .84rem; padding: 6px 12px; border-radius: 99px; transition: all .4s var(--ease); }
.chapters a i { font: 500 .75rem var(--mono); font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.chapters a.done i { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chapters a.on { color: #f3f6f4; background: var(--accent-soft); }
.chapters a.on i { background: var(--accent); border-color: var(--accent); color: #052012; }
body.hdr-hidden .chapters { top: 0; }
section[id] { scroll-margin-top: 118px; }
#journey .journey-sticky { top: 112px; height: calc(100vh - 112px); }
@media (max-width: 640px) { #journey .journey-sticky { top: 50px; height: calc(100vh - 50px); } }
@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .journey-grid .eyebrow { margin-bottom: 8px; }
  .journey-grid h2 { font-size: 1.45rem; margin-bottom: 4px; }
  .j-steps { grid-template-columns: 1fr 1fr !important; gap: 6px; margin-top: 8px; }
  .j-steps li { border-left: 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 8px 30px; font-size: .9rem; }
  .j-steps li.on { grid-column: 1 / -1; border-color: var(--accent-line); }
  .j-steps li.on span { display: block; }
  .j-steps li::before { left: 10px; top: 13px; width: 10px; height: 10px; }
  .j-steps li.on::before { top: 8px; left: 10px; }
  .j-stage { padding: 12px; }
  .j-svg { max-height: 36vh; margin: 6px 0; }
}
.journey-grid > * { min-width: 0; }
.journey-grid { width: 100%; max-width: 100%; }
.j-stage { width: 100%; max-width: 100%; }
.j-svg { width: 100%; }
@media (max-width: 900px) { .j-top .illus-label { display: none; } .j-stagename { font-size: .75rem; } }
/* accessibility fixes */
.foot-h { font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 16px; }
.panel-title { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em; color: #f3f6f4; margin: 0 0 16px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #052012 !important; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
main { display: block; }
.brand-name b { margin-left: 0; }
.j-steps li { opacity: 1; }
.j-steps li b { color: var(--ink-2); }
.j-steps li span { color: #8f9a94; }
.j-steps li:not(.on):not(.done) b { color: #a7b1ab; }

/* ---------- journey: redaction and entrance animations, scroll cue ---------- */
.scene .rise, .scene .drop, .scene .pop, .scene .rd-new { opacity: 0; }
.scene.on .rise { animation: jRise .6s var(--ease) var(--d, 0s) both; }
.scene.on .drop { animation: jDrop .55s var(--ease) var(--d, 0s) both; }
.scene.on .pop { animation: jPop .5s var(--ease) var(--d, 0s) both; }
.scene .pop { transform-box: fill-box; transform-origin: center; }
.scene .rd-bar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.scene.on .rd-bar { animation: jBar .35s var(--ease) var(--d, 0s) forwards; }
@keyframes jOut { to { opacity: 0; } }
.scene.on .rd-old { animation: jOut .01s linear var(--d, 0s) forwards; }
.scene.on .rd-new { animation: jFade .35s var(--ease) var(--d, 0s) forwards; }
.scene.on .scanline { animation: jScan 1.5s var(--ease) .15s both; }
.scene.on .pii { animation: jPii 1.8s ease-in-out infinite; }
@keyframes jRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes jDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes jPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes jBar { to { transform: scaleX(1); } }
@keyframes jFade { to { opacity: 1; } }
@keyframes jScan { 0% { opacity: 0; transform: translateY(0); } 10%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(96px); } }
@keyframes jPii { 50% { fill: #f9b9ad; } }
.j-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; }
.j-foot .j-progress { flex: 1; position: relative; overflow: visible; }
.j-progress i { position: absolute; top: -3px; width: 2px; height: 10px; margin-left: -1px; background: var(--line-2); border-radius: 2px; }
#j-bar { position: relative; transition: width .2s linear; box-shadow: 0 0 12px rgba(76, 195, 138, .45); }
#j-bar::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); animation: jHead 1.8s ease-in-out infinite; }
@keyframes jHead { 0%, 100% { box-shadow: 0 0 0 0 rgba(76, 195, 138, .45); } 50% { box-shadow: 0 0 0 6px rgba(76, 195, 138, 0); } }
.j-hint { display: inline-flex; align-items: center; gap: 7px; font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: opacity .4s var(--ease); }
.j-hint svg { width: 12px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.j-wheel { fill: var(--accent); stroke: none; animation: jWheel 1.6s var(--ease) infinite; }
@keyframes jWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(6px); opacity: 0; } 100% { opacity: 0; } }
.j-hint.gone { opacity: 0; }
.j-count { font: 500 .75rem var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .scene .rise, .scene .drop, .scene .pop, .scene .rd-new { opacity: 1; animation: none !important; }
  .scene .rd-bar, .scene .scanline, .scene .pii, #j-bar::after, .j-wheel { animation: none !important; }
  .scene .rd-bar, .scene .rd-old { opacity: 0; }
}

/* ---------- closing CTA: centred ---------- */
.cta-end .wrap { text-align: center; }
.cta-end p { margin-left: auto; margin-right: auto; }

/* ---------- FAQ: quick-answers card in the left column ---------- */
.faq-art { margin-top: 34px; padding: 22px; max-width: 420px; }
.fa-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fa-head b { display: block; font-weight: 600; }
.fa-head span { font-size: .85rem; color: var(--muted); }
.fa-bot { width: 44px; height: 44px; flex: none; overflow: visible; }
.fa-chat { display: grid; gap: 8px; margin-bottom: 18px; }
.fa-chat p { margin: 0; font-size: .9rem; line-height: 1.5; padding: 10px 14px; border-radius: 14px; max-width: 88%; }
.fa-q { justify-self: end; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); border-bottom-right-radius: 4px; }
.fa-a { justify-self: start; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
@media (max-width: 900px) { .faq-art { display: none; } }

/* ---------- basics: not a people-search broker ---------- */
.not-broker { margin: 18px 0 0; max-width: none; padding: 14px 18px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 12px; color: var(--ink-2); font-size: .95rem; }
.not-broker b { color: var(--ink); font-weight: 600; }

/* ---------- journey: location label pulse, dot background ---------- */
.j-loc { animation: jLoc 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes jLoc { 50% { opacity: .35; transform: scale(.7); } }
.journey-sticky > .wrap { position: relative; z-index: 1; }
.journey-sticky > .px-layer .px-grid { -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 50%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 75% 65% at 60% 50%, #000 20%, transparent 78%); }
@media (prefers-reduced-motion: reduce) { .j-loc { animation: none; } }

/* ---------- desktop: sections use the full page width, like the journey ---------- */
@media (min-width: 1100px) {
  .wrap { max-width: 1560px; padding: 0 44px; }
  .journey-grid { max-width: 1560px; }
}

/* ---------- footer legal: centred, stacked ---------- */
.foot-legal { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.foot-legal p { max-width: 100%; width: 100%; }
.fl-co b { font-weight: 400; white-space: nowrap; display: inline-block; }
.foot-legal p i { font-style: normal; color: var(--line-2); margin: 0 .55em; }
.foot-legal .fl-note { color: #66706b; font-size: .75rem; }

/* ---------- chapter bar centred on desktop (it scrolls sideways on smaller screens) ---------- */
@media (min-width: 1100px) { .chapters .wrap { justify-content: center; } }
@media (max-width: 700px) { .fl-co i { display: none; } .fl-co b { display: block; } }

/* ---------- bento process grids (insolvency, partners) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bt { grid-column: span 12; display: grid; gap: 24px; align-content: start; padding: 30px; border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.bt:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.bt.s4 { grid-column: span 4; } .bt.s8 { grid-column: span 8; } .bt.s12 { grid-column: span 12; }
.bt.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 32px; }
.bt.wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
.bt-tag { display: flex; align-items: center; gap: 10px; font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.bt-tag b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-weight: 600; letter-spacing: 0; }
.bt h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 12px; font-weight: 500; }
.bt p { color: var(--muted); margin: 0; line-height: 1.6; }
.bt .bt-em { color: var(--accent); font-weight: 500; margin-top: 16px; }
.bt-ico { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.bt-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bt-ico.solid { background: var(--accent); width: 36px; height: 36px; } .bt-ico.solid svg { stroke: #052012; fill: #052012; width: 16px; height: 16px; }
.bt-chip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.bt-chip b, .desk-head b, .dash-head b { display: block; font-weight: 600; font-size: .95rem; }
.bt-chip span, .desk-head span, .dash-head span { font-size: .8rem; color: var(--muted); }
/* hub: a core with systems orbiting it */
.hub { position: relative; min-height: 250px; border: 1px dashed var(--line-2); border-radius: 20px; overflow: hidden;
  background-image: radial-gradient(rgba(160, 176, 168, .18) 1px, transparent 1.3px); background-size: 18px 18px; }
.hub::before { content: ""; position: absolute; left: 50%; top: 50%; width: 72%; height: 58%; transform: translate(-50%, -50%); border: 1px solid var(--line-2); border-radius: 50%; }
.hub-core { position: absolute; left: 50%; top: 50%; width: 128px; height: 128px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 3px; text-align: center;
  background: radial-gradient(circle at 35% 30%, #2f8f62, #13402c); box-shadow: 0 0 0 10px rgba(76, 195, 138, .08), 0 18px 40px rgba(0, 0, 0, .45); animation: hubPulse 3s ease-in-out infinite; }
.hub-core svg { width: 22px; height: 22px; fill: none; stroke: #e8fff2; stroke-width: 1.7; }
.hub-core b { font: 600 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #f3f6f4; }
.hub-core span { font-size: .75rem; color: #bfe9d2; letter-spacing: .04em; text-transform: uppercase; }
@keyframes hubPulse { 50% { box-shadow: 0 0 0 18px rgba(76, 195, 138, .03), 0 18px 40px rgba(0, 0, 0, .45); } }
.hub-n { position: absolute; padding: 7px 12px; border-radius: 99px; font-size: .78rem; font-weight: 500; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); white-space: nowrap; animation: hubFloat 5s ease-in-out infinite; }
.hub-n.n1 { left: 6%; top: 10%; } .hub-n.n2 { right: 6%; top: 12%; animation-delay: -1s; } .hub-n.n3 { left: 5%; bottom: 14%; animation-delay: -2s; }
.hub-n.n4 { right: 5%; bottom: 14%; animation-delay: -3s; } .hub-n.n5 { left: 50%; bottom: 4%; transform: translateX(-50%); animation-name: hubFloatC; animation-delay: -4s; }
@keyframes hubFloat { 50% { transform: translateY(-5px); } }
@keyframes hubFloatC { 0%, 100% { transform: translateX(-50%); } 50% { transform: translate(-50%, -5px); } }
/* request desk: status rows */
.desk { padding: 18px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 8px; }
.desk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.st-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: .88rem; }
.st-row em, .dash-row em { font-style: normal; font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.st-row em::before, .dash-row em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok { color: var(--accent); } .st-run { color: #7fd3a9; } .st-wait { color: #e0b25a; }
.st-run::before { animation: stPulse 1.4s ease-in-out infinite; }
@keyframes stPulse { 50% { opacity: .3; } }
/* dial */
.dial { position: relative; justify-self: center; width: 156px; height: 156px; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center;
  background: radial-gradient(circle at 40% 35%, rgba(224, 178, 90, .16), rgba(224, 178, 90, .05)); border: 1px solid rgba(224, 178, 90, .35); }
.dial span { font: 500 .75rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #e0b25a; }
.dial b { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.dial i { position: absolute; top: 14px; right: 16px; width: 22px; height: 22px; animation: dialSpin 6s linear infinite; }
.dial i svg { width: 100%; height: 100%; fill: none; stroke: #e0b25a; stroke-width: 2; stroke-linecap: round; }
@keyframes dialSpin { to { transform: rotate(360deg); } }
/* dashboard */
.dash { border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dash-head b { font: 600 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.dash-badge { font-size: .75rem !important; font-weight: 600; color: #e0b25a !important; padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(224, 178, 90, .35); background: rgba(224, 178, 90, .08); white-space: nowrap; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.dash-stats > div { padding: 16px 20px; border-right: 1px solid var(--line); }
.dash-stats > div:last-child { border-right: 0; }
.dash-stats b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.dash-stats b.acc { color: var(--accent); } .dash-stats b.amb { color: #e0b25a; }
.dash-stats span { font-size: .78rem; color: var(--muted); }
.dash-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.dash-row:last-child { border-bottom: 0; } .dash-row b { font-weight: 500; }
@media (max-width: 1000px) {
  .bt.s4, .bt.s8 { grid-column: span 12; }
  .bt.split, .bt.wide { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .bt { padding: 22px; border-radius: 20px; gap: 20px; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-stats > div:nth-child(2) { border-right: 0; } .dash-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hub { min-height: 310px; } .hub-n { font-size: .75rem; padding: 6px 10px; } .hub-n.n1, .hub-n.n2 { top: 7%; } .hub-n.n5 { bottom: 3%; }
  .hub-core { width: 108px; height: 108px; }
}
@media (prefers-reduced-motion: reduce) { .hub-core, .hub-n, .st-run::before, .dial i { animation: none; } }


/* ---------- bento flow: connectors running between tiles (1 → 2 ↓ 3 → 4 ↓ 5) ---------- */
.bento { gap: 30px; }
.bt { position: relative; }
.bt::after { content: ""; position: absolute; z-index: 2; pointer-events: none; display: none;
  background: repeating-linear-gradient(var(--dir, 90deg), var(--accent) 0 5px, transparent 5px 10px); background-size: var(--bs, 20px 2px); animation: btFlow 1.2s linear infinite; }
.bt::before { content: ""; position: absolute; z-index: 2; pointer-events: none; display: none; width: 0; height: 0; border: 5px solid transparent; }
@keyframes btFlow { to { background-position: var(--bp, 20px 0); } }
@media (min-width: 1001px) {
  .bento > .bt:nth-child(1)::after, .bento > .bt:nth-child(3)::after { display: block; right: -31px; top: 50%; width: 32px; height: 2px; }
  .bento > .bt:nth-child(1)::before, .bento > .bt:nth-child(3)::before { display: block; right: -33px; top: calc(50% - 4px); border-left-color: var(--accent); }
  .bento > .bt:nth-child(2)::after, .bento > .bt:nth-child(4)::after { display: block; left: 50%; bottom: -31px; width: 2px; height: 32px; --dir: 180deg; --bs: 2px 20px; --bp: 0 20px; }
  .bento > .bt:nth-child(2)::before, .bento > .bt:nth-child(4)::before { display: block; left: calc(50% - 4px); bottom: -34px; border-top-color: var(--accent); }
}
@media (max-width: 1000px) {
  .bento > .bt:not(:last-child)::after { display: block; left: 50%; bottom: -31px; width: 2px; height: 32px; --dir: 180deg; --bs: 2px 20px; --bp: 0 20px; }
  .bento > .bt:not(:last-child)::before { display: block; left: calc(50% - 4px); bottom: -34px; border-top-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .bt::after { animation: none; } }
@media (min-width: 1001px) {
  /* tile 2 sits above tile 3's right edge: drop its arrow a quarter in so it lands on tile 3 */
  .bento > .bt:nth-child(2)::after { left: 25%; } .bento > .bt:nth-child(2)::before { left: calc(25% - 4px); }
}

/* ---------- UI/UX audit fixes (ui-ux-pro-max rules) ---------- */
/* focus-not-obscured: anchored sections and focused controls clear the sticky header and chapter bar */
html { scroll-padding-top: 124px; }
@media (max-width: 640px) { html { scroll-padding-top: 72px; } }
/* tap-delay */
a, button, summary, label, input, select, textarea, [role=button] { touch-action: manipulation; }
/* contrast: legal footnote */
.foot-legal .fl-note { color: #8b958f; }
/* target size: 24px minimum on desktop, 44px on touch screens */
.btn { min-height: 44px; }
summary { padding: 6px 0; min-height: 44px; align-items: center; }
details { padding: 12px 0; }
.ticker-item { display: inline-flex; align-items: center; min-height: 32px; }
.foot-mail { display: inline-block; padding: 10px 0 4px; }
.brand { min-height: 44px; }
.menu-btn { width: 44px; height: 44px; display: none; place-items: center; padding: 0; }
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
@media (max-width: 900px) { .menu-btn { display: grid; } }
@media (max-width: 900px) {
  .chapters a, .subnav a { min-height: 44px; }
  .seg button, .tabs button, .dd-btn, .ai-btn { min-height: 44px; }
  .foot-cols a { display: inline-block; padding: 8px 0; }
  .ticker-item { min-height: 44px; }
  .small, p.small, .panel-foot { font-size: .94rem !important; }   /* 15px body copy on phones */
}
/* viewport units: dynamic viewport height where supported, so mobile toolbars don't cut the pinned stage */
@supports (height: 100dvh) {
  .nav { max-height: calc(100dvh - 64px); }
  #journey .journey-sticky { height: calc(100dvh - 112px); }
  @media (max-width: 640px) { #journey .journey-sticky { height: calc(100dvh - 50px); } }
}
/* line length: long single-line notes */
.not-broker { max-width: 80ch; }
p.small { max-width: 68ch; }
.breakdown h3.bd-h { font-size: .95rem; font-weight: 600; margin: 18px 0 10px; letter-spacing: 0; }
.foot-mail { min-height: 44px; padding: 12px 0 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* basics: two notes side by side */
.nb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.nb-row .not-broker { margin: 0; max-width: none; }
.not-broker.nb-alt { border-color: var(--line-2); background: var(--panel); }
@media (max-width: 800px) { .nb-row { grid-template-columns: 1fr; } }

/* bento connectors, refined: the line and a stroked chevron sit inside the gap, clear of both tiles */
.bt::after { background: repeating-linear-gradient(var(--dir, 90deg), var(--accent) 0 4px, transparent 4px 7px); background-size: var(--bs, 7px 2px); border-radius: 2px; opacity: .85; }
@keyframes btFlow { to { background-position: var(--bp, 7px 0); } }
.bt::before { width: 8px !important; height: 8px !important; border: 0 !important; border-style: solid !important; border-color: var(--accent) !important; border-width: 2px 2px 0 0 !important; border-radius: 1px; background: none; }
@media (min-width: 1001px) {
  .bento > .bt:nth-child(1)::after, .bento > .bt:nth-child(3)::after { right: -19px; width: 13px; height: 2px; top: calc(50% - 1px); }
  .bento > .bt:nth-child(1)::before, .bento > .bt:nth-child(3)::before { right: -23px; top: calc(50% - 4px); transform: rotate(45deg); }
  .bento > .bt:nth-child(2)::after, .bento > .bt:nth-child(4)::after { bottom: -19px; height: 13px; width: 2px; --bs: 2px 7px; --bp: 0 7px; }
  .bento > .bt:nth-child(2)::before, .bento > .bt:nth-child(4)::before { bottom: -23px; transform: rotate(135deg); }
  .bento > .bt:nth-child(4)::after { left: calc(50% - 1px); } .bento > .bt:nth-child(4)::before { left: calc(50% - 4px); }
  .bento > .bt:nth-child(2)::after { left: calc(25% - 1px); } .bento > .bt:nth-child(2)::before { left: calc(25% - 4px); }
}
@media (max-width: 1000px) {
  .bento > .bt:not(:last-child)::after { bottom: -19px; height: 13px; width: 2px; left: calc(50% - 1px); --bs: 2px 7px; --bp: 0 7px; }
  .bento > .bt:not(:last-child)::before { bottom: -23px; left: calc(50% - 4px); transform: rotate(135deg); }
}

/* dashboard pipeline rows: where each deal has got to */
.pipe-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, .9fr); align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pipe-row:last-of-type { border-bottom: 0; }
.pipe-row b { display: block; font-weight: 600; font-size: .92rem; }
.pipe-row span { font-size: .78rem; color: var(--muted); }
.pipe-row em { justify-self: end; font-style: normal; font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pipe-row em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pipe { position: relative; display: flex; justify-content: space-between; align-items: center; }
.pipe::before, .pipe::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: var(--line-2); border-radius: 2px; }
.pipe::after { right: auto; width: calc((100% - 12px) * var(--f, 0)); background: var(--accent); }
.pipe i { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line-2); }
.pipe i.on { background: var(--accent); border-color: var(--accent); }
.pipe i.now { box-shadow: 0 0 0 4px rgba(76, 195, 138, .18); animation: stPulse 1.6s ease-in-out infinite; }
.pipe-head { padding-top: 12px; padding-bottom: 4px; border-bottom: 0; }
.pipe-head .pipe::before, .pipe-head .pipe::after { display: none; }
.pipe-head .pipe i { width: auto; height: auto; border: 0; background: none; font: 500 .75rem var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dash-foot { margin: 0 !important; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--accent) !important; max-width: none; }
@media (max-width: 620px) {
  .pipe-row { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .pipe-row .pipe { grid-column: 1 / -1; grid-row: 2; }
  .pipe-head { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pipe i.now { animation: none; } }
.pipe-head .pipe i { width: 12px; display: flex; justify-content: center; white-space: nowrap; }

/* "What buyers look for": the buyer brief under each example */
.ex-out { color: var(--ink-2); }
.bw { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.bw-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.bw-head b { font-weight: 600; color: var(--ink); }
.bw-w { display: inline-flex; align-items: center; gap: 8px; }
.bw-w i { width: 64px; height: 6px; border-radius: 99px; background: var(--line-2); position: relative; overflow: hidden; }
.bw-w i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w, .5) * 100%); background: var(--accent); border-radius: 99px; }
.bw-w em { font: 500 .75rem var(--mono); font-style: normal; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.bw-use { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.bw-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.bw .bw-h { font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.bw-up ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bw-up li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink); line-height: 1.45; }
.bw-up li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.bw-side { display: grid; gap: 12px; }
.bw-side p { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.bw-low { color: #e0b25a !important; }
@media (max-width: 620px) { .bw-grid { grid-template-columns: 1fr; } .bw-head { flex-wrap: wrap; } }
.example .meta { flex-wrap: wrap; gap: 4px 14px; } .example .meta span:first-child { flex: 1 1 14rem; }

/* "Example scenario" tag: quiet, so the figures carry the card */
.tag-ex { color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); }
@media (min-width: 901px) { .nav > .ai-btn { margin-left: 4px; } }

/* ---------- motion upgrade: journey canvas behind a frosted stage ---------- */
.j-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#journey.has-canvas .px-layer { display: none; }
#journey.has-canvas .j-stage { background: linear-gradient(180deg, rgba(31, 36, 38, .38), rgba(20, 24, 26, .48));
  -webkit-backdrop-filter: blur(3px) saturate(1.15); backdrop-filter: blur(3px) saturate(1.15); border-color: rgba(76, 195, 138, .18); }
@media (max-width: 700px) { #journey.has-canvas .j-stage { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } }

/* ---------- systems grid: depth float and data glow ---------- */
.sys.depth { translate: 0 calc(var(--py, 0px) * var(--d, 1)); scale: calc(.95 + var(--d, 1) * .04); opacity: calc(.78 + var(--d, 1) * .16);
  will-change: translate; transition: box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  box-shadow: 0 0 calc(var(--g, 0) * 18px) rgba(76, 195, 138, calc(var(--g, 0) * .5));
  background-color: rgba(76, 195, 138, calc(var(--g, 0) * .14)); }
.sys.depth:nth-child(odd) { animation: sysFloat 6s ease-in-out infinite; }
.sys.depth:nth-child(even) { animation: sysFloat 7.5s ease-in-out -2s infinite; }
@keyframes sysFloat { 50% { transform: translateY(-3px); } }
.sys-card { transition: border-color .3s var(--ease); }
.sys-card:hover { border-color: rgba(76, 195, 138, .35); }

/* ---------- four offers: spring-loaded, staggered bars ---------- */
.offers.arm .bid .t div { transform: scaleX(0); transform-origin: left center; }
.offers.arm .bid > b, .offers.arm .bid > span { opacity: 0; translate: 0 6px; }
.offers.arm.in .bid .t div { transform: scaleX(1);
  transition: transform 1.1s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i, 0) * 150ms + 120ms);
  transition-timing-function: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1); }
.offers.arm.in .bid > b, .offers.arm.in .bid > span { opacity: 1; translate: 0 0; transition: opacity .5s var(--ease) calc(var(--i, 0) * 150ms + 60ms), translate .5s var(--ease) calc(var(--i, 0) * 150ms + 60ms); }

@media (prefers-reduced-motion: reduce) {
  .sys.depth { animation: none !important; translate: none; }
  .offers.arm .bid .t div { transform: none; }
  .offers.arm .bid > b, .offers.arm .bid > span { opacity: 1; translate: none; }
}

/* ---------- sticky bars follow the header as it hides on phones ---------- */
@media (max-width: 640px) { .subnav { top: 64px; transition: top .45s var(--ease); } body.hdr-hidden .subnav { top: 0; } }
@media (min-width: 641px) and (max-width: 900px) { .subnav { top: 64px; } }

/* ---------- phones: keep motion, drop the costly parts ---------- */
@media (max-width: 900px) {
  #journey.has-canvas .j-stage { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(31, 36, 38, .62), rgba(20, 24, 26, .72)); }
  .sys.depth { animation: none !important; will-change: auto; }
  .notes .drop:not(.n-top) { display: none; }
  .scene.on .notes .drop { animation: jFade .45s var(--ease) var(--d, 0s) both; }
}
/* chapter bar: labels only (numbers didn't match the section numbers) */
.chapters a i { display: none; }

/* journey scrubber: drag or click the bar to move through the steps */
.j-progress[role=slider] { cursor: grab; touch-action: none; }
.j-progress[role=slider]::before { content: ""; position: absolute; inset: -14px 0; }
.j-progress.drag { cursor: grabbing; }
.j-progress.drag #j-bar { transition: none; }
#j-bar::after { width: 12px; height: 12px; margin-top: -6px; right: -6px; transition: transform .2s var(--ease); }
.j-progress:hover #j-bar::after, .j-progress.drag #j-bar::after, .j-progress:focus-visible #j-bar::after { transform: scale(1.35); }
.j-progress:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 4px; }
/* phones: pin the journey just under the chapter bar, and keep the whole stage in view */
@media (max-width: 640px) {
  #journey .journey-sticky { top: var(--chap-h, 58px); height: calc(100vh - var(--chap-h, 58px)); padding-top: 10px; }
  @supports (height: 100dvh) { #journey .journey-sticky { height: calc(100dvh - var(--chap-h, 58px)); } }
  #journey .journey-grid .eyebrow { display: none; }
  #journey .journey-grid h2 { font-size: 1.3rem; margin-bottom: 2px; }
  #journey .j-steps { margin-top: 8px; }
  #journey .j-steps li.on span { font-size: .82rem !important; line-height: 1.4; }
  #journey .j-stage { padding: 12px 12px 10px; }
  #journey .j-svg { max-height: 30vh; margin: 4px 0 6px; }
  @supports (height: 100dvh) { #journey .j-svg { max-height: 30dvh; } }
}

/* partners: introduction flow, You → Record Yield → Your client */
.flow-wrap { border: 1px dashed var(--line-2); border-radius: 20px; padding: 26px 18px 16px; background-image: radial-gradient(rgba(160, 176, 168, .14) 1px, transparent 1.3px); background-size: 18px 18px; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1.15fr) 54px minmax(0, 1fr); align-items: center; }
.fl-node { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); }
.fl-node b { font-size: .92rem; font-weight: 600; }
.fl-node span:not(.bt-ico) { font-size: .75rem; color: var(--muted); line-height: 1.35; }
.fl-node.core { background: linear-gradient(180deg, rgba(76, 195, 138, .16), rgba(76, 195, 138, .06)); border-color: var(--accent-line); box-shadow: 0 0 0 6px rgba(76, 195, 138, .05), 0 14px 30px rgba(0, 0, 0, .35); padding: 18px 8px; }
.fl-node.core b { color: var(--accent); }
.fl-logo { width: 40px; height: 40px; }
.fl-link { position: relative; height: 40px; display: grid; place-items: center; }
.fl-link i { position: absolute; left: 4px; right: 10px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px); background-size: 7px 2px; animation: btFlow 1.2s linear infinite; }
.fl-link i::after { content: ""; position: absolute; right: -7px; top: -3px; width: 7px; height: 7px; border: solid var(--accent); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.fl-link em { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font: 500 .75rem var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
.fl-foot { margin: 16px 0 0 !important; font-size: .82rem !important; color: var(--accent) !important; text-align: center; max-width: none; }
@media (max-width: 1240px) and (min-width: 1001px), (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 260px; margin: 0 auto; }
  .fl-link { height: 46px; }
  .fl-link i { left: 50%; right: auto; top: 6px; bottom: 12px; width: 2px; height: auto; margin: 0; background: repeating-linear-gradient(180deg, var(--accent) 0 4px, transparent 4px 7px); background-size: 2px 7px; --bp: 0 7px; }
  .fl-link i::after { right: auto; left: -3px; top: auto; bottom: -6px; transform: rotate(135deg); }
  .fl-link em { top: 50%; left: calc(50% + 12px); transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) { .fl-link i { animation: none; } }
.flow { grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1.15fr) 62px minmax(0, 1fr); }
.fl-link em { white-space: normal; width: 58px; text-align: center; line-height: 1.2; top: auto; bottom: 26px; }
@media (max-width: 1240px) and (min-width: 1001px), (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .fl-link em { width: auto; white-space: nowrap; bottom: auto; text-align: left; }
}
