/* AI Station v2 — design tokens
   Paper + pine ink, stack-light signals (amber = loss/attention, green = running/ok).
   One family: Archivo, using its width axis for display type. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin.woff2") format("woff2-variations"), url("../fonts/archivo-latin.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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4f6f3;
  --surface: #ffffff;
  --ink: #10292b;
  --ink-2: #43585b;
  --ink-3: #66787a;
  --rule: #d5ddd9;
  --rule-strong: #b9c6c1;
  --pine: #0e2628;
  --pine-2: #15363a;
  --pine-3: #1d474c;
  --on-pine: #e6eeeb;
  --on-pine-2: #9fb5b2;
  --pine-line: rgba(230, 238, 235, .12);
  --signal: #e9a23b;
  --signal-ink: #8a5a0f;
  --go: #2fa36b;
  --go-ink: #1c6e48;
  --stop: #d65a43;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 4px;
  --r: 10px;
  --r-lg: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-stretch: 116%; letter-spacing: -.025em; line-height: 1.0; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); font-stretch: 110%; letter-spacing: -.018em; }
h3 { font-size: 1.3rem; font-stretch: 104%; letter-spacing: -.006em; line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.prose p, .prose li { text-wrap: pretty; }
.muted { color: var(--ink-3); }
.label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink-3); margin-bottom: .6em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--signal); color: var(--pine); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font); font-stretch: 104%;
  padding: .95em 1.4em; border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--pine-3); }
.btn-signal { background: var(--signal); color: var(--pine); }
.btn-signal:hover { background: #f3b558; }
.btn-line { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.on-pine .btn-line { border-color: var(--pine-line); color: var(--on-pine); }
.on-pine .btn-line:hover { border-color: var(--on-pine); }
.btn-sm { padding: .7em 1.05em; font-size: .9375rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--rule); }
.header-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; font-stretch: 112%; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; color: var(--ink); flex: none; }
.footer .brand svg { color: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  font: 500 .975rem/1 var(--font); color: var(--ink-2); text-decoration: none;
  padding: 10px 12px; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { color: var(--ink); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.nav > a.btn { margin-left: 10px; color: var(--paper); background: var(--ink); padding: .75em 1.1em; border-radius: var(--r-sm); box-shadow: none; }
.nav > a.btn:hover { background: var(--pine-3); color: var(--paper); }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > button::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-drop > button[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 340px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: 0 18px 40px -12px rgba(16, 41, 43, .22); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s, transform .16s var(--ease), visibility .16s;
}
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 10px; border-radius: 6px; text-decoration: none; }
.nav-menu a:hover { background: var(--paper); }
.nav-menu .pmark { grid-row: span 2; }
.nav-menu strong { font-weight: 600; font-size: .975rem; }
.nav-menu span { font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  /* backdrop-filter on the header makes it the containing block for the fixed menu,
     which pushed the menu off-screen. Drop it on small screens and use a solid background. */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px;
    overflow-x: hidden; overscroll-behavior: contain;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav-drop > button { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); width: 100%; text-align: left; border-radius: 0; }
  .nav > a[aria-current="page"] { box-shadow: none; color: var(--ink); font-weight: 600; }
  .nav-drop > button { display: none; }
  .nav-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 6px 0; background: none; }
  .nav-menu a { padding: 10px 0; }
  .nav > a.btn { margin: 18px 0 0; width: 100%; padding: 1em; }
}

/* Product marks (small glyphs) */
.pmark { width: 34px; height: 34px; border-radius: 8px; background: var(--pine); display: grid; place-items: center; }
.pmark svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section.on-pine, .on-pine + .section { border-top: 0; }
.on-pine { background: var(--pine); color: var(--on-pine); }
.on-pine .lead, .on-pine .muted { color: var(--on-pine-2); }
.on-pine .label { color: var(--on-pine-2); }
.on-white { background: var(--surface); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin: 0; max-width: 16em; }
.head p { margin: 0; color: var(--ink-2); max-width: 34em; }
.on-pine .head p { color: var(--on-pine-2); }
.head-solo { display: block; max-width: 44rem; }
.head-solo h2 { margin-bottom: .45em; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; position: relative; }
.hero-top { display: grid; grid-template-columns: 1fr; gap: 36px; }
.hero-side { display: grid; grid-template-columns: minmax(0, 36em) auto; gap: 24px 64px; align-items: end; justify-content: space-between; }
.hero-side .lead { margin: 0; }
.hero h1 { margin: 0; max-width: 14.5em; font-size: clamp(2.5rem, 6vw, 5.4rem); }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; list-style: none; font-size: .9375rem; color: var(--ink-2); }
.hero-note li { display: flex; align-items: center; gap: 8px; }
.hero-note li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--go); flex: none; }
.pill-status { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; padding: 6px 14px 6px 8px; border: 1px solid var(--rule); border-radius: 99px; background: var(--surface); text-decoration: none; }
.pill-status b { font-weight: 600; color: var(--ink); }
.stack-light { display: inline-flex; flex-direction: column; gap: 2px; }
.stack-light i { width: 14px; height: 4px; border-radius: 2px; background: var(--rule); }
.stack-light i:nth-child(3) { background: var(--go); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 900px) { .hero-side { grid-template-columns: 1fr; } }

