/* SaveMyPixel — section-specific styles */

/* --- Hero --- */
.hero {
  padding-top: calc(var(--section-y) + 32px);
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}
@media (max-width: 640px) {
  .hero-grid { gap: var(--s-6); }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 620px;
  padding-right: var(--s-6);
}
.hero-copy .lead { max-width: 560px; }
.hero-cta-row { display: flex; gap: var(--s-3); align-items: center; margin-top: var(--s-2); flex-wrap: wrap; }

/* Illustration side — frameless, airy */
.hero-illo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-illo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  margin-left: auto;
}
@media (max-width: 1024px) {
  .hero-illo { min-height: 320px; }
  .hero-illo-img { margin: 0 auto; max-width: 420px; }
}
@media (max-width: 640px) {
  .hero-copy { padding-right: 0; }
  .hero-illo { min-height: 0; }
  .hero-illo-img { max-width: 100%; }
  .hero-cta-row .btn-lg { width: 100%; justify-content: center; }
}

/* Trust strip */
.trust {
  margin-top: calc(var(--s-9) + 16px);
}
@media (max-width: 640px) {
  .trust { margin-top: var(--s-8); }
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: var(--s-6);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-7);
  row-gap: var(--s-5);
}
.trust-logos li {
  display: flex;
  align-items: center;
}
.trust-logos img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.62;
  filter: grayscale(1);
  transition: opacity 180ms ease, filter 180ms ease;
}
.trust-logos li:hover img { opacity: 1; filter: grayscale(0); }
@media (max-width: 768px) {
  .trust-logos { gap: var(--s-6); row-gap: var(--s-4); }
  .trust-logos img { height: 18px; max-width: 140px; }
}

/* Hero right-side architecture preview */
.hero-preview {
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  background: var(--surface);
  padding: var(--s-6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 24px 64px -32px rgba(20,30,60,0.12);
}
.hero-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--s-5);
}
.hero-preview-head .dots { display: flex; gap: 6px; }
.hero-preview-head .dots span {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--hairline-strong);
}
.hero-preview-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.flow {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.flow-row {
  display: grid;
  grid-template-columns: 96px 1fr 120px;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--hairline);
  border-radius: var(--r-2);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 13px;
}
.flow-row .tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.flow-row .path {
  color: var(--ink);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flow-row .status { justify-self: end; }

.flow-arrow {
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* --- Problem / enforcement ladder (descending steps) --- */
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.section-head--center .eyebrow { align-self: center; }

.ladder-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  position: relative;
  counter-reset: step;
}
.ladder-steps::before {
  /* hairline baseline rail connecting the steps */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--hairline);
  pointer-events: none;
}
.step {
  position: relative;
}
/* Each step drops visually lower than the previous — descending ladder */
.step[data-step="0"] { padding-top: 0; }
.step[data-step="1"] { padding-top: 28px; }
.step[data-step="2"] { padding-top: 56px; }
.step[data-step="3"] { padding-top: 84px; }

/* Small tick mark above each step aligned to the rail */
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--hairline-strong);
}
.step[data-step="3"]::before { background: var(--ink-2); }
.step[data-step="2"]::before { background: var(--ink-3); }

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: var(--s-5);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.step-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 12px 32px -16px rgba(20,30,60,0.08);
}
/* Structural weight escalates — heavier borders / inset rule later in ladder */
.step[data-step="1"] .step-card { border-top-width: 2px; }
.step[data-step="2"] .step-card { border-top-width: 3px; }
.step[data-step="3"] .step-card {
  border-top-width: 4px;
  background: var(--surface-muted);
}

.step-level {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: auto;
}
.step-indicator {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  color: var(--ink-2);
  display: inline-flex;
}
.step[data-step="0"] .step-indicator { color: var(--ink); }
.step[data-step="3"] .step-indicator { color: var(--ink-3); }

@media (max-width: 1024px) {
  .ladder-steps { grid-template-columns: 1fr 1fr; }
  .step[data-step="0"], .step[data-step="1"], .step[data-step="2"], .step[data-step="3"] { padding-top: 0; }
  .ladder-steps::before { display: none; }
  .step::before { display: none; }
}
@media (max-width: 560px) {
  .ladder-steps { grid-template-columns: 1fr; gap: var(--s-3); }
}

