/* Checkout Club — design system
   Display: Big Shoulders Display. Text and UI: Instrument Sans. */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/big-shoulders-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --nav-h: 92px;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --accent: #ffd43b;
  --accent-2: #ffc81a;
  --accent-deep: #e9a400;
  --accent-ink: #111215;
  --night: #111215;

  --bg: #eeeff1;
  --card: #ffffff;
  --card-2: #f5f6f7;
  --sunken: #e8e9ec;
  --field: #ffffff;
  --ink: #111215;
  --muted: #5c6069;
  --faint: #73777f;
  --line: rgba(17, 18, 21, .08);
  --line-2: rgba(17, 18, 21, .15);
  --ok: #12804a;
  --ok-bg: #e1f3e8;
  --bad: #c8333a;
  --bad-bg: #fbe6e6;
  --warn: #8f5a00;
  --warn-bg: #fff0c7;
  --float: 0 1px 2px rgba(17, 18, 21, .06), 0 14px 34px -14px rgba(17, 18, 21, .28);
  --pop: 0 28px 70px -26px rgba(0, 0, 0, .6);
  color-scheme: light;
}

.mock {
  --card: #ffffff;
  --card-2: #f4f5f7;
  --sunken: #ebecef;
  --ink: #111215;
  --muted: #5c6069;
  --faint: #73777f;
  --line: rgba(17, 18, 21, .09);
  --line-2: rgba(17, 18, 21, .15);
  --ok: #12804a;
  --ok-bg: #e1f3e8;
  --bad: #c8333a;
  --bad-bg: #fbe6e6;
  --warn: #8f5a00;
  --warn-bg: #fff0c7;
  color: var(--ink);
}

.on-night {
  --card: #222329;
  --card-2: #2a2b32;
  --sunken: #0c0d10;
  --field: #0c0d10;
  --ink: #f3f4f6;
  --muted: #a3a7b0;
  --faint: #8a8e97;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --ok: #45d891;
  --ok-bg: rgba(69, 216, 145, .14);
  --bad: #ff7d7d;
  --bad-bg: rgba(255, 125, 125, .14);
  --warn: #ffcb52;
  --warn-bg: rgba(255, 203, 82, .14);
  background: var(--night);
  color: var(--ink);
}

.on-accent {
  --card: #ffffff;
  --ink: #111215;
  --muted: rgba(17, 18, 21, .72);
  --line: rgba(17, 18, 21, .12);
  --line-2: rgba(17, 18, 21, .2);
  background: var(--accent);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --night: #191a1f;
    --bg: #0a0b0d;
    --card: #141519;
    --card-2: #1b1c21;
    --sunken: #0f1013;
    --field: #0f1013;
    --ink: #f2f3f5;
    --muted: #a0a4ad;
    --faint: #868a93;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .13);
    --ok: #45d891;
    --ok-bg: rgba(69, 216, 145, .13);
    --bad: #ff7d7d;
    --bad-bg: rgba(255, 125, 125, .13);
    --warn: #ffcb52;
    --warn-bg: rgba(255, 203, 82, .13);
    --float: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .mock {
    --card: #202127;
    --card-2: #282930;
    --sunken: #18191d;
    --ink: #f2f3f5;
    --muted: #a3a7b0;
    --faint: #8a8e97;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --ok: #45d891;
    --ok-bg: rgba(69, 216, 145, .14);
    --bad: #ff7d7d;
    --bad-bg: rgba(255, 125, 125, .14);
    --warn: #ffcb52;
    --warn-bg: rgba(255, 203, 82, .14);
  }
}
:root[data-theme="dark"] {
  --night: #191a1f;
  --bg: #0a0b0d;
  --card: #141519;
  --card-2: #1b1c21;
  --sunken: #0f1013;
  --field: #0f1013;
  --ink: #f2f3f5;
  --muted: #a0a4ad;
  --faint: #868a93;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --ok: #45d891;
  --ok-bg: rgba(69, 216, 145, .13);
  --bad: #ff7d7d;
  --bad-bg: rgba(255, 125, 125, .13);
  --warn: #ffcb52;
  --warn-bg: rgba(255, 203, 82, .13);
  --float: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
:root[data-theme="dark"] .mock {
  --card: #202127;
  --card-2: #282930;
  --sunken: #18191d;
  --ink: #f2f3f5;
  --muted: #a3a7b0;
  --faint: #8a8e97;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ok: #45d891;
  --ok-bg: rgba(69, 216, 145, .14);
  --bad: #ff7d7d;
  --bad-bg: rgba(255, 125, 125, .14);
  --warn: #ffcb52;
  --warn-bg: rgba(255, 203, 82, .14);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd, pre, samp { font-family: var(--mono); font-size: .92em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-accent :focus-visible { outline-color: var(--accent-ink); }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.4rem, 7.6vw, 7rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }
.muted { color: var(--muted); }

/* ---------- Primitives ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--card-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--sunken); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn--dark:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.on-accent .btn--dark { background: #111215; color: #fff; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--card-2); }
.btn--sm { min-height: 38px; padding: 0 15px; font-size: .9rem; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row, .audit-export-row, .ready-ask__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 13px 0 10px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}
.on-night .kicker { background: rgba(255, 255, 255, .06); }
.eyebrow { color: var(--muted); font-size: .86rem; font-weight: 600; letter-spacing: .01em; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.pill--ok { background: var(--ok-bg); color: var(--ok); box-shadow: none; }
.pill--bad { background: var(--bad-bg); color: var(--bad); box-shadow: none; }
.pill--warn { background: var(--warn-bg); color: var(--warn); box-shadow: none; }
.pill--accent { background: color-mix(in srgb, var(--accent) 34%, var(--card)); color: var(--ink); box-shadow: none; }

.card {
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card--hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card--hover:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), var(--float); }

input[type="text"], input[type="url"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--field);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.check-ico, .x-ico { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--wrap);
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 10px;
  border-radius: 22px;
  background: #111215;
  color: #f3f4f6;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck .site-header__bar,
body.nav-open .site-header__bar { box-shadow: var(--pop); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.site-header .brand { color: #fff; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111215;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  flex: none;
}
.brand__mark img { width: 34px; height: 34px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav__link, .nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #c5c8d0;
  font-size: .95rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav__link:hover, .nav__btn:hover, .nav__menu.is-open .nav__btn { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav__menu { position: relative; }
.nav__menu.is-open .nav__btn svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  width: min(540px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 8px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--float);
  animation: drop .2s var(--ease);
}
.dropdown__foot { grid-column: 1 / -1; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.dropdown__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color .15s;
}
.dropdown__item:hover { background: var(--card-2); }
.dropdown__item b { display: block; font-weight: 600; }
.dropdown__item small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.dropdown__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
}
.dropdown__icon--dark { background: #111215; color: #fff; }
.dropdown__icon svg { width: 22px; height: 22px; }
.dropdown__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-2);
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}
.dropdown__foot:hover { color: var(--ink); }
.dropdown__foot svg { width: 16px; height: 16px; }

.header-search {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 280px;
  height: 44px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111215;
}
.header-search input {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111215;
  box-shadow: none;
  font-size: .95rem;
}
.header-search input:focus { outline: none; box-shadow: none; }
.header-search .btn { min-height: 36px; padding: 0 16px; }

.site-header__tools { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 12px;
  background: transparent; color: #f3f4f6;
  transition: background-color .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
.header-cta { min-height: 42px; padding: 0 18px; }
.burger { display: none; }
.burger .close { display: none; }
body.nav-open .burger .open { display: none; }
body.nav-open .burger .close { display: block; }

.mobile-nav {
  pointer-events: auto;
  max-width: var(--wrap);
  margin: 8px auto 0;
  padding: 10px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--float);
  animation: drop .2s var(--ease);
}
.mobile-nav__grid { display: grid; gap: 6px; }
.mobile-nav__grid a, .mobile-nav__links a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 14px;
  text-decoration: none; font-weight: 600;
}
.mobile-nav__grid a:hover { background: var(--card-2); }
.mobile-nav__grid a small { display: block; color: var(--muted); font-weight: 500; font-size: .86rem; }
.mobile-nav .dropdown__icon { width: 40px; height: 40px; }
.mobile-nav__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.mobile-nav__links a { justify-content: center; background: var(--card-2); }
.mobile-nav__links a:hover { background: var(--sunken); }
.mobile-nav > .btn { width: 100%; margin-top: 10px; }

/* ---------- Sections ---------- */

.section { padding-top: clamp(80px, 10vw, 136px); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head__title { display: grid; gap: 18px; justify-items: start; }
.section-head__aside { display: grid; gap: 18px; justify-items: start; padding-bottom: 6px; }
.section-head__aside p { color: var(--muted); font-size: 1.08rem; line-height: 1.55; max-width: 44ch; }
.section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head--center .section-head__title { justify-items: center; }
.section-head--center h2 { max-width: 18ch; }

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

.hero { padding-top: 12px; }
.hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 40px;
  align-items: center;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  min-height: min(720px, calc(100svh - 104px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
}
.hero__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  top: 50%;
  width: 760px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(255, 212, 59, .16), rgba(255, 212, 59, 0) 62%);
}
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
  transition: background-color .2s;
}
.hero__news:hover { background: rgba(255, 255, 255, .1); color: var(--ink); }
.hero__news b {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 0 10px; border-radius: 999px;
  background: #ff3b30; color: #fff; font-size: .78rem; font-weight: 700;
}
.hero__news b svg { width: 12px; height: 12px; }
.hero__news > svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(3.4rem, 7.2vw, 6.2rem); }
.hero h1 .line { display: block; }
.sticker-word {
  display: inline-block;
  padding: 0 .1em .02em;
  border-radius: .07em;
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-2.5deg);
  transform-origin: 30% 60%;
  box-shadow: 0 10px 30px -12px rgba(255, 212, 59, .5);
}
.hero__lede { max-width: 31rem; color: var(--muted); font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.55; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; list-style: none; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 16px; height: 16px; color: var(--accent); }
.hero__facts b { color: var(--ink); font-weight: 600; }

