/* Brand colours come from brand/logo/README.md. */
:root {
  --red: #FF3B2F;
  --orange: #FF7A3D;
  --flat: #FF5533;
  --grad: linear-gradient(45deg, var(--red), var(--orange));

  --bg: #FAF9F6;
  --bg-alt: #F0EEE8;
  --card: #FFFFFF;
  --ink: #16181D;
  --muted: #5B6070;
  --line: #E2DFD8;
  --accent-text: #C93A1C;

  /* Dark bands stay dark in both themes. */
  --band: #16181D;
  --band-card: #1F2229;
  --band-ink: #F4F4F2;
  --band-muted: #A4A9B6;
  --band-line: #30343E;

  --radius: 16px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181D;
    --bg-alt: #1D2027;
    --card: #23262E;
    --ink: #F4F4F2;
    --muted: #A4A9B6;
    --line: #30343E;
    --accent-text: #FF8A55;
    --band: #0E1013;
    --band-card: #1A1D23;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 900; max-width: 19ch; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; max-width: 22ch; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
code { font-family: "Roboto Mono", ui-monospace, Consolas, monospace; font-size: 0.92em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--flat); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo img { height: 40px; width: auto; margin-left: -5px; }
.nav-links { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px 24px; border-radius: 999px;
  background: var(--grad); color: #16181D;
  font: 700 16px/1.2 Roboto, system-ui, sans-serif; text-decoration: none;
  border: 2px solid transparent; background-origin: border-box; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--flat); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.eyebrow {
  font: 500 13px/1.5 "Roboto Mono", ui-monospace, Consolas, monospace;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 16px;
}
.eyebrow::before { content: "> "; }
.sub, .lede { color: var(--muted); max-width: 62ch; }
.lede { font-size: clamp(18px, 2vw, 21px); margin-top: 28px; }
.sub { font-size: 18px; margin-top: 16px; }

/* Hero */
.hero { padding: 72px 0 64px; }
@media (min-width: 900px) { .hero { padding: 104px 0 80px; } }
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px;
  margin: 64px 0 0; padding-top: 32px; border-top: 2px solid var(--ink);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats dt { font-size: clamp(30px, 3.6vw, 40px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.alt { background: var(--bg-alt); }
.band {
  background: var(--band); color: var(--band-ink);
  --ink: var(--band-ink); --muted: var(--band-muted); --line: var(--band-line);
  --card: var(--band-card); --accent-text: #FF8A55;
}

.problems { display: grid; gap: 32px; margin-top: 56px; }
@media (min-width: 820px) { .problems { grid-template-columns: repeat(3, 1fr); } }
.problems > div { border-top: 1px solid var(--line); padding-top: 20px; }
.problems p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.steps {
  list-style: none; margin: 48px 0 0; padding: 0; counter-reset: step;
  display: grid; gap: 16px;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 18px;
  font-size: 34px; font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* Value stack */
.value { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .value { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.stack {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-size: 16px;
}
.stack caption { text-align: left; font-weight: 700; padding: 0 0 12px; }
.stack th, .stack td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.stack thead th {
  font: 500 12px/1.4 "Roboto Mono", ui-monospace, Consolas, monospace;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.stack td:last-child, .stack th:last-child { text-align: right; white-space: nowrap; }
.stack tbody td:last-child { font-weight: 700; }
.stack tfoot th, .stack tfoot td { font-weight: 900; font-size: 18px; border-bottom: 0; }
.stack tfoot tr:first-child td { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.stack .founding { background: var(--bg-alt); }
@media (max-width: 599px) {
  .stack { font-size: 15px; }
  .stack th, .stack td { padding: 12px 14px; }
  .bonus { display: table; margin: 0 0 4px; }
}
.stack .founding td { color: var(--accent-text); font-size: 22px; }
.bonus {
  display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px;
  font: 500 11px/1.6 "Roboto Mono", ui-monospace, Consolas, monospace; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--accent-text); border: 1px solid currentColor;
}

/* Pricing */
.plans { display: grid; gap: 16px; margin-top: 48px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.plan.featured {
  background: var(--band); color: var(--band-ink);
  --ink: var(--band-ink); --muted: var(--band-muted); --line: var(--band-line); --accent-text: #FF8A55;
  border: 2px solid var(--flat);
}
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pill {
  padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #16181D;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); margin-top: 6px; font-size: 15px; }
.price { font-size: 56px; font-weight: 900; letter-spacing: -0.035em; line-height: 1; margin-top: 28px; }
.price span { display: inline-block; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.regular { color: var(--muted); font-size: 15px; margin-top: 10px; }
.plan .ticks { margin: 28px 0; padding-top: 28px; border-top: 1px solid var(--line); }
.plan .note { margin: -8px 0 28px; }
.plan .btn { margin-top: auto; }
.note { color: var(--muted); font-size: 14px; }

ul.ticks, ul.crosses, ul.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li, .crosses li, .dots li { position: relative; padding-left: 28px; }
.ticks li::before, .crosses li::before, .dots li::before {
  position: absolute; left: 0; top: 0; font-weight: 500;
  font-family: "Roboto Mono", ui-monospace, Consolas, monospace;
}
.ticks li::before { content: "✓"; color: var(--accent-text); }
.crosses li::before { content: "✕"; color: var(--muted); }
.dots li::before { content: "•"; color: var(--accent-text); }
.ticks strong { font-weight: 700; }

/* Qualifications */
.fit { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 900px) { .fit { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-bottom: 20px; }
.card li { font-size: 16px; color: var(--muted); }
.card li strong { color: var(--ink); }

/* Guarantees */
.guarantees { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 820px) { .guarantees { grid-template-columns: 1fr 1fr; } }
.guarantee {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.guarantee.accent { border-color: var(--flat); }
.guarantee h3 { font-size: 22px; }
.guarantee p:not(.note) { font-size: 18px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px;
  font: 500 24px/1.2 "Roboto Mono", ui-monospace, Consolas, monospace; color: var(--accent-text);
}
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 36px 22px 0; }

/* Audit form */
.audit { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .audit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.audit .mark { width: 56px; height: auto; margin-bottom: 28px; }
.form {
  display: grid; gap: 18px; padding: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.form input, .form select {
  font: 400 16px/1.4 Roboto, system-ui, sans-serif; color: var(--ink);
  background: var(--band); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  width: 100%;
}
.form input:focus-visible, .form select:focus-visible { outline: 2px solid var(--flat); outline-offset: 1px; }
.form input:user-invalid { border-color: var(--flat); }
.form .btn { margin-top: 6px; }
.form .hp { position: absolute; left: -9999px; }
.plan-note { font-size: 14px; color: var(--accent-text); }
.status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.status.ok { color: #6EE7A0; }
.status.warn { color: #FFB38A; }

.footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); padding: 28px 0; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer img { height: 32px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