.ladder-foot {
  margin-top: var(--s-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  text-align: center;
}
.ladder-foot .small { color: var(--ink-3); }

/* --- Solution / before-after diagram --- */
.ba-diagram {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: var(--s-7);
  align-items: start;
}
.ba-divider {
  width: 1px;
  align-self: stretch;
  background: var(--hairline);
}
@media (max-width: 768px) {
  .ba-diagram { grid-template-columns: 1fr; gap: var(--s-7); }
  .ba-divider { display: none; }
}
.ba-col { display: flex; flex-direction: column; gap: var(--s-5); }
.ba-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--hairline);
}
.ba-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.ba-col--with .ba-label { color: var(--accent); }
.ba-kicker {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.fnode {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-2);
  padding: 14px 16px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.fnode-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.fnode-mark {
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
}
.fnode--warn { background: var(--surface-muted); }
.fnode--warn .fnode-mark { color: var(--status-warn); }
.fnode--neg {
  background: var(--surface-muted);
  color: var(--ink-2);
}
.fnode--neg .fnode-name { color: var(--ink-2); }
.fnode--neg .fnode-mark { color: var(--status-error); }
.fnode--ok .fnode-mark { color: var(--status-ok); }
.fnode--accent {
  border-color: var(--accent);
  background: var(--accent-bg);
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 12px 28px -16px color-mix(in oklch, var(--accent) 40%, transparent);
}
.fnode--accent .fnode-name { color: var(--accent-pressed); font-weight: 600; }
.fnode-inline { display: inline-flex; gap: 6px; }
.chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--hairline));
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}

/* Arrows between nodes */
.farrow {
  position: relative;
  height: 28px;
  margin: 4px 0;
  display: block;
}
.farrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: var(--hairline-strong);
}
.farrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
}
.farrow.has-label { height: 38px; }
.farrow-label {
  position: absolute;
  left: calc(50% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--canvas);
  padding: 0 6px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .fnode-name { font-size: 13px; }
  .fnode { padding: 12px 14px; }
}

/* --- How it works — 4 components --- */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 1024px) { .hiw-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hiw-grid { grid-template-columns: 1fr; } }

.hiw-card {
  position: relative;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 260px;
  border-right: 1px solid var(--hairline);
}
.hiw-card:last-child { border-right: 0; }
@media (max-width: 1024px) {
  .hiw-card:nth-child(2n) { border-right: 0; }
  .hiw-card:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 640px) {
  .hiw-card { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .hiw-card:last-child { border-bottom: 0; }
}

.hiw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
}
.hiw-num {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hiw-icon {
  color: var(--ink-3);
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center;
  justify-content: center;
}
.hiw-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: var(--s-2);
}
.hiw-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.hiw-foot {
  display: flex;
  justify-content: center;
  margin-top: var(--s-6);
}
.hiw-foot-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  max-width: 100%;
  justify-content: center;
}
.hiw-foot-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-right: 4px;
}
.hiw-foot-pill .sep {
  color: var(--ink-3);
  opacity: 0.6;
}