.url-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 540px;
  padding: 6px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .2s var(--ease);
}
.url-form:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.on-night .url-form, .on-accent .url-form { background: #fff; color: #111215; --ink: #111215; --faint: #6f737b; }
.on-night .url-form:focus-within { box-shadow: 0 0 0 4px rgba(255, 212, 59, .45); }
.on-accent .url-form:focus-within { box-shadow: 0 0 0 4px rgba(17, 18, 21, .2); }
.url-form > svg { width: 20px; height: 20px; flex: none; margin-left: 14px; color: var(--faint); }
.url-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 6px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.04rem;
}
.url-form input:focus { box-shadow: none; }
.url-form .btn { flex: none; }
.url-form select, .hub-form select {
  flex: none;
  min-height: 48px;
  max-width: 148px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: #eeeff1;
  color: #111215;
  color-scheme: light;
  font: inherit;
  font-weight: 600;
}
.on-accent .url-form .btn--accent, .url-form .btn--dark { background: #111215; color: #fff; }

/* Hero visual */
.hero__viz { position: relative; height: 540px; }
.hero__orbit {
  position: absolute; inset: 50% auto auto 50%;
  width: 470px; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.hero__orbit::after {
  content: ""; position: absolute; inset: 70px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.report {
  position: absolute;
  left: 0;
  top: 50%;
  width: 326px;
  translate: 0 -50%;
  padding: 18px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--pop);
}
.report__top { display: flex; align-items: center; gap: 10px; }
.report__fav { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #d9c8ad; color: #4a3a22; font-weight: 700; font-size: .8rem; }
.report__url { min-width: 0; flex: 1; overflow: hidden; color: var(--muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.report__score { display: flex; align-items: center; gap: 16px; margin: 16px 0 14px; padding: 14px; border-radius: 16px; background: var(--card-2); }
.ring { position: relative; width: 84px; height: 84px; flex: none; }
.ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.ring__track { stroke: var(--line-2); }
.ring__fill { stroke: var(--accent-deep); stroke-linecap: round; }
.ring__n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.report__score b { display: block; font-size: 1rem; font-weight: 600; }
.report__score p { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.report__rows { display: grid; gap: 6px; list-style: none; }
.report__rows li {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center;
  min-height: 44px; padding: 0 10px; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .88rem; font-weight: 550; line-height: 1.25;
}
.dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.dot svg { width: 13px; height: 13px; }
.dot--ok { background: var(--ok-bg); color: var(--ok); }
.dot--bad { background: var(--bad-bg); color: var(--bad); }
.dot--warn { background: var(--warn-bg); color: var(--warn); }

.float {
  position: absolute;
  padding: 14px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--pop);
  font-size: .84rem;
}
.float__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 600; }
.float__title code { font-size: .8rem; }
.float__title svg { width: 16px; height: 16px; color: var(--muted); }
.float--bots { right: 0; bottom: 34px; width: 196px; }
.float--bots ul { display: grid; gap: 6px; list-style: none; }
.float--bots li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.float--bots li span:first-child { font-family: var(--mono); font-size: .76rem; }
.float--export { right: 4px; top: 30px; width: 176px; }
.float--export ul { display: grid; gap: 6px; list-style: none; }
.float--export li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 10px; background: var(--card-2); font-weight: 550; }
.float--export svg { width: 16px; height: 16px; color: var(--muted); }
.sticker {
  position: absolute;
  left: -22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.95rem;
  line-height: .86;
  transform: rotate(-12deg);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .6);
}
.sticker small { display: block; font-family: var(--font); font-size: .7rem; font-weight: 700; letter-spacing: .02em; }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat__n { grid-row: span 2; font-family: var(--display); font-size: 3.4rem; font-weight: 800; line-height: .8; letter-spacing: -.01em; }
.stat b { font-weight: 600; line-height: 1.25; }
.stat__d { color: var(--muted); font-size: .9rem; line-height: 1.35; }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile__head { display: grid; gap: 8px; }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tile h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.tile__head p, .tile__foot { color: var(--muted); max-width: 46ch; line-height: 1.55; }
.tile__stage { position: relative; flex: 1; min-height: 0; }
.tile.on-night { background: var(--night); box-shadow: inset 0 0 0 1px var(--line); }
.tile.on-accent { background: var(--accent); box-shadow: none; }
.count {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 0 11px; border-radius: 999px;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap;
}

/* CRO bento placement */
.bento--cro .t-pdp { grid-column: 1 / span 7; }
.bento--cro .t-cart { grid-column: 8 / span 5; }
.bento--cro .t-27 { grid-column: 1 / span 3; }
.bento--cro .t-after { grid-column: 4 / span 4; }
.bento--cro .t-fight { grid-column: 8 / span 5; }
.bento--cro .t-add { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: center; }

/* Product page mock */
.pdp {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 20px;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pdp__media { display: grid; gap: 8px; }
.pdp__photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: #ece4d6; overflow: hidden; }
.pdp__photo svg { width: 78%; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pdp__thumbs span { aspect-ratio: 1; border-radius: 9px; background: #ece4d6; }
.pdp__thumbs span:nth-child(2) { background: #d9cdb8; }
.pdp__thumbs span:nth-child(3) { background: #c8b89c; }
.pdp__thumbs span:nth-child(4) { background: #e3dccf; }
.pdp__thumbs span:first-child { box-shadow: inset 0 0 0 2px var(--ink); }
.pdp__info { display: flex; flex-direction: column; gap: 12px; padding: 6px 4px; }
.pdp__vendor { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pdp__title { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.pdp__price { display: flex; align-items: baseline; gap: 8px; font-size: 1.05rem; font-weight: 600; }
.pdp__price s { color: var(--muted); font-weight: 500; font-size: .92rem; }
.pdp__price .pill { align-self: center; }
.pdp__label { color: var(--muted); font-size: .8rem; margin-bottom: 6px; }
.pdp__sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.pdp__sizes span {
  display: grid; place-items: center; min-width: 40px; height: 36px; padding: 0 8px;
  border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: .84rem; font-weight: 600;
}
.pdp__sizes .is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.pdp__sizes .is-out { color: var(--faint); text-decoration: line-through; background: transparent; }
.pdp__buy { display: grid; place-items: center; height: 44px; border-radius: 12px; background: var(--ink); color: var(--card); font-size: .9rem; font-weight: 600; }
.pdp__buy--alt { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.pdp__ship { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.pdp__ship svg { width: 15px; height: 15px; }
.note {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--float);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}
.note .dot { width: 22px; height: 22px; }
.pdp__notes { display: contents; }
.pdp .note--1 { right: 50%; top: 56%; }
.pdp .note--2 { right: -6px; top: 37%; }
.pdp .note--3 { right: 50%; top: 22%; }
.sample { color: var(--faint); font-size: .76rem; }

/* Cart drawer mock */
.drawer {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.drawer__head { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.drawer__head b { font-weight: 600; }
.drawer__head span { color: var(--muted); font-size: .82rem; }
.goal { padding: 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.goal p { font-size: .85rem; margin-bottom: 9px; }
.goal b { font-weight: 700; }
.bar { height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; }
.bar span { display: block; width: var(--w, 50%); height: 100%; border-radius: inherit; background: var(--accent-deep); transform-origin: left center; }
.line-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.line-item__img { width: 52px; height: 52px; border-radius: 10px; background: #ece4d6; display: grid; place-items: center; overflow: hidden; }
.line-item__img svg { width: 80%; }
.line-item__img--belt { background: #e6e3de; }
.line-item p { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.line-item small { color: var(--muted); font-size: .78rem; }
.line-item > b { font-size: .9rem; font-weight: 600; }
.line-item--offer { background: color-mix(in srgb, var(--accent) 16%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-deep) 40%, transparent); }
.line-item__add { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--card); font-size: .78rem; font-weight: 600; }
.breaks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.breaks span { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .78rem; color: var(--muted); line-height: 1.3; }
.breaks b { color: var(--ink); font-size: .86rem; font-weight: 600; }
.breaks .is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.drawer__checkout { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 16px; border-radius: 12px; background: var(--ink); color: var(--card); font-size: .92rem; font-weight: 600; }

.checklist { display: grid; gap: 2px; list-style: none; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.35; }
.checklist li:first-child { border-top: 0; }

/* Big number tile */
.t-27 { justify-content: space-between; }
.big-n { font-family: var(--display); font-size: clamp(6rem, 10vw, 8.6rem); font-weight: 800; line-height: .76; letter-spacing: -.02em; }
.t-27 b { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.t-27 p { color: var(--muted); font-size: .92rem; }

/* After they pay */
.receipt { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.receipt__ok { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; }
.receipt__ok small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }

/* Add-to-cart flow */
.flow { display: grid; gap: 10px; }
.flow__row {
  display: grid;
  grid-template-columns: auto 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.flow__btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--ink); color: var(--card); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.flow__row > svg { width: 22px; height: 22px; color: var(--muted); justify-self: center; }
.flow__dest { display: grid; gap: 1px; min-width: 0; }
.flow__dest b { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.flow__dest small { color: var(--muted); font-size: .8rem; line-height: 1.3; }

/* ---------- SEO night section ---------- */

.night-wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: clamp(80px, 10vw, 136px) auto 0;
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--r-xl) + 6px);
}
.night-wrap .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.night-wrap .tile { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.bento--seo .t-schema { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.bento--seo .t-bots { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.bento--seo .t-types { grid-column: 1 / span 5; }
.bento--seo .t-llms { grid-column: 6 / span 3; }
.bento--seo .t-ask { grid-column: 9 / span 4; }

.code {
  margin: 0;
  padding: 18px 0;
  border-radius: 16px;
  background: var(--sunken);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.85;
  overflow-x: auto;
  color: #c9ccd3;
}
.code .ln { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; padding-right: 10px; white-space: pre; }
.code .ln::before { content: attr(data-n); color: #575b64; text-align: right; padding-right: 14px; }
.code .ln.is-bad { background: rgba(255, 125, 125, .09); }
.code .ln.is-ok { background: rgba(69, 216, 145, .05); }
.code .ln .dot { width: 20px; height: 20px; justify-self: end; }
.code .k { color: #9ecbff; }
.code .s { color: #ffd479; }
.code .p { color: #7d828c; }
.schema-cap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.schema-cap div { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--card-2); }
.schema-cap b { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.schema-cap p { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.also p { margin-right: 4px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.also span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px; background: var(--card-2); font-size: .8rem; font-weight: 550; }

.bots { display: grid; gap: 6px; list-style: none; }
.bot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px 9px 14px;
  border-radius: 14px;
  background: var(--card-2);
}
.bot b { display: block; font-family: var(--mono); font-size: .84rem; font-weight: 500; }
.bot small { color: var(--muted); font-size: .78rem; }
.switch {
  position: relative;
  width: 46px; height: 28px;
  border: 0; border-radius: 999px;
  background: var(--bad-bg);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .2s var(--ease);
}
.switch::after {
  content: "";
  position: absolute; left: 3px; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bad);
  transition: transform .25s var(--ease), background-color .2s;
}
.switch[aria-checked="true"] { background: var(--ok-bg); }
.switch[aria-checked="true"]::after { transform: translateX(18px); background: var(--ok); }
.robots-out { height: 158px; padding: 14px 16px; overflow-y: auto; font-size: .8rem; line-height: 1.65; white-space: pre; color: #c9ccd3; }
.robots-verdict { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; }

.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 12px;
  background: var(--card-2); font-size: .9rem; font-weight: 550;
}
.types span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.types span.is-miss::before { background: var(--faint); }
.file-chip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card-2); }
.file-chip svg { width: 26px; height: 26px; color: var(--muted); flex: none; }
.file-chip b { display: block; font-family: var(--mono); font-size: .88rem; font-weight: 500; }
.file-chip small { color: var(--muted); font-size: .8rem; }
.assistants { display: flex; flex-wrap: wrap; gap: 8px; }
.assistants span {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: #fff;
}
.assistants img { width: 24px; height: 24px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; }
.step { gap: 18px; }
.step__n {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1;
}
.step__ui { margin-top: auto; padding: 14px; border-radius: 18px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.mini-input { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .88rem; color: var(--muted); }
.mini-input span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-input b { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 600; }
.mini-step { display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.mini-step .dot { width: 20px; height: 20px; }
.mini-step.is-wait { color: var(--muted); }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-actions span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .8rem; font-weight: 600; }
.mini-actions span:first-child { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.mini-actions svg { width: 14px; height: 14px; }

/* ---------- Video ---------- */

.video {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  border-radius: calc(var(--r-xl) + 6px);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.video__copy { display: grid; gap: 20px; justify-items: start; padding: clamp(4px, 1.5vw, 20px); }
.video__copy h2 { font-size: clamp(2.2rem, 3.3vw, 3rem); }
.video__copy p { color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.yt-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.yt-badge svg { width: 24px; height: 17px; }
.yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.yt:hover img { transform: scale(1.025); }
.yt__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  translate: -50% -50%;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease);
}
.yt__play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__len { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .78rem; font-weight: 600; }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; background: #000; }

/* ---------- Lessons ---------- */

.lessons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lesson-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lesson-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--float); }
.lesson-card__cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 5 / 4;
  margin: 8px 8px 0;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: .86;
}
.lesson-card__cover--accent { background: var(--accent); color: var(--accent-ink); }
.lesson-card__cover--ink { background: var(--ink); color: var(--bg); }
.lesson-card__cover--sand { background: #ece4d6; color: #2b2418; }
.lesson-card__cover--sky { background: #dce6f3; color: #14243a; }
.lesson-card__cover small {
  position: absolute; left: 18px; top: 16px;
  font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .02em; opacity: .7;
}
.lesson-card__body { display: grid; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.lesson-card__body h3 { font-size: 1.08rem; }
.lesson-card__body p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.lesson-card__body .link-arrow { margin-top: auto; padding-top: 6px; font-size: .9rem; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid__side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 22px; justify-items: start; }
.faq-grid__side h2 { max-width: 12ch; }
.faq-grid__side > p { color: var(--muted); font-size: 1.06rem; max-width: 36ch; }
.contact-card { display: grid; gap: 6px; width: 100%; max-width: 360px; padding: 20px; border-radius: var(--r-lg); }
.contact-card p { color: var(--muted); font-size: .92rem; }
.contact-card a { font-weight: 600; word-break: break-all; }

.qa-list { display: grid; gap: 10px; }
.qa {
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.qa[open] { box-shadow: inset 0 0 0 1px var(--line-2); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6069' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.qa__a { padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }
.qa__a p + p { margin-top: 10px; }
.qa__a a { color: var(--ink); }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: center;
  padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px);
  border-radius: calc(var(--r-xl) + 6px);
}
.cta h2 { font-size: clamp(3rem, 6.4vw, 5.8rem); max-width: 9ch; }
.cta__side { position: relative; z-index: 1; display: grid; gap: 16px; }
.cta__side p { font-size: 1.04rem; color: var(--muted); }
.cta__side .url-form { max-width: none; box-shadow: none; }
.cta__mark {
  position: absolute; right: -60px; bottom: -110px; z-index: 0;
  width: 360px; height: 360px; opacity: .1; filter: invert(1);
  pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer { padding: clamp(80px, 10vw, 136px) 0 var(--gutter); }
.footer {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: calc(var(--r-xl) + 6px);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.footer__brand p { color: var(--muted); max-width: 32ch; font-size: .95rem; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h2 { font-family: var(--font); font-size: .84rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--faint); margin-bottom: 4px; }
.footer__col a { color: var(--ink); text-decoration: none; font-size: .95rem; width: fit-content; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .86rem;
}

/* ---------- Tool pages ---------- */

.audit-launch { padding-top: 12px; }
.audit-launch__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 28px 56px;
  align-items: end;
}
.audit-launch__panel::before {
  content: "";
  position: absolute; z-index: -1;
  right: -200px; top: -260px;
  width: 640px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 59, .14), rgba(255, 212, 59, 0) 64%);
}
.audit-launch__head { display: grid; gap: 20px; justify-items: start; }
.audit-launch__head h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); max-width: 10ch; }
.audit-launch__head p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }
.audit-launch__side { display: grid; gap: 14px; }
.audit-launch__field { grid-column: 1 / -1; }
.audit-proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.audit-proof { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-lg); background: var(--card); }
.audit-proof__n { font-family: var(--display); font-size: 2.8rem; font-weight: 800; line-height: .85; }
.audit-proof__l { color: var(--muted); font-size: .88rem; }
.tool-checks { display: grid; gap: 6px; padding: 16px; border-radius: var(--r-lg); background: var(--card); list-style: none; }
.tool-checks li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }

.audit-form {
  display: grid;
  gap: 14px;
  padding: 10px;
  border-radius: 26px;
  background: var(--card);
}
.on-night .audit-form { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.audit-form .field { gap: 10px; }
.audit-form__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 10px 0; color: var(--muted); font-size: .88rem; }
.audit-form__fact { display: inline-flex; align-items: center; gap: 7px; }
.audit-form__fact::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.audit-form__row {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  color: #111215;
  transition: box-shadow .2s;
}
.audit-form__row:focus-within { box-shadow: 0 0 0 4px rgba(255, 212, 59, .45); }
.audit-form__row input {
  flex: 1; min-width: 0; min-height: 52px;
  padding: 0 18px;
  background: transparent; color: #111215; box-shadow: none;
  font-size: 1.06rem; border-radius: 999px;
}
.audit-form__row input::placeholder { color: #6f737b; }
.audit-form__row input:focus { box-shadow: none; }
.audit-form__row .btn { min-height: 52px; padding: 0 26px; }
.audit-form__hint, .field small { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.audit-form__hint { padding: 0 10px 6px; }
.field { display: grid; gap: 8px; }
.field > label { font-weight: 600; font-size: .92rem; }
.audit-form [data-audit-password-wrap], .audit-form [data-ready-password-wrap] { padding: 4px 10px; }

.audit-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  font-size: .95rem;
}
.audit-status--busy { color: var(--muted); }
.audit-status--busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.audit-status--err { background: var(--bad-bg); color: var(--bad); }
.audit-status__handle { font-weight: 600; }
.audit-status__var { color: var(--muted); }

.audit-recent { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 16px auto 0; }
.audit-recent__label { margin-bottom: 12px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.audit-recent__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.audit-recent__card { display: grid; gap: 4px; align-content: start; min-height: 108px; padding: 16px; border-radius: var(--r-lg); text-decoration: none; }
.audit-recent__card--slot { opacity: .55; }
.audit-recent.is-ready .audit-recent__card:not(.audit-recent__card--slot) { animation: rise .45s var(--ease) both; }
.audit-recent.is-ready .audit-recent__card:nth-child(2) { animation-delay: .04s; }
.audit-recent.is-ready .audit-recent__card:nth-child(3) { animation-delay: .08s; }
.audit-recent.is-ready .audit-recent__card:nth-child(4) { animation-delay: .12s; }
.audit-recent.is-ready .audit-recent__card:nth-child(5) { animation-delay: .16s; }
.audit-recent.is-ready .audit-recent__card:nth-child(6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.audit-recent__score { font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: .9; }
.audit-recent__of { color: var(--muted); font-family: var(--font); font-size: .82rem; font-weight: 500; margin-left: 2px; }
.audit-recent__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 600; }
.audit-recent__meta { color: var(--muted); font-size: .8rem; line-height: 1.35; }

.report-section { padding-top: 16px; }
.report-section:has(> .wrap > [hidden]:only-child) { display: none; }

/* CRO report */
.audit-doc { padding: clamp(20px, 3.5vw, 40px); border-radius: var(--r-xl); }
.audit-doc__head { display: grid; gap: 18px; }
.audit-doc__verdict { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.audit-doc__ladder { display: grid; gap: 6px; margin-bottom: 14px; }
.audit-doc__status { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 30px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--card-2); font-size: .88rem; font-weight: 600; }
.audit-doc__status svg { width: 16px; height: 16px; }
.audit-doc__because { color: var(--muted); }
.audit-doc__head h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 22ch; }
.audit-health { display: grid; gap: 8px; min-width: 190px; padding: 18px; border-radius: var(--r-lg); background: var(--card-2); }
.audit-health__n { font-family: var(--display); font-size: 4.4rem; font-weight: 800; line-height: .8; }
.audit-health__n small { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.audit-health__bar, .ready-tabs__bar { height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; }
.audit-health__bar span, .ready-tabs__bar span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.audit-health__label { color: var(--muted); font-size: .86rem; }
.audit-health__avg { width: fit-content; padding: 3px 9px; border-radius: 999px; background: var(--card); font-size: .78rem; font-weight: 600; color: var(--muted); }
.audit-health__avg--good, .audit-health__avg--up { background: var(--ok-bg); color: var(--ok); }
.audit-health__avg--bad, .audit-health__avg--down { background: var(--bad-bg); color: var(--bad); }
.audit-health--low .audit-health__bar span { background: var(--bad); }
.audit-health--mid .audit-health__bar span, .audit-health--fair .audit-health__bar span { background: var(--accent-deep); }
.audit-health--high .audit-health__bar span { background: var(--ok); }
.audit-health--low .audit-health__n { color: var(--bad); }
.audit-health--high .audit-health__n { color: var(--ok); }

.audit-product { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--card-2); }
.audit-product__img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.audit-product__title { font-weight: 600; }
.audit-product .muted { font-size: .9rem; word-break: break-all; }
.audit-shots-wrap { display: grid; gap: 10px; }
.audit-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.audit-shot img, .audit-shot canvas { width: 100%; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--card-2); }
.audit-shot figcaption { margin-top: 8px; color: var(--muted); font-size: .86rem; }
.audit-shots__chip { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .86rem; }
.audit-shots__chip svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.audit-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.audit-fact { padding: 12px 14px; border-radius: var(--r-md); background: var(--card-2); }
.audit-fact dt { color: var(--muted); font-size: .8rem; }
.audit-fact dd { margin-top: 2px; font-weight: 600; }
.audit-tally { color: var(--muted); font-size: .92rem; }
.audit-cvr { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--accent) 18%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-deep) 35%, transparent); }
.audit-cvr__eyebrow { font-weight: 600; }
.audit-cvr__sub, .audit-cvr__note, .audit-cvr__meta, .audit-cvr__label { color: var(--muted); font-size: .86rem; }
.audit-cvr__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.audit-cvr__col { display: grid; gap: 2px; }
.audit-cvr__n { font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: .9; }
.audit-cvr__arrow { color: var(--muted); font-size: 1.4rem; }
.audit-cvr__pitch { font-size: .98rem; }
.audit-share { display: flex; flex-wrap: wrap; gap: 8px; }
.audit-share svg { width: 16px; height: 16px; }
.audit-og img { width: 100%; max-width: 520px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.audit-note, .audit-method, .audit-foot { color: var(--muted); font-size: .9rem; }

.audit-doc__sheet { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.audit-doc__sheet > h3, .audit-doc__items-head h3 { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; line-height: .95; letter-spacing: -.01em; }
.audit-method--sheet { margin: 10px 0 18px; max-width: 72ch; }
.audit-sheet__stick-sent { height: 1px; }
.audit-sheet__cols { position: sticky; top: var(--nav-h); z-index: 3; background: var(--card); border-radius: 12px; }
.audit-sheet__cols.is-stuck { box-shadow: 0 10px 20px -18px rgba(0, 0, 0, .5); }
.audit-sheet__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.3fr) 120px minmax(0, 1.6fr) 150px;
  gap: 14px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: .92rem;
}
.audit-sheet__row--head { color: var(--muted); font-size: .8rem; font-weight: 600; background: var(--card-2); }
.audit-sheet__group + .audit-sheet__group { margin-top: 10px; }
.audit-sheet__kicker { margin: 18px 0 6px; padding: 0 14px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.audit-sheet__list { list-style: none; }
.audit-sheet__list .audit-sheet__row { border-top: 1px solid var(--line); border-radius: 0; }
.audit-sheet__list .audit-sheet__row:first-child { border-top: 0; }
.audit-sheet__id { color: var(--muted); font-family: var(--mono); font-size: .8rem; padding-top: 2px; }
.audit-sheet__label a { color: var(--ink); font-weight: 600; }
.audit-sheet__status { font-weight: 600; }
.audit-sheet__row[data-status="pass"] .audit-sheet__status { color: var(--ok); }
.audit-sheet__row[data-status="fail"] .audit-sheet__status { color: var(--bad); }
.audit-sheet__row[data-status="next"] .audit-sheet__status { color: var(--warn); }
.audit-sheet__row[data-status="fail"] { background: color-mix(in srgb, var(--bad-bg) 45%, transparent); }
.audit-sheet__pts { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.audit-sheet__note { color: var(--muted); }
.audit-sheet__ok { color: var(--ok); }
.audit-sheet__ok svg { width: 18px; height: 18px; }
.audit-app { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.audit-app img { width: 22px; height: 22px; border-radius: 6px; }
.audit-app a { color: var(--ink); font-weight: 600; }

.audit-doc__items { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.audit-doc__items-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: 18px; }
.audit-doc__items-head p { color: var(--muted); }
.audit-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--card-2);
}
.audit-item + .audit-item { margin-top: 10px; }
.audit-item__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); font-family: var(--display); font-size: 1.3rem; font-weight: 800; }
.audit-item[data-kind="constraint"] .audit-item__n { background: var(--bad-bg); color: var(--bad); }
.audit-item[data-kind="opportunity"] .audit-item__n { background: var(--warn-bg); color: var(--warn); }
.audit-item__body { display: grid; gap: 10px; }
.audit-item__body h3 { font-size: 1.25rem; }
.audit-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.audit-item__id { color: var(--muted); font-family: var(--mono); font-size: .8rem; margin-right: 4px; }
.audit-item .pill { background: var(--card); }
.audit-item .pill--accent { background: color-mix(in srgb, var(--accent) 40%, var(--card)); }
.audit-item .pill--warn { background: var(--bad-bg); color: var(--bad); }
.audit-item__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.audit-dl { padding: 14px; border-radius: var(--r-md); background: var(--card); }
.audit-dl dt, .audit-dl p { color: var(--muted); font-size: .8rem; font-weight: 600; margin-bottom: 4px; }
.audit-dl dd { font-size: .92rem; line-height: 1.5; }
.audit-item__fix { padding: 14px; border-radius: var(--r-md); background: color-mix(in srgb, var(--accent) 22%, var(--card)); }
.audit-item__fix strong { margin-right: 6px; }
.audit-item__theme, .audit-item__optional { color: var(--muted); font-size: .86rem; }
.audit-empty { padding: 20px; border-radius: var(--r-lg); background: var(--card-2); color: var(--muted); }
.audit-foot { margin-top: 28px; }
.audit-foot a { color: var(--ink); }

/* SEO report */
.ready-doc { padding: clamp(18px, 3vw, 36px); border-radius: var(--r-xl); }
.ready-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.ready-tabs__btn {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 8px;
  align-items: center;
  padding: 14px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--card-2);
  text-align: left;
  transition: box-shadow .15s, background-color .15s;
}
.ready-tabs__btn:hover { background: var(--sunken); }
.ready-tabs__btn.is-on { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.ready-tabs__label { font-weight: 600; font-size: .92rem; }
.ready-tabs__n { font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.ready-tabs__bar { grid-column: 1 / -1; height: 6px; }
.ready-tabs__btn--low .ready-tabs__bar span { background: var(--bad); }
.ready-tabs__btn--mid .ready-tabs__bar span, .ready-tabs__btn--fair .ready-tabs__bar span { background: var(--accent-deep); }
.ready-tabs__btn--high .ready-tabs__bar span { background: var(--ok); }
.ready-doc__snap { margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.ready-doc__snap.is-pulse { animation: pulse 1s var(--ease); }
@keyframes pulse { 50% { color: var(--ink); } }
.ready-doc__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; margin-bottom: 20px; }
.ready-doc__intro { display: grid; gap: 10px; }
.ready-doc__intro h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.ready-doc__product a { color: var(--muted); word-break: break-all; }
.ready-checks { display: grid; gap: 8px; list-style: none; }
.ready-check {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, .8fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--card-2);
}
.ready-check__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.ready-check__mark svg { width: 15px; height: 15px; }
.ready-check--ok .ready-check__mark { background: var(--ok-bg); color: var(--ok); }
.ready-check--fail .ready-check__mark { background: var(--bad-bg); color: var(--bad); }
.ready-check--skip .ready-check__mark { background: var(--card); color: var(--muted); }
.ready-check__label { font-weight: 600; }
.ready-check__detail { margin-top: 2px; color: var(--muted); font-size: .92rem; }
.ready-check__fix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--card); color: var(--muted); font-size: .86rem; text-decoration: none; }
.ready-check__fix img { width: 20px; height: 20px; border-radius: 5px; }
.ready-check__fix-kicker { font-weight: 600; color: var(--ink); }
.ready-check__fix-owner { color: var(--ink); font-weight: 600; }
a.ready-check__fix:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.ready-check--ok .ready-check__fix { display: none; }
.ready-ask { display: grid; gap: 14px; margin-top: 28px; padding: 22px; border-radius: var(--r-lg); background: var(--card-2); }
.ready-ask h3 { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.ready-ask__btn { background: var(--card); }
.ready-ask__logo { width: 20px; height: 20px; }
.ready-ask__prompt { min-height: 160px; font-family: var(--mono); font-size: .84rem; background: var(--card); }
.ready-doc__note { margin-top: 18px; font-size: .88rem; }
.ready-doc__empty { display: grid; gap: 8px; padding: 32px; border-radius: var(--r-lg); background: var(--card-2); }

/* Tool page sections */
.tool-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tool-faq h2 { max-width: 10ch; }
.optout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.optout__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: 16px; }
.optout__intro p { color: var(--muted); }
.optout .tile p { color: var(--muted); }
.optout code, .prose code { padding: 2px 6px; border-radius: 6px; background: var(--card-2); font-size: .86em; }
.audit-copy { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.audit-copy__code { min-height: 44px !important; padding: 11px 12px !important; background: transparent !important; box-shadow: none !important; resize: none; font-family: var(--mono); font-size: .84rem; white-space: nowrap; overflow: hidden; }
.audit-copy .btn { flex: none; background: var(--card); }

/* ---------- Content pages ---------- */

.page-hero { padding-top: 12px; }
.page-hero__panel {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px);
  border-radius: var(--r-xl);
  display: grid;
  gap: 20px;
  justify-items: start;
}
.page-hero__panel h1 { font-size: clamp(3rem, 6.6vw, 6rem); max-width: 14ch; }
.page-hero__panel > p { color: var(--muted); font-size: 1.12rem; max-width: 40rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; list-style: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 16px auto 0; }
.prose-card { padding: clamp(24px, 4.5vw, 56px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.prose { font-size: 1.08rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); max-width: 66ch; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--ink); font-weight: 550; }
.aside-card { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 14px; padding: 24px; border-radius: var(--r-xl); }
.aside-card h2 { font-size: 2.2rem; }
.aside-card p { color: var(--muted); font-size: .95rem; }
.aside-card .btn { width: 100%; }
.next-lessons { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 16px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card { display: grid; gap: 6px; padding: 24px; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.next-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--float); }
.next-card small { color: var(--muted); font-weight: 600; }
.next-card b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.next-card--next { text-align: right; justify-items: end; }

.lessons--page { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 16px auto 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lessons--page .lesson-card { flex-direction: row; }
.lessons--page .lesson-card__cover { aspect-ratio: auto; width: 42%; margin: 8px 0 8px 8px; min-height: 240px; }
.lessons--page .lesson-card__body { padding: 26px; align-content: start; }
.lessons--page .lesson-card__body h3 { font-size: 1.3rem; }

.legal { width: min(900px, 100% - 2 * var(--gutter)); margin: 16px auto 0; }

/* ---------- Tools hub ---------- */

.hub-form { flex-wrap: wrap; }
.hub-form select {
  flex: none;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: var(--sunken);
  color: inherit;
  font: inherit;
  font-weight: 600;
}
.bento--tools .t-cro { grid-column: 1 / span 7; }
.bento--tools .t-seo { grid-column: 8 / span 5; }
.bento--tools .t-theme { grid-column: 1 / span 4; }
.bento--tools .t-apps { grid-column: 5 / span 4; }
.bento--tools .t-board { grid-column: 9 / span 4; }
.bento--tools .t-roi { grid-column: 1 / span 6; }
.bento--tools .t-profit { grid-column: 7 / span 6; }
.tool-link { text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tool-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--float); }
.tool-link .link-arrow { margin-top: auto; }

.look-card { display: grid; gap: 16px; }
.look-card__hero {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  display: grid;
  gap: 14px;
  justify-items: start;
}
.look-card__hero h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.look-card__hero p { color: var(--muted); max-width: 46ch; }
.look-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  list-style: none;
}
.look-facts li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.look-facts span { color: var(--muted); font-size: .86rem; }
.look-facts b { font-weight: 650; }
.look-next { color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.app-tile {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.app-tile p, .app-tile a { color: var(--muted); font-size: .92rem; }
.app-tile a { color: var(--ink); font-weight: 600; }
.look-empty, .board-empty {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
}

.board-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.board-bar label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.board-bar select, .board-bar input {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 0;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  font: inherit;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease);
}
.product-card:hover { transform: translateY(-3px); }
.product-card__media {
  aspect-ratio: 1;
  background: var(--sunken);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__ph { display: block; width: 100%; height: 100%; background: var(--sunken); }
.product-card__body { display: grid; gap: 6px; padding: 16px; }
.product-card__cat { color: var(--muted); font-size: .8rem; font-weight: 600; }
.product-card__body h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__price { font-weight: 700; }
.product-card__price small { display: block; color: var(--muted); font-weight: 500; }

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: 16px auto 0;
}
.calc-fields, .calc-out {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.calc-fields label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.calc-fields input, .calc-fields select {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  font: inherit;
}
.calc-out { align-content: start; }
.calc-out[data-tone="ok"] { box-shadow: inset 0 0 0 2px var(--ok); }
.calc-out[data-tone="warn"] { box-shadow: inset 0 0 0 2px var(--warn); }
.calc-out[data-tone="bad"] { box-shadow: inset 0 0 0 2px var(--bad); }
.calc-metric { display: grid; gap: 4px; }
.calc-metric span { color: var(--muted); font-size: .88rem; }
.calc-metric b { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: .9; }
.calc-note { color: var(--muted); font-size: .92rem; max-width: 42ch; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.lost { display: grid; place-items: center; text-align: center; min-height: calc(100svh - 300px); }
.lost .page-hero__panel { justify-items: center; text-align: center; }
.lost__n { font-family: var(--display); font-size: clamp(7rem, 22vw, 16rem); font-weight: 800; line-height: .76; color: var(--accent); }
.lost__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Motion ---------- */

.js [data-reveal] { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { will-change: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .hero__panel { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 24px; }
  .hero__viz { height: 520px; max-width: 580px; width: 100%; justify-self: center; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--cro .t-pdp { grid-column: 1 / -1; }
  .bento--cro .t-cart { grid-column: 1 / span 7; grid-row: span 2; }
  .bento--cro .t-27 { grid-column: 8 / span 5; }
  .bento--cro .t-after { grid-column: 8 / span 5; }
  .bento--cro .t-fight { grid-column: 1 / -1; }
  .bento--cro .t-add { grid-template-columns: 1fr; }
  .bento--seo .t-schema { grid-column: 1 / -1; grid-row: auto; }
  .bento--seo .t-bots { grid-column: 1 / span 7; grid-row: span 2; }
  .bento--seo .t-types { grid-column: 8 / span 5; }
  .bento--seo .t-llms { grid-column: 8 / span 5; }
  .bento--seo .t-ask { grid-column: 1 / -1; }
  .lessons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .bento--tools .t-cro, .bento--tools .t-seo { grid-column: 1 / -1; }
  .bento--tools .t-theme, .bento--tools .t-apps { grid-column: span 6; }
  .bento--tools .t-board { grid-column: 1 / -1; }
  .calc-grid, .board-bar { grid-template-columns: 1fr 1fr; }
  .audit-recent__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
}

@media (max-width: 1180px) {
  .header-search { display: none; }
  .site-header__tools { margin-left: auto; }
}
@media (min-width: 1181px) {
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .steps { grid-template-columns: 1fr; }
  .video { grid-template-columns: minmax(0, 1fr); }
  .faq-grid, .tool-faq { grid-template-columns: minmax(0, 1fr); }
  .faq-grid__side { position: static; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .dropdown { grid-template-columns: 1fr; width: min(360px, calc(100vw - 32px)); }
  .calc-grid { grid-template-columns: 1fr; }
  .audit-launch__panel { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .audit-item__grid { grid-template-columns: 1fr; }
  .ready-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ready-check { grid-template-columns: 28px minmax(0, 1fr); }
  .ready-check__fix { grid-column: 2; }
  .optout, .optout__intro { grid-template-columns: 1fr; }
  .lessons--page { grid-template-columns: 1fr; }

  .audit-sheet__cols { display: none; }
  .audit-sheet__list .audit-sheet__row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 12px;
  }
  .audit-sheet__list .audit-sheet__row > :nth-child(n+3) { grid-column: 2; }
  .audit-sheet__status::before, .audit-sheet__note::before, .audit-sheet__fix::before {
    content: attr(data-label) " ";
    color: var(--muted);
    font-weight: 500;
    font-size: .78rem;
  }
}

@media (max-width: 760px) {
  .hero__viz { height: auto; display: grid; justify-items: center; padding: 34px 0 6px; }
  .hero__orbit { width: 440px; }
  .report { position: relative; left: auto; top: auto; translate: none; width: min(360px, 100%); }
  .float--bots { right: auto; }
  .float--export { display: none; }
  .float--bots { position: relative; left: auto; bottom: auto; width: 210px; margin-top: -30px; translate: 24% 0; }
  .sticker { left: 0; top: 4px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 84px; }
  .site-header { padding-top: 8px; }
  .site-header__bar { height: 60px; border-radius: 18px; }
  .brand__name { font-size: .98rem; }
  .hero__panel { padding: 32px 20px 20px; border-radius: 24px; }
  .hero h1 { font-size: clamp(2.8rem, 13.5vw, 4.4rem); }
  .hero__news span.long { display: none; }
  .url-form { flex-wrap: wrap; border-radius: 22px; padding: 6px; }
  .url-form > svg { display: none; }
  .url-form input { flex-basis: 100%; padding: 0 12px; }
  .url-form .btn { width: 100%; }
  .hero__orbit { width: 340px; }
  .report { padding: 14px; }
  .report__rows li:nth-child(4) { display: none; }
  .float--bots { width: 196px; translate: 18% 0; }
  .sticker { width: 80px; height: 80px; font-size: 1.55rem; left: -4px; top: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 18px 20px; }
  .bento { gap: 12px; }
  .bento > .tile { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .tile { border-radius: 24px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { grid-template-columns: 1fr; }
  .pdp .note { position: static; justify-self: start; box-shadow: inset 0 0 0 1px var(--line); }
  .pdp__notes { display: grid; gap: 6px; }
  .flow__row { grid-template-columns: auto minmax(0, 1fr); }
  .flow__row > svg { display: none; }
  .flow__row .pill { grid-column: 2; justify-self: start; }
  .schema-cap { grid-template-columns: 1fr; }
  .night-wrap { padding: 20px 14px 14px; border-radius: 26px; }
  .night-wrap .section-head { padding: 8px 6px 0; }
  .code { font-size: .74rem; }
  .lessons { grid-template-columns: 1fr; }
  .lesson-card__cover { aspect-ratio: 16 / 9; }
  .lessons--page .lesson-card { flex-direction: column; }
  .lessons--page .lesson-card__cover { width: auto; min-height: 0; aspect-ratio: 16 / 9; margin: 8px 8px 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta__mark { width: 240px; height: 240px; right: -50px; bottom: -70px; }
  .audit-launch__panel { padding: 32px 18px 18px; border-radius: 24px; }
  .audit-form__row { flex-wrap: wrap; border-radius: 20px; }
  .audit-form__row input { flex-basis: 100%; }
  .audit-form__row .btn { width: 100%; }
  .audit-proofs { grid-template-columns: 1fr 1fr; }
  .audit-recent__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-doc__verdict, .ready-doc__head { grid-template-columns: 1fr; }
  .audit-health { min-width: 0; }
  .audit-item { grid-template-columns: 1fr; padding: 18px; }
  .ready-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-lessons { grid-template-columns: 1fr; }
  .next-card--next { text-align: left; justify-items: start; }
  .audit-copy { flex-wrap: wrap; }
  .audit-copy .btn { width: 100%; }
}
