/* ============================================================
   MedPay · Patient Financing
   Built to MedPay Brand Guidelines v1.0 (Vertical OS source).
   Paper canvas · ink type · teal as signal, never decoration.
   Headlines light (300). Emphasis by size and space, not weight.
   80% paper/white · 15% ink · 5% teal.
   ============================================================ */

:root {
  --paper: #F4F8F8;
  --ink: #0C2B33;
  --ink-2: #10333C;
  --t1: #13343B;
  --t2: #42565C;
  --t3: #6B8086;
  --t4: #9DB2B6;
  --line: rgba(12, 43, 51, 0.13);
  --line2: rgba(12, 43, 51, 0.06);
  --card: #FFFFFF;
  --teal: #14B8A6;
  --teal-d: #0F766E;
  --teal-l: #2DD4BF;
  --mint: #E6F7F3;
  --grad: linear-gradient(118deg, #0F766E 0%, #14B8A6 56%, #2DD4BF 100%);
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --max: 1120px;
  --r-chip: 999px;
  --r-btn: 11px;
  --r-card: 18px;
  --sh-card: 0 1px 2px rgba(12, 43, 51, 0.04);
  --sh-teal: 0 10px 28px rgba(15, 118, 110, 0.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--t2);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(20, 184, 166, 0.22); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ------------------------------------------------------------
   Type system — light display, size carries emphasis
   ------------------------------------------------------------ */

h1, h2, h3 { color: var(--t1); font-weight: 300; }

.display {
  font-size: clamp(42px, 6.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.display strong, .h2 strong { font-weight: 450; letter-spacing: -0.024em; }

.h2 {
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.h3 { font-size: 19px; font-weight: 550; letter-spacing: -0.012em; line-height: 1.35; }

/* the one teal word — deep teal on paper, bright on ink */
.tw { color: var(--teal-d); }
.band .tw, .ink-surface .tw { color: var(--teal-l); }

.kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 22px;
}

.lede {
  font-size: 17px;
  line-height: 1.62;
  color: var(--t2);
  max-width: 58ch;
}
.lede.muted { color: var(--t3); }

.small { font-size: 13px; line-height: 1.6; color: var(--t3); }

.fn-ref {
  font-size: 0.62em;
  vertical-align: super;
  color: var(--teal-d);
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 2px;
}

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

/* ------------------------------------------------------------
   Buttons — radius 11 · 14/600 · one primary per screen
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform 0.18s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal-d);
  color: #fff;
  box-shadow: var(--sh-teal);
}
.btn-primary:hover { background: #0C6159; box-shadow: 0 14px 34px rgba(15, 118, 110, 0.34); transform: translateY(-1px); }

.btn-ghost {
  background: var(--card);
  color: var(--t1);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(12, 43, 51, 0.3); }

.btn-on-ink {
  background: #fff;
  color: var(--ink);
}
.btn-on-ink:hover { background: var(--mint); transform: translateY(-1px); }

.btn-ghost-ink {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-ghost-ink:hover { border-color: rgba(255, 255, 255, 0.55); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-d);
}
.link-arrow svg { transition: transform 0.18s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------
   Tags · chips
   ------------------------------------------------------------ */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  padding: 7px 14px;
  background: var(--card);
  transition: background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.tag:hover { background: var(--mint); border-color: rgba(15, 118, 110, 0.25); }

.tag-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-d);
  background: var(--mint);
  border-radius: var(--r-chip);
  padding: 5px 12px;
}
.tag-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.tag-note {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  background: var(--card);
}

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 248, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-cross {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: var(--teal-d);
  flex: none;
}
.brand-name { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: var(--t1); }
.brand-name em { font-style: normal; color: var(--teal-d); }
.brand-sub { font-size: 12.5px; font-weight: 450; color: var(--t3); margin-left: 2px; }

.band .brand-cross, .on-ink .brand-cross { background: rgba(45, 212, 191, 0.14); color: var(--teal-l); }
.band .brand-name, .on-ink .brand-name { color: #fff; }
.band .brand-name em, .on-ink .brand-name em { color: var(--teal-l); }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  padding: 6px 0;
  white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transition: right 0.22s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--t1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; min-height: 40px; }
.nav-cta .btn-primary { box-shadow: 0 6px 18px rgba(15, 118, 110, 0.22); }

.nav-burger {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--t1);
  place-items: center;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line2);
  background: var(--paper);
  padding: 10px 28px 26px;
}
.nav-mobile a {
  display: block;
  padding: 14px 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--t1);
  border-bottom: 1px solid var(--line2);
}
.nav-mobile .btn { margin-top: 18px; width: 100%; }
.nav-mobile a.btn-primary { color: #fff; border-bottom: none; }
.nav-shell.open .nav-mobile { display: block; }

/* ------------------------------------------------------------
   Backdrop — faint teal grid on paper, mint glow at top
   ------------------------------------------------------------ */

.backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 45%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 45%, transparent 78%);
}
.backdrop::after {
  content: '';
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 460px;
  background: radial-gradient(closest-side, rgba(230, 247, 243, 0.9), rgba(230, 247, 243, 0));
}

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

