/* Untangl'd prototype styles */
:root {
  --navy: #14305A;
  --navy-deep: #0D2244;
  --teal: #1A9EA1;
  --teal-text: #0C7478;
  --teal-soft: #D7EFEF;
  --paper: #F4F8F9;
  --mist: #E3ECEF;
  --line: #CBD9DE;
  --ink: #14243D;
  --ink-2: #44566F;
  --amber: #C98512;
  --amber-soft: #FBEFD8;
  --red: #B3392F;
  --red-soft: #F8E1DE;
  --green: #217A4B;
  --green-soft: #DDF1E5;
  --white: #FFFFFF;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: clamp(2.5rem, 5.4vw, 4.25rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-4); font-weight: 750; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.45; max-width: 46ch; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--step-0)/1 var(--body);
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 10px 16px; font-size: var(--step--1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand .mark { height: 38px; width: auto; }
.brand .word { height: 17px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { display: block; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: var(--step-0); }
}

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Untangle diagram */
.untangle { width: 100%; height: auto; overflow: visible; }
.untangle .src-label, .untangle .out-label { font-family: var(--body); font-size: 17px; fill: var(--ink); }
@media (max-width: 600px) { .untangle .src-label, .untangle .out-label { font-size: 23px; } }
.untangle .src-label { text-anchor: end; }
.untangle .out-label tspan.pct { font-weight: 700; fill: var(--navy); }
.untangle .strand { fill: none; stroke-linecap: round; stroke-width: 5; }
.untangle .strand.in { stroke: var(--teal); }
.untangle .strand.out { stroke: var(--teal); }
.untangle .knot { fill: var(--navy); }
.untangle .knot-label { font-family: var(--display); font-weight: 700; font-size: 17px; fill: var(--white); text-anchor: middle; }
.js .untangle .strand { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .untangle.go .strand.in { animation: draw 1.4s cubic-bezier(.6,.05,.3,1) forwards; }
.js .untangle.go .strand.out { animation: draw 1.1s cubic-bezier(.3,.6,.3,1) forwards; animation-delay: 1.15s; }
.js .untangle .out-label, .js .untangle .knot, .js .untangle .knot-label { opacity: 0; }
.js .untangle.go .knot, .js .untangle.go .knot-label { animation: fade .4s ease forwards; animation-delay: 1s; }
.js .untangle.go .out-label { animation: fade .5s ease forwards; animation-delay: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .untangle .strand { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .js .untangle .out-label, .js .untangle .knot, .js .untangle .knot-label { opacity: 1; animation: none !important; }
}

/* Reality / stats as ledger rows */
.reality { background: var(--navy); color: #DCE7F0; }
.reality h2 { color: var(--white); }
.reality .section-head p { color: #B9CADA; }
.ledger { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 72px); }
.ledger li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); }
.ledger .fig { font-family: var(--display); font-weight: 700; font-size: var(--step-2); color: #6FD3D5; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger p { margin: 0; color: #DCE7F0; }
.ledger strong { color: var(--white); font-weight: 600; }
@media (max-width: 760px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger li { grid-template-columns: 5.5rem 1fr; }
}

/* Audience tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  font: 600 var(--step-0)/1 var(--body); padding: 12px 18px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.tabpanel[hidden] { display: none; }
.tabpanel > div { padding: clamp(24px, 4vw, 44px); }
.tabpanel .before { background: var(--mist); }
.tabpanel h3 { margin-bottom: 14px; }
.tabpanel ul { margin: 0; padding-left: 1.1em; }
.tabpanel li { margin-bottom: 10px; }
.tabpanel .example { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 760px) { .tabpanel { grid-template-columns: 1fr; } }

/* Feature strands */
.strands { display: grid; gap: 0; }
.strand-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); padding: 36px 0; border-top: 1px solid var(--line); position: relative; }
.strand-row:last-child { border-bottom: 1px solid var(--line); }
.strand-row h3 { font-size: var(--step-2); margin-bottom: 8px; }
.strand-row .strand-intro { color: var(--ink-2); margin: 0; }
.strand-row .strand-line { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--teal); margin-bottom: 18px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.feature-list h4 { font-family: var(--body); font-size: var(--step-0); font-weight: 700; color: var(--ink); letter-spacing: 0; margin: 0 0 4px; line-height: 1.3; }
.feature-list p { margin: 0; color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }
@media (max-width: 820px) { .strand-row { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 4px solid var(--teal); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: var(--step-2); color: var(--teal-text); display: block; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Try it band */
.tryit { background: var(--teal-soft); }
.tryit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tryit a.panel { display: block; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid transparent; transition: border-color .15s; }
.tryit a.panel:hover { border-color: var(--teal); }
.tryit a.panel h3 { font-size: var(--step-2); }
.tryit a.panel p { color: var(--ink-2); }
.tryit .go { font-weight: 700; color: var(--teal-text); }
@media (max-width: 760px) { .tryit-grid { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--navy); box-shadow: 0 18px 40px -24px rgba(20,48,90,.45); }
.plan h3 { margin-bottom: 4px; }
.plan .who { color: var(--ink-2); font-size: var(--step--1); margin-bottom: 18px; }
.plan .price { font-family: var(--display); font-weight: 750; font-size: var(--step-3); color: var(--navy); line-height: 1; margin-bottom: 4px; }
.plan .price small { font-family: var(--body); font-size: var(--step--1); font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; font-size: var(--step--1); border-top: 1px solid var(--mist); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 4px; border-radius: 2px; background: var(--teal); }
.plan .badge { position: absolute; top: -14px; left: 26px; font-size: 0.8125rem; font-weight: 700; background: var(--teal-soft); color: var(--teal-text); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.pricing-note { margin-top: 20px; font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

/* Waitlist */
.waitlist { background: var(--navy); color: #DCE7F0; }
.waitlist h2 { color: var(--white); }
.waitlist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.waitlist p { color: #B9CADA; }
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: var(--step--1); color: var(--white); display: block; margin-bottom: 6px; }
.form input, .form select {
  width: 100%; font: inherit; padding: 13px 14px; border-radius: var(--r-sm);
  border: 2px solid transparent; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus { outline: none; border-color: var(--teal); }
.form .btn-primary { background: var(--teal); color: var(--navy-deep); justify-self: start; }
.form .btn-primary:hover { background: #6FD3D5; }
.form-error { color: #FFC9C2; font-size: var(--step--1); min-height: 1.2em; margin: 0; }
.form-done { background: rgba(255,255,255,.08); border-radius: var(--r-md); padding: 24px; }
.form-done h3 { color: var(--white); }
@media (max-width: 760px) { .waitlist-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9FB3C8; padding: 48px 0 40px; font-size: var(--step--1); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark { height: 40px; width: auto; }
.footer-brand .word { height: 17px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #DCE7F0; text-decoration: none; }
.footer-links a:hover { color: #6FD3D5; }
.disclaimer { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); max-width: none; }

/* Page header (inner pages) */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px); }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); max-width: 18ch; }

/* Tools */
.tool-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 32px; overflow: hidden; scroll-margin-top: 90px; }
.tool-head { padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3.5vw, 40px) 0; }
.tool-head h2 { font-size: var(--step-2); margin-bottom: 6px; }
.tool-head p { color: var(--ink-2); }
.tool-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.tool-inputs { padding: clamp(20px, 3.5vw, 40px); padding-top: 12px; display: grid; gap: 18px; align-content: start; }
.tool-results { padding: clamp(20px, 3.5vw, 40px); background: var(--mist); }
@media (max-width: 860px) { .tool-body { grid-template-columns: 1fr; } }

.field label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.8125rem; margin-top: 4px; }
.field input[type="number"], .field select {
  width: 100%; font: inherit; font-variant-numeric: tabular-nums; padding: 11px 12px; border: 2px solid var(--line);
  border-radius: var(--r-sm); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.money input { padding-left: 26px !important; }
.pct { position: relative; }
.pct::after { content: "%"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { display: inline-flex; border: 2px solid var(--line); border-radius: 999px; padding: 3px; background: var(--white); }
.seg button { font: 600 var(--step--1)/1 var(--body); border: 0; background: none; padding: 9px 14px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

.headline-result { margin-bottom: 20px; }
.headline-result .big { font-family: var(--display); font-weight: 750; font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--navy); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.headline-result .big-label { color: var(--ink-2); margin-top: 6px; }
.result-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--step--1); }
.result-table th, .result-table td { text-align: left; padding: 10px 0; border-top: 1px solid var(--line); }
.result-table td:last-child, .result-table th:last-child { text-align: right; }
.result-table tr.total td { font-weight: 700; border-top: 2px solid var(--navy); }
.callout { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--white); font-size: var(--step--1); border-left: 4px solid var(--teal); }
.callout.warn { border-left-color: var(--amber); }
.fineprint { font-size: 0.8125rem; color: var(--ink-2); margin-top: 14px; }

/* Waterfall bar used in tools */
.splitbar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--mist); margin: 8px 0 10px; }
.splitbar span { display: block; height: 100%; min-width: 2px; }
.split-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--step--1); }
.split-legend li { display: flex; align-items: center; gap: 6px; }
.split-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.subs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.subs li { display: grid; grid-template-columns: auto 1fr 110px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--mist); }
.subs label { font-size: var(--step--1); }
.subs label small { display: block; color: var(--ink-2); font-size: 0.8125rem; }
.subs input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }
.subs .money input { width: 100%; font: inherit; font-size: var(--step--1); padding: 8px 8px 8px 22px !important; border: 2px solid var(--line); border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }
.subs .money::before { left: 9px; font-size: var(--step--1); }