/* --- Features (6) --- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1024px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feat {
  padding: var(--s-6);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 220px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.feat:hover {
  border-color: var(--hairline-strong);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 12px 32px -16px rgba(20,30,60,0.08);
}
.feat-icon {
  color: var(--ink);
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-2);
}
.feat-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }
.feat-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* --- Who it's for (two columns) --- */
.qualify {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 768px) { .qualify { grid-template-columns: 1fr; } }
.qual-col {
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: var(--surface);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.qual-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--hairline);
}
.qual-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.qual-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.qual-list { display: flex; flex-direction: column; gap: var(--s-3); }
.qual-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-3);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  align-items: start;
}
.qual-icon {
  margin-top: 5px;
  width: 18px; height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qual-icon.ok { background: var(--status-ok-bg); color: var(--status-ok); }
.qual-icon.no { background: var(--surface-muted); color: var(--ink-3); border: 1px solid var(--hairline); }

/* --- Results (3 stats) --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 768px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat {
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.stat-val {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat-val small { font-size: 0.35em; color: var(--ink-3); font-weight: 500; margin-left: 4px; letter-spacing: -0.01em; }
.stat-label { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin-top: var(--s-3); }
.stat-note { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.stats-disclaimer {
  margin-top: var(--s-6);
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* --- Testimonials --- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  position: relative;
  padding: var(--s-6);
  padding-top: var(--s-7);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
}
.quote-mark {
  position: absolute;
  top: 8px;
  left: var(--s-6);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 56px;
  line-height: 1;
  color: var(--hairline-strong);
  user-select: none;
}
.quote-body {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--hairline);
  background-image: radial-gradient(circle at 50% 40%, var(--hairline-strong) 0 30%, transparent 31%),
                    radial-gradient(circle at 50% 100%, var(--hairline-strong) 0 40%, transparent 41%);
  background-size: 100% 100%;
  flex: 0 0 36px;
}
.quote-who { font-size: 14px; line-height: 1.3; }
.quote-who strong { font-weight: 600; display: block; letter-spacing: -0.005em; }
.quote-who span { color: var(--ink-3); font-size: 13px; }

.quotes-foot {
  display: flex;
  justify-content: center;
  margin-top: var(--s-6);
}

/* --- Pricing --- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  align-items: stretch;
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  /* Growth first on mobile */
  .tier--featured { order: -1; }
}
.tier {
  position: relative;
  padding: var(--s-6);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.tier--featured {
  border-color: var(--ink);
  border-width: 1.5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 30px 60px -30px rgba(20,30,60,0.22);
  z-index: 1;
}
.tier-flag {
  position: absolute;
  top: -11px;
  left: var(--s-6);
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.tier-top { display: flex; flex-direction: column; gap: var(--s-3); }
.tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 500;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
}
.tier-price .big {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}
.tier-price .per { color: var(--ink-3); font-size: 15px; font-weight: 500; }
.tier-bracket {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.tier-desc {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}
.tier-divider {
  height: 1px;
  background: var(--hairline);
  margin: var(--s-2) 0;
}
.tier-inherit {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  margin-bottom: calc(-1 * var(--s-2));
}
.tier-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  flex: 1;
}
.tier-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--s-3);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  align-items: start;
  list-style: none;
}
.tier-check {
  margin-top: 3px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--status-ok-bg);
  color: var(--status-ok);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tier-cta {
  margin-top: var(--s-3);
  width: 100%;
  justify-content: center;
}

/* Reassurance strip */
.price-reassure {
  display: flex;
  justify-content: center;
  gap: var(--s-6);
  margin-top: var(--s-7);
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.price-reassure li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 13.5px;
  color: var(--ink-2);
}
.price-reassure li span {
  color: var(--status-ok);
  display: inline-flex;
}
@media (max-width: 640px) {
  .price-reassure { flex-direction: column; gap: var(--s-3); align-items: center; }
}

/* --- FAQ --- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-3);
  margin: 0 calc(-1 * var(--s-3));
  border-radius: var(--r-2);
  transition: background-color 140ms ease;
}
.faq summary:hover { background: var(--surface-muted); }
.faq summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.faq-q {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
  flex: 0 0 auto;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  top: 50%;
  left: 50%;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), opacity 220ms ease;
}
.faq-icon::before {
  /* horizontal */
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}
.faq-icon::after {
  /* vertical */
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}
.faq details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq details[open] summary { background: transparent; }

/* Answer body — animated via JS max-height */
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq details[open] .faq-body {
  /* JS sets inline max-height; fallback = auto-ish */
}
.faq-body > p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0 calc(var(--s-4) + 40px) var(--s-5);
  padding-top: var(--s-1);
  text-wrap: pretty;
}
@media (max-width: 600px) {
  .faq summary { grid-template-columns: 32px 1fr 20px; gap: var(--s-3); }
  .faq-body > p { margin-left: calc(var(--s-3) + 32px); }
  .faq-q { font-size: 16px; }
}

.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 140ms ease;
}
.inline-link:hover { text-decoration-color: var(--ink); }

/* Final CTA — full-bleed, dark, distinctive */
.section-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
  margin-top: 0;
  border-top: 0 !important;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 75%);
}
.cta-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 999px;
  background: radial-gradient(circle, oklch(72% 0.18 var(--hue, 250) / 0.22) 0%, transparent 60%);
  filter: blur(8px);
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow--on-dark { color: rgba(255,255,255,0.6); }

