/* seo-assistant.app — no external fonts, no analytics, no third-party requests.
   The privacy policy claims the site sets no tracking cookies; the simplest way
   to keep that true is to have nothing here that could. */

:root {
  --bg: #ffffff;
  --fg: #1a1c1e;
  --muted: #5b6169;
  --line: #e3e6ea;
  --accent: #1f6feb;
  --accent-soft: #eef4ff;
  --code-bg: #f5f7f9;
  --warn-bg: #fff4e5;
  --warn-fg: #8a4b00;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --fg: #e6e8ea;
    --muted: #9aa3ad;
    --line: #2a2e35;
    --accent: #4d9bff;
    --accent-soft: #17202e;
    --code-bg: #1c1f25;
    --warn-bg: #33260f;
    --warn-fg: #f0c070;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------------------------------------------------------------- header -- */

header.site {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.75rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  margin-right: auto;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.1rem;
  font-size: 0.94rem;
}
nav.site a:hover,
nav.site a[aria-current="page"] { color: var(--fg); }

/* ------------------------------------------------------------------ text -- */

main { padding: 3rem 0 4.5rem; }

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 0.4rem;
}

h3 { font-size: 1.05rem; margin: 1.75rem 0 0.4rem; }

p, li { color: var(--fg); }
.lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 2rem; }
.muted { color: var(--muted); }

a { color: var(--accent); }

ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

code {
  background: var(--code-bg);
  padding: 0.12em 0.36em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Wide content must scroll inside its own box — the page never scrolls
   sideways. */
.scroller { overflow-x: auto; margin: 1.25rem 0; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
  min-width: 30rem;
}
th, td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-weight: 600; white-space: nowrap; }

/* ----------------------------------------------------------- components -- */

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 7px;
  font-weight: 600;
}
.cta:hover { filter: brightness(1.08); }

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1.1rem;
  margin: 1.75rem 0;
  border-radius: 0 6px 6px 0;
}
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

/* Deliberately loud. These mark facts only the operator can supply — legal
   entity, address, jurisdiction. If this page ships with one still visible,
   it should be impossible to miss rather than something a reader discovers. */
.fill {
  background: var(--warn-bg);
  color: var(--warn-fg);
  border: 1px dashed currentColor;
  padding: 0.05em 0.4em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92em;
}

.features { display: grid; gap: 1.5rem; margin: 2rem 0; }
@media (min-width: 40rem) {
  .features { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
}
.features h3 { margin-top: 0; }
.features p { margin: 0; color: var(--muted); font-size: 0.96rem; }

details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}
details summary::marker { color: var(--muted); }
details[open] summary { margin-bottom: 0.6rem; }
details p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- footer -- */

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site a { color: var(--muted); margin-right: 1.1rem; }
footer.site a:hover { color: var(--fg); }
footer.site p { margin: 0.5rem 0 0; }

/* ==================================================== landing (index only) ==
   Scoped to body.landing; the FAQ / privacy / terms pages keep the plain
   document look. LIGHT by request — the landing does not follow
   prefers-color-scheme, so every colour here is explicit rather than a var
   that flips. Palette mirrors the app (teal 500 family, amber accent from
   app/lib/theme/colors.ts). Zero third-party requests: system fonts, inline
   SVG, CSS only. */

.landing {
  --l-ink: #0f172a;
  --l-muted: #55606e;
  --l-line: #e4e9ee;
  --l-teal: #14b8a6;
  --l-teal-deep: #0d9488;
  --l-teal-wash: #f0fdfa;
  --l-amber: #f59e0b;
  --l-amber-wash: #fffbeb;
  --l-card-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 34px -14px rgba(15, 23, 42, 0.16);
  /* The doc pages (FAQ/privacy/terms/contact) now carry body.landing too, and
     their content — tables, details, .note, code — is styled by the base
     sheet through these vars. Re-pinning them here keeps every legacy
     component on the light palette regardless of prefers-color-scheme. */
  --bg: #ffffff;
  --fg: var(--l-ink);
  --muted: var(--l-muted);
  --line: var(--l-line);
  --accent: var(--l-teal-deep);
  --accent-soft: var(--l-teal-wash);
  --code-bg: #eef2f6;
  background: #fff;
  color: var(--l-ink);
}
/* .landing p (0,1,1) outranks the base .muted/.lead classes (0,1,0), which
   silently turned subdued document text full-ink. Restore them. */