.hero { position: relative; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding: clamp(64px, 9vh, 108px) 0 clamp(72px, 10vh, 116px);
}
.hero-copy .lede { margin: 26px 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--t3); max-width: 46ch; }

.page-hero { position: relative; }
.page-hero-inner { position: relative; padding: clamp(56px, 8vh, 96px) 0 clamp(48px, 7vh, 84px); }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.02em; max-width: 21ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero .hero-ctas { margin-top: 34px; }

/* ------------------------------------------------------------
   Offer card — the product, drawn. Animates once on view.
   ------------------------------------------------------------ */

.offer-scene { position: relative; }
.offer-glow {
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(closest-side, rgba(230, 247, 243, 0.95), rgba(230, 247, 243, 0));
  z-index: 0;
}

.offer-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(12,43,51,0.05), 0 24px 60px -24px rgba(12, 43, 51, 0.18);
  overflow: hidden;
}
.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--line2);
}
.offer-head-title { font-size: 14px; font-weight: 600; color: var(--t1); letter-spacing: -0.01em; }
.offer-head-sub { font-size: 12px; color: var(--t3); font-variant-numeric: tabular-nums; }

.softcheck {
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--line2);
}
.softcheck-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.softcheck-label { font-size: 12.5px; font-weight: 550; color: var(--t2); }
.softcheck-done {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-d);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
}
.softcheck-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line2);
  overflow: hidden;
}
.softcheck-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: var(--grad);
}
.offer-card.play .softcheck-fill { animation: fillup 1.1s var(--ease-out) 0.3s forwards; }
.offer-card.play .softcheck-done { animation: fadein 0.4s ease-out 1.45s forwards; }

@keyframes fillup { to { width: 100%; } }
@keyframes fadein { to { opacity: 1; } }

.offer-rows { padding: 6px 10px 8px; }
.offer-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: background 0.18s var(--ease-out);
}
.offer-card.play .offer-row { animation: riseIn 0.5s var(--ease-out) forwards; }
.offer-card.play .offer-row:nth-child(1) { animation-delay: 1.6s; }
.offer-card.play .offer-row:nth-child(2) { animation-delay: 1.78s; }
.offer-card.play .offer-row:nth-child(3) { animation-delay: 1.96s; }

@keyframes riseIn { to { opacity: 1; transform: none; } }

.offer-row:hover { background: rgba(230, 247, 243, 0.55); }
.offer-lender { display: flex; align-items: center; gap: 11px; min-width: 0; }
.offer-avatar {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal-d);
  background: var(--mint);
  flex: none;
}
.offer-lender-name { font-size: 13.5px; font-weight: 600; color: var(--t1); letter-spacing: -0.01em; }
.offer-lender-sub { font-size: 11.5px; color: var(--t3); }
.offer-amt { font-size: 15.5px; font-weight: 600; color: var(--t1); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.offer-amt small { display: block; font-size: 11px; font-weight: 500; color: var(--t4); letter-spacing: 0.02em; }
.offer-view {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal-d);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 13px;
  background: var(--card);
  transition: border-color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}
.offer-row:hover .offer-view { border-color: rgba(15, 118, 110, 0.35); background: var(--mint); }

.offer-foot {
  padding: 13px 22px 16px;
  border-top: 1px solid var(--line2);
  background: var(--paper);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--t3);
}

.offer-chip-float {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: 22px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-chip);
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px -8px rgba(12, 43, 51, 0.35);
  opacity: 0;
  transform: translateY(8px);
}
.offer-chip-float::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-l);
}
.offer-scene.play .offer-chip-float { animation: riseIn 0.5s var(--ease-out) 2.3s forwards; }

