/* ==========================================================================
   Real City Marketing — prototype design system
   Signal yellow + ink on warm paper. One accent, used sparingly.
   ========================================================================== */

:root {
  --paper: #fafaf7;
  --white: #ffffff;
  --ink: #0d0e11;
  --ink-2: #2b2e35;
  --muted: #6a6e78;
  --faint: #9a9da5;
  --line: #e8e7e0;
  --line-2: #d9d8cf;
  --sig: #ffd400;
  --sig-deep: #f2c200;
  --sig-soft: #fff5bf;
  --ok: #0c9f62;
  --ok-soft: #e2f6ec;
  --bad: #de3b40;
  --bad-soft: #fdeceb;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(13, 14, 17, 0.06);
  --shadow: 0 1px 2px rgba(13, 14, 17, 0.04), 0 10px 30px -12px rgba(13, 14, 17, 0.14);
  --shadow-lg: 0 2px 6px rgba(13, 14, 17, 0.04), 0 30px 70px -24px rgba(13, 14, 17, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: 20px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sig); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.0; letter-spacing: -0.042em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mark {
  background: linear-gradient(transparent 58%, var(--sig) 58%, var(--sig) 92%, transparent 92%);
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--sig);
  box-shadow: 0 0 0 3px var(--sig-soft);
}

.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 560; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.2s, box-shadow 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .arr {
  width: 30px; height: 30px; border-radius: 50%; margin-right: -12px;
  display: grid; place-items: center; transition: transform 0.4s var(--spring);
}
.btn:hover .arr { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(13, 14, 17, 0.6); }
.btn-ink .arr { background: var(--sig); color: var(--ink); }
.btn-ink:hover { background: #22242a; }
.btn-sig { background: var(--sig); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(242, 194, 0, 0.9); }
.btn-sig .arr { background: var(--ink); color: var(--sig); }
.btn-sig:hover { background: #ffdc2e; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-name { font-weight: 650; font-size: 19px; letter-spacing: -0.035em; }
.brand-name span { font-weight: 450; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(13, 14, 17, 0.05); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px; background: transparent; white-space: nowrap;
}
.lang b { color: var(--ink); font-weight: 500; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.6px; background: var(--ink); position: relative; transition: transform 0.3s var(--ease);
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

/* Landing-page header: logo + one CTA, nothing to leak clicks */
.lp-header .nav { height: 64px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; isolation: isolate; }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 25%, transparent 78%);
}
.grid-bg .cell {
  position: absolute; width: 55px; height: 55px; background: var(--white);
  border: 1px solid var(--line-2); display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  animation: cellPulse 6s var(--ease) infinite;
}
.grid-bg .cell.hot { background: var(--sig-soft); border-color: var(--sig); color: var(--ink); }
@keyframes cellPulse { 0%, 100% { opacity: 0.35; } 45%, 60% { opacity: 1; } }

.hero-center { text-align: center; max-width: 980px; margin: 0 auto; }
.hero-center .lead { max-width: 640px; margin: 24px auto 0; }
.hero-center .hero-cta { justify-content: center; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-center .hero-note { justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--ok); }

.hero-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-split h1 { font-size: clamp(2.5rem, 4.7vw, 4.1rem); text-wrap: balance; }
.hero-split .lead { margin-top: 22px; max-width: 540px; }

.pill-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.pill-tag b {
  background: var(--ink); color: var(--sig); font-weight: 560; font-size: 12px;
  padding: 3px 9px; border-radius: 999px; font-family: var(--mono); letter-spacing: 0.02em;
}

/* rotating AI engine (logo + name) in headline: its own line, so other words never reflow */
.rotator { display: grid; justify-items: start; margin: 0.06em 0 0.08em; }
.hero-center .rotator { justify-items: center; }
.rotator > .rot-item {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.2em; white-space: nowrap;
  opacity: 0; transform: translateY(0.35em); filter: blur(6px);
  transition: opacity 0.55s var(--ease), transform 0.65s var(--ease), filter 0.55s var(--ease);
}
.rotator > .rot-item.is-on { opacity: 1; transform: none; filter: none; }
.rot-logo {
  width: 0.66em; height: 0.66em; padding: 0.13em; box-sizing: content-box; flex: none;
  background: #fff; border: 1px solid var(--line); border-radius: 0.24em;
  box-shadow: 0 1px 2px rgba(13, 14, 17, 0.06), 0 8px 18px -8px rgba(13, 14, 17, 0.28);
}
.serif .rot-logo, .rot-item.serif .rot-logo { margin-right: 0.08em; transform: translateY(0.04em); }
.rotator-sans .rot-item { letter-spacing: -0.045em; }

/* ---------- URL capture ---------- */
.capture {
  display: flex; align-items: center; gap: 8px; padding: 7px; margin-top: 32px; max-width: 560px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.3s;
}
.capture:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--sig-soft), var(--shadow); }
.capture .ico { padding-left: 14px; color: var(--faint); flex: none; }
.capture input {
  flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink);
}
.capture input::placeholder { color: var(--faint); }
.capture .btn { --h: 50px; }
.hero-center .capture { margin-left: auto; margin-right: auto; }

