/* Home page: Top features and What it does not let happen (owner's approved mockups, 2026-11-29).
   Static markup; behaviour in home-sections.js. Fonts and the white-section tokens come from the page; the mockup colours that have no site token are local to .h3.
   No inline styles anywhere (CSP): every state is a class or a data attribute; JS sets only CSSOM transform and opacity on the moving layers. */
.h3{
 --h3-ink:#14171A;--h3-ink2:#2B3236;--h3-mute:#4F585D;--h3-faint:#5E676C;--h3-line:var(--card-line);--h3-line2:var(--card-line);
 --h3-teal:#2F6470;--h3-teal-d:#1E4A53;--h3-tint:#E3EFF1;--h3-tint2:#EEF5F6;--h3-sel:#F2F4F5;
 --h3-red:#B42318;--h3-red-t:#FDF1EF;--h3-red-d:#7A1D14;--h3-bar:#EEF1F2;--h3-on-dark:#C9D2D6;--h3-ring:#5FA8B4;
}
/* the site's card border and shadow tokens (white.css, #2030), so these cards match every other page */
.h3-stage,.h3-fw,.h3-card{box-shadow:var(--card-shadow)}
.h3 button{font-family:inherit;cursor:pointer}
.h3 [hidden]{display:none}
.h3 :is(button,input[type=range]):focus-visible{outline:3px solid var(--h3-teal);outline-offset:3px;border-radius:10px}
.h3 .h3-mono{font-family:var(--mono)}
.h3-eyebrow{margin:0 0 12px;font-size:14px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--h3-teal);font-weight:600}
.h3-head{display:flex;flex-direction:column}
.h3 h2.thin{margin:0}