/* ------------------------------------------------------------
   Ticker — slow drift of approved phrases
   ------------------------------------------------------------ */

.ticker {
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  background: var(--card);
  overflow: hidden;
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--card), rgba(255,255,255,0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--card), rgba(255,255,255,0)); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: drift 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

.ticker-set { display: flex; align-items: center; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 17px 26px 17px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t2);
  white-space: nowrap;
}
.ticker-item svg { color: var(--teal); flex: none; }

/* ------------------------------------------------------------
   Sections · editorial rhythm
   ------------------------------------------------------------ */

.section { position: relative; padding: clamp(84px, 11vh, 128px) 0; }
.section.tint { background: var(--card); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.section.mint-tint { background: linear-gradient(180deg, rgba(230,247,243,0.5), rgba(230,247,243,0)) , var(--paper); }

.sec-head { max-width: 720px; margin-bottom: clamp(44px, 6vh, 64px); }
.sec-head .lede { margin-top: 20px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

.sec-index {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.sec-index .idx {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-d);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.sec-index .rule { flex: 0 0 44px; height: 1px; background: var(--line); align-self: center; }
.sec-index .kicker { margin-bottom: 0; }

/* double rule — the accountant's total line */
.double-rule {
  height: 7px;
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--ink);
  width: 76px;
}

/* ------------------------------------------------------------
   Route diagram — one application to a panel and back
   ------------------------------------------------------------ */

.route { position: relative; }
.route svg { width: 100%; height: auto; }
.route .r-line { stroke: var(--line); stroke-width: 1.5; fill: none; }
.route .r-pulse {
  stroke: var(--teal);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 26 340;
  stroke-dashoffset: 366;
  opacity: 0;
}
.route.play .r-pulse { animation: routePulse 3.4s var(--ease-out) infinite; opacity: 1; }
.route.play .r-pulse.d1 { animation-delay: 0.35s; }
.route.play .r-pulse.d2 { animation-delay: 0.7s; }
.route.play .r-pulse.d3 { animation-delay: 1.05s; }
@keyframes routePulse {
  0% { stroke-dashoffset: 366; }
  70%, 100% { stroke-dashoffset: 0; }
}
.route .r-node { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.route .r-node.accent { stroke: var(--teal); }
.route text {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  fill: var(--t1);
  letter-spacing: -0.01em;
}
.route text.sub { font-size: 10.5px; font-weight: 500; fill: var(--t3); }
.route text.mark { fill: var(--teal-d); font-size: 11px; letter-spacing: 0.08em; }

/* ------------------------------------------------------------
   Editorial steps — numbered rows, hairline rules
   ------------------------------------------------------------ */

.ed-steps { border-top: 1px solid var(--line); }
.ed-step {
  display: grid;
  grid-template-columns: 120px 1fr 1.35fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ed-num {
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 200;
  line-height: 1;
  color: var(--t4);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  transition: color 0.3s var(--ease-out);
}
.ed-step:hover .ed-num { color: var(--teal-d); }
.ed-step h3 { font-size: 21px; font-weight: 450; letter-spacing: -0.015em; color: var(--t1); }
.ed-step h3 span { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); margin-top: 10px; }
.ed-step p { font-size: 15px; color: var(--t2); max-width: 56ch; }
.ed-step p b { color: var(--t1); font-weight: 600; }

/* ------------------------------------------------------------
   Stats — counters, tabular, footnoted
   ------------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 30px 26px 4px 0;
  border-right: 1px solid var(--line2);
  margin-right: 26px;
}
.stat:last-child { border-right: none; margin-right: 0; }
.stat-val {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 250;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat-val small { font-size: 0.42em; font-weight: 500; color: var(--t3); letter-spacing: 0; margin-left: 2px; }
.stat-lab { margin-top: 10px; font-size: 13.5px; color: var(--t3); max-width: 24ch; }

/* ------------------------------------------------------------
   Split cards — practice / patient
   ------------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 22px; }
.aud-card {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card);
  padding: clamp(30px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.aud-card:hover { border-color: rgba(15, 118, 110, 0.3); transform: translateY(-3px); }
.aud-card.minted { background: linear-gradient(160deg, rgba(230,247,243,0.7), rgba(255,255,255,0.9)); }
.aud-card .kicker { margin-bottom: 14px; }
.aud-card h3 { font-size: clamp(22px, 2.4vw, 27px); font-weight: 400; letter-spacing: -0.018em; margin-bottom: 12px; }
.aud-card > p { font-size: 15px; color: var(--t2); margin-bottom: 24px; max-width: 46ch; }
.aud-rows { border-top: 1px solid var(--line2); margin-bottom: 30px; }
.aud-rows div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line2);
  font-size: 14px;
  color: var(--t2);
}
.aud-rows svg { flex: none; color: var(--teal-d); }
.aud-card .link-arrow { margin-top: auto; }

/* ------------------------------------------------------------
   Pill cloud — verticals
   ------------------------------------------------------------ */

.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; max-width: 880px; }
.pill-cloud .tag { padding: 11px 20px; font-size: 14px; }
.pill-cloud .tag b { font-weight: 600; color: var(--t1); }
.pill-cloud .tag span { color: var(--t4); font-size: 12.5px; }

/* ------------------------------------------------------------
   Ink band — the one highlight moment per page
   ------------------------------------------------------------ */

.band {
  background: var(--ink);
  color: rgba(230, 247, 243, 0.68);
  position: relative;
  overflow: hidden;
}
.band .backdrop::before {
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.05) 1px, transparent 1px);
}
.band .backdrop::after { background: radial-gradient(closest-side, rgba(45, 212, 191, 0.08), transparent); }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: var(--teal-l); }
.band .lede { color: rgba(230, 247, 243, 0.62); }