.cta-headline {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-top: var(--s-4);
  text-wrap: balance;
}

.cta-sub {
  margin-top: var(--s-5);
  max-width: 560px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  text-wrap: pretty;
}

/* Input + button as one unit */
.cta-action {
  margin-top: var(--s-7);
  display: flex;
  justify-content: center;
}

.btn-cta {
  background: #fff;
  color: var(--ink);
  border: 0;
  height: 56px;
  padding: 0 26px;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  border-radius: var(--r-2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 14px 28px -8px rgba(0,0,0,0.45);
  transition: transform 140ms ease, box-shadow 140ms ease;
  cursor: pointer;
  flex: 0 0 auto;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 22px 40px -10px rgba(0,0,0,0.55);
}

.cta-micro {
  margin-top: var(--s-4);
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.cta-reassure {
  display: flex;
  justify-content: center;
  gap: var(--s-6);
  margin: clamp(48px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.cta-reassure li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.cta-check {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.cta-secondary {
  margin-top: clamp(32px, 3.5vw, 40px);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.cta-secondary-link {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 140ms ease, color 140ms ease;
}
.cta-secondary-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

@media (max-width: 640px) {
  .cta-action .btn-cta { width: 100%; }
  .cta-reassure { flex-direction: column; gap: var(--s-3); align-items: center; }
}

/* Tweaks panel */
.tweaks-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  border: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.3);
}
.tweaks-fab.visible { display: inline-flex; }
.tweaks-panel {
  position: fixed;
  bottom: 72px;
  right: 20px;
  z-index: 100;
  width: min(320px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: 0 24px 64px -16px rgba(20,30,60,0.25);
  padding: var(--s-5);
  display: none;
  flex-direction: column;
  gap: var(--s-4);
}
.tweaks-panel.open { display: flex; }
.tweaks-panel h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.tw-row { display: flex; flex-direction: column; gap: 6px; }
.tw-row > label {
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
}
.tw-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-swatch {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.tw-swatch.active { border-color: var(--ink); }
.tw-segment {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
}
.tw-segment button {
  padding: 6px 8px;
  border: 0;
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  border-right: 1px solid var(--hairline);
}
.tw-segment button:last-child { border-right: 0; }
.tw-segment button.active { background: var(--ink); color: var(--canvas); }

/* =========================================================
   EVIDENCE GRID (Problem section)
   ========================================================= */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
}
@media (max-width: 900px) { .evidence-grid { grid-template-columns: 1fr; } }

.ev-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.ev-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}
.ev-title {
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.ev-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ev-mark--neg { background: var(--status-error-bg); color: var(--status-error); }
.ev-mock {
  background: oklch(0.98 0.002 250);
  border: 1px solid var(--hairline);
  border-radius: var(--r-2);
  padding: var(--s-4);
  min-height: 200px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.ev-caption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.ev-caption strong { color: var(--ink); font-weight: 600; }

/* --- Mock: Meta disabled-account dialog --- */
.mock-dialog {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mock-dialog-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
  font-size: 11px;
  color: var(--ink-3);
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-error);
}
.mock-dialog-title { font-weight: 600; color: var(--ink-2); font-size: 12px; }
.mock-dialog-h {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 2px 0 0;
  letter-spacing: -0.005em;
}
.mock-dialog-p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}
.mock-dialog-p--muted { color: var(--ink-3); }
.mock-btn {
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: #f1f2f4;
  color: var(--ink-2);
}
.mock-btn--primary {
  background: #1877f2;
  color: #fff;
}
.mock-link {
  font-size: 12px;
  color: #1877f2;
  text-align: center;
  margin-top: 2px;
}

/* --- Mock: Events Manager data-source panel --- */
.mock-panel {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mock-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}
.mock-panel-title { font-weight: 600; font-size: 13px; color: var(--ink); }
.mock-tab {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding: 3px 6px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
}
.mock-table { display: flex; flex-direction: column; }
.mock-tr {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-2);
}
.mock-tr--head {
  border-top: 0;
  background: oklch(0.985 0.002 250);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
  padding: 8px 12px;
}
.mock-domain { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink); font-weight: 500; }
.mock-redact {
  display: inline-block;
  width: 54px;
  height: 10px;
  background: oklch(0.82 0.005 250);
  border-radius: 3px;
  vertical-align: middle;
}
.mock-id { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); font-style: normal; }
.mock-muted { color: var(--ink-3); font-size: 12px; }
.mock-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  width: fit-content;
}
.mock-tag--warn { background: var(--status-error-bg); color: var(--status-error); border: 1px solid color-mix(in oklch, var(--status-error) 18%, transparent); }

