/* Tag Hunter — main.css
   Mobile first (390px). Desktop pass comes later.
   No inline styles are used anywhere in the site, so the CSP can stay strict. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --ink: #1a1715;
  --ink-soft: #5a524b;
  --cream: #faf5ee;
  --yellow: #ffd200;
  --tan: #e3d6c3;
  --beige: #f2e7d6;
  --white: #fff;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: 20px;
  --radius: 14px;
  --shadow-btn: 0 4px 0 rgba(26, 23, 21, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band--red :focus-visible,
.band--ink :focus-visible,
.sticky :focus-visible,
.footer :focus-visible { outline-color: var(--white); }

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 44px; }
.section--beige { background: var(--beige); }
.section--rule { border-top: 1px solid var(--tan); }

.band--red { background: var(--red); color: var(--cream); }
.band--ink { background: var(--ink); color: var(--cream); }

/* ---------- Type ---------- */
.eyebrow {
  margin-bottom: 12px;
  font: 500 12px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.band--red .eyebrow { color: var(--cream); opacity: 0.85; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(31px, 9vw, 40px); }
h2 { font-size: clamp(28px, 8vw, 36px); margin-bottom: 16px; }
h3 { font: 800 17px/1.3 var(--font-body); }

.lead { font-size: 18px; line-height: 1.5; }
.muted { color: var(--ink-soft); }
.micro { font-size: 13px; line-height: 1.4; }

/* ---------- Buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font: 800 17px/1.1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
/* Yellow = buy. Never used for anything else, except the download button on the thank-you page. */
.btn--buy {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-btn);
}
.btn--buy:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(26, 23, 21, 0.45); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn--outline:active { background: var(--ink); color: var(--cream); }
.btn--sm { width: auto; min-height: 44px; padding: 0 14px; font-size: 14px; border-radius: 10px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4); }

.pay { margin-top: 12px; font-size: 13px; line-height: 1.5; text-align: center; opacity: 0.9; }
.pay + .pay { margin-top: 2px; }

/* ---------- Sticky bar ---------- */
.sticky {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.sticky.is-on {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.sticky__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 60px;
  padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  max-width: 34rem;
  margin-inline: auto;
}
.sticky__logo { display: block; line-height: 0; }
.sticky__logo .logo-img { height: 34px; }
.sticky__price { display: flex; flex-direction: column; margin-left: auto; line-height: 1.15; text-align: right; }
.sticky__price strong { font-size: 17px; }
.sticky__price small { font-size: 11px; opacity: 0.85; }
.sticky .btn--buy.is-wiggle { animation: wiggle 0.7s ease 1; }
@keyframes wiggle {
  0%, 100% { transform: none; }
  20% { transform: rotate(-5deg) scale(1.05); }
  45% { transform: rotate(4deg) scale(1.05); }
  70% { transform: rotate(-2deg); }
}

/* ---------- Hero ---------- */
.hero { padding-block: 16px 30px; }
.logo-img { display: block; width: auto; height: 32px; }
.wordmark { margin-bottom: 14px; line-height: 0; }
.hero h1 { margin-bottom: 10px; }
.hero__sub { font-size: 16px; line-height: 1.4; margin-bottom: 14px; }

.cover-wrap {
  position: relative;
  width: 112px;
  margin: 26px auto 34px;
  left: -16px;
}
/* Cream spotlight behind the book so its red top band doesn't melt into the red hero. */
.cover-wrap::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 192px; height: 192px;
  margin: -96px 0 0 -96px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 6px 0 rgba(26, 23, 21, 0.28);
}
.cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 112px;
  height: auto;
  aspect-ratio: 340 / 455;
  filter: drop-shadow(0 5px 5px rgba(26, 23, 21, 0.4));
}

.chip { width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(26, 23, 21, 0.35); }
.chip--white { background: var(--white); }
.chip--red { background: var(--red); }
.chip--yellow { background: var(--yellow); }

