/* Woerka public site
   Palette from the brand poster. Type: Archivo (variable width + weight)
   and JetBrains Mono for labels and figures. No framework; sections are
   plain blocks with a 12-column grid where needed. */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo.woff2?v=08d43e00a0") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono.woff2?v=4ddda428ca") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
/* Metric-matched fallback reduces layout shift while fonts load. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 88%;
  descent-override: 21%;
}

:root {
  --charcoal: #111315;
  --graphite: #1a1d20;
  --gunmetal: #31363a;
  --steel: #9a9fa3;
  --offwhite: #f2f0e9;
  --stone: #eae6dc;
  --nearblack: #17191a;
  --orange: #d86b32;
  --orange-hi: #e5824d;
  --burnt: #b95424;
  --orange-ink: #a3471c; /* orange for text on light backgrounds (AA) */
  --muted: #585e63;      /* secondary text on light backgrounds (AA) */
  --rule-dark: #2b2f33;
  --rule-light: #d3cec2;

  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--nearblack);
  background: var(--offwhite);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--charcoal); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px;
  background: var(--orange); color: var(--charcoal); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.25rem); font-stretch: 112%; font-weight: 760; letter-spacing: -0.032em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-stretch: 110%; letter-spacing: -0.028em; }
h3 { font-size: 1.3rem; font-stretch: 106%; line-height: 1.2; }
h4 { font-size: 1.05rem; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 40em; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: "//"; color: var(--orange-ink); font-weight: 700; letter-spacing: 0; }
.dark .label { color: var(--steel); }
.dark .label::before { color: var(--orange); }
.mono { font-family: var(--mono); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.brandword { font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--orange); color: var(--charcoal); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { border-color: currentColor; background: transparent; }
.dark .btn-ghost { color: var(--offwhite); border-color: #5b6166; }
.dark .btn-ghost:hover { border-color: var(--offwhite); }
.light .btn-ghost:hover, .btn-ghost:hover { background: rgba(17, 19, 21, .05); }
.btn .arrow { font-family: var(--mono); }
.link-arrow {
  display: inline-flex; gap: 8px; align-items: baseline;
  font-weight: 650; text-decoration: none; color: var(--orange-ink);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.dark .link-arrow { color: var(--orange); }
.link-arrow:hover { color: var(--nearblack); }
.dark .link-arrow:hover { color: var(--offwhite); }
.prose a, .text-link { color: var(--orange-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .text-link:hover { color: var(--nearblack); }

/* ---------- Surfaces ---------- */

.dark { background: var(--charcoal); color: var(--offwhite); }
.graphite { background: var(--graphite); color: var(--offwhite); }
.stone { background: var(--stone); }
.dark .muted, .graphite .muted { color: var(--steel); }
.muted { color: var(--muted); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.rule-top { border-top: 1px solid var(--rule-light); }
.dark .rule-top, .graphite .rule-top { border-color: var(--rule-dark); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 52rem; }
.section-head .lede { margin: 0; }
.section-head.split {
  max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end;
}
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 19, 21, .98); color: var(--offwhite);
  border-bottom: 1px solid var(--rule-dark);
}
/* No backdrop-filter here: it makes the header the containing block for the
   fixed mobile menu panel, which then collapses to the header's height. */
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; line-height: 1; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 4px; list-style: none; }
.nav-main a {
  display: block; padding: 8px 12px; text-decoration: none; font-size: .95rem; font-weight: 500; color: #d7d5ce;
  border-bottom: 2px solid transparent;
}
.nav-main a:hover { color: var(--offwhite); }
.nav-main a[aria-current="page"] { color: var(--offwhite); border-bottom-color: var(--orange); }
.header-cta { display: none; }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border: 1px solid #4a5055; border-radius: var(--radius);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--offwhite); }
.menu-panel {
  position: fixed; left: 0; right: 0; top: 72px; bottom: 0; overflow-y: auto;
  background: var(--charcoal); border-top: 1px solid var(--rule-dark); padding: 24px var(--gutter) 40px;
}
.menu-panel ul { list-style: none; }
.menu-panel li a {
  display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--rule-dark);
  text-decoration: none; font-size: 1.35rem; font-stretch: 110%; font-weight: 650;
}
.menu-panel li a::after { content: "→"; font-family: var(--mono); color: var(--orange); }
.menu-panel .btn { width: 100%; margin-top: 28px; }
.menu-panel .btn + .btn { margin-top: 12px; }
@media (min-width: 1080px) {
  .nav-main { display: block; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 10px 18px; font-size: .95rem; }
  .menu { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: start; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero .label { display: flex; }
.hero h1 { margin: 24px 0 28px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { color: #d4d2cb; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--rule-dark);
}
.spec-strip div { padding: 18px 16px 0 0; }
.spec-strip dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.spec-strip dd { margin: 6px 0 0; font-weight: 600; font-size: 1rem; }
@media (min-width: 700px) { .spec-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Stacked tiers: the brand's "___ Woerka" wordplay as a price list. */
.tier-stack { list-style: none; border-top: 1px solid var(--rule-dark); }
.tier-stack li { border-bottom: 1px solid var(--rule-dark); }
.tier-stack a {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 16px;
  padding: 18px 0 16px; text-decoration: none;
}
.tier-stack .tw { grid-column: 1 / -1; white-space: nowrap; font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.45rem, 2.35vw, 2.15rem); line-height: 1; letter-spacing: -0.01em; }
.tier-stack .tw span { color: #6d7378; transition: color .15s ease; }
.tier-stack .tp { grid-row: 2; grid-column: 2; font-family: var(--mono); font-size: .8rem; color: var(--steel); text-align: right; white-space: nowrap; }
.tier-stack .td { grid-row: 2; grid-column: 1; font-size: .95rem; color: var(--steel); }
.tier-stack .tx { grid-row: 3; grid-column: 1 / -1; font-family: var(--mono); font-size: .76rem; line-height: 1.5; color: #8a9095; }
/* Home page variant: plain description and price lead, the wordmark is a small label */
.tier-stack.plain a { gap: 6px 16px; }
.tier-stack.plain .tw { grid-column: 1; grid-row: 1; font-size: .82rem; letter-spacing: .06em; }
.tier-stack.plain .tp { grid-row: 1; font-size: .95rem; color: var(--offwhite); }
.tier-stack.plain .tplain { grid-row: 2; grid-column: 1 / -1; font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: var(--offwhite); }
.tier-stack.plain .tx { grid-row: 3; }
.founder-strip { display: flex; align-items: center; gap: 18px; max-width: 46em; }
.founder-strip img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.founder-strip p { margin: 0; }
.tier-stack a:hover .tw span, .tier-stack a:focus-visible .tw span { color: var(--orange); }
.tier-stack-caption { margin-top: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #7d8388; }

/* ---------- Page header (inner pages) ---------- */

.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); margin: 22px 0 24px; max-width: 18ch; }
.page-hero .lede { color: #d4d2cb; margin: 0; }
.page-hero .hero-actions { margin-top: 32px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5d6368; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--offwhite); }

/* ---------- Grids & lists ---------- */

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.numbered { list-style: none; counter-reset: n; }
.numbered > li { counter-increment: n; border-top: 1px solid var(--rule-light); padding-top: 20px; }
.dark .numbered > li, .graphite .numbered > li { border-color: var(--rule-dark); }
.numbered > li::before {
  content: counter(n, decimal-leading-zero); display: block; margin-bottom: 18px;
  font-family: var(--mono); font-size: .8rem; color: var(--orange-ink); letter-spacing: .08em;
}
.dark .numbered > li::before { color: var(--orange); }
.numbered h3 { margin-bottom: 10px; }
.numbered p { margin: 0; }

.dash-list { list-style: none; }
.dash-list li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--rule-light); }
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--orange-ink); }
.dark .dash-list li, .graphite .dash-list li { border-color: var(--rule-dark); }
.dark .dash-list li::before { color: var(--orange); }

/* Services index: an editorial list, not cards. */
.index-list { list-style: none; border-top: 1px solid var(--nearblack); }
.index-list li { border-bottom: 1px solid var(--rule-light); }
.index-list a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 8px 16px; align-items: baseline;
  padding: 24px 0; text-decoration: none;
}
.index-list .ix { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.index-list h3 { font-size: clamp(1.3rem, 2.3vw, 1.85rem); transition: color .15s ease; }
.index-list p { grid-column: 2; margin: 0; color: var(--muted); max-width: 44em; }
.index-list .go { grid-row: 1; grid-column: 3; font-family: var(--mono); color: var(--orange-ink); text-align: right; }
.index-list a:hover h3 { color: var(--orange-ink); }
@media (min-width: 900px) {
  .index-list a { grid-template-columns: 60px minmax(0, 5fr) minmax(0, 6fr) 28px; }
  .index-list p { grid-column: 3; grid-row: 1; }
  .index-list .go { grid-column: 4; }
}

/* ---------- OEE panel ---------- */

.oee-panel { border: 1px solid var(--rule-dark); background: var(--graphite); }
.oee-panel header {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid var(--rule-dark); font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel);
}
.oee-rows { padding: 8px 20px 20px; }
.oee-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); }
.oee-row:last-child { border-bottom: 0; }
.oee-row .k { font-weight: 600; }
.oee-row .f { font-family: var(--mono); font-size: .78rem; color: var(--steel); grid-column: 1 / -1; }
.oee-row .v { font-family: var(--mono); font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; display: block; width: 100%; height: 6px; }
.bar .bg { fill: #2a2e32; }
.bar .fg { fill: var(--steel); }
.oee-row.total .k { font-stretch: 120%; font-weight: 800; font-size: 1.2rem; }
.oee-row.total .v { color: var(--orange); font-size: 1.6rem; }
.oee-row.total .bar .fg { fill: var(--orange); }

/* Calculator */
.calc { display: grid; gap: 32px; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.calc-fields .field-help { font-size: .82rem; }

/* ---------- Tiers ---------- */

.tiers { display: grid; gap: 0; border-top: 1px solid var(--nearblack); }
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tier { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 32px 0; border-bottom: 1px solid var(--rule-light); }
@media (min-width: 720px) { .tier { padding: 28px 28px 36px; border-left: 1px solid var(--rule-light); } .tier:nth-child(2n+1) { border-left: 0; padding-left: 0; } }
@media (min-width: 1100px) { .tier:nth-child(2n+1) { border-left: 1px solid var(--rule-light); padding-left: 28px; } .tier:first-child { border-left: 0; padding-left: 0; } }
.tier-name { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1; letter-spacing: -0.005em; }
.tier-name span { display: block; color: var(--muted); }
.tier-tag { font-weight: 600; margin: 0; }
@media (min-width: 1100px) { .tier-tag { min-height: 3.2em; } .tier > .mb-0 { min-height: 6.4em; } }
.tier-price { font-size: 1.75rem; font-weight: 700; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tier-price small { display: block; margin-top: 6px; font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tier-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin: 0; }
.tier .dash-list { font-size: .95rem; }
.tier .dash-list li { padding: 6px 0 6px 22px; }
.tier-foot { margin-top: auto; padding-top: 8px; }
.tier-examples { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Process ---------- */

.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps li { counter-increment: s; padding: 22px 24px 8px 0; border-top: 2px solid var(--rule-light); position: relative; }
.steps li:first-child { border-top-color: var(--orange); }
.dark .steps li, .graphite .steps li { border-top-color: var(--rule-dark); }
.dark .steps li:first-child { border-top-color: var(--orange); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.dark .steps li::before { color: var(--steel); }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; margin: 0; }
.dark .steps p { color: #c9c7c0; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--nearblack); }
.dark .faq { border-color: var(--offwhite); }
.faq details { border-bottom: 1px solid var(--rule-light); }
.dark .faq details { border-color: var(--rule-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: baseline;
  padding: 22px 0; font-weight: 650; font-size: 1.12rem; font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; color: var(--orange-ink); text-align: right; }
.dark .faq summary::after { color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 40px 24px 0; max-width: 46em; }
.faq .answer p { margin: 0; }

/* ---------- Cards (posts) ---------- */

.post-list { list-style: none; border-top: 1px solid var(--nearblack); }
.post-list li { border-bottom: 1px solid var(--rule-light); }
.post-list a { display: grid; gap: 8px; padding: 26px 0; text-decoration: none; }
@media (min-width: 900px) { .post-list a { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; } }
.post-list .meta { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.post-list h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 8px; }
.post-list p { margin: 0; color: var(--muted); max-width: 46em; }
.post-list a:hover h3 { color: var(--orange-ink); }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--rule-dark); }
.metrics div { padding: 20px 20px 0 0; }
.metrics strong { display: block; font-stretch: 115%; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; font-weight: 750; color: var(--orange); }
.metrics span { display: block; margin-top: 8px; color: var(--steel); font-size: .95rem; }

/* ---------- Prose (articles) ---------- */

.article-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .article-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 80px; } }
.prose { font-size: 1.125rem; line-height: 1.7; max-width: 40em; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 2em; font-stretch: 108%; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange-ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); font-size: 1.15rem; }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--stone); padding: 1px 5px; }
.prose pre { overflow-x: auto; background: var(--charcoal); color: var(--offwhite); padding: 18px 20px; font-size: .9rem; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule-light); margin: 2.4em 0; }
.table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom-color: var(--nearblack); }
.prose td:not(:first-child) { font-variant-numeric: tabular-nums; }
.aside-box { border-top: 2px solid var(--nearblack); padding-top: 20px; }
.aside-box + .aside-box { margin-top: 40px; }
/* The whole sidebar sticks as one block. Making each box sticky pins them all
   at the same offset, so they overlap once the reader scrolls. */
