:root {
  color-scheme: light;
  --blue: #1b4da6; --blue-d: #143b82; --blue-l: #3b73d6;
  --crimson: #d11e5e; --ink: #0e1a2b; --navy: #0a1b3d;
  --paper: #f5f8fd; --paper-strong: #eef3fb; --line: #e7ecf4; --muted: #586882;
  --grad: linear-gradient(100deg, #1b4da6, #3b73d6 50%, #d11e5e);
  --shadow-sm: 0 4px 16px rgba(14, 26, 43, .07); --shadow: 0 16px 44px rgba(14, 26, 43, .12);
  --display: "Sora", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, select, input { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 56px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; border-bottom: 1px solid var(--line); }
.brand img { width: 200px; height: auto; display: block; }
.topbar nav { display: flex; align-items: center; gap: 24px; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar nav > a:not(.button) { color: #33415a; }
.topbar nav > a:not(.button):hover { color: var(--blue); }
.skip { position: absolute; top: -100px; left: 12px; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 10; border-radius: 0 0 8px 8px; }
.skip:focus { top: 0; }
.intro { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: center; padding-block: 90px; }
.intro::before { content: ""; position: absolute; inset: 0 -10vw; z-index: -1; background: radial-gradient(circle at 10% 10%, rgba(59,115,214,.13), transparent 36%), radial-gradient(circle at 90% 20%, rgba(209,30,94,.1), transparent 34%); }
.eyebrow { font: 600 12px/1.3 var(--display); letter-spacing: .14em; color: var(--crimson); margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); }
h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 26px; font-weight: 800; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 18px; line-height: 1.4; }
.lead { font-size: 19px; color: var(--muted); max-width: 590px; }
.quiet, small { color: var(--muted); font-size: 13px; }
.quiet { margin-top: 20px; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.button { position: relative; display: inline-block; border: 0; background: var(--grad); color: #fff; padding: 14px 22px; border-radius: 14px; text-decoration: none; font: 600 15px/1.4 var(--display); box-shadow: 0 12px 30px rgba(27,77,166,.28); cursor: pointer; transition: transform .16s ease, box-shadow .24s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(27,77,166,.4); }
.small { padding: 11px 20px; }
.text-link { font-weight: 650; color: var(--blue); }
.secondary { border: 1.5px solid var(--line); padding: 13px 18px; border-radius: 14px; background: #fff; color: var(--blue-d); box-shadow: 0 1px 2px rgba(14,26,43,.05); cursor: pointer; }
.secondary:hover { border-color: var(--blue); background: var(--paper); }
.intro-card { padding: 38px; background: var(--navy); border-radius: 26px; color: #fff; box-shadow: var(--shadow); }
.intro-card .eyebrow { color: #8fb6ff; }
.intro-card p:not(.eyebrow) { color: #afc0dc; }
.intro-card h2 { color: #fff; font-size: 38px; }
.mini-line { display: flex; gap: 22px; align-items: center; border-top: 1px solid rgba(255,255,255,.16); padding: 16px 0; font-size: 14px; }
.mini-line b { color: #f472a6; font-family: var(--display); }
.section { padding-block: 60px 80px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.tag { display: inline-block; background: #eaf1fd; color: var(--blue-d); border: 1px solid #cddcf5; padding: 6px 12px; border-radius: 30px; font: 700 12px/1.3 var(--display); white-space: nowrap; }
fieldset { border: 0; border-bottom: 1px solid var(--line); padding: 16px 0 26px; margin: 0 0 18px; min-width: 0; }
legend { font: 600 17px/1.5 var(--display); padding: 0 0 10px; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.choices label { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: #fff; padding: 14px; border-radius: 12px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.choices label:hover { border-color: #b8c9e7; box-shadow: var(--shadow-sm); }
.choices label:has(input:checked) { background: #eaf1fd; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.results { margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); }
.results ol { padding-left: 24px; }
.results li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.results li h3 { margin: 12px 0 8px; }
.results li p { margin-bottom: 8px; color: #46566b; }
.report-section { background: var(--paper); padding-block: 70px; scroll-margin-top: 20px; }
.demo { background: #fbe9f1; color: #a8164a; border-color: #f3bfd2; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.report-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(234,241,253,.7), rgba(251,233,241,.55)); }
.report-toolbar b { font-family: var(--display); }
.report-toolbar p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.filters { display: flex; gap: 14px; }
.filters label { font: 700 12px/1.4 var(--display); }
select { display: block; background: #fff; color: var(--ink); border: 1px solid #aebcc8; border-radius: 10px; padding: 9px; margin-top: 4px; max-width: 100%; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px; gap: 24px; border-bottom: 1px solid var(--line); }
.metrics article { border-left: 3px solid var(--blue); padding-left: 16px; }
.metrics article:last-child { border-left-color: var(--crimson); }
.metrics p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.metrics strong { font: 700 clamp(25px,3vw,34px)/1.2 var(--display); letter-spacing: -.04em; display: block; color: var(--ink); }
.metrics small { display: block; font-size: 11px; margin-top: 4px; }
.report-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; padding: 30px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
caption { text-align: left; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
th, td { padding: 13px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 650; }
thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
meter { display: block; width: 100%; height: 12px; accent-color: var(--blue); }
td span { font-size: 11px; color: var(--muted); }
tfoot { font-weight: 750; }
.insight { background: var(--paper-strong); border: 1px solid #dae4f3; border-radius: 16px; padding: 24px; }
.insight .eyebrow { margin-bottom: 12px; }
.insight p { font-size: 14px; color: #46566b; }
.insight a { font-size: 14px; font-weight: 700; }
details { border-top: 1px solid var(--line); padding: 20px 26px; }
summary { cursor: pointer; font: 600 15px/1.5 var(--display); color: var(--blue-d); }
.definitions { padding-top: 20px; max-width: 850px; font-size: 14px; color: #46566b; }
.closing { text-align: center; padding-block: 80px; }
.closing p { color: var(--muted); }
footer { border-top: 1px solid var(--line); display: flex; gap: 24px; padding-block: 24px; font-size: 13px; }
footer span { margin-right: auto; }
@media (max-width: 800px) {
  .intro { grid-template-columns: 1fr; gap: 36px; padding-block: 45px; }
  .intro-card { padding: 26px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .report-body { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .report-toolbar { align-items: flex-start; flex-direction: column; }
  .topbar nav { gap: 14px; font-size: 13px; }
  .topbar nav a:first-child { display: none; }
  .brand img { width: 150px; }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { gap: 12px; }
  .topbar nav a:nth-child(2) { display: none; }
  .choices label { font-size: 14px; padding: 12px 8px; }
  .results, .report-body, .report-toolbar, .metrics { padding: 20px; }
  .filters { gap: 10px; flex-wrap: wrap; }
  .metrics { gap: 18px; }
  .intro-card h2 { font-size: 30px; }
  footer { flex-wrap: wrap; gap: 16px; }
}
@media print {
  body { font-size: 11pt; }
  .topbar, .intro, #checkup, .section-heading, #sample-report, .closing, footer, .actions, .skip, noscript, #checkup-status, #checkup-section > .quiet { display: none !important; }
  .wrap { width: 100%; }
  .section { padding: 0; }
  .results { border: 0; padding: 0; background: #fff; box-shadow: none; }
  .results li { break-inside: avoid; }
  a { color: inherit; }
  h2 { font-size: 22pt; }
}
