:root {
  --navy: #1F497D;
  --navy-deep: #142F52;
  --blue: #2E75B6;
  --blue-light: #9CC4EA;
  --blue-pale: #D6E4F3;
  --blue-wash: #EBF2FA;
  --steel: #4A5568;
  --teal: #00695C;
  --amber: #B45309;
  --green: #2E7D32;
  --ink: #1A202C;
  --line: #E2E8F0;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --radius: 12px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: Montserrat, Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .card-title, .brand-name, .stat-n, .level-n, .mini-n { font-family: var(--disp); letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5.6vw, 56px); font-weight: 800; line-height: 1.08; margin: 0 0 20px; max-width: 820px; }
h2 { font-size: clamp(26px, 3.8vw, 36px); font-weight: 700; line-height: 1.15; margin: 0 0 14px; color: var(--navy); }
.dark h2, .hero-bg h2 { color: var(--white); }
h3 { font-size: 20px; font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 72px 0; }
.sec.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.dark { background: var(--navy-deep); color: var(--white); }
.hero, .hero-bg { background: var(--navy); color: var(--white); }
.hero { padding: 72px 0 60px; }
@media (min-width: 761px) { .sec { padding: 88px 0; } .hero { padding: 88px 0 72px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.eyebrow.light { color: var(--blue-light); }
.lead { font-size: 18px; line-height: 1.6; color: var(--steel); margin: 0 0 32px; max-width: 720px; }
.lead.light, .light { color: var(--blue-pale); }
.light-muted { color: var(--blue-light); }
.muted { color: var(--steel); }
.small { font-size: 13px; }
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.08em; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.dark .tag { color: var(--blue-light); }
.tag.soon { color: var(--amber); }
.badge { display: inline-block; padding: 6px 12px; border-radius: 6px; background: var(--blue-wash); border: 1px solid #BBD3EC; font-size: 13px; color: var(--navy); font-weight: 600; }
.chip { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid #CBD5E0; font-size: 15px; color: var(--navy); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-name { font-weight: 600; font-size: 18px; }
.logo { height: 44px; width: auto; display: block; }
.logo-ph { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 2px dashed #94A3B8; color: #64748B; font-size: 10px; font-weight: 600; }
.nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0 16px; }
.nav.is-open { display: flex; }
.nav a { text-decoration: none; color: var(--steel); font-weight: 500; font-size: 16px; padding: 10px 4px; }
.nav a.btn { color: var(--white); padding: 0 18px; align-self: flex-start; margin-top: 6px; }
.nav-toggle { background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
@media (min-width: 900px) {
  .nav { display: flex; width: auto; flex-direction: row; align-items: center; gap: 26px; padding: 0; }
  .nav a { padding: 0; font-size: 15px; }
  .nav a.btn { padding: 0 18px; color: var(--white); }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #276399; color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--navy); border: 1px solid #CBD5E0; margin-top: 12px; align-self: flex-start; }
.btn-ghost.is-yes { background: var(--green); border-color: var(--green); }
.btn-ghost.is-no { background: var(--amber); border-color: var(--amber); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cards and grids */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-align: left; color: var(--ink); }
.darkcard { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.darkcard.accent { border-color: var(--blue-light); }
.card-title { font-size: 19px; font-weight: 600; display: block; }
.darkcard .card-title { font-size: 22px; }
.card-title.sm { font-size: 16px; }
.card-text { color: var(--steel); font-size: 15px; line-height: 1.55; display: block; }
.card-text.light { color: #C9D8EA; }
.card-detail { display: none; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy); font-size: 14px; line-height: 1.6; }
.tap { cursor: pointer; font-family: inherit; width: 100%; }
.tap:hover, .tap[aria-expanded="true"] { border-color: var(--blue); }
.tap[aria-expanded="true"] { background: #F7FAFD; }
.tap[aria-expanded="true"] .card-detail { display: block; }
.link-card { text-decoration: none; }
.link-card:hover { border-color: var(--blue); }
.link-card .card-title { color: var(--navy); }
.grid2, .grid3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid2.tight, .grid3.tight { gap: 12px; }
.align-center { align-items: center; }
.align-start { align-items: start; }
@media (min-width: 761px) {
  .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .grid2.tight, .grid3.tight { gap: 12px; }
}

/* Hero */
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--blue-pale); margin: 0 0 30px; max-width: 740px; }
.attack-path { display: block; width: 100%; max-width: 640px; margin: 40px 0 32px; overflow: visible; }
.ap-label { fill: var(--blue-light); font-size: 11px; letter-spacing: 1px; font-family: var(--font); }
.ap-line { stroke: var(--blue-light); stroke-dasharray: 760; stroke-dashoffset: 760; }
.in-view .ap-line { animation: draw 1.6s ease-out 0.3s forwards; }
.ap-cut { opacity: 0; }
.in-view .ap-cut { animation: pop 0.5s ease-out 2s forwards; }
.ap-cut-label { fill: var(--white); font-size: 12px; font-weight: 600; font-family: var(--font); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ap-line { stroke-dashoffset: 0; animation: none; } .ap-cut { opacity: 1; animation: none; } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 761px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border-top: 2px solid var(--blue); padding-top: 14px; }
.stat-n { font-size: clamp(30px, 4vw, 40px); font-weight: 700; line-height: 1; }
.stat-l { color: var(--blue-pale); margin-top: 8px; font-size: 14px; }

/* Flow */
.flow { display: flex; flex-direction: column; gap: 0; margin-bottom: 36px; }
.flow-step { flex: 1 1 0; min-width: 0; padding: 20px; }
.step-n { font-family: var(--disp); font-size: 13px; font-weight: 600; color: var(--blue); }
.arrow { display: flex; align-items: center; justify-content: center; height: 30px; color: var(--blue); transform: rotate(90deg); }
@media (min-width: 900px) {
  .flow { flex-direction: row; align-items: stretch; }
  .arrow { width: 34px; flex: 0 0 34px; height: auto; transform: none; }
}

/* Timeline */
.timeline { gap: 16px; }
.timeline-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.tl { display: grid; grid-template-columns: 1fr; gap: 6px 16px; align-items: center; }
.tl-label { font-size: 14px; font-weight: 500; }
.tl-weeks { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.tl-bar { position: relative; height: 30px; background: #EDF2F7; border-radius: 6px; margin-bottom: 8px; }
@media (max-width: 760px) { .tl-fill { font-size: 0; } }
.tl-fill { position: absolute; top: 0; height: 30px; border-radius: 6px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: var(--white); font-weight: 600; white-space: nowrap; overflow: hidden; }
@media (min-width: 761px) {
  .tl { grid-template-columns: 200px minmax(0, 1fr); gap: 10px 16px; }
  .tl-bar { margin-bottom: 0; }
}

/* RVI triangle */
.rvi-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.tri { position: relative; width: 100%; max-width: 420px; height: 340px; flex: 1 1 320px; margin: 0 auto; }
.edge { position: absolute; height: 2px; background: rgba(255,255,255,0.28); transform-origin: 0 50%; left: 50%; top: 64px; width: 182px; }
.e1 { transform: rotate(125deg); }
.e2 { transform: rotate(55deg); }
.e3 { left: calc(50% - 126px); top: 262px; width: 252px; transform: none; }
.circ { position: absolute; width: 128px; height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--white); }
.circ-t { font-family: var(--disp); font-size: 20px; font-weight: 700; }
.circ-s { font-size: 11px; margin-top: 4px; color: #E6EEF7; line-height: 1.3; }
.c-risks { left: calc(50% - 64px); top: 0; background: var(--blue); }
.c-vis { left: calc(50% - 190px); top: 198px; background: var(--teal); }
.c-id { left: calc(50% + 62px); top: 198px; background: var(--amber); }
.tri-badge { position: absolute; left: calc(50% - 80px); top: 150px; width: 160px; padding: 10px 12px; border-radius: 8px; background: var(--white); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-align: center; }
.rvi-cards { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 420px) {
  .tri { height: 300px; }
  .circ { width: 108px; height: 108px; padding: 8px; }
  .circ-t { font-size: 17px; }
  .circ-s { font-size: 10px; }
  .c-risks { left: calc(50% - 54px); }
  .c-vis { left: calc(50% - 160px); top: 180px; }
  .c-id { left: calc(50% + 52px); top: 180px; }
  .edge { width: 160px; }
  .e3 { left: calc(50% - 106px); top: 234px; width: 212px; }
  .tri-badge { top: 130px; }
}

/* Levels */
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 761px) { .levels { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
.level { padding: 16px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; font-family: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.level:hover { border-color: var(--blue); }
.level.is-selected { background: var(--navy); color: var(--white); border-color: var(--blue); }
.level-n { font-size: 28px; font-weight: 700; line-height: 1; }
.level-name { font-size: 15px; font-weight: 600; }
.level-detail { border-left: 4px solid var(--blue); }

/* Services */
.svc-head { display: flex; align-items: center; gap: 12px; }
.icon { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-wash); color: var(--navy); align-items: center; justify-content: center; flex: 0 0 40px; }

/* Tabs and report */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab { min-height: 42px; padding: 0 16px; border-radius: 8px; border: 1px solid #CBD5E0; background: var(--white); color: var(--navy); font-weight: 600; font-family: inherit; cursor: pointer; font-size: 15px; }
.tab.is-selected { background: var(--navy); color: var(--white); }
.tabs.light .tab { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.tabs.light .tab.is-selected { background: var(--white); color: var(--navy); }
.report { padding: 28px; gap: 16px; }
.report-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.keyfindings { background: var(--blue-wash); border-radius: 10px; padding: 18px 20px; }
.keyfindings p { margin: 8px 0 0; line-height: 1.7; }
.mini { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.mini-n { font-size: 26px; font-weight: 700; }
.table-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.tbl th { text-align: left; color: var(--steel); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td:first-child { white-space: nowrap; }
.sev { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--white); }
.sev.high { background: var(--amber); } .sev.med { background: var(--blue); } .sev.low { background: var(--steel); } .sev.info { background: #94A3B8; }

/* Tools */
.tool { gap: 16px; margin-bottom: 24px; }
.tool-form { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-form input { flex: 1 1 240px; min-height: 48px; border-radius: 8px; border: 1px solid #CBD5E0; padding: 0 14px; font-size: 16px; font-family: inherit; }
.tool-result { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.check-row:first-child { border-top: 0; }
.check-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; margin-top: 6px; }
.check-dot.pass { background: var(--green); } .check-dot.warn { background: var(--amber); } .check-dot.fail { background: #B91C1C; } .check-dot.info { background: #94A3B8; }
.check-name { font-weight: 600; min-width: 70px; }
.check-detail { color: var(--steel); font-size: 14px; }
.score { font-family: var(--disp); font-size: 18px; font-weight: 600; color: var(--navy); }

/* Questionnaires */
.qcard { gap: 16px; margin-bottom: 24px; }
.qlist { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 0; }
.qlist li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.qlist li > span:first-child { flex: 1 1 320px; }
.yn { display: flex; gap: 14px; }
.yn label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 500; }
.yn input { width: 20px; height: 20px; accent-color: var(--blue); }
.qform { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.qresult { background: var(--blue-wash); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.qresult .big { font-family: var(--disp); font-size: 24px; font-weight: 700; color: var(--navy); }

/* Map */
.mapbox { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #E6EEF7; border-radius: var(--radius); border: 1px solid #CBD5E0; overflow: hidden; }
.land { position: absolute; background: var(--blue-pale); }
.l1 { left: 6%; top: 8%; width: 40%; height: 30%; border-radius: 40% 60% 50% 30%; }
.l2 { left: 22%; top: 36%; width: 9%; height: 22%; border-radius: 30% 30% 60% 60%; }
.l3 { left: 10%; top: 60%; width: 30%; height: 36%; border-radius: 50% 40% 30% 60%; }
.l4 { left: 48%; top: 62%; width: 46%; height: 40%; border-radius: 50% 60% 30% 40%; }
.dot { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-8px, -8px); }
.pt { width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--navy); flex: 0 0 16px; }
.pt.blue { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.pt.teal { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.nm { font-size: 13px; font-weight: 600; color: var(--navy); background: rgba(255,255,255,0.88); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 480px) { .nm { font-size: 11px; padding: 2px 6px; } }
.legend { display: flex; flex-direction: column; gap: 14px; }
.legend-row { display: flex; gap: 12px; align-items: flex-start; }
.pt-l { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 14px; margin-top: 5px; }

/* Team */
.person { gap: 12px; }
.head-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blue-pale); }
.head-ph { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; text-align: center; border-radius: 50%; border: 2px dashed #94A3B8; color: #64748B; font-size: 12px; }
.role { color: var(--blue); font-weight: 600; font-size: 14px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* Self-check */
.selfcheck { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.sc-row { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px 22px; }
.sc-q { flex: 1 1 320px; font-size: 17px; line-height: 1.5; }
.sc-tag { color: var(--blue-light); font-weight: 600; margin-right: 8px; }
.yn-btns { display: flex; gap: 8px; }
.sc-result { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px; }
.sc-result > div { flex: 1 1 320px; }

/* Contact */
.contact-alt { display: flex; flex-direction: column; gap: 8px; font-size: 17px; color: var(--blue-pale); }
.contact-alt a { color: var(--white); text-decoration: none; }
.form-card { gap: 14px; }
.cform { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--blue-pale); }
.field input, .field textarea, .field select { min-height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: var(--white); padding: 0 12px; font-size: 16px; font-family: inherit; }
.field textarea { padding: 10px 12px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; }
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue-light); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.turnstile-slot:empty { display: none; }
.form-msg { color: #FDE68A; font-size: 14px; min-height: 1em; margin: 0; }
.form-done { display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--blue-light); padding: 28px 0; font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--blue-light); }

/* Charts */
.chart { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.chart figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.chart-title { font-weight: 600; font-size: 15px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--steel); }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.hbars { display: flex; flex-direction: column; gap: 10px; }
.hrow { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.hlab { font-size: 13px; color: var(--steel); }
.hbar { display: flex; flex-direction: column; gap: 2px; }
.hfill { display: flex; align-items: center; height: 14px; border-radius: 0 4px 4px 0; min-width: 2px; position: relative; }
.hfill.found { background: #C2410C; } .hfill.open { background: #2E75B6; }
.hfill b { position: absolute; left: calc(100% + 8px); font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1; }
.hfill[style*="width:0%"] { background: transparent; }
.hfill[style*="width:0%"] b { left: 8px; color: var(--steel); font-weight: 500; }

/* Matrix and comparison tables */
.matrix-card { margin-top: 24px; gap: 14px; }
.tbl.matrix { min-width: 720px; }
.tbl.matrix th:not(:first-child), .tbl.matrix td:not(:first-child) { text-align: center; white-space: nowrap; }
.tbl td.y { color: var(--navy); font-weight: 600; }
.tbl.matrix td.y { background: var(--blue-wash); }
.tbl td.n { color: #94A3B8; }
.tbl.compare { min-width: 640px; }
.tbl.compare td:first-child { font-weight: 600; white-space: nowrap; }
.tbl.compare td:nth-child(2) { color: var(--steel); }
.tbl.compare td.y { background: var(--blue-wash); }

/* Incident timeline */
.irtl-card { padding: 28px 24px 12px; }
.irtl { position: relative; height: 260px; }
.irtl-line { position: absolute; left: 4%; right: 4%; top: 40px; height: 3px; background: var(--line); border-radius: 2px; }
.irtl-dwell { position: absolute; top: 8px; height: 22px; border-left: 2px dashed #C2410C; border-right: 2px dashed #C2410C; }
.irtl-dwell span { position: absolute; left: 0; right: 0; top: -2px; text-align: center; font-size: 12px; font-weight: 600; color: #C2410C; white-space: nowrap; }
.irtl-pt { position: absolute; top: 30px; width: 15%; transform: translateX(-10px); display: flex; flex-direction: column; gap: 6px; }
.irtl-pt i { width: 20px; height: 20px; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--line); display: block; margin-bottom: 8px; }
.irtl-pt b { font-size: 14px; color: var(--navy); line-height: 1.2; }
.irtl-pt span { font-size: 12px; color: var(--steel); line-height: 1.45; }
@media (max-width: 760px) {
  .irtl { height: auto; display: flex; flex-direction: column; gap: 18px; padding-left: 26px; }
  .irtl-line { left: 9px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .irtl-dwell { display: none; }
  .irtl-pt { position: static; width: auto; transform: none; display: grid; grid-template-columns: 1fr; gap: 2px; }
  .irtl-pt i { position: absolute; left: 0; margin: 0; }
  .irtl { position: relative; }
  .irtl-pt { position: relative; }
  .irtl-pt i { left: -26px; top: 0; }
}

/* Delivery diagram and document stack */
.deliv { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.dpath { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dbox { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.dbox.dr { background: var(--navy); color: var(--white); }
.dbox.partner { background: var(--blue-wash); color: var(--navy); border: 1px solid #BBD3EC; }
.dbox.client { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.darrow { width: 28px; height: 2px; background: var(--blue); position: relative; }
.darrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--blue); }
.docstack { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.doc { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 10px 16px; border-left: 4px solid var(--blue); background: var(--bg); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--steel); }
.doc b { color: var(--navy); font-size: 14px; }
.doc:nth-child(2) { border-color: var(--teal); } .doc:nth-child(3) { border-color: var(--amber); }

/* CRO diagram and sector icons */
.cro { width: 100%; height: auto; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip svg { color: var(--blue); flex: 0 0 18px; }
@media (max-width: 760px) {
  .irtl-pt { left: 0 !important; width: auto; }
  .irtl-pt i { position: absolute; left: -26px !important; }
  .tbl.matrix th:first-child, .tbl.matrix td:first-child, .tbl.compare th:first-child, .tbl.compare td:first-child { position: sticky; left: 0; background: var(--white); z-index: 1; box-shadow: 2px 0 0 var(--line); }
  .tbl.matrix td:first-child { min-width: 170px; max-width: 200px; white-space: normal; font-size: 13px; }
  .tbl.compare td:first-child { white-space: normal; min-width: 110px; max-width: 130px; font-size: 13px; }
  .table-scroll::after { content: "Swipe to see all columns"; display: block; font-size: 12px; color: var(--steel); padding: 8px 0 0; }
}

/* RVI figure */
.rvi-fig-wrap { flex: 1 1 320px; max-width: 520px; margin: 0 auto; width: 100%; }
.rvi-fig { width: 100%; height: auto; display: block; overflow: visible; }
.rvi-outer { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw-tri 1.6s ease-out 0.2s forwards; }
.rvi-inner { opacity: 0; animation: pop 0.6s ease-out 1.4s forwards; }
.rvi-badge { opacity: 0; animation: pop 0.5s ease-out 2s forwards; }
@keyframes draw-tri { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rvi-outer { stroke-dashoffset: 0; animation: none; } .rvi-inner, .rvi-badge { opacity: 1; animation: none; } }

/* Follow-up and platform */
.linechart { width: 100%; height: auto; display: block; }
.plain-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plain-list li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; }
.plain-list b { color: var(--navy); }
.plain-list span { color: var(--steel); }
.plain-list.light b { color: var(--white); }
.plain-list.light span { color: #C9D8EA; }
.light-h3 { color: var(--white); font-size: 26px; margin: 4px 0 10px; }
.showcase { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; margin-top: 36px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.14); }
.showcase:first-of-type { border-top: 0; padding-top: 0; }
.showcase-text { display: flex; flex-direction: column; gap: 6px; }
.showcase-text .btn { align-self: flex-start; margin-top: 12px; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; }
  .showcase.reverse .showcase-text { order: 2; }
}
.mock { background: #FFFFFF; border-radius: 12px; overflow: hidden; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,0.35); font-size: 13px; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #EDF2F7; border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E0; }
.mock-url { margin-left: 8px; font-size: 12px; color: var(--steel); }
.mock-body { display: grid; grid-template-columns: 110px minmax(0, 1fr); min-height: 240px; }
.mock-side { background: var(--navy); color: #C9D8EA; display: flex; flex-direction: column; padding: 12px 0; }
.mock-side span { padding: 8px 14px; }
.mock-side .on { background: rgba(255,255,255,0.12); color: #FFFFFF; font-weight: 600; }
.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-tile { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.mock-tile b { font-family: var(--disp); font-size: 22px; color: var(--navy); line-height: 1.1; }
.mock-rows, .mock-row4 { display: flex; flex-direction: column; }
.mock-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 80px; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.mock-row4 { display: grid; grid-template-columns: minmax(0, 1.6fr) 0.8fr 1fr 1fr; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.mock-head4 { display: grid; grid-template-columns: minmax(0, 1.6fr) 0.8fr 1fr 1fr; gap: 8px; font-size: 11px; color: var(--steel); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mock-foot { display: flex; gap: 14px; font-size: 11px; color: var(--steel); padding-top: 6px; }
.rvi-i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.st { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; text-align: center; white-space: nowrap; }
.st.ok { background: #E6F2E8; color: #2E7D32; } .st.acc { background: #EBF2FA; color: #1F497D; } .st.treat { background: #FCEBDD; color: #B45309; } .st.defer { background: #EDF2F7; color: var(--steel); }
@media (max-width: 480px) { .mock-body { grid-template-columns: 1fr; } .mock-side { flex-direction: row; flex-wrap: wrap; padding: 6px; } .mock-side span { padding: 6px 10px; font-size: 12px; } .mock-row { grid-template-columns: 56px minmax(0, 1fr) 72px; } .mock-row4, .mock-head4 { grid-template-columns: minmax(0, 1.4fr) 0.7fr 1fr; } .mock-row4 span:nth-child(3), .mock-head4 span:nth-child(3) { display: none; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 761px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 140px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--navy); text-align: center; }
.partner:hover { border-color: var(--blue); }
.partner-logo { font-family: var(--disp); font-weight: 700; font-size: 18px; line-height: 1.2; }
.partner-logo img { max-height: 48px; max-width: 160px; width: auto; height: auto; display: block; }
.partner-note { font-size: 13px; color: var(--steel); }
.partner img { width: 100%; max-width: 240px; height: auto; display: block; }