/* ---- 1. Top features */
.h3-feat-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.h3-feat-head h2{max-width:600px}
.h3-picker{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.h3-pick{position:relative;display:flex;gap:6px;padding:4px;border:1px solid var(--h3-line2);border-radius:999px;background:#fff}
.h3-pick button{position:relative;z-index:1;border:0;border-radius:999px;padding:10px 16px;font-size:15px;font-weight:500;background:transparent;color:var(--h3-ink2);min-height:44px}
.h3-pick button[aria-pressed="true"]{color:#fff;font-weight:600}
/* the dark pill: one element, moved by JS with transform only (translate and scale from the measured button boxes, following the scroll); without JS the pressed button carries the dark fill itself */
.h3-slide{position:absolute;top:0;left:0;width:0;height:0;border-radius:999px;background:var(--h3-ink);transform-origin:0 0}
html:not(.js) .h3-pick button[aria-pressed="true"]{background:var(--h3-ink)}
/* JS on: each label has a dark layer and a white layer, cross-faded by opacity as the pill passes under it */
html.js .h3-pick button[aria-pressed="true"]{color:var(--h3-ink2);font-weight:500}
.h3-bls{display:grid}
.h3-bl{grid-area:1/1;white-space:nowrap}
.h3-bl.w{color:#fff;opacity:0;pointer-events:none}
.h3-bl.w::before{content:attr(data-l) / ""}
.h3-dots{display:flex;gap:6px;align-items:center}
.h3-dots i{width:8px;height:8px;border-radius:999px;background:#B9BFC8;transition:background-color .3s}
.h3-dots i.on{background:var(--h3-teal)}
.h3-stages{margin-top:32px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.h3-stage{background:#fff;border:1px solid var(--h3-line);border-radius:16px;padding:24px 22px;display:flex;flex-direction:column;gap:16px;min-width:0}
.h3-stage-head{display:flex;align-items:center;gap:10px}
.h3-stage-head h3{margin:0;font-size:22px;font-weight:500;line-height:1.2;color:var(--h3-ink)}
.h3-n{display:inline-flex;flex:none;width:30px;height:30px;border-radius:999px;align-items:center;justify-content:center;background:var(--h3-ink);color:#fff;font-size:14px;font-weight:600}
.h3-arrow{margin-left:auto;font-size:22px;color:var(--h3-faint)}
.h3-story{margin:0;min-height:88px;padding:14px 16px;border-radius:12px;background:var(--h3-tint2);font-size:15px;line-height:1.5;color:var(--h3-teal-d)}
/* JS on: the three actions' stories are stacked in one grid cell (the tallest sets the height) and cross-faded by opacity */
.h3-story.stack{display:grid}
.h3-sl{grid-area:1/1}
.h3-feats{display:flex;flex-direction:column;gap:8px}
.h3-feat{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 12px;border-radius:10px;font-size:15px;font-weight:600;text-align:left;color:var(--h3-ink);background:#fff;border:1px solid var(--h3-line)}
/* JS on: the teal "used in this action" look is a layer on top of the white box, faded by opacity as the action changes */
.h3-fo{position:absolute;inset:-1px;box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;border:1px solid var(--h3-teal-d);background:var(--h3-teal);color:#fff;opacity:0;pointer-events:none}
.h3-fo .h3-dot{background:none;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700;line-height:1}
.h3-fo .h3-dot::before{content:"✓"}
.h3-fo::after{content:attr(data-l) / ""}
.h3-feat[aria-pressed="true"] .h3-fo{background:var(--h3-teal-d);border-color:var(--h3-ink)}
.h3-feat[aria-pressed="true"]{background:var(--h3-sel);border:1.5px solid var(--h3-ink)}
.h3-feat.used{background:var(--h3-teal);border-color:var(--h3-teal-d);color:#fff}
.h3-feat.used[aria-pressed="true"]{background:var(--h3-teal-d);border:1.5px solid var(--h3-ink)}
.h3-feat.used .h3-dot{background:none;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700;line-height:1}
.h3-feat.used .h3-dot::before{content:"✓"}
.h3-dot{width:10px;height:10px;border-radius:999px;flex:none;background:var(--h3-teal)}
.h3-detail-row{margin-top:20px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px}
.h3-detail{background:var(--h3-ink);color:#F2F4F5;border-radius:16px;padding:28px 32px;display:flex;flex-direction:column;gap:10px}
.h3-detail p{margin:0}
/* JS on: two layers in one grid cell (the one on top is the live region); content swaps at the cross-over point, opacity follows the scroll */
.h3-detail.stack{display:grid}
.h3-dl{grid-area:1/1;display:flex;flex-direction:column;gap:10px}
.h3-detail-name{font-size:24px;font-weight:500;line-height:1.3;color:#F2F4F5}
.h3-detail-desc{font-size:17px;line-height:1.55;color:var(--h3-on-dark)}
.h3-fw{background:#fff;border:1px solid var(--h3-line);border-radius:16px;padding:24px 26px;display:flex;flex-direction:column;gap:12px}
.h3-fw-title{margin:0;font-size:15px;font-weight:600;color:var(--h3-ink)}
.h3-fw ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.h3-fw li{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--h3-ink2)}
.h3-fw li::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--h3-teal);flex:none}
.h3-hint{margin:20px 0 0;font-size:14px;color:var(--h3-mute)}

/* ---- 2. What it does not let happen */
.h3-tabs{margin-top:28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.h3-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;border-radius:14px;padding:16px 20px;min-height:44px;background:var(--h3-ink);color:#fff;border:3px solid var(--h3-ink);position:relative}
html:not(.js) .h3-tabs button[aria-selected="true"]{border-color:var(--h3-ring);box-shadow:0 6px 18px rgba(20,23,26,.18);transform:translateY(-3px)}
/* JS on: the teal outline is a layer faded by opacity, and the selected tab lifts by transform, both following the scroll (no box-shadow animation) */
.h3-tab-ring{position:absolute;inset:-3px;border:3px solid var(--h3-ring);border-radius:14px;opacity:0;pointer-events:none}
.h3-tab-t{font-size:22px;font-weight:600;line-height:1.25}
.h3-tab-s{font-size:15px;line-height:1.45;color:var(--h3-on-dark)}
.h3-panels{margin-top:28px}
.h3-panel{margin-top:0}
/* JS on: the three panels sit in one grid cell (the tallest sets the height) and cross-fade by opacity; a panel that is not the shown one cannot be clicked */
html.js .h3-panels{display:grid}
html.js .h3-panel{grid-area:1/1}
.h3-panel.off{pointer-events:none}
.h3-ptitle{display:none;margin:0 0 12px;font-size:22px;font-weight:600;color:var(--h3-ink)}
.h3-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.h3-card{background:#fff;border:1px solid var(--h3-line);border-radius:16px;padding:20px 22px;display:flex;flex-direction:column;gap:10px;min-width:0}
.h3-card h3{margin:0;font-size:20px;font-weight:600;line-height:1.3;color:var(--h3-ink)}
.h3-sub{margin:0;font-size:15px;line-height:1.5;color:var(--h3-mute)}
.h3-btns{display:flex;gap:10px;flex-wrap:wrap}
.h3-btn{border:1px solid var(--h3-line2);border-radius:10px;padding:10px 18px;font-size:15px;background:#fff;color:var(--h3-ink);min-height:44px}
.h3-btn.dark{border:0;font-weight:600;background:var(--h3-ink);color:#fff}
.h3-btn.start{align-self:flex-start}
.h3-req{border:1px solid var(--h3-line2);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:10px;background:#fff}
.h3-req .h3-mono{font-size:13px;color:var(--h3-mute)}
.h3-req-t{font-size:18px;font-weight:600;line-height:1.35;color:var(--h3-ink)}
.h3-money,.h3-lab{display:flex;justify-content:space-between;gap:12px;font-size:15px;color:var(--h3-mute)}
.h3-money b,.h3-lab b{color:var(--h3-ink)}
.h3-bar{position:relative;height:48px;border-radius:10px;background:var(--h3-bar);border:1px solid #D5DADC;overflow:hidden}
.h3-bar i{position:absolute;top:0;bottom:0;display:block}
.h3-bar-spent{left:0;width:59.375%;background:var(--h3-teal)}
/* the next request is up to 16 dollars on a 64 dollar scale: the bar is 16 dollars wide and grows with transform only (JS sets scaleX, 0 to 1) */
.h3-bar-req{left:59.375%;width:25%;transform:scaleX(0);transform-origin:left center;background:repeating-linear-gradient(135deg,#BFD9DD 0 8px,var(--h3-tint) 8px 16px)}
.h3-bar-req.over{background:repeating-linear-gradient(135deg,#F4C7C1 0 8px,var(--h3-red-t) 8px 16px);box-shadow:inset 0 0 0 2px var(--h3-red)}
.h3-bar-lim{left:78.125%;width:2px;background:var(--h3-ink)}
.h3-row{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 6px 0 12px;border-radius:10px;border:1px solid var(--h3-line2);background:#fff;transition:background-color .4s,border-color .4s}
.h3-row.ed{border-color:var(--h3-red);background:var(--h3-red-t)}
.h3-row.ed .h3-rt{color:var(--h3-red);text-decoration:line-through}
.h3-btn.pressed{background:var(--h3-teal-d)}
.h3-seq{font-size:13px;color:#5E676C}
.h3-rt{flex-grow:1;font-size:15px;font-weight:500;color:var(--h3-ink)}
.h3-note{font-size:12px;font-weight:600;color:var(--h3-red)}
.gov-edit{display:inline-flex;align-items:center;border:1px solid var(--h3-line2);background:#fff;border-radius:8px;padding:4px 12px;font-size:13px;min-height:34px;color:var(--h3-ink)}
.h3-chip{align-self:flex-start;margin:auto 0 0;font-size:16px;font-weight:600;line-height:1.3;padding:10px 18px;border-radius:999px;border:1px solid #6E787D;color:var(--h3-ink2);background:var(--h3-sel)}
.h3-chip::before{content:"\25CF\00a0"}
.h3-chip{transition:background-color .3s,color .3s,border-color .3s}
.h3-chip.good,.h3-chip.info{border-color:var(--h3-teal);color:var(--h3-teal-d);background:var(--h3-tint)}
.h3-chip.bad{border-color:var(--h3-red);color:var(--h3-red);background:var(--h3-red-t)}
.h3-hijack{border:1px dashed var(--h3-red);border-radius:12px;padding:14px 16px;background:var(--h3-red-t);font-family:var(--mono);font-size:13px;line-height:1.55;color:var(--h3-red-d)}
.h3-inj{border-radius:3px;padding:0 3px;transition:background-color .4s}
.h3-inj.hl{background:#F4C7C1}
.h3-term{background:#0F1214;color:#E8ECEE;border-radius:12px;padding:16px;font-family:var(--mono);font-size:13px;line-height:1.7;min-height:118px}
.h3-term .ln{display:block;overflow-wrap:anywhere}
.h3-term .rest{visibility:hidden}
.h3-term .tk-c{color:#9AA4AA}.h3-term .tk-r{color:#F29C8F}.h3-term .tk-g{color:#8FD3B0}
.hr-gates{display:flex;flex-direction:column;gap:8px}
.hr-gate{display:flex;justify-content:space-between;background:#fff;border:1px solid var(--h3-line2);border-radius:10px;padding:10px 14px;font-size:15px;font-weight:500;color:var(--h3-ink)}
.hr-gate em{font-style:normal;font-weight:600;color:var(--h3-mute);transition:color .3s}
.hr-gate em.hr-ok{color:var(--h3-teal-d)}
.hr-gate em.hr-no{color:var(--h3-red)}
.hr-count{display:flex;align-items:baseline;gap:10px;font-size:15px;color:var(--h3-mute)}
.hr-big{font-family:var(--mono);font-size:44px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1;color:var(--h3-ink)}
.hr-term{min-height:96px}
.hr-steps{display:flex;gap:6px}
.hr-steps i{flex:1;height:34px;border-radius:8px;border:1px solid var(--h3-line2);background:#fff;display:grid;place-items:center;font-style:normal;font-size:14px;font-family:var(--mono);color:var(--h3-ink);transition:background-color .35s,border-color .35s,color .35s}
.hr-steps i.done{background:var(--h3-teal);border-color:var(--h3-teal-d);color:#fff}
.hr-steps i.crash{background:var(--h3-red-t);border-color:var(--h3-red);color:var(--h3-red)}

.h3-rows{display:flex;flex-direction:column;gap:6px}
.h3-steps{display:flex;flex-direction:column;gap:4px}

/* ---- pinned scroll sections (1180px and wider, JS on): a tall track, the content sticks while the visitor scrolls through it.
   The page header is sticky above (z-index 50), so the pin leaves room for it. Below 1180px the cards stack and are taller than a screen, so nothing is pinned
   (the owner's spec: never under 960px). */
@media (min-width:1180px){
 html.js section.h3-track{padding-block:0}
 html.js .h3-track-1{height:calc(100vh + 3*70vh)}
 html.js .h3-track-2{height:calc(100vh + 3*110vh)}
 html.js .h3-pin{position:sticky;top:0;box-sizing:border-box;min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding-block:84px 20px}
}
/* short screens: tighter spacing so a whole section fits while it is pinned */
@media (min-width:1180px) and (max-height:860px){
 html.js .h3-pin{padding-block:76px 12px}
 .h3 h2.thin{font-size:clamp(30px,3vw,38px)}
 .h3-stages{margin-top:18px;gap:16px}.h3-stage{padding:16px 18px;gap:10px}.h3-story{min-height:72px;padding:10px 14px}
 .h3-feats{gap:6px}.h3-feat{min-height:38px;padding-block:5px}
 .h3-detail-row{margin-top:14px}.h3-detail{padding:18px 26px}.h3-fw{padding:16px 22px}.h3-hint{display:none}
 .h3-tabs{margin-top:16px}.h3-tabs button{padding:12px 18px}.h3-panels{margin-top:16px}.h3-card{padding:16px 20px}
 .h3-eyebrow{margin-bottom:8px}
}

/* the moving layers get their own compositor layer only while their section is on screen (JS sets .h3-live) */
.h3-live .h3-slide,.h3-live .h3-bl,.h3-live .h3-sl,.h3-live .h3-fo,.h3-live .h3-dl,.h3-live .h3-cards,.h3-live .h3-panel,.h3-live .h3-tab-ring,.h3-live .h3-tabs button,.h3-live .h3-bar-req{will-change:transform,opacity}

/* Lenis (smooth scroll, vendored: assets/vendor/lenis.min.js, ND866): the three rules the library needs; they do nothing when Lenis is not started */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:clip}

/* ---- no JS: the default state reads correctly; every tab's cards are shown one after the other */
html:not(.js) .h3-tabs{display:none}
html:not(.js) .h3-panel[hidden]{display:block}
html:not(.js) .h3-ptitle{display:block}
html:not(.js) .h3-panel+.h3-panel{margin-top:40px}

/* ---- narrow screens */
@media (max-width:1179px){.h3-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.h3-detail-row{grid-template-columns:minmax(0,1fr)}.h3-cards{grid-template-columns:minmax(0,1fr)}.h3-picker{align-items:flex-start}.h3-arrow{display:none}}
@media (max-width:699px){
 .h3-stages{grid-template-columns:minmax(0,1fr)}
 .h3-arrow{display:block;transform:rotate(90deg)}
 .h3-stage:last-child .h3-arrow{display:none}
 .h3-pick{flex-direction:column;border-radius:20px;width:100%}.h3-pick button{width:100%}
 .h3-picker{width:100%}
 .h3-tabs{grid-template-columns:minmax(0,1fr)}
 .h3-detail{padding:22px 20px}.h3-card{padding:24px 20px}
 .h3-story{min-height:0}
 .h3-feat-head{gap:16px}
}
/* wide: one static layer of white card frames (never fades); the panels' cards keep their size but draw no frame, so only their content cross-fades */
.h3-frames{display:none}
.h3-split .h3-panels{position:relative}
.h3-split .h3-frames{display:grid;position:absolute;inset:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start;pointer-events:none}
.h3-split .h3-fr{display:block;background:#fff;border:1px solid var(--h3-line);border-radius:16px;box-shadow:var(--card-shadow)}
.h3-split .h3-fr:nth-child(1){height:var(--fh1)}.h3-split .h3-fr:nth-child(2){height:var(--fh2)}.h3-split .h3-fr:nth-child(3){height:var(--fh3)}
.h3-split .h3-panel{position:relative;z-index:1}
.h3-split .h3-card{background:transparent;border-color:transparent;box-shadow:none}
.h3-split .h3-card:nth-child(1){min-height:var(--fh1,0)}.h3-split .h3-card:nth-child(2){min-height:var(--fh2,0)}.h3-split .h3-card:nth-child(3){min-height:var(--fh3,0)}
@media (prefers-reduced-motion:reduce){.h3 *{transition:none!important}}