/* --- Mock: Rejected ad row --- */
.mock-ad-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.mock-ad {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mock-ad-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: var(--surface-muted);
  position: relative;
  overflow: hidden;
}
.mock-ad-thumb::after { display: none !important; }
.mock-ad-thumb--b,
.mock-ad-thumb--c { background: var(--surface-muted); }
.mock-ad-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 10;
}
.mock-ad-thumb::before,
.mock-ad-thumb::after { display: none !important; content: none !important; }
.scan-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.scan-thumb--ad::after { display: none; }
.mask-screen-body img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.mask-screen-body--clean::before,
.mask-screen-body--clean::after,
.mask-screen-body--real::before,
.mask-screen-body--real::after { display: none; }
.clean-product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.clean-product-img::after { display: none; }
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.mock-ad-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.mock-ad-name {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-reject {
  font-size: 10px;
  font-weight: 600;
  color: var(--status-error);
  padding: 2px 5px;
  background: var(--status-error-bg);
  border-radius: 3px;
  flex-shrink: 0;
}
.mock-ad-reason {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ink-3);
  margin: 0;
}

/* --- Mock: Signal-collapse chart --- */
.mock-chart {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--status-error);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mock-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
}
.mock-chart-title { font-size: 12px; font-weight: 500; color: var(--ink); }
.mock-chart-range { font-size: 10px; color: var(--ink-3); }
.mock-chart-val {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 2px;
}
.mock-chart-val small { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.mock-chart-delta {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.mock-chart-delta--neg { color: var(--status-error); }
.mock-chart-svg {
  width: 100%;
  height: 70px;
  margin-top: 4px;
}
.mock-chart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
}
.mock-legend { display: inline-flex; align-items: center; gap: 5px; }
.mock-legend-dot { width: 8px; height: 2px; background: currentColor; border-radius: 1px; }
.mock-annot {
  font-family: var(--font-mono);
  padding: 2px 6px;
  border: 1px dashed color-mix(in oklch, var(--status-error) 40%, var(--hairline));
  border-radius: 3px;
  color: var(--status-error);
}

/* =========================================================
   SOLUTION GRID (4 feature cards)
   ========================================================= */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) { .sol-grid { grid-template-columns: 1fr; } }

.sol-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.sol-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}
.sol-title {
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.sol-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sol-mark--ok { background: var(--status-ok-bg); color: var(--status-ok); }
.sol-mock {
  background: var(--accent-bg);
  border: 1px solid color-mix(in oklch, var(--accent) 15%, var(--hairline));
  border-radius: var(--r-2);
  padding: var(--s-4);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-caption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.sol-caption strong { color: var(--ink); font-weight: 600; }

/* --- Mock: Scan card (used by Ad + Site assessment) --- */
.scan-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.scan-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.scan-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.scan-tag--warn { background: var(--status-warn-bg); color: var(--status-warn); }
.scan-tag--bad { background: var(--status-error-bg); color: var(--status-error); }

.scan-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: flex-start;
}
.scan-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.scan-thumb--ad {
  background:
    radial-gradient(circle at 30% 30%, oklch(0.92 0.08 60) 0%, oklch(0.78 0.12 25) 60%, oklch(0.65 0.14 15) 100%);
}
.scan-thumb--ad::after {
  content: "";
  position: absolute;
  inset: 22% 22% 32%;
  background: oklch(0.96 0.03 60 / 0.7);
  border-radius: 50%;
  filter: blur(3px);
}
.scan-thumb-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 2px 4px;
  border-radius: 3px;
  text-align: center;
}
.scan-thumb--site {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.scan-thumb-chrome {
  display: flex;
  gap: 3px;
  padding: 4px 5px;
  background: oklch(0.96 0.002 250);
  border-bottom: 1px solid var(--hairline);
}
.scan-thumb-dot { width: 5px; height: 5px; border-radius: 50%; background: oklch(0.85 0.005 250); }
.scan-thumb-hero {
  height: 32%;
  background: linear-gradient(135deg, oklch(0.80 0.10 25), oklch(0.72 0.14 15));
}
.scan-thumb-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 2px;
}
.scan-thumb-grid span {
  background: linear-gradient(135deg, oklch(0.88 0.06 35) 0%, oklch(0.76 0.10 25) 100%);
  border-radius: 2px;
}
.scan-thumb-grid span:nth-child(2) { background: linear-gradient(135deg, oklch(0.85 0.07 60) 0%, oklch(0.72 0.11 45) 100%); }
.scan-thumb-grid span:nth-child(3) { background: linear-gradient(135deg, oklch(0.82 0.08 140) 0%, oklch(0.70 0.10 160) 100%); }
.scan-thumb-grid span:nth-child(4) { background: linear-gradient(135deg, oklch(0.88 0.06 200) 0%, oklch(0.74 0.10 220) 100%); }

