/* Mighty Insure. Colors come straight from the founding deck. */
:root {
  --navy: #0A2540;
  --navy-2: #0f2f50;
  --slate: #1E293B;
  --teal: #00A3A1;
  --teal-ink: #007f7d;
  --gold: #C9A227;
  --paper: #F8FAFC;
  --mist: #A0AEC0;
  --line: #dfe5ec;
  --muted: #526073;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--slate);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--teal); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec h2 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; max-width: 17ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 56ch; margin-top: 20px; }
.big { font: 800 clamp(56px, 9vw, 120px)/0.95 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.cap { font-size: 15px; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); margin-top: 14px; }
.gold { color: var(--gold); }

/* dark sections */
.dark { background: var(--navy); color: #e8eef5; }
.dark .lede, .dark .cap, .dark .note { color: #a9b8c9; }
.dark a { color: #fff; text-decoration-color: var(--teal); text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  color: #fff; transition: background .3s, box-shadow .3s;
}
.nav.solid { background: rgba(10, 37, 64, .96); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-in { height: 100%; width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 30px; height: 33px; color: #fff; }
.word, .foot-brand { font: 500 22px/1 var(--display); letter-spacing: -0.01em; }
.word b, .foot-brand b { font-weight: 800; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 8px 12px; font-size: 15px; font-weight: 600; text-decoration: none;
  color: rgba(255,255,255,.78); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.on { color: #fff; border-bottom-color: var(--teal); }
.menu-btn { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.progress span { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 900px) {
  .menu-btn {
    display: block; margin-left: auto; background: none; color: #fff; font: 600 15px var(--body);
    border: 1px solid rgba(255,255,255,.4); padding: 8px 14px; cursor: pointer;
  }
  .nav nav { position: absolute; top: var(--nav-h); left: 0; right: 0; margin: 0; }
  .nav-links { display: none; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 16px 16px; }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--navy); }
  .nav-links a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a.on { border-bottom-color: rgba(255,255,255,.08); color: var(--teal); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-bg img { transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,37,64,.95) 0%, rgba(10,37,64,.82) 38%, rgba(10,37,64,.25) 75%, rgba(10,37,64,.1) 100%),
              linear-gradient(0deg, rgba(10,37,64,.9) 0%, rgba(10,37,64,0) 35%);
}
@keyframes settle { to { transform: scale(1); } }
.hero-in { position: relative; z-index: 1; align-self: center; width: min(1200px, 100% - 32px); margin: 0 auto; padding: calc(var(--nav-h) + 40px) 0 40px; }
.hero-sister { font-size: 16px; color: #c7d3e0; margin-bottom: 18px; }
.hero h1 { font-size: clamp(56px, 10vw, 136px); font-weight: 800; letter-spacing: -0.04em; line-height: .9; }
.hero h1 span { display: block; color: var(--teal); font-weight: 500; font-size: .5em; letter-spacing: -0.02em; margin-top: 12px; }
.lines { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 34px; font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--display); }
.lines li { position: relative; padding-bottom: 6px; opacity: 0; transform: translateY(10px); animation: lineIn .6s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .14s); }
.lines li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; animation: under .5s var(--ease) forwards; animation-delay: calc(.8s + var(--i) * .14s); }
.lines li:nth-child(n+3)::after { background: var(--gold); }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@keyframes under { to { transform: scaleX(1); } }
.hero-tag { margin-top: 26px; font-size: clamp(18px, 1.8vw, 22px); color: #dbe4ee; }
.hero-next { display: inline-block; margin-top: 34px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 4px; }
.hero-next span { display: inline-block; transition: transform .2s; }
.hero-next:hover span { transform: translateY(3px); }
.hero-stats {
  position: relative; z-index: 1; margin: 0; width: min(1200px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats div { padding: 22px 20px 30px 0; }
.hero-stats div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats dt { font-size: 14px; color: #b9c7d6; order: 2; }
.hero-stats dd { margin: 0 0 4px; font: 800 clamp(28px, 3.6vw, 44px)/1 var(--display); font-variant-numeric: tabular-nums; }
.hero-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .hero::after { background: linear-gradient(0deg, rgba(10,37,64,.96) 10%, rgba(10,37,64,.75) 60%, rgba(10,37,64,.55) 100%); }
}

/* ---------- opportunity ---------- */
.opp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.squeeze { margin-top: 40px; border-top: 1px solid var(--line); }
.squeeze li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.squeeze b { font: 700 20px/1.3 var(--display); position: relative; padding-left: 18px; }
.squeeze b::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--gold); }
.squeeze span { color: var(--muted); }
.opp-photo { margin: 0; position: sticky; top: calc(var(--nav-h) + 30px); }
.opp-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 60% 50%; }
.opp-photo figcaption { font-size: 15px; color: var(--muted); margin-top: 12px; border-left: 3px solid var(--teal); padding-left: 12px; }
@media (max-width: 860px) {
  .opp-grid { grid-template-columns: 1fr; }
  .opp-photo { position: static; }
  .opp-photo img { aspect-ratio: 3/2; }
  .squeeze li { grid-template-columns: 1fr; gap: 4px; }
}

.flow { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: max-content minmax(80px, 1fr) max-content; gap: 0 32px; align-items: center; }
.flow-label { font: 700 15px var(--body); color: var(--muted); margin-bottom: 10px; }
.flow-from li, .flow-to li { font: 700 clamp(20px, 2.2vw, 28px)/1 var(--display); height: 52px; display: flex; align-items: center; }
.flow-from li { color: #8b97a7; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: transparent; transition: text-decoration-color .5s, color .5s; }
.flow.play .flow-from li { text-decoration-color: rgba(201,162,39,.8); }
.flow-to li { color: var(--navy); opacity: .15; transition: opacity .5s; }
.flow.play .flow-to li { opacity: 1; }
.flow-to li::before { content: ""; width: 10px; height: 10px; background: var(--teal); margin-right: 14px; flex: none; }
.flow-lines { width: 100%; height: 260px; margin-top: 30px; }
.flow-lines path { fill: none; stroke: var(--teal); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.1s var(--ease); }
.flow.play .flow-lines path { stroke-dashoffset: 0; }
.flow-lines path:nth-child(2) { transition-delay: .1s; } .flow-lines path:nth-child(3) { transition-delay: .2s; }
.flow-lines path:nth-child(4) { transition-delay: .3s; } .flow-lines path:nth-child(5) { transition-delay: .4s; }
.flow-from li:nth-child(2) { transition-delay: .1s; } .flow-from li:nth-child(3) { transition-delay: .2s; }
.flow-from li:nth-child(4) { transition-delay: .3s; } .flow-from li:nth-child(5) { transition-delay: .4s; }
.flow-to li:nth-child(1) { transition-delay: .9s; } .flow-to li:nth-child(2) { transition-delay: 1.05s; }
.flow-to li:nth-child(3) { transition-delay: 1.2s; } .flow-to li:nth-child(4) { transition-delay: 1.35s; }
@media (max-width: 700px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-lines { display: none; }
  .flow-from li, .flow-to li { height: 40px; }
}

.goal { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px 60px; align-items: center; padding-top: 48px; border-top: 1px solid var(--line); }
.goal-num .big { color: var(--navy); }
.goal-num p:last-child { font-size: 19px; color: var(--muted); margin-top: 14px; max-width: 26ch; }
.goal-note { grid-column: 1 / -1; font-size: 16px; color: var(--muted); }
@media (max-width: 860px) { .goal { grid-template-columns: 1fr; } }

.usmap { position: relative; margin: 0; }
.usmap-svg svg { display: block; width: 100%; height: auto; overflow: visible; }
.usmap .st { fill: #e3e9f0; stroke: #fff; stroke-width: 1; stroke-linejoin: round; transition: fill .45s var(--ease); cursor: default; }
.usmap .st:hover, .usmap .st.hot { fill: #cdd7e3; }
.usmap .st.pri { transition-delay: var(--d, 0s); }
.usmap.play .st.pri { fill: var(--teal); }
.usmap.play .st.pri:hover, .usmap.play .st.pri.hot { fill: var(--navy); transition-delay: 0s; }
.usmap .lbl { font: 700 13px var(--body); fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); transition-delay: var(--d, 0s); }
.usmap.play .lbl { opacity: 1; }
.usmap-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--navy); color: #fff; font: 600 14px/1.3 var(--body); padding: 7px 11px; border-radius: 6px; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; }
.usmap-tip.on { opacity: 1; }
.usmap-tip small { display: block; font-weight: 500; color: #7fe0de; font-size: 12px; }
.usmap-key { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 18px; font-size: 15px; }
.usmap-k { color: var(--muted); margin-right: 4px; }
.usmap-key button { font: 600 15px var(--body); color: var(--navy); background: none; border: 0; padding: 2px 0; border-bottom: 2px solid var(--teal); cursor: pointer; }
.usmap-key button:hover, .usmap-key button:focus-visible, .usmap-key button.hot { color: var(--teal); outline: none; }

/* ---------- SIAA ---------- */
.siaa-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
.siaa-head .lede { margin: 0; }
@media (max-width: 860px) { .siaa-head { grid-template-columns: 1fr; } }
.siaa-grid { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: 1.3fr 1fr 1fr; border-top: 1px solid rgba(255,255,255,.14); }
.siaa-grid > div { padding: 36px 32px 0 0; }
.siaa-grid > div + div { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.siaa-grid .big { font-size: clamp(48px, 6vw, 84px); }
.siaa-grid .cap { margin-top: 10px; }
.share { margin-top: 34px; }
.share-bar { height: 14px; background: rgba(255,255,255,.12); position: relative; }
.share-bar .fl { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease) .4s; }
.play .share-bar .fl { transform: scaleX(1); }
.share p { margin-top: 12px; font-size: 15px; color: #c8d4e1; }
.dots { display: grid; grid-template-columns: repeat(10, 12px); gap: 7px; margin-top: 28px; }
.dots i { width: 12px; height: 12px; background: rgba(255,255,255,.14); transition: background .3s; transition-delay: calc(var(--n) * 22ms); }
.play .dots i { background: var(--teal); }
.hbar { display: grid; grid-template-columns: 72px 1fr 44px; gap: 12px; align-items: center; margin-top: 22px; }
.hbar .k { font-size: 15px; color: #c8d4e1; }
.hbar .v { height: 30px; background: rgba(255,255,255,.08); position: relative; }
.hbar .v i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease) .3s; }
.hbar + .hbar .v i { background: var(--teal); transition-delay: .5s; }
.play .hbar .v i { transform: scaleX(1); }
.hbar b { font: 800 20px var(--display); text-align: right; }
.siaa-carriers .hbar:first-of-type { margin-top: 18px; }
.perks { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 12px 40px; font: 700 clamp(20px, 2.2vw, 26px)/1.2 var(--display); }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks li::before { content: ""; width: 10px; height: 10px; background: var(--gold); }
@media (max-width: 960px) {
  .siaa-grid { grid-template-columns: 1fr 1fr; }
  .siaa-premium { grid-column: 1 / -1; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .siaa-agencies { padding-left: 0 !important; border-left: 0 !important; }
}
@media (max-width: 600px) {
  .siaa-grid { grid-template-columns: 1fr; }
  .siaa-carriers { padding-left: 0 !important; border-left: 0 !important; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.14); }
}

/* ---------- healthcare ---------- */
.hc-head h2 { max-width: 22ch; }
.big-t { display: block; color: var(--teal-ink); font-size: 1.9em; letter-spacing: -0.04em; margin-bottom: 8px; }
.chart { margin: clamp(48px, 7vw, 80px) 0 0; }
.chart .row { display: grid; grid-template-columns: 230px 1fr 120px 44px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chart .lab { font-weight: 600; }
.chart .bar { height: 34px; position: relative; }
.chart .bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: #c3ccd8; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.chart .row:nth-child(3) .bar i { transition-delay: .12s; } .chart .row:nth-child(4) .bar i { transition-delay: .5s; }
.chart .row:nth-child(5) .bar i { transition-delay: .24s; } .chart .row:nth-child(6) .bar i { transition-delay: .36s; }
.chart.play .bar i { transform: scaleX(1); }
.chart .val { white-space: nowrap; font: 800 20px var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.chart .row.hi .lab, .chart .row.hi .val { color: var(--teal-ink); }
.chart .row.hi .bar i { background: var(--teal); }
.chart em { font: 800 14px var(--display); font-style: normal; color: var(--navy); background: var(--gold); text-align: center; padding: 4px 0; opacity: 0; transition: opacity .4s 1.3s; }
.chart.play em { opacity: 1; }
@media (max-width: 700px) {
  .chart .row { grid-template-columns: 1fr auto 40px; gap: 6px 12px; }
  .chart .lab { grid-column: 1 / -1; font-size: 15px; }
  .chart .bar { grid-column: 1; height: 24px; }
  .chart .row:not(.hi) { grid-template-columns: 1fr auto; }
}
.hc-foot { margin-top: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 60px; align-items: center; }
.hc-foot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hc-foot p { font: 700 clamp(22px, 2.4vw, 30px)/1.25 var(--display); color: var(--navy); }
@media (max-width: 860px) { .hc-foot { grid-template-columns: 1fr; } }

/* ---------- full stack ---------- */
.stack { background: #eef2f6; }
.lines-list { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.line { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: 360px; display: flex; align-items: flex-end; }
.line:nth-child(1) { grid-column: span 7; } .line:nth-child(2) { grid-column: span 5; }
.line:nth-child(3) { grid-column: span 5; } .line:nth-child(4) { grid-column: span 7; }
.line img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.line:hover img { transform: scale(1.04); }
.line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,37,64,.95) 0%, rgba(10,37,64,.5) 45%, rgba(10,37,64,0) 75%); }
.line > div { position: relative; z-index: 1; padding: 28px; max-width: 40ch; }
.line h3 { font-size: clamp(36px, 4vw, 54px); font-weight: 800; }
.line:nth-child(-n+2) h3 { color: #fff; }
.line p { margin-top: 8px; color: #d4deea; font-size: 16px; }
.line::before { content: ""; position: absolute; z-index: 2; left: 28px; top: 28px; width: 44px; height: 4px; background: var(--teal); }
.line:nth-child(n+3)::before { background: var(--gold); }
@media (max-width: 860px) {
  .line { grid-column: 1 / -1 !important; min-height: 280px; }
}

.household { margin-top: clamp(56px, 8vw, 96px); background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.household h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.hh-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; margin-top: 26px; }
.hh-k { font-weight: 700; }
.hh-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.hh-bar i { font: 500 13px/1.3 var(--body); font-style: normal; text-align: center; padding: 12px 6px; background: #edf1f5; color: #9aa6b5; transition: background .35s, color .35s; }
.hh-bar b { display: block; font: 700 16px/1.3 var(--display); }
.hh-bar.lit i { background: #8b97a7; color: #fff; }
.hh-bar.lit i.dim { background: #cfd6df; color: #5d6a7b; }
.mighty .hh-bar.lit i { background: var(--teal); }
.hh-v { color: var(--muted); font-size: 15px; }
@media (max-width: 700px) {
  .hh-row { grid-template-columns: 1fr; gap: 8px; }
  .hh-bar i { font-size: 11px; padding: 10px 2px; } .hh-bar b { font-size: 14px; }
}

/* ---------- technology ---------- */
.tech-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
.tech-head .lede { margin: 0; }
@media (max-width: 860px) { .tech-head { grid-template-columns: 1fr; } }
.pipe { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.14); }
.step { padding: 28px; position: relative; min-height: 340px; }
.step + .step { border-left: 1px solid rgba(255,255,255,.14); }
.step + .step::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: var(--navy); border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.step-k { font: 700 18px/1.3 var(--display); color: #fff; margin-bottom: 22px; min-height: 2.6em; }
.dec { position: relative; background: #fff; color: var(--slate); padding: 18px; overflow: hidden; }
.dec-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin-bottom: 12px; }
.dec-top span { color: var(--muted); }
.dec-l { height: 8px; background: #dfe5ec; margin-top: 10px; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, rgba(0,163,161,0), rgba(0,163,161,.35)); border-bottom: 2px solid var(--teal); transform: translateY(-50px); }
.pipe.play .scan { animation: scan 1.6s var(--ease) forwards; }
@keyframes scan { 0% { transform: translateY(-50px); } 85% { transform: translateY(170px); opacity: 1; } 100% { transform: translateY(170px); opacity: 0; } }
.fields li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; opacity: .12; transform: translateX(-8px); transition: opacity .35s, transform .35s var(--ease); }
.fields li span { color: #a9b8c9; }
.fields b { font-variant-numeric: tabular-nums; }
.pipe.play .fields li { opacity: 1; transform: none; }
.pipe.play .fields li:nth-child(1) { transition-delay: 1.4s; } .pipe.play .fields li:nth-child(2) { transition-delay: 1.55s; }
.pipe.play .fields li:nth-child(3) { transition-delay: 1.7s; } .pipe.play .fields li:nth-child(4) { transition-delay: 1.85s; }
.pipe.play .fields li:nth-child(5) { transition-delay: 2s; }
.quotes li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: center; padding: 8px 0; font-size: 15px; color: #a9b8c9; }
.quotes i { height: 22px; width: var(--w); background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.quotes li:first-child i { background: var(--gold); }
.pipe.play .quotes i { transform: scaleX(1); }
.pipe.play .quotes li:nth-child(1) i { transition-delay: 2.5s; } .pipe.play .quotes li:nth-child(2) i { transition-delay: 2.65s; }
.pipe.play .quotes li:nth-child(3) i { transition-delay: 2.8s; } .pipe.play .quotes li:nth-child(4) i { transition-delay: 2.95s; }
.step-t { margin-top: 18px; font: 700 16px var(--display); color: var(--gold); opacity: 0; transition: opacity .4s 3.4s; }
.pipe.play .step-t { opacity: 1; }
.illus { font-size: 13px; color: #7f91a6; margin-top: 10px; }
@media (max-width: 860px) {
  .pipe { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step + .step { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .step + .step::before { left: 50%; top: -7px; transform: rotate(135deg); }
}
.tech-more { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px 60px; align-items: start; }
.prompt { background: #fff; color: var(--slate); padding: 26px; border-left: 6px solid var(--teal); }
.prompt-k { font-weight: 700; font-size: 14px; color: var(--teal-ink); }
.prompt-t { margin-top: 10px; font-size: 18px; line-height: 1.5; }
.tech-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #c8d4e1; }
.tech-list li:first-child { padding-top: 0; }
.tech-list b { color: #fff; font-family: var(--display); font-size: 19px; }
@media (max-width: 860px) { .tech-more { grid-template-columns: 1fr; } }

/* ---------- plan ---------- */
.plan-grid { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: start; }
.plan-list { counter-reset: p; border-top: 2px solid var(--navy); }
.plan-list li { counter-increment: p; display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.plan-list li::before { content: counter(p, decimal-leading-zero); font: 800 16px/1.6 var(--display); color: var(--teal-ink); }
.plan-list b { color: var(--navy); }
.target { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 48px); position: sticky; top: calc(var(--nav-h) + 30px); }
.target .cap { color: #a9b8c9; }
.target-num { font: 800 clamp(64px, 9vw, 112px)/1 var(--display); letter-spacing: -0.04em; color: var(--gold); margin: 14px 0 34px; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 56px; margin-bottom: 26px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: rgba(255,255,255,.14); }
.track .fill { position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform 2.2s var(--ease); }
.target.play .track .fill { transform: scaleX(1); }
.stop { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); font: 700 13px var(--body); color: #a9b8c9; padding-top: 30px; }
.stop::before { content: ""; position: absolute; left: 50%; top: 4px; width: 16px; height: 16px; margin-left: -8px; background: var(--navy); border: 3px solid rgba(255,255,255,.3); transition: border-color .3s, background .3s; }
.target.play .stop::before { border-color: var(--teal); background: var(--teal); }
.target.play .stop:nth-of-type(2)::before { transition-delay: .3s; } .target.play .stop:nth-of-type(3)::before { transition-delay: .6s; }
.target.play .stop:nth-of-type(4)::before { transition-delay: .9s; } .target.play .stop:nth-of-type(5)::before { transition-delay: 1.2s; }
.target.play .stop:nth-of-type(6)::before { transition-delay: 1.5s; } .target.play .stop.end::before { transition-delay: 2s; border-color: var(--gold); background: var(--gold); }
.stop.end { transform: translateX(-80%); }
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
  .target { position: static; }
}

/* ---------- close ---------- */
.close { position: relative; color: #fff; background: var(--navy); padding: clamp(110px, 16vw, 220px) 0; overflow: hidden; }
.close-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.close::after { content: ""; position: absolute; inset: 0; background: rgba(10,37,64,.78); }
.close-in { position: relative; z-index: 1; }
.close-lines { font: 700 clamp(18px, 2vw, 24px) var(--display); color: var(--teal); }
.close-lines i { font-style: normal; color: var(--gold); margin: 0 8px; }
.close h2 { font-size: clamp(42px, 7.4vw, 104px); font-weight: 800; letter-spacing: -0.04em; margin-top: 18px; max-width: 12ch; }
.close .lede { color: #dbe4ee; font-size: clamp(19px, 2vw, 24px); }

/* ---------- footer ---------- */
.foot { background: #071a2e; color: #a9b8c9; padding: 48px 0 56px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto auto 1fr; gap: 24px 48px; align-items: center; }
.foot-brand { color: #fff; margin-bottom: 6px; }
.foot a { color: #fff; }
.mw-logo { width: 150px; opacity: .85; }
.sources { max-width: 70ch; justify-self: end; font-size: 13px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; } .sources { justify-self: start; } }

/* ---------- reveal for blocks ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lines li { opacity: 1; transform: none; }
  .lines li::after { transform: none; }
  .rv { opacity: 1; transform: none; }
  .hero-bg img { transform: none; }
}