.hero-stage { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.hero-stage::before { /* paper fades into pine to anchor the stage */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: var(--pine); z-index: -1;
}
.hero + .on-pine { padding-top: clamp(56px, 7vw, 96px); }

/* ---------- Demo stage (signal → decision) ---------- */
.stage {
  background: var(--pine); color: var(--on-pine); border-radius: var(--r-lg);
  border: 1px solid var(--pine-3);
  box-shadow: 0 40px 80px -40px rgba(8, 26, 28, .55);
  overflow: hidden; position: relative;
}
.stage-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--pine-line); flex-wrap: wrap; }
.stage-tabs { display: flex; gap: 4px; background: rgba(0, 0, 0, .18); padding: 4px; border-radius: 8px; }
.stage-tab {
  position: relative; overflow: hidden; font: 600 .9375rem/1 var(--font); font-stretch: 106%;
  color: var(--on-pine-2); background: none; border: 0; padding: 10px 16px; border-radius: 6px; cursor: pointer;
}
.stage-tab:hover { color: var(--on-pine); }
.stage-tab[aria-selected="true"] { background: var(--pine-3); color: #fff; }
.stage-tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--signal); }
.stage-ctx { font-size: .9rem; color: var(--on-pine-2); }
.stage-sample { margin-left: auto; font-size: .8125rem; font-weight: 600; color: var(--signal); border: 1px solid rgba(233, 162, 59, .4); padding: 4px 9px; border-radius: 99px; }
.stage-body { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.15fr); min-height: 420px; }
.stage-col { padding: 22px 22px 26px; }
.stage-col h3 { font-size: .9375rem; font-weight: 600; font-stretch: 100%; color: var(--on-pine-2); margin: 0 0 14px; letter-spacing: 0; }
.feed { list-style: none; display: grid; gap: 8px; }
.feed li {
  display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-items: baseline;
  padding: 11px 13px; border-radius: 8px; background: var(--pine-2); border: 1px solid var(--pine-line);
  font-size: .9375rem; line-height: 1.4;
}
.feed .src { font-size: .78rem; font-weight: 600; color: var(--on-pine-2); grid-column: 1 / -1; display: flex; justify-content: space-between; }
.feed .src time { font-weight: 500; opacity: .8; }
.feed .txt { grid-column: 1 / -1; color: var(--on-pine); }
.feed li.flag { border-color: rgba(233, 162, 59, .45); }
.feed li.flag .src > span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 6px; vertical-align: 1px; }
.feed .src span { display: inline-flex; align-items: center; }
.stage-link { position: relative; border-left: 1px solid var(--pine-line); border-right: 1px solid var(--pine-line); overflow: hidden; }
.stage-link svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-link .core {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 12px; background: var(--pine-3); border: 1px solid rgba(233,162,59,.5); display: grid; place-items: center;
  font-weight: 700; font-size: .8rem; color: var(--signal); font-stretch: 112%;
}
.stage.is-thinking .core { animation: think 1.1s ease-in-out infinite; }
@keyframes think { 50% { box-shadow: 0 0 0 8px rgba(233, 162, 59, .12); } }
.rank { list-style: none; display: grid; gap: 14px; margin-bottom: 20px; }
.rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; font-size: .9375rem; }
.rank .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rank .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--on-pine-2); transform-origin: left; }
.rank li:first-child .bar i { background: var(--signal); }
.rank b { font-weight: 600; }
.rec { border-radius: 10px; padding: 16px 18px; background: var(--on-pine); color: var(--ink); }
.rec strong { display: block; font-size: .875rem; color: var(--signal-ink); margin-bottom: 4px; }
.rec p { margin: 0 0 12px; font-size: .975rem; line-height: 1.5; }
.rec-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rec-actions span { font-size: .8125rem; font-weight: 600; padding: 6px 10px; border-radius: var(--r-sm); border: 1px solid var(--rule-strong); }
.rec-actions span:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* animation states (JS toggles) */
.stage.is-anim .feed li { opacity: 0; transform: translateY(8px); }
.stage.is-anim .feed li.in { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.stage.is-anim .rank .bar i { transform: scaleX(0); }
.stage.is-anim .rank.in .bar i { transform: scaleX(1); transition: transform .8s var(--ease); }
.stage.is-anim .rank li { opacity: .25; }
.stage.is-anim .rank.in li { opacity: 1; transition: opacity .3s; }
.stage.is-anim .rec { opacity: 0; transform: translateY(10px); }
.stage.is-anim .rec.in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.flow-path { stroke: var(--signal); stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; opacity: .0; }
.stage.is-thinking .flow-path { opacity: .8; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }

@media (max-width: 860px) {
  .stage-body { grid-template-columns: 1fr; }
  .stage-link { height: 56px; border: 0; border-top: 1px solid var(--pine-line); border-bottom: 1px solid var(--pine-line); }
  .stage-sample { margin-left: 0; }
}
@media (max-width: 520px) {
  .stage-tab { padding: 9px 11px; }
  .stage-col { padding: 18px 16px 20px; }
}

/* ---------- Principles strip ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.principles > div { padding: 4px 28px 4px 0; }
.principles > div + div { padding-left: 28px; border-left: 1px solid var(--pine-line); }
.principles strong { display: block; font-size: 1.1rem; font-stretch: 106%; margin-bottom: 6px; color: #fff; }
.principles span { color: var(--on-pine-2); font-size: .975rem; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .principles > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div, .principles > div:nth-child(3) { padding: 0 0 0 16px; border-left: 2px solid var(--signal); }
}

/* ---------- Product rows (home) ---------- */
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 72px; align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.prow + .prow { border-top: 1px solid var(--rule); }
.prow:nth-child(even) .prow-vis { order: -1; }
.prow-name { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.prow-name .pmark { width: 40px; height: 40px; }
.prow-name b { font-size: 1.05rem; font-stretch: 110%; }
.prow-name small { display: block; font-size: .875rem; color: var(--ink-3); font-weight: 500; }
.prow h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 110%; letter-spacing: -.015em; }
.prow p { color: var(--ink-2); max-width: 34em; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 22px 0 28px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border: solid var(--go); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.on-pine .ticks li::before { border-color: var(--signal); }
@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; }
  .prow:nth-child(even) .prow-vis { order: 0; }
}

/* Readouts: small product-specific visuals */
.readout { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 var(--rule); }
.readout-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-size: .9rem; color: var(--ink-3); }
.readout-h b { color: var(--ink); font-size: 1rem; }
.pareto { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; height: 170px; border-bottom: 1px solid var(--rule-strong); padding: 0 4px; }
.pareto i { display: block; background: var(--rule-strong); border-radius: 3px 3px 0 0; height: var(--h); }
.pareto i:first-child { background: var(--signal); }
.pareto-l { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; font-size: .78rem; color: var(--ink-3); padding: 8px 4px 0; line-height: 1.25; }
.readout-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--rule-strong); font-size: .9375rem; color: var(--ink-2); }
.readout-foot b { color: var(--ink); }
.wo { display: grid; grid-template-columns: 7.5em 1fr; gap: 0; font-size: .9375rem; }
.wo dt, .wo dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.wo dt { color: var(--ink-3); }
.wo dd b { font-weight: 600; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 8px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--rule); margin-left: 6px; color: var(--ink-2); }
.tag-go { color: var(--go-ink); border-color: rgba(47, 163, 107, .35); background: rgba(47, 163, 107, .08); }
.tag-signal { color: var(--signal-ink); border-color: rgba(233, 162, 59, .45); background: rgba(233, 162, 59, .1); }
.grid-controls { width: 100%; border-collapse: collapse; font-size: .9rem; }
.grid-controls th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 0 0 10px; font-size: .82rem; }
.grid-controls th:not(:first-child), .grid-controls td:not(:first-child) { text-align: center; width: 13%; }
.grid-controls td { padding: 9px 0; border-top: 1px solid var(--rule); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--go); }
.dot.warn { background: var(--signal); }
.dot.fail { background: var(--stop); }

