/* Bracket — marketing site.
   Editorial light system from docs/listing/src, stripped to the studs:
   one ruled frame, hairlines for structure, no shadows, no mockups.
   Inter is the voice, Geist Mono is for code, green means fixed and
   amber means found. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --paper: #f7f7f5;
  --paper-deep: #efefeb;
  --surface: #ffffff;
  --ink: #0f0f10;
  --body: #52525b;
  --faint: #71717a;
  --line: #e4e4e0;
  --line-soft: #ececea;
  --leader: #d6d6d1;
  --green: #15803d;
  --found: #c27a0e;
  --found-bg: #fcf3e1;
  --found-ink: #92400e;
  --code-num: #a1a1aa;
  --mono: "Geist Mono", "SF Mono", Menlo, monospace;
  --sans: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --display: "Geist", "Inter", -apple-system, sans-serif;
  --pad-x: clamp(24px, 4.5vw, 56px);
  --frame: 1080px;
  --nav-h: 61px;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: var(--mono);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 12px;
}

/* ── Frame: one ruled column, rails run the page ─────── */

.shell {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.frame {
  max-width: var(--frame);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.frame > section {
  padding: 96px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.frame > section:last-child {
  border-bottom: 0;
}

/* ── Type roles ───────────────────────────────────────── */

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(38px, 4.6vw, 56px);
}
h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.026em;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

/* ── Actions: filled uppercase mono slugs (brand) ─────── */

.slug {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
}
.slug:hover {
  background: var(--ink);
  color: var(--paper);
}
.slug.fill {
  background: var(--ink);
  color: var(--surface);
}
.slug.fill:hover {
  background: #2c2c30;
  border-color: #2c2c30;
}
.slug.quiet {
  border-color: var(--line);
  color: var(--body);
}
.slug.quiet:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.slug.sm {
  padding: 8px 14px;
  font-size: 11px;
}

/* ── Nav ──────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex: none;
}
.nav-logo img {
  height: 10px;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.12s ease;
}
.nav-links a:hover {
  color: var(--ink);
}

/* ── Hero: full-bleed. Theme code drifts behind the
   promise; the ghost developer fixes lines in the margins. ── */

.hero {
  position: relative;
  text-align: center;
  padding: 128px 0 132px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  /* light falls from above; the paper is lit, not flat */
  background:
    radial-gradient(120% 64% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    var(--paper);
}
/* film grain over the whole hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* Theme code drifting upward, three columns, different speeds */
.hero-field {
  position: absolute;
  inset: -80px 0;
  display: flex;
  justify-content: space-between;
  padding: 0 3vw;
  pointer-events: none;
}
.hero-field pre {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2.5;
  color: #cbcbc2;
  text-align: left;
  white-space: pre;
  margin: 0;
  animation: drift linear infinite;
}
/* Each column repeats its blocks twice; -50% lands on an identical
   frame, so the scroll never visibly resets. */
.hero-field .f1 {
  animation-duration: 84s;
}
.hero-field .f2 {
  animation-duration: 116s;
  animation-delay: -60s;
}
.hero-field .f3 {
  animation-duration: 98s;
  animation-delay: -25s;
}
@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

/* Live rewrites, driven by script.js: a wavy underline flags the
   problem, the cursor edits only what changes, the line settles green
   and a note says what the fix does. */
.rw {
  display: inline-block;
  position: relative;
}
.rw .txt {
  transition: color 0.6s ease;
}
.rw.found .txt {
  color: var(--found-ink);
  text-decoration: underline wavy var(--found);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: none;
}
.rw.active .txt {
  color: var(--ink);
  transition: none;
}
.rw.done .txt {
  color: var(--green);
  transition: none;
}
.rw .cur {
  display: inline-block;
  width: 0.55ch;
  height: 1.15em;
  background: var(--ink);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink-cur 1s steps(1) infinite;
}
@keyframes blink-cur {
  0%,
  55% {
    opacity: 1;
  }
  56%,
  100% {
    opacity: 0;
  }
}
.rw .note {
  position: absolute;
  left: 0;
  top: -3px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--green);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.rw.done .note {
  opacity: 1;
  transform: none;
}

/* Paper veil: keeps the centre clean, lets the margins speak */
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(247, 247, 245, 0.35) 0%,
      rgba(247, 247, 245, 0) 14%,
      rgba(247, 247, 245, 0) 56%,
      var(--paper) 92%
    ),
    radial-gradient(
      ellipse 52% 52% at 50% 46%,
      var(--paper) 42%,
      rgba(247, 247, 245, 0.8) 66%,
      rgba(247, 247, 245, 0) 92%
    );
}

.hero-content {
  position: relative;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.03;
  margin: 0 auto 24px;
  text-wrap: balance;
}
.hero .lede {
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 36px;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-plan {
  margin: 22px auto 0;
  color: var(--body);
  font-size: 14px;
}
.access-note {
  margin: 6px auto 0;
  color: var(--faint);
  font-size: 13px;
}
.access-note a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* Four sourced facts under the promise. Each source sits at the foot of
   its box so the claim and its evidence are read together. */
.hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 64px auto 0;
  text-align: left;
}
.hero-fact {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.fact-figure {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.fact-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}
.fact-source {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--faint);
}
.fact-source a {
  color: var(--body);
  text-underline-offset: 3px;
  text-decoration-color: var(--leader);
}
.fact-source a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* One orchestrated entrance, top to bottom */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-content > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-content > h1 {
  animation-delay: 0.05s;
}
.hero-content > .lede {
  animation-delay: 0.14s;
}
.hero-content > .hero-actions {
  animation-delay: 0.22s;
}
.hero-content > .hero-plan,
.hero-content > .access-note {
  animation-delay: 0.3s;
}
.hero-content > .hero-facts {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-field pre,
  .hero-content > * {
    animation: none;
  }
}

/* ── What we check: a spec table of the four areas ───── */

.check-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
  margin-bottom: 52px;
}
.check-head p {
  color: var(--body);
  max-width: 460px;
}
.spec {
  border-top: 1px solid var(--line);
}
.spec-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.5;
}
.spec-row p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}
.tokens {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
}
.tokens li {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--body);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 8px;
}
.check-note {
  margin-top: 36px;
  max-width: 560px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.014em;
  line-height: 1.4;
}

