@font-face {
  font-family: Geist;
  src: url("../fonts/Geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Geist;
  src: url("../fonts/Geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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 {
  --bg: #0a0f0d;
  --fg: #e8e8e8;
  --fg-soft: rgba(232, 232, 232, 0.75);
  --muted: #cbc9c0;
  --card: #0c352d;
  --secondary: #14483e;
  --secondary-hover: #1b5649;
  --border: #1f5248;
  --hairline: #2a5e53;
  --brand: #cbc9c0;
  --brand-hover: #e2e0d8;
  --ink: #0c352d;
  --pos: #ffffff;
  --neg: #fd607f;
  --header: 64px;
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: var(--brand);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--brand);
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.num {
  font-variant-numeric: tabular-nums;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  background: var(--bg);
  transition: transform 0.5s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.topbar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.logo svg {
  width: 22px;
  height: 22px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.desktop-nav a,
.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-radius: 4px;
}

.desktop-nav a {
  overflow: hidden;
}

.desktop-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(110%);
  transition: transform 0.3s ease-out;
  z-index: 0;
}

.desktop-nav a:hover::before,
.desktop-nav a:focus-visible::before {
  transform: translateY(0);
}

.desktop-nav a .stagger {
  z-index: 1;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stagger {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.stagger-out,
.stagger-in {
  display: flex;
}

.stagger-in {
  position: absolute;
  inset: 0;
}

.stagger-out span,
.stagger-in span {
  display: inline-block;
  white-space: pre;
  transition: transform 0.2s ease-out;
}

.stagger-in span {
  transform: translateY(100%);
}

.btn:hover .stagger-out span,
.btn:focus-visible .stagger-out span,
.desktop-nav a:hover .stagger-out span,
.desktop-nav a:focus-visible .stagger-out span,
.mobile-nav a:hover .stagger-out span,
.mobile-nav a:focus-visible .stagger-out span {
  transform: translateY(-100%);
}

.btn:hover .stagger-in span,
.btn:focus-visible .stagger-in span,
.desktop-nav a:hover .stagger-in span,
.desktop-nav a:focus-visible .stagger-in span,
.mobile-nav a:hover .stagger-in span,
.mobile-nav a:focus-visible .stagger-in span {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .desktop-nav a::before,
  .stagger-out span,
  .stagger-in span {
    transition: none;
  }

  .stagger-in {
    display: none;
  }

  .stagger-out span,
  .btn:hover .stagger-out span,
  .btn:focus-visible .stagger-out span,
  .desktop-nav a:hover .stagger-out span,
  .desktop-nav a:focus-visible .stagger-out span,
  .mobile-nav a:hover .stagger-out span,
  .mobile-nav a:focus-visible .stagger-out span {
    transform: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  justify-content: center;
  padding: 0;
}

.menu-toggle span:first-child,
.menu-toggle span:first-child::before,
.menu-toggle span:first-child::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  position: relative;
  content: "";
}

.menu-toggle span:first-child::before,
.menu-toggle span:first-child::after {
  position: absolute;
  left: 0;
}

.menu-toggle span:first-child::before {
  top: -5px;
}

.menu-toggle span:first-child::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span:first-child::before,
.menu-toggle[aria-expanded="true"] span:first-child::after {
  top: 0;
}

.menu-toggle[aria-expanded="true"] span:first-child::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:first-child::after {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 45;
  background: var(--bg);
  padding: 12px 24px 32px;
  display: flex;
  flex-direction: column;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-brand {
  background: var(--brand);
  color: var(--ink);
  padding: 0 16px 0 8px;
}

.btn-brand:hover {
  background: var(--brand-hover);
  box-shadow: 0 1.5px 17.7px rgba(203, 201, 192, 0.6);
}

.btn-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #0c352d;
  color: var(--brand);
  border-radius: 3.2px;
  flex: none;
}

.btn-mark svg {
  width: 14px;
  height: 14px;
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  padding: 0 16px;
}

.btn-secondary:hover {
  background: var(--secondary-hover);
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(820px, 90svh, 1000px);
  padding: 128px 0 88px;
  text-align: center;
}

.seq-field,
.seq-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.seq-fade {
  background: rgba(0, 0, 0, 0.5);
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.01em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

.hero-lead {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.audiences {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.audiences li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px auto 0;
  max-width: 880px;
  border-top: 1px solid var(--border);
}

.stats div {
  padding: 22px 12px 0;
}

.stats dd {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats dt {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding-right: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group i {
  color: var(--brand);
  font-style: normal;
}

.section {
  padding: 112px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-family: Geist, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-head p,
.prose {
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
}

.frame {
  display: grid;
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
}

.frame > * {
  background: var(--bg);
  padding: 24px;
  min-width: 0;
}

.bento {
  grid-template-columns: 1.15fr 0.85fr;
}

.cell-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cell h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cell .lede {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.45;
}

.mock {
  margin-top: 22px;
  background: var(--card);
  border-radius: 20px;
  padding: 16px;
}

.mock-row,
.acq-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.mock-row:first-child,
.acq-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.mock-row span:first-child,
.acq-row span:nth-child(2) {
  color: var(--muted);
}

.pos {
  color: var(--pos);
}

.neg {
  color: var(--neg);
}

.formula {
  margin-top: 22px;
  padding: 18px 18px 8px;
  background: var(--card);
  border-radius: 20px;
  font-family: Geist, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

.formula p {
  margin: 0 0 8px;
}

.formula .op {
  color: var(--brand);
}

.formula sub {
  font-size: 0.72em;
}

.steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--fg-soft);
  font-size: 14px;
}

.steps b {
  color: var(--fg);
  font-weight: 500;
}

.idx {
  color: var(--brand);
  font-family: Geist, system-ui, sans-serif;
  font-size: 12px;
  padding-top: 2px;
}

.model-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pillars article {
  background: var(--bg);
  padding: 22px;
}

.pillars h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.pillars p {
  margin-top: 8px;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.5;
}

.studio {
  border: 1px solid var(--border);
}

.feature-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}

.feature-tabs button {
  flex: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 500;
}

.feature-tabs button[aria-selected="true"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.feature-tabs button:hover {
  color: white;
}

.studio-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.decision,
.suburb-list {
  padding: 24px;
}

.decision {
  border-right: 1px solid var(--border);
}

.micro {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.suburb-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.value-block {
  margin-top: 28px;
}

.value-block strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.metric-grid div {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.metric-grid span {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 10px;
  background: var(--secondary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verdict i {
  width: 8px;
  height: 8px;
  background: currentColor;
}

.is-build .profit,
.is-build .verdict {
  color: var(--pos);
}

.is-skip .profit,
.is-skip .verdict {
  color: var(--neg);
}

.is-even .profit,
.is-even .verdict {
  color: var(--fg);
}

.slider-block {
  margin-top: 26px;
}

.slider-block input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--hairline);
  border-radius: 0;
  margin: 14px 0 8px;
}

.slider-block input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--brand);
  border: 0;
  cursor: grab;
}

.slider-block input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--brand);
  border: 0;
  border-radius: 0;
  cursor: grab;
}

.slider-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.suburb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suburb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name profit"
    "bar bar";
  gap: 6px 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px;
  color: var(--fg);
}

.suburb[aria-checked="true"] {
  background: var(--card);
  border-color: rgba(255, 255, 255, 0.06);
}

.suburb:hover {
  background: #202020;
}

.suburb-name {
  grid-area: name;
  font-weight: 500;
}

.suburb-profit {
  grid-area: profit;
  font-weight: 500;
}

.bar {
  grid-area: bar;
  position: relative;
  height: 6px;
  background: #2a2a2a;
  border-radius: 99px;
  overflow: hidden;
}

.bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--mag) * 50%);
}

.bar .pos-fill {
  left: 50%;
  background: var(--pos);
}

.bar .neg-fill {
  right: 50%;
  background: var(--neg);
}

.bar i {
  transition: width 0.45s var(--ease);
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.note a,
.link {
  color: var(--brand);
  text-underline-offset: 3px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-weight: 400;
}

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td.group {
  color: var(--fg);
  font-weight: 500;
}

.lifecycle {
  grid-template-columns: repeat(4, 1fr);
}

.thirds {
  grid-template-columns: repeat(3, 1fr);
}

.pair {
  grid-template-columns: 1fr 1fr;
}

.section-head.wide {
  max-width: none;
}

.statband {
  display: flex;
  align-items: center;
  gap: 28px 48px;
}

.statband .figure + .figure {
  margin-left: 8px;
}

.statband .claim {
  margin: 0;
  max-width: 42ch;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.5;
}

.held {
  grid-template-columns: 1fr 1fr;
}

.held h3 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.held-lead {
  margin-top: 10px;
  max-width: 36ch;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.45;
}

.redact {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.redact li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.redact li:first-child {
  border-top: 0;
  padding-top: 0;
}

.mask {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: #2a2a2a;
}

.held-tag {
  color: var(--muted);
  font-family: Geist, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.held-span {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}

.held-span p {
  margin: 0;
  max-width: 62ch;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.5;
}

.thirds article h3,
.trust-grid article h3 {
  margin-top: 18px;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.thirds article p,
.pair article p,
.trust-grid article p {
  margin-top: 14px;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.5;
}

.thirds article p.figure,
.pair article p.figure {
  margin-top: 0;
  color: var(--brand);
}

.statements article h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.28;
}

.figure {
  margin: 0;
  color: var(--brand);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lifecycle article h3 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lifecycle article p {
  margin-top: 12px;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.5;
}

.quote {
  margin-top: 16px;
  color: var(--fg);
  font-size: 14px;
  line-height: 1.45;
}

.tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  overflow-x: auto;
}

.tabs button {
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.tabs button[aria-selected="true"] {
  color: white;
}

.explorer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.pane {
  padding: 20px;
  min-width: 0;
}

.pane + .pane {
  border-left: 1px solid var(--border);
}

.pane-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: Geist, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

pre {
  margin: 0;
  font-family: Geist, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.token-key {
  color: #d7d7d7;
}

.token-str {
  color: var(--brand);
}

.token-num {
  color: var(--pos);
}

.scenario-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.scenario-list button {
  text-align: left;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--fg-soft);
  font-size: 13px;
}

.scenario-list button[aria-pressed="true"] {
  border-color: rgba(203, 201, 192, 0.45);
  color: white;
}

.products {
  grid-template-columns: repeat(3, 1fr);
}

.products article {
  display: flex;
  flex-direction: column;
}

.products h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.products .tagline {
  margin-top: 8px;
  color: var(--fg);
  font-size: 15px;
}

.products .body {
  margin-top: 12px;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.5;
}

.products ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.products li {
  position: relative;
  padding-left: 16px;
  color: var(--fg-soft);
  font-size: 14px;
}

.products li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--brand);
}

.status {
  display: inline-flex;
  margin-top: auto;
  padding-top: 22px;
  padding: 6px 8px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status.quiet {
  color: var(--muted);
}

.chat {
  margin-top: 1px;
  border: 1px solid var(--border);
  padding: 20px;
}

.chat-log {
  display: grid;
  gap: 10px;
  min-height: 92px;
}

.bubble {
  max-width: 72ch;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.bubble.user {
  justify-self: end;
  background: var(--secondary);
}

.bubble.model {
  background: var(--card);
  color: var(--fg-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chips button,
.ask-form button {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--fg);
  padding: 8px 12px;
  font-size: 13px;
}

.chips button:hover,
.ask-form button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.ask-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.ask-form input,
.access-form input {
  width: 100%;
  height: 48px;
  background: #141414;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0 12px;
}

.ask-form input:focus,
.access-form input:focus,
.access-form input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: transparent;
}

.ask-form button {
  border-radius: 4px;
  height: 48px;
  padding: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 500;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.states {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--border);
  border: 1px solid var(--border);
}

.states li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  padding: 16px 18px;
  font-size: 14px;
}

.states i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pos);
}

.coverage-stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.coverage-stats div {
  background: var(--bg);
  padding: 22px;
}

.coverage-stats strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.coverage-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.access-form,
.success {
  border: 1px solid var(--border);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.wide {
  grid-column: 1 / -1;
}

.field span,
.interest legend {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interest {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.interest div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.interest input {
  accent-color: var(--brand);
}

.form-error {
  margin: 0;
  color: var(--neg);
  font-size: 14px;
}

.form-error[hidden],
.success[hidden] {
  display: none;
}

.fine {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.site-footer p,
.site-footer a {
  color: var(--fg-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

.site-footer ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

.js .reveal.is-in {
  animation: rise 0.7s var(--ease);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .stats,
  .bento,
  .model-grid,
  .studio-body,
  .lifecycle,
  .thirds,
  .pair,
  .held,
  .explorer,
  .products,
  .coverage-grid,
  .access-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lifecycle {
    grid-template-columns: 1fr 1fr;
  }

  .decision {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .pane + .pane {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .acq-row,
  .mock-row {
    grid-template-columns: 1fr auto;
  }

  .acq-row span:nth-child(2),
  .mock-row span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .acq-row span:nth-child(3),
  .mock-row span:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .fields,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    white-space: normal;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }

  .table-wrap td {
    border: 0;
    padding: 0;
  }

  .table-wrap td:first-child {
    grid-column: 1 / -1;
  }

  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-wrap td:first-child::before {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .statband,
  .held-span {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats,
  .lifecycle {
    grid-template-columns: 1fr 1fr;
  }

  .stats div {
    padding-top: 18px;
    border-top: 0;
  }

  .section {
    padding: 80px 0;
  }

  .header-actions .btn-brand .btn-label {
    display: none;
  }

  .header-actions .btn-brand {
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  .header-actions .btn-mark {
    width: 44px;
    height: 44px;
    background: var(--brand);
    color: var(--ink);
  }

  th,
  td {
    white-space: normal;
  }

  .ask-form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal.is-in {
    animation: none;
  }

  .site-header {
    transform: none !important;
  }
}

/* Tekna Data rebrand */
.logo .tekna-logo{height:22px;width:auto;display:block}
.logo .logo-sub{color:var(--brand);font-weight:500;letter-spacing:.02em;margin-left:6px}
/* Tekna Data dark + green bands */
.site-header{background:transparent!important;border-bottom-color:transparent!important;color:#fff}
.site-header.is-scrolled{background:rgba(10,15,13,.55)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.site-header .desktop-nav a,.site-header .logo,.site-header .logo-sub{color:#fff}
.site-footer{background:#0c352d}

/* ===== UX polish pass (22 Oct) — restrained, consistent scale ===== */
:root { --max: 1120px; }
body { font-size: 16px; line-height: 1.6; }
.hero { min-height: auto; padding: 152px 0 72px; }
h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; }
.hero-lead { max-width: 640px; font-size: 17px; line-height: 1.6; margin-inline: auto; }
.kicker, .audiences li { font-size: 12px; padding: 6px 12px; }
.stats { max-width: 760px; }
.stats dd { font-size: 1.5rem; }
.stats dt { font-size: 12px; }
.section, .section[style] { padding: 88px 0 !important; }
.section + .section { padding-top: 0 !important; }
.section-head { max-width: 680px; gap: 14px; margin-bottom: 32px; }
.section-head.wide { max-width: 720px; }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.03em; }
.section-head p, .prose { font-size: 16.5px; line-height: 1.65; max-width: 680px; }
.eyebrow, .cell-kicker { font-size: 11.5px; letter-spacing: 0.08em; }
.frame { border-radius: 12px; overflow: hidden; }
.frame > * { padding: 28px; }
.frame.thirds > *, .frame.pair > * { display: flex; flex-direction: column; gap: 10px; }
.statements article h3, .frame h3, .held h3 { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.frame article p { font-size: 15px; line-height: 1.6; }
.figure, .thirds article p.figure, .pair article p.figure { font-size: 1.75rem !important; line-height: 1.1; }
.statband { gap: 20px 36px; }
.statband .claim { font-size: 15px; }
.idx { font-size: 11.5px; }
.note { font-size: 14px; line-height: 1.6; max-width: 720px; margin-top: 20px; }
.btn { height: 40px; font-size: 12px; border-radius: 6px; }
.btn-mark { width: 26px; height: 26px; }
.site-footer h2 { font-size: 20px; }
.access-grid h2 { max-width: 16ch; }
html, body { overflow-x: hidden; }
@media (max-width: 720px) {
  .hero { padding: 120px 0 56px; }
  h1 { font-size: 2.125rem; }
  .hero-lead { font-size: 16px; }
  .section, .section[style] { padding: 60px 0 !important; }
  .section + .section { padding-top: 0 !important; }
  h2 { font-size: 1.6rem; }
  .section-head p, .prose { font-size: 16px; }
  .frame > * { padding: 22px; }
  .thirds, .pair { grid-template-columns: 1fr; }
  .figure, .thirds article p.figure, .pair article p.figure { font-size: 1.5rem !important; }
}
.frame article h3, .frame h3 { font-size: 18px !important; line-height: 1.4 !important; }
.note.note-body { font-size: 16.5px; line-height: 1.65; color: var(--fg-soft); }
@media (max-width: 720px) { .note.note-body { font-size: 16px; } }
/* Full-screen map hero (22 Oct) */
.hero { min-height: 100vh; min-height: 100svh; width: 100%; }
.seq-fade {
  background: rgba(0, 0, 0, 0.5);
}
/* Design gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; font-size: 14px; color: var(--fg-soft); }
.gallery figcaption b { font-weight: 500; color: #e8e8e8; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { height: auto !important; max-height: none; }
.gallery { grid-template-columns: repeat(2, 1fr); max-width: 880px; gap: 16px; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
/* Gallery: render + plan pairs */
.gallery { display: grid; grid-template-columns: 1fr; max-width: none; gap: 16px; }
.gallery-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery figure.plan { background: #f4f3ee; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gallery figure.plan img { aspect-ratio: auto; object-fit: contain; width: 100%; height: 100% !important; max-height: 100%; }
.gallery-pair figure { aspect-ratio: 4 / 3; }
.gallery-pair figure img { height: 100% !important; }
@media (max-width: 720px) { .gallery-pair { grid-template-columns: 1fr; } }
.gallery figure.plan { background: #ffffff; }
/* What we track + Southside scorecard */
.track-grid { grid-template-columns: repeat(4, 1fr); }
.track-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.track-list li { font-size: 14px; line-height: 1.5; color: var(--fg-soft); padding-left: 14px; position: relative; }
.track-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.score-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.score-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.score-list li:first-child { border-top: 0; padding-top: 0; }
.sc-name { font-size: 15px; color: #e8e8e8; }
.sc-val { font-family: Geist, system-ui, sans-serif; font-size: 13px; color: #e8e8e8; background: #14483e; border-radius: 999px; padding: 2px 10px; align-self: start; }
.sc-ns { background: transparent; border: 1px dashed var(--hairline); color: var(--fg-soft); }
.sc-why { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.5; color: var(--fg-soft); }
@media (max-width: 980px) { .track-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .track-grid { grid-template-columns: 1fr; } }
.sc-why b { color: #e8e8e8; font-weight: 500; }
.sc-ev { grid-column: 1 / -1; margin-top: 4px; }
.sc-ev summary { cursor: pointer; font-family: Geist, system-ui, sans-serif; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand, #8fc7b5); list-style: none; }
.sc-ev summary::-webkit-details-marker { display: none; }
.sc-ev summary::before { content: "+ "; }
.sc-ev[open] summary::before { content: "– "; }
.sc-ev ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; border-left: 1px solid var(--hairline); display: grid; gap: 6px; }
.sc-ev li { font-size: 13px; line-height: 1.5; color: var(--fg-soft); }
.sc-ev cite { font-style: normal; color: #9aa59f; font-size: 12px; white-space: nowrap; }
/* Southside worked example */
.why-list li { font-size: 15.5px; line-height: 1.6; }
.margin-strip { grid-template-columns: repeat(4, 1fr); }
.margin-strip .figure { font-size: 1.5rem !important; margin: 4px 0; }
.margin-strip article p:not(.figure):not(.cell-kicker) { font-size: 13.5px; color: var(--fg-soft); }
.sub-h { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
@media (max-width: 720px) { .margin-strip { grid-template-columns: 1fr 1fr; } }
/* Southside data visuals: site palette only (accent var(--pos)) */
.scoreboard { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.score-total { border-right: 1px solid var(--border); padding-right: 32px; height: 100%; }
.score-total strong { display: block; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.score-total strong small { font-size: 0.45em; color: var(--muted); letter-spacing: 0; }
.score-total p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-soft); }
.sb-list { list-style: none; margin: 0; padding: 0; }
.sb-list li { display: grid; grid-template-columns: 200px 110px 84px 1fr; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); }
.sb-list li:first-child { border-top: 0; padding-top: 0; }
.sb-name { font-size: 15px; color: var(--fg); }
.segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.segs i { height: 4px; background: var(--secondary); }
.segs i.on { background: var(--pos); }
.segs-ns i { background: transparent; border-top: 1px dashed var(--hairline); height: 0; }
.sb-val { font-size: 14px; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-val.sc-ns { border: 0; padding: 0; background: none; color: var(--muted); font-style: italic; }
.sb-take { font-size: 14px; line-height: 1.5; color: var(--fg-soft); }
.viz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.viz { background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.viz .cell-kicker { margin: 0; }
.viz-take { font-size: 15px; line-height: 1.5; color: var(--fg); margin: 0; }
.viz-src { margin-top: auto; padding-top: 8px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.cb-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.cb-lab { grid-column: 1 / -1; font-size: 13px; color: var(--fg-soft); }
.cb-track { height: 4px; background: var(--secondary); }
.cb-fill { display: block; height: 100%; background: var(--hairline); }
.cb-fill.hi { background: var(--pos); }
.cb-num { font-size: 14px; color: var(--fg); font-variant-numeric: tabular-nums; min-width: 60px; text-align: right; }
.spark { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.spk { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.spk-bar { flex: none; width: 100%; background: var(--hairline); order: 1; }
.spk:first-child .spk-bar { background: var(--hairline); }
.spk:last-child .spk-bar { background: var(--pos); }
.spk-n { font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; order: 0; }
.spk-y { font-size: 12px; color: var(--muted); order: 2; }
.stack { display: flex; height: 4px; gap: 2px; }
.s1 { background: var(--pos); } .s2 { background: var(--hairline); } .s3 { background: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--fg-soft); font-variant-numeric: tabular-nums; }
.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: middle; }
.range { position: relative; height: 14px; margin: 4px 6px 0; }
.rg-track { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--hairline); }
.rg-dot { position: absolute; top: 3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--hairline); }
.rg-dot.main { background: var(--pos); width: 10px; height: 10px; top: 2px; margin-left: -5px; }
.rg-labs { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--fg); font-variant-numeric: tabular-nums; }
.rg-labs span:nth-child(2) { text-align: center; } .rg-labs span:last-child { text-align: right; }
.rg-labs small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 1100px) { .viz-grid { grid-template-columns: repeat(2, 1fr); } .sb-list li { grid-template-columns: 170px 100px 84px 1fr; } }
@media (max-width: 720px) {
  .scoreboard { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .score-total { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 20px; }
  .sb-list li { grid-template-columns: 1fr 90px 84px; gap: 4px 12px; }
  .sb-take { grid-column: 1 / -1; }
  .viz-grid { grid-template-columns: 1fr; }
}
/* What we're building */
.build-gallery { grid-template-columns: 1.4fr 1fr; border-radius: 12px; overflow: hidden; }
.build-gallery > figure { margin: 0; padding: 0; display: flex; flex-direction: column; }
.build-gallery .bg-lead { grid-row: span 2; }
.build-gallery .bg-plan { grid-column: 1 / -1; }
.build-gallery .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.build-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.build-gallery .bg-lead img { aspect-ratio: auto; }
.build-gallery .bg-plan .zoom { background: #e8e8e8; }
.build-gallery .bg-plan img { aspect-ratio: auto; object-fit: contain; padding: 24px; }
.build-gallery figcaption { padding: 18px 24px 22px; font-size: 14px; line-height: 1.55; color: var(--fg-soft); }
.build-gallery figcaption span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.build-gallery .zoom:focus-visible { outline: 1px solid var(--pos); outline-offset: -1px; }
.lightbox { border: 1px solid var(--border); border-radius: 12px; padding: 0; background: var(--bg); max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 15, 13, 0.9); }
.lightbox img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; background: #e8e8e8; }
.lightbox .lb-close { display: block; width: 100%; padding: 10px; border: 0; border-top: 1px solid var(--border); background: var(--bg); color: var(--fg-soft); font: inherit; font-size: 13px; cursor: pointer; }
@media (max-width: 720px) { .build-gallery { grid-template-columns: 1fr; } .build-gallery .bg-lead { grid-row: auto; } .build-gallery .bg-plan img { padding: 12px; } }
.build-gallery .bg-lead{grid-row:auto}.build-gallery .bg-lead img{aspect-ratio:4/3}.build-gallery>figure .zoom{flex:none}

/* ===== Audit pass (23 Oct): brand, readability, calculator ===== */
/* One accent only (--pos). Neutralise the extra greens. */
:root {
  --card: #121614; --secondary: #1f2321; --secondary-hover: #2a2e2c;
  --border: #262a28; --hairline: #353a37; --ink: #121614;
  --fg-soft: rgba(232, 232, 232, 0.8);
}
.site-footer { background: #111513; }
.sc-val { background: var(--secondary); }
.sc-ev summary { color: var(--fg-soft); }
.sc-ev cite { color: var(--fg-soft); }
/* No mono: Geist uppercase with tracking */
.eyebrow, .cell-kicker, .idx, .held-tag, .kicker, .formula, .pane-label, .sc-ev summary {
  font-family: Geist, system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
}
/* Flat hero overlay, about 80svh */
.seq-fade { background: rgba(10, 15, 13, 0.6) !important; }
.hero { min-height: 80vh; min-height: 80svh; }
.hero-link { display: inline-block; margin-top: 16px; color: var(--fg); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pos); }
/* Readability floor: supporting text >= 14px, labels >= 12px */
.eyebrow, .cell-kicker, .idx, .stats dt, .kicker, .audiences li, .build-gallery figcaption span, .rg-labs small, .spk-y, .viz-src, .sc-ev cite, .tag { font-size: 12px; }
.sc-why, .sb-take, .score-total p, .margin-strip article p:not(.figure):not(.cell-kicker), .sc-ev li, .cb-lab, .legend, .spk-n, .track-list li, .lightbox .lb-close { font-size: 14px; }
.viz-src, .rg-labs small, .spk-y { color: var(--fg-soft); }
.tag { display: inline-block; margin: 0 4px 0 0; padding: 1px 8px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--fg-soft); font-style: normal; letter-spacing: 0.02em; white-space: nowrap; vertical-align: 1px; }
.bull-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bull-list li { font-size: 16px; line-height: 1.55; color: var(--fg-soft); padding-left: 16px; position: relative; }
.bull-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--pos); }
/* 4-step strip */
.steps4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }
/* Margin strip v2 */
.ms { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ms-costs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.ms-costs > div { padding: 20px 24px; border-right: 1px solid var(--border); }
.ms-costs > div:last-child { border-right: 0; }
.ms-cases { display: grid; grid-template-columns: 1fr 1fr; }
.ms-case { padding: 24px; }
.ms-case + .ms-case { border-left: 1px solid var(--border); }
.ms-case.target { background: rgba(255, 255, 255, 0.04); }
.ms .fig { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.ms .sub { font-size: 14px; color: var(--fg-soft); margin: 0; }
.ms table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.ms th, .ms td { text-align: right; padding: 6px 0; border-top: 1px solid var(--border); font-weight: 400; color: var(--fg-soft); }
.ms th:first-child, .ms td:first-child { text-align: left; }
.ms tr.total td { color: var(--fg); font-weight: 500; }
.ms thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 720px) { .ms-costs { grid-template-columns: 1fr 1fr; } .ms-costs > div:nth-child(2) { border-right: 0; } .ms-costs > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } .ms-cases { grid-template-columns: 1fr; } .ms-case + .ms-case { border-left: 0; border-top: 1px solid var(--border); } }
/* CTA */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; }
.cta-band p { margin: 0; font-size: 16px; }
.cta-band .btn { background: var(--pos); color: #0a0f0d; }
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; height: 48px; align-items: center; justify-content: center; border-radius: 8px; background: var(--pos); color: #0a0f0d; font-weight: 500; font-size: 15px; text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.4); }
  body { padding-bottom: 72px; }
}
/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 24px; }
.calc-in { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-content: start; }
.calc-in .full { grid-column: 1 / -1; }
.calc-in label, .calc-in fieldset { display: grid; gap: 6px; font-size: 14px; color: var(--fg-soft); margin: 0; border: 0; padding: 0; min-width: 0; }
.calc-in input[type=number] { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 6px; background: #0e1211; color: var(--fg); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; }
.calc-in input[type=number]:focus { outline: 2px solid var(--pos); outline-offset: 1px; }
.calc-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-head .cell-kicker { color: var(--pos); margin: 0; }
.ev-val { font-size: 1.25rem; color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.slider-wrap { position: relative; padding-bottom: 34px; }
.slider-wrap input[type=range] { width: 100%; accent-color: var(--pos); margin: 6px 0; }
.mk { position: absolute; top: 34px; font-size: 12px; color: var(--fg-soft); white-space: nowrap; transform: translateX(-50%); }
.mk::before { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 8px; background: var(--fg-soft); }
.mk-band { position: absolute; top: 24px; height: 3px; background: var(--hairline); border-radius: 2px; }
.ev-note { font-size: 14px; color: var(--fg-soft); margin: 0; }
.seg-ctl { display: inline-flex; border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; width: max-content; }
.seg-ctl label { display: block; }
.seg-ctl input { position: absolute; opacity: 0; pointer-events: none; }
.seg-ctl span { display: block; padding: 8px 14px; font-size: 14px; color: var(--fg-soft); cursor: pointer; }
.seg-ctl input:checked + span { background: var(--pos); color: #0a0f0d; }
.seg-ctl input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: -2px; }
.calc-out { padding: 24px; border-left: 1px solid var(--border); background: #0e1211; display: flex; flex-direction: column; gap: 18px; }
.out .cell-kicker { margin: 0; }
.out .big { font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 2px 0; }
.out .big.neg { color: var(--neg); }
.out p.sub { margin: 0; font-size: 14px; color: var(--fg-soft); }
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.calc-actions button { height: 40px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: 6px; background: transparent; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.calc-actions .copied { font-size: 14px; color: var(--pos); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--border); } }
@media (max-width: 520px) { .calc-in { grid-template-columns: 1fr; } }
/* Feature estimate placeholders */
.feat-est { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.feat-est li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 15px; }
.feat-est li:first-child { border-top: 0; }
.feat-est .ph { font-size: 14px; color: var(--fg-soft); font-style: italic; border: 1px dashed var(--hairline); border-radius: 999px; padding: 1px 10px; }
/* Scorecard rows with folded evidence */
.sb-list li { grid-template-columns: 200px 110px 84px 1fr; }
.sb-list li .sc-ev { grid-column: 1 / -1; margin-top: 2px; }
.sb-list .sc-ev summary { font-size: 12px; }
/* Mobile swipe rows for stat and key-number cards */
@media (max-width: 720px) {
  .stats, .viz-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; background: none; border: 0; border-radius: 0; padding-bottom: 8px; }
  .stats > div { flex: 0 0 46%; scroll-snap-align: start; }
  .viz-grid > .viz { flex: 0 0 84%; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 12px; }
  .swipe-hint { display: block; font-size: 12px; color: var(--fg-soft); margin: -4px 0 8px; }
  .sb-list li { grid-template-columns: 1fr 90px 60px; }
}
.swipe-hint { display: none; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .calc-in { grid-template-columns: minmax(0, 1fr); } }
.calc .tag, .ms .tag { white-space: normal; }
.calc-in > * { min-width: 0; }
/* Mockup hotspots (23 Oct) */
.build-gallery .bg-living img { aspect-ratio: auto; }
.hs-wrap { position: relative; }
.hs { position: absolute; width: 0; height: 0; z-index: 2; }
.hs.open { z-index: 5; }
.hs-dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid #0a0f0d; background: var(--pos); cursor: pointer; box-shadow: 0 0 0 4px rgba(255, 255, 255,.3); }
.hs-dot:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.hs-line { position: absolute; top: -0.5px; height: 1px; width: 36px; background: var(--pos); opacity: 0; pointer-events: none; transition: opacity .15s; }
.hs-card { position: absolute; top: 0; transform: translateY(-50%); width: 190px; padding: 10px 12px; border: 1px solid var(--pos); border-radius: 8px; background: var(--bg); color: var(--fg); font-size: 13px; line-height: 1.4; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
.hs-card b { display: block; font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.hs-card span { color: var(--fg-soft); }
.hs-r .hs-line { left: 11px; } .hs-r .hs-card { left: 47px; }
.hs-l .hs-line { right: 11px; } .hs-l .hs-card { right: 47px; }
.hs.open .hs-line, .hs.open .hs-card { opacity: 1; visibility: visible; }
@media (hover: hover) { .hs:hover .hs-line, .hs:hover .hs-card, .hs-dot:focus-visible ~ .hs-line, .hs-dot:focus-visible ~ .hs-card { opacity: 1; visibility: visible; } .hs:hover { z-index: 6; } }
@media (max-width: 720px) { .hs-dot { width: 26px; height: 26px; left: -13px; top: -13px; } .hs-line { width: 18px; } .hs-r .hs-card { left: 29px; } .hs-l .hs-card { right: 29px; } .hs-card { width: 160px; font-size: 12.5px; } }
.feat-est .est { font-size: 14px; color: var(--pos); }
/* Inclusions calculator (23 Oct) */
.calc-fixed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.calc-fixed div { display: grid; gap: 2px; font-size: 14px; color: var(--fg-soft); }
.calc-fixed b { color: var(--fg); font-weight: 500; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.calc-fixed .tot { grid-column: 1 / -1; }
.calc-fixed em { font-style: normal; color: var(--fg-soft); font-size: 14px; font-weight: 400; }
.inc legend { font-size: 14px; color: var(--fg-soft); margin-bottom: 6px; padding: 0; }
.inc-row { display: flex !important; gap: 12px; align-items: flex-start; padding: 12px 4px; min-height: 48px; border-bottom: 1px solid var(--border); cursor: pointer; }
.inc-row:last-child { border-bottom: 0; }
.inc-row input { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--pos); cursor: pointer; }
.inc-row b { display: block; color: var(--fg); font-weight: 500; font-size: 15px; }
.inc-row small { display: block; font-size: 13px; color: var(--fg-soft); margin-top: 2px; }
.calc-out .mid { font-size: 1.4rem; color: var(--fg); margin: 2px 0; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .calc-fixed { grid-template-columns: 1fr 1fr; } }
/* Hotspots: white liquid glass (23 Oct) */
.hs-dot { border: 1px solid rgba(255,255,255,0.9); background: #ffffff; box-shadow: 0 0 0 4px rgba(255,255,255,0.25), 0 2px 8px rgba(0,0,0,0.35); animation: hs-glow 2.4s ease-out infinite; }
@keyframes hs-glow { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55), 0 2px 8px rgba(0,0,0,0.35); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0), 0 2px 8px rgba(0,0,0,0.35); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 2px 8px rgba(0,0,0,0.35); } }
@media (prefers-reduced-motion: reduce) { .hs-dot { animation: none; } }
.hs-line { background: #ffffff; box-shadow: 0 0 3px rgba(0,0,0,0.35); }
.hs-card { background: rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,0.4); border-radius: 12px; box-shadow: inset 0 0 0 999px rgba(10,15,13,0.22), 0 8px 24px rgba(0,0,0,0.3); color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,0.45); }
.hs-card span { color: rgba(255,255,255,0.92); }
.hs-top .hs-card { transform: translateY(-14px); }
/* Feature table: liquid glass, brand neutrals */
.ft-wrap { border: 1px solid rgba(255,255,255,0.4); border-radius: 14px; background: rgba(255,255,255,0.06); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 8px 24px rgba(0,0,0,0.25); overflow: hidden; }
.ft { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ft th, .ft td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--border); }
.ft thead th { border-top: 0; font-weight: 500; font-size: 13px; color: var(--fg-soft); background: rgba(255,255,255,0.05); }
.ft small { display: block; font-size: 12px; color: var(--fg-soft); font-weight: 400; }
.ft tbody th, .ft tfoot th { font-weight: 500; color: var(--fg); }
.ft td { color: var(--fg); white-space: nowrap; }
.ft td.ev { white-space: normal; color: var(--fg-soft); font-size: 14px; }
.ft td.tbc { color: var(--fg-soft); font-style: italic; }
.ft tfoot th, .ft tfoot td { border-top: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); }
@media (max-width: 720px) {
  .ft thead { display: none; }
  .ft, .ft tbody, .ft tfoot, .ft tr, .ft th, .ft td { display: block; width: 100%; }
  .ft tr { padding: 12px 16px; border-top: 1px solid var(--border); }
  .ft tbody tr:first-child { border-top: 0; }
  .ft tfoot tr { border-top: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); }
  .ft th, .ft td, .ft tfoot th, .ft tfoot td { border: 0; padding: 3px 0; background: none; white-space: normal; }
  .ft tbody th, .ft tfoot th { font-size: 16px; padding-bottom: 6px; }
  .ft td::before { content: attr(data-l); display: inline-block; min-width: 118px; color: var(--fg-soft); font-size: 13px; font-style: normal; }
  .ft td.ev::before { display: block; }
}
.ft th, .ft td { text-transform: none; letter-spacing: normal; }
.ft tbody th, .ft tfoot th { font-size: 15px; }
/* Ceiling height segmented choice: white liquid glass */
.ceil-row > span { display: block; }
.ceil-seg { display: inline-flex; margin: 8px 0 6px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; background: rgba(255,255,255,0.08); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 4px 14px rgba(0,0,0,0.25); padding: 3px; gap: 2px; }
.ceil-seg span { border-radius: 999px; padding: 7px 16px; color: var(--fg); font-variant-numeric: tabular-nums; }
.ceil-seg input:checked + span { background: rgba(255,255,255,0.9); color: #0a0f0d; }
.ceil-seg input:focus-visible + span { outline: 2px solid #ffffff; outline-offset: 1px; }
.ceil-row small { display: block; }

.ms-costs.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .ms-costs.g3 { grid-template-columns: 1fr; } .ms-costs.g3 > div { border-right: 0; border-bottom: 1px solid var(--border); } }

.calc-cap { margin-top: 24px; padding: 24px; border: 1px solid rgba(255,255,255,0.4); border-radius: 14px; background: rgba(255,255,255,0.06); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.cap-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 15px; }
.cap-sum > div:first-child { border-top: 0; }
.cap-sum span { color: var(--fg-soft); } .cap-sum b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.cap-sum .tot b, .cap-sum .tot span { color: var(--fg); }
.rec-sum { margin-top: 16px; }
.ft.bp th, .ft.bp td { padding: 10px 12px; font-size: 14px; }
.ft.bp tr.rec th, .ft.bp tr.rec td { background: rgba(255,255,255,0.08); }
.ft.bp tr.over th, .ft.bp tr.over td { color: var(--fg-soft); }
.rec-btn { margin-top: 16px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.14); color: var(--fg); font: inherit; cursor: pointer; }
.rec-btn:hover { background: rgba(255,255,255,0.24); }
@media (max-width: 720px) { .calc-cap { padding: 16px; } .ft.bp thead { display: none; } .ft.bp tr { display: block; padding: 8px 0; border-top: 1px solid var(--border); } .ft.bp th, .ft.bp td { display: flex; justify-content: space-between; border: 0; padding: 4px 12px; white-space: normal; } .ft.bp td[data-l]::before { content: attr(data-l); color: var(--fg-soft); } .ft.bp td:first-child { display: none; } .cap-sum > div { flex-direction: column; gap: 2px; } .cap-sum b { text-align: left; } }

.ft.src td:last-child { white-space: nowrap; color: var(--fg-soft); font-size: 14px; }
.ft.src th[scope=row] { min-width: 180px; }
@media (max-width: 720px) { .ft.src thead { display: none; } .ft.src tr { display: block; padding: 10px 0; border-top: 1px solid var(--border); } .ft.src th, .ft.src td { display: block; border: 0; padding: 4px 14px; white-space: normal; } .ft.src td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; color: var(--fg-soft); } }

.cap-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cap-head .cell-kicker { margin: 0; }
.cap-what { margin: 10px 0 16px; font-size: 14px; color: var(--fg-soft); }
.bpc { margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; background: rgba(255,255,255,0.04); }
.bpc-key { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--fg-soft); margin-bottom: 10px; }
.bpc-key i { display: inline-block; width: 14px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.bpc-key i.l, .bpc-track i.l { background: #ffffff; }
.bpc-key i.c, .bpc-track i.c { background: transparent; border: 1px solid rgba(255,255,255,0.55); }
.bpc-key i.m { width: 2px; height: 12px; background: rgba(255,255,255,0.9); }
.bpc-row { display: grid; grid-template-columns: 170px 1fr 120px; align-items: center; gap: 12px; padding: 4px 0; font-size: 13px; }
.bpc-row.over { opacity: 0.55; }
.bpc-row.stop .bpc-n { font-weight: 600; } .bpc-row.stop .bpc-n::after { content: ' · breakpoint'; font-weight: 400; color: var(--fg-soft); }
.bpc-row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.bpc-track { position: relative; height: 16px; }
.bpc-track i { position: absolute; left: 0; border-radius: 3px; }
.bpc-track i.l { top: 0; height: 7px; }
.bpc-track i.c { top: 9px; height: 7px; box-sizing: border-box; }
.bpc-track em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255,255,255,0.9); }
@media (max-width: 720px) { .bpc-row { grid-template-columns: 1fr auto; } .bpc-track { grid-column: 1 / -1; order: 3; } }

.cap-seg { display: inline-flex; margin: 8px 0 6px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; background: rgba(255,255,255,0.08); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 4px 14px rgba(0,0,0,0.25); padding: 3px; gap: 2px; }
.cap-seg span { border-radius: 999px; padding: 7px 16px; color: var(--fg); font-variant-numeric: tabular-nums; }
.cap-seg input:checked + span { background: rgba(255,255,255,0.9); color: #0a0f0d; }
.cap-seg input:focus-visible + span { outline: 2px solid #ffffff; outline-offset: 1px; }
@media (max-width: 720px) { .cap-seg { flex-wrap: wrap; width: auto; } }
