/* === CrawlReady shared components (single source) === */
/* ==========================================================================
   CrawlReady shared component stylesheet — single source of truth for:
   design tokens, base type, header/nav/footer + hamburger, buttons,
   content primitives, auth screens, report modules, GBP/NAP tools,
   competitor compare, admin panels.
   build.py stamps this in front of each property's own stylesheet at
   build time: dist/*.css = components/shared.css + <site>/<site>.css
   Brand: teal #1e5f7b (primary), orange #ff7e00 (secondary). NO BLUE.
   ========================================================================== */

:root {
  color-scheme: light;
  --teal: #1e5f7b;
  --teal-dark: #164a61;
  --teal-ink: #0f3c50;
  --orange: #ff7e00;
  --orange-dark: #e56f00;
  --ink: #1a2b33;
  --muted: #5a6f78;
  --bg: #ffffff;
  --bg-soft: #f4f7f8;
  --bg-sage: #eef3f1;
  --border: #dde5e8;
  --red: #c0392b;
  --red-bg: #fde8e8;
  --amber: #b7791f;
  --amber-bg: #fef3e2;
  --green: #1e7e34;
  --green-bg: #e6f4ea;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ---------- Header / nav / hamburger ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; color: var(--teal); }
.brand-word { font-size: 23px; font-weight: 800; letter-spacing: -0.5px; color: var(--teal); }
.brand-word em { font-style: normal; color: var(--orange); }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { font-size: 15px; color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--teal); }
.nav-cta { background: var(--orange); color: #fff !important; padding: 10px 22px; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--orange-dark); }
.nav-toggle { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--teal); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* slim app header (logo + token pill + auth nav) */
.app-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.app-header-inner { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.app-head-right { display: flex; align-items: center; gap: 14px; }
.token-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 700; color: var(--teal); }
.token-pill svg { width: 15px; height: 15px; color: var(--orange); }
.token-pill a { color: var(--orange-dark); font-weight: 700; }
.admin-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; background: var(--teal-ink); color: #fff; padding: 6px 14px; border-radius: 999px; }

/* auth pages: logo only */
body.auth-page .token-pill, body.auth-page .admin-tag,
body.auth-page .site-nav, body.auth-page .hamburger { display: none !important; }
body.admin-mode .nav-app, body.admin-mode .token-pill { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: #cfe0e7; margin-top: 72px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 44px 24px 28px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-mark { color: var(--orange); }
.footer-brand p { margin-top: 10px; font-size: 14.5px; color: #9fb8c2; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { font-size: 14.5px; color: #cfe0e7; }
.footer-nav a:hover { color: #fff; }
.footer-fine { border-top: 1px solid rgba(255,255,255,.14); text-align: center; padding: 16px 24px; font-size: 13px; color: #9fb8c2; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; border: none; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-orange:disabled { opacity: .55; cursor: not-allowed; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ---------- Content primitives ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.12; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 12px; }
.lede { font-size: 18px; color: var(--muted); max-width: 620px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; margin-bottom: 14px; }
.prose ul { padding-left: 22px; }
.page-hero { padding: 64px 0 24px; }

/* ---------- Severity / impact badges ---------- */
.sev { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 3px 12px; border-radius: 999px; margin-left: 10px; vertical-align: 2px; }
.sev-high { background: var(--red-bg); color: var(--red); }
.sev-med { background: var(--amber-bg); color: var(--amber); }
.sev-low { background: var(--green-bg); color: var(--green); }
.severity { flex-shrink: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 5px 12px; border-radius: 6px; margin-top: 2px; }

/* ---------- Auth screens ---------- */
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg-soft); min-height: calc(100vh - 120px); }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 40px; width: 100%; max-width: 440px; box-shadow: 0 12px 40px rgba(30,95,123,.08); }
.auth-card h1 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 8px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.auth-error { display: none; background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.field { position: relative; margin-bottom: 18px; }
.field input { width: 100%; padding: 24px 16px 10px; border: 2px solid var(--border); border-radius: 10px; font-size: 15px; outline: none; transition: border-color .15s; background: #fff; font-family: inherit; }
.field input:focus { border-color: var(--teal); }
.field label { position: absolute; left: 16px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .15s ease; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 8px; font-size: 12px; font-weight: 600; color: var(--teal); }
.show-pw { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 2px 0 18px; cursor: pointer; user-select: none; }
.show-pw input { width: 16px; height: 16px; accent-color: var(--teal); }
.auth-btn { display: block; width: 100%; padding: 15px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; border: none; text-align: center; background: var(--orange); color: #fff; margin-top: 8px; }
.auth-btn:hover { background: var(--orange-dark); }
.auth-btn:disabled { opacity: .5; cursor: not-allowed; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; border: 2px solid var(--border); color: var(--ink); }
.btn-google:hover { border-color: #bbb; }
.btn-google svg { width: 20px; height: 20px; }
.switch { text-align: center; margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.switch a { color: var(--teal); font-weight: 600; }

/* ---------- Report ---------- */
.report-wrap { max-width: 880px; margin: 0 auto; padding: 36px 24px 80px; }
.score-hero { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; text-align: center; margin-bottom: 24px; }
.score-hero .url { font-size: 15px; color: var(--muted); }
.score-hero .date { font-size: 13px; color: var(--muted); margin-top: 2px; }
.score-ring { width: 150px; height: 150px; border-radius: 50%; margin: 20px auto; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--ringc, var(--orange)) 0% var(--pct, 0%), #e8eef0 var(--pct, 0%) 100%); }
.score-ring .inner { width: 118px; height: 118px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.score-ring .num { font-size: 44px; font-weight: 800; line-height: 1; }
.score-ring .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.verdict { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.verdict-sub { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 15.5px; }
.section-label { font-size: 22px; font-weight: 800; margin: 40px 0 6px; letter-spacing: -0.3px; }
.section-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 8px; }
.cat-chip { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 8px; text-align: center; }
.cat-chip .s { font-size: 20px; font-weight: 800; }
.cat-chip .n { font-size: 11.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.viz-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.viz-card h3 { font-size: 17px; margin-bottom: 4px; }
.viz-card .viz-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
/* horizontal bar chart */
.hbar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hbar-row:last-child { margin-bottom: 0; }
.hbar-name { flex: 0 0 150px; font-size: 13.5px; font-weight: 600; text-align: right; }
.hbar-track { flex: 1; background: #eef2f3; border-radius: 999px; height: 22px; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 999px; }
.hbar-fill.teal { background: var(--teal); }
.hbar-fill.orange { background: var(--orange); }
.hbar-fill.red { background: var(--red); }
.hbar-score { flex: 0 0 34px; font-size: 14px; font-weight: 800; text-align: right; }
/* vertical bar chart (local stacking) */
.vbar-chart { display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 220px; padding-top: 30px; }
.vbar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1; max-width: 110px; }
.vbar-score { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.vbar { width: 100%; border-radius: 8px 8px 0 0; }
.vbar.teal { background: var(--teal); }
.vbar.gray { background: #b9c8cd; }
.vbar.orange { background: var(--orange); }
.vbar-name { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.35; min-height: 32px; }
.vbar-name strong { color: var(--ink); }
/* ranked fix cards */
.rank-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; margin-bottom: 16px; display: flex; gap: 20px; }
.rank-num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.rank-card.impact-high .rank-num { background: var(--orange); }
.rank-body { flex: 1; min-width: 0; }
.rank-body h3 { font-size: 18px; margin-bottom: 2px; }
.rank-cat { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; font-weight: 700; margin-bottom: 10px; }
.rank-body .why { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.fix { background: var(--bg-soft); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 14.5px; }
.fix strong { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--teal); margin-bottom: 6px; }
.fix code, .snippet code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.snippet { background: var(--teal-ink); color: #d9e8ee; border-radius: 8px; padding: 14px 18px; margin-top: 10px; overflow-x: auto; white-space: pre; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.report-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.callout-note { background: #eef5f8; border: 1px solid #cfe0e8; border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--ink); margin-bottom: 18px; }
.callout-note strong { color: var(--teal); }

/* ---------- GBP checklist ---------- */
.meter-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 16px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.meter-label { font-size: 14px; font-weight: 700; color: var(--teal); }
.meter-count { font-size: 14px; font-weight: 700; color: var(--ink); }
.meter-bar { height: 10px; background: #e8eef0; border-radius: 999px; overflow: hidden; }
.meter-fill { height: 100%; width: 0%; background: var(--teal); border-radius: 999px; transition: width .3s ease; }
.gbp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 24px 16px; margin-bottom: 16px; }
.gbp-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.gbp-row:last-child { border-bottom: none; }
.gbp-q { font-size: 15px; font-weight: 600; }
.gbp-q small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.yn-toggle { display: flex; border: 2px solid var(--border); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.yn-toggle button { border: none; background: #fff; padding: 8px 20px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--muted); }
.yn-toggle button:first-child { border-right: 2px solid var(--border); }
.yn-toggle button.on-yes { background: var(--green-bg); color: var(--green); }
.yn-toggle button.on-no { background: var(--red-bg); color: var(--red); }
.gbp-fix { display: none; background: #fff8f2; border: 1px solid #f3d9b8; border-radius: 10px; padding: 14px 18px; margin: 4px 0 12px; font-size: 14px; }
.gbp-fix.show { display: block; }
.gbp-fix strong { color: var(--orange-dark); }
.gbp-fix ol, .gbp-fix ul { margin: 8px 0 0 20px; }
.gbp-fix li { margin-bottom: 6px; }

/* ---------- NAP consistency check ---------- */
.consist-grid { display: grid; grid-template-columns: 130px 1fr 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 18px; }
.consist-grid .cg-head { background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 12px 14px; }
.consist-grid .cg-label { background: var(--bg-soft); font-size: 14px; font-weight: 700; padding: 12px 14px; border-top: 1px solid var(--border); display: flex; align-items: center; }
.consist-grid .cg-cell { padding: 8px 10px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.consist-grid input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--ink); }
.consist-grid input:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.consist-result-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.consist-result-row:last-child { border-bottom: none; }
.cr-icon { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.cr-icon svg { width: 14px; height: 14px; }
.cr-pass { background: var(--green-bg); } .cr-pass svg { stroke: var(--green); }
.cr-fail { background: var(--red-bg); } .cr-fail svg { stroke: var(--red); }
.cr-empty { background: var(--bg-soft); } .cr-empty svg { stroke: var(--muted); }
#consist-results { display: none; }
#consist-results.show { display: block; }
.consist-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }

/* ---------- Competitor compare ---------- */
.compare-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.compare-note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.compare-note strong { color: var(--orange-dark); }
.comp-add { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.comp-add input { flex: 1; min-width: 200px; border: 2px solid var(--border); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-family: inherit; }
.comp-add input:focus { outline: none; border-color: var(--teal); }
.comp-add select { border: 2px solid var(--border); border-radius: 999px; padding: 12px 16px; font-size: 14px; font-family: inherit; color: var(--muted); max-width: 220px; }
.comp-list { list-style: none; margin-bottom: 18px; }
.comp-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bg-soft); font-size: 15px; }
.comp-list li:last-child { border-bottom: none; }
.comp-list .comp-status { font-size: 13px; color: var(--muted); }
.comp-list .comp-status.scanning { color: var(--orange-dark); font-weight: 600; }
.comp-list .comp-status.done { color: var(--green); font-weight: 700; }
.comp-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }

/* ---------- Local query test ---------- */
.query-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; }
.query-row { display: flex; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.query-row:last-child { border-bottom: none; }
.query-row .q { font-weight: 700; display: block; margin-bottom: 2px; }
.query-row .a { color: var(--muted); }
.query-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.query-ic svg { width: 14px; height: 14px; }
.query-ic.bad { background: var(--red-bg); } .query-ic.bad svg { stroke: var(--red); }
.query-ic.good { background: var(--green-bg); } .query-ic.good svg { stroke: var(--green); }

/* ---------- Admin ---------- */
.admin-wrap { max-width: 1120px; margin: 0 auto; padding: 36px 24px 80px; }
.admin-wrap h1 { font-size: 30px; letter-spacing: -0.8px; margin-bottom: 6px; }
.admin-sub { color: var(--muted); margin-bottom: 4px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.stat .v { font-size: 32px; font-weight: 800; color: var(--teal); }
.stat .l { font-size: 13px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 20px; overflow-x: auto; }
.panel h2 { font-size: 19px; margin-bottom: 14px; }
.panel table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.panel th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--border); }
.panel td { padding: 10px; border-bottom: 1px solid var(--bg-soft); }
.panel tr:last-child td { border-bottom: none; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.tag.ok { background: var(--green-bg); color: var(--green); }
.tag.err { background: var(--red-bg); color: var(--red); }
.tag.warn { background: var(--amber-bg); color: var(--amber); }
.delta-pos { color: var(--green); font-weight: 700; }
.delta-neg { color: var(--red); font-weight: 700; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.inline-form input[type="email"] { flex: 1 1 260px; max-width: 340px; }
.inline-form input[type="number"] { width: 110px; }
.inline-form input { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; }
.inline-form input:focus { outline: none; border-color: var(--teal); }
.inline-form .btn { padding: 12px 24px; font-size: 15px; }
.form-msg { font-size: 14px; font-weight: 600; color: var(--muted); }
.form-msg.form-ok { color: var(--green); }
.form-msg.form-err { color: var(--red); }
.admin-login-row { display: flex; align-items: center; gap: 12px; }

/* ---------- Service-unavailable / empty states ---------- */
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 48px 40px; text-align: center; max-width: 560px; margin: 80px auto; }
.service-card h1 { font-size: 26px; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .hamburger { display: flex; }
  .header-inner, .app-header-inner { position: relative; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 24px 20px; border-bottom: 1px solid var(--border); gap: 0; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--bg-soft); font-size: 16px; }
  .site-nav a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .section { padding: 52px 0; }
  .token-pill { padding: 6px 12px; font-size: 13px; }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .rank-card { padding: 20px; gap: 14px; }
  .hbar-name { flex: 0 0 108px; font-size: 12px; }
  .vbar-chart { gap: 10px; height: 190px; }
  .vbar-name { font-size: 10px; }
  .gbp-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .consist-grid { grid-template-columns: 1fr; }
  .consist-grid .cg-head { display: none; }
  .consist-grid .cg-label { border-left: none; }
  .consist-grid .cg-cell { border-left: none; }
  .consist-grid .cg-cell::before { content: attr(data-src); display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 4px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .auth-card { padding: 36px 28px; }
}

/* === marketing property styles === */
/* CrawlReady marketing + help site-specific styles.
   Shared system (tokens, header/footer, buttons, hamburger, type) comes
   from components/shared.css, prepended at build time. */

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); padding: 88px 0 72px; text-align: center; }
.hero .lede { margin: 18px auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.score-strip { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.score-strip .pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--teal); }
.score-strip .pill svg { width: 16px; height: 16px; color: var(--orange); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px; }
.step-card .step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; }
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 15.5px; }
.step-card .art-icon { width: 34px; height: 34px; color: var(--teal); margin-bottom: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
.price-card { background: #fff; border: 2px solid var(--border); border-radius: 16px; padding: 36px 30px; text-align: center; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--orange); box-shadow: 0 12px 40px rgba(255,126,0,.16); position: relative; }
.price-card .flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 4px 16px; border-radius: 999px; white-space: nowrap; }
.price-card .tokens { font-size: 15px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -1px; margin-bottom: 4px; }
.price-card .per { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 28px; flex: 1; }
.price-card li { font-size: 15px; color: var(--muted); padding: 7px 0 7px 30px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.pricing-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 14.5px; }

/* ---------- FAQ (details/summary, zero JS) ---------- */
.faq-list { max-width: 760px; margin: 32px 0 0; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-list summary { padding: 18px 22px; font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chev { flex: none; width: 20px; height: 20px; color: var(--teal); transition: transform .2s; }
.faq-list details[open] summary .chev { transform: rotate(180deg); }
.faq-list .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq-body code { background: var(--bg-soft); padding: 2px 7px; border-radius: 6px; font-size: 14px; color: var(--teal-dark); }

/* ---------- Sample report strip ---------- */
.sample-band { background: var(--teal-ink); color: #eaf3f6; }
.sample-band h2 { color: #fff; }
.sample-band .lede { color: #a9c3cd; }
.report-mini { background: #fff; color: var(--ink); border-radius: 16px; max-width: 860px; margin: 36px auto 0; padding: 32px; text-align: left; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.rank-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.rank-row:last-child { border-bottom: none; }
.rank-badge { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rank-badge.low { background: var(--teal); }
.rank-row h4 { font-size: 16px; margin-bottom: 4px; }
.rank-row p { font-size: 14.5px; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .steps, .pricing-grid { grid-template-columns: 1fr; }
}