.band-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(40px, 6vh, 60px);
}
.band-col { border-top: 1px solid rgba(230, 247, 243, 0.16); padding-top: 22px; }
.band-col h3 { font-size: 16.5px; font-weight: 550; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.band-col h3 svg { color: var(--teal-l); flex: none; }
.band-col p { font-size: 14px; line-height: 1.65; color: rgba(230, 247, 243, 0.6); }

.cta-band { text-align: center; padding: clamp(88px, 12vh, 132px) 0; position: relative; }
.cta-band h2 { max-width: 22ch; margin: 0 auto 20px; }
.cta-band .lede { margin: 0 auto 38px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .hero-note { margin: 22px auto 0; }

/* ------------------------------------------------------------
   FAQ — hairline rows
   ------------------------------------------------------------ */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--t1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.18s var(--ease-out);
}
.faq summary:hover { color: var(--teal-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--teal-d);
  transition: transform 0.25s var(--ease-out);
  flex: none;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; font-size: 14.5px; color: var(--t2); max-width: 62ch; }

/* ------------------------------------------------------------
   Ledger — definition rows
   ------------------------------------------------------------ */

.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.ledger-row::before {
  content: '';
  position: absolute;
  left: -28px; top: 24px; bottom: 26px;
  width: 2px;
  border-radius: 2px;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
}
.ledger-row:hover::before { opacity: 1; }
.ledger-row dt { font-size: 15.5px; font-weight: 600; letter-spacing: -0.012em; color: var(--t1); }
.ledger-row dd { font-size: 14.5px; color: var(--t2); max-width: 66ch; }

/* ------------------------------------------------------------
   Timeline — rail with nodes
   ------------------------------------------------------------ */

.timeline { position: relative; max-width: 820px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 23px; top: 14px; bottom: 14px;
  width: 1.5px;
  background: var(--line);
}
.tl-item { position: relative; padding: 0 0 46px 80px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker {
  position: absolute;
  left: 0; top: -2px;
  width: 47px; height: 47px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 550;
  font-size: 13.5px;
  color: var(--teal-d);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.tl-item:hover .tl-marker { border-color: rgba(15,118,110,0.4); box-shadow: 0 6px 18px -6px rgba(15,118,110,0.25); }
.tl-item h3 { font-size: 20px; font-weight: 450; letter-spacing: -0.015em; margin-bottom: 8px; }
.tl-item p { font-size: 15px; color: var(--t2); max-width: 58ch; }
.tl-tag { margin-top: 14px; }

/* ------------------------------------------------------------
   Is / is-not
   ------------------------------------------------------------ */

.isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.isnot-col header {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}
.isnot-col.is header { color: var(--teal-d); border-color: var(--teal); }
.isnot-col.not header { color: var(--t3); }
.isnot-col div {
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--t2);
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.isnot-col svg { flex: none; margin-top: 3px; }
.isnot-col.is svg { color: var(--teal-d); }
.isnot-col.not svg { color: var(--t4); }

/* ------------------------------------------------------------
   Prose cards — trust page
   ------------------------------------------------------------ */

.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prose-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: clamp(26px, 3vw, 34px);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.prose-card:hover { border-color: rgba(15, 118, 110, 0.3); transform: translateY(-3px); }
.prose-card h3 { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; font-size: 17px; font-weight: 550; }
.prose-card h3 svg { color: var(--teal-d); flex: none; }
.prose-card p { font-size: 14.5px; color: var(--t2); }
.prose-card p + p { margin-top: 12px; }
.prose-card .ref {
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-d);
}
.prose-card .ref::before {
  content: '';
  display: block;
  margin-bottom: 14px;
  height: 5px;
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--teal);
  width: 44px;
}

/* ------------------------------------------------------------
   Pipeline — front-desk status mock
   ------------------------------------------------------------ */

.pipeline {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(12,43,51,0.05), 0 24px 60px -28px rgba(12, 43, 51, 0.16);
}
.pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line2);
}
.pipeline-title { font-size: 14px; font-weight: 600; color: var(--t1); }
.pipeline-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line2);
}
.pipe-stage { padding: 14px 18px; border-right: 1px solid var(--line2); }
.pipe-stage:last-child { border-right: none; }
.pipe-stage .lab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 7px;
}
.pipe-stage .lab::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--t4); }
.pipe-stage.active .lab { color: var(--teal-d); }
.pipe-stage.active .lab::before { background: var(--teal); }
.pipe-stage .cnt { margin-top: 6px; font-size: 22px; font-weight: 350; letter-spacing: -0.02em; color: var(--t1); font-variant-numeric: tabular-nums; }
.pipe-rows { padding: 4px 8px 8px; }
.pipe-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
}
.pipe-row:hover { background: rgba(230, 247, 243, 0.5); }
.pipe-row .who { font-weight: 600; color: var(--t1); }
.pipe-row .what { color: var(--t3); font-size: 12.5px; }
.pipe-row .amt { font-weight: 600; color: var(--t1); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------
   Notes — footnote block
   ------------------------------------------------------------ */

.notes {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  max-width: 860px;
}
.notes-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 14px;
}
.notes ol { list-style: none; counter-reset: fn; }
.notes li {
  counter-increment: fn;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--t3);
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}
.notes li::before {
  content: counter(fn);
  position: absolute;
  left: 0; top: 1px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-d);
  font-variant-numeric: tabular-nums;
}

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

