/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ──────────────────────────────────────────────────── */
.sa-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.sa-header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  height: 60px; display: flex; align-items: center; gap: 1rem;
}
/* Matches the main site navigation rather than the two-button stub this
   page carried, so a visitor arriving here from an ad can reach the rest
   of the product. */
.sa-nav-links { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.sa-nav-links > a {
  font-size: .875rem; font-weight: 500; color: #64748b; text-decoration: none;
  padding: .5rem .7rem; border-radius: 8px; white-space: nowrap;
}
.sa-nav-links > a:hover { color: #0f172a; background: #f8fafc; }
.sa-nav-links > a[aria-current="page"] { color: #0f172a; font-weight: 700; }
.sa-nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: 1.25rem; }
.sa-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: .4rem; flex-direction: column; gap: 5px; margin-left: auto; color: #334155;
}
.sa-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .2s, opacity .2s;
}
.sa-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sa-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sa-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .sa-header { position: relative; }
  .sa-burger { display: flex; }
  .sa-nav-links, .sa-nav-actions {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid #e2e8f0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: .75rem 1.5rem; margin: 0; z-index: 40;
  }
  .sa-nav-links.open { display: flex; }
  .sa-nav-actions.open { display: flex; position: static; padding: .5rem 1.5rem 1rem; border-bottom: 1px solid #e2e8f0; }
  .sa-nav-links > a, .sa-nav-actions > a { padding: .7rem .75rem; text-align: left; }
}