/* ---------- Flow diagram (how it connects) ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1.1fr) 8.5rem minmax(0, 1fr) 8.5rem minmax(0, 1.1fr); align-items: stretch; gap: 0; }
.flow-col { border: 1px solid var(--pine-line); border-radius: var(--r); padding: 22px; background: var(--pine-2); }
.flow-col h3 { font-size: 1.05rem; color: #fff; margin-bottom: 4px; }
.flow-col p { font-size: .9375rem; color: var(--on-pine-2); margin-bottom: 14px; }
.flow-col ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.flow-col li { font-size: .875rem; padding: 6px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); border: 1px solid var(--pine-line); }
.flow-col.core-col { background: var(--on-pine); color: var(--ink); border-color: transparent; }
.flow-col.core-col h3 { color: var(--ink); }
.flow-col.core-col p { color: var(--ink-2); }
.flow-col.core-col li { background: var(--surface); border-color: var(--rule); }
.flow-arrow { display: grid; place-items: center; padding: 0 10px; color: var(--signal); }
.flow-arrow span { display: block; font-size: .8rem; font-weight: 600; color: var(--on-pine-2); text-align: center; line-height: 1.3; margin-top: 8px; overflow-wrap: anywhere; }
.flow-arrow svg { width: 46px; height: 14px; margin: 0 auto; }
@media (max-width: 980px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { padding: 12px 0; }
  .flow-arrow svg { transform: rotate(90deg); width: 28px; }
}

/* ---------- Timeline (pilot steps — a real sequence) ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.timeline li { position: relative; padding: 0 28px 0 0; }
.timeline li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink); font-weight: 700; font-stretch: 110%; margin-bottom: 22px; position: relative; z-index: 1;
}
.timeline li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: var(--rule-strong); }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--go); border-color: var(--go); color: #fff; }
.timeline .when { display: block; font-size: .875rem; font-weight: 600; color: var(--signal-ink); margin-bottom: 6px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); font-size: .975rem; margin: 0; }
.on-pine .timeline li::before { background: var(--pine); border-color: var(--on-pine-2); color: var(--on-pine); }
.on-pine .timeline li:last-child::before { background: var(--signal); border-color: var(--signal); color: var(--pine); }
.on-pine .timeline li::after { background: var(--pine-line); }
.on-pine .timeline .when { color: var(--signal); }
.on-pine .timeline p { color: var(--on-pine-2); }
.timeline.timeline-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .timeline, .timeline.timeline-5 { grid-template-columns: 1fr; gap: 28px; }
  .timeline li { padding: 0 0 0 62px; }
  .timeline li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline li::after { left: 19px; top: 44px; bottom: -28px; right: auto; width: 1.5px; height: auto; }
}

/* ---------- Solution map ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { font: 500 .9375rem/1 var(--font); padding: 10px 16px; border-radius: 99px; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.smap { list-style: none; border-top: 1px solid var(--ink); }
.smap > li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 11rem; gap: 12px 40px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.smap > li[hidden] { display: none; }
.smap h3 { font-size: 1.15rem; margin: 0 0 6px; }
.smap .sectors { font-size: .875rem; color: var(--ink-3); }
.smap p { margin: 0 0 8px; color: var(--ink-2); }
.smap dl { display: grid; grid-template-columns: 8.5em 1fr; gap: 4px 14px; margin: 10px 0 0; font-size: .9375rem; }
.smap dt { color: var(--ink-3); }
.smap dd { margin: 0; }
.smap .status { justify-self: end; text-align: right; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--rule-strong); white-space: nowrap; text-decoration: none; }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); }
.status-chip.is-build { border-color: rgba(47, 163, 107, .4); color: var(--go-ink); background: rgba(47, 163, 107, .07); }
.status-chip.is-build::before { background: var(--go); }
@media (max-width: 860px) {
  .smap > li { grid-template-columns: 1fr; }
  .smap .status { justify-self: start; text-align: left; order: -1; }
}
.smap-compact > li { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 0; align-items: center; }
.smap-compact h3 { margin: 0; font-size: 1.05rem; }
@media (max-width: 860px) { .smap-compact > li { grid-template-columns: 1fr auto; } .smap-compact .status { order: 0; justify-self: end; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.075rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.faq details > div p:last-child { margin: 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: end; }
.cta h2 { margin: 0 0 .35em; max-width: 14em; color: #fff; }
.cta p { margin: 0; color: var(--on-pine-2); max-width: 34em; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--ink-3); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.phero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin: 0; max-width: 15em; }
.phero .lead { margin-bottom: 24px; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 600; font-stretch: 108%; }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; } }

/* ---------- Answer box (AI/SEO-friendly summary) ---------- */
.answer { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 12px 40px; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.answer h2 { font-size: 1.05rem; font-stretch: 104%; letter-spacing: 0; margin: 0; }
.answer p { margin: 0; font-size: 1.125rem; line-height: 1.6; max-width: 44em; }
@media (max-width: 760px) { .answer { grid-template-columns: 1fr; } }

/* ---------- Two-column content blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; }
.split-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); margin: 0; }
.on-pine .feature h3 { color: #fff; }
.on-pine .feature p { color: var(--on-pine-2); }
.feature { padding-top: 18px; border-top: 2px solid var(--ink); }
.on-pine .feature { border-top-color: var(--signal); }
@media (max-width: 860px) { .split, .split-3 { grid-template-columns: 1fr; } }

.fitlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.fitlist > div { padding: 26px 28px; }
.fitlist > div + div { border-left: 1px solid var(--rule); background: var(--paper); }
.fitlist h3 { font-size: 1.1rem; }
.fitlist ul { list-style: none; display: grid; gap: 10px; }
.fitlist li { padding-left: 24px; position: relative; color: var(--ink-2); }
.fitlist .yes li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 11px; height: 6px; border: solid var(--go); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.fitlist .no li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 11px; height: 2px; background: var(--ink-3); }
@media (max-width: 760px) { .fitlist { grid-template-columns: 1fr; } .fitlist > div + div { border-left: 0; border-top: 1px solid var(--rule); } }

.connects { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.connects li { padding: 9px 14px; border: 1px solid var(--rule-strong); border-radius: var(--r-sm); background: var(--surface); font-size: .9375rem; font-weight: 500; }
.note { font-size: .9rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- Article / prose ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 48px 80px; }
.prose { max-width: 40em; font-size: 1.1rem; line-height: 1.7; }
.prose h2 { font-size: 1.6rem; font-stretch: 106%; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .975rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; border-bottom-color: var(--ink); }
.prose .formula { font-size: 1.05rem; padding: 16px 20px; background: var(--surface); border-left: 3px solid var(--signal); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 1.2em; }
.tldr { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 24px; margin-bottom: 2em; }
.tldr h2 { font-size: 1rem; margin: 0 0 8px; font-stretch: 100%; letter-spacing: 0; }
.tldr ul { margin: 0; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .9375rem; }
.aside-box { border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 28px; }
.aside-box p { color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--ink-3); font-size: .9375rem; margin-top: 22px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

.posts { list-style: none; border-top: 1px solid var(--ink); }
.posts li { border-bottom: 1px solid var(--rule); }
.posts a { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 8px 40px; padding: 28px 0; text-decoration: none; align-items: baseline; }
.posts a:hover h2 { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.posts .topic { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.posts h2 { font-size: 1.4rem; font-stretch: 106%; margin: 0 0 6px; }
.posts p { margin: 0; color: var(--ink-2); max-width: 40em; }
.posts .read { font-size: .9rem; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) { .posts a { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span { font-size: .9375rem; font-weight: 600; }
.field > span small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--rule-strong); border-radius: var(--r-sm); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(233, 162, 59, .25); }
.field.has-error input, .field.has-error textarea { border-color: var(--stop); }
.field .err { display: none; font-size: .875rem; color: #a3351f; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .9rem; color: var(--ink-3); }
.form-note.is-ok { color: var(--go-ink); }
.form-note.is-error { color: #a3351f; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); }
.calc-in { background: var(--surface); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 18px; align-content: start; }
.calc-out { background: var(--pine); color: var(--on-pine); padding: clamp(22px, 3.5vw, 36px); display: grid; align-content: start; gap: 24px; }
.calc-big { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; font-stretch: 116%; line-height: 1; letter-spacing: -.02em; color: #fff; }
.calc-out .label { color: var(--on-pine-2); }
.calc-rows { display: grid; gap: 0; border-top: 1px solid var(--pine-line); }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pine-line); font-size: .975rem; }
.calc-rows span { color: var(--on-pine-2); }
.calc-rows b { font-weight: 600; }
.input-unit { position: relative; }
.input-unit input { padding-right: 4.5em; }
.input-unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); font-size: .9rem; pointer-events: none; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--pine); color: var(--on-pine-2); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .9375rem; }
.footer a { color: var(--on-pine); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about p { max-width: 26em; }
.footer h2 { font-size: .9375rem; font-weight: 600; color: #fff; margin: 0 0 14px; letter-spacing: 0; font-stretch: 100%; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--pine-line); font-size: .875rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Reveal: progressive, content always visible without JS ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .stage, .cta-section, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* =================================================================
   Product hero visuals (one per niche). Final state is the default;
   .is-anim hides [data-at] items until JS marks them .on
   ================================================================= */
.viz { margin: 0; background: var(--pine); color: var(--on-pine); border-radius: var(--r-lg); border: 1px solid var(--pine-3); box-shadow: 0 40px 80px -40px rgba(8, 26, 28, .55); overflow: hidden; }
.viz-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--pine-line); flex-wrap: wrap; }
.viz-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.viz-title b { font-size: 1rem; font-stretch: 108%; color: #fff; }
.viz-title span { font-size: .9rem; color: var(--on-pine-2); }
.viz-bar .stage-sample { margin-left: auto; }
.viz-replay { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--pine-line); background: transparent; color: var(--on-pine); font: 600 .875rem/1 var(--font); cursor: pointer; transition: border-color .2s, background-color .2s; }
.viz-replay:hover { border-color: var(--on-pine-2); background: rgba(255, 255, 255, .04); }
.viz-replay svg { width: 16px; height: 16px; }
.viz-body { padding: 22px; }
.viz.is-anim [data-at]:not(.on) { opacity: 0; }
.viz [data-at] { transition: opacity .35s var(--ease), transform .35s var(--ease); }