footer { background: var(--paper); position: relative; }
.foot-rule { border-top: 1px solid var(--line); }
.foot-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 46px;
}
.foot-brand p { margin-top: 18px; font-size: 13.5px; color: var(--t3); max-width: 32ch; }
.foot-col b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 16px;
}
.foot-col a { display: block; font-size: 14px; color: var(--t2); padding: 6px 0; transition: color 0.15s ease; }
.foot-col a:hover { color: var(--teal-d); }
.foot-disclosure {
  border-top: 1px solid var(--line2);
  padding: 30px 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--t3);
}
.foot-disclosure p + p { margin-top: 10px; }
.foot-bottom {
  border-top: 1px solid var(--line2);
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--t3);
}
.foot-bottom nav { display: flex; gap: 22px; }
.foot-bottom a:hover { color: var(--teal-d); }

/* ------------------------------------------------------------
   Reveal
   ------------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .offer-row, .softcheck-done, .offer-chip-float { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .softcheck-fill { width: 100% !important; animation: none !important; }
  .ticker-track { animation: none !important; }
  .route .r-pulse { animation: none !important; opacity: 0 !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-top: 24px; }
  .stat:nth-child(2) { border-right: none; }
  .band-cols { grid-template-columns: 1fr; gap: 28px; }
  .split, .isnot, .prose-grid { grid-template-columns: 1fr; }
  .ed-step { grid-template-columns: 76px 1fr; }
  .ed-step p { grid-column: 2; }
  .foot-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .offer-row { grid-template-columns: 1fr auto auto; }
  .offer-row .offer-amt:nth-child(3) { display: none; }
  .ledger-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .ledger-row::before { left: -20px; }
  .ed-step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0 30px; }
  .ed-num { font-size: 34px; }
  .ed-step p { grid-column: 1; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; margin-right: 0; padding-right: 0; }
  .foot-main { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .tl-item { padding-left: 68px; }
  .pipeline-stages { grid-template-columns: repeat(2, 1fr); }
  .pipe-stage { border-bottom: 1px solid var(--line2); }
  .pipe-row { grid-template-columns: 1fr auto; }
  .pipe-row .what, .pipe-row .tag-status { display: none; }
  .brand-sub { display: none; }
}

/* ------------------------------------------------------------
   Scenes — live canvas depth, deck-standard craft.
   Deterministic, paused off-screen, static under reduced motion.
   ------------------------------------------------------------ */