.scan-meters {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
}
.scan-score {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.scan-score small { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.scan-score-label {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--status-warn);
  font-weight: 600;
  align-self: flex-end;
}
.scan-card:has(.scan-tag--bad) .scan-score-label { color: var(--status-error); }
.scan-bar {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.scan-bar-label { color: var(--ink-2); font-weight: 500; }
.scan-bar-track {
  height: 6px;
  border-radius: 3px;
  background: oklch(0.94 0.003 250);
  overflow: hidden;
  display: block;
}
.scan-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}
.scan-bar-fill--ok { background: var(--status-ok); }
.scan-bar-fill--warn { background: var(--status-warn); }
.scan-bar-fill--bad { background: var(--status-error); }
.scan-bar-val {
  font-family: var(--font-mono);
  color: var(--ink-3);
  text-align: right;
  font-size: 10.5px;
}

.scan-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  color: var(--ink-3);
}
.scan-foot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-warn);
}
.scan-foot-dot--bad { background: var(--status-error); }

/* --- Mock: Domain masking diagram --- */
.mask-diagram {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mask-top { display: flex; justify-content: center; width: 100%; }
.mask-node--meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.mask-node-icon { color: #1877f2; display: inline-flex; }
.mask-wires {
  position: relative;
  width: 70%;
  height: 28px;
}
.mask-wire {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  border-top: 0;
}
.mask-wire--left {
  left: 0;
  border-left: 1px solid color-mix(in oklch, var(--accent) 45%, var(--hairline));
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 45%, var(--hairline));
  border-bottom-left-radius: 10px;
}
.mask-wire--right {
  right: 0;
  border-right: 1px dashed var(--hairline-strong);
  border-bottom: 1px dashed var(--hairline-strong);
  border-bottom-right-radius: 10px;
}
.mask-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}
.mask-screen {
  flex: 1;
  max-width: 240px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mask-screen--clean { border: 1.5px solid var(--accent); }
.mask-screen--real { border: 1px solid var(--hairline); }
.mask-screen-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  background: oklch(0.97 0.002 250);
  border-bottom: 1px solid var(--hairline);
}
.mask-screen--clean .mask-screen-bar { background: var(--accent-bg); border-bottom-color: color-mix(in oklch, var(--accent) 20%, var(--hairline)); }
.mask-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: oklch(0.85 0.005 250);
}
.mask-url {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-2);
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 110px;
}
.mask-screen-body {
  aspect-ratio: 16 / 10;
  height: auto;
  width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.mask-screen-body img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 10;
}
.mask-screen-body--clean {
  background: #fff;
}
.mask-screen-body--clean::before,
.mask-screen-body--clean::after,
.mask-screen-body--real::before,
.mask-screen-body--real::after { display: none !important; content: none !important; }
.mask-screen-body--real {
  background: #fff;
}
.mask-screen-body--real::before,
.mask-screen-body--real::after {
  content: "";
  flex: 1;
  height: 100%;
  border-radius: 2px;
}
.mask-screen-body--real::before { background: linear-gradient(135deg, oklch(0.85 0.08 30), oklch(0.72 0.12 20)); }
.mask-screen-body--real::after { background: linear-gradient(135deg, oklch(0.82 0.08 180), oklch(0.70 0.10 220)); }
.mask-screen-label {
  font-size: 9.5px;
  text-align: center;
  padding: 5px 4px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--hairline);
}
.mask-screen--clean .mask-screen-label { color: var(--accent); border-top-color: color-mix(in oklch, var(--accent) 20%, var(--hairline)); }
.mask-arrow {
  font-size: 14px;
  color: var(--ink-3);
  flex-shrink: 0;
}