@media (min-width: 1000px) {
  .article-grid > aside { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
}
.toc { list-style: none; }
.toc a { display: block; padding: 7px 0; border-bottom: 1px solid var(--rule-light); text-decoration: none; font-size: .95rem; }
.toc a:hover { color: var(--orange-ink); }

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 7px; }
.field label, .field .legend { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.dark .field .opt { color: var(--steel); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background-color: #fff; color: var(--nearblack);
  border: 1px solid #b9b3a6; border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--nearblack) 50%), linear-gradient(135deg, var(--nearblack) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.dark .field input, .dark .field select, .dark .field textarea { background-color: var(--graphite); color: var(--offwhite); border-color: #454b50; }
.dark .field select { background-image: linear-gradient(45deg, transparent 50%, var(--offwhite) 50%), linear-gradient(135deg, var(--offwhite) 50%, transparent 50%); }
.field-help { font-size: .88rem; color: var(--muted); margin: 0; }
.dark .field-help { color: var(--steel); }
.field-error { font-size: .9rem; font-weight: 600; color: #a1260d; margin: 0; }
.dark .field-error { color: #ff9a7a; }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-color: #a1260d; }
.form-alert { padding: 14px 16px; border-left: 3px solid #a1260d; background: #f7e6df; color: #6e1a09; font-weight: 600; }
.dark .form-alert { background: #2d1b15; color: #ffb49b; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot .field-help { max-width: 30em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* CTA band */
.cta-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.cta-grid h2 { margin: 20px 0 20px; }
.contact-lines { list-style: none; margin-top: 32px; border-top: 1px solid var(--rule-dark); }
.contact-lines li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); }
.contact-lines span { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.contact-lines a { text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--orange); }

/* ---------- Footer ---------- */

.site-footer { background: var(--charcoal); color: #c9c7c0; font-size: .95rem; border-top: 1px solid var(--rule-dark); }
.footer-top { display: grid; gap: 40px; padding: 72px 0 56px; }
@media (min-width: 640px) and (max-width: 899px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px; } }
.footer-brand p { margin: 20px 0 0; max-width: 24em; }
.footer-top h2 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.footer-top ul { list-style: none; }
.footer-top li a { display: inline-block; padding: 5px 0; text-decoration: none; }
.footer-top li a:hover { color: var(--offwhite); }
.footer-word {
  font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: .85; letter-spacing: -0.02em;
  font-size: clamp(3rem, 14vw, 12rem); color: #1f2326; user-select: none;
  padding-top: 8px; overflow: hidden; white-space: nowrap;
}
.footer-legal { border-top: 1px solid var(--rule-dark); padding: 24px 0 32px; font-size: .82rem; color: #8f9498; display: grid; gap: 10px; }
@media (min-width: 900px) { .footer-legal { grid-template-columns: 1fr auto; align-items: start; } }
.footer-legal p { margin: 0; max-width: 60em; }
.footer-legal a { color: #c9c7c0; }

/* ---------- Misc ---------- */

.two-col { display: grid; gap: 40px; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.two-col.even { }
@media (min-width: 960px) { .two-col.even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sticky-col { align-self: start; }
@media (min-width: 960px) { .sticky-col { position: sticky; top: 104px; } }
/* Founder portrait on the About page */
.portrait { margin: 32px 0 0; max-width: 360px; }
@media (min-width: 960px) { .portrait { max-width: 320px; } }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--stone); }
.portrait figcaption { margin-top: 14px; font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--muted); }
.callout { border-left: 3px solid var(--orange); padding: 6px 0 6px 20px; }
.kicker-price { font-family: var(--mono); font-size: .85rem; color: var(--steel); }
.stack > * + * { margin-top: 20px; }
.stack-sm > * + * { margin-top: 10px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.big-number { font-stretch: 120%; font-weight: 800; font-size: clamp(4rem, 12vw, 9rem); line-height: .9; letter-spacing: -0.04em; color: var(--orange); }
.notice { border: 1px dashed var(--rule-light); padding: 18px 20px; color: var(--muted); }

@media print {
  .site-header, .site-footer, .cta-band, .menu { display: none !important; }
  body { background: #fff; }
}

/* Contact page */
.steps.steps-vertical { grid-template-columns: minmax(0, 1fr); }
.steps.steps-vertical li { padding-right: 0; padding-bottom: 20px; }
.contact-lines-light { border-color: var(--rule-light); }
.contact-lines-light li { border-color: var(--rule-light); }
.contact-lines-light span { color: var(--muted); }
.contact-lines-light a:hover { color: var(--orange-ink); }
@media (max-width: 999px) { .contact-grid > :last-child { order: -1; } }

/* Experience */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; padding: 3px 8px; border: 1px solid var(--rule-light); color: var(--muted); }
.dark .tags li { border-color: var(--rule-dark); color: var(--steel); }
.provenance { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; line-height: 1.6; color: var(--muted); border-left: 2px solid var(--orange); padding-left: 14px; max-width: 46em; }
.dark .provenance { color: var(--steel); }

/* ---------- Platform ---------- */

.hero-note { margin: 16px 0 0; font-family: var(--mono); font-size: .76rem; letter-spacing: .02em; color: var(--steel); }

/* Module spine: the five modules hanging off one account. */
.spine-head, .spine-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel);
}
.spine-head { padding-bottom: 14px; border-bottom: 1px solid var(--rule-dark); }
.spine-head span + span { color: #7d8388; letter-spacing: .04em; text-transform: none; }
.spine-foot { margin-top: 14px; letter-spacing: .02em; text-transform: none; color: #8a9095; }
.spine-list { list-style: none; position: relative; }
.spine-list::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; border-left: 1px solid #4a5055; }
.spine-list li { border-bottom: 1px solid var(--rule-dark); }
.spine-list a { position: relative; display: grid; gap: 4px; padding: 15px 0 14px 32px; text-decoration: none; }
.spine-list a::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px;
  background: var(--charcoal); border: 1px solid var(--orange);
}
.spine-list a::after { content: ""; position: absolute; left: 9px; top: 25px; width: 14px; border-top: 1px solid #4a5055; }
.spine-name { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.2; transition: color .15s ease; }
.spine-line { font-size: .95rem; line-height: 1.45; color: #c9c7c0; }
.spine-list a:hover .spine-name, .spine-list a:focus-visible .spine-name { color: var(--orange); }
.spine-list a:hover::before { background: var(--orange); }

/* Connected story: one failed check, four linked records. */
.flow { margin: 0; }
.flow-grid { display: grid; }
.flow-source, .flow-out li { border: 1px solid var(--rule-dark); background: var(--graphite); }
.flow-source { padding: 20px 22px; }
.flow-source p { margin: 0; }
.flow-tag { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.flow-title { margin-top: 10px !important; font-stretch: 110%; font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.flow-fail { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--rule-dark); font-weight: 600; }
.flow-badge {
  display: inline-block; margin-right: 6px; padding: 1px 7px; vertical-align: 1px;
  background: var(--orange); color: var(--charcoal); font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.flow-spec { display: block; margin-top: 4px; font-family: var(--mono); font-size: .76rem; font-weight: 400; color: var(--steel); }
.flow-who { margin-top: 12px !important; font-size: .9rem; color: var(--steel); }
.flow-hub { position: relative; min-height: 64px; }
.flow-hub::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; border-left: 1px solid #4a5055; }
.flow-hub span {
  position: absolute; left: 26px; top: 50%; transform: translateY(-50%); padding: 3px 8px;
  border: 1px solid var(--orange); background: var(--charcoal);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--offwhite);
}
.flow-out { list-style: none; padding-left: 28px; }
.flow-out li { position: relative; display: grid; gap: 4px; padding: 14px 18px; }
.flow-out li + li { margin-top: 10px; }
.flow-out li::before { content: ""; position: absolute; left: -21px; top: 50%; width: 20px; border-top: 1px solid #4a5055; }
.flow-out li::after { content: ""; position: absolute; left: -21px; top: -11px; bottom: -1px; border-left: 1px solid #4a5055; }
.flow-out li:first-child::after { top: -1px; }
.flow-out li:last-child::after { bottom: auto; height: calc(50% + 11px); }
.flow-out strong { font-weight: 650; line-height: 1.3; }
.flow-out li > span:last-child { font-size: .92rem; line-height: 1.5; color: #c9c7c0; }
.flow figcaption { margin-top: 20px; font-family: var(--mono); font-size: .76rem; line-height: 1.6; color: var(--steel); max-width: 60em; }
.flow figcaption a { color: var(--orange); text-underline-offset: 3px; }
.flow figcaption a:hover { color: var(--offwhite); }
@media (min-width: 960px) {
  .flow-grid { grid-template-columns: minmax(0, 4fr) 132px minmax(0, 6fr); align-items: center; }
  .flow-hub { min-height: 0; height: 1px; }
  .flow-hub::before { left: 0; right: -8px; top: 0; bottom: auto; border-left: 0; border-top: 1px solid #4a5055; }
  .flow-hub span { left: 50%; transform: translate(-50%, -50%); }
  .flow-out li:first-child::after { top: 50%; }
}

/* Light variant of the plain tier stack (home page pricing). */
.tier-stack.light { border-top-color: var(--nearblack); }
.tier-stack.light li { border-bottom-color: var(--rule-light); }
.tier-stack.light .tw span { color: var(--muted); }
.tier-stack.light .tp, .tier-stack.light .tplain { color: var(--nearblack); }
.tier-stack.light .tx { color: var(--muted); }
.tier-stack.light a:hover .tw span, .tier-stack.light a:focus-visible .tw span { color: var(--orange-ink); }
.tier-stack.light + .tier-stack-caption { color: var(--muted); }

/* Platform page: one row per module. */
.module-rows { border-top: 1px solid var(--nearblack); }
.module-row { display: grid; gap: 16px 48px; padding: 32px 0 36px; border-bottom: 1px solid var(--rule-light); scroll-margin-top: 96px; }
@media (min-width: 900px) { .module-row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.module-id .ix { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: .8rem; color: var(--orange-ink); letter-spacing: .08em; }
.module-name { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; letter-spacing: -0.005em; }
.module-who { margin: 12px 0 0; font-family: var(--mono); font-size: .78rem; line-height: 1.55; color: var(--muted); max-width: 26em; }
.module-line { font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin-bottom: 14px; max-width: 34em; }
.module-row .dash-list { font-size: 1rem; }
.module-link { margin: 18px 0 0; padding-left: 14px; border-left: 2px solid var(--orange); color: var(--muted); max-width: 40em; }
.module-link span { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nearblack); }

@media (min-width: 1000px) { .steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.status-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }
.status-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--nearblack); font-size: 1.15rem; }
.status-head span { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.planned-list { list-style: none; }
.planned-list li { padding: 14px 0; border-bottom: 1px dashed #b9b3a6; }
.planned-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.planned-list .planned-title { margin-bottom: 4px; color: var(--nearblack); font-weight: 600; font-size: 1rem; }
.planned-tag {
  display: inline-block; margin-right: 6px; padding: 1px 7px; vertical-align: 1px; border: 1px dashed var(--muted);
  font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.page-hero .hero-label { margin-top: 28px; }
.page-hero .hero-label + h1 { margin-top: 18px; }
.ref { font-family: var(--mono); font-size: .9em; white-space: nowrap; }
.platform-note { display: grid; gap: 12px; max-width: 52rem; padding: 24px 0 0; border-top: 2px solid var(--nearblack); }
.platform-note p { margin: 0; }