.offer-glow { z-index: 0; }
.offer-card { position: relative; z-index: 2; }

.band.has-scene .backdrop::before { display: none; }
.scene-rails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.band.has-scene > .wrap { position: relative; z-index: 2; }

/* ------------------------------------------------------------
   Pre-qualify card — the patient surface, per the brand
   guidelines' applied example. No approvals promised anywhere.
   ------------------------------------------------------------ */

.offer-card.pq { max-width: 396px; margin: 0 auto; }
.offer-card.pq .offer-head { padding: 16px 24px; }
.pq-body { padding: 24px 24px 26px; }
.pq-title { font-size: 24px; font-weight: 450; letter-spacing: -0.02em; color: var(--t1); line-height: 1.22; }
.pq-sub { margin-top: 6px; font-size: 14.5px; color: var(--t3); }
.softcheck.pq-check { padding: 0; border: none; margin: 22px 0 18px; }
.pq-terms { display: flex; gap: 8px; margin: 0 0 14px; }
.pq-pill {
  flex: 1;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 0;
  background: var(--card);
}
.pq-pill.on { color: var(--teal-d); border-color: rgba(15, 118, 110, 0.45); background: var(--mint); }
.pq-cta { width: 100%; }
.offer-card.pq .pq-terms, .offer-card.pq .pq-cta { opacity: 0; transform: translateY(10px); }
.offer-card.pq.play .pq-terms { animation: riseIn 0.5s var(--ease-out) 1.55s forwards; }
.offer-card.pq.play .pq-cta { animation: riseIn 0.5s var(--ease-out) 1.72s forwards; }

@media (prefers-reduced-motion: reduce) {
  .offer-card.pq .pq-terms, .offer-card.pq .pq-cta { opacity: 1 !important; transform: none !important; animation: none !important; }
}



/* ============================================================
   THE RICH LAYER — composed scenes, top-lit panels, ghost
   numerals, instrument chrome. Deck standard on paper.
   ============================================================ */

/* top-lit panel treatment: every raised surface gets real light */
.offer-card, .aud-card, .prose-card, .pipeline, .tl-marker {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFC 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(12, 43, 51, 0.05), 0 14px 36px -18px rgba(12, 43, 51, 0.14);
}
.aud-card.minted {
  background: linear-gradient(165deg, #F2FBF8 0%, #FFFFFF 78%);
}
.aud-card:hover, .prose-card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(12, 43, 51, 0.05), 0 22px 48px -20px rgba(15, 118, 110, 0.22);
}

/* ghost numerals: the deck's chapter ghosts, calm on paper */
.section > .wrap { position: relative; }
.ghost {
  position: absolute;
  top: -34px;
  right: -12px;
  font-size: clamp(120px, 16vw, 210px);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 118, 110, 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
}
.band .ghost { -webkit-text-stroke: 1.5px rgba(45, 212, 191, 0.16); }
.section > .wrap > *:not(.ghost) { position: relative; z-index: 1; }

/* instrument panel: framed surface with chrome for diagrams + stats */
.instrument {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFC 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(12, 43, 51, 0.05), 0 24px 56px -28px rgba(12, 43, 51, 0.16);
  overflow: hidden;
  position: relative;
}
.instrument::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 80% at 50% 45%, rgba(0,0,0,0.8), transparent);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}
.instr-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line2);
  position: relative;
}
.instr-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t3);
}
.instr-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-d);
}
.instr-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4);
  animation: livepulse 2.6s ease-out infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}
