:root { --navy: #12305a; --navy-2: #1d4580; --green: #1f7a5a; --ink: #1b2330; --muted: #4a5568; --bg: #ffffff; --soft: #f3f6fa; --line: #dde3ec; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--navy-2); }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); background: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header.top img { height: 40px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--navy-2); text-decoration: underline; }
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 18px; max-width: 760px; }
.hero p { font-size: 19px; max-width: 680px; color: #e4ecf7; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 700; color: #9fd8c2; }
.btn { display: inline-block; background: #fff; color: var(--navy); font-weight: 700; padding: 14px 26px; border-radius: 8px; text-decoration: none; margin: 10px 12px 0 0; }
.btn.alt { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.dark { background: var(--navy); color: #fff; }
section { padding: 64px 0; }
section.soft { background: var(--soft); }
h2 { font-size: clamp(25px, 3.5vw, 34px); color: var(--navy); margin: 0 0 14px; line-height: 1.2; }
.lead { color: var(--muted); max-width: 720px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.price { font-size: 26px; font-weight: 700; color: var(--green); margin: 6px 0 10px; }
.card ul { padding-left: 20px; margin: 10px 0 0; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 22px 70px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.fact { border-left: 4px solid var(--green); padding: 6px 16px; }
.fact b { display: block; font-size: 22px; color: var(--navy); }
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 12px 0; }
summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 40px; text-align: center; }
.cta h2 { color: #fff; } .cta p { color: #e4ecf7; }
footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; flex-wrap: wrap; }
.legal h1 { color: var(--navy); } .legal { padding: 48px 0; } .legal h2 { font-size: 22px; margin-top: 32px; }
.note { font-size: 14px; color: var(--muted); }
/* sticky header */
header.top { position: sticky; top: 0; z-index: 5; transition: box-shadow .3s; }
header.top.scrolled { box-shadow: 0 6px 24px rgba(18, 48, 90, .12); }

/* hero with animated demo audit card */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.demo { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #c7cfdb; }
.demo-url { margin-left: 10px; font-size: 13px; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
.demo-body { padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.gauge-lg { --p: 98; --c: hsl(130, 62%, 42%); width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 3.6deg), #e3e8ef 0); }
.gauge-lg > div { width: 90px; height: 90px; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; line-height: 1; }
.gauge-lg span { font-size: 32px; font-weight: 800; color: var(--ink); }
.gauge-lg small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.demo ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.demo li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #edf0f5; color: var(--ink); }
.demo li:last-child { border-bottom: 0; }
.demo li::before { content: "✕"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: #c62828; transition: background .35s, transform .35s; }
.demo li.done::before { content: "✓"; background: #1f7a5a; transform: scale(1.12); }
.demo-foot { padding: 0 24px 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .demo { max-width: 460px; } }
@media (max-width: 420px) { .demo-body { grid-template-columns: 1fr; justify-items: center; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } header.top, .demo li::before { transition: none; } }

main:focus { outline: none; }
html { scroll-padding-top: 90px; } /* sticky header never hides the focused element (WCAG 2.4.11) */
.mail-alt { margin: 16px 0 0; font-size: 15px; } .cta a:not(.btn) { color: #fff; } footer p { margin: 0; }
/* common mistakes + penalties table */
.mistakes .card h3 { font-size: 18px; }
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; }
table.fines { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
table.fines th, table.fines td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.fines thead th { background: var(--navy); color: #fff; font-weight: 600; }
table.fines tbody th { color: var(--navy); white-space: nowrap; }
table.fines tbody tr:last-child th, table.fines tbody tr:last-child td { border-bottom: 0; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 3D hero */
.hero-visual { position: relative; padding-top: 250px; }
#hero3d { position: absolute; left: -12%; right: -12%; top: -70px; width: 124%; height: 400px; display: block; pointer-events: none; }
.hero-visual .demo { position: relative; z-index: 1; }
@media (max-width: 860px) { .hero-visual { padding-top: 220px; max-width: 460px; } #hero3d { height: 330px; top: -50px; } }
/* 3D tilt on cards */
.grid { perspective: 1200px; }
.card { transform-style: preserve-3d; will-change: transform; }
@media (max-width: 860px) { header.top { position: static; } nav ul { gap: 6px 16px; } nav a { font-size: 14px; } html { scroll-padding-top: 0; } }
