:root {
  --bg: #ffffff; --bg2: #f7f9fc; --card: #ffffff; --line: #e3e8f0;
  --text: #0f172a; --muted: #475569; --accent: #1d4ed8; --accent2: #1d4ed8; --gold: #1e3a8a;
  --danger: #b91c1c; --ok: #15803d; --radius: 18px; --max: 1080px; --read: 720px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 19px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.65; letter-spacing: .005em;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(37,99,235,.07), transparent 60%),
    radial-gradient(1000px 640px at -10% 10%, rgba(37,99,235,.05), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%) fixed;
  min-height: 100vh;
}
a { color: var(--accent2); text-underline-offset: 3px; }
a:hover { color: #1e3a8a; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #fff; padding: .6rem 1rem; font-weight: 700; }
.skip:focus { left: 0; z-index: 10; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
main.wrap { max-width: var(--read); padding: 3rem 0 2rem; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 1rem; flex-wrap: wrap; }
.brand > a { color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; }
.brand > a strong::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .5em; border-radius: 50%; background: #1d4ed8; vertical-align: .05em; }
.brand nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.brand nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.brand nav a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin: .6rem 0 1.2rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 2.4rem 0 1rem; }
h3 { font-size: 1.3rem; margin: .2rem 0 .5rem; }
.hero { padding: 6rem 0 4rem; max-width: 860px; }
.hero h1 { color: #0b1530; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; margin: 0; }
.lede { color: var(--muted); font-size: 1.18rem; max-width: 46ch; }
.signup, .panel, .card, .cta {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 10px 40px rgba(15,23,42,.06);
}
.signup { margin-top: 2.2rem; max-width: 620px; }
label, legend { display: block; margin: .9rem 0 .4rem; font-weight: 600; }
input[type=email], input[type=url], input[type=password], input[type=text] {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid #94a3b8;
  background: #fff; color: var(--text); font-size: 1rem; font-family: inherit;
}
input::placeholder { color: #64748b; }
input:focus { outline: 3px solid var(--accent2); outline-offset: 2px; }
.row { display: flex; gap: .7rem; flex-wrap: wrap; }
.row input { flex: 1 1 15rem; }
button, .button {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center; font-family: inherit;
  background: #1d4ed8; color: #fff;
  font-weight: 700; padding: .9rem 1.4rem; border-radius: 999px; font-size: 1rem; box-shadow: 0 6px 18px rgba(29,78,216,.22);
}
button:hover, .button:hover { background: #1e3a8a; color: #fff; }
button.secondary, .secondary { background: #fff; color: #1d4ed8; border: 2px solid #1d4ed8; box-shadow: none; }
button.secondary:hover, .secondary:hover { background: #eff4ff; color: #1e3a8a; }
.fine, .msg { color: var(--muted); font-size: .92rem; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--danger); }
.block { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.block > h2:first-child, .block > .eyebrow + h2 { margin-top: .4rem; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.4rem 4.2rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 1.4rem; top: 1.25rem; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.cards { display: grid; gap: 1.3rem; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card.highlight { border-color: #1d4ed8; box-shadow: 0 0 0 1px #1d4ed8, 0 16px 50px rgba(29,78,216,.12); }
.price { font-family: var(--serif); font-size: 2.6rem; margin: .4rem 0; }
.price span { font-family: var(--sans); font-size: .95rem; color: var(--muted); }
/* The problem, by the numbers */
.stats { display: grid; gap: 1.3rem; }
@media (min-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { margin: 0; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(400px 200px at 0% 0%, rgba(37,99,235,.06), transparent 70%), var(--card); }
.stat .num { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--gold); margin-bottom: .7rem; }
.stat p { margin: 0 0 1rem; }
.stat cite { font-style: normal; font-size: .88rem; color: var(--muted); }
.issues { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .issues { grid-template-columns: 1fr 1fr 1fr; } }
.issues li { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1rem; }
.issues strong { display: block; font-family: var(--serif); font-size: 1.12rem; margin-bottom: .2rem; }
.issues span { color: var(--muted); font-size: .95rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0; font-weight: 500; }
.check input { margin-top: .35rem; width: 1.25rem; height: 1.25rem; accent-color: #1d4ed8; }
.token { background: #f1f5f9; border: 1px dashed #94a3b8; padding: 1rem; border-radius: 12px; word-break: break-all; }
.report { margin-top: 1.5rem; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; white-space: pre-wrap; }
pre, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9rem; }
pre.prompt { background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; white-space: pre-wrap; }
.cta { margin: 3rem 0 1rem; }
main.wrap ul, main.wrap ol { padding-left: 1.3rem; } main.wrap li { margin: .4rem 0; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: .6rem 1.2rem 1.2rem; margin: 1.2rem 0; }
.foot { padding: 3rem 0 4rem; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
@media (max-width: 600px) { :root { font-size: 18px; } .hero { padding: 3.5rem 0 2.5rem; } .brand nav { gap: 1rem; } .block { padding: 3rem 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* v3 landing */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-cta { background: #1d4ed8; color: #fff !important; padding: .45rem 1rem; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: #1e3a8a; }
.hero2 { display: grid; gap: 3rem; padding: 4.5rem 0 3rem; align-items: center; }
@media (min-width: 960px) { .hero2 { grid-template-columns: 1.15fr .85fr; } }
.hero2 h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); color: #0b1530; }
.hl { color: #1d4ed8; background: linear-gradient(transparent 70%, #dbe6ff 70%); }
.hero-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.8rem; padding: .5rem; border: 2px solid #1d4ed8; border-radius: 999px; background: #fff; box-shadow: 0 14px 40px rgba(29,78,216,.18); }
.hero-form input { flex: 1 1 14rem; border: 0 !important; font-size: 1.05rem; padding: .9rem 1.1rem !important; border-radius: 999px !important; }
.hero-form input:focus { outline: 3px solid #93b4ff; }
button.big, .button.big { font-size: 1.15rem; padding: 1.05rem 1.9rem; }
@media (max-width: 600px) { .hero-form { border-radius: 20px; } .hero-form button { width: 100%; } }
.reassure { font-weight: 600; color: #15803d; margin: 1rem 0 .4rem; }
.builders { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.builders span { border: 1px solid var(--line); background: #f8fafc; color: #0f172a; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; }
.mock { position: relative; overflow: hidden; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; box-shadow: 0 30px 80px rgba(15,23,42,.14); }
.mock-top { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.tag { background: #eff4ff; color: #1e3a8a; font-weight: 700; padding: .15rem .6rem; border-radius: 6px; }
.grade-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.grade-row span { color: var(--muted); font-size: .92rem; }
.grade { width: 4rem; height: 4rem; border-radius: 16px; background: #fde8e8; color: #b91c1c; font-family: var(--serif); font-size: 2.4rem; display: grid; place-items: center; font-weight: 700; }
.finds { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.finds li { padding: .7rem .9rem; border-radius: 12px; font-size: .95rem; border-left: 5px solid; }
.finds b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.finds .red { background: #fef2f2; border-color: #dc2626; } .finds .red b { color: #b91c1c; }
.finds .amber { background: #fffbeb; border-color: #d97706; } .finds .amber b { color: #92400e; }
.finds .green { background: #f0fdf4; border-color: #16a34a; } .finds .green b { color: #15803d; }
.mock figcaption { font-size: .8rem; color: var(--muted); margin-top: .9rem; }
.scanbar { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(180deg, transparent, rgba(37,99,235,.14), transparent); border-bottom: 2px solid rgba(37,99,235,.45); animation: scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-80px); } 100% { transform: translateY(520px); } }
.callout { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; background: #0b1f5c; background: linear-gradient(135deg, #1e3a8a, #1d4ed8); color: #fff; border-radius: 22px; padding: 2rem 2.4rem; margin-bottom: 2rem; }
.callout .big-num { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.6rem); margin: 0; line-height: 1; }
.callout p { margin: 0; max-width: 52ch; font-size: 1.1rem; }
.callout a { color: #fff; font-size: .9rem; display: block; margin-top: .4rem; }
.steps3 { list-style: none; padding: 0; display: grid; gap: 1.3rem; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; background: #fff; }
.steps3 span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #1d4ed8; color: #fff; font-weight: 700; }
.ba { display: grid; gap: 1.3rem; } @media (min-width: 760px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba-card { border-radius: 18px; padding: 1.6rem; border: 1px solid var(--line); }
.ba-card.before { background: #fef2f2; border-color: #fecaca; } .ba-card.after { background: #f0fdf4; border-color: #bbf7d0; }
.ba-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0; color: #334155; }
.mt { margin-top: 3rem; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; max-width: 760px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; color: #0f172a; }
summary::marker { color: #1d4ed8; }
.final { text-align: center; padding: 5rem 1rem; margin: 2rem auto; border-radius: 26px; background: radial-gradient(600px 300px at 50% 0%, #e6eeff, #fff 70%); border: 1px solid var(--line); }
.final h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 0; }
.final .signup { margin: 2.5rem auto 0; text-align: left; box-shadow: none; }
.fade { animation: fadeUp .8s ease both; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade, .scanbar { animation: none; } .scanbar { display: none; } }
/* logo marquee */
.logos { padding: 3.5rem 0 1rem; text-align: center; }
.logos-h { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 1.5rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 32s linear infinite; }
.marquee:hover .mq-track, .marquee:focus-within .mq-track { animation-play-state: paused; }
.mq-row { list-style: none; display: flex; gap: 3.2rem; padding: 0 1.6rem; margin: 0; }
.mq-row li { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; color: #64748b; white-space: nowrap; transition: color .2s; }
.mq-row li:hover { color: #0f172a; }
.mq-row img { width: 28px; height: 28px; }
.mq-row img.c { display: none; }
.mq-row li:hover img.g { display: none; } .mq-row li:hover img.c { display: inline; }
.mq-row .wm span { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; width: auto; justify-content: center; }
  .mq-row { flex-wrap: wrap; justify-content: center; row-gap: 1.2rem; }
  .mq-row[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
/* centred brand header */
.brand { flex-direction: column; justify-content: center; gap: .55rem; padding: 1rem 0 .8rem; }
.brand > a { font-size: 2.7rem; line-height: 1.05; font-weight: 800; letter-spacing: .01em; }
.brand > a strong { font-weight: 800; }
.brand nav { justify-content: center; align-items: center; gap: .4rem 1.6rem; }
@media (max-width: 600px) {
  .brand > a { font-size: 2.2rem; }
  .brand nav { gap: .35rem 1rem; font-size: .92rem; }
  .brand nav .nav-cta { flex-basis: 100%; text-align: center; margin-top: .3rem; padding: .7rem 1rem; }
}
/* Logo wordmark */
.brand > a .wordmark { display: block; height: 2.6rem; width: auto; }
@media (max-width: 600px) { .brand > a .wordmark { height: 2.1rem; } }
/* Phone tap targets (Keeper 26 Oct 2026): nav and footer links at least ~44px tall */
@media (max-width: 600px) {
  .brand nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .35rem; }
  footer a { display: inline-block; padding: .6rem .25rem; }
  .brand nav .nav-cta { justify-content: center; }
  .callout { padding: 1.6rem 1.4rem; }
}
/* Keeper 27 Oct 2026: early free-scan button on guide pages */
.cta-top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.2rem 0 1.6rem; }
.cta-top span { color: #475569; font-size: .95rem; }
/* Fazier launch badge (30 Oct 2026) */
footer .fazier { margin: .6rem 0 0; }
footer .fazier a { display: inline-block; padding: 0; line-height: 0; }
footer .fazier img { display: block; width: 120px; height: auto; }
/* Quick check (31 Oct 2026) */
.hero-note { color: #475569; font-size: .92rem; margin: .2rem 0 .6rem; max-width: 52ch; }
.quick-form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.quick-form .row input { font-size: 1.05rem; }
.report { overflow-wrap: anywhere; }
.quick-next { margin-top: 1.4rem; padding: 1.2rem 1.4rem; border: 2px solid #1d4ed8; border-radius: 16px; background: #eff4ff; }
.quick-next p { margin: 0 0 .8rem; }
.deep { margin-top: 2rem; max-width: none; border-top: 1px solid var(--line); }
.deep[open] summary { margin-bottom: 1rem; }
@media (max-width: 600px) { .quick-form .row button, .quick-next button { width: 100%; } }
/* Keeper 31 Oct 2026: long header values in fix prompts (e.g. strict-origin-when-cross-origin) can't push past a narrow phone screen */
pre.prompt, pre.prompt code, .report { overflow-wrap: anywhere; }