.instrument .route { padding: 26px 26px 10px; position: relative; }

/* stats contained: the ledger strip */
.stats.contained {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFC 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(12, 43, 51, 0.05), 0 18px 44px -24px rgba(12, 43, 51, 0.15);
  overflow: hidden;
}
.stats.contained .stat { padding: 28px 26px 24px; margin-right: 0; border-right: 1px solid var(--line2); }
.stats.contained .stat:last-child { border-right: none; }

/* ------------------------------------------------------------
   The hero card: one clean product object on the brand canvas.
   No stage, no panel-on-panel, no decorative marks. A soft mint
   glow behind it lifts it off the paper. That is all.
   ------------------------------------------------------------ */

.offer-scene { position: relative; display: flex; justify-content: center; }
.offer-scene::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 118%;
  height: 118%;
  top: -9%;
  left: -9%;
  background: radial-gradient(46% 42% at 60% 38%, rgba(45, 212, 191, 0.16), transparent 72%);
  pointer-events: none;
}
.offer-card.pq {
  position: relative;
  z-index: 1;
  width: min(404px, 100%);
  max-width: 404px;
  margin: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(12, 43, 51, 0.05),
    0 30px 60px -30px rgba(12, 43, 51, 0.24);
}

@media (max-width: 1024px) {
  .offer-scene { margin-top: 8px; }
  .ghost { font-size: 96px; top: -20px; right: 0; -webkit-text-stroke-width: 1.2px; }
}

/* ------------------------------------------------------------
   Swimlane — who does what across the flow. The front-desk lane
   is deliberately near-empty; that is the argument.
   ------------------------------------------------------------ */

.swim { padding: 22px 24px 18px; position: relative; }
.swim svg { width: 100%; height: auto; }

.swim .s-band { fill: rgba(20, 184, 166, 0.026); }
.swim .s-band.you { fill: rgba(20, 184, 166, 0.06); }
.swim .s-sep { stroke: var(--line2); stroke-width: 1; }
.swim .s-rule { stroke: var(--line); stroke-width: 1; }

.swim text { font-family: var(--font); }
.swim .s-lane {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  fill: var(--t3);
}
.swim .s-lane.you { fill: var(--teal-d); }
.swim .s-step {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  fill: var(--t4);
  font-variant-numeric: tabular-nums;
}

.swim .s-node { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.swim .s-node.you { fill: var(--mint); stroke: rgba(20, 184, 166, 0.42); }
.swim .s-node.accent { stroke: var(--teal); }

.swim text.s-t { font-size: 11.5px; font-weight: 550; fill: var(--t1); }
.swim text.s-s { font-size: 9.5px; font-weight: 500; fill: var(--t3); }

.swim .s-link { stroke: var(--line); stroke-width: 1.5; fill: none; }
.swim .s-gate { stroke: var(--teal); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: 0.5; }
.swim .s-gate-t {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: var(--teal-d);
}

/* ------------------------------------------------------------
   Gantt — contract to counter. Days across, workstreams down.
   The final bar is the one filled moment.
   ------------------------------------------------------------ */

.gantt { padding: 22px 24px 18px; position: relative; }
.gantt svg { width: 100%; height: auto; }

.gantt text { font-family: var(--font); }
.gantt .g-col { stroke: var(--line2); stroke-width: 1; }
.gantt .g-rule { stroke: var(--line); stroke-width: 1; }
.gantt .g-day {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  fill: var(--t4);
  font-variant-numeric: tabular-nums;
}
.gantt .g-row { font-size: 11.5px; font-weight: 550; fill: var(--t1); }
.gantt .g-sub { font-size: 9.5px; font-weight: 500; fill: var(--t3); }

.gantt .g-bar { fill: var(--mint); stroke: rgba(20, 184, 166, 0.42); stroke-width: 1.5; }
.gantt .g-bar.solid { fill: var(--teal-d); stroke: var(--teal-d); }
.gantt text.g-in { font-size: 11px; font-weight: 550; fill: var(--teal-d); }
.gantt text.g-in.on-solid { fill: #FFFFFF; }

.gantt .g-mark { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.gantt .g-mark-t {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: var(--t3);
}

@media (max-width: 860px) {
  .swim, .gantt { padding: 16px 12px 12px; overflow-x: auto; }
  .swim svg, .gantt svg { min-width: 720px; }
}