/* Guarantee sticker: real text, round, tilted, dashed inner ring. */
.gsticker {
  position: absolute;
  right: -78px; bottom: -14px;
  display: grid;
  place-content: center;
  width: 96px; height: 96px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
  z-index: 2;
  /* white die-cut edge + hard shadow so the sticker never blends into the red band */
  box-shadow: 0 0 0 4px var(--white), 0 7px 0 4px rgba(26, 23, 21, 0.35);
}
.gsticker::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px dashed var(--red);
  border-radius: 50%;
}
.gsticker b { display: block; font: 400 22px/1 var(--font-display); letter-spacing: 0.02em; }
.gsticker span { display: block; margin-top: 2px; font: 800 9px/1.15 var(--font-body); letter-spacing: 0.03em; }

/* ---------- Cost of guessing ---------- */
.cost p + p { margin-top: 12px; }
.cost .lead { max-width: 30ch; }

/* ---------- Tag checker ---------- */
.checker { margin-top: 20px; }
.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 4px;
  border: 2px solid var(--tan);
  border-radius: 10px;
  background: var(--white);
  font: 800 12px/1.1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tab .chip { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.panel {
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}
.panel[hidden] { display: none; }

.tag {
  position: relative;
  margin: 0 auto;
  width: min(100%, 250px);
  padding: 34px 18px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px 10px 6px 6px;
  background: var(--cream);
  text-align: center;
}
.tag::before { /* punch hole */
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  width: 14px; height: 14px;
  margin-left: -7px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}
.tag__label { font: 500 10px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.tag__item { margin: 4px 0 12px; font: 800 15px/1.2 var(--font-body); }
.tag__stickers { position: relative; display: flex; justify-content: center; min-height: 64px; }
.stk {
  display: inline-grid;
  place-content: center;
  min-width: 120px;
  height: 58px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font: 400 34px/1 var(--font-display);
  letter-spacing: 0.02em;
}
.stk--white { background: var(--white); border-style: dashed; }
.stk--red { background: var(--red); color: var(--white); border-color: var(--red-dark); }
.stk--yellow { background: var(--yellow); color: var(--ink); }
.stk--under { position: absolute; top: 0; left: 50%; margin-left: -66px; transform: rotate(-6deg); opacity: 0.85; }
.stk--over { position: relative; top: 6px; margin-left: 12px; transform: rotate(2deg); }

.verdict { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.verdict__q { font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.verdict__move {
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font: 400 24px/1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.verdict__move--go { background: var(--ink); color: var(--cream); }
.verdict__move--now { background: var(--ink); color: var(--yellow); }
.panel__note { margin-top: 10px; font-size: 15px; line-height: 1.45; }

.rule {
  margin-top: 18px;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  font: 400 clamp(17px, 5.6vw, 26px)/1.25 var(--font-display);
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}
.rule__line { display: block; white-space: nowrap; }
.rule__line + .rule__line { margin-top: 4px; }
.rule__w { color: var(--white); }
.rule__r { color: #ff5a4a; } /* lighter red so it reads on the dark panel */
.rule__y { color: var(--yellow); }
.checker__more { margin-top: 14px; text-align: center; font-size: 15px; }
.checker__more a { color: var(--red-dark); font-weight: 700; }

/* ---------- What's inside ---------- */
.parts { display: grid; gap: 0; margin-top: 8px; }
.part {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding-block: 16px;
  border-top: 1px solid var(--tan);
}
.part:first-child { border-top: 0; }
.part__n {
  display: grid;
  place-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font: 400 24px/1 var(--font-display);
}
.part p { margin-top: 2px; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }

/* ---------- Previews ---------- */
.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.previews li:first-child { grid-column: 1 / -1; }
.preview { display: block; text-decoration: none; }
.preview img {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 4px 0 rgba(26, 23, 21, 0.25);
}
.preview__cap { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; }
.preview__cap b { display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.preview__hint { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-soft); }

.lightbox {
  width: min(94vw, 34rem);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: auto;
}
.lightbox::backdrop { background: rgba(26, 23, 21, 0.92); }
.lightbox img { width: 100%; border-radius: 8px; background: var(--cream); }
.lightbox__close {
  position: sticky;
  top: 0;
  display: block;
  width: 48px; height: 48px;
  margin: 0 0 8px auto;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
}

/* ---------- Trust ---------- */
.unconfirmed {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 12px;
  border: 2px dashed var(--red);
  border-radius: 8px;
  background: var(--white);
}
.unconfirmed b { display: block; font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.unconfirmed span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); }

.review { margin: 22px 0 0; padding: 16px 18px; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: var(--beige); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 16px; line-height: 1.5; }
.review figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.review figcaption b { color: var(--ink); font-weight: 700; }
.review__note { display: block; margin-top: 2px; font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }

.wont { margin-top: 22px; padding: 16px; border-radius: var(--radius); background: var(--beige); }
.wont h3 { margin-bottom: 8px; font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.wont li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; line-height: 1.4; }
.wont__note { display: block; margin-top: 1px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.wont li::before {
  content: "\00d7";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font: 800 14px/18px var(--font-body);
  text-align: center;
}

/* ---------- For / Not for ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit__col { padding: 16px; border-radius: var(--radius); border: 2px solid var(--ink); }
.fit__col--no { border-color: var(--tan); background: var(--white); }
.fit__col h3 { margin-bottom: 8px; font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.fit__col p { font-size: 15px; line-height: 1.45; }
@media (max-width: 340px) { .fit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 8px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--tan); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font: 700 20px/28px var(--font-body);
  text-align: center;
}
.faq details[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 0 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ---------- Final CTA ---------- */
.final { padding-block: 48px; }
.final h2 { font-size: clamp(27px, 7.6vw, 34px); }
.price-row { display: flex; align-items: center; gap: 22px; margin: 22px 0 6px; }
.price { font: 400 68px/1 var(--font-display); letter-spacing: 0.01em; }
.price-row .gsticker { position: relative; right: auto; bottom: auto; flex: none; }
.final__what { font-size: 14px; opacity: 0.9; }
.final__tax { margin-bottom: 18px; font-size: 13px; opacity: 0.75; }
.final__refund { margin-top: 14px; font-size: 14px; line-height: 1.45; text-align: center; }

/* ---------- Free Spotter Card capture ---------- */
.capture-card { margin: 14px auto 6px; max-width: 260px; }
.capture-card img { width: 100%; height: auto; border-radius: 12px 12px 0 0; }
.capture-card figcaption { margin-top: 2px; font-size: 13px; line-height: 1.4; text-align: center; color: var(--ink-soft); }
.field {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  font-size: 16px; /* 16px+ stops iOS zooming on focus */
}
.field::placeholder { color: #7a716a; }
.capture .btn { margin-top: 10px; }
.turnstile:not(:empty) { margin-top: 10px; } /* interaction-only: stays empty (invisible) unless a check is needed */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin-top: 10px; font-size: 14px; font-weight: 600; }
.form-status[data-state="error"] { color: var(--red-dark); }
.form-status[data-state="ok"] { color: #1d6b34; }
.fineprint { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { padding-block: 32px 40px; background: var(--ink); color: var(--cream); font-size: 13px; line-height: 1.55; }
.footer p { opacity: 0.85; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 12px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer__c { margin-top: 8px; opacity: 0.6; }
.footer__logo { display: inline-block; margin-bottom: 18px; line-height: 0; }
.footer__logo .logo-img { height: 34px; }

/* ---------- Thank-you + legal pages ---------- */
.topbar { padding-block: 14px; background: var(--ink); color: var(--cream); }
.topbar a { display: inline-block; line-height: 0; }
.topbar .logo-img { height: 34px; }

.steps { display: grid; gap: 14px; margin-top: 8px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.step p { margin-top: 2px; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.step__n { display: grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--cream); font: 400 22px/1 var(--font-display); }
.callout { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--cream); color: var(--ink); }
.callout .callout__t { margin: 0 0 6px; font: 800 18px/1.3 var(--font-body); letter-spacing: 0; }
.callout p { font-size: 16px; line-height: 1.5; }
.callout a { color: var(--red-dark); font-weight: 700; }
.band--red .btn + .micro { margin-top: 14px; opacity: 0.9; }
.copy-status { min-height: 1.5em; margin-top: 8px; font-size: 14px; font-weight: 600; }
.stack > * + * { margin-top: 14px; }

.legal { padding-block: 32px 48px; }
.legal h1 { margin-bottom: 8px; color: var(--red); font-size: clamp(32px, 9vw, 40px); }
.legal .updated { margin-bottom: 24px; font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.legal h2 { margin: 28px 0 8px; font: 800 19px/1.25 var(--font-body); letter-spacing: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; }
.legal p + p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--red-dark); font-weight: 700; }
.legal code { padding: 2px 7px; border-radius: 6px; background: var(--beige); font: 500 0.95em var(--font-mono); }

/* ---------- Guide pages (SEO articles under /guides/) ---------- */
.guide { --blue: #2c5aa0; --blue-dark: #1f4278; --purple: #6a2c91; --purple-dark: #4d1f69; }
.guide .crumbs { margin-bottom: 14px; font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.guide .crumbs a { color: var(--ink-soft); font-weight: 500; }
.guide .lead { margin-bottom: 20px; font-size: 18px; line-height: 1.5; }
.guide h2 { margin-top: 38px; font-size: 22px; }
.guide h3 { margin: 0 0 4px; font: 800 17px/1.3 var(--font-body); }
.guide .rule { margin-top: 0; }
.guide ul + p { margin-top: 12px; }
.guide .unconfirmed { display: block; margin: 14px 0 0; }
.guide .unconfirmed + p { margin-top: 14px; }
.guide .wont { margin-top: 20px; }
.guide .wont h3 { margin-bottom: 6px; }
.guide .wont p { margin: 0; }
.guide .wont + p { margin-top: 14px; }
.guide .faq { margin-top: 12px; }
.guide .faq__a { margin: 0; }

.chip--blue { background: var(--blue); }
.chip--purple { background: var(--purple); }
.stk--blue { background: var(--blue); color: var(--white); border-color: var(--blue-dark); }
.stk--purple { background: var(--purple); color: var(--white); border-color: var(--purple-dark); }

.gtable { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.gtable th, .gtable td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--tan); text-align: left; vertical-align: top; }
.gtable thead th { border-bottom: 2px solid var(--ink); font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.gtable tbody th { width: 34%; font-weight: 800; }
.gtable .chip { display: inline-block; margin-right: 8px; vertical-align: -2px; }

.sig { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tan); }
.sig__demo { min-width: 0; }
.sig__demo .stk { display: grid; width: 92px; min-width: 0; height: 46px; padding: 0; font-size: 24px; }
.sig--guide .stk { font-size: 20px; }
.sig__cap { display: block; margin-top: 6px; font: 500 10px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--ink-soft); }
.sig__demo--stack { position: relative; height: 66px; }
.sig__demo--stack .stk { position: absolute; width: 80px; }
.sig__demo--stack .stk--under { top: 0; left: 0; margin: 0; }
.sig__demo--stack .stk--over { top: 12px; left: 12px; margin: 0; }
.sig__demo--stack .sig__cap { position: absolute; top: 60px; left: 0; width: 92px; margin: 0; }

.final__pitch { margin-top: 14px; font-size: 16px; line-height: 1.5; opacity: 0.92; }
.final__refund a { color: var(--cream); font-weight: 700; }

/* ---------- While the Lemon Squeezy checkout is open ----------
   lemon.js adds .lemonsqueezy-open to <body>. Blur the page behind the checkout so the hero
   text does not ghost through its overlay, and stop the page scrolling underneath. */
body.lemonsqueezy-open { overflow: hidden; }
body.lemonsqueezy-open main,
body.lemonsqueezy-open .sticky,
body.lemonsqueezy-open .footer { filter: blur(10px); }

/* ---------- Containers for text-heavy pages ---------- */
.wrap--narrow { max-width: 44rem; }
.wrap--mid { max-width: 40rem; }

/* ---------- Tablet (720px+): centred single column, a little more air ---------- */
@media (min-width: 720px) {
  .hero__cta { max-width: 440px; margin-inline: auto; }
  .hero__sub { max-width: 34ch; }
  .cost .lead { max-width: 40ch; }
  .wrap { max-width: 40rem; }
  .wrap--narrow { max-width: 44rem; }
  .wrap--mid { max-width: 44rem; }
}

/* =========================================================================
   DESKTOP (960px+)
   Same page, same order, same rules (yellow = buy, red hero, dark buying bands),
   re-laid-out into two-column and multi-column compositions.
   ========================================================================= */
@media (min-width: 960px) {
  :root { --gutter: 32px; --radius: 18px; }
  html { scroll-padding-top: 88px; }
  body { font-size: 17px; }

  .wrap { max-width: 74rem; }
  .wrap--narrow { max-width: 46rem; }
  .wrap--mid { max-width: 52rem; }
  .section { padding-block: 104px; }

  /* Type scale */
  h1 { font-size: clamp(50px, 4.7vw, 72px); }
  h2 { font-size: clamp(38px, 3.5vw, 52px); margin-bottom: 20px; }
  h3 { font-size: 19px; }
  .eyebrow { font-size: 13px; margin-bottom: 16px; }
  .lead { font-size: 21px; line-height: 1.5; }

  /* Buttons */
  .btn { min-height: 64px; font-size: 19px; border-radius: 14px; }
  .btn--sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
  .pay { font-size: 14px; }

  /* Sticky bar */
  .sticky__in { max-width: 74rem; min-height: 68px; padding-inline: var(--gutter); gap: 28px; }
  .sticky__logo .logo-img { height: 42px; }
  .sticky__price { flex-direction: row; align-items: baseline; gap: 12px; }
  .sticky__price strong { font-size: 22px; }
  .sticky__price small { font-size: 14px; }

  /* ---- 01 Hero: copy left, book on a spotlight right ---- */
  .hero { padding-block: 28px 88px; overflow: hidden; }
  .hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "wm wm" "h c" "s c" "cta c";
    column-gap: 72px;
    align-items: start;
  }
  .wordmark { grid-area: wm; margin: 0 0 72px; }
  .wordmark .logo-img { height: 44px; }
  .hero h1 { grid-area: h; align-self: end; margin-bottom: 22px; }
  .hero__sub { grid-area: s; max-width: 30ch; margin-bottom: 34px; font-size: 22px; line-height: 1.4; }
  .hero__cta { grid-area: cta; max-width: 460px; }
  .hero__cta .pay { text-align: left; }

  .hero__cta { margin-inline: 0; }
  .cover-wrap { grid-area: c; align-self: center; justify-self: center; width: 210px; margin: 0; left: -20px; }
  .cover-wrap::before { width: 350px; height: 350px; margin: -175px 0 0 -175px; box-shadow: 0 10px 0 rgba(26, 23, 21, 0.28); }
  .cover { width: 210px; filter: drop-shadow(0 12px 12px rgba(26, 23, 21, 0.4)); }

  .gsticker { width: 132px; height: 132px; border-width: 4px; }
  .gsticker::before { inset: 6px; }
  .gsticker b { font-size: 31px; }
  .gsticker span { margin-top: 3px; font-size: 12px; }
  .cover-wrap .gsticker { width: 112px; height: 112px; right: -74px; bottom: -4px; }
  .cover-wrap .gsticker b { font-size: 26px; }
  .cover-wrap .gsticker span { font-size: 10.5px; }

  /* ---- 02 Cost of guessing: statement left, three lines right ---- */
  .cost .wrap { display: grid; grid-template-columns: 5fr 7fr; column-gap: 88px; align-items: start; }
  .cost .eyebrow { grid-column: 1; grid-row: 1; }
  .cost h2 { grid-column: 1; grid-row: 2; font-size: clamp(46px, 4.4vw, 64px); }
  .cost__body { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .cost__body .lead { max-width: 30ch; font-size: 28px; line-height: 1.35; }
  .cost__body .lead + .lead { margin-top: 20px; }

  /* ---- 03 Tag checker: pitch left, big interactive right ---- */
  .section--checker .wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 88px;
    align-items: start;
  }
  .section--checker .eyebrow { grid-column: 1; grid-row: 1; }
  .section--checker h2 { grid-column: 1; grid-row: 2; }
  .section--checker .rule { grid-column: 1; grid-row: 3; margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); padding: 26px 20px; }
  .section--checker .checker { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
  .tabs { gap: 10px; margin-bottom: 18px; }
  .tab { min-height: 56px; font-size: 14px; border-radius: 12px; gap: 8px; }
  .tab .chip { width: 14px; height: 14px; }
  .panel { padding: 34px; box-shadow: 0 8px 0 rgba(26, 23, 21, 0.14); }
  .tag { width: min(100%, 320px); padding: 44px 24px 22px; }
  .tag::before { width: 18px; height: 18px; margin-left: -9px; top: 14px; }
  .tag__label { font-size: 12px; }
  .tag__item { font-size: 18px; margin-bottom: 16px; }
  .tag__stickers { min-height: 82px; }
  .stk { min-width: 150px; height: 72px; font-size: 44px; }
  .stk--under { margin-left: -84px; }
  .stk--over { margin-left: 16px; top: 8px; }
  .verdict { margin-top: 26px; }
  .verdict__q { font-size: 12px; }
  .verdict__move { padding: 10px 20px; font-size: 32px; }
  .panel__note { margin-top: 14px; font-size: 18px; }

  /* ---- 04 What is inside: four cards ---- */
  .parts { grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
  .part { display: block; padding: 28px 24px 30px; border: 2px solid var(--tan); border-radius: var(--radius); background: var(--white); }
  .part:first-child { border-top: 2px solid var(--tan); }
  .part__n { width: 56px; height: 56px; margin-bottom: 20px; font-size: 32px; }
  .part h3 { font-size: 22px; }
  .part p { margin-top: 8px; font-size: 16px; }

  /* ---- 05 Previews: three pages in a row ---- */
  .previews { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
  .previews li:first-child { grid-column: auto; }
  .preview__cap { margin-top: 16px; font-size: 16px; }
  .preview__hint { font-size: 13px; }
  .preview { transition: transform 0.2s ease; }
  .preview img { box-shadow: 0 8px 0 rgba(26, 23, 21, 0.22); }

  .lightbox { width: fit-content; max-width: 94vw; }
  .lightbox img { width: auto; max-width: 100%; max-height: calc(92vh - 64px); margin-inline: auto; }

  /* ---- 06 Trust: message left, proof right ---- */
  .section--trust .wrap { display: grid; grid-template-columns: 6fr 5fr; column-gap: 96px; align-items: start; }
  .trust__l .lead { max-width: 30ch; }
  .unconfirmed { margin-top: 6px; padding: 16px 20px; }
  .unconfirmed b { font-size: 14px; }
  .unconfirmed span { font-size: 15px; }
  .wont { margin-top: 26px; padding: 26px 28px; }
  .wont h3 { font-size: 13px; margin-bottom: 12px; }
  .wont li { padding: 9px 0 9px 32px; font-size: 18px; }
  .wont__note { font-size: 16px; }
  .wont li::before { top: 9px; width: 22px; height: 22px; font-size: 17px; line-height: 22px; }

  /* ---- 07 Who it is for ---- */
  .fit { gap: 28px; margin-top: 8px; }
  .fit__col { padding: 34px 36px; }
  .fit__col h3 { font-size: 13px; margin-bottom: 12px; }
  .fit__col p { font-size: 22px; line-height: 1.4; }

  /* ---- 08 FAQ: heading pinned left, answers right ---- */
  .section--faq .wrap { display: grid; grid-template-columns: 4fr 8fr; column-gap: 88px; align-items: start; }
  .faq__head { position: sticky; top: 108px; }
  .faq { margin-top: 0; }
  .faq summary { min-height: 68px; font-size: 19px; }
  .faq__a { padding-right: 60px; font-size: 17px; line-height: 1.6; }

  /* ---- 09 Final CTA: headline left, price + button right ---- */
  .final { padding-block: 112px; }
  .final .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 96px; align-items: center; }
  .final h2 { margin: 0; font-size: clamp(38px, 3.9vw, 56px); line-height: 1.08; }
  .final__body { max-width: 440px; }
  .price-row { margin-top: 0; gap: 34px; }
  .price { font-size: 92px; }
  .final__what { font-size: 16px; }
  .final__tax { font-size: 14px; }
  .final__refund { font-size: 15px; text-align: left; }
  .final__body .pay { text-align: left; }

  /* ---- 10 Spotter Card: fading preview left, form right ---- */
  .section--capture .wrap { display: grid; grid-template-columns: 5fr 6fr; grid-template-rows: auto auto; column-gap: 96px; row-gap: 12px; align-content: center; align-items: end; }
  .section--capture .capture-card { grid-column: 1; grid-row: 1 / span 2; max-width: 340px; margin: 0 auto; align-self: center; }
  .section--capture .capture__copy { grid-column: 2; grid-row: 1; align-self: end; }
  .section--capture .capture__form { grid-column: 2; grid-row: 2; align-self: start; max-width: 460px; }
  .capture-card figcaption { font-size: 14px; }
  .capture .btn { margin-top: 12px; }
  .field { min-height: 62px; font-size: 18px; }
  .fineprint { font-size: 13px; }

  /* ---- 11 Footer ---- */
  .footer { padding-block: 48px 56px; font-size: 14px; }
  .footer .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 48px; }
  .footer__logo { grid-column: 1 / -1; margin-bottom: 26px; }
  .footer__logo .logo-img { height: 42px; }
  .footer p:not(.footer__c) { max-width: 52ch; }
  .footer nav { margin-top: 0; gap: 0 28px; }
  .footer__c { grid-column: 1 / -1; margin-top: 18px; }

  /* ---- Thank-you + legal ---- */
  .topbar { padding-block: 18px; }
  .topbar .logo-img { height: 42px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
  .step { display: block; padding: 26px; border: 2px solid var(--tan); border-radius: var(--radius); background: var(--white); }
  .step__n { margin-bottom: 14px; width: 48px; height: 48px; font-size: 26px; }
  .step p { font-size: 16px; }
  .legal { padding-block: 64px 96px; }
  .legal h1 { font-size: 60px; }
  .legal p, .legal li { font-size: 17px; }
  .legal h2 { font-size: 22px; margin-top: 36px; }
}

@media (min-width: 1200px) {
  .cover-wrap { width: 250px; }
  .cover { width: 250px; }
  .cover-wrap::before { width: 430px; height: 430px; margin: -215px 0 0 -215px; }
  .cover-wrap .gsticker { width: 132px; height: 132px; right: -130px; bottom: -6px; }
  .cover-wrap .gsticker b { font-size: 31px; }
  .cover-wrap .gsticker span { font-size: 12px; }
}

/* Bigger screens: let the hero breathe a little more */
@media (min-width: 1280px) {
  .hero .wrap { column-gap: 96px; }
  .cover-wrap { width: 280px; }
  .cover { width: 280px; }
  .cover-wrap::before { width: 480px; height: 480px; margin: -240px 0 0 -240px; }
  .cover-wrap .gsticker { right: -150px; }
}

/* ---------- Hover polish (mouse devices only) ---------- */
@media (hover: hover) and (min-width: 960px) {
  .btn--buy:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(26, 23, 21, 0.45); }
  .btn--buy:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(26, 23, 21, 0.45); }
  .btn--outline:hover { background: var(--ink); color: var(--cream); }
  .tab:hover:not([aria-selected="true"]) { border-color: var(--ink); }
  .preview:hover { transform: translateY(-6px); }
  .faq summary:hover { color: var(--red); }
  .footer nav a:hover { color: var(--yellow); }
  .legal a:hover { text-decoration-thickness: 2px; }
}