/* Dashboard */
.demo-banner { background: var(--amber-soft); color: #5B3B00; font-size: var(--step--1); padding: 10px 0; border-bottom: 1px solid #EED6A6; }
.dash-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; padding: 32px 0 20px; }
.dash-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 0; }
.dash-head p { margin: 4px 0 0; color: var(--ink-2); }
.dash-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding-bottom: 56px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; min-width: 0; }
.tile h2 { font-family: var(--body); font-size: var(--step-0); font-weight: 700; color: var(--ink); letter-spacing: 0; margin: 0 0 4px; }
.tile .sub { font-size: var(--step--1); color: var(--ink-2); margin: 0 0 14px; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
@media (max-width: 980px) { .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; } }
.kpi .value { font-family: var(--display); font-weight: 750; font-size: 2.25rem; color: var(--navy); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi .detail { font-size: var(--step--1); color: var(--ink-2); margin-top: 6px; }
.meter { height: 10px; background: var(--mist); border-radius: 5px; overflow: hidden; margin-top: 12px; }
.meter span { display: block; height: 100%; background: var(--teal); border-radius: 5px; }

.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step--1); color: var(--ink-2); margin-bottom: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend .sw-bar { width: 12px; height: 12px; border-radius: 3px; background: var(--teal); }
.chart-legend .sw-line { width: 18px; height: 3px; border-radius: 2px; background: var(--navy); }
.axis text { font-size: 12px; fill: var(--ink-2); font-family: var(--body); }
.gridline { stroke: var(--mist); stroke-width: 1; }
.tooltip {
  position: absolute; pointer-events: none; background: var(--white); color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.4; box-shadow: 0 8px 24px -12px rgba(20,36,61,.35);
  white-space: nowrap; opacity: 0; transition: opacity .1s; z-index: 5; font-variant-numeric: tabular-nums;
}
.tooltip.show { opacity: 1; }
.tooltip b { color: var(--navy); }