/* --- Mock: Keyword cleansing diagram --- */
.clean-diagram {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.clean-col {
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.clean-col--before {
  border: 1px solid color-mix(in oklch, var(--status-error) 25%, var(--hairline));
  background: color-mix(in oklch, var(--status-error) 3%, #fff);
}
.clean-col--after {
  border: 1px solid color-mix(in oklch, var(--status-ok) 25%, var(--hairline));
  background: color-mix(in oklch, var(--status-ok) 3%, #fff);
}
.clean-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.clean-col--before .clean-col-label { color: var(--status-error); }
.clean-col--after .clean-col-label { color: var(--status-ok); }

.clean-product {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.clean-product-img {
  aspect-ratio: 3 / 2;
  border-radius: 3px;
  background: linear-gradient(135deg, oklch(0.90 0.04 200) 0%, oklch(0.78 0.08 220) 100%);
  position: relative;
  overflow: hidden;
}
.clean-product-img::after {
  content: "";
  position: absolute;
  inset: 20% 30% 30%;
  background: oklch(0.96 0.02 200 / 0.6);
  border-radius: 6px 6px 2px 2px;
}
.clean-product-name {
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
  display: inline;
}
.clean-product-name span { display: inline; margin-right: 3px; }
.clean-flag {
  background: var(--status-error-bg);
  color: var(--status-error);
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 600;
}
.clean-product-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.clean-kvs {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  border-top: 1px dashed var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.clean-kvs li {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: baseline;
}
.clean-kvs li > span { color: var(--ink-3); }
.clean-kvs code {
  color: var(--ink);
  font-family: inherit;
  background: oklch(0.97 0.002 250);
  padding: 1px 4px;
  border-radius: 2px;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clean-kvs code.clean-flag { background: var(--status-error-bg); color: var(--status-error); font-weight: 600; }

.clean-arrow {
  align-self: center;
  color: var(--ink-3);
  padding: 0 2px;
}

@media (max-width: 520px) {
  .clean-diagram { grid-template-columns: 1fr; }
  .clean-arrow { transform: rotate(90deg); }
  .mock-ad-row { grid-template-columns: 1fr 1fr; }
  .mock-ad:nth-child(3) { display: none; }
  .mock-tr { grid-template-columns: 1.5fr 0.6fr; }
  .mock-tr > *:last-child { display: none; }
  .flow-row { grid-template-columns: 72px 1fr; }
  .flow-row .status { display: none; }
}

/* =========================================================
   "Technical detail" disclosure wrapper (ladder + ba-diagram)
   ========================================================= */
.ladder-details {
  margin-top: var(--s-7);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: var(--surface-muted);
  overflow: hidden;
}
.ladder-details > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.ladder-details > summary::-webkit-details-marker { display: none; }
.ladder-sum-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ladder-sum-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.ladder-sum-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-2);
}
.ladder-sum-icon::before,
.ladder-sum-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease;
}
.ladder-sum-icon::before {
  left: 50%; top: 25%; bottom: 25%;
  width: 1.5px;
  transform: translateX(-50%);
}
.ladder-sum-icon::after {
  top: 50%; left: 25%; right: 25%;
  height: 1.5px;
  transform: translateY(-50%);
}
.ladder-details[open] .ladder-sum-icon::before { transform: translateX(-50%) scaleY(0); }
.ladder-details-body {
  padding: 0 var(--s-6) var(--s-6);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-6);
}

/* ===== Booking modal ===== */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.book-modal[hidden] { display: none; }
.book-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.book-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--dark-canvas) 70%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

.book-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - var(--s-6));
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: var(--s-7) var(--s-6) var(--s-6);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 24px 48px -12px rgba(15, 23, 42, 0.32),
    0 50px 100px -20px rgba(15, 23, 42, 0.45);
  transform: translateY(8px) scale(0.99);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.book-modal.is-open .book-card { transform: translateY(0) scale(1); }
.book-card:focus-visible { outline: none; }

.book-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.book-close:hover {
  background: var(--surface-muted);
  color: var(--ink);
  border-color: var(--hairline);
}
.book-close:focus-visible {
  outline: 3px solid var(--accent-ring);
  outline-offset: 2px;
}

.book-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding-right: var(--s-6);
}
.book-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.book-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.book-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.book-row { display: contents; }
.book-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 480px) {
  .book-row--two { grid-template-columns: 1fr; }
}