/* ---------- Line: shift replay ---------- */
.ln-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 36px; align-items: end; margin-bottom: 28px; }
.ln-clock span, .ln-oee span, .ln-m > span:first-child { display: block; font-size: .85rem; color: var(--on-pine-2); margin-bottom: 4px; }
.ln-clock b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; font-stretch: 112%; line-height: 1; color: #fff; letter-spacing: -.01em; }
.ln-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ln-m b { font-size: 1.25rem; font-weight: 700; color: #fff; }
.ln-mbar { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); margin-top: 8px; overflow: hidden; }
.ln-mbar i { display: block; height: 100%; background: var(--on-pine-2); border-radius: inherit; }
.ln-oee { text-align: right; padding-left: 28px; border-left: 1px solid var(--pine-line); }
.ln-oee b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; font-stretch: 112%; line-height: 1; color: var(--signal); }
.ln-oee small { display: block; margin-top: 6px; font-size: .85rem; color: var(--on-pine-2); }
.ln-chart { position: relative; padding-top: 4px; }
.ln-reveal { clip-path: inset(-30px calc(100% - var(--p, 100%)) -4px -4px); }
.ln-cos { position: relative; height: 26px; }
.ln-co { position: absolute; top: 0; transform: translateX(-50%); font-size: .75rem; font-weight: 700; font-stretch: 110%; padding: 3px 7px; border-radius: var(--r-sm); background: var(--pine-3); color: var(--on-pine); border: 1px solid var(--pine-line); }
.ln-co::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 8px; background: var(--on-pine-2); }
.ln-track { position: relative; height: 64px; border-radius: 8px; background: var(--go); overflow: hidden; margin-top: 6px; transition: background-color .6s var(--ease); }
.viz-line:not(.is-anim) .ln-track, .viz-line.phase2 .ln-track { background: #25543f; }
.ln-seg { position: absolute; top: 0; bottom: 0; transition: opacity .5s var(--ease), box-shadow .5s; }
.ln-co-seg, .ln-seg.ln-co { background: repeating-linear-gradient(135deg, #5e7b7c 0 5px, #4a6566 5px 10px); }
.ln-seg.ln-jam { background: var(--signal); min-width: 3px; }
.ln-seg.ln-slow { background: #1c6e48; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 2px, transparent 2px 6px); }
.ln-win { position: absolute; top: 0; bottom: 0; background: rgba(230, 238, 235, .34); box-shadow: inset 2px 0 0 #fff; opacity: 0; transition: opacity .6s var(--ease); }
.ln-head { position: absolute; top: 28px; height: 74px; left: var(--p, 100%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); opacity: 0; transition: opacity .3s; }
.viz-line.is-playing .ln-head { opacity: 1; }
.ln-ticks { position: relative; height: 22px; margin-top: 8px; font-size: .78rem; color: var(--on-pine-2); }
.ln-ticks span { position: absolute; transform: translateX(-50%); }
.ln-ticks span:first-child { transform: none; }
.ln-ticks span:last-child { transform: translateX(-100%); }
.ln-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; font-size: .85rem; color: var(--on-pine-2); }
.ln-legend li { display: flex; align-items: center; gap: 8px; }
.ln-legend i { width: 18px; height: 10px; border-radius: 2px; display: block; }
.k-run { background: var(--go); } .k-jam { background: var(--signal); }
.k-co { background: repeating-linear-gradient(135deg, #5e7b7c 0 3px, #4a6566 3px 6px); }
.k-slow { background: #1c6e48; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 1px, transparent 1px 4px); }
.k-win { background: rgba(230, 238, 235, .34); box-shadow: inset 2px 0 0 #fff; }
.ln-legend-win { transition: opacity .4s; }
.ln-insight { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: 22px; padding: 16px 18px; border-radius: 10px; background: var(--on-pine); color: var(--ink); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ln-insight strong { display: block; font-size: .875rem; color: var(--signal-ink); margin-bottom: 2px; }
.ln-insight p { margin: 0; max-width: 44em; font-size: .975rem; line-height: 1.5; }
/* final / phase-2 state: the pattern is shown */
.viz-line .ln-win { opacity: 1; }
.viz-line .ln-seg:not(.hit) { opacity: .4; }
.viz-line .ln-seg.hit { z-index: 1; }
/* while animating */
.viz-line.is-anim .ln-win { opacity: 0; }
.viz-line.is-anim .ln-seg { opacity: 1; box-shadow: none; }
.viz-line.is-anim .ln-legend-win { opacity: .35; }
.viz-line.is-anim .ln-insight { opacity: 0; transform: translateY(10px); }
.viz-line.is-anim.phase2 .ln-win { opacity: 1; }
.viz-line.is-anim.phase2 .ln-seg:not(.hit) { opacity: .4; }
.viz-line.is-anim.phase2 .ln-legend-win { opacity: 1; }
.viz-line.is-anim.phase3 .ln-insight { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .ln-top { grid-template-columns: 1fr 1fr; }
  .ln-meters { grid-column: 1 / -1; order: 3; gap: 12px; }
  .ln-m b { font-size: 1.05rem; }
  .ln-track { height: 48px; }
  .ln-head { height: 58px; }
  .ln-co { font-size: .68rem; padding: 2px 4px; }
  .ln-ticks span:nth-child(even) { display: none; }
}

/* ---------- Dispatch: map ---------- */
.dp-body { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 0; padding: 0; align-items: start; background: #12302f; }
.dp-side { background: var(--pine); align-self: stretch; }
.dp-map { position: relative; aspect-ratio: 640 / 420; background: #12302f; border-right: 1px solid var(--pine-line); overflow: hidden; }
.dp-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dp-streets line { stroke: rgba(230, 238, 235, .13); stroke-width: 9; stroke-linecap: square; }
.dp-water { fill: #173f4a; }
.dp-water-l { position: absolute; right: 2%; top: 48%; font-size: .75rem; color: #6f9aa3; writing-mode: vertical-rl; letter-spacing: .02em; }
.dp-park { fill: rgba(47, 163, 107, .14); }
.dp-cand { stroke: var(--on-pine-2); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .35; }
.dp-cand.is-out { opacity: .12; }
.dp-cand.is-best { opacity: 0; }
.dp-route { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease), opacity .2s; }
.viz-dispatch.is-anim .dp-route:not(.on) { stroke-dashoffset: 1; opacity: 1; }
.viz-dispatch.is-anim .dp-cand.on { opacity: .45; }
.viz-dispatch.is-anim.decided .dp-cand.is-out, .viz-dispatch.is-anim.decided .dp-cand:not(.is-best) { opacity: .12; }
.dp-job, .dp-tech, .dp-eta { position: absolute; transform: translate(-50%, -50%); }
.dp-pin { display: block; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--signal); border: 2px solid #fff; }
.dp-pulse { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid var(--signal); animation: dp-pulse 2s ease-out infinite; }
@keyframes dp-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.viz-dispatch:not(.is-anim) .dp-pulse { animation: none; opacity: 0; }
.dp-job-l { position: absolute; left: 24px; top: -6px; white-space: nowrap; font-size: .8rem; font-weight: 700; padding: 3px 8px; border-radius: var(--r-sm); background: var(--signal); color: var(--pine); }
.viz-dispatch.is-anim .dp-job:not(.on) { transform: translate(-50%, -90%); }
.dp-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .8rem; font-weight: 700; background: var(--pine-3); color: var(--on-pine); border: 2px solid var(--on-pine-2); transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.dp-tech.is-best .dp-dot { background: var(--signal); color: var(--pine); border-color: #fff; transform: scale(1.12); }
.dp-tech.is-out .dp-dot { opacity: .55; }
.viz-dispatch.is-anim:not(.decided) .dp-tech.is-best .dp-dot { background: var(--pine-3); color: var(--on-pine); border-color: var(--on-pine-2); transform: none; }
.dp-chip { position: absolute; left: 20px; top: 20px; display: grid; gap: 2px; width: max-content; max-width: 210px; padding: 7px 10px; border-radius: 8px; background: var(--pine); border: 1px solid var(--pine-line); font-size: .78rem; line-height: 1.35; color: var(--on-pine-2); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.dp-chip b { color: var(--on-pine); font-size: .82rem; }
.dp-chip > span { display: flex; gap: 6px; align-items: flex-start; }
.dp-ico { flex: none; width: 13px; height: 13px; margin-top: 2px; }
.dp-ico svg { width: 13px; height: 13px; }
.dp-tech.is-out .dp-ico { color: var(--stop); }
.dp-tech.is-ok .dp-ico, .dp-tech.is-best .dp-ico { color: var(--go); }
.dp-tech.is-best .dp-chip { border-color: var(--signal); background: var(--pine-2); }
.dp-tech.is-out .dp-chip { opacity: .75; }
.viz-dispatch.is-anim .dp-tech.is-out .dp-chip.on { opacity: .75; }
.dp-tech.at-ld .dp-chip { left: auto; right: 20px; }
.dp-tech.at-ru .dp-chip { top: auto; bottom: 20px; }
.dp-eta { font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #fff; color: var(--pine); }
.dp-side { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dp-card { background: var(--pine-2); border: 1px solid var(--pine-line); border-radius: 10px; padding: 14px 16px; font-size: .925rem; }
.dp-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; color: var(--on-pine-2); margin-bottom: 8px; }
.dp-card b { color: #fff; }
.dp-card p { margin: 4px 0 0; color: var(--on-pine); line-height: 1.45; }
.dp-mail { border-color: rgba(233, 162, 59, .45); }
.dp-card .tag-signal { margin: 0; background: rgba(233, 162, 59, .15); color: var(--signal); border-color: rgba(233, 162, 59, .4); }
.dp-status { margin: 0; display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--on-pine-2); }
.dp-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--pine-3); border-top-color: var(--signal); flex: none; }
.viz-dispatch.is-anim:not(.decided) .dp-spin { animation: spin .8s linear infinite; }
.viz-dispatch.decided .dp-spin, .viz-dispatch:not(.is-anim) .dp-spin { border-color: var(--go); }
@keyframes spin { to { transform: rotate(360deg); } }
.dp-wo { background: var(--on-pine); color: var(--ink); border-color: transparent; }
.dp-wo .dp-card-h { color: var(--ink-3); }
.dp-wo dl { display: grid; grid-template-columns: 5.6em 1fr; margin: 0 0 12px; font-size: .875rem; }
.dp-wo dt, .dp-wo dd { margin: 0; padding: 4px 0; border-bottom: 1px solid var(--rule); }
.dp-wo dt { color: var(--ink-3); }
.dp-wo dd { font-weight: 600; }
.dp-state { font-weight: 600; font-size: .75rem; }
.dp-state .s-wait { color: var(--signal-ink); }
.dp-state .s-done { color: var(--go-ink); }
.viz-dispatch .s-wait { display: none; }
.viz-dispatch.is-anim:not(.approved) .s-wait { display: inline; }
.viz-dispatch.is-anim:not(.approved) .s-done { display: none; }
.dp-approve { display: block; text-align: center; padding: 10px; border-radius: var(--r-sm); background: var(--go-ink); color: #fff; font-weight: 600; font-size: .875rem; transition: background-color .25s, transform .15s; }
.viz-dispatch.is-anim:not(.approved) .dp-approve { background: var(--ink); }
.viz-dispatch.pressing .dp-approve { transform: scale(.97); }
.dp-toast { margin: 0; font-size: .875rem; padding: 10px 12px; border-radius: 8px; border-left: 3px solid var(--go); background: rgba(47, 163, 107, .12); color: var(--on-pine); }
.dp-toast b { color: #fff; }
.viz-dispatch.is-anim .dp-mail:not(.on), .viz-dispatch.is-anim .dp-wo:not(.on) { transform: translateY(10px); }
.viz-dispatch:not(.is-anim) .dp-status, .viz-dispatch.approved .dp-status { display: none; }
.viz-dispatch.is-anim:not(.approved) .dp-toast { display: none; }
.viz-dispatch.approved .dp-toast { animation: dp-in .4s var(--ease); }
@keyframes dp-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 900px) {
  .dp-body { grid-template-columns: 1fr; }
  .dp-map { border-right: 0; border-bottom: 1px solid var(--pine-line); }
}
.dp-chip .v-short { display: none; }
@media (max-width: 560px) {
  .dp-chip .dp-ico { display: none; }
  .dp-chip > span { display: block; }
  .dp-chip { font-size: .7rem; padding: 4px 7px; left: 12px; top: 12px; gap: 0; }
  .dp-chip b { font-size: .72rem; }
  .dp-tech.at-ld .dp-chip { right: 12px; }
  .dp-chip .v-long { display: none; }
  .dp-chip .v-short { display: inline; }
  .dp-dot { width: 24px; height: 24px; font-size: .7rem; }
  .dp-job-l { font-size: .7rem; left: auto; right: 22px; }
  .dp-water-l { display: none; }
  .dp-eta { font-size: .7rem; }
}

/* ---------- Comply: tenant scan ---------- */
.cp-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0; padding: 0; }
.cp-main { padding: 22px; border-right: 1px solid var(--pine-line); min-width: 0; }
.cp-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.cp-counts b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; font-stretch: 112%; line-height: 1; color: #fff; }
.cp-counts span { font-size: .85rem; color: var(--on-pine-2); }
.cp-tablewrap { position: relative; overflow-x: auto; }
.cp-grid { width: 100%; border-collapse: collapse; font-size: .875rem; }
.cp-grid thead th { font-weight: 500; color: var(--on-pine-2); font-size: .75rem; line-height: 1.2; padding: 0 4px 10px; text-align: center; vertical-align: bottom; }
.cp-grid thead th:first-child, .cp-grid tbody th { text-align: left; padding-left: 0; }
.cp-grid tbody th { font-weight: 500; color: var(--on-pine); padding: 7px 10px 7px 0; white-space: nowrap; }
.cp-grid td { text-align: center; padding: 7px 4px; border-top: 1px solid var(--pine-line); }
.cp-grid tbody th { border-top: 1px solid var(--pine-line); }
.cp-c { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.cp-c svg { width: 15px; height: 15px; }
.cp-ok { background: rgba(47, 163, 107, .18); color: #5fd39a; }
.cp-warn { background: rgba(233, 162, 59, .18); color: var(--signal); }
.cp-fail { background: var(--stop); color: #fff; }
.viz-comply.is-anim .cp-c:not(.on) { opacity: 1; background: rgba(255, 255, 255, .06); color: transparent; transform: scale(.7); }
.viz-comply.flagging .cp-fail { animation: cp-flag 1.2s ease-out 2; }
@keyframes cp-flag { 0% { box-shadow: 0 0 0 0 rgba(214, 90, 67, .7); } 100% { box-shadow: 0 0 0 10px rgba(214, 90, 67, 0); } }
.cp-scan { position: absolute; left: 0; right: 0; top: var(--sy, 0); height: 36px; margin-top: -4px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(233, 162, 59, .14) 70%, rgba(233, 162, 59, .5) 98%, transparent); transition: top .43s linear, opacity .3s; }
.viz-comply.scanning .cp-scan { opacity: 1; }
.cp-more { margin: 12px 0 0; font-size: .82rem; color: var(--on-pine-2); }
.cp-side { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.cp-side h3 { font-size: .95rem; color: var(--on-pine-2); font-stretch: 100%; margin: 0; }
.cp-fix { list-style: none; counter-reset: fx; display: grid; gap: 8px; }
.cp-fix li { counter-increment: fx; display: grid; grid-template-columns: 26px 1fr; gap: 0 10px; padding: 10px 12px; border-radius: 8px; background: var(--pine-2); border: 1px solid var(--pine-line); font-size: .9rem; }
.cp-fix li::before { content: counter(fx); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pine-3); font-weight: 700; font-size: .8rem; }
.cp-fix li:first-child { border-color: rgba(233, 162, 59, .5); }
.cp-fix li:first-child::before { background: var(--signal); color: var(--pine); }
.cp-fix b { color: #fff; }
.cp-fix span { color: var(--on-pine-2); font-size: .85rem; }
.viz-comply.is-anim .cp-fix li:not(.on) { transform: translateX(-12px); }
.cp-q { padding: 14px 16px; border-radius: 10px; background: var(--on-pine); color: var(--ink); }
.cp-q-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: .875rem; margin-bottom: 10px; }
.cp-q-h span { color: var(--ink-3); }
.cp-q-bar { display: block; height: 8px; border-radius: 99px; background: var(--rule); overflow: hidden; }
.cp-q-bar i { display: block; height: 100%; width: 85%; border-radius: inherit; background: var(--go); transition: width 1.3s var(--ease); }
.viz-comply.is-anim .cp-q:not(.filled) .cp-q-bar i { width: 0; }
.cp-q p { margin: 10px 0 0; font-size: .875rem; color: var(--ink-2); }
.cp-q p b { color: var(--ink); }
@media (max-width: 900px) {
  .cp-body { grid-template-columns: 1fr; }
  .cp-main { border-right: 0; border-bottom: 1px solid var(--pine-line); }
}
@media (max-width: 560px) {
  .cp-main, .cp-side { padding: 16px; }
  .cp-grid thead th span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 auto; max-height: 92px; }
  .cp-grid thead th:first-child span { writing-mode: horizontal-tb; transform: none; margin: 0; }
  .cp-grid tbody th { white-space: normal; font-size: .8rem; min-width: 7.5em; }
  .cp-c { width: 22px; height: 22px; }
  .cp-counts b { font-size: 1.4rem; }
  .cp-counts span { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-pulse { display: none; }
}

/* ---------- Supply: shortage watch ---------- */
.tag-short { color: #fff; background: var(--stop); border-color: var(--stop); }
.sp-mini td:not(:first-child), .sp-mini th:not(:first-child) { text-align: left; width: auto; }
.sp-mini .tag { margin-left: 0; }
.sp-body { display: grid; gap: 18px; }
.sp-mail { justify-self: end; width: min(460px, 100%); padding: 12px 14px; border-radius: 10px; background: var(--pine-2); border: 1px solid rgba(233, 162, 59, .5); font-size: .9rem; }
.sp-mail-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.sp-mail-h b { color: #fff; font-size: .85rem; }
.sp-mail .tag { margin: 0; background: rgba(233, 162, 59, .15); color: var(--signal); border-color: rgba(233, 162, 59, .4); }
.sp-mail p { margin: 0; color: var(--on-pine); line-height: 1.45; }
.viz-supply.is-anim .sp-mail:not(.on) { transform: translateY(-8px); }
.sp-head, .sp-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 12.5rem; gap: 16px; align-items: center; }
.sp-hl { font-size: .8rem; color: var(--on-pine-2); }
.sp-days { position: relative; height: 20px; font-size: .78rem; color: var(--on-pine-2); }
.sp-days span { position: absolute; transform: translateX(-50%); }
.sp-days span.wk::before { content: ""; position: absolute; left: -100%; top: -2px; bottom: -330px; width: 1px; background: var(--pine-line); }
.sp-today { position: absolute; top: 18px; width: 2px; height: 8px; background: var(--signal); }
.sp-rows { list-style: none; display: grid; gap: 0; margin: 6px 0 0; padding: 0; }
.sp-row { padding: 11px 0; border-top: 1px solid var(--pine-line); }
.sp-name b { display: block; color: #fff; font-size: .95rem; }
.sp-name span { font-size: .8rem; color: var(--on-pine-2); }
.sp-track { position: relative; height: 26px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 calc(10% - 1px), rgba(255,255,255,.1) calc(10% - 1px) 10%); }
.sp-cover, .sp-after, .sp-gap, .sp-min { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 4px; }
.sp-cover { background: var(--go); transform-origin: left; transition: transform .7s var(--ease), opacity .3s; }
.sp-after { background: rgba(47, 163, 107, .35); }
.sp-gap { background: repeating-linear-gradient(135deg, var(--stop) 0 6px, #b3442f 6px 12px); display: grid; place-items: center; transition: opacity .5s var(--ease); }
.sp-gap span { font-size: .68rem; font-weight: 700; color: #fff; }
.sp-min { right: auto; width: 50%; background: repeating-linear-gradient(90deg, var(--signal) 0 50%, rgba(233,162,59,.18) 50% 100%); display: flex; align-items: center; padding-left: 8px; }
.sp-min span { font-size: .72rem; font-weight: 600; color: var(--pine); white-space: nowrap; }
.sp-po { position: absolute; top: 50%; left: var(--x); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pine); box-shadow: 0 0 0 3px var(--pine); z-index: 2; transition: left .9s var(--ease), opacity .3s; }
.sp-po svg { width: 16px; height: 16px; }
.sp-po.is-unc { background: var(--pine); color: var(--signal); box-shadow: 0 0 0 2px var(--signal); }
.sp-ghost { position: absolute; top: -15px; transform: translateX(-50%); font-size: .68rem; color: var(--on-pine-2); white-space: nowrap; transition: opacity .3s; }
.sp-ghost::after { content: ""; position: absolute; left: 50%; top: 16px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 1.5px dashed var(--on-pine-2); }
.sp-status { display: flex; flex-direction: column; gap: 2px; }
.sp-st { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.sp-st-ok { background: rgba(47, 163, 107, .2); color: #5fd39a; }
.sp-st-watch { background: rgba(233, 162, 59, .18); color: var(--signal); }
.sp-st-short { background: var(--stop); color: #fff; }
.sp-status small { font-size: .78rem; color: var(--on-pine-2); line-height: 1.3; }
.sp-r-short { background: linear-gradient(90deg, rgba(214, 90, 67, .1), transparent 70%); }
.k-cover { background: var(--go); } .k-gap { background: repeating-linear-gradient(135deg, var(--stop) 0 3px, #b3442f 3px 6px); }
.k-po { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.k-po.unc { background: var(--pine); box-shadow: inset 0 0 0 2px var(--signal); }
/* animation states */
.viz-supply.is-anim .sp-cover:not(.on) { opacity: 1; transform: scaleX(0); }
.viz-supply.is-anim .sp-po.sp-moved { left: var(--x0); }
.viz-supply.is-anim.slipped .sp-po.sp-moved { left: var(--x); }
.viz-supply.is-anim:not(.slipped) .sp-ghost { opacity: 0; }
.viz-supply.is-anim:not(.gapped) .sp-gap { opacity: 0; }
.viz-supply.is-anim:not(.gapped) .sp-r-short { background: none; }
.viz-supply.is-anim:not(.judged) .sp-st { background: rgba(255,255,255,.06); color: var(--on-pine-2); }
.viz-supply.is-anim:not(.judged) .sp-status small { opacity: 0; }
.viz-supply.is-anim:not(.judged) .sp-r-short .sp-st, .viz-supply.is-anim.gapped .sp-r-short .sp-st { }
.viz-supply.is-anim.gapped .sp-r-short .sp-st { background: var(--stop); color: #fff; }
.viz-supply.is-anim.gapped .sp-r-short .sp-status small { opacity: 1; }
.viz-supply .sp-status small, .viz-supply .sp-st { transition: opacity .3s, background-color .3s, color .3s; }
.viz-supply.is-anim .sp-insight:not(.on) { transform: translateY(10px); }
@media (max-width: 860px) {
  .sp-head, .sp-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .sp-head .sp-days, .sp-track { grid-column: 1 / -1; grid-row: 2; }
  .sp-head .sp-hl:last-child { display: none; }
  .sp-status { align-items: flex-end; text-align: right; }
  .sp-days span:nth-child(even) { display: none; }
  .sp-days span.wk::before { display: none; }
  .sp-mail { justify-self: stretch; }
  .sp-ghost { display: none; }
  .sp-gap span { display: none; }
}

/* ---------- Founding pilot partners board ---------- */
.pb-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 72px; align-items: center; }
.pb-layout h2 { margin-bottom: .4em; }
.pb-layout .ticks { margin: 22px 0 30px; }
.pb { background: var(--pine); color: var(--on-pine); border-radius: var(--r-lg); padding: 8px 22px 14px; border: 1px solid var(--pine-3); }
.pb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--pine-line); }
.pb-top b { font-size: 1rem; font-stretch: 110%; color: #fff; }
.pb-top span { font-size: .85rem; color: var(--on-pine-2); }
.pb-head, .pb-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem 8.5rem; gap: 14px; align-items: center; }
.pb-head { padding: 12px 0 6px; font-size: .8rem; color: var(--on-pine-2); }
.pb-head span:last-child { text-align: right; }
.pb-rows { list-style: none; margin: 0; padding: 0; }
.pb-rows li { padding: 14px 0; border-top: 1px solid var(--pine-line); }
.pb-biz { font-size: 1.05rem; font-weight: 600; font-stretch: 106%; color: #fff; line-height: 1.3; }
.pb-prod { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--on-pine); }
.pb-prod .pmark { width: 26px; height: 26px; border-radius: 6px; background: var(--pine-3); }
.pb-prod .pmark svg { width: 15px; height: 15px; }
.pb-st { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 99px; font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.pb-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pb-st.is-open { color: var(--signal); border: 1px solid rgba(233, 162, 59, .5); }
.pb-st.is-open:hover { background: rgba(233, 162, 59, .12); border-color: var(--signal); }
.pb-st.is-talk { color: var(--on-pine); border: 1px solid var(--pine-line); }
.pb-st.is-taken { color: #5fd39a; background: rgba(47, 163, 107, .14); }
@media (max-width: 900px) { .pb-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .pb { padding: 6px 16px 10px; }
  .pb-head { display: none; }
  .pb-rows li { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .pb-biz { grid-column: 1 / -1; }
}

/* ---------- Customers (rendered only when CUSTOMERS has entries) ---------- */
.cust { border-top: 1px solid var(--rule); }
.cust-h { font-size: .95rem; font-stretch: 100%; letter-spacing: 0; color: var(--ink-3); margin: 0 0 22px; }
.cust-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.cust-logos img { height: 40px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.cust-quote { margin: 36px 0 0; max-width: 46rem; padding-left: 22px; border-left: 3px solid var(--signal); }
.cust-quote blockquote { margin: 0; }
.cust-quote p { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; font-stretch: 104%; margin: 0 0 12px; color: var(--ink); }
.cust-quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9375rem; color: var(--ink-3); }
.cust-quote figcaption b { color: var(--ink); }