/* ── Inside a sweep: pinned scroll story ──────────────
   Without .sweep-js (no script, or reduced motion) this is a plain
   list of findings with their code excerpts. */

.sweep {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.sweep-stage {
  padding: 96px 0;
}
.sweep-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "report";
  gap: 32px;
}
.sweep-head {
  grid-area: head;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 32px;
}
.sweep-head h2 {
  grid-column: 1;
  font-size: clamp(28px, 3.4vw, 42px);
}
.sweep-lede {
  grid-column: 1;
  max-width: 560px;
  color: var(--body);
}
.sweep-head .sweep-count {
  display: none;
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
}

.sweep-code {
  display: none;
  grid-area: code;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.code-bar {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--body);
}
.code-view {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 16px 0;
  overflow: hidden;
}
.code-lines {
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2.15;
  color: var(--ink);
}
.code-lines li {
  white-space: pre;
  padding-right: 18px;
  counter-increment: ln;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.code-lines li::before {
  content: counter(ln);
  display: inline-block;
  width: 3ch;
  margin: 0 2.5ch 0 1.5ch;
  text-align: right;
  color: var(--code-num);
}
.code-lines li.on {
  background: var(--found-bg);
  box-shadow: inset 3px 0 0 var(--found);
}
.code-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 16, 0.04);
  border-top: 1px solid rgba(15, 15, 16, 0.16);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.code-scan.on {
  opacity: 1;
}

.sweep-report {
  grid-area: report;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.report-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 600;
}
.report-head span + span {
  font-weight: 400;
  color: var(--faint);
}
.report-empty {
  display: none;
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--faint);
}
.findings {
  list-style: none;
  padding: 0 20px;
}
.finding {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.finding:last-child {
  border-bottom: 0;
}
.finding-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.finding h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.finding-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.finding.is-advice .finding-price {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
}
.finding-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}
.finding-meta code {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--faint);
}
.finding-more p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body);
}
.finding-more p code {
  font-size: 12.5px;
  color: var(--ink);
}
.finding-more .finding-fix {
  color: var(--ink);
  font-weight: 500;
}
.finding-code {
  margin-top: 14px;
  padding: 10px 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-size: 12px;
  overflow: hidden;
}
.finding-code li.hit {
  background: var(--found-bg);
  box-shadow: inset 3px 0 0 var(--found);
}
.report-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--body);
}

