/* Backstop. Inset rounded panels (pale and deep navy), a medium-weight display grotesk, monospace labels and
   data callouts, real photography with data cards laid over it. Pastel mint is the highlight on dark. */
:root {
  --ink: #0b1622;
  --ink-2: #3e5062;
  --ink-3: #6a7b8c;
  --deep: #0f2235;
  --deep-2: #1c3550;
  --pale: #edf3f8;
  --mist: #f4f6f9;
  --line: #dbe3ea;
  --grid: rgba(15, 34, 53, .06);
  --accent: #a6e3c4;
  --accent-d: #86d3ae;
  --accent-ink: #1d7a52;
  --pool: #2d6cdf;
  --pool-d: #1f55b8;
  --pool-l: #dbe7fb;
  --ok: #157a5b;
  --no: #b8432f;
  --sans: "Host Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --r: 16px;
  --inset: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 90px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; }
h1 { font-size: clamp(3.1rem, 6.6vw, 5.4rem); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.3vw, 2.7rem); line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.012em; }
p { margin: 0; }
.num, dd, td, output { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 44ch; margin-top: 1.2rem; }
.sub { color: var(--ink-2); max-width: 58ch; margin-top: .9rem; font-size: 1.05rem; }
.small { font-size: .88rem; color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 6px; }

