:root {
  /* Incrementic brand (brand.incrementic.com): red accent, charcoal text, white ground. */
  --red: #EA5148;          /* Incrementic Red: marks, rules, focus. 3.6:1 on white, so not for small text. */
  --red-ink: #C63B32;      /* Deeper red for links and button fills: about 5:1 with white. */
  --charcoal: #4C4E56;     /* Incrementic Charcoal */

  /* App speaker colours, used only in the illustrated report. */
  --blue: #2563EB;
  --orange: #EA7A1E;
  --teal: #0F766E;
  --purple: #7C3AED;

  --bg: #FFFFFF;
  --bg-alt: #F5F5F6;
  --surface: #FFFFFF;
  --ink: var(--charcoal);
  --ink-strong: #2B2C31;
  --ink-2: #5E6068;
  --ink-3: #6E7078;
  --line: #E4E4E7;
  --accent: var(--red-ink);
  --warn-bg: #FDF1E6;
  --warn-line: #F4C9A3;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(43, 44, 49, .05), 0 12px 32px -12px rgba(43, 44, 49, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --red-ink: #F0766E;
    --bg: #1D1E22;
    --bg-alt: #232429;
    --surface: #2A2B31;
    --ink: #E9E9EC;
    --ink-strong: #FFFFFF;
    --ink-2: #BDBEC4;
    --ink-3: #9A9CA3;
    --line: #383A41;
    --warn-bg: #33261C;
    --warn-line: #5C3E22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -48px;
  background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-strong); text-decoration: none; letter-spacing: -.01em; }
.brand small { font-weight: 500; color: var(--ink-3); margin-left: 4px; font-size: 14px; letter-spacing: 0; }
@media (max-width: 400px) { .brand small { display: none; } }
nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav a { color: var(--ink-2); text-decoration: none; }
nav a:hover { color: var(--ink); }
.nav-cta { color: var(--accent) !important; font-weight: 600; }
nav a, .brand { white-space: nowrap; }
@media (max-width: 900px) { nav a:not(.nav-cta):not(.nav-work) { display: none; } }
@media (max-width: 480px) { nav .nav-work { display: none; } }

/* Type */
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin: -2px 10px 0 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--ink-strong); letter-spacing: -.015em; line-height: 1.12; margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6vw, 62px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 22ch; }
h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; font-weight: 600; }
.lede { font-size: 20px; color: var(--ink-2); max-width: 36ch; margin: 0 0 28px; }
.section-lede { color: var(--ink-2); max-width: 62ch; margin: 0 0 36px; }
.fine { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #C63B32; color: #FFFFFF; }
.btn-primary:hover { background: #AE3129; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding-top: 48px; } }

.report {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow);
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.report-kicker { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.report-title { color: var(--ink-strong); margin: 4px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.score { text-align: right; line-height: 1; }
.score span { color: var(--ink-strong); font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.score small { font-size: 15px; color: var(--ink-3); margin-left: 2px; }
.finding {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); margin-bottom: 18px;
}
.finding svg { flex: none; margin-top: 3px; }
.finding p { margin: 0; font-size: 15px; }
.finding-head { font-weight: 600; }
.finding-body { color: var(--ink-2); }
.finding-try { margin-top: 4px !important; }
.bar { display: flex; gap: 3px; height: 26px; border-radius: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: 0; }
.report figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
@media (max-width: 600px) { .section { padding: 64px 0; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; display: flex; flex-direction: column;
}
.card p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.card .cite { margin-top: auto; margin-bottom: 0; font-size: 13px; color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); }

.steps { list-style: none; padding: 0; margin: 8px 0 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; gap: 16px; }
.steps p { margin: 0; color: var(--ink-2); }
.step-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
}
.sub { font-size: 20px; margin-bottom: 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cats { width: 100%; border-collapse: collapse; font-size: 16px; }
.cats th, .cats td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.cats th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.cats tr:last-child td { border-bottom: 0; }
.cats td:first-child { font-weight: 600; white-space: nowrap; }
.cats td:last-child { color: var(--ink-2); }

.privacy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .privacy { grid-template-columns: 1fr; gap: 12px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--red) 12%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--red);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px;
  border-left: 2px solid var(--red-ink); border-bottom: 2px solid var(--red-ink); transform: rotate(-45deg);
}

.story { max-width: 720px; }
.story p { font-family: var(--serif); font-size: 21px; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }

.download { text-align: center; }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download h2 { max-width: none; }
.dl-version { color: var(--ink-2); margin: 0 0 24px; }
.download .fine { max-width: 54ch; }
.dl-notes { max-width: 60ch; color: var(--ink-2); font-size: 15px; margin-top: 18px; white-space: pre-line; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.foot-logo { flex: none; display: block; padding: 6px 0; line-height: 0; }
.foot-logo img { width: 120px; height: auto; }
.foot-text { flex: 1 1 320px; display: grid; gap: 4px; }
.foot p { margin: 0; }

/* Built by Incrementic */
.incrementic-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .incrementic-grid { grid-template-columns: 1fr; gap: 32px; } }
.incrementic .section-lede { margin-bottom: 18px; }
.incrementic .cta-row { margin-top: 10px; }
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.services li { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; padding: 16px 18px; }
.services h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink-strong); }
.services p { margin: 0; color: var(--ink-2); font-size: 15px; }