.hbars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hbars li { display: grid; grid-template-columns: 8.5rem 1fr 3.25rem; gap: 10px; align-items: center; font-size: var(--step--1); }
.hbars .track { height: 14px; background: var(--mist); border-radius: 0 4px 4px 0; }
.hbars .fill { height: 100%; background: var(--teal); border-radius: 0 4px 4px 0; }
.hbars .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

.buckets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.buckets li .row { display: flex; justify-content: space-between; gap: 8px; font-size: var(--step--1); }
.buckets li .row b { font-weight: 700; }
.buckets li .row span { color: var(--ink-2); font-variant-numeric: tabular-nums; }

.table { width: 100%; border-collapse: collapse; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--mist); vertical-align: top; }
.table td.r, .table th.r { text-align: right; padding-right: 0; }
.table-scroll { overflow-x: auto; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.8125rem; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.good { background: var(--green-soft); color: var(--green); }
.status.warn { background: var(--amber-soft); color: #8A5A00; }
.status.bad { background: var(--red-soft); color: var(--red); }
.status.neutral { background: var(--mist); color: var(--ink-2); }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 4.25rem 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mist); font-size: var(--step--1); }
.timeline li:first-child { border-top: 0; }
.timeline .date { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; }
.timeline small { color: var(--ink-2); display: block; }
@media (max-width: 600px) { .axis text { font-size: 22px; } }