.book-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.book-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  font-family: var(--font-mono);
}
.book-label-hint {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 4px;
}

.book-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-2);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
  appearance: none;
  -webkit-appearance: none;
}
.book-input::placeholder { color: var(--ink-3); }
.book-input:hover { border-color: var(--ink-3); }
.book-input:focus,
.book-input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.book-field.has-error .book-input {
  border-color: var(--status-error);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--status-error) 18%, transparent);
}

.book-select-wrap { position: relative; }
.book-select {
  padding-right: 38px;
  cursor: pointer;
  background-color: var(--surface);
}
.book-select:invalid { color: var(--ink-3); }
.book-select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

.book-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .book-chips { grid-template-columns: repeat(2, 1fr); }
}
.book-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-2);
  background: var(--surface);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
  user-select: none;
}
.book-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.book-chip:hover { border-color: var(--ink-3); }
.book-chip:has(input:checked) {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}
.book-chip:has(input:focus-visible) {
  box-shadow: 0 0 0 4px var(--accent-ring);
  border-color: var(--accent);
}
.book-field.has-error .book-chip { border-color: var(--status-error); }

.book-error {
  font-size: 12.5px;
  color: var(--status-error);
  min-height: 0;
  line-height: 1.4;
}
.book-field:not(.has-error) .book-error { display: none; }

.book-submit {
  width: 100%;
  margin-top: var(--s-2);
  height: 52px;
  font-size: 15px;
  position: relative;
}
.book-submit-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: book-spin 0.7s linear infinite;
  display: none;
}
.book-form.is-submitting .book-submit-label { display: none; }
.book-form.is-submitting .book-submit-spinner { display: inline-block; }
.book-form.is-submitting .book-submit { pointer-events: none; opacity: 0.85; }
@keyframes book-spin { to { transform: rotate(360deg); } }

.book-fineprint {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.book-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--status-ok-bg);
  color: var(--status-ok);
  flex-shrink: 0;
}

.book-success[hidden] { display: none !important; }
.book-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-3);
}
.book-success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--status-ok-bg);
  color: var(--status-ok);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-2);
}
.book-success-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.book-success-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 360px;
}
.book-success .btn { margin-top: var(--s-3); }

@media (max-width: 480px) {
  .book-modal { padding: 0; align-items: flex-end; }
  .book-card {
    max-height: 92vh;
    border-radius: var(--r-3) var(--r-3) 0 0;
    padding: var(--s-6) var(--s-5) var(--s-5);
  }
  .book-title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .book-modal,
  .book-card { transition: none; }
  .book-submit-spinner { animation: none; }
}

body.book-open { overflow: hidden; }

/* ===== Thank-you page ===== */
.thanks {
  padding-top: var(--s-8);
  padding-bottom: var(--s-9);
}
.thanks-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.thanks-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}
.thanks-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.thanks-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--status-ok-bg);
  color: var(--status-ok);
}
.thanks-title {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 720px;
}
.thanks-name { color: var(--accent); }
.thanks-sub {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
}

.calendly-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 32px -10px rgba(15, 23, 42, 0.18);
  text-align: left;
}
.calendly-inline-widget {
  width: 100%;
  border: 0;
}

.thanks-reassure {
  list-style: none;
  margin: var(--s-7) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-5) var(--s-7);
}
.thanks-reassure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--status-ok-bg);
  color: var(--status-ok);
  flex-shrink: 0;
}
.thanks-secondary {
  margin: var(--s-6) 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

@media (max-width: 768px) {
  .thanks { padding-top: var(--s-7); padding-bottom: var(--s-8); }
  .calendly-inline-widget { height: 1080px !important; }
}
@media (max-width: 480px) {
  .thanks-reassure { flex-direction: column; gap: var(--s-3); }
}