.sa-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.1rem; color: #1e293b; font-weight: 600; }
.sa-logo-icon {
  width: 32px; height: 32px; background: linear-gradient(135deg, #0F4C81, #0D9488);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .95rem;
}
.sa-logo-icon.sm { width: 26px; height: 26px; font-size: .8rem; border-radius: 6px; }
.sa-nav-links { display: flex; align-items: center; gap: .75rem; }
.sa-nav-link { text-decoration: none; color: #64748b; font-size: .9rem; font-weight: 500; padding: .4rem .75rem; border-radius: 6px; transition: color .15s; }
.sa-nav-link:hover { color: #0F4C81; }
.sa-btn-outline {
  text-decoration: none; border: 1.5px solid #0F4C81; color: #0F4C81;
  font-size: .875rem; font-weight: 600; padding: .4rem .9rem; border-radius: 8px; transition: background .15s, color .15s;
}
.sa-btn-outline:hover { background: #0F4C81; color: #fff; }
.sa-btn-outline.sm { font-size: .8rem; padding: .3rem .7rem; }

/* ── Hero ────────────────────────────────────────────────────── */
/* Clears the fixed header plus the announcement bar, whatever they add
   up to on the day — landing.js publishes the same property. */
.sa-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #0F4C81 100%);
  padding: calc(var(--nav-offset, 70px) + 2.5rem) 1.5rem 4rem; text-align: center;
}
.sa-hero-inner { max-width: 680px; margin: 0 auto; }
.sa-hero-badge {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #7dd3fc; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.sa-hero-title { color: #fff; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.sa-hero-sub { color: #94a3b8; font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; }
.sa-input-form { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.sa-input-wrap { position: relative; flex: 1; min-width: 260px; max-width: 480px; }
.sa-input-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #94a3b8; pointer-events: none; }
.sa-input {
  width: 100%; padding: .85rem 1rem .85rem 2.6rem; border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: .95rem;
  font-family: inherit; outline: none; transition: border .15s, background .15s;
}
.sa-input::placeholder { color: #64748b; }
.sa-input:focus { border-color: #38bdf8; background: rgba(255,255,255,.12); }
.sa-btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #0D9488, #0F4C81); color: #fff;
  font-size: .95rem; font-weight: 700; font-family: inherit; padding: .85rem 1.6rem;
  border: none; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: opacity .15s, transform .1s; box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.sa-btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.sa-error { margin-top: 1rem; background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.35); color: #fca5a5; font-size: .88rem; padding: .7rem 1rem; border-radius: 8px; }
.sa-hero-hint { margin-top: 1.25rem; color: #64748b; font-size: .82rem; }

/* ── Progress ────────────────────────────────────────────────── */
.sa-progress-section { min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.sa-progress-inner { text-align: center; }
.sa-spinner { width: 48px; height: 48px; border: 4px solid #e2e8f0; border-top-color: #0F4C81; border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 1.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.sa-progress-title { font-size: 1.25rem; font-weight: 700; color: #1e293b; margin-bottom: 1.5rem; }
.sa-progress-steps { display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.sa-step { font-size: .88rem; color: #94a3b8; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid transparent; transition: all .25s; }
.sa-step.active { color: #0F4C81; border-color: #0F4C81; background: #eff6ff; font-weight: 600; }
.sa-step.done { color: #16a34a; border-color: #bbf7d0; background: #f0fdf4; }
.sa-step.done::before { content: '✓  '; }

/* ── Report wrapper ──────────────────────────────────────────── */
.sa-report { max-width: 960px; margin: 2.5rem auto; padding: 0 1.25rem 4rem; position: relative; }

/* ── Report header ───────────────────────────────────────────── */
.sa-report-header {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.1rem 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.sa-report-brand { display: flex; align-items: center; gap: .6rem; }
.sa-report-brand-name { font-size: .95rem; font-weight: 700; }
.sa-report-brand-date { font-size: .78rem; color: #94a3b8; }
.sa-report-url { flex: 1; font-size: .88rem; color: #475569; text-align: center; font-weight: 500; word-break: break-all; }
.sa-report-actions { display: flex; gap: .6rem; align-items: center; }
.sa-btn-download {
  display: inline-flex; align-items: center; gap: .4rem; background: #0F4C81;
  color: #fff; font-size: .82rem; font-weight: 600; font-family: inherit;
  padding: .45rem .9rem; border: none; border-radius: 8px; cursor: pointer; transition: opacity .15s;
}
.sa-btn-download:hover { opacity: .85; }

/* ── Score row ───────────────────────────────────────────────── */
.sa-score-row { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.sa-score-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.5rem 1.75rem; display: flex; flex-direction: column; align-items: center; gap: .75rem;
  min-width: 170px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.sa-score-ring-wrap { position: relative; width: 120px; height: 120px; }
.sa-score-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.sa-ring-bg { fill: none; stroke: #f1f5f9; stroke-width: 10; }
.sa-ring-fill { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .6s ease, stroke .4s; }
.sa-score-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sa-score-num { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.sa-score-label { font-size: .72rem; font-weight: 600; color: #94a3b8; margin-top: .1rem; }
.sa-grade-badge {
  font-size: .82rem; font-weight: 700; padding: .3rem .8rem; border-radius: 8px;
}

/* ── Stat chips ──────────────────────────────────────────────── */
.sa-chips-wrap { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; flex: 1; }
.sa-chip {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: .7rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .15rem;
  min-width: 90px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sa-chip-icon { font-size: 1.1rem; }
.sa-chip-val { font-size: .95rem; font-weight: 700; color: #1e293b; }
.sa-chip-label { font-size: .7rem; color: #94a3b8; font-weight: 500; }

/* ── Section overview grid ───────────────────────────────────── */
.sa-overview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .75rem; margin-bottom: 1.5rem;
}
.sa-ov-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem;
  text-align: center; cursor: pointer; transition: box-shadow .15s, transform .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sa-ov-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); transform: translateY(-1px); }
.sa-ov-icon { font-size: 1.4rem; margin-bottom: .35rem; }
.sa-ov-label { font-size: .72rem; font-weight: 600; color: #64748b; margin-bottom: .35rem; line-height: 1.3; }
.sa-ov-score { font-size: 1.2rem; font-weight: 800; margin-bottom: .35rem; }
.sa-ov-bar-wrap { height: 4px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.sa-ov-bar { height: 100%; border-radius: 999px; transition: width .5s ease; }

/* ── Critical banner ─────────────────────────────────────────── */
.sa-critical-banner {
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px;
  padding: 1.1rem 1.25rem; margin-bottom: 1.25rem;
}
.sa-critical-header { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #dc2626; margin-bottom: .75rem; }
.sa-critical-list { list-style: disc; padding-left: 1.5rem; font-size: .84rem; color: #991b1b; display: flex; flex-direction: column; gap: .35rem; }

/* ── Quick wins ──────────────────────────────────────────────── */
.sa-quickwins {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px;
  padding: 1.1rem 1.25rem; margin-bottom: 1.25rem;
}
.sa-qw-header { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #92400e; margin-bottom: .75rem; }
.sa-qw-list { display: flex; flex-direction: column; gap: .35rem; }
.sa-qw-item { font-size: .84rem; color: #78350f; }
.sa-qw-section { font-size: .72rem; color: #a16207; background: #fef3c7; padding: .1rem .45rem; border-radius: 4px; margin-left: .35rem; }

/* ── AI card ─────────────────────────────────────────────────── */
.sa-ai-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border: 1px solid rgba(139,92,246,.3); border-radius: 14px;
  padding: 1.5rem; margin-bottom: 1.5rem; color: #fff;
}
.sa-ai-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.sa-ai-logo { font-size: 1.5rem; }
.sa-ai-title { font-size: 1rem; font-weight: 700; }
.sa-ai-sub { font-size: .78rem; color: rgba(255,255,255,.6); }
.sa-ai-scores { display: flex; gap: .4rem; flex-wrap: wrap; margin-left: auto; }
.sa-ai-pill { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #e0e7ff; font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 6px; }
.sa-ai-summary { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 1rem; }
.sa-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: .75rem; }
@media (max-width: 600px) { .sa-ai-grid { grid-template-columns: 1fr; } }
.sa-ai-col-title { font-size: .78rem; font-weight: 700; margin-bottom: .4rem; }
.sa-ai-col ul { list-style: disc; padding-left: 1.1rem; font-size: .8rem; color: rgba(255,255,255,.75); display: flex; flex-direction: column; gap: .25rem; line-height: 1.4; }
.sa-ai-col p { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.sa-ai-meta { font-size: .78rem; color: rgba(255,255,255,.5); }

/* ── Section cards ───────────────────────────────────────────── */
.sa-sections-wrap { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.sa-section-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); position: relative;
}
.sa-sec-locked { pointer-events: none; }
.sa-sec-lock-overlay {
  position: absolute; inset: 0; background: rgba(248,250,252,.92);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 600; color: #475569; gap: .4rem; z-index: 2;
  border-radius: 14px;
}
.sa-sec-header { padding: 1.1rem 1.5rem; border-bottom: 1px solid #f1f5f9; }
.sa-sec-title { font-size: .95rem; font-weight: 700; color: #1e293b; margin-bottom: .5rem; }
.sa-sec-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .5rem; }
.sa-sec-badge { font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 6px; }
.sa-sec-bar-wrap { height: 5px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.sa-sec-bar { height: 100%; border-radius: 999px; transition: width .5s ease; }

/* ── Checklist rows ──────────────────────────────────────────── */
.sa-checklist { padding: .25rem 0; }
.sa-chk-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .7rem 1.5rem; border-bottom: 1px solid #f8fafc; transition: background .1s;
}
.sa-chk-item:last-child { border-bottom: none; }
.sa-chk-item:hover { background: #f8fafc; }
.sa-chk-icon {
  width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; margin-top: .05rem;
}
.sa-chk-icon-pass     { background: #dcfce7; color: #16a34a; }
.sa-chk-icon-critical { background: #fee2e2; color: #dc2626; }
.sa-chk-icon-warning  { background: #fef3c7; color: #d97706; }
.sa-chk-icon-info     { background: #e0f2fe; color: #0284c7; }
.sa-chk-body { flex: 1; min-width: 0; }
.sa-chk-label { font-size: .86rem; font-weight: 600; color: #1e293b; margin-bottom: .15rem; }
.sa-chk-detail { font-size: .78rem; color: #64748b; line-height: 1.4; word-break: break-word; }
.sa-chk-pts { font-size: .78rem; font-weight: 700; color: #94a3b8; white-space: nowrap; padding-top: .05rem; }
.sa-chk-pass .sa-chk-pts { color: #16a34a; }

.sa-effort {
  display: inline-block; font-size: .68rem; font-weight: 700; padding: .1rem .4rem;
  border-radius: 4px; margin-left: .4rem; text-transform: uppercase; letter-spacing: .04em;
}
.sa-effort-easy   { background: #dcfce7; color: #166534; }
.sa-effort-medium { background: #fef3c7; color: #92400e; }
.sa-effort-hard   { background: #fee2e2; color: #991b1b; }

/* ── Recommendations ─────────────────────────────────────────── */
.sa-recs-wrap {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); margin-bottom: 1.5rem;
}
.sa-recs-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .75rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid #f1f5f9;
}
.sa-recs-title { font-size: 1rem; font-weight: 700; }
.sa-recs-tabs { display: flex; gap: .3rem; }
.sa-rec-tab {
  font-size: .78rem; font-weight: 600; font-family: inherit; padding: .3rem .7rem;
  border-radius: 7px; border: 1.5px solid #e2e8f0; background: #fff; color: #64748b;
  cursor: pointer; transition: all .15s;
}
.sa-rec-tab:hover { border-color: #0F4C81; color: #0F4C81; }
.sa-rec-tab.active { background: #0F4C81; border-color: #0F4C81; color: #fff; }
.sa-rec-group { padding: .75rem 1.25rem 0; }
.sa-rec-group:last-child { padding-bottom: .75rem; }
.sa-rec-group-title { font-size: .8rem; font-weight: 700; margin-bottom: .5rem; }
.sa-rec-item {
  display: flex; align-items: flex-start; gap: .6rem; padding: .7rem .9rem;
  border-radius: 8px; font-size: .84rem; line-height: 1.5; color: #1e293b; margin-bottom: .4rem;
}
.sa-rec-icon { font-size: 1rem; flex-shrink: 0; margin-top: .05rem; }
.sa-rec-empty { padding: 1.5rem; text-align: center; color: #94a3b8; font-size: .88rem; }

/* ── Sign-in gate ────────────────────────────────────────────── */
.sa-gate {
  position: sticky; bottom: 0; display: flex; justify-content: center;
  padding: 2rem 1.5rem 2.5rem;
  background: linear-gradient(to bottom, transparent, rgba(248,250,252,.97) 30%);
  z-index: 10; margin-top: -4rem;
}
.sa-gate-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem 2.5rem;
  text-align: center; max-width: 400px; width: 100%; box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.sa-gate-icon { font-size: 2rem; margin-bottom: .75rem; }
.sa-gate-title { font-size: 1.15rem; font-weight: 800; color: #1e293b; margin-bottom: .5rem; }
.sa-gate-sub { font-size: .88rem; color: #64748b; line-height: 1.5; margin-bottom: 1.5rem; }
.sa-btn-google {
  display: inline-flex; align-items: center; gap: .65rem; background: #fff;
  border: 1.5px solid #e2e8f0; color: #1e293b; font-size: .9rem; font-weight: 600;
  font-family: inherit; padding: .7rem 1.4rem; border-radius: 10px; text-decoration: none;
  transition: border-color .15s, box-shadow .15s; box-shadow: 0 1px 4px rgba(0,0,0,.08);
  width: 100%; justify-content: center;
}
.sa-btn-google:hover { border-color: #4285F4; box-shadow: 0 2px 8px rgba(66,133,244,.2); }
.sa-gate-fine { font-size: .76rem; color: #94a3b8; margin-top: .85rem; }

/* ── Lead capture form ───────────────────────────────────────── */
.sa-gate-divider {
  display: flex; align-items: center; gap: .5rem;
  margin: 1rem 0 .75rem; color: #94a3b8; font-size: .78rem;
}
.sa-gate-divider::before, .sa-gate-divider::after {
  content: ''; flex: 1; height: 1px; background: #e2e8f0;
}
.sa-lead-form { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.sa-lead-input {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid #e2e8f0; border-radius: 9px;
  font-size: .88rem; font-family: inherit; color: #1e293b; outline: none;
  transition: border .15s; background: #fff;
}
.sa-lead-input:focus { border-color: #0F4C81; }
.sa-lead-input::placeholder { color: #94a3b8; }
.sa-lead-btn {
  width: 100%; padding: .65rem; background: #0D9488; color: #fff;
  font-size: .88rem; font-weight: 700; font-family: inherit; border: none;
  border-radius: 9px; cursor: pointer; transition: opacity .15s;
}
.sa-lead-btn:hover { opacity: .88; }
.sa-lead-btn:disabled { opacity: .6; cursor: not-allowed; }
.sa-lead-err { font-size: .8rem; color: #dc2626; margin-top: .25rem; }
.sa-lead-thanks { font-size: .88rem; color: #059669; font-weight: 600; padding: .6rem; background: #f0fdf4; border-radius: 8px; margin-bottom: .75rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.sa-footer { background: #0f172a; padding: 1.25rem 1.5rem; margin-top: 2rem; }
.sa-footer-inner {
  max-width: 960px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  font-size: .82rem; color: #475569;
}
.sa-footer-cta { color: #38bdf8; text-decoration: none; font-weight: 600; transition: color .15s; }
.sa-footer-cta:hover { color: #7dd3fc; }

/* ── Print / PDF ─────────────────────────────────────────────── */
@media print {
  body { background: #fff; }
  .sa-header, .sa-hero, .sa-progress-section, .sa-report-actions,
  .sa-recs-tabs, .sa-gate, .sa-footer, .sa-ov-card { display: none !important; }
  .sa-report { max-width: 100%; margin: 0; padding: 0; }
  .sa-report-header { border: none; box-shadow: none; border-bottom: 2px solid #0F4C81; border-radius: 0; margin-bottom: 1rem; padding: .75rem 0; }
  .sa-score-row, .sa-overview-grid, .sa-section-card { break-inside: avoid; }
  .sa-section-card { box-shadow: none; }
  .sa-sec-locked { pointer-events: auto; }
  .sa-sec-lock-overlay { display: none; }
  .sa-gate { display: none !important; }
}
body.printing .sa-gate { display: none !important; }
body.printing .sa-sec-lock-overlay { display: none !important; }
body.printing .sa-sec-locked { pointer-events: auto; opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE
   This page had one breakpoint (the AI grid) and nothing else, so on
   a phone it kept the desktop landing-page proportions: a 5rem hero
   opener before the headline, 1.5rem gutters through every card, a
   score card and its stat chips fighting over one row, and inputs
   below 16px that make iOS zoom the whole page on focus. The page is
   a lead-capture tool, so the URL field and the gate form matter more
   here than anywhere else.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  /* The score dial and the stat chips were siblings in one flex row,
     leaving the chips about 135px — a single column of chips beside a
     176px card. They get their own rows. */
  .sa-score-row { flex-direction: column; gap: .75rem; margin-bottom: 1.1rem; }
  .sa-score-card { width: 100%; flex-direction: row; justify-content: center; gap: 1.25rem; }
  .sa-chips-wrap { width: 100%; gap: .45rem; }
  .sa-chip {
    flex: 1 1 auto;
    min-width: calc(33.333% - .35rem);   /* three across, with headroom */
    padding: .55rem .35rem;
  }
  .sa-chip-label { text-align: center; line-height: 1.25; }
}

@media (max-width: 640px) {
  .sa-header-inner { padding: 0 .9rem; height: 54px; }
  .sa-nav-links { gap: .35rem; }
  .sa-nav-link { padding: .4rem .5rem; font-size: .82rem; }

  /* 5rem of hero before the headline is 80px of nothing on a phone, and
     the URL field is the reason anyone opened this page. */
  .sa-hero { padding: 2.25rem 1rem 2.5rem; }
  .sa-hero-badge { margin-bottom: .85rem; font-size: .7rem; }
  .sa-hero-sub { font-size: .92rem; margin-bottom: 1.35rem; }
  .sa-input-form { gap: .55rem; }
  .sa-input-wrap { min-width: 0; max-width: none; flex: 1 1 100%; }
  .sa-input { font-size: 16px; }          /* under 16px iOS zooms the page */
  .sa-btn-primary { width: 100%; justify-content: center; padding: .8rem 1rem; }

  .sa-progress-section { padding: 2rem 1rem; }

  .sa-report { margin: 1.25rem auto; padding: 0 .9rem 2.5rem; }
  .sa-report-header { padding: .9rem 1rem; gap: .7rem; }
  /* Centring the URL only reads as centred when it sits between the
     brand and the actions; once they stack it just looks misaligned. */
  .sa-report-url { text-align: left; flex: 1 1 100%; font-size: .82rem; }
  .sa-report-actions { width: 100%; }
  .sa-report-actions > * { flex: 1 1 auto; justify-content: center; min-height: 40px; }

  .sa-score-card { padding: 1.1rem; }
  .sa-score-ring-wrap, .sa-score-ring { width: 96px; height: 96px; }
  .sa-score-num { font-size: 1.4rem; }

  .sa-overview-grid { gap: .5rem; margin-bottom: 1.1rem; }
  .sa-ov-card { padding: .7rem .5rem; }
  .sa-ov-icon { font-size: 1.15rem; }
  .sa-ov-label { font-size: .66rem; }
  .sa-ov-score { font-size: 1rem; }

  .sa-critical-banner, .sa-quickwins { padding: .9rem 1rem; }
  .sa-critical-list { padding-left: 1.1rem; }

  .sa-ai-card { padding: 1.1rem; }
  .sa-ai-header { gap: .6rem; margin-bottom: .85rem; }
  .sa-ai-scores { margin-left: 0; }       /* margin-left:auto has no meaning once it wraps */

  .sa-sec-header { padding: .9rem 1rem; }
  .sa-chk-item { padding: .65rem 1rem; }
  .sa-recs-head { padding: .9rem 1rem; }
  .sa-recs-tabs { width: 100%; gap: .3rem; }
  .sa-rec-tab { flex: 1 1 auto; min-width: 0; padding: .45rem .3rem; min-height: 36px; }
  .sa-rec-item { padding: .6rem .7rem; font-size: .81rem; }

  /* The gate is where a visitor becomes a lead — 2.5rem of side padding
     inside a 283px card left the form 203px wide. */
  .sa-gate { padding: 1.5rem 1rem 2rem; margin-top: -2.5rem; }
  .sa-gate-card { padding: 1.35rem 1.25rem; border-radius: 14px; }
  .sa-gate-title { font-size: 1.05rem; }
  .sa-gate-sub { font-size: .84rem; margin-bottom: 1.1rem; }
  .sa-lead-input, .sa-lead-btn { font-size: 16px; }
  .sa-btn-google { padding: .75rem 1rem; font-size: .86rem; }

  .sa-footer { padding: 1rem; }
  .sa-footer-inner { font-size: .78rem; justify-content: center; text-align: center; }
}