/* With script: the stage pins below the nav while the tall track
   scrolls past, and the report fills in as findings are made. */
.sweep-js .sweep-track {
  height: 560vh;
}
.sweep-js .sweep-stage {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  padding: 36px 0 32px;
  overflow: hidden;
}
/* Panels get a bounded height and the stage centres them, so a tall
   window doesn't leave a short excerpt floating in empty space. */
.sweep-js .sweep-grid {
  height: 100%;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: auto clamp(340px, calc(100svh - var(--nav-h) - 230px), 560px);
  grid-template-areas:
    "head head"
    "code report";
  align-content: center;
  gap: 28px 32px;
}
.sweep-js .sweep-code {
  display: flex;
}
.sweep-js .sweep-head .sweep-count {
  display: block;
}
.sweep-js .report-empty.on {
  display: block;
}
.sweep-js .finding-code {
  display: none;
}
.sweep-js .finding {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.sweep-js .finding.is-found {
  opacity: 1;
  transform: none;
}
.sweep-js .finding.is-found:not(.is-active) h3 {
  color: var(--body);
}
.sweep-js .finding-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.sweep-js .finding-more > div {
  min-height: 0;
  overflow: hidden;
}
.sweep-js .finding.is-active .finding-more {
  grid-template-rows: 1fr;
}
.sweep-js .report-foot {
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.sweep-js .report-foot.on {
  opacity: 1;
}

@media (max-height: 760px) {
  .sweep-js .sweep-lede {
    display: none;
  }
  .sweep-js .finding {
    padding: 12px 0;
  }
}

/* ── Your report, your call ───────────────────────────── */

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.report-lede {
  margin-top: 18px;
  max-width: 440px;
  color: var(--body);
}
.paths {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.paths li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.paths h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.paths p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--body);
}

.pick {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pick-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.pick-head h3 {
  font-size: 15px;
  font-weight: 600;
}
.pick-head span {
  font-size: 12px;
  color: var(--faint);
}
.pick-list {
  list-style: none;
}
.pick-list li {
  border-bottom: 1px solid var(--line-soft);
}
.pick-list label,
.pick-advice {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto 48px;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  font-size: 14px;
}
.pick-list label {
  cursor: pointer;
}
.pick-list label:hover {
  background: var(--paper);
}
.pick-list input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}
.pick-cat {
  font-size: 12px;
  color: var(--faint);
}
.pick-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}
.pick-advice {
  grid-template-columns: minmax(0, 1fr) auto 48px;
  padding-left: 50px;
  color: var(--faint);
}
.pick-advice .pick-price {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
}
/* The three ways to act on the report, in the order the left column
   explains them: two free downloads, then the paid change. */
.pick-actions {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}
.pick-action {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 0.12s ease,
    background 0.12s ease;
}
.pick-action:hover {
  border-color: var(--ink);
}
.pick-action-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}
.pick-action.is-paid {
  margin-top: 4px;
  padding: 16px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}
.pick-action.is-paid:hover {
  background: #2c2c30;
}
.pick-action.is-paid .pick-action-note {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--surface);
}
.pick-action.is-off {
  opacity: 0.4;
  pointer-events: none;
}
.pick-small {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--faint);
}

/* ── Pricing: the free sweep and the per-change ladder ── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.price-card.paid {
  border-color: var(--ink);
}
.price-card h3 {
  font-size: 18px;
}
.price-card .price {
  font-size: 42px;
  color: var(--ink);
  line-height: 1.2;
  margin: 16px 0 4px;
  letter-spacing: -0.03em;
}
.price small {
  margin-right: 6px;
  font-size: 16px;
  color: var(--body);
  letter-spacing: 0;
}
.price span {
  display: block;
  font-size: 13px;
  color: var(--body);
  letter-spacing: 0;
  margin-top: 6px;
}
.price-card li {
  font-size: 14px;
  color: var(--body);
}
.price-card ul {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  width: 100%;
}
.price-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.price-card .tiers {
  margin-bottom: 0;
}
.price-card .tiers li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.tier-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.price-card .slug {
  margin-top: auto;
}
.pricing-note {
  font-size: 13px;
  color: var(--faint);
  margin-top: 24px;
  max-width: 740px;
}

/* ── Sweep again ──────────────────────────────────────── */