.landing .muted { color: var(--l-muted); }
.landing .lead { color: var(--l-muted); }
/* Doc pages have no hero, so the landing's flush main needs its padding back. */
.landing main.doc { padding: 3rem 0 4.5rem; }
.landing main { padding: 0 0 4.5rem; }
.landing .wrap.wide { max-width: 68rem; }
.landing h1, .landing h2, .landing h3 { color: var(--l-ink); }
.landing p, .landing li { color: var(--l-ink); }
.landing a { color: var(--l-teal-deep); }

.landing .kicker {
  color: var(--l-teal-deep);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 0.75rem;
}
.landing .section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.75rem; }

/* ---------------------------------------------------------------- header -- */

.landing header.site { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--l-line); backdrop-filter: blur(8px); }
.landing .brand.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.05rem; color: var(--l-ink); }
.landing .brand.logo img { display: block; }
.landing nav.site a { color: var(--l-muted); }
.landing nav.site a:hover { color: var(--l-ink); }
.landing .nav-cta {
  border: 1.5px solid var(--l-teal);
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  color: var(--l-teal-deep) !important;
  font-weight: 650;
}
.landing .nav-cta:hover { background: var(--l-teal-wash); }

/* ------------------------------------------------------------------ hero -- */

/* overflow: hidden guards against the rotated chips poking past the viewport
   on narrow screens; the bottom padding exists so the chip that hangs below
   the framed shot (chip-c, bottom: -1rem) is clipped by neither. */
.landing .hero { position: relative; padding: 4.25rem 0 1.9rem; overflow: hidden; }
.landing .hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(44rem 26rem at 82% -12%, rgba(45, 212, 191, 0.20), transparent 62%),
    radial-gradient(30rem 20rem at 6% 18%, rgba(251, 191, 36, 0.13), transparent 60%),
    radial-gradient(36rem 22rem at 50% 108%, rgba(20, 184, 166, 0.10), transparent 55%);
}
.landing .hero-bg .dots { position: absolute; inset: 0; color: rgba(15, 23, 42, 0.07); mask-image: radial-gradient(38rem 24rem at 70% 20%, #000, transparent 70%); -webkit-mask-image: radial-gradient(38rem 24rem at 70% 20%, #000, transparent 70%); }

.landing .hero-copy { position: relative; }
.landing .hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0 0 1.1rem;
  max-width: 46rem;
}
.landing .squiggle { position: relative; white-space: nowrap; }
.landing .squiggle svg {
  position: absolute; left: 0; right: 0; bottom: -0.28em;
  width: 100%; height: 0.32em;
  color: var(--l-amber);
}
.landing .hero .lead {
  color: var(--l-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  max-width: 43rem;
  margin-bottom: 2rem;
}
.landing .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.landing .cta-note { color: var(--l-muted); font-size: 0.92rem; }

.landing .cta {
  /* Explicit white: the .landing a rule below in the cascade is more specific
     than the base .cta and was repainting the label teal-on-teal. */
  color: #fff;
  background: linear-gradient(180deg, var(--l-teal) 0%, var(--l-teal-deep) 100%);
  box-shadow: 0 10px 26px -10px rgba(13, 148, 136, 0.55);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}
.landing .cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.landing .cta.big { padding: 0.85rem 1.7rem; font-size: 1.02rem; border-radius: 10px; }

/* Hero stage: the framed capture plus floating feature chips. */
.landing .hero-stage { position: relative; margin-top: 3rem; }
.landing .framed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--l-line);
  box-shadow: var(--l-card-shadow);
  background: #fff;
  margin: 0;
}
.landing .framed .chrome { display: flex; gap: 6px; padding: 10px 14px; background: #f6f8fa; border-bottom: 1px solid var(--l-line); }
.landing .framed .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #dde3e9; }
.landing .shot img { display: block; width: 100%; height: auto; }
.landing .hero-shot { box-shadow: 0 30px 70px -28px rgba(15, 23, 42, 0.35); }

.landing .chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--l-line);
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.25);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--l-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.landing .chip svg { width: 1rem; height: 1rem; color: var(--l-teal-deep); flex-shrink: 0; }
.landing .chip b { color: var(--l-amber); }
.landing .chip-a { top: -1.1rem; left: 3%; transform: rotate(-2deg); }
.landing .chip-b { top: 32%; right: -0.6rem; transform: rotate(1.5deg); }
.landing .chip-c { bottom: -1rem; left: 12%; transform: rotate(1deg); }
@media (max-width: 52rem) { .landing .chip { display: none; } }