/* ---------- labels: monospace chips and data cards ---------- */
.chip { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; }
.chip i { width: 18px; height: 18px; border-radius: 4px; background: var(--deep); display: inline-grid; place-items: center; flex: none; }
.chip i::after { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.on-dark .chip, .chip.light { color: #c9d6e3; }
.on-dark .chip i, .chip.light i { background: var(--accent); }
.on-dark .chip i::after, .chip.light i::after { background: var(--deep); }
.data-card { position: absolute; z-index: 2; background: rgba(255, 255, 255, .96); border: 1px solid var(--ink); border-radius: 4px; padding: .55rem .75rem .6rem;
  font-family: var(--mono); font-size: .7rem; line-height: 1.55; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); min-width: 11rem; }
.data-card span { display: block; color: var(--ink-3); }
.data-card span::before { content: "▸ "; }
.data-card b { font-weight: 500; }
.data-card.dark { background: rgba(15, 34, 53, .92); border-color: rgba(255, 255, 255, .25); color: #fff; }
.data-card.dark span { color: #9fb2c6; }
.stat-chip { display: inline-flex; align-items: baseline; gap: .8rem; background: var(--pale); border-radius: 6px; padding: .55rem .85rem; margin-top: 1.8rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.stat-chip b { font-family: var(--sans); font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: var(--ink); }

/* ---------- announcement and navigation ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); }
.nav-in { position: relative; display: flex; align-items: center; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; text-decoration: none; justify-self: start; }
.logo svg { width: 26px; height: 26px; }
.nav nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.design-tag { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; background: var(--pale); color: var(--ink-2); padding: .2rem .5rem; border-radius: 3px; margin-left: .6rem; }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.2rem; border: 0; border-radius: 8px;
  background: var(--deep); color: var(--accent); font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.pill:hover { background: var(--deep-2); }
.pill:active { transform: scale(.98); }
.pill:disabled { opacity: .6; cursor: progress; }
.pill.ghost { background: #e9edf2; color: var(--ink); }
.pill.ghost:hover { background: #dde3ea; }
.pill.dark { background: var(--deep); color: var(--accent); }
.pill.light { background: var(--accent); color: var(--deep); }
.pill.light:hover { background: var(--accent-d); }
.pill.sm { min-height: 38px; padding: .5rem .9rem; font-size: .72rem; }
.cta-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; }
.link-arrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--pool-d); }

/* ---------- forms ---------- */
label.f { display: grid; gap: .35rem; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.f input, .f textarea, .f select { font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; width: 100%; min-height: 50px;
  border: 1px solid #c9d3dd; border-radius: 8px; padding: .7rem .9rem; transition: border-color .15s; }
.f textarea { min-height: 8rem; resize: vertical; line-height: 1.5; font-size: .95rem; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--pool); box-shadow: 0 0 0 3px var(--pool-l); }
.f input[aria-invalid="true"] { border-color: var(--no); }
.suffix { position: relative; display: block; }
.suffix i { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--mono); font-size: .8rem; color: var(--ink-3); pointer-events: none; }
.sent { color: var(--ok); font-weight: 500; font-size: .95rem; }
.field-msg { color: var(--no); font-size: .9rem; }

/* ---------- sections and panels ---------- */
section { padding: 6.5rem 0; }
.mist { background: var(--mist); }
.panel-sec { margin: 0 var(--inset); border-radius: 22px; }
section.mist, section.ink { margin: 0 var(--inset); border-radius: 22px; }
.ink, .deep { background: var(--deep); color: #fff; }
.ink .sub, .ink .lede, .deep .sub, .deep .lede { color: #b4c3d3; }
.grid-bg { background-color: #fff; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; }
.head { max-width: 760px; margin-bottom: 3rem; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .sub { margin-inline: auto; }
.page-head { margin: 0 var(--inset) var(--inset); border-radius: 22px; background: var(--pale); padding: 5rem 0 4.5rem; }
.page-head h1 { font-size: clamp(2.8rem, 5.2vw, 4.4rem); }
.page-head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; }
.page-head-in:has(> :only-child) { grid-template-columns: 1fr; }

/* ---------- home: hero ---------- */
.hero { padding: 0 var(--inset); }
.hero-panel { background: var(--pale); border-radius: 22px; padding-top: 4.5rem; padding-bottom: 1px; }
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto; padding: 0 1.5rem; }
.hero-copy .lede { margin-inline: auto; max-width: 38ch; }
.hero-copy .cta-row { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.8rem; color: var(--ink-2); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust svg { width: 17px; height: 17px; flex: none; }
.stage { position: relative; width: min(100% - 3rem, var(--wrap)); margin: 3rem auto 0; }
.stage-photo { position: relative; height: clamp(720px, 54vw, 760px); border-radius: 16px 16px 0 0; overflow: hidden; background: var(--deep); }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 55%; display: block; }
.stage .calc { position: absolute; z-index: 3; top: 1.5rem; right: 1.5rem; width: min(400px, 40%); }
.stage .dc1 { left: 2rem; bottom: 2rem; }
.stage .dc2 { left: 2rem; top: 2rem; }
.card { background: #fff; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(11, 22, 34, .45), 0 2px 6px rgba(11, 22, 34, .08); }
.calc { padding: 1.6rem; display: grid; gap: .95rem; }
.calc-title { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: .6rem; }
.calc-title::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: var(--deep) radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px); }
.calc .pill { width: 100%; }
.result { border-radius: 10px; background: var(--pale); padding: 1rem 1.1rem; display: grid; gap: .8rem; }
.result .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.result .row > span { font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.result .row b { font-size: 1.55rem; font-weight: 500; letter-spacing: -.02em; }
.result .row.get b { font-size: 1.9rem; color: var(--pool-d); }
.result .row small { display: block; text-align: right; font-size: .82rem; color: var(--ink-3); }
.result .group { font-size: .86rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: .7rem; }

/* ---------- home: statement ---------- */
.statement { position: relative; margin: var(--inset); border-radius: 22px; background: var(--deep); color: #fff; padding: 8rem 1.5rem; overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; }
.statement p { position: relative; z-index: 1; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.14; letter-spacing: -.03em; font-weight: 500; max-width: 25ch; margin: 0 auto; text-align: center; }
.statement em { font-style: normal; color: var(--accent); }
.statement .data-card { position: absolute; }
.statement .s1 { left: 6%; top: 14%; } .statement .s2 { right: 7%; top: 20%; } .statement .s3 { left: 9%; bottom: 16%; } .statement .s4 { right: 5%; bottom: 12%; }

/* ---------- feature rows: text and a photo ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 4.5rem; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature-photo { position: relative; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--pale); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-photo .data-card { left: 1.4rem; bottom: 1.4rem; }
.feature-photo .data-card.top { top: 1.4rem; bottom: auto; right: 1.4rem; left: auto; }
.cover-lists { display: grid; gap: 1.4rem; margin-top: 2rem; }
.cover-lists h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.cover-lists ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.cover-lists li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .65rem; align-items: start; }
.cover-lists li svg { width: 18px; height: 18px; margin-top: 4px; }

/* ---------- home: getting covered ---------- */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.route { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.route-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--pale); }
.route-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.route:hover .route-photo img { transform: scale(1.03); }
.route-body { padding: 1.8rem 1.6rem 1.8rem; display: grid; gap: .7rem; align-content: start; }
.route-body p { color: var(--ink-2); }
.route .pill { justify-self: start; margin-top: .5rem; }
.route form { display: grid; gap: .7rem; margin-top: .3rem; }
.route .tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- contact ---------- */
.contact-panel { margin: var(--inset); border-radius: 22px; background: var(--deep); color: #fff; padding: 6rem 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
.contact-panel .sub { color: #b4c3d3; }
.contact-form { padding: 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; color: var(--ink); }
.contact-form .full { grid-column: 1 / -1; }

/* ---------- technical paper preview ---------- */
.paper-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.paper-sheet { position: relative; display: block; aspect-ratio: 1 / .92; overflow: hidden; border-radius: 6px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 54px -22px rgba(11, 22, 34, .35); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.paper-sheet img { width: 100%; height: auto; display: block; }
.paper-sheet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(rgba(255, 255, 255, 0), #fff 82%); }
.paper-sheet .open { position: absolute; z-index: 1; left: 50%; bottom: 1.4rem; transform: translateX(-50%); pointer-events: none; }
.paper-sheet:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -22px rgba(11, 22, 34, .45); }

/* ---------- footer ---------- */
.foot { padding: 3.5rem 0 3rem; font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 1rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
.foot p { margin-top: 1rem; max-width: 54ch; }
.foot .legal { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
details.mocks { margin-top: 1rem; }
details.mocks summary { cursor: pointer; font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.mocks-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: .8rem; }
.mocks-in h4 { font-size: .85rem; margin: 0 0 .4rem; }
.mocks-in ul { margin: 0; padding-left: 1.1rem; }
.mocks-in li { margin: .25rem 0; }
@media (max-width: 560px) { .mocks-in { grid-template-columns: 1fr; } }
.foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2rem; align-content: start; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }

/* ---------- inner pages: shared ---------- */
.chart { width: 100%; height: auto; display: block; }
.panel { background: #fff; border-radius: var(--r); padding: 2rem; border: 1px solid var(--line); }
.mist .panel { border-color: transparent; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; align-items: start; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.stat { border-top: 1px solid var(--ink); padding-top: 1rem; }
.stat b { display: block; font-size: 2.3rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.stat p { color: var(--ink-2); margin-top: .4rem; font-size: .98rem; }
.tip { position: fixed; z-index: 60; background: var(--ink); color: #fff; font-size: .85rem; line-height: 1.4; padding: .55rem .7rem; border-radius: 6px; max-width: 280px; pointer-events: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 1.7rem; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 1.4rem; }
.steps p { color: var(--ink-2); margin-top: .5rem; }
.ai-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.ai-list > div { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.ai-list p { color: var(--ink-2); margin-top: .4rem; }
.rule-line { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: 10px; background: var(--pale); color: var(--ink); font-weight: 500; max-width: 70ch; }
.mist .rule-line { background: #fff; }

/* demo: claim file */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.demo-in { padding: 1.8rem; display: grid; gap: 1rem; align-content: start; border-right: 1px solid var(--line); }
.demo-out { padding: 1.8rem; background: #fbfcfd; }
.demo-out h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.file { margin: 1rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.file > div { padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line); }
.file dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.file dd { margin: .15rem 0 0; font-weight: 500; }
.flags { margin-top: 1.2rem; display: grid; gap: .5rem; }
.flag { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; }
.flag i { width: 9px; height: 9px; border-radius: 2px; flex: none; transform: translateY(-1px); }
.route-to { margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 8px; background: var(--pale); font-weight: 500; }
.read-by { margin-top: .9rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.working { display: flex; align-items: center; gap: .6rem; color: var(--ink-2); font-weight: 500; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--pool); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
table.t { width: 100%; border-collapse: collapse; font-size: .98rem; }
table.t th, table.t td { text-align: right; padding: .8rem .6rem; border-bottom: 1px solid var(--line); }
table.t th:first-child, table.t td:first-child { text-align: left; padding-left: 0; }
table.t thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; border-bottom: 1px solid var(--ink); }
table.t tr.hl td { background: var(--pool-l); font-weight: 600; }
table.t tr.hl td:first-child { padding-left: .6rem; border-radius: 8px 0 0 8px; }
table.t tr.hl td:last-child { border-radius: 0 8px 8px 0; }
table.t .neg { color: var(--no); }
table.t th.us, table.t td.us { background: var(--pool-l); font-weight: 600; }
table.t thead th.us { border-radius: 8px 8px 0 0; color: var(--ink); }
table.roles th:nth-child(2) { text-align: left; }
table.roles td:first-child { width: 22%; }
table.roles td:last-child { width: 14%; font-weight: 500; font-size: 1.15rem; }

/* pricing */
.price-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.jobs { display: grid; gap: .4rem; }
.jobs button { font: inherit; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; text-align: left; width: 100%;
  padding: .85rem 1.05rem; border-radius: 10px; border: 1px solid transparent; background: #fff; color: var(--ink); cursor: pointer; min-height: 54px; }
.jobs button:hover { border-color: #c9d3dd; }
.jobs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.jobs .nm { font-weight: 500; }
.jobs .pr { font-weight: 600; text-align: right; }
.jobs .pr small { display: block; font-weight: 400; color: var(--ink-3); font-size: .8rem; }
.formula { margin-top: 1.2rem; color: var(--ink-2); font-size: .97rem; }
.formula b { color: var(--ink); font-weight: 600; }
.panel h3 { margin-bottom: .4rem; }
.ctl-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; max-width: none; }
.salary-ctl { width: 260px; }
.stats { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.stats > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.2rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.stats b { font-size: 1.9rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats p { color: var(--ink-2); }
.stats small { display: block; color: var(--ink-3); margin-top: .3rem; font-size: .88rem; }
.panel.flat { padding: 0; background: none; border: 0; overflow-x: auto; }
.panel.flat .chart { min-width: 760px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px; gap: 3px; margin-bottom: 1.2rem; flex-wrap: wrap; }
.seg button { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; border: 0; background: none;
  padding: .55rem 1rem; border-radius: 6px; cursor: pointer; color: var(--ink-2); min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--deep); color: var(--accent); }

/* business */
details.assume { margin-top: 1.5rem; color: var(--ink-2); font-size: .95rem; }
details.assume summary { cursor: pointer; font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
details.assume ul { margin: .7rem 0 0; padding-left: 1.2rem; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.channels > div { background: #fff; border-radius: var(--r); padding: 1.7rem; }
.channels p { color: var(--ink-2); margin-top: .5rem; }
.channels .terms { margin-top: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .feature, .page-head-in, .paper-in, .contact-in, .two, .price-in, .foot-in, .demo { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .routes, .three, .steps, .channels { grid-template-columns: 1fr; }
  .demo-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage .calc { position: relative; top: auto; right: auto; width: auto; margin: -5rem 1rem 0; }
  .stage .dc2 { display: none; }
  .statement .data-card { display: none; }
  .nav nav { gap: 1.2rem; }
  .nav-cta .ghost { display: none; }
}
@media (max-width: 760px) {
  html { font-size: 16px; }
  :root { --inset: 8px; }
  section { padding: 4.5rem 0; }
  .hero-panel { padding-top: 3.5rem; }
  .nav-in { flex-wrap: wrap; height: auto; padding-top: .7rem; }
  .nav nav { position: static; transform: none; order: 3; width: 100%; gap: 1.3rem; overflow-x: auto; white-space: nowrap; padding: .55rem 0 .6rem; }
  .nav nav a { font-size: .9rem; }
  [id] { scroll-margin-top: 120px; }
  .nav-cta .ghost { display: none; }
  .stage-photo { height: 360px; }
  .stage .dc1 { display: none; }
  .contact-form, .file { grid-template-columns: 1fr; }
  .stats > div { grid-template-columns: 1fr; gap: .3rem; }
  .salary-ctl { width: 100%; }
  }

/* ---------- how it works: from joining to getting paid ---------- */
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.four li { border: 1px solid var(--line); }
.mist .steps.four li { border-color: transparent; }
.risk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; margin-top: 2.5rem; }
.risk-grid .panel h3 { font-size: 1.1rem; }
.risk-grid .panel .layer-tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-top: .2rem; }
.method { margin-top: 1.4rem; font-size: .95rem; color: var(--ink-2); max-width: 75ch; }
.method b { color: var(--ink); font-weight: 600; }

/* ---------- motion: one entrance, a little drift, words that land ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(14% 5% 0 5% round 16px); } to { clip-path: inset(0 0 0 0 round 16px 16px 0 0); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.stage-photo { animation: unveil 1.2s var(--ease) .3s both; }
.stage .calc { animation: pop .7s var(--ease) .7s both; }
.stage .data-card { animation: pop .6s var(--ease) .95s both, drift 7s ease-in-out 1.6s infinite; }
.stage .dc1 { animation-delay: 1.1s, 2.4s; }
.feature-photo .data-card { animation: drift 8s ease-in-out infinite; }
.statement.anim .w { opacity: .18; transition: opacity .6s var(--ease); }
.statement.anim.in .w { opacity: 1; }
@media (max-width: 1000px) {
  .steps.four, .risk-grid { grid-template-columns: 1fr; }
}

/* the stage photo always leaves room for the calculator with its result */
.stage { margin-bottom: 0; }
.stage-photo { border-radius: 16px 16px 0 0; }
.paper-sheet .data-card.top-left { top: 1.2rem; left: 1.2rem; }

/* Business: where each premium goes, one bar adding up to 100% */
.split { margin: 0 0 2.25rem; }
.split-bar { display: flex; gap: 3px; height: 72px; border-radius: 16px; overflow: hidden; background: var(--line); }
.split-bar > div { flex: 0 0 calc(var(--w) - 3px); min-width: 4px; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: 0 1.1rem; transform-origin: left; overflow: hidden; white-space: nowrap; }
.split-bar b { font-size: 1.45rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.split-bar span { font-size: .85rem; opacity: .85; }
.split-key { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: .9rem; font-size: .92rem; color: var(--ink-3); }
.split-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .45rem; vertical-align: -1px; }
.split-key b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .split-bar { height: 60px; } .split-bar b { font-size: 1.15rem; } .split-bar span { display: none; } }

