/* Risk Assessment Wizard: public site. Navy look (chosen 30 Nov 2026). */
:root {
  --navy: #001F3E;
  --navy-2: #0B2D52;
  --ink: #0B1B33;
  --muted: #4A5A70;
  --muted-on-navy: #A9BAD3;
  --green: #6BA370;
  --green-dark: #2E6B34;
  --line: #E4E9F0;
  --soft: #F4F6F9;
  --paper: #FFFFFF;
  --low-bg: #E3F3E6; --low-fg: #1D5B2A;
  --med-bg: #FFF0CF; --med-fg: #7A4B00;
  --high-bg: #FDE1DE; --high-fg: #A3211A;
  --radius: 20px;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3, .display { font-family: Geist, Inter, system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); margin: 0; }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
a { color: #153A71; text-underline-offset: 3px; }
/* Plain links only: any link with its own colour (e.g. light links on navy) keeps it on hover. */
:where(a:hover) { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid #153A71; outline-offset: 2px; }
.hdr :focus-visible, .hero :focus-visible, .tpl-hero :focus-visible, .ftr :focus-visible, .band :focus-visible { outline-color: var(--green); }
.search:focus-within { box-shadow: 0 0 0 3px var(--green); }
::placeholder { color: #5F6E82; opacity: 1; }

/* Header */
.hdr { background: var(--navy); color: #fff; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 17px/1.05 Geist, Inter, sans-serif; }
.brand span.mark { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.brand img { width: 30px; height: 30px; }
.brand img.logo { width: 150px; height: auto; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: #C9D5E6; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a.btn-go, .nav a.btn-go:hover { color: #fff; }
@media (min-width: 900px) { .nav { display: flex; } }
.mnav { position: relative; }
.menu-btn { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; cursor: pointer; list-style: none; }
.menu-btn::-webkit-details-marker { display: none; }
.mnav[open] .menu-btn { background: #fff; color: var(--navy); }
.mnav-panel { position: absolute; right: 0; top: 54px; z-index: 20; width: min(86vw, 320px); background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: flex; flex-direction: column; }
.mnav-panel a { color: var(--navy); text-decoration: none; font-weight: 600; padding: 14px 12px; border-radius: 12px; }
.mnav-panel a:hover { background: var(--soft); }
.mnav-panel .btn { margin-top: 6px; color: var(--navy); }
@media (min-width: 900px) { .mnav { display: none; } }

/* Home hero with real pages */
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.stack { position: relative; height: 420px; display: none; }
@media (min-width: 1080px) { .stack { display: block; } }
.stack { height: 540px; margin: -10px 0 -30px; }
.stack .pg { position: absolute; width: 300px; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.stack .pg .tcard { border: 0; }
.stack .p1 { right: 230px; top: 0; transform: rotate(-6deg); }
.stack .p2 { right: 0; top: 30px; transform: rotate(5deg); }
.stack .p3 { right: 110px; top: 150px; transform: rotate(-1deg); z-index: 2; }
.notfound { padding: 96px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px Geist, Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-go { background: #2E7D46; color: #fff; }
.btn-go:hover { background: #358549; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-line { border: 2px solid var(--navy); color: var(--navy); background: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 40px 0 64px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lede { color: #C9D5E6; font-size: 19px; max-width: 56ch; margin-top: 18px; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; margin-top: 28px; max-width: 680px; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; font: 500 18px Inter, sans-serif; color: var(--navy); min-height: 52px; background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.chip:hover { background: rgba(255,255,255,.22); color: #fff; }
.chip-light { background: var(--soft); color: var(--navy); }
.chip-light:hover { background: #E8EEF7; color: var(--navy); }

/* Sections */
.sec { padding: 64px 0; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { color: var(--muted); max-width: 60ch; margin-top: 10px; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Cards */
.card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,31,62,.08); color: var(--ink); }
.card .meta { color: var(--muted); font-size: 15px; }
.card .count { font: 600 28px Geist, sans-serif; color: var(--navy); }
.doc { padding: 10px; }
.doc .thumb { aspect-ratio: 1.414 / 1; border-radius: 12px; background: var(--soft); overflow: hidden; border: 1px solid var(--line); }
.doc .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.doc .t { padding: 4px 8px 6px; font-weight: 700; }

/* Navy band */
.band { background: var(--navy); color: #fff; border-radius: 28px; padding: 36px; display: grid; gap: 24px; }
.band h2 { color: #fff; }
.band p { color: #C9D5E6; }
@media (min-width: 900px) { .band { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 48px; } }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted-on-navy); margin-bottom: 18px; }
.crumbs a { color: var(--muted-on-navy); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Template page */
.tpl-hero { background: var(--navy); color: #fff; padding: 28px 0 0; }
.tpl-hero .wrap { display: grid; gap: 28px; }
@media (min-width: 980px) { .tpl-hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: end; } }
.tpl-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); }
.tpl-hero .lede { color: #C9D5E6; margin-top: 14px; max-width: 60ch; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: #C9D5E6; font-size: 15px; }
.facts strong { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 32px; }
.preview { background: #fff; border-radius: 18px 18px 0 0; padding: 14px 14px 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.preview .page { border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; }
.mix { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.15); margin-top: 16px; max-width: 420px; }
.mix span { display: block; }

.lv { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 26px; padding: 0 9px; border-radius: 999px; font: 700 12px Inter, sans-serif; white-space: nowrap; }
.lv-Low { background: var(--low-bg); color: var(--low-fg); }
.lv-Medium { background: var(--med-bg); color: var(--med-fg); }
.lv-High { background: var(--high-bg); color: var(--high-fg); }

.hz { width: 100%; border-collapse: collapse; font-size: 15px; }
.hz th { text-align: left; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.hz td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hz td.name strong { display: block; color: var(--navy); }
.hz td.name span { color: var(--muted); font-size: 14px; }
.hz .ben { color: var(--muted); font-size: 14px; }
@media (max-width: 899px) {
  .hz thead { display: none; }
  .hz tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hz td { padding: 0; border: 0; }
  .hz td.name { grid-column: 1 / -1; }
  .hz td.levels { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
  .hz td.measure, .hz td.who, .hz td.ben { grid-column: 1 / -1; }
  .hz td.who::before { content: "Who could get hurt: "; font-weight: 600; color: var(--navy); }
  .hz td.ben::before { content: "Why it's worth it: "; font-weight: 600; color: var(--navy); }
  .hz td.lvcol { display: none; }
}
@media (min-width: 900px) { .hz td.levels { display: none; } }

.two { display: grid; gap: 40px; }
@media (min-width: 980px) { .two { grid-template-columns: minmax(0, 1fr) 320px; } }
.side { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 980px) { .side { position: sticky; top: 24px; align-self: start; } }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.box h3 { font-size: 18px; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 14px; }

/* Footer */
.ftr { background: var(--navy); color: #C9D5E6; padding: 56px 0 40px; margin-top: 0; font-size: 15px; }
.ftr .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .ftr .cols { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.ftr h4 { color: #fff; margin: 0 0 10px; font: 700 15px Inter, sans-serif; }
.ftr a { color: #C9D5E6; text-decoration: none; display: block; padding: 4px 0; }
.ftr a:hover { color: #fff; }
.ftr .small { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--muted-on-navy); }
.test-banner { background: #FFF0CF; color: #5A3A00; text-align: center; font-size: 14px; padding: 8px 16px; }

/* Template cards: built from the real data, one colour per sector */
.tcard { --sc: #0B2D52; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,31,62,.12); color: var(--ink); }
.tcard-top { background: var(--sc); color: #fff; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; min-height: 172px; position: relative; overflow: hidden; }
.tcard-top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.10); }
.tcard-sec { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .9; }
.tcard-name { font: 600 22px/1.12 Geist, Inter, sans-serif; letter-spacing: -0.02em; position: relative; z-index: 1; }
.tcard-bars { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; position: relative; z-index: 1; }
.tcard-bars .bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.25); }
.tcard-bars i { display: block; }
.tcard-bars i.h { background: #FF8A80; } .tcard-bars i.m { background: #FFD166; } .tcard-bars i.l { background: #9BE3A5; }
.bar-labels { display: contents; }
.bar-labels span { font-size: 11px; font-weight: 600; opacity: .85; }
.tcard-body { padding: 12px 18px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tcard-hz { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tcard-hz span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard-hz .lv { min-width: 0; height: 22px; font-size: 11px; }
.tcard-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); }
.tcard-foot .go { color: var(--sc); font-weight: 700; }

/* Live preview of the assessment (template page hero) */
.lpv { background: #fff; color: var(--ink); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); overflow: hidden; }
.lpv-head { background: var(--sc, #0B2D52); color: #fff; padding: 18px 20px; }
.lpv-head small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .9; }
.lpv-head strong { font: 600 22px/1.15 Geist, Inter, sans-serif; }
.lpv-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.lpv-row .nm { font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lpv-more { padding: 12px 20px 18px; color: var(--muted); font-size: 14px; }

.tcard-why { font-size: 13px; color: var(--muted); padding-top: 8px; }

/* A page of the PDF, drawn in HTML. Scales with its box (container units). */
.paper-wrap { margin: 0; container-type: inline-size; }
.paper-wrap figcaption { font-size: 14px; color: var(--muted-on-navy); margin-top: 12px; }
.paper { aspect-ratio: 1.414 / 1; background: #fff; color: #0B1B33; border-radius: 4px; box-shadow: 0 1px 0 rgba(255,255,255,.4), 0 18px 40px rgba(0,0,0,.35); overflow: hidden; padding: 3.4cqw 4cqw 2cqw; font: 400 1.01cqw/1.38 Inter, system-ui, sans-serif; text-align: left; }
.paper s { text-decoration: none; }
.pp-head { display: flex; justify-content: space-between; align-items: flex-end; }
.pp-s { color: #44546A; font-size: .9cqw; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pp-t { font: 700 2.73cqw/1.1 Inter, system-ui, sans-serif; letter-spacing: -0.01em; color: #001F3E; margin-top: .2cqw; }
.pp-logo { width: 14.1cqw; height: auto; display: block; }
.pp-rule { height: .44cqw; background: #001F3E; margin: .85cqw 0 1.35cqw; }
.pp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; align-items: start; margin-bottom: 1.35cqw; }
.pp-f { display: flex; flex-direction: column; color: #44546A; }
.pp-f > i { font-style: normal; font-weight: 600; font-size: 1.07cqw; color: #001F3E; border-top: .12cqw solid #001F3E; padding: .5cqw 0 .45cqw; }
.pp-f > span { display: flex; align-items: flex-end; gap: 1cqw; min-height: 2.15cqw; padding-bottom: .3cqw; }
.pp-f u { flex: 1; border-bottom: 1px solid #5B6B80; text-decoration: none; }
.pp-f b { color: #0B1B33; font-weight: 600; margin-left: auto; flex: 0 0 65%; }
.pp-f > span:has(b) { border-bottom: 1px solid #D5DDE8; }
.pp-who u:last-child { flex: 0 0 32%; }
.pp-em { display: grid; grid-template-columns: 9.8cqw 1fr; border: .1cqw solid #E7B3AE; }
.pp-call { background: #FCE9E6; color: #A3211A; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 600; font-size: .9cqw; }
.pp-call strong { font-size: 2.97cqw; line-height: 1.05; font-weight: 700; }
.pp-em .pp-f { padding: .4cqw 1cqw .9cqw; }
.pp-em .pp-f > i { border-top: 0; color: #A3211A; padding: .2cqw 0 0; }
.pp-em .pp-f > span { min-height: 0; padding: .45cqw 0 0; font-size: .9cqw; }
.pp-em .pp-f > u { flex: none; height: 1.6cqw; }
.pp-tally > span { display: grid; grid-template-columns: 26% 1fr 1fr; align-items: center; border-bottom: 1px solid #D5DDE8; min-height: 0; padding: .32cqw 0; gap: 0; }
.pp-tally s { text-align: right; padding-right: 1cqw; font-weight: 600; font-size: 1.19cqw; color: #0B1B33; }
.pp-tally s:first-child { text-align: left; padding: 0; line-height: 1; }
.pp-tally .pp-cap s { font-weight: 400; font-size: .86cqw; color: #44546A; }
.pp-tally .pp-cap s:first-child { font-weight: 600; font-size: .95cqw; color: #001F3E; }
.pp-grid { display: grid; grid-template-columns: auto repeat(3, 5.9cqw); gap: .34cqw; justify-content: start; align-items: center; font-size: .86cqw; }
.pp-grid s { padding-right: .7cqw; text-align: center; white-space: nowrap; }
.pp-grid .pl { width: auto; }
.pp-mean > span { align-items: center; border-bottom: 1px solid #D5DDE8; color: #0B1B33; min-height: 0; padding: .32cqw 0; }
.pp-h2 { font-weight: 700; font-size: 1.43cqw; color: #001F3E; margin: .35cqw 0 .65cqw; }
.pp-th, .pp-tr { display: grid; grid-template-columns: 2.9cqw 21% 6.1cqw 1fr 6.1cqw 14.5%; }
.pp-tr small { display: block; color: #44546A; font-size: .9cqw; margin-top: .2cqw; }
.pp-tr small.pp-who2 { color: #0B1B33; margin-top: .45cqw; }
.pp-tr small.pp-who2 b { font-size: .9cqw; color: #44546A; }
.pp-steps { margin: 0; padding-left: 1.1cqw; }
.pp-steps li { margin: 0 0 .1cqw; }
.pp-key { display: flex; flex-wrap: wrap; gap: .4cqw 1.6cqw; align-items: center; font-size: .86cqw; color: #44546A; margin: -.2cqw 0 .7cqw; }
.pp-key span { display: inline-flex; align-items: center; gap: .6cqw; }
.pp-em + .pp-tally { margin-top: 1.2cqw; }
.pp-th span { background: #001F3E; color: #fff; font-weight: 600; font-size: .9cqw; padding: .55cqw .67cqw .6cqw; white-space: nowrap; overflow: hidden; }
.pp-tr span { padding: .57cqw .67cqw .67cqw; border-bottom: 1px solid #9AA8BA; overflow: hidden; }
.pp-tr b { color: #001F3E; font-weight: 600; font-size: 1.07cqw; }
.pp-tr .pp-why { color: #44546A; font-size: .93cqw; }
.pl { display: inline-block; width: 4.9cqw; flex: none; text-align: center; font-style: normal; font-weight: 600; font-size: .89cqw; line-height: 1.2; padding: .22cqw 0 .26cqw; border: 1px solid transparent; white-space: nowrap; }
.pl-Low { background: var(--low-bg); color: var(--low-fg); } .pl-Medium { background: var(--med-bg); color: var(--med-fg); border-color: var(--med-fg); } .pl-High { background: var(--high-fg); color: #fff; }

/* Template page v2 (after the design audit) */
.tpl-hero2 { background: var(--navy); color: #fff; padding: 28px 0 48px; }
.tpl-hero2 .wrap { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .tpl-hero2 .wrap { grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; } }
.tpl-hero2 h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin-top: 10px; }
.tag { --sc: #0B2D52; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sc); box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.fact { color: #C9D5E6; font-size: 18px; margin-top: 14px; }
.sell { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: #C9D5E6; font-size: 15px; }
.sell li::before { content: "✓ "; color: var(--green); font-weight: 600; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin: 0 6px; }
.crumbs a { display: inline-block; padding: 6px 0; }
.stick { position: sticky; top: 0; z-index: 15; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,31,62,.06); }
.stick .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.stick-name { font: 700 17px Geist, Inter, sans-serif; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) {
  .stick { position: fixed; top: auto; bottom: 0; left: 0; right: 0; border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .stick-name { display: none; }
  .stick .btn { width: 100%; }
}
.grp-h { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 28px 0 8px; }
.muted { color: var(--muted); font-weight: 500; }
.hzl { border-top: 1px solid var(--line); }
.hzr { border-bottom: 1px solid var(--line); }
.hzr summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 4px; min-height: 56px; align-items: center; }
.hzr summary::-webkit-details-marker { display: none; }
.hzr summary:hover .hzr-name { text-decoration: underline; text-underline-offset: 3px; }
.hzr-name { font-weight: 700; color: var(--navy); }
.hzr-name::before { content: "+"; display: inline-block; width: 20px; color: var(--muted); }
.hzr[open] .hzr-name::before { content: "–"; }
.hzr-who { grid-column: 1; color: var(--muted); font-size: 14px; padding-left: 20px; }
.hzr-lv { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 6px; color: #8A97A8; }
@media (min-width: 900px) { .hzr summary { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; } .hzr-who { grid-column: 2; padding-left: 0; } .hzr-lv { grid-column: 3; grid-row: 1; } }
.hzr-body { padding: 0 4px 18px 24px; max-width: 80ch; display: flex; flex-direction: column; gap: 8px; }
.cols2 { display: grid; gap: 48px; }
@media (min-width: 980px) { .cols2 { grid-template-columns: 1fr 1fr; } }
.steps { margin: 16px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.rel { list-style: none; margin: 16px 0 0; padding: 0; }
.rel li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.rel a { padding: 14px 0; font-weight: 600; }
.rel span { color: var(--muted); font-size: 14px; padding: 14px 0; text-align: right; }
.list li { padding: 12px 0; }
.faq summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
.faq summary::after { float: none; }

/* Cards v2: calmer. Sector colour as a thin top edge and a tag; link on the name, stretched over the card. */
.tcard2 { min-width: 0; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--sc, #0B2D52); transition: box-shadow .15s, transform .15s; }
.tcard2:hover { box-shadow: 0 10px 24px rgba(0,31,62,.10); transform: translateY(-2px); }
.tcard2 .tag { color: var(--muted); }
.tcard2 .tag::before { box-shadow: none; }
.tcard2 h3 { font-size: 19px; line-height: 1.2; }
.tcard2 h3 a { color: var(--navy); text-decoration: none; }
.tcard2 h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.tcard2 h3 a:focus-visible { outline: none; }
.tcard2:focus-within { outline: 3px solid #153A71; outline-offset: 2px; }
.tcard2 .facts2 { color: var(--muted); font-size: 14px; }
.tcard2 ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.tcard2 li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.tcard2 li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard2 .lv { height: 22px; min-width: 0; font-size: 11px; }

/* Sector page: a list you can filter */
.slist-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.filter { flex: 1; min-width: 220px; max-width: 420px; min-height: 52px; border: 1.5px solid #8494A8; border-radius: 12px; padding: 0 16px; font: 500 17px Inter, sans-serif; color: var(--navy); }
.filter:focus { border-color: var(--navy); outline: 3px solid #153A71; outline-offset: 1px; }
.slist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 900px) { .slist { grid-template-columns: 1fr 1fr; } }
.slist li { border-bottom: 1px solid var(--line); }
.slist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px; text-decoration: none; color: var(--ink); min-height: 64px; }
.slist a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.slist strong { font-size: 17px; color: var(--navy); display: block; }
.slist small { color: var(--muted); font-size: 14px; }
.slist .chev { color: var(--muted); font-size: 22px; }
.pinned h2 { font-size: 20px; margin-bottom: 12px; }
.hero-tight { padding: 32px 0 36px; }
.hero-tight h1 { font-size: clamp(30px, 4vw, 44px); max-width: none; }

/* Home hero: one straight page of a real PDF */
.hero-page { display: none; }
@media (min-width: 1080px) { .hero-page { display: block; } }

/* ---------- Home v3 ---------- */
.h3-hero { position: relative; z-index: 5; background: var(--navy); color: #fff; padding: 56px 0 0; overflow-x: clip; overflow-y: visible; }
.h3-grid { display: grid; gap: 40px; }
@media (min-width: 1080px) { .h3-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: end; } }
.h3-copy { padding-bottom: 56px; }
.h3-copy h1 { color: #fff; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -0.035em; max-width: 15ch; }
.h3-lede { color: #C9D5E6; font-size: 19px; line-height: 1.55; margin-top: 22px; max-width: 52ch; }
.h3-search { position: relative; display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 16px; padding: 8px 8px 8px 20px; margin-top: 30px; max-width: 600px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.h3-search:focus-within { box-shadow: 0 0 0 3px var(--green), 0 10px 30px rgba(0,0,0,.25); }
.h3-search input { flex: 1; min-width: 0; border: 0; outline: none; font: 500 18px Inter, sans-serif; color: var(--navy); min-height: 52px; background: transparent; }
.h3-search .btn { border-radius: 12px; }
.h3-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.h3-sugg a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--navy); }
.h3-sugg a:hover, .h3-sugg a:focus { background: var(--soft); }
.h3-sugg b { font-weight: 700; }
.h3-sugg span { font-size: 14px; color: var(--muted); }
.h3-quick { margin-top: 18px; color: var(--muted-on-navy); font-size: 15px; line-height: 2; }
.h3-quick a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.h3-quick a:hover { text-decoration-color: #fff; color: #fff; }

.h3-visual { position: relative; min-height: 540px; display: none; }
@media (min-width: 1080px) { .h3-visual { display: block; } }
.h3-paper { position: absolute; right: -40px; top: 8px; width: 96%; }
.h3-paper .paper { border-radius: 6px 6px 0 0; }
.h3-app { position: absolute; left: -24px; bottom: 0; width: 310px; }
.shot { background: #fff; border-radius: 22px 22px 0 0; padding: 18px 18px 16px; box-shadow: 0 -4px 0 rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.45); color: var(--navy); }
.shot-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.shot-saved { color: var(--green-dark); font-weight: 700; }
.shot-title { font: 600 28px Geist, Inter, sans-serif; letter-spacing: -0.02em; margin-top: 6px; }
.shot-sub { font-size: 13px; color: var(--muted); }
.shot-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin: 10px 0 6px; background: var(--soft); }
.shot-list { display: flex; flex-direction: column; }
.shot-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.shot-row.is-on { background: #F1F5FB; border-radius: 10px; border-bottom-color: transparent; }
.shot-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-lv { display: flex; align-items: center; gap: 4px; color: #8A97A8; font-size: 12px; flex-shrink: 0; }
.shot-lv .lv { min-width: 0; height: 22px; font-size: 11px; padding: 0 8px; }
.shot-btn { margin-top: 12px; background: #2E7D46; color: #fff; text-align: center; border-radius: 999px; padding: 12px; font: 600 15px Geist, Inter, sans-serif; }

.h3-facts { border-bottom: 1px solid var(--line); }
.h3-facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 36px 20px; }
@media (min-width: 900px) { .h3-facts-row { grid-template-columns: repeat(4, 1fr); padding: 40px; } }
.h3-facts strong { display: block; font: 600 clamp(30px, 3.4vw, 44px) Geist, Inter, sans-serif; color: var(--navy); letter-spacing: -0.03em; }
.h3-facts span { color: var(--muted); font-size: 15px; }

.h3-h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 28px; max-width: 26ch; }
.h3-steps { display: grid; gap: 28px; }
@media (min-width: 980px) { .h3-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.h3-step { display: flex; flex-direction: column; gap: 10px; }
.h3-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 16px Geist, sans-serif; display: flex; align-items: center; justify-content: center; }
.h3-step p { color: var(--muted); }
.h3-mini { margin-top: 8px; background: var(--soft); border-radius: 16px; padding: 16px; font-size: 14px; }
.h3-mini-search span { display: block; background: #fff; border: 1.5px solid #8494A8; border-radius: 10px; padding: 8px 12px; font-weight: 600; color: var(--navy); }
.h3-mini-search ul { list-style: none; margin: 8px 0 0; padding: 0; }
.h3-mini-search li { padding: 8px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.h3-mini-search small { display: block; font-weight: 400; color: var(--muted); }
.h3-mini-hz > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 6px; }
.h3-mini-hz i { font-style: normal; height: 22px; min-width: 0; font-size: 11px; padding: 0 8px; }
.h3-mini-hz .off { opacity: .5; text-decoration: line-through; }
.h3-mini-hz .off span { font-size: 12px; color: var(--muted); text-decoration: none; }
.h3-mini-sign > div:first-child { display: flex; justify-content: space-between; }
.h3-mini-sign > div:first-child span { color: var(--med-fg); font-weight: 600; }
.h3-mini-sign .bar { height: 10px; background: #fff; border-radius: 999px; margin: 12px 0 10px; overflow: hidden; }
.h3-mini-sign .bar i { display: block; height: 100%; background: var(--green); }
.h3-mini-sign small { color: var(--muted); }

.h3-browse { display: grid; gap: 48px; }
@media (min-width: 980px) { .h3-browse { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.h3-pop { list-style: none; margin: 0; padding: 0; columns: 1; }
.h3-pop a, .h3-sectors a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid #DDE3EB; text-decoration: none; color: var(--navy); font-weight: 600; }
.h3-pop a:hover .nm, .h3-sectors a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sw { width: 10px; height: 10px; border-radius: 3px; background: var(--sc); flex-shrink: 0; }
.h3-pop .nm { flex: 1; }
.mt { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 14px; }
.h3-sectors { list-style: none; margin: 0; padding: 0; column-gap: 28px; }
.h3-sectors li { break-inside: avoid; }
@media (min-width: 640px) { .h3-sectors { columns: 2; } }
.h3-all { display: inline-block; margin-top: 20px; font-weight: 700; }

.h3-team { display: grid; gap: 36px; background: var(--navy); color: #fff; border-radius: 28px; padding: 36px; }
@media (min-width: 980px) { .h3-team { grid-template-columns: 1.1fr 1fr; padding: 56px; align-items: center; } }
.h3-team h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin: 6px 0 18px; }
.h3-kicker { color: var(--green); font-weight: 700; }
.h3-ticks { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #C9D5E6; }
.h3-ticks li { padding-left: 28px; position: relative; }
.h3-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 600; }
.h3-team-shot { background: #fff; color: var(--navy); border-radius: 20px; padding: 8px 18px; }
.ts-row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ts-row:last-child { border-bottom: 0; }
.ts-row span { font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ts-row .ok { background: var(--low-bg); color: var(--low-fg); }
.ts-row .wait { background: var(--med-bg); color: var(--med-fg); }
.ts-row .due { background: #E8EEF7; color: #153A71; }
.ts-row .inc { background: var(--high-bg); color: var(--high-fg); }

.h3-learn { display: grid; gap: 0; }
@media (min-width: 900px) { .h3-learn { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.h3-learn a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 2px solid var(--navy); text-decoration: none; color: var(--ink); }
.h3-learn b { font: 700 19px Geist, Inter, sans-serif; color: var(--navy); }
.h3-learn a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.h3-learn span { color: var(--muted); }
/* Phone: show the app picture under the search, without the paper behind it */
@media (max-width: 1079px) {
  .h3-visual { display: block; min-height: 0; margin-top: -24px; }
  .h3-paper { display: none; }
  .h3-app { position: static; width: auto; max-width: 420px; margin: 0 auto; }
}

/* Pricing */
.pr-toggle { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.pr-toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 700 15px Inter, sans-serif; color: var(--muted); cursor: pointer; min-height: 44px; }
.pr-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0,31,62,.15); }
.pr-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .pr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pr-grid { grid-template-columns: repeat(4, 1fr); } }
.pr { border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.pr-main { border: 2px solid var(--navy); }
.pr-badge { font-size: 13px; font-weight: 700; color: var(--green-dark); }
.pr h2 { font-size: 24px; }
.pr-price b { font: 600 40px Geist, Inter, sans-serif; color: var(--navy); letter-spacing: -0.02em; }
.pr-price span { color: var(--muted); margin-left: 6px; }
.pr-for { color: var(--muted); }
.pr ul { list-style: none; margin: 6px 0 16px; padding: 0; flex: 1; }
.pr li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.pr li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 600; }

/* Contact */
.ct { display: grid; gap: 40px; }
@media (min-width: 980px) { .ct { grid-template-columns: minmax(0, 640px) 1fr; gap: 64px; } }
.ct-form { display: flex; flex-direction: column; gap: 8px; }
.ct-form label { font-weight: 600; color: var(--navy); margin-top: 10px; }
.ct-form input, .ct-form select, .ct-form textarea { font: 500 17px Inter, sans-serif; color: var(--navy); border: 1.5px solid #8494A8; border-radius: 12px; padding: 12px 14px; min-height: 52px; background: #fff; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: 3px solid #153A71; outline-offset: 1px; border-color: var(--navy); }
.ct-form .btn { align-self: flex-start; margin-top: 16px; }
.ct-hp { position: absolute; left: -9999px; }
.ct-err { color: var(--high-fg); font-weight: 600; }
.ct-done { background: var(--low-bg); border-radius: 20px; padding: 28px; }
.ct-side h2 { font-size: 20px; margin-bottom: 8px; }
.ct-side p { margin-bottom: 10px; }

/* Test site only: review markers */
.rv { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 700 11px Inter, sans-serif; vertical-align: middle; }
.rv-reviewed { background: #E3F3E6; color: #1D5B2A; }
.rv-proposed { background: #FFF1CC; color: #7A5200; }
.rv-new { background: #FFF1CC; color: #7A5200; margin-left: 6px; }
.rv-note { background: #FFF8E5; border-left: 3px solid #E0A800; padding: 8px 12px; font-size: 14px; }
.pr-msg { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #E2F3E4; color: #1C5A27; font-weight: 600; }
[data-buy][aria-disabled="true"] { opacity: .55; pointer-events: none; }

.sg-org { margin: 6px 0 0; font-size: 17px; font-weight: 600; color: #C9D5E6; }