/* ---------- AI answer demo (hero component) ---------- */
.ai-demo {
  position: relative; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; text-align: left;
}
.ai-demo::before { /* soft signal glow */
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 212, 0, 0.35), transparent); filter: blur(10px);
}
.ai-chrome { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ai-dots { display: flex; gap: 6px; flex: none; }
.ai-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.ai-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ai-tabs::-webkit-scrollbar { display: none; }
.ai-tab {
  border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: var(--muted); transition: background 0.25s, color 0.25s;
}
.ai-tab { display: inline-flex; align-items: center; gap: 6px; }
.ai-tab img { width: 14px; height: 14px; }
.ai-tab.is-active { background: var(--ink); color: #fff; }
.ai-tab.is-active img { filter: brightness(0) invert(1); }
.ai-screen { padding: 22px 22px 8px; min-height: 356px; }
.ai-q {
  margin-left: auto; width: fit-content; max-width: 88%; background: #f1f0ea; color: var(--ink);
  padding: 11px 16px; border-radius: 18px 18px 4px 18px; font-size: 15px; min-height: 45px;
}
.caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-a { margin-top: 18px; }
.ai-a-head { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); min-height: 28px; }
.ai-spark {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--ink); color: var(--sig);
}
.ai-spark.thinking svg { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ai-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  animation: rowIn 0.6s var(--ease) both;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.ai-row .rank {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; background: #f1f0ea; color: var(--muted);
}
.ai-row .row-main { flex: 1; min-width: 0; display: grid; gap: 5px; }
.ai-row .row-main b { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-row .row-sub { font-size: 12.5px; color: var(--muted); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.redact { display: block; height: 11px; border-radius: 4px; background: linear-gradient(90deg, #e9e8e1, #f2f1eb); }
.ai-row.is-you { border-color: var(--sig); background: linear-gradient(180deg, #fffbe3, #fff); box-shadow: 0 0 0 4px var(--sig-soft); }
.ai-row.is-you .rank { background: var(--sig); color: var(--ink); }
.badge {
  flex: none; font-size: 11.5px; font-weight: 560; padding: 4px 9px; border-radius: 999px; font-family: var(--mono);
  letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 5px;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.ai-status {
  margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
  min-height: 34px; padding: 7px 12px; border-radius: 10px; opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.ai-status.show { opacity: 1; transform: none; }
.ai-status.bad { background: var(--bad-soft); color: var(--bad); }
.ai-status.ok { background: var(--ok-soft); color: var(--ok); }
.ai-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--line); background: #fcfcfa;
}
.phase { display: flex; background: #efeee8; border-radius: 999px; padding: 3px; font-size: 12.5px; font-weight: 500; }
.phase span { padding: 5px 11px; border-radius: 999px; color: var(--muted); transition: background 0.3s, color 0.3s; white-space: nowrap; }
.phase span.is-on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.ai-meter { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ai-meter .bar { width: 84px; height: 6px; border-radius: 99px; background: #e9e8e1; overflow: hidden; }
.ai-meter .bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width 1.1s var(--ease); }
.ai-meter b { color: var(--ink); font-family: var(--mono); font-weight: 500; min-width: 3ch; text-align: right; }

.hero-demo-wide { max-width: 760px; margin: 64px auto 0; }

/* ---------- Engine strip ---------- */
.engines { padding: 34px 0 10px; }
.engines-label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.engine {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-weight: 560; color: var(--ink); font-size: 15px; white-space: nowrap;
}
.engine img { width: 22px; height: 22px; }
.engine { padding-left: 14px; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--sig);
}
.icon-soft { background: var(--sig-soft); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: #f3f2ec; color: var(--ink-2);
  font-family: var(--mono); letter-spacing: -0.01em;
}

/* stats */
.stat { padding: 30px; }
.stat-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.stat-num small { font-size: 0.5em; letter-spacing: -0.02em; }
.stat p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.stat cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba .card { padding: 0; overflow: hidden; }
.ba-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ba-head h3 { font-size: 17px; margin: 0; }
.ba-body { padding: 22px; }
.ba-body .ai-q { margin: 0 0 16px auto; }
.ba-body .ai-row { animation: none; }
.ba-body ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ba-body li { display: flex; gap: 10px; font-size: 15px; }
.ba-body li svg { flex: none; margin-top: 4px; }
.ba .is-before li svg { color: var(--bad); }
.ba .is-after li svg { color: var(--ok); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px; }
.step-num {
  font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: space-between;
}
.step-num b { font-weight: 500; color: var(--ink); background: var(--sig); padding: 3px 9px; border-radius: 999px; }
.step h3 { margin-top: 26px; font-size: 1.4rem; }
.step p { margin-top: 10px; color: var(--muted); }
.step ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line-2); list-style: none; display: grid; gap: 8px; font-size: 15px; }
.step li { display: flex; gap: 10px; }
.step li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 2px; background: var(--ink); flex: none; }

/* dark band */
.dark { background: var(--ink); color: #c9cbd1; }
.dark h2, .dark h3, .dark .stat-num { color: #fff; }
.dark .eyebrow { color: #9a9da5; }
.dark .eyebrow::before { box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.18); }
.dark .card { background: #16171c; border-color: #26272e; box-shadow: none; }
.dark .card p { color: #a3a6ae; }
.dark .mark { color: var(--ink); }
.dark .muted { color: #9a9da5; }
.dark .step ul { border-top-color: #2a2b31; color: #c9cbd1; }
.dark .step li::before { background: var(--sig); }
.dark .grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(#1e1f25 1px, transparent 1px), linear-gradient(90deg, #1e1f25 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%);
}

/* offer card (landing) */
.offer { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #16171c; border: 1px solid #26272e; }
.offer-list { padding: 40px; }
.offer-list h3 { color: #fff; font-size: 1.5rem; }
.offer-items { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.offer-items li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; color: #d4d6db; }
.offer-items li svg { color: var(--sig); margin-top: 3px; }
.offer-items li em { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: #7f828b; white-space: nowrap; margin-top: 3px; }
.offer-items li strong { color: #fff; font-weight: 560; display: block; }
.offer-items li span { font-size: 15px; color: #9ea1a9; }
.offer-price { padding: 40px; background: #1d1e24; border-left: 1px solid #26272e; display: flex; flex-direction: column; justify-content: center; }
.price-was { font-family: var(--mono); font-size: 14px; color: #7f828b; }
.price-was s { color: #9ea1a9; }
.price-big { display: flex; align-items: flex-start; gap: 4px; color: #fff; margin-top: 8px; }
.price-big .cur { font-size: 28px; font-weight: 500; margin-top: 12px; }
.price-big .amt { font-size: 88px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.price-big .per { font-size: 16px; color: #9ea1a9; align-self: flex-end; margin-bottom: 14px; margin-left: 6px; }
.offer-price .fine { font-size: 14px; color: #9ea1a9; margin-top: 12px; }
.offer-price .btn { margin-top: 28px; }
.guarantee {
  margin-top: 22px; display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 212, 0, 0.07);
  border: 1px solid rgba(255, 212, 0, 0.22); font-size: 14px; color: #d4d6db;
}
.guarantee svg { color: var(--sig); flex: none; }
.guarantee b { color: #fff; font-weight: 560; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; position: relative; }
.plan-name { font-weight: 600; color: var(--ink); font-size: 18px; display: flex; align-items: center; justify-content: space-between; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; color: var(--ink); }
.plan-price .amt { font-size: 54px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan-sub { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-top: 8px; }
.plan .btn { margin-top: 26px; }
.plan ul { list-style: none; padding: 24px 0 0; margin: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; margin-top: 4px; color: var(--ok); }
.plan li.head { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.plan-featured { background: var(--ink); border-color: var(--ink); color: #c9cbd1; box-shadow: var(--shadow-lg); }
.plan-featured .plan-name, .plan-featured .plan-price { color: #fff; }
.plan-featured .plan-desc, .plan-featured .plan-price .per { color: #a3a6ae; }
.plan-featured ul { border-top-color: #2a2b31; }
.plan-featured li svg { color: var(--sig); }
.plan-featured .plan-sub { color: #7f828b; }
.plan-featured li.head { color: #7f828b; }
.popular { font-family: var(--mono); font-size: 11.5px; font-weight: 500; background: var(--sig); color: var(--ink); padding: 4px 10px; border-radius: 999px; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 600; color: var(--ink); background: #fbfbf8; position: sticky; top: 0; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare td { color: var(--ink-2); }
.compare .grp th { background: #f6f5f0; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare .yes { color: var(--ok); font-weight: 600; }
.compare .no { color: var(--faint); }
.compare .hl { background: #fffcea; }

/* testimonials */
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.quote-by { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sig-soft); color: var(--ink); font-weight: 600; font-size: 14px; flex: none; }
.quote-by b { display: block; color: var(--ink); font-weight: 560; }
.quote-by span { color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--sig-deep); }
.result-line { display: flex; gap: 10px; align-items: baseline; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.result-line strong { white-space: nowrap; font-size: 28px; letter-spacing: -0.04em; color: var(--ink); font-weight: 600; }
.result-line span { font-size: 14px; color: var(--muted); }

/* industries */
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: 15px; color: var(--ink); transition: border-color 0.2s, transform 0.4s var(--spring);
}
.tag:hover { border-color: var(--ink); transform: translateY(-2px); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 560; color: var(--ink); font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 26px; height: 26px; border-radius: 50%; background: #f1f0ea; flex: none; position: relative; transition: transform 0.4s var(--ease), background 0.2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--sig); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); max-width: 700px; }
.faq .answer p + p { margin-top: 10px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; background: var(--ink); padding: 80px 40px; text-align: center; isolation: isolate; }
.cta-band h2 { color: #fff; max-width: 780px; margin: 16px auto 0; }
.cta-band p { color: #a3a6ae; max-width: 560px; margin: 18px auto 0; }
.cta-band .capture { margin: 34px auto 0; background: #fff; }
.cta-band .glow { position: absolute; z-index: -1; width: 620px; height: 620px; left: 50%; top: -360px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 212, 0, 0.32), transparent); }
.cta-band .grid-lines { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%); }
.cta-band .hero-note { justify-content: center; color: #9a9da5; }
.cta-band .hero-note svg { color: var(--sig); }

/* media-company proof */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.numbers > div { background: var(--white); padding: 28px; }
.numbers b { display: block; font-size: 40px; letter-spacing: -0.045em; color: var(--ink); font-weight: 600; line-height: 1.05; }
.numbers > div > span { font-size: 14px; color: var(--muted); display: block; margin-top: 6px; line-height: 1.45; }

/* signal-flow diagram (services) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; }
.flow-col { display: grid; gap: 10px; }
.flow-node { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.flow-node small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.flow-engine { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px 22px; text-align: center; }
.flow-engine .ai-spark { margin: 0 auto 12px; width: 44px; height: 44px; background: var(--sig); color: var(--ink); }
.flow-engine b { display: block; font-size: 17px; }
.flow-engine span { font-size: 13px; color: #a3a6ae; }
.flow-arrow { color: var(--faint); display: grid; place-items: center; }
.flow-arrow .dash { width: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); animation: dash 1s linear infinite; background-size: 22px 2px; }
@keyframes dash { to { background-position: 22px 0; } }

/* service detail rows */
.svc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.svc h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; margin-top: 10px; }
.svc p { margin-top: 14px; color: var(--muted); }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-list li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--ink); display: flex; gap: 10px; }
.svc-list li svg { flex: none; color: var(--ok); margin-top: 4px; }

/* ---------- Forms (audit) ---------- */
.funnel { min-height: calc(100vh - 64px); padding: 56px 0 90px; position: relative; isolation: isolate; }
.funnel-card { max-width: 620px; margin: 0 auto; padding: 38px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.progress { display: flex; gap: 6px; margin-bottom: 28px; }
.progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.progress i.done::after { transform: scaleX(1); }
.step-label { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.funnel-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.035em; margin-top: 10px; line-height: 1.08; }
.funnel-card > p, .funnel-step > p { margin-top: 12px; color: var(--muted); }
.fields { display: grid; gap: 16px; margin-top: 28px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label small { color: var(--faint); font-weight: 400; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white);
  font-size: 16px; color: var(--ink); outline: 0; transition: border-color 0.2s, box-shadow 0.25s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236a6e78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--sig-soft); }
.field input.invalid { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form-foot { margin-top: 14px; font-size: 13px; color: var(--faint); text-align: center; display: flex; justify-content: center; gap: 6px; align-items: center; }

.funnel-step[hidden] { display: none; }
.funnel-step { animation: stepIn 0.6s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.scan-domain { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: #f3f2ec; font-family: var(--mono); font-size: 14px; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; }
.scan-list li { display: flex; align-items: center; gap: 12px; padding: 12px 2px; color: var(--faint); border-bottom: 1px solid var(--line); transition: color 0.3s; }
.scan-list li:last-child { border-bottom: 0; }
.scan-text { display: grid; gap: 2px; min-width: 0; }
.scan-text b { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; font-size: 15.5px; color: inherit; }
.scan-text b img { width: 16px; height: 16px; }
.scan-note { font-size: 13.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-list li .st { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.6px solid var(--line-2); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.scan-list li .st svg { opacity: 0; width: 12px; height: 12px; }
.scan-list li.active { color: var(--ink); }
.scan-list li.active .st { border-color: var(--ink); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.scan-list li.done { color: var(--ink); }
.scan-list li.done .st { background: var(--ok); border-color: var(--ok); animation: popIn 0.45s var(--spring); }
.scan-list li.done .st svg { opacity: 1; }
.scan-list li.done .scan-note { color: var(--ok); }
.scan-list li.bad { color: var(--ink); }
.scan-list li.bad .st { background: var(--bad); border-color: var(--bad); animation: popIn 0.45s var(--spring); }
.scan-list li.bad .st::before { content: "✕"; font-size: 11px; }
.scan-list li.bad .scan-note { color: var(--bad); }
.scan-list li.skip .st { border-style: dashed; }
@keyframes popIn { from { transform: scale(0.4); } to { transform: scale(1); } }
.scan-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 22px; }
.scan-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ink), #3a3c44); border-radius: inherit; transition: width 0.6s var(--ease); }

.report-peek { margin-top: 24px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fcfcfa; position: relative; overflow: hidden; }
.report-peek .rp-row { display: grid; grid-template-columns: 26px 1fr 60px; gap: 12px; align-items: center; padding: 8px 0; font-size: 15px; color: var(--ink); }
.report-peek .rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: #efeee8; color: var(--muted); }
.rp-blur { filter: blur(6px); user-select: none; font-weight: 560; overflow: hidden; white-space: nowrap; }
.report-peek .rp-bar { height: 8px; border-radius: 99px; background: #eceae3; overflow: hidden; }
.report-peek .rp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); filter: blur(3px); opacity: 0.55; }
.report-peek .rp-val { height: 12px; border-radius: 4px; background: #e2e0d8; filter: blur(2px); }
.report-peek .lock { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(252, 252, 250, 0.1), rgba(252, 252, 250, 0.85)); }
.report-peek .lock span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow); }

/* thank you */
.ty-check { width: 72px; height: 72px; border-radius: 50%; background: var(--sig); display: grid; place-items: center; margin: 0 auto; color: var(--ink); animation: popIn 0.7s var(--spring); box-shadow: 0 0 0 10px var(--sig-soft); }
.timeline { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; text-align: left; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f1f0ea; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.timeline li:first-child .dot { background: var(--ink); color: var(--sig); }
.timeline b { color: var(--ink); font-weight: 560; display: block; }
.timeline span { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font-size: 13px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-about p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }
.foot-bottom a:hover { color: var(--ink); }
.lp-footer { padding: 36px 0 110px; margin-top: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(13, 14, 17, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-items: center; justify-content: space-between; gap: 12px; color: #fff; box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform 0.55s var(--ease);
  padding-bottom: calc(10px + env(safe-area-inset-bottom) * 0.3);
}
.sticky-cta.show { transform: none; }
.sticky-cta small { display: block; font-size: 12px; color: #9a9da5; line-height: 1.2; }
.sticky-cta b { font-size: 15px; font-weight: 560; line-height: 1.2; }
.sticky-cta .btn { --h: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* grid children may shrink below their content's min width (prevents mobile overflow) */
.hero-split > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .ba > *, .steps > *,
.pricing > *, .offer > *, .svc > *, .flow > *, .foot-grid > *, .fields-2 > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-actions .lang { display: none; }
  .nav-links a { padding: 8px 10px; }
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; }
  .offer-price { border-left: 0; border-top: 1px solid #26272e; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .svc { grid-template-columns: 1fr; gap: 24px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); height: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .lang, .nav-actions .btn-desktop { display: none; }
  .menu-btn { display: grid; }
  .nav-open .nav-links {
    display: grid; position: absolute; top: 72px; left: 0; right: 0; padding: 12px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); gap: 2px;
  }
  .nav-open .nav-links a { padding: 14px 12px; font-size: 17px; }
  .grid-3, .steps, .ba, .grid-2 { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .hero { padding: 44px 0 24px; }
  .grid-4 { grid-template-columns: 1fr; }
  .capture { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .capture .ico { display: none; }
  .capture input { padding: 0 12px; }
  .capture .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .ai-screen { padding: 18px 14px 6px; min-height: 372px; }
  .ai-q { font-size: 14px; }
  .ai-foot { flex-wrap: wrap; }
  .ai-meter .bar { width: 60px; }
  .offer-list, .offer-price { padding: 28px 22px; }
  .offer-items li { grid-template-columns: 22px 1fr; }
  .offer-items li em { grid-column: 2; margin-top: -8px; }
  .price-big .amt { font-size: 72px; }
  .cta-band { padding: 60px 20px; border-radius: 28px; }
  .funnel { padding: 28px 0 70px; }
  .funnel-card { padding: 26px 20px; border-radius: 24px; }
  .fields-2 { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .grid-bg .cell { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}


/* ==========================================================================
   AI Visibility Report
   ========================================================================== */
.hero-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.hero-center .hero-logos { justify-content: center; }
.hero-logos img { width: 20px; height: 20px; }
.hero-logos .logo-set { display: inline-flex; gap: 10px; align-items: center; }
.demo-caption { margin-top: 12px; font-size: 12.5px; color: var(--faint); text-align: center; }

.score-ring { position: relative; width: var(--size, 132px); height: var(--size, 132px); flex: none; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.score-ring .track { stroke: #eceae3; }
.score-ring .val { transition: stroke-dashoffset 1.4s var(--ease); }
.score-ring .val.go { stroke-dashoffset: var(--off) !important; }
.score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-num b { font-size: calc(var(--size, 132px) * 0.32); font-weight: 650; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.score-num span { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 4px; }
.grade { font-family: var(--mono); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

.teaser-top { display: flex; align-items: center; gap: 24px; }
.funnel-card h1.teaser-h { font-size: clamp(1.45rem, 3.2vw, 1.9rem); margin-top: 8px; line-height: 1.15; }
.teaser-sub { margin-top: 18px; color: var(--muted); }
.eng-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.eng-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink); }
.eng-chip img { width: 16px; height: 16px; }
.eng-chip em { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-family: var(--mono); }
.eng-chip.hit em { background: var(--ok-soft); color: var(--ok); }
.eng-chip.miss em { background: var(--bad-soft); color: var(--bad); }
.eng-chip.muted-chip { color: var(--faint); }
.eng-chip.muted-chip em { width: auto; padding: 0 4px; }

.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-size: 14.5px; }
.form-error a { color: var(--ink); text-decoration: underline; }
.btn[disabled] { opacity: 0.75; cursor: progress; }
.btn-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
.btn-ghost-dark { background: transparent; color: #fff; border: 1px solid #3a3b42; }
.btn-ghost-dark:hover { border-color: #fff; }
.cta-said { display: flex; align-items: center; min-height: var(--h, 52px); color: #fff; font-size: 15.5px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.report-wrap { padding: 40px 0 90px; }
.report { display: grid; gap: 22px; max-width: 980px; }
.report-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center; padding: 34px; border-radius: var(--r-lg); }
.report-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 10px; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.report-head .muted { margin-top: 8px; font-size: 15px; }
.report-score { display: grid; justify-items: center; gap: 10px; }
.report-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.report-stats > div { background: #fcfcfa; padding: 18px 20px; }
.report-stats b { display: block; font-size: 30px; letter-spacing: -0.04em; color: var(--ink); font-weight: 600; line-height: 1.1; }
.report-stats span { font-size: 14px; color: var(--muted); }

.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-radius: var(--r-lg); background: var(--ink); color: #c9cbd1; }
.report-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.03em; }
.report-cta .serif { color: var(--sig); }
.report-cta p { margin-top: 8px; font-size: 15.5px; color: #a3a6ae; max-width: 520px; }
.report-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

.report-sec h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -0.03em; }
.report-sec.card { padding: 30px; }
.sec-sub { margin-top: 6px; font-size: 15px; }
.eng-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.eng-card { padding: 22px; }
.eng-card header { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.eng-card header h3 { margin: 0; font-size: 18px; flex: 1; }
.eng-card header img { width: 24px; height: 24px; }
.answer { padding-top: 14px; }
.answer + .answer { margin-top: 14px; border-top: 1px dashed var(--line-2); }
.answer-q { font-size: 14px; color: var(--muted); font-style: italic; }
.answer-text { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-height: 220px; overflow: hidden; position: relative; }
.answer-text mark { background: var(--sig-soft); color: var(--ink); padding: 0 2px; border-radius: 3px; }
.answer-text b { color: var(--ink); }
.answer .chips { margin-top: 10px; }
.chip-you { background: var(--sig); color: var(--ink); }
.answer-src { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); overflow-wrap: anywhere; }

.report-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.comp-list, .fix-list, .check-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.comp-list { counter-reset: comp; }
.comp-list li { counter-increment: comp; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fcfcfa; }
.comp-list li::before { content: counter(comp); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: #efeee8; color: var(--muted); flex: none; }
.comp-list span { flex: 1; font-weight: 560; color: var(--ink); overflow-wrap: anywhere; }
.comp-list em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; }
.fix-list li { display: flex; gap: 12px; }
.fix-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sig); font-family: var(--mono); font-size: 12px; flex: none; }
.fix-list b, .check-list b { display: block; color: var(--ink); font-weight: 560; }
.fix-list span, .check-list span { font-size: 14.5px; color: var(--muted); }
.check-list { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.check-list li { display: flex; gap: 12px; }
.ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 13px; margin-top: 1px; }
.check.pass .ck { background: var(--ok-soft); color: var(--ok); }
.check.warn .ck { background: #fff3d6; color: #b7791f; }
.check.fail .ck { background: var(--bad-soft); color: var(--bad); }
.report-final { margin-top: 10px; }
.report-note { text-align: center; font-size: 13px; color: var(--faint); }

/* plans */
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.plan-note { text-align: center; margin-top: 22px; font-size: 15px; color: var(--muted); }
.plan-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dark .plan:not(.plan-featured) { background: #16171c; border-color: #26272e; }
.dark .plan:not(.plan-featured) .plan-name, .dark .plan:not(.plan-featured) .plan-price { color: #fff; }
.dark .plan:not(.plan-featured) ul { border-top-color: #2a2b31; color: #c9cbd1; }
.dark .plan:not(.plan-featured) li svg { color: var(--sig); }
.dark .plan-featured { background: #fff; color: var(--ink-2); border-color: #fff; }
.dark .plan-featured .plan-name, .dark .plan-featured .plan-price { color: var(--ink); }
.dark .plan-featured .plan-desc, .dark .plan-featured .plan-price .per, .dark .plan-featured .plan-sub { color: var(--muted); }
.dark .plan-featured ul { border-top-color: var(--line); }
.dark .plan-featured li svg { color: var(--ok); }
.dark .plan-featured li.head { color: var(--muted); }
.dark .guarantee-light { background: rgba(255, 212, 0, 0.07); border: 1px solid rgba(255, 212, 0, 0.22); color: #d4d6db; }
.legal-note { font-size: 12px; color: var(--faint); margin-top: 10px; }

@media (max-width: 860px) {
  .eng-grid, .report-two, .check-list { grid-template-columns: 1fr; }
  .report-cta { flex-direction: column; align-items: flex-start; }
  .plans-2 { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 600px) {
  .teaser-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .report-head { grid-template-columns: 1fr; padding: 24px 20px; }
  .report-score { justify-items: start; }
  .report-stats > div { padding: 14px 12px; }
  .report-stats b { font-size: 22px; }
  .report-stats span { font-size: 12.5px; line-height: 1.3; display: block; }
  .report-cta, .report-sec.card { padding: 24px 20px; }
  .report-cta-actions { width: 100%; }
  .report-cta-actions .btn { width: 100%; }
}
@media print {
  .site-header, .report-cta, .report-final, .sticky-cta, .grid-bg { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  .answer-text { max-height: none; }
}
.gate-title { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.gate-title b { color: var(--ink); font-size: 18px; }
.funnel-step .eng-chips { margin-top: 18px; }

/* The bot check is invisible for almost everyone: only give it room when Cloudflare
   actually needs the visitor to do something (before-interactive-callback). */
#bot-check { max-height: 0; overflow: hidden; }
#bot-check.needs-you { max-height: 140px; overflow: visible; margin: 4px 0 2px; }
.scan-fallback { margin-top: 22px; padding: 20px; border-radius: 16px; background: #f6f5ef; }
.scan-fallback b { color: var(--ink); font-size: 17px; }
.scan-fallback p { margin: 6px 0 16px; color: var(--muted); font-size: 15px; }
.report-notice { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #fff7df; color: #7a5a00; font-size: 14.5px; }
.report-plans { padding: 40px 0 10px; }
.report-plans .plan ul { font-size: 14.5px; }
.report-plans .plan li svg { flex: none; margin-top: 4px; color: var(--ok); }
.plan-rec { border: 2px solid var(--sig); box-shadow: 0 0 0 6px var(--sig-soft), var(--shadow); }
.linklike { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

.nowrap { white-space: nowrap; }

/* audit form conveniences */
.quick-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qp { border: 1px solid var(--line-2); background: var(--white); border-radius: 999px; padding: 6px 11px; font-size: 13.5px; color: var(--ink-2); min-height: 34px; transition: border-color .2s, background .2s; }
.qp:hover, .qp.is-on { border-color: var(--ink); background: var(--sig-soft); color: var(--ink); }
.scan-tip { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #f6f5ef; font-size: 14.5px; color: var(--ink-2); min-height: 48px; transition: opacity .35s; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; margin: 22px auto 0; }
.next-steps div { padding: 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.next-steps b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--ok); }
@media (max-width: 700px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- Conversion pass ---------- */
@media (max-width: 600px) {
  .hero-split h1 { font-size: 2.2rem; line-height: 1.04; }
  .hero-split .lead { font-size: 1.02rem; margin-top: 16px; }
  .hide-sm { display: none !important; }
  .funnel-card h1 { font-size: 1.75rem; }
}

/* collapsible engine answers in the report */
.eng-card summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; }
.eng-card summary::-webkit-details-marker { display: none; }
.eng-card summary h3 { margin: 0; font-size: 18px; flex: 1; }
.eng-card summary img { width: 24px; height: 24px; }
.eng-card summary .plus { width: 24px; height: 24px; border-radius: 50%; background: #f1f0ea; flex: none; position: relative; transition: transform .35s var(--ease); }
.eng-card summary .plus::before, .eng-card summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); }
.eng-card summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.eng-card[open] summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.eng-card[open] summary .plus { transform: rotate(45deg); }

/* sample report (landing + home) */
.sample { position: relative; max-width: 880px; margin: 0 auto; padding: 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sample-tag { position: absolute; top: -12px; left: 28px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--sig); padding: 5px 10px; border-radius: 999px; }
.sample-top { display: flex; align-items: center; gap: 24px; }
.sample-h { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-top: 6px; letter-spacing: -0.03em; }
.sample-top .eng-chips { margin-top: 14px; }
.sample .score-ring .val { stroke-dashoffset: inherit; }
.sample-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sample-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sample-cta { margin-top: 26px; }
@media (max-width: 700px) {
  .sample { padding: 24px 18px; }
  .sample-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sample-cols { grid-template-columns: 1fr; }
}
.legal h2 { font-size: 1.35rem; margin-top: 34px; letter-spacing: -0.02em; }
.legal p, .legal ul { margin-top: 10px; color: var(--ink-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile polish: denser, thumb-friendly, less scrolling ---------- */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head p { margin-top: 12px; }
  h2 { font-size: clamp(1.8rem, 8vw, 2.15rem); }
  .lead { font-size: 1.02rem; }

  /* stats: number beside text */
  .card.stat { padding: 18px 18px 16px; display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; align-items: center; }
  .card.stat .stat-num { font-size: 2.3rem; }
  .card.stat p { margin: 0; font-size: 15px; line-height: 1.45; }
  .card.stat cite { grid-column: 1 / -1; margin-top: 10px; }
  .grid-3, .grid-2, .steps, .ba { gap: 12px; }

  /* before / after */
  .ba-head { padding: 14px 18px; }
  .ba-body { padding: 16px 18px; }
  .ba-body ul { margin-top: 0; gap: 8px; }
  .ba-body li { font-size: 14.5px; line-height: 1.45; }

  /* steps + feature cards */
  .card { padding: 20px; }
  .step { padding: 20px; }
  .step h3 { margin-top: 14px; font-size: 1.2rem; }
  .step p { font-size: 15px; }
  .step ul { margin-top: 12px; padding-top: 12px; font-size: 14.5px; }
  .card-hover { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; }
  .card-hover .icon { width: 42px; height: 42px; border-radius: 12px; grid-row: span 3; }
  .card-hover h3 { margin-top: 0; font-size: 1.08rem; }
  .card-hover p { margin-top: 4px; font-size: 15px; }
  .card-hover .chips { grid-column: 2; margin-top: 10px; }

  /* plans */
  .plan { padding: 22px 20px; }
  .plan-desc { min-height: 0; }
  .plan-price { margin-top: 16px; }
  .plan-price .amt { font-size: 46px; }
  .plan .btn { margin-top: 18px; }
  .plan ul { margin-top: 18px; padding-top: 16px; gap: 9px; font-size: 14.5px; }
  .guarantee { font-size: 14px; }

  /* faq, cta, footer */
  .faq summary { padding: 16px 16px; font-size: 16px; }
  .faq .answer { padding: 0 16px 16px; font-size: 15px; }
  .cta-band { padding: 44px 18px; border-radius: 24px; }
  .cta-band h2 { font-size: 1.75rem; }
  .engines { padding: 22px 0 0; }
  .engine { font-size: 14px; padding: 8px 14px 8px 12px; }
  .engine img { width: 18px; height: 18px; }
  .ai-screen { min-height: 344px; }
  .demo-caption { margin-top: 8px; }
  .site-footer { padding: 48px 0 32px; }
  .foot-grid { gap: 26px; }
  .foot-bottom { margin-top: 32px; }
  .numbers > div { padding: 18px 16px; }
  .numbers b { font-size: 32px; }

  /* audit + report */
  .fields { gap: 14px; margin-top: 22px; }
  .field input { height: 50px; }
  .qp { min-height: 36px; padding: 7px 12px; }
  .report { gap: 14px; }
  .report-sec.card { padding: 20px 18px; }
  .report-plans { padding: 26px 0 0; }
  .eng-card { padding: 16px; }
  .answer-text { font-size: 14px; }
}
@media (max-width: 380px) {
  .numbers { grid-template-columns: 1fr; }
  .card.stat { grid-template-columns: 80px 1fr; }
  .card.stat .stat-num { font-size: 2rem; }
}
@media (max-width: 860px) {
  /* leave room for the sticky CTA bar */
  .site-footer, .site-footer.lp-footer { padding-bottom: 104px; }
  .report-wrap { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .hero-center h1 { font-size: 2.3rem; }
  .compare { min-width: 540px; font-size: 14px; }
  .compare th, .compare td { padding: 11px 12px; }
  .compare tbody th:first-child, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); width: 128px; min-width: 128px; }
  .compare thead th:first-child { background: #fbfbf8; }
  .compare.compare-fit { min-width: 0; }
  .compare.compare-fit th:first-child { width: 96px; min-width: 96px; }
  .table-wrap { border-radius: 16px; }
}
@media (max-width: 600px) {
  .compare thead th:first-child, .compare tbody tr:not(.grp) th:first-child { width: 128px !important; min-width: 128px; max-width: 128px; }
  .compare .grp th { position: static; width: auto !important; max-width: none; box-shadow: none; background: #f6f5f0; }
}
@media (max-width: 600px) {
  .compare.compare-plans { min-width: 0; }
  .compare-plans thead th:nth-child(2), .compare-plans tbody tr:not(.grp) td:nth-child(2) { display: none; }
  .compare-plans thead th:first-child, .compare-plans tbody tr:not(.grp) th:first-child { position: static; box-shadow: none; width: 40% !important; max-width: none; min-width: 0; }
}

/* ==========================================================================
   Offer (value stack) · shared by landing, home, pricing and the report
   ========================================================================== */
.offer-wrap { max-width: 620px; margin: 0 auto; }
.plan-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: #efeee8; border: 1px solid var(--line); margin-bottom: 14px; }
.dark .plan-switch { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); }
.plan-switch button { position: relative; border: 0; border-radius: 13px; padding: 11px 8px 10px; background: transparent; color: var(--ink-2); display: grid; gap: 1px; text-align: center; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.dark .plan-switch button { color: #c9cbd1; }
.plan-switch b { font-size: 16px; font-weight: 600; }
.plan-switch span { font-size: 13px; opacity: 0.8; }
.plan-switch button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(13,14,17,.08), 0 6px 16px -8px rgba(13,14,17,.3); }
.plan-switch em { position: absolute; top: -9px; right: 8px; font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 500; background: var(--sig); color: var(--ink); padding: 2px 7px; border-radius: 99px; }

.offer-card { background: #fff; color: var(--ink-2); border-radius: 24px; padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.offer-kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.offer-head h3 { color: var(--ink); font-size: 1.3rem; margin-top: 6px; letter-spacing: -0.025em; line-height: 1.25; }
.stack { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stack li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.stack-ck { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.stack b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.stack small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.stack em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; margin-top: 2px; }
.stack-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-size: 15px; color: var(--muted); }
.stack-total s { font-size: 20px; color: var(--bad); font-weight: 600; text-decoration-thickness: 2px; }
.stack-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; }
.stack-price > span { font-size: 16px; font-weight: 600; color: var(--ink); }
.stack-price b { font-size: 46px; letter-spacing: -0.05em; color: var(--ink); font-weight: 650; line-height: 1; white-space: nowrap; }
.stack-price small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 500; margin-left: 3px; }
.offer-card .btn { margin-top: 18px; }
.offer-alt { display: block; text-align: center; margin-top: 12px; font-size: 14.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
p.offer-alt { text-decoration: none; color: var(--muted); }
.offer-assure { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.offer-assure span { display: inline-flex; align-items: center; gap: 5px; }
.offer-assure svg { color: var(--ok); }
.guarantee-card { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; padding: 18px; border-radius: 20px; background: var(--sig); color: var(--ink); }
.guarantee-card b { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.guarantee-card p { margin-top: 3px; font-size: 14.5px; line-height: 1.45; }
.g-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--sig); display: grid; place-items: center; flex: none; }
.value-note { text-align: center; font-size: 12px; color: var(--faint); margin-top: 6px; }
.dark .value-note { color: #6f727a; }

/* visible form errors (native validation bubbles don't show in in-app browsers) */
.capture.has-error { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.capture-error { max-width: 560px; margin: 8px 0 0; font-size: 14px; font-weight: 500; color: var(--bad); }
.hero-center .capture-error, .cta-band .capture-error { margin-left: auto; margin-right: auto; text-align: center; }
.cta-band .capture-error { color: #ff9b9e; }

/* why AI skips you */
.skip-card { margin-top: 18px; padding: 24px; }
.skip-card h3 { margin: 0; font-size: 1.15rem; }
.skip-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
.skip-card li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.skip-card li svg { flex: none; margin-top: 4px; color: var(--bad); }
.skip-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 15.5px; color: var(--ink-2); }

/* how it works: vertical steps */
.flow-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 620px; }
.flow-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 24px; position: relative; }
.flow-steps li::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.flow-steps li:last-child { padding-bottom: 0; }
.flow-steps li:last-child::before { display: none; }
.flow-steps .fs-n { width: 40px; height: 40px; border-radius: 50%; background: var(--sig); color: var(--ink); display: grid; place-items: center; font-weight: 650; font-size: 16px; line-height: 1; box-shadow: 0 0 0 5px var(--sig-soft); }
.flow-steps b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; margin-top: 8px; }
.flow-steps div > span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }

/* city field with location button */
.input-action { position: relative; }
.input-action input { padding-right: 124px; }
.loc-btn { position: absolute; right: 6px; top: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #f6f5ef; font-size: 13.5px; font-weight: 560; color: var(--ink); }
.loc-btn:hover { border-color: var(--ink); }
.loc-btn.busy svg { animation: spin 0.9s linear infinite; }
.field-hint { margin-top: 6px; font-size: 13.5px; color: var(--bad); }

@media (max-width: 600px) {
  .offer-card { padding: 20px 16px; border-radius: 20px; }
  .offer-head h3 { font-size: 1.15rem; }
  .stack li { grid-template-columns: 22px 1fr auto; gap: 9px; padding: 11px 0; }
  .stack b { font-size: 15px; }
  .stack small { font-size: 13px; }
  .stack em { font-size: 12px; }
  .stack-price b { font-size: 40px; }
  .guarantee-card { padding: 16px; gap: 12px; }
  .g-icon { width: 40px; height: 40px; }
  .skip-card { padding: 18px; }
  .skip-card li { font-size: 14.5px; }
}

.report-steps { margin-top: 30px; }


/* ==========================================================================
   Round 3 polish
   ========================================================================== */
@media (max-width: 600px) {
  /* bigger, obvious website box */
  .capture { padding: 8px; gap: 8px; }
  .capture input { height: 56px; font-size: 17px; padding: 0 16px; background: #f6f5ef; border: 1px solid var(--line); border-radius: 14px; }
  .capture input:focus { background: #fff; border-color: var(--ink); }
  .capture .btn { --h: 54px; }

  /* demo tabs: logos only, active tab shows its name */
  .ai-dots { display: none; }
  .ai-chrome { padding: 10px 12px; }
  .ai-tabs { width: 100%; justify-content: space-between; gap: 4px; overflow: visible; }
  .ai-tab { font-size: 0; gap: 0; padding: 8px 10px; }
  .ai-tab img { width: 17px; height: 17px; }
  .ai-tab.is-active { font-size: 13px; gap: 6px; padding: 8px 12px; }
}

/* home comparison: cards on phones instead of a sideways table */
.vs-cards { display: none; }
@media (max-width: 600px) {
  .vs-table { display: none; }
  .vs-cards { display: grid; gap: 10px; }
  .vs-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
  .vs-card.is-us { border: 2px solid var(--sig); box-shadow: 0 0 0 5px var(--sig-soft); }
  .vs-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .vs-head b { color: var(--ink); font-size: 16px; font-weight: 650; }
  .vs-price { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
  .vs-card ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
  .vs-card li.yes { color: var(--ink-2); }
  .vs-card li.no { color: var(--muted); }

  /* services SEO vs GEO: stacked rows */
  .compare-fit thead { display: none; }
  .compare.compare-fit, .compare-fit tbody { display: block; min-width: 0; }
  .compare-fit tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .compare-fit tr:last-child { border-bottom: 0; }
  .compare-fit tbody th { grid-column: 1 / -1; border: 0; padding: 14px 14px 4px !important; position: static !important; box-shadow: none !important; width: auto !important; min-width: 0 !important; max-width: none !important; background: none !important; color: var(--ink); font-weight: 600; }
  .compare-fit td { border: 0; padding: 4px 14px 14px; font-size: 14px; }
  .compare-fit td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); margin-bottom: 3px; }
  .compare-fit td.hl::before { color: #9a7b00; }
}

/* ---------- Checkout preview (Stripe-style) ---------- */
.co-body { background: #fff; }
.co { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.co-summary { background: #f7f7f4; border-right: 1px solid var(--line); padding: 56px 48px; }
.co-summary > * { max-width: 420px; margin-left: auto; margin-right: 0; }
.co-pay { padding: 56px 48px; }
.co-pay > * { max-width: 420px; }
.co-back { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.co-back svg:first-child { color: var(--muted); }
.co-label { margin-top: 36px; color: var(--muted); font-size: 15px; }
.co-price { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.co-price b { font-size: 40px; letter-spacing: -0.04em; color: var(--ink); font-weight: 650; line-height: 1.1; }
.co-price span { font-size: 13px; color: var(--muted); line-height: 1.2; }
.co-items { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.co-items li { display: flex; gap: 8px; align-items: center; }
.co-items svg { color: var(--ok); flex: none; }
.co-lines { margin-top: 24px; border-top: 1px solid var(--line); }
.co-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.co-lines small { display: block; color: var(--muted); font-size: 13px; }
.co-total { font-weight: 650; }
.co-total small { display: inline !important; }
.co-guarantee { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--sig-soft); font-size: 14px; color: var(--ink); }
.co-guarantee svg { flex: none; margin-top: 1px; }
.co-switch { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.co-preview { padding: 12px 14px; border-radius: 12px; background: #eef2ff; color: #2d3f94; font-size: 14px; line-height: 1.45; margin-bottom: 20px; }
.co-field-label { display: block; font-size: 14px; font-weight: 560; color: var(--ink); margin: 16px 0 6px; }
.co-input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; background: #fff; color: var(--ink); outline: 0; -webkit-appearance: none; appearance: none; }
.co-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--sig-soft); }
.co-input.invalid { border-color: var(--bad); }
.co-input:disabled { background: #fafaf8; color: var(--faint); -webkit-text-fill-color: var(--faint); opacity: 1; }
.co-card { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.co-card .co-input { border: 0; border-radius: 0; }
.co-card-num { position: relative; border-bottom: 1px solid var(--line-2); }
.co-brands { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.co-brands i { font-style: normal; font-size: 9px; font-weight: 700; padding: 3px 5px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--muted); background: #fff; }
.co-card-row { display: grid; grid-template-columns: 1fr 1fr; }
.co-card-row .co-input:first-child { border-right: 1px solid var(--line-2); }
.co-pay .form-error { margin-top: 14px; }
.co-submit { --h: 52px; margin-top: 22px; }
.co-fine { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.co-fine a { text-decoration: underline; }
.co-secure { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) {
  .co { grid-template-columns: 1fr; min-height: 0; }
  .co-summary { padding: 18px 18px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .co-summary > *, .co-pay > * { max-width: none; margin-left: 0; }
  .co-label { margin-top: 20px; }
  .co-items { display: none; }
  .co-pay { padding: 22px 18px 40px; }
}

/* ---------- Report: branded, well-paginated PDF ---------- */
.print-only { display: none; }
@media print {
  @page { size: letter; margin: 14mm 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { background: #fff !important; font-size: 12px; }
  .site-header, .sticky-cta, .grid-bg, .funnel-card, .report-cta, .report-plans, .report-note, .report-notice { display: none !important; }
  .print-only { display: block !important; }
  .funnel { min-height: 0 !important; padding: 0 !important; }
  .report-wrap { padding: 0 !important; }
  .wrap { padding: 0 !important; max-width: none !important; }
  .report { gap: 12px; max-width: none; }
  .card { box-shadow: none !important; border: 1px solid #dcdcd6 !important; }
  .print-head { display: flex !important; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid #0d0e11; margin-bottom: 4px; }
  .print-head span { font-size: 11px; color: #555; }
  .report-head { grid-template-columns: 1fr auto; padding: 18px !important; }
  .report-head h1 { font-size: 22px !important; }
  .report-score { justify-items: center !important; }
  .report-stats { grid-template-columns: repeat(3, 1fr) !important; }
  .report-two { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .eng-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .check-list { grid-template-columns: 1fr 1fr !important; }
  .report-sec.card, .eng-card { padding: 14px !important; }
  .report-sec h2 { font-size: 16px !important; }
  .eng-card summary .plus { display: none; }
  .answer-text { max-height: none !important; font-size: 11px; }
  .report-head, .report-two > section, .eng-card, .answer, .comp-list li, .fix-list li, .check-list li, .print-foot { break-inside: avoid; page-break-inside: avoid; }
  h2 { break-after: avoid; page-break-after: avoid; }
  .print-foot { margin-top: 6px; padding: 12px 14px; border: 1px solid #dcdcd6; border-radius: 12px; font-size: 12px; }
  .score-ring .val { transition: none !important; }
}
.timeline .dot, .timeline li:first-child .dot { background: var(--sig); color: var(--ink); font-weight: 650; box-shadow: 0 0 0 4px var(--sig-soft); }
.timeline li::before { left: 16px; }

/* ---------- Customer dashboard (portal.html) ---------- */
.portal { padding: 34px 0 72px; display: grid; gap: 18px; }
.portal-loading { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 80px 0; color: var(--muted); }
.portal-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.portal-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.03em; margin-top: 6px; }
.portal-head .muted { margin-top: 6px; font-size: 15px; }
.portal-score { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.portal-score .grade { font-size: 14px; font-weight: 600; }
.portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 22px 24px; }
.portal-sec { padding: 24px; }
.portal-sec h2 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.portal-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.portal-two > * { min-width: 0; }
.portal-empty { padding: 40px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.portal-empty h1, .portal-empty h2 { letter-spacing: -0.02em; }
.pill-plan { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.trend { display: flex; align-items: flex-end; gap: 10px; height: 100px; padding-top: 6px; }
.trend-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.trend-bar span { width: 100%; max-width: 46px; border-radius: 6px 6px 3px 3px; transition: height 0.5s ease; }
.trend-bar em { font-size: 11px; color: var(--muted); font-style: normal; }
.trend-note { margin-top: 12px; font-size: 14.5px; }
.eng-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.eng-mini { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.eng-mini > div { display: grid; gap: 6px; min-width: 0; }
.eng-mini b { font-size: 15px; }
.portal-billing { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.portal-billing-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .portal-two { grid-template-columns: 1fr; }
  .portal-stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; }
  .portal-head { flex-direction: column; align-items: flex-start; }
  .portal-score { flex-direction: row; align-self: center; }
  .portal-billing-actions { width: 100%; }
  .portal-billing-actions .btn { width: 100%; }
}
.ty-portal { margin-top: 26px; padding: 20px; border-radius: var(--r-md, 14px); background: var(--sand, #f4f2ec); display: grid; gap: 6px; text-align: left; }
.ty-portal b { font-size: 16px; }
.ty-portal span { font-size: 14.5px; color: var(--muted); }
.ty-portal .btn { margin-top: 10px; }
.portal-setup { padding: 34px 28px; display: grid; gap: 10px; }
.portal-setup h2 { letter-spacing: -0.02em; }
.portal-setup .muted { max-width: 60ch; }
.portal-setup .fields { margin-top: 12px; display: grid; gap: 14px; max-width: 460px; }
