/* Calibri where installed (Windows / Office), otherwise Carlito: an open-licence, metric-compatible Calibri clone served from /fonts */
@font-face { font-family: "PPR Calibri"; src: local("Calibri"), url("/fonts/carlito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PPR Calibri"; src: local("Calibri Bold"), local("Calibri-Bold"), url("/fonts/carlito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --navy: #0b1f3a;
  --navy-2: #12294b;
  --navy-3: #1b365f;
  --blue: #2f6bff;
  --blue-2: #1f55e0;
  --blue-soft: #eaf0ff;
  --ink: #0b1f3a;
  --text: #34445c;
  --muted: #5f6f86;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --good: #12a37f;
  --warn: #e0912a;
  --bad: #dc4c4c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 8px 24px rgba(11, 31, 58, 0.06);
  --shadow-lg: 0 2px 4px rgba(11, 31, 58, 0.06), 0 18px 48px rgba(11, 31, 58, 0.12);
  --sans: "PPR Calibri", Calibri, Carlito, "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.005em; }
h1 { font-weight: 700; } h2 { font-weight: 700; } h3 { font-weight: 650; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), #6aa0ff); will-change: transform; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(11, 31, 58, 0); transition: background .3s, box-shadow .3s; }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px clamp(20px, 4vw, 40px); display: flex; align-items: center; gap: 28px; }
.nav.scrolled { background: #ffffff; box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(11, 31, 58, 0.06); }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { display: block; height: 36px; width: auto; }
.logo .on-light { display: none; }
.nav.scrolled .logo .on-dark { display: none; }
.nav.scrolled .logo .on-light { display: block; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; color: rgba(255, 255, 255, 0.78); font-size: 15px; font-weight: 500; position: relative; transition: color .2s; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--blue); transition: right .25s; border-radius: 2px; }
.nav nav a:hover { color: #fff; }
.nav.scrolled nav a { color: var(--muted); }
.nav.scrolled nav a:hover, .nav.scrolled nav a.on { color: var(--ink); }
.nav nav a.on::after, .nav nav a:hover::after { right: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font: 600 16px/1 var(--sans); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35); }
.btn-primary:hover { background: var(--blue-2); box-shadow: 0 10px 26px rgba(47, 107, 255, 0.42); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* hero */
.hero { position: relative; background: radial-gradient(1100px 600px at 85% 20%, rgba(47, 107, 255, 0.28), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0e2546 60%, #0b1f3a 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2)); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2)); }
.hero-grid { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: clamp(130px, 16vh, 170px) clamp(20px, 4vw, 40px) clamp(80px, 12vh, 120px); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; min-height: min(100svh, 860px); }
.hero-copy { will-change: transform, opacity; }
.eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: #8fb0ff; }
h1 { font-size: clamp(44px, 6vw, 74px); line-height: 1.02; color: #fff; letter-spacing: -0.012em; }
.hl { background: linear-gradient(90deg, #8fb0ff, #c9d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 24px 0 0; font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.78); max-width: 560px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.assure { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(18, 163, 127, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2346e0b4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-visual { position: relative; aspect-ratio: 1 / 0.9; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 30px 80px rgba(0,0,0,0.35); overflow: hidden; will-change: transform; }
#routemap { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-label { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(11, 31, 58, 0.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); font-size: 13px; font-weight: 600; color: #fff; transform: translate(-50%, -150%); white-space: nowrap; opacity: 0; transition: opacity .5s, transform .5s; }
.hv-label span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); font-size: 11px; }
.hv-label.on { opacity: 1; transform: translate(-50%, -170%); }

/* page guide line */
.guide { position: absolute; left: 0; top: 0; width: 100%; z-index: 2; pointer-events: none; }
.guide svg { width: 100%; height: 100%; overflow: visible; }
#guide-track { fill: none; stroke: var(--line); stroke-width: 2; }
#guide-fill { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }

/* sections */
.block { position: relative; z-index: 1; padding: clamp(80px, 11vw, 130px) 0; }
.block.alt { background: var(--bg-alt); }
.head { max-width: 720px; margin-bottom: 48px; }
h2 { font-size: clamp(32px, 3.9vw, 48px); line-height: 1.1; }
.sub { margin: 18px 0 0; font-size: 18px; color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3dcea; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 22px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-no { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px !important; }

.funnel { height: 6px; border-radius: 6px; background: var(--line); margin: -12px 0 34px; overflow: hidden; }
.funnel span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--f, 0)); background: linear-gradient(90deg, var(--good) 0%, var(--warn) 55%, var(--bad) 100%); border-radius: 6px; }

/* report */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split .head { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6' fill='none' stroke='%232f6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.report-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.tag { font-size: 12px; font-weight: 650; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.report-body { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: center; padding: 28px 24px; }
.score { position: relative; text-align: center; }
.score svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 10; }
.ring { fill: none; stroke: var(--warn); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.score-num { position: absolute; top: 75px; left: 50%; transform: translate(-50%, -50%); color: var(--ink); }
.score-num b { font-size: 38px; letter-spacing: -0.03em; }
.score-num span { font-size: 15px; color: var(--muted); }
.score p { margin: 6px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.bars { display: grid; gap: 18px; }
.bar-top { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 7px; color: var(--ink); font-weight: 600; }
.bar-track { height: 10px; border-radius: 10px; background: var(--bg-alt); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 100%; border-radius: 10px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.report.in .bar-track i { transform: scaleX(var(--v)); }
.bar-track .good { background: var(--good); } .bar-track .warn { background: var(--warn); } .bar-track .bad { background: var(--bad); }
.leaks { list-style: none; margin: 0; padding: 4px 24px 20px; display: grid; gap: 10px; }
.leaks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--bg-alt); font-size: 15px; color: var(--ink); opacity: 0; transform: translateX(14px); transition: opacity .5s, transform .5s; }
.leaks li.in { opacity: 1; transform: none; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); }
.report-foot { margin: 0; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* services */
.service .num { font-size: 14px; font-weight: 700; color: var(--blue); margin: 0 0 18px !important; letter-spacing: 0.04em; }
.service { display: flex; flex-direction: column; }
.service p:not(.num):not(.meta) { color: var(--text); margin-bottom: 20px; }
.meta { margin-top: auto !important; font-size: 14px; font-weight: 650; color: var(--muted); }
.link { color: var(--blue); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.meta.link { color: var(--blue); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 11px; left: 11px; right: 11px; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--blue); transform-origin: left; transform: scaleX(var(--fill, 0)); }
.step { position: relative; padding-top: 44px; }
.node { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; transition: border-color .4s, background .4s, box-shadow .4s; }
.step.lit .node { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.15); }
.when { margin: 0 0 6px; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p:not(.when) { margin: 0; color: var(--text); font-size: 16px; }

/* sectors */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); transition: border-color .2s, background .2s; }
.chips span:hover { border-color: var(--blue); background: var(--blue-soft); }
.chips .soon { color: var(--blue); border-style: dashed; border-color: #b9cbff; }

/* CTA band */
.cta-band { position: relative; z-index: 1; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: clamp(60px, 8vw, 90px) 0; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.45), transparent 65%); pointer-events: none; }
.cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { color: #fff; max-width: 620px; }
.cta p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.78); max-width: 620px; }

/* team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.avatar.alt { background: var(--blue); }
.role { margin: 0 0 4px; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
.person h3 { font-size: 23px; margin-bottom: 10px; }
.person p:not(.role) { margin: 0 0 12px; }

/* footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 36px 0; font-size: 14px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot a { color: #fff; text-decoration: none; }
.logo.light img { height: 31px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before, .timeline::after { display: none; }
}
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .grid3, .team { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .guide { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 17.5px; }
  .logo img { height: 30px; }
  .timeline { grid-template-columns: 1fr; }
  .report-body { grid-template-columns: 1fr; justify-items: center; }
  .bars { width: 100%; }
  .person { flex-direction: column; }
  .btn:not(.btn-sm) { width: 100%; justify-content: center; }
  .cta .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .leaks li { opacity: 1; transform: none; }
  .report .bar-track i { transform: scaleX(var(--v)); }
  html { scroll-behavior: auto; }
}
/* long email addresses must wrap on small screens */
.person > div { min-width: 0; }
.person .link, .foot a { overflow-wrap: break-word; }

/* audit request modal */
.cta-actions { display: grid; justify-items: start; gap: 12px; flex: none; }
.cta-alt { margin: 0 !important; font-size: 14px; color: rgba(255,255,255,0.7); }
.cta-alt a { color: #fff; }
.modal { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; }
.modal::backdrop { background: rgba(11, 31, 58, 0.55); }
.modal[open] .modal-card { animation: pop .28s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-card { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(11,31,58,.35); padding: 32px; max-height: calc(100dvh - 24px); overflow-y: auto; }
.modal-card h2 { font-size: 26px; }
.modal-sub { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 24px 0 8px; }
.fields label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.fields input, .fields textarea { margin-top: 6px; display: block; }
.fields label span { font-weight: 400; color: var(--muted); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); padding: 11px 13px; border: 1px solid #cfd8e5; border-radius: 10px; background: #fff; width: 100%; resize: vertical; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,.18); }
.fields input.bad { border-color: var(--bad); }
.fields .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { min-height: 1.2em; margin: 6px 0 10px; color: var(--bad); font-size: 14px; }
.form-error a { color: var(--bad); }
.btn-block { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.btn-block:disabled { opacity: .65; cursor: default; transform: none; }
.modal-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.modal-step.done { text-align: center; padding: 10px 0 4px; }
.modal-step.done .btn { margin-top: 24px; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(18,163,127,.12); display: grid; place-items: center; }
.done-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--good); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .modal-card { padding: 26px 20px; } .fields { grid-template-columns: 1fr; } .cta-actions { justify-items: stretch; width: 100%; } }