.again-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.again p {
  max-width: 480px;
  color: var(--body);
}
.again p + p {
  margin-top: 14px;
}

/* ── Questions ────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 400;
  color: var(--faint);
}
.faq-list details[open] > summary::after {
  content: "\2212";
}
.faq-list details p {
  max-width: 640px;
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--body);
}

/* ── CTA ──────────────────────────────────────────────── */

.cta {
  text-align: center;
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}
.cta h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin: 0 auto 16px;
}
.cta p {
  color: var(--body);
  max-width: 420px;
  margin: 0 auto 32px;
}
.cta .support {
  display: block;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--faint);
}
.cta .support a {
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--leader);
}
.cta .support a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ── Footer ───────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer-brand img {
  height: 10px;
  display: block;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--faint);
  max-width: 280px;
}
.footer-cols {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--body);
  text-decoration: none;
  transition: color 0.12s ease;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--faint);
}

/* ── Privacy page ─────────────────────────────────────── */

.legal {
  padding: 88px var(--pad-x) 112px;
}
.legal-inner {
  max-width: 660px;
}
.legal h1 {
  font-size: clamp(32px, 3.8vw, 44px);
  margin: 20px 0 12px;
}
.legal .updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal-body {
  margin-top: 56px;
}
.legal-body section {
  margin-bottom: 48px;
  padding: 0;
  border: 0;
}
.legal-body h2 {
  font-size: 19px;
  letter-spacing: -0.014em;
  margin-bottom: 12px;
}
.legal-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 12px;
}
.legal-body p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-body ul {
  list-style: none;
  margin: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.legal-body ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}
.legal-body ul li strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-body a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--leader);
}
.legal-body a:hover {
  border-bottom-color: var(--ink);
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 920px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 104px;
  }
  .hero-field .f3 {
    display: none;
  }
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
  }
  .check-head,
  .report-grid,
  .again-grid {
    grid-template-columns: 1fr;
  }
  .check-head {
    gap: 18px;
  }
  .spec-row {
    grid-template-columns: 150px 1fr;
    gap: 14px 32px;
  }
  .spec-row p,
  .spec-row .tokens {
    grid-column: 2;
  }
  /* The pinned stage stacks: code above, the newest finding below. */
  .sweep-js .sweep-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "head"
      "code"
      "report";
    gap: 16px;
  }
  .sweep-js .sweep-stage {
    padding: 24px 0 20px;
  }
  .sweep-js .sweep-lede {
    display: none;
  }
  .sweep-js .finding:not(.is-active) {
    display: none;
  }
  .sweep-js.is-done .finding:last-child {
    display: block;
  }
  .sweep-js .report-foot:not(.on) {
    display: none;
  }
  .sweep-js .finding {
    padding: 14px 0;
  }
  .code-lines {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .frame {
    border-left: 0;
    border-right: 0;
  }
  .frame > section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 64px;
    padding-bottom: 88px;
  }
  .hero-field .f2 {
    display: none;
  }
  /* The headline spans the whole width here, so the code becomes a
     faint texture behind it rather than something to read. */
  .hero-veil {
    background: linear-gradient(
      180deg,
      rgba(247, 247, 245, 0.5) 0%,
      rgba(247, 247, 245, 0.78) 24%,
      rgba(247, 247, 245, 0.78) 62%,
      var(--paper) 94%
    );
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .spec-row p,
  .spec-row .tokens {
    grid-column: auto;
  }
  .sweep-stage {
    padding: 64px 0;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 24px;
  }
  .pick-list label {
    grid-template-columns: 16px minmax(0, 1fr) 48px;
  }
  .pick-advice {
    grid-template-columns: minmax(0, 1fr) 48px;
  }
  .pick-cat {
    display: none;
  }
  .hero-fact {
    padding: 16px 16px 14px;
  }
}

@media (max-width: 560px) {
  /* One fact per row: the figure beside its sentence and source. */
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 40px;
  }
  .hero-fact {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }
  .fact-figure {
    grid-row: 1 / span 2;
    font-size: 26px;
  }
  .fact-text {
    margin-top: 0;
    font-size: 13.5px;
  }
  .fact-source {
    padding-top: 8px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }
}