/* ----------------------------------------------------------- trust strip -- */

.landing .trust { padding-top: 2.5rem; }
.landing .trust-row { display: grid; gap: 0.6rem 2rem; color: var(--l-muted); font-size: 0.92rem; padding-bottom: 0.5rem; }
@media (min-width: 52rem) { .landing .trust-row { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.landing .trust-row span::before { content: "\2713"; color: var(--l-teal-deep); font-weight: 700; margin-right: 0.45rem; }

/* ----------------------------------------------------------------- cards -- */

.landing section { margin-top: 4.25rem; }
.landing .hero, .landing .trust { margin-top: 0; }

.landing .cards { display: grid; gap: 1.1rem; }
@media (min-width: 46rem) { .landing .cards { grid-template-columns: 1fr 1fr; } }

.landing .card {
  border: 1px solid var(--l-line);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  background: #fff;
  box-shadow: var(--l-card-shadow);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.landing .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 22px 46px -18px rgba(15, 23, 42, 0.22); }
.landing .card h3 { margin: 0 0 0.5rem; font-size: 1.06rem; }
.landing .card p { margin: 0; color: var(--l-muted); font-size: 0.95rem; }

.landing .icon {
  display: inline-flex;
  width: 2.5rem; height: 2.5rem;
  align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--l-teal-wash);
  color: var(--l-teal-deep);
  margin-bottom: 0.9rem;
}
.landing .icon.amber { background: var(--l-amber-wash); color: #b45309; }
.landing .icon svg { width: 1.35rem; height: 1.35rem; }

/* ------------------------------------------------------------ split rows -- */

.landing .split { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 52rem) {
  .landing .split { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
  .landing .split.flip .split-text { order: 2; }
}
.landing .split-text h2 { margin: 0 0 0.75rem; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.landing .split-text p { color: var(--l-muted); }

/* Illustrative code strip under the theme-scan copy. */
.landing .mini-code {
  margin-top: 1.25rem;
  background: #0f172a;
  color: #cbd5e1;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  box-shadow: var(--l-card-shadow);
  overflow-x: auto;
  white-space: nowrap;
}
.landing .mini-code .ln { display: inline-block; width: 2.4em; color: #64748b; }
.landing .mini-code .ln.hl { color: #fbbf24; font-weight: 700; }
.landing .mini-code .dim { color: #94a3b8; }
.landing .mini-code .bad { color: #fda4af; }
.landing .mini-code .tag {
  margin-left: 0.8em;
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
  border-radius: 5px;
  padding: 0.1em 0.5em;
  font-size: 0.72rem;
}

.landing .spark { display: block; width: min(16rem, 80%); height: auto; margin-top: 1.25rem; }

/* --------------------------------------------------------------- AI band -- */

.landing .band {
  background:
    radial-gradient(40rem 22rem at 88% 0%, rgba(45, 212, 191, 0.16), transparent 60%),
    linear-gradient(180deg, var(--l-teal-wash) 0%, #ffffff 100%);
  border-top: 1px solid #d5f5ef;
  border-bottom: 1px solid var(--l-line);
  padding: 3.5rem 0 4rem;
}
.landing .band-lead { color: var(--l-muted); font-size: 1.08rem; max-width: 42rem; margin: 0 0 2rem; }

/* ------------------------------------------------------------- checklist -- */

.landing .checklist { padding-left: 0; list-style: none; }
.landing .checklist li { margin: 0.55rem 0; padding-left: 1.6rem; position: relative; }
.landing .checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--l-teal-deep); font-weight: 700; }

/* ----------------------------------------------------------------- plans -- */

.landing .plans-note { color: var(--l-muted); max-width: 40rem; margin-top: -0.75rem; }
.landing .plans { display: grid; gap: 1.1rem; margin-top: 1.75rem; align-items: start; }
@media (min-width: 46rem) { .landing .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .landing .plans { grid-template-columns: repeat(4, 1fr); } }

.landing .plan {
  position: relative; /* anchors the .flag ribbon */
  border: 1px solid var(--l-line);
  border-radius: 16px;
  padding: 1.4rem 1.5rem 1.6rem;
  background: #fff;
  box-shadow: var(--l-card-shadow);
}
.landing .plan.featured {
  border-color: var(--l-teal);
  box-shadow: 0 0 0 1px var(--l-teal), 0 20px 46px -18px rgba(20, 184, 166, 0.35);
  background: linear-gradient(180deg, var(--l-teal-wash) 0%, #ffffff 45%);
}
.landing .plan h3 { margin: 0; font-size: 1.1rem; }
.landing .plan .job {
  color: var(--l-teal-deep);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin: 0.15rem 0 0.9rem;
}
.landing .plan .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.9rem; }
.landing .plan .price span { font-size: 0.95rem; font-weight: 500; color: var(--l-muted); }
.landing .plan ul { list-style: none; padding: 0; margin: 0; }
.landing .plan li { padding-left: 1.4rem; position: relative; font-size: 0.94rem; margin: 0.45rem 0; }
.landing .plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--l-teal-deep); font-weight: 700; }
/* A ribbon on the card's top edge, not an in-flow pill: the two-line wrap of
   "Recommended · 7-day free trial" used to sit on top of the plan name. */
.landing .flag {
  position: absolute;
  top: -0.8rem; left: 1.25rem;
  white-space: nowrap;
  background: var(--l-teal);
  color: #fff;
  font-size: 0.75rem; font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin: 0;
  box-shadow: 0 4px 10px -4px rgba(13, 148, 136, 0.45);
}
.landing .flag.quiet { background: #eef1f4; color: var(--l-muted); box-shadow: none; }

/* --------------------------------------------------------------- closing -- */

.landing .final {
  text-align: center;
  background:
    radial-gradient(36rem 20rem at 50% 0%, rgba(45, 212, 191, 0.16), transparent 65%),
    #ffffff;
  border-top: 1px solid var(--l-line);
  padding: 4rem 0 4.5rem;
}
.landing .final h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 0.75rem; }
.landing .final-lead { color: var(--l-muted); max-width: 40rem; margin: 0 auto 2rem; }

/* ---------------------------------------------------------------- footer -- */

.landing footer.site { background: #fbfcfd; }
.landing footer.site .wrap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.landing .foot-links { margin-left: auto; }
.landing .foot-links a { color: var(--l-muted); margin-left: 1.1rem; text-decoration: none; }
.landing .foot-links a:hover { color: var(--l-ink); }
.landing footer.site p { width: 100%; margin: 0.75rem 0 0; color: var(--l-muted); font-size: 0.88rem; }

/* --------------------------------------------- copy-rewrite additions 09-08 */

.landing .cta.ghost {
  background: none;
  box-shadow: none;
  color: var(--l-teal-deep);
  border: 1.5px solid var(--l-line);
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.landing .cta.ghost:hover { border-color: var(--l-teal); background: var(--l-teal-wash); transform: none; }
.landing .hero .cta-note { margin: 0.9rem 0 0; }

.landing .steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: none; }
@media (min-width: 52rem) { .landing .steps { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; } }
.landing .steps li { margin: 0; }
.landing .step-n {
  display: inline-flex; width: 2.1rem; height: 2.1rem;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--l-teal);
  color: #fff; font-weight: 700;
  margin-bottom: 0.7rem;
}
.landing .steps h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.landing .steps p { margin: 0; color: var(--l-muted); font-size: 0.95rem; }

.landing .cards.three { grid-template-columns: 1fr; }
@media (min-width: 52rem) { .landing .cards.three { grid-template-columns: 1fr 1fr 1fr; } }

.landing .reassure { margin: 1.5rem 0 0; color: var(--l-muted); font-size: 0.94rem; }
.landing .reassure::before { content: "\2713"; color: var(--l-teal-deep); font-weight: 700; margin-right: 0.45rem; }

.landing #faq details { border-bottom: 1px solid var(--l-line); }
.landing #faq summary { color: var(--l-ink); }
.landing #faq p { color: var(--l-muted); }

.landing .founder blockquote {
  margin: 0;
  border-left: 3px solid var(--l-teal);
  background: var(--l-teal-wash);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.6rem;
}
.landing .founder blockquote p { margin: 0 0 0.75rem; color: var(--l-ink); font-size: 1.02rem; }
.landing .founder blockquote footer { color: var(--l-muted); font-size: 0.92rem; }

/* -------------------------------------------------- /audit demo page ----- */
/* Data on that page is a baked export of a real audit (see
   scripts/export-audit-demo.ts) — these styles only dress it. */

.landing .audit-hero { padding-bottom: 0; }

/* The base stylesheet's `code` colors follow prefers-color-scheme; the
   landing is light-only, so in a dark-mode browser inline code rendered as a
   dark chip with dark text. Pin it to the landing palette. */
.landing code { background: #eef2f6; color: var(--l-ink); }

.landing .scoregrid { display: grid; gap: 1.1rem; }
@media (min-width: 46rem) { .landing .scoregrid { grid-template-columns: 1fr 1fr; } }
.landing .scorecard {
  border: 1px solid var(--l-line);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  background: #fff;
  box-shadow: var(--l-card-shadow);
}
.landing .scorecard h3 { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--l-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.landing .scorerow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.landing .score { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-align: center; }
.landing .score b { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.landing .score span { font-size: 0.78rem; color: var(--l-muted); }
.landing .score.good b { color: #15803d; }
.landing .score.mid b { color: #b45309; }
.landing .score.bad b { color: #b91c1c; }
.landing .scorenote { margin-top: 1.25rem; max-width: 46rem; }

.landing .finding { display: flex; gap: 1rem; align-items: flex-start; margin: 1.5rem 0; }
.landing .finding h3 { margin: 0 0 0.5rem; font-size: 1.02rem; }
.landing .finding p { margin: 0.6rem 0 0; color: var(--l-muted); font-size: 0.95rem; max-width: 42rem; }
.landing .finding .mini-code { margin-top: 0.25rem; }
.landing .sev {
  flex-shrink: 0;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  margin-top: 0.1rem;
}
.landing .sev.crit { background: #fee2e2; color: #b91c1c; }
.landing .sev.warn { background: var(--l-amber-wash); color: #b45309; }
@media (max-width: 44rem) { .landing .finding { flex-direction: column; gap: 0.5rem; } }

.landing .audit-list li { margin: 0.7rem 0; }

/* Mobile header: at phone widths the anchor links wrapped into a second row
   and stacked the header three lines tall. One page, one scroll — the anchors
   add little on a phone, so below 44rem the header is logo + Install free on
   a single row. No hamburger: it would be the page's only JavaScript. */
@media (max-width: 44rem) {
  .landing header.site .wrap { flex-wrap: nowrap; }
  .landing nav.site a:not(.nav-cta) { display: none; }
  .landing .nav-cta { white-space: nowrap; }
}

/* Mobile footer: same treatment — stacked cleanly instead of wrap-with-
   margins. Links switch from margin-left to gap so nothing hangs indented. */
@media (max-width: 44rem) {
  .landing footer.site .wrap { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .landing .foot-links { margin-left: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
  .landing .foot-links a { margin-left: 0; }
  .landing footer.site p { margin: 0; }
}
