:root {
  --bg: #ffffff; --bg-soft: #f5f7fa; --panel: #ffffff; --panel2: #f6f8fb;
  --line: #e6e9ef; --line2: #eef1f6;
  --txt: #1d2330; --muted: #6b7280;
  --nav-bg: #000000; --nav-txt: #ffffff;
  --accent: #e00000; --accent-dk: #b00000; --accent2: #c81111; --accent-weak: #ffe9ea;
  --brand-red: #ff2d2d;
  --good: #16a34a; --mid: #d97706; --bad: #dc2626;
  --crit: #dc2626; --warn: #d97706; --notice: #2563eb;
  --shadow: 0 10px 30px -18px rgba(16,32,64,.35);
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt);
  font: 15px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, .brand-wm { font-family: Quicksand, Inter, sans-serif; font-weight: 700; color: #0f1625; letter-spacing: -0.01em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); text-decoration: underline; }
code { background: #f1f3f7; padding: 1px 6px; border-radius: 5px; font-size: 13px; color: #334; }
small { font-size: 12px; }

/* ===== top nav (black, Aerosoft) ===== */
.topbar { background: var(--nav-bg); position: sticky; top: 0; z-index: 20; }
.nav-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 26px;
  padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 30px; width: auto; display: block; background: #fff;
  padding: 5px 10px; border-radius: 7px; }
.brand-tag { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; }
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar nav a { color: rgba(255,255,255,.78); font-weight: 500; font-size: 14px; }
.topbar nav a:hover { color: #fff; text-decoration: none; }

.container { max-width: 1040px; margin: 0 auto; padding: 30px 24px; }
.foot { text-align: center; color: var(--muted); padding: 30px; font-size: 13px;
  border-top: 1px solid var(--line); margin-top: 20px; }

h1 { font-size: 27px; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 0 0 14px; }
.sub, .muted { color: var(--muted); }
.muted { font-size: 13px; }

/* ===== hero / quick start ===== */
.hero { background: linear-gradient(135deg, #f4f8ff, #eaf2fc); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; margin-bottom: 22px; }
.audit-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.audit-form input[type=url] { flex: 1 1 320px; }
.audit-form label { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.audit-form input[type=number] { width: 78px; }
.chk { gap: 4px !important; }

/* ===== forms & buttons ===== */
input, textarea, select, button { font: inherit; }
input, textarea, select { background: #fff; border: 1px solid #d6dbe4; color: var(--txt);
  padding: 10px 12px; border-radius: 9px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak); }
button, .btn { background: var(--accent); color: #fff; border: none; padding: 10px 18px;
  border-radius: 9px; cursor: pointer; font-weight: 600; font-family: inherit; }
button:hover, .btn:hover { background: var(--accent-dk); text-decoration: none; color: #fff; }
.btn.ghost { background: #fff; border: 1px solid #d6dbe4; color: var(--txt); }
.btn.ghost:hover { background: var(--bg-soft); color: var(--txt); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card.error { border-color: var(--bad); }

.tool-form { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.tool-form input[type=text], .tool-form input[type=url] { flex: 1 1 280px; }
.tool-form.col { flex-direction: column; max-width: 620px; }
.tool-form.col > input[type=text], .tool-form.col > input[type=url] { flex: none; width: 100%; }
.tool-form .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tool-form textarea { min-height: 76px; resize: vertical; }

table.grid { width: 100%; border-collapse: collapse; }
table.grid th, table.grid td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line2); }
table.grid th { color: var(--muted); font-weight: 600; font-size: 13px; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-done { background: #e7f6ec; color: var(--good); }
.pill-running { background: #fef3e2; color: var(--mid); }
.pill-error { background: #fdeaea; color: var(--bad); }
.pill-queued { background: #eef1f6; color: var(--muted); }
.pill-status { background: #eef1f6; }
.pill-status.s2 { background: #e7f6ec; color: var(--good); }
.pill-status.s3 { background: #e9f1fc; color: var(--notice); }
.pill-status.s4, .pill-status.s5 { background: #fdeaea; color: var(--bad); }

.score { font-weight: 700; }
.score.good, .gauge.good .num, .sc-cov.good, .cat-score { color: var(--good); }
.score.mid, .gauge.mid .num, .sc-cov.mid { color: var(--mid); }
.score.bad, .gauge.bad .num, .sc-cov.bad { color: var(--bad); }
.fill.good { background: var(--good); } .fill.mid { background: var(--mid); } .fill.bad { background: var(--bad); }

.report-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.gauge { display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--line); flex: none; }
.gauge .num { font-size: 29px; font-weight: 800; font-family: Quicksand, sans-serif; }
.gauge .lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.actions form.inline { margin: 0; }

.cats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.catrow { display: grid; grid-template-columns: 130px 1fr 48px 80px; gap: 12px; align-items: center; }
.bar { background: #eef1f6; height: 10px; border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; }
.cat-score { font-weight: 700; text-align: right; }

.counts { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.count { flex: 1; min-width: 120px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.count b { display: block; font-size: 28px; font-family: Quicksand, sans-serif; }
.count.crit b { color: var(--crit); } .count.warn b { color: var(--warn); } .count.notice b { color: var(--notice); }

.metrics { display: flex; gap: 14px; flex-wrap: wrap; }
.metric { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 14px 18px; min-width: 120px; }
.metric b { font-size: 24px; font-family: Quicksand, sans-serif; } .metric span { display: block; color: var(--muted); font-size: 12px; }

details.page { border: 1px solid var(--line); border-radius: 11px; margin-bottom: 8px; background: #fff; }
details.page summary { cursor: pointer; padding: 11px 14px; display: flex; gap: 12px; align-items: center; }
details.page summary::-webkit-details-marker { display: none; }
.purl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmeta { padding: 4px 16px 8px; font-size: 13px; color: var(--muted); }
.pmeta b { color: var(--txt); }
ul.issues { list-style: none; margin: 0; padding: 6px 16px 14px; display: flex; flex-direction: column; gap: 6px; }
ul.issues li { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 9px; background: var(--bg-soft); border-left: 3px solid var(--line); }
.sev-critical { border-left-color: var(--crit); } .sev-warning { border-left-color: var(--warn); }
.sev-notice { border-left-color: var(--notice); } .sev.resolved { border-left-color: var(--good); }
.issues .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.sev-critical .tag { color: var(--crit); } .sev-warning .tag { color: var(--warn); }
.sev-notice .tag { color: var(--notice); } .sev.resolved .tag { color: var(--good); }
.ititle { font-weight: 600; } .idetail, .irec { font-size: 13px; color: var(--muted); }
.iwhy { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.ifix { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 3px; }

.providers { display: flex; gap: 12px; flex-wrap: wrap; }
.prov { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; min-width: 160px; background: #fff; }
.prov.on { border-color: var(--good); background: #f3fbf6; } .prov.off { opacity: .85; }
.prov strong { display: block; text-transform: capitalize; }
.prov span { font-size: 12px; color: var(--muted); }
.prov small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }

pre.env { background: #f1f3f7; border: 1px solid var(--line); border-radius: 9px; padding: 14px; overflow: auto; font-size: 13px; color: #334; }
.notice-box { border-color: var(--mid); background: #fffaf2; } .err { color: var(--bad); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .9s linear infinite; margin-top: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sparklines + schedule actions */
svg.spark { color: var(--accent); display: block; }
svg.spark.big { color: var(--good); width: 100%; height: 80px; }
.rowacts { display: flex; gap: 6px; flex-wrap: wrap; }
button.mini { padding: 4px 10px; font-size: 12px; font-weight: 600; }
button.mini.ghost { background: #fff; border: 1px solid #d6dbe4; color: var(--txt); }
button.mini.danger { background: #fff; border: 1px solid var(--bad); color: var(--bad); }

/* diff */
.diff-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .diff-cols { grid-template-columns: 1fr; } }

/* ===== Coverage Scorecard ===== */
.sc-hero { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 32px 34px; margin-bottom: 22px; border-radius: 18px; position: relative; overflow: hidden;
  background: radial-gradient(900px 260px at 92% -50%, var(--accent-weak), transparent 60%), linear-gradient(135deg, #f4f8ff, #eaf2fc);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.sc-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700;
  color: var(--accent); background: var(--accent-weak); padding: 4px 11px; border-radius: 999px; }
.sc-hero h1 { font-size: 28px; margin: 14px 0 6px; }
.sc-hero-text { flex: 1 1 360px; }
.sc-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.sc-rings { display: flex; gap: 22px; align-items: center; }
.ring { position: relative; width: 140px; height: 140px; display: grid; place-items: center; }
.ring.small { width: 104px; height: 104px; border: 4px solid var(--line); border-radius: 50%; }
.ring svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.ring .bg { fill: none; stroke: #e3e8f0; stroke-width: 9; }
.ring .fg { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: calc(327 - (327 * var(--val) / 100));
  transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.ring-label { position: absolute; text-align: center; }
.ring-label .num { display: block; font-size: 30px; font-weight: 800; font-family: Quicksand, sans-serif; }
.ring-label .lbl { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ring.good .num{color:var(--good)} .ring.mid .num{color:var(--mid)} .ring.bad .num{color:var(--bad)}

.sc-legend { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 4px 18px; color: var(--muted); font-size: 13px; }
.sc-legend .dot { display: inline-block; width: 10px; height: 10px; min-width: 0; padding: 0; border: none; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.pass{background:var(--good)} .dot.fail{background:var(--bad)} .dot.provider{background:var(--accent)} .dot.svc{background:#7c3aed}

.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.sc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.sc-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sc-card-head h2 { font-size: 15px; margin: 0; }
.sc-cov { font-weight: 800; font-size: 15px; font-family: Quicksand, sans-serif; }
.sc-cov small { font-weight: 500; color: var(--muted); font-size: 11px; }
.sc-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sc-items li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.sc-items li:first-child { border-top: none; }
.sc-items .lab { flex: 1; }
.sc-items .det { font-size: 11px; color: var(--muted); text-align: right; max-width: 48%; }
.sc-items .ic { width: 18px; text-align: center; font-weight: 800; }
.sc-pass .ic::before{content:'\2713'; color:var(--good)}
.sc-fail .ic::before{content:'\2715'; color:var(--bad)}
.sc-fail .lab{color:#b42318}
.sc-provider_ready .ic::before{content:'\25C6'; color:var(--accent)}
.sc-provider_key .ic::before{content:'\25C7'; color:var(--muted)}
.sc-service .ic::before{content:'\25CF'; color:#7c3aed}
.sc-service .lab,.sc-provider_key .lab{color:var(--muted)}

/* action plan */
.effort { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.effort-low { color: var(--good); background: #e7f6ec; }
.effort-medium { color: var(--mid); background: #fef3e2; }
.effort-high { color: var(--bad); background: #fdeaea; }
.ai-summary .summary-text { font-size: 15px; line-height: 1.7; }
.tag.sev { padding: 2px 8px; border-radius: 999px; }

/* ===== Client Report ===== */
.print-only { display: none; }
.cr-cover { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 32px 34px; margin-bottom: 22px; border-radius: 18px;
  background: radial-gradient(800px 240px at 90% -50%, var(--accent-weak), transparent 60%), linear-gradient(135deg, #f4f8ff, #eaf2fc);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.cr-cover h1 { font-size: 26px; margin: 12px 0 4px; }
.cr-cover > div:first-child { flex: 1 1 320px; }
.cr-cover-score .gauge { width: 96px; height: 96px; border: 4px solid var(--line); border-radius: 50%; background: #fff; }
.cr-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-basis: 100%; }
.cr-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.cr-section h2 { font-size: 17px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cr-good { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cr-good li { padding-left: 26px; position: relative; }
.cr-good li::before { content: '\2713'; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.cr-bad { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cr-bad li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 9px; background: var(--bg-soft); border-left: 3px solid var(--line); }
.cr-tech { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cr-fact { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 9px; background: var(--bg-soft); }
.cr-fact .lab { flex: 1; font-weight: 600; } .cr-fact .val { color: var(--muted); font-size: 13px; }
.cr-fact.ok .ic::before { content: '\2713'; color: var(--good); font-weight: 800; }
.cr-fact.no .ic::before { content: '\2715'; color: var(--bad); font-weight: 800; }
.cr-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 680px) { .cr-phases { grid-template-columns: 1fr; } }
.cr-phase h3 { font-size: 14px; margin: 0 0 8px; color: var(--accent); }
.cr-phase ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

@media print {
  .topbar, .foot, .no-print { display: none !important; }
  .print-only { display: block; }
  .container { max-width: none; padding: 0; }
  .card, .cr-section, .cr-cover, .sc-card { box-shadow: none; break-inside: avoid; }
  a { color: #111; text-decoration: none; }
}


/* map rank regional grid */
.grid-cells { display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:10px; }
.gcell { border-radius:12px; padding:14px; text-align:center; border:1px solid var(--line); }
.gcell .gpos { display:block; font-size:22px; font-weight:800; font-family:Quicksand,sans-serif; }
.gcell .gloc { display:block; font-size:12px; color:var(--muted); margin-top:2px; }
.gcell.g-top { background:#e7f6ec; border-color:#bfe6cd; } .g-top .gpos { color:var(--good); }
.gcell.g-mid { background:#fef3e2; border-color:#f6dcae; } .g-mid .gpos { color:var(--mid); }
.gcell.g-none { background:#fdeaea; border-color:#f3c6c6; } .g-none .gpos { color:var(--bad); }


/* ===== SEMrush-style grouped sidebar layout ===== */
.nav-in { max-width: none; }
.top-link { margin-left: auto; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; }
.top-link:hover { color: #fff; text-decoration: none; }
.layout { display: flex; align-items: flex-start; }
.sidebar { width: 234px; flex: none; align-self: flex-start; position: sticky; top: 50px;
  height: calc(100vh - 50px); overflow-y: auto; background: #fff; border-right: 1px solid var(--line);
  padding: 16px 12px; }
.side-group { margin-bottom: 14px; }
.side-h { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  font-weight: 700; padding: 6px 10px 4px; }
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px;
  color: var(--txt); font-size: 14px; font-weight: 500; line-height: 1.3; }
.sidebar a:hover { background: var(--bg-soft); text-decoration: none; }
.sidebar a.active { background: var(--accent-weak); color: var(--accent); font-weight: 600; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sidebar .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: #5b6472; }
.sidebar a:hover .ic { color: var(--txt); }
.sidebar a.active .ic { color: var(--accent); }
.soon { display: flex; align-items: center; gap: 10px; padding: 7px 10px; font-size: 14px; color: #aab2bf; }
.soon .ic { color: #c2c9d4; }
.soon > span { flex: 1 1 auto; }
.soon::after { content: 'soon'; font-size: 9px; text-transform: uppercase; letter-spacing: .06em;
  background: #eef1f6; color: #98a2b3; padding: 1px 6px; border-radius: 999px; }
.container { flex: 1 1 auto; max-width: 1080px; margin: 0; padding: 28px 32px; min-width: 0; }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 22px;
  line-height: 1; cursor: pointer; padding: 2px 8px; margin-right: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .layout { flex-direction: column; align-items: stretch; }
  .sidebar { display: none; position: static; width: 100%; height: auto;
    border-right: none; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  body.nav-open .sidebar { display: block; }
  .side-group { margin-bottom: 8px; }
  .container { padding: 20px 16px; }
  .card { overflow-x: auto; }
  table.grid { display: block; overflow-x: auto; max-width: 100%; }
  .report-head, .actions, .metrics { flex-wrap: wrap; }
  .hero-lg { padding: 24px 4px 18px; }
  .hero-lg h1 { font-size: 26px; }
  .nav-in { gap: 14px; padding: 12px 16px; }
}


/* Fix Studio */
.fix-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:8px; }
.fix-head h2 { margin:0; }
.fix-code { background:#0f1625; color:#e6edf3; border:1px solid var(--line); border-radius:10px;
  padding:14px 16px; overflow:auto; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space:pre; max-height:340px; }

.cr-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line);
  text-align: center; font-size: 12px; color: var(--muted); }

.cr-logo { max-height: 42px; width: auto; margin-bottom: 8px; }
.cr-brandname { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 18px;
  color: var(--accent); margin-bottom: 4px; }

/* ===== customer landing ===== */
.hero-lg { text-align: center; padding: 40px 20px 26px; }
.hero-lg h1 { font-size: 34px; line-height: 1.15; margin-bottom: 10px; }
.hero-lg .sub { font-size: 16px; max-width: 600px; margin: 0 auto 20px; }
.scan-form { display: flex; gap: 10px; max-width: 580px; margin: 0 auto; }
.scan-form input { flex: 1 1 auto; padding: 14px 16px; font-size: 16px; }
.scan-form button { padding: 14px 26px; font-size: 16px; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.value-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.vcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow); }
.vic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; }
.vic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.vic-blue { background: var(--accent-weak); color: var(--accent); }
.vic-red { background: #ffe7e7; color: var(--brand-red); }
.vic-green { background: #e7f7ee; color: #14955a; }
.vcard h3 { margin-bottom: 6px; }
.cta-buy { font-size: 16px; padding: 13px 22px; }
.cta-sub { display: block; margin-top: 8px; font-size: 13px; }
@media (max-width: 720px) { .value-3 { grid-template-columns: 1fr; } .scan-form { flex-direction: column; } }

/* ============================================================= */
/* ========  AEROSOFT PREMIUM LAYER (brand-aligned)  =========== */
/* Brand: Red #FF0000 (primary), Green #87CB28 (secondary),       */
/* black + white, Helvetica Neue. Landing + client report.        */
/* ============================================================= */
:root{
  --hn:"Helvetica Neue", Helvetica, Arial, sans-serif;
  --brand:#ff0000; --brand-2:#e00000; --brand-3:#c20000;
  --green:#87cb28; --green-lt:#b6f05a; --green-dk:#5f9e14;
  --leaf:#8fce3c; --leaf-2:#6cae28; --leaf-3:#589a1e;
  --ink:#0b0d10; --ink2:#14171d;
  --cream:#f7f4ef; --cream-muted:#c8ccd4;
  --lux-shadow:0 30px 80px -40px rgba(6,10,20,.7);
}
.lx, .rp{ font-family:var(--hn); }
.lx h1,.lx h2,.lx h3,.rp h1,.rp h2,.rp h3,.lx-stats b,.rp-gauge-c .v,.rp-donut-c .v,.rp-bar-v{ font-family:var(--hn); }

/* ---- full-bleed landing: drop the app sidebar ---- */
.landing .sidebar{ display:none; }
.landing .container{ max-width:none; margin:0; padding:0; }
.landing .foot{ background:var(--ink); color:var(--cream-muted); border:0; margin:0; padding:34px; }
.landing .foot a{ color:var(--green-lt); }
.lx-in{ max-width:1160px; margin:0 auto; padding:0 28px; }
.lx-eyebrow{ display:inline-block; text-transform:uppercase; letter-spacing:.22em; font-size:11px;
  font-weight:700; color:rgba(255,255,255,.82); }
.lx-eyebrow.dark{ color:var(--brand); }

/* ---- HERO (brand red) ---- */
.lx-hero{ position:relative; overflow:hidden; color:#fff; padding:76px 0 84px; background:
   radial-gradient(820px 420px at 86% -10%, rgba(0,0,0,.28), transparent 60%),
   radial-gradient(720px 460px at 4% 118%, rgba(255,255,255,.14), transparent 60%),
   linear-gradient(140deg,#8fce3c 0%,#6cae28 55%,#589a1e 100%); }
.lx-hero-in{ position:relative; z-index:2; max-width:1160px; margin:0 auto; padding:0 28px;
  display:grid; grid-template-columns:1.12fr .88fr; gap:48px; align-items:center; }
.lx-title{ color:#fff; font-weight:800; letter-spacing:-.02em; font-size:54px; line-height:1.03; margin:16px 0 16px; }
.lx-title em{ font-style:normal; color:#fff; text-decoration:underline; text-decoration-color:var(--brand); text-decoration-thickness:4px; text-underline-offset:8px; }
.lx-sub{ color:rgba(255,255,255,.92); font-size:17px; line-height:1.6; max-width:560px; margin:0 0 24px; }
.lx-scan{ display:flex; gap:8px; max-width:540px; background:#fff; padding:8px; border-radius:16px;
  box-shadow:0 20px 50px -24px rgba(0,0,0,.5); }
.lx-scan input{ flex:1 1 auto; background:transparent; border:0; color:#1d2330; font-size:16px; padding:12px 14px; }
.lx-scan input::placeholder{ color:#9aa1ad; }
.lx-scan input:focus{ outline:none; box-shadow:none; }
.lx-scan button{ background:linear-gradient(135deg,#5f9e14,#3f7a0e); border:0; color:#fff;
  font-weight:700; padding:12px 24px; border-radius:11px; white-space:nowrap; }
.lx-scan button:hover{ filter:brightness(1.06); }
.lx-trust{ display:flex; gap:20px; flex-wrap:wrap; margin:18px 2px 0; color:rgba(255,255,255,.85); font-size:13px; font-weight:600; }
.lx-note{ margin-top:16px; color:rgba(255,255,255,.92); font-size:14px; }
.lx-note b{ color:#fff; }
/* glass preview card on red */
.lx-preview{ background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.28); border-radius:20px;
  padding:20px; box-shadow:var(--lux-shadow); backdrop-filter:blur(8px); }
.lx-preview-head{ display:flex; align-items:center; gap:8px; padding:2px 4px 14px; border-bottom:1px solid rgba(255,255,255,.2); }
.lx-preview-head .dot{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.dot.r{background:#fff} .dot.y{background:rgba(255,255,255,.7)} .dot.g{background:var(--green-lt)}
.lx-preview-t{ margin-left:8px; color:#fff; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.lx-preview-body{ display:flex; gap:20px; align-items:center; padding:20px 6px 8px; }
.lx-preview .rp-gauge-l,.lx-preview .rp-bar-l{ color:rgba(255,255,255,.9); }
.lx-preview .rp-gauge-c .v,.lx-preview .rp-bar-v{ color:#fff; }
.lx-preview .rp-bar-t{ background:rgba(255,255,255,.22); }

/* ---- STAT BAND ---- */
.lx-stats{ max-width:1160px; margin:-36px auto 0; padding:0 28px; position:relative; z-index:3;
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.lx-stats > div{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; box-shadow:var(--shadow); }
.lx-stats b{ display:block; font-size:34px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.lx-stats b em{ font-style:normal; color:var(--brand); }
.lx-stats span{ color:var(--muted); font-size:12.5px; line-height:1.45; }

/* ---- SECTIONS ---- */
.lx-section{ padding:74px 0; }
.lx-section .lx-h{ text-align:center; max-width:700px; margin:0 auto 42px; }
.lx-section .lx-h h2{ font-weight:800; font-size:34px; letter-spacing:-.02em; color:var(--ink); margin:10px 0 0; }
.lx-section .lx-h p{ color:var(--muted); font-size:16px; margin:12px 0 0; }
.lx-cards{ max-width:1160px; margin:0 auto; padding:0 28px; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.lx-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:26px 22px; box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease; }
.lx-card:hover{ transform:translateY(-4px); box-shadow:0 26px 50px -30px rgba(16,32,64,.5); }
.lx-ic{ width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,0,0,.10); color:var(--brand-2); margin-bottom:16px; }
.lx-ic svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lx-ic.green{ background:rgba(135,203,40,.18); color:var(--green-dk); }
.lx-card h3{ font-size:17px; margin:0 0 6px; font-weight:700; }
.lx-card p{ color:var(--muted); font-size:14px; margin:0; }

/* ---- DARK "inside the report" ---- */
.lx-dark{ background:
   radial-gradient(680px 340px at 90% 0%, rgba(135,203,40,.24), transparent 60%),
   radial-gradient(560px 320px at 4% 120%, rgba(135,203,40,.16), transparent 60%),
   linear-gradient(160deg,#0b0d10,#14171d); color:var(--cream); }
.lx-split{ max-width:1160px; margin:0 auto; padding:0 28px; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.lx-dark h2{ color:#fff; font-weight:800; font-size:32px; letter-spacing:-.02em; margin:12px 0 14px; }
.lx-dark p{ color:var(--cream-muted); }
.lx-checklist{ list-style:none; margin:20px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.lx-checklist li{ padding-left:32px; position:relative; color:#eef0f3; font-size:15px; }
.lx-checklist li::before{ content:'\2713'; position:absolute; left:0; top:0; color:var(--green-lt); font-weight:800; }
.lx-card-lg{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); border-radius:20px;
  padding:24px; box-shadow:var(--lux-shadow); }
.lx-card-lg .rp-gauge-l,.lx-card-lg .rp-bar-l{ color:var(--cream-muted); }
.lx-card-lg .rp-gauge-c .v,.lx-card-lg .rp-bar-v{ color:#fff; } .lx-card-lg .rp-bar-t{ background:rgba(255,255,255,.16); }

/* ---- CTA band ---- */
.lx-cta{ max-width:1160px; margin:0 auto; padding:0 28px; }
.lx-cta-in{ background:
   radial-gradient(600px 300px at 12% 120%, rgba(0,0,0,.25), transparent 60%),
   linear-gradient(135deg,#8fce3c,#589a1e); border-radius:24px; padding:54px; text-align:center;
  color:#fff; box-shadow:var(--lux-shadow); }
.lx-cta-in h2{ color:#fff; font-weight:800; font-size:34px; letter-spacing:-.02em; margin:14px 0 10px; }
.lx-cta-in p{ color:rgba(255,255,255,.92); max-width:560px; margin:0 auto 24px; }
.lx-cta .lx-scan{ margin:0 auto; }

/* ---- premium FAQ ---- */
.lx-faq{ max-width:820px; margin:0 auto; padding:0 28px; }
.lx-faq details{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:2px 20px; margin-bottom:12px; box-shadow:var(--shadow); }
.lx-faq summary{ cursor:pointer; list-style:none; padding:18px 0; font-weight:700; font-size:16px; display:flex; justify-content:space-between; align-items:center; }
.lx-faq summary::-webkit-details-marker{ display:none; }
.lx-faq summary::after{ content:'+'; color:var(--brand); font-size:24px; font-weight:400; line-height:1; }
.lx-faq details[open] summary::after{ content:'\2013'; }
.lx-faq p{ color:var(--muted); margin:0 0 18px; line-height:1.6; }
.lx-recent{ max-width:1160px; margin:0 auto 60px; padding:0 28px; }

@media (max-width:900px){
  .lx-hero-in{ grid-template-columns:1fr; gap:30px; } .lx-title{ font-size:40px; } .lx-preview{ order:2; }
  .lx-stats{ grid-template-columns:1fr 1fr; } .lx-cards{ grid-template-columns:1fr 1fr; } .lx-split{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .lx-scan{ flex-direction:column; } .lx-cards{ grid-template-columns:1fr; } .lx-stats{ grid-template-columns:1fr 1fr; } .lx-title{ font-size:33px; }
}

/* ============================================================= */
/* ===================  PREMIUM REPORT  ======================== */
/* ============================================================= */
.report-page .sidebar{ display:none; }
.report-page{ background:#0b0d10; }
.report-page .container{ max-width:1000px; margin:0 auto; padding:30px 22px 60px; }
.rp{ color:var(--txt); }

/* cover (brand red) */
.rp-cover{ position:relative; overflow:hidden; border-radius:22px; padding:40px 42px; color:#fff;
  background:
    radial-gradient(720px 300px at 88% -20%, rgba(0,0,0,.30), transparent 60%),
    radial-gradient(600px 320px at 4% 120%, rgba(255,255,255,.14), transparent 62%),
    linear-gradient(140deg,#8fce3c,#589a1e);
  box-shadow:var(--lux-shadow); margin-bottom:18px; }
.rp-cover-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; }
.rp-logo{ height:30px; width:auto; background:#fff; padding:6px 12px; border-radius:9px; }
.rp-brandname{ font-weight:800; font-size:22px; color:#fff; letter-spacing:-.01em; }
.rp-eyebrow{ text-transform:uppercase; letter-spacing:.22em; font-size:10.5px; font-weight:700; color:rgba(255,255,255,.85); }
.rp-cover h1{ color:#fff; font-weight:800; font-size:34px; letter-spacing:-.02em; margin:16px 0 6px; word-break:break-word; }
.rp-cover-meta{ color:rgba(255,255,255,.8); font-size:13px; }
.rp-cover-rings{ display:flex; gap:26px; align-items:center; margin-top:26px; flex-wrap:wrap; }
.rp-grade{ margin-left:auto; text-align:right; }
.rp-grade .g{ font-size:40px; font-weight:800; color:#fff; line-height:1; }
.rp-grade .l{ display:block; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.8); margin-top:4px; }

/* gauges */
.rp-gauge{ text-align:center; }
.rp-gauge-svg{ position:relative; margin:0 auto; }
.rp-gauge-c{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.rp-gauge-c .v{ font-weight:800; font-size:30px; line-height:1; color:inherit; letter-spacing:-.02em; }
.rp-gauge-c .s{ font-size:10px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin-top:3px; }
.rp-gauge-l{ margin-top:10px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:700; }
.rp-cover .rp-gauge-c .v{ color:#fff; } .rp-cover .rp-gauge-l{ color:rgba(255,255,255,.85); }
.rp-donut-c{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.rp-donut-c .v{ font-weight:800; font-size:26px; color:var(--ink); }

/* KPI band */
.rp-kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; background:#fff; border:1px solid var(--line);
  border-radius:18px; padding:26px 24px; margin-bottom:18px; box-shadow:var(--shadow); }
.rp-kpis .rp-gauge-c .v{ color:var(--ink); }

/* premium section chrome (report only) */
.report-page .cr-section{ border-radius:18px; padding:26px 28px; border:1px solid var(--line);
  box-shadow:0 24px 60px -44px rgba(0,0,0,.5); }
.report-page .cr-section h2{ font-weight:800; font-size:20px; position:relative; padding-bottom:12px; border-bottom:0; }
.report-page .cr-section h2::after{ content:''; position:absolute; left:0; bottom:0; width:46px; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--brand),var(--green)); }

/* horizontal bars */
.rp-bars{ display:flex; flex-direction:column; gap:12px; margin:6px 0 2px; }
.rp-bar{ display:grid; grid-template-columns:170px 1fr 64px; gap:14px; align-items:center; }
.rp-bar-l{ font-size:13px; color:var(--txt); font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rp-bar-t{ background:#eef1f6; height:12px; border-radius:999px; overflow:hidden; }
.rp-bar-f{ display:block; height:100%; border-radius:999px; }
.rp-bar-v{ font-weight:800; font-size:14px; text-align:right; }
.rp-bar.is-you .rp-bar-l{ font-weight:800; } .rp-bar.is-you .rp-bar-v{ color:var(--brand-2); }
.t-brand{ background:linear-gradient(90deg,#ff4d4d,var(--brand-3)); }
.t-red{ background:linear-gradient(90deg,#ff6a6a,var(--brand-3)); }
.t-good{ background:linear-gradient(90deg,#a6e34d,var(--green-dk)); }
.t-green{ background:linear-gradient(90deg,#a6e34d,var(--green-dk)); }
.t-mid{ background:linear-gradient(90deg,#fbbf5b,#d97706); }
.t-bad{ background:linear-gradient(90deg,#ff7a7a,#c81111); }
.t-blue{ background:linear-gradient(90deg,#4aa3ff,#0b5aad); }

/* two-column chart + table */
.rp-2col{ display:grid; grid-template-columns:210px 1fr; gap:30px; align-items:center; }
@media (max-width:640px){ .rp-2col{ grid-template-columns:1fr; } .rp-bar{ grid-template-columns:112px 1fr 52px; } .rp-kpis{ grid-template-columns:1fr 1fr; } }

/* print: keep brand colours, hide app chrome */
@media print{
  .sidebar{ display:none !important; }
  .report-page{ background:#fff; }
  .report-page .container{ padding:0; }
  .rp-cover, .rp-kpis, .rp-bar-f, .rp-gauge svg circle, .lx-hero, .lx-dark, .lx-cta-in{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .rp-cover{ box-shadow:none; }
}

/* cover action buttons -> brand (white primary, outline ghost on red) */
.rp-cover .cr-actions button{ background:#fff; color:var(--brand-2); font-weight:700; }
.rp-cover .cr-actions button:hover{ background:#f3f3f3; color:var(--brand-3); }
.rp-cover .cr-actions .btn.ghost{ background:transparent; border:1px solid rgba(255,255,255,.65); color:#fff; }
.rp-cover .cr-actions .btn.ghost:hover{ background:rgba(255,255,255,.14); color:#fff; }

/* ============================================================= */
/* ============  SOPHISTICATED MOTION (homepage)  ============== */
/* ============================================================= */
/* concentric-ring "orbit" hero art */
.lx-orb{ position:relative; width:100%; max-width:520px; margin:0 auto; aspect-ratio:1/1; }
.lx-orb .orb{ width:100%; height:100%; display:block; overflow:visible; }
.orb circle{ fill:none; stroke:rgba(255,255,255,.16); stroke-width:1; vector-effect:non-scaling-stroke; }
.orb .c-red circle{ stroke:rgba(255,255,255,.22); }
.orb .c-green circle{ stroke:rgba(182,240,90,.20); }
.orb-rot{ transform-box:view-box; transform-origin:320px 320px; animation:orbspin 90s linear infinite; }
@keyframes orbspin{ to{ transform:rotate(360deg); } }
.orb-mark{ filter:drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.orb-label{ position:absolute; color:#fff; font-size:16px; letter-spacing:.01em; font-style:italic;
  font-family:Georgia,"Times New Roman",serif; text-shadow:0 2px 14px rgba(0,0,0,.4); pointer-events:none; }
.orb-label.t{ left:50%; top:24%; transform:translate(-50%,-50%); }
.orb-label.br{ left:71%; top:60%; transform:translate(-50%,-50%); }
.orb-label.bl{ left:29%; top:60%; transform:translate(-50%,-50%); }

/* falling-lines pillar strip */
.lx-lines{ position:relative; overflow:hidden; background:
   radial-gradient(600px 200px at 50% -10%, rgba(135,203,40,.20), transparent 60%),
   linear-gradient(180deg,#0b0d10,#14171d); padding:64px 0 40px; }
.lx-lines .field{ position:absolute; left:0; right:0; top:0; height:74%; }
.lx-line{ position:absolute; top:0; width:1px; transform-origin:top;
  background:linear-gradient(to bottom, rgba(255,255,255,.42), rgba(255,255,255,0));
  animation:linefall var(--d,4s) ease-in-out infinite; opacity:.5; }
@keyframes linefall{ 0%,100%{ transform:scaleY(.45); opacity:.22 } 50%{ transform:scaleY(1); opacity:.6 } }
.lx-lines .labels{ position:relative; z-index:2; max-width:1040px; margin:0 auto; padding:0 28px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px; }
.lx-lines .labels b{ color:#fff; font-weight:700; letter-spacing:.2em; font-size:12px; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:9px; }
.lx-lines .labels b::after{ content:''; width:8px; height:8px; background:var(--brand); display:inline-block; }

/* scroll reveal + 3D tilt */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in{ opacity:1; transform:none; }
.tilt{ transition:transform .18s ease, box-shadow .25s ease; will-change:transform; }

@media (prefers-reduced-motion: reduce){
  .orb-rot, .lx-line{ animation:none !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* ============================================================= */
/* ==============  ULTRA-PREMIUM REPORT MOTION  =============== */
/* ============================================================= */
.rp-cover-orb{ position:absolute; top:-24%; right:-6%; width:60%; max-width:560px; aspect-ratio:1/1;
  opacity:.55; z-index:0; pointer-events:none; }
.rp-cover-orb svg{ width:100%; height:100%; display:block; overflow:visible; }
.rp-cover-orb circle{ fill:none; stroke:rgba(255,255,255,.13); stroke-width:1; vector-effect:non-scaling-stroke; }
.rp-cover-orb .orb-rot{ transform-box:view-box; transform-origin:320px 320px; animation:orbspin 120s linear infinite; }
.rp-cover > .rp-cover-top, .rp-cover > .rp-cover-rings, .rp-cover > .cr-actions{ position:relative; z-index:1; }

@media (prefers-reduced-motion: no-preference){
  .rp-gauge svg circle.fg, .rp-donut svg circle.fg{ animation:gaugedraw 1.4s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes gaugedraw{ from{ stroke-dashoffset:1000; } }
  .report-page .rp-kpis, .report-page .cr-section{ animation:rise .7s ease both; }
  .report-page .rp-kpis{ animation-delay:.05s; }
  .report-page .cr-section:nth-of-type(2){ animation-delay:.10s; }
  .report-page .cr-section:nth-of-type(3){ animation-delay:.16s; }
  .report-page .cr-section:nth-of-type(4){ animation-delay:.22s; }
  .report-page .cr-section:nth-of-type(5){ animation-delay:.28s; }
  @keyframes rise{ from{ opacity:0; transform:translateY(20px); } }
}
@media print{
  .rp-cover-orb{ display:none !important; }
  .report-page .rp-kpis, .report-page .cr-section{ animation:none !important; opacity:1 !important; transform:none !important; }
  .rp-gauge svg circle.fg, .rp-donut svg circle.fg{ animation:none !important; }
}

/* ============================================================= */
/* ==========  DARK EDITORIAL PREMIUM (Tambourine feel)  ======= */
/* Near-black, elegant serif display, hairline detailing, red/    */
/* green as micro-accents only. Overrides the flat-colour layer.  */
/* ============================================================= */
:root{
  --ink:#0a0b0e; --ink-1:#0e1014; --ink-2:#14161c;
  --bone:#f3efe7; --bone-dim:#c3c7cf; --muted2:#8a8f99;
  --line-d:rgba(255,255,255,.10); --line-d2:rgba(255,255,255,.17);
  --serif:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:"Inter", "Helvetica Neue", Arial, sans-serif;
}
.landing{ background:var(--ink); color:var(--bone); font-family:var(--sans); }
.landing .foot{ background:#070809; color:var(--muted2); border:0; }
.landing .foot a{ color:var(--bone-dim); }

/* ---- HERO: centered cinematic ---- */
.lx-hero{ position:relative; overflow:hidden; min-height:88vh; display:flex; align-items:center;
  padding:120px 0 96px; color:var(--bone);
  background:
    radial-gradient(1200px 720px at 50% -25%, #191d27, transparent 70%),
    radial-gradient(900px 600px at 82% 120%, rgba(135,203,40,.06), transparent 60%),
    linear-gradient(180deg,#0a0b0e,#0e1014); }
.lx-hero::after{ content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:radial-gradient(125% 95% at 50% 42%, transparent 52%, rgba(0,0,0,.6)); }
.lx-hero-in{ position:relative; z-index:2; max-width:900px; margin:0 auto; padding:0 28px;
  display:block; text-align:center; }
.lx-orb-bg{ position:absolute; z-index:0; top:50%; left:50%; width:min(1120px,124vw); aspect-ratio:1/1;
  transform:translate(-50%,-50%); opacity:.72; pointer-events:none; }
.lx-orb-bg svg{ width:100%; height:100%; display:block; overflow:visible; }
.lx-orb-bg .spin{ transform-box:view-box; transform-origin:320px 338px; animation:orbspin 130s linear infinite; will-change:transform; }
.lx-orb-bg .ccw{ animation-direction:reverse; }
@media (prefers-reduced-motion: reduce){ .lx-orb-bg .spin{ animation:none; } }
.lx-eyebrow{ color:var(--muted2); letter-spacing:.34em; font-size:11px; font-weight:500; }
.lx-title{ font-family:var(--serif); font-weight:400; color:#fff; letter-spacing:.004em;
  font-size:clamp(44px,6.6vw,92px); line-height:1.02; margin:22px auto 22px; max-width:15ch; }
.lx-title em{ font-style:italic; color:#fff; text-decoration:none; }
.lx-sub{ font-family:var(--sans); font-weight:300; color:var(--bone-dim); font-size:18px;
  line-height:1.7; max-width:600px; margin:0 auto 32px; }
.lx-scan{ margin:0 auto; max-width:520px; background:rgba(255,255,255,.05); border:1px solid var(--line-d2);
  border-radius:999px; padding:6px 6px 6px 22px; box-shadow:none; backdrop-filter:blur(8px); }
.lx-scan input{ color:#fff; font-size:15px; }
.lx-scan input::placeholder{ color:#7c828d; }
.lx-scan button{ background:#fff; color:#0a0b0e; border-radius:999px; padding:13px 26px; font-weight:600;
  font-family:var(--sans); letter-spacing:.01em; }
.lx-scan button:hover{ background:var(--bone); filter:none; }
.lx-trust{ justify-content:center; color:var(--muted2); letter-spacing:.05em; font-weight:500; margin-top:22px; }
.lx-note{ color:var(--bone-dim); }
.lx-note b{ color:#fff; }
.orb circle, .lx-orb-bg circle{ stroke:rgba(255,255,255,.26); }
.orb-label{ color:var(--bone-dim); font-family:var(--serif); font-style:italic; font-size:19px; }

/* ---- falling-lines strip ---- */
.lx-lines{ background:linear-gradient(180deg,#0e1014,#0a0b0e); }
.lx-lines .labels b{ color:var(--bone); letter-spacing:.22em; }
.lx-lines .labels b::after{ background:var(--brand); }

/* ---- STAT BAND: hairline, serif numerals ---- */
.lx-stats{ margin:0 auto; max-width:1100px; padding:60px 28px; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid var(--line-d); border-bottom:1px solid var(--line-d); }
.lx-stats > div{ background:transparent; border:0; border-left:1px solid var(--line-d); border-radius:0;
  box-shadow:none; padding:4px 26px; }
.lx-stats > div:first-child{ border-left:0; }
.lx-stats b{ font-family:var(--serif); font-weight:500; font-size:50px; color:#fff; letter-spacing:0; }
.lx-stats b em{ font-style:italic; color:var(--bone-dim); }
.lx-stats span{ color:var(--muted2); }

/* ---- SECTIONS ---- */
.lx-section{ padding:112px 0; }
.lx-section .lx-h h2, .lx-dark h2, .lx-cta-in h2{ font-family:var(--serif); font-weight:400;
  font-size:clamp(30px,4.2vw,48px); color:#fff; letter-spacing:.004em; }
.lx-section .lx-h p{ color:var(--bone-dim); font-weight:300; }
.lx-eyebrow.dark{ color:var(--muted2); }

/* ---- CARDS: dark glass ---- */
.lx-card{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); border-radius:16px; box-shadow:none; }
.lx-card:hover{ background:rgba(255,255,255,.055); border-color:var(--line-d2); transform:translateY(-3px); box-shadow:none; }
.lx-card h3{ color:#fff; font-weight:500; }
.lx-card p{ color:var(--bone-dim); font-weight:300; }
.lx-ic{ background:rgba(255,255,255,.06); color:var(--bone); }
.lx-ic.green{ background:rgba(135,203,40,.14); color:#a6e34d; }

/* ---- DARK split ---- */
.lx-dark{ background:linear-gradient(180deg,#0e1014,#0a0b0e); }
.lx-dark p{ color:var(--bone-dim); font-weight:300; }
.lx-checklist li{ color:var(--bone); font-weight:300; }
.lx-checklist li::before{ color:#a6e34d; }
.lx-card-lg{ background:rgba(255,255,255,.04); border:1px solid var(--line-d); }

/* ---- CTA: hairline panel ---- */
.lx-cta-in{ background:radial-gradient(760px 320px at 50% -40%, #191d27, transparent 70%), #0e1014;
  border:1px solid var(--line-d2); border-radius:20px; box-shadow:none; }
.lx-cta-in p{ color:var(--bone-dim); font-weight:300; }
.lx-cta .lx-scan{ background:rgba(255,255,255,.05); }

/* ---- FAQ: hairline ---- */
.lx-faq details{ background:transparent; border:0; border-bottom:1px solid var(--line-d); border-radius:0; box-shadow:none; }
.lx-faq summary{ color:#fff; font-weight:500; }
.lx-faq summary::after{ color:var(--muted2); }
.lx-faq p{ color:var(--bone-dim); font-weight:300; }
.lx-recent .card{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); color:var(--bone); }
.lx-recent .card h2{ color:#fff; }

/* ---- REPORT: dark cinematic cover + serif ---- */
.rp-cover{ background:
   radial-gradient(760px 320px at 85% -25%, #1b2030, transparent 65%),
   radial-gradient(600px 320px at 5% 120%, rgba(135,203,40,.08), transparent 62%),
   linear-gradient(160deg,#0d0f14,#0a0b0e); border:1px solid var(--line-d2); }
.rp-cover-orb circle{ stroke:rgba(255,255,255,.12); }
.rp-cover h1{ font-family:var(--serif); font-weight:400; font-size:clamp(30px,4.4vw,48px); letter-spacing:.004em; }
.rp-brandname{ font-family:var(--serif); font-weight:500; }
.rp-grade .g{ font-family:var(--serif); font-weight:500; color:#fff; }
.rp-cover .cr-actions button{ background:#fff; color:#0a0b0e; font-weight:600; }
.rp-cover .cr-actions .btn.ghost{ border-color:var(--line-d2); color:#fff; }
.report-page .cr-section h2{ font-family:var(--serif); font-weight:500; font-size:25px; }
.report-page .cr-section h2::after{ background:var(--brand); width:38px; }

@media (max-width:900px){ .lx-stats{ grid-template-columns:1fr 1fr; } .lx-stats>div:nth-child(3){ border-left:0; } }
@media (max-width:560px){ .lx-title{ font-size:40px; } .lx-stats{ grid-template-columns:1fr; } .lx-stats>div{ border-left:0; border-top:1px solid var(--line-d); padding:18px 6px; } }

/* ============================================================= */
/* ==================  PREMIUM POLISH  ========================= */
/* ============================================================= */
html{ scroll-behavior:smooth; }
::selection{ background:rgba(255,255,255,.20); color:#fff; }

/* cinematic film grain (fixed, subtle, non-interactive) */
.landing::before, .report-page::before{
  content:""; position:fixed; inset:0; z-index:9999; pointer-events:none; opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  background-size:140px 140px; }
@media print{ .landing::before, .report-page::before{ display:none; } }

/* refined translucent nav on the landing/report */
.landing .topbar, .report-page .topbar{ background:rgba(10,11,14,.55); backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid var(--line-d); }
.landing .top-link, .report-page .top-link{ color:var(--bone-dim); letter-spacing:.04em; font-size:13px;
  transition:color .2s ease; }
.landing .top-link:hover, .report-page .top-link:hover{ color:#fff; }
.landing .brand-tag, .report-page .brand-tag{ color:var(--bone); letter-spacing:.16em; }

/* graceful hero entrance (once, on load) */
@media (prefers-reduced-motion: no-preference){
  .lx-hero-in > *{ animation:heroUp .9s cubic-bezier(.2,.7,.2,1) both; }
  .lx-hero-in > :nth-child(1){ animation-delay:.05s; }
  .lx-hero-in > :nth-child(2){ animation-delay:.14s; }
  .lx-hero-in > :nth-child(3){ animation-delay:.23s; }
  .lx-hero-in > :nth-child(4){ animation-delay:.32s; }
  .lx-hero-in > :nth-child(5){ animation-delay:.40s; }
  .lx-hero-in > :nth-child(6){ animation-delay:.48s; }
  @keyframes heroUp{ from{ opacity:0; transform:translateY(18px); } }
}

/* micro-interactions */
.lx-card, .lx-scan, .lx-scan button, .lx-faq details, .top-link{ transition:all .25s ease; }
.lx-scan:focus-within{ border-color:rgba(255,255,255,.4); box-shadow:0 0 0 4px rgba(255,255,255,.05); }
.lx-scan button:hover{ transform:translateY(-1px); box-shadow:0 8px 24px -10px rgba(0,0,0,.6); }
:focus-visible{ outline:2px solid rgba(255,255,255,.55); outline-offset:3px; border-radius:4px; }

/* refined dark scrollbar */
.landing, .report-page{ scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.22) transparent; }
.landing::-webkit-scrollbar, .report-page::-webkit-scrollbar{ width:11px; height:11px; }
.landing::-webkit-scrollbar-thumb, .report-page::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.16); border-radius:99px; border:3px solid transparent; background-clip:content-box; }
.landing::-webkit-scrollbar-thumb:hover, .report-page::-webkit-scrollbar-thumb:hover{ background:rgba(255,255,255,.28); background-clip:content-box; }

/* section eyebrow: thin centered rule for editorial rhythm */
.lx-section .lx-h .lx-eyebrow{ display:inline-flex; align-items:center; gap:12px; }
.lx-section .lx-h .lx-eyebrow::before, .lx-section .lx-h .lx-eyebrow::after{
  content:""; width:26px; height:1px; background:var(--line-d2); display:inline-block; }

/* ============================================================= */
/* ==============  AUDIT DASHBOARD (premium dark)  ============= */
/* ============================================================= */
.audit-page{ background:#0b0d10; color:var(--bone); }
.audit-page .sidebar{ display:none; }
.audit-page .container{ max-width:1000px; margin:0 auto; padding:30px 22px 72px; }
.audit-page::before{ content:""; position:fixed; inset:0; z-index:9999; pointer-events:none; opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E"); background-size:140px 140px; }
@media print{ .audit-page::before{ display:none; } }
.audit-page .topbar{ background:rgba(10,11,14,.55); backdrop-filter:saturate(140%) blur(12px); border-bottom:1px solid var(--line-d); }
.audit-page .top-link{ color:var(--bone-dim); letter-spacing:.04em; } .audit-page .top-link:hover{ color:#fff; }
.audit-page .brand-tag{ color:var(--bone); letter-spacing:.16em; }

/* header */
.audit-page .report-head{ display:flex; justify-content:space-between; align-items:center; gap:26px;
  margin:6px 0 26px; flex-wrap:wrap; }
.audit-page .report-head h1{ font-family:var(--serif); font-weight:400; letter-spacing:.004em;
  font-size:clamp(28px,4vw,44px); color:#fff; word-break:break-word; margin:0; }
.audit-page .report-head .muted{ color:var(--muted2); }
.audit-page .rp-gauge-c .v{ color:#fff; } .audit-page .rp-gauge-l{ color:var(--muted2); }

/* upsell card */
.audit-page .card.upsell{ border:1px solid rgba(135,203,40,.35);
  background:radial-gradient(600px 200px at 10% -30%, rgba(135,203,40,.10), transparent 60%), rgba(255,255,255,.03); }

/* cards + tables */
.audit-page .card{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); border-radius:16px;
  color:var(--bone); box-shadow:none; }
.audit-page .card h2{ font-family:var(--serif); font-weight:500; font-size:23px; color:#fff; border:0; }
.audit-page table.grid{ color:var(--bone); }
.audit-page .grid th{ color:var(--muted2); border-color:var(--line-d); }
.audit-page .grid td{ border-color:var(--line-d); }
.audit-page code{ background:rgba(255,255,255,.07); color:var(--bone); }

/* category bars */
.audit-page .cats{ display:flex; flex-direction:column; gap:12px; margin:22px 0; }
.audit-page .catrow{ display:grid; grid-template-columns:150px 1fr 56px 76px; gap:14px; align-items:center; }
.audit-page .cat-name{ color:var(--bone); font-size:13px; }
.audit-page .catrow .bar{ background:rgba(255,255,255,.08); height:10px; border-radius:99px; overflow:hidden; }
.audit-page .catrow .fill{ height:100%; border-radius:99px; }
.audit-page .catrow .fill.good{ background:linear-gradient(90deg,#a6e34d,#5f9e14); }
.audit-page .catrow .fill.mid{ background:linear-gradient(90deg,#fbbf5b,#d97706); }
.audit-page .catrow .fill.bad{ background:linear-gradient(90deg,#ff7a7a,#c81111); }
.audit-page .cat-score{ font-family:var(--serif); font-weight:500; font-size:16px; color:#fff; text-align:right; }
.audit-page .catrow .muted{ color:var(--muted2); font-size:12px; }

/* counts */
.audit-page .counts{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:24px 0; }
.audit-page .count{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); border-radius:16px;
  padding:22px 24px; color:var(--muted2); font-size:13px; letter-spacing:.02em; }
.audit-page .count b{ display:block; font-family:var(--serif); font-weight:600; font-size:46px; line-height:1; margin-bottom:6px; color:var(--bone); }
.audit-page .count.crit b{ color:#ff6a6a; }
.audit-page .count.warn b{ color:#fbbf5b; }
.audit-page .count.notice b{ color:#8ab4ff; }

/* actions */
.audit-page .actions{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; align-items:center; }
.audit-page .actions .btn{ background:rgba(255,255,255,.06); color:var(--bone); border:1px solid var(--line-d2);
  border-radius:10px; font-weight:500; }
.audit-page .actions .btn:hover{ background:rgba(255,255,255,.12); color:#fff; }
.audit-page .actions .btn.cta-buy{ background:#fff; color:#0a0b0e; border-color:#fff; font-weight:600; }
.audit-page .actions .cta-sub{ color:var(--muted2); }
.audit-page .inline input{ background:rgba(255,255,255,.05); border:1px solid var(--line-d2); color:#fff; border-radius:10px; }

/* pages list */
.audit-page .page{ border-bottom:1px solid var(--line-d); }
.audit-page .page summary{ color:var(--bone); }
.audit-page .purl{ color:var(--bone-dim); }
.audit-page .page summary .muted{ color:var(--muted2); }
.audit-page .pmeta{ color:var(--bone-dim); }
.audit-page .pmeta b{ color:var(--bone); }
.audit-page .issues .ititle{ color:var(--bone); }
.audit-page .issues .idetail, .audit-page .issues .irec, .audit-page .issues .iwhy{ color:var(--bone-dim); }
.audit-page .progress, .audit-page .card.error{ color:var(--bone); }
@media (max-width:600px){ .audit-page .counts{ grid-template-columns:1fr; } .audit-page .catrow{ grid-template-columns:110px 1fr 44px; } .audit-page .catrow .muted{ display:none; } }

.audit-page .upsell .btn{ background:#fff; color:#0a0b0e; border:0; font-weight:600; }
.audit-page .upsell .btn:hover{ background:var(--bone); }
.audit-page .upsell a:not(.btn){ color:var(--green-lt); }

/* audit: dark page rows + issue boxes (fix light-on-light) */
.audit-page details.page{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); }
.audit-page details.page[open]{ background:rgba(255,255,255,.05); }
.audit-page ul.issues li{ background:rgba(255,255,255,.055); }
.audit-page .ititle{ color:var(--bone); }
.audit-page .idetail, .audit-page .irec, .audit-page .iwhy{ color:var(--bone-dim); }
.audit-page .ifix{ color:var(--green-lt); }

/* audit: guarantee readable headings / buttons / links in EVERY state */
.audit-page h1, .audit-page h2, .audit-page h3{ color:#fff; }
.audit-page .card h1{ font-family:var(--serif); font-weight:400; font-size:clamp(26px,3.4vw,38px); }
.audit-page .card.error h1{ color:#ff8a8a; }
.audit-page .muted{ color:var(--muted2); }
.audit-page .card p{ color:var(--bone-dim); }
.audit-page .btn{ background:rgba(255,255,255,.06); color:var(--bone); border:1px solid var(--line-d2); border-radius:10px; }
.audit-page .btn:hover{ background:rgba(255,255,255,.12); color:#fff; }
.audit-page .foot{ background:#070809; color:var(--muted2); border-top:1px solid var(--line-d); }
.audit-page .foot a{ color:var(--bone-dim); }
.audit-page .spinner{ border-color:rgba(255,255,255,.16); border-top-color:#fff; }

/* ============================================================= */
/* ==============  WORLD-CLASS 3D ORBIT (home)  =============== */
/* ============================================================= */
.orb3d{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; perspective:1300px;
  -webkit-mask-image:radial-gradient(closest-side,#000 50%,transparent 84%);
  mask-image:radial-gradient(closest-side,#000 50%,transparent 84%); }
.orb3d-scene{ position:absolute; top:50%; left:50%; width:min(1080px,120vw); aspect-ratio:1/1;
  transform:translate(-50%,-50%); transform-style:preserve-3d;
  transition:transform .6s cubic-bezier(.2,.7,.2,1); will-change:transform; }
.orb-layer{ position:absolute; inset:0; transform-style:preserve-3d; }
.orb-layer svg{ width:100%; height:100%; display:block; overflow:visible; }
.orb-layer circle{ fill:none; vector-effect:non-scaling-stroke; }
.orb-layer .orb-rot{ transform-box:view-box; transform-origin:320px 320px; animation:orbspin 120s linear infinite; }
.orb-layer.L1{ transform:translateZ(-190px) scale(1.4); opacity:.30; filter:blur(.6px); }
.orb-layer.L1 circle{ stroke:rgba(255,255,255,.10); }
.orb-layer.L1 .orb-rot{ animation-duration:240s; }
.orb-layer.L2{ transform:translateZ(0); opacity:.62; }
.orb-layer.L2 circle{ stroke:rgba(255,255,255,.15); }
.orb-layer.L2 .orb-rot{ animation-duration:150s; animation-direction:reverse; }
.orb-layer.L3{ transform:translateZ(170px) scale(.6); opacity:.55; }
.orb-layer.L3 circle{ stroke:rgba(182,240,90,.13); }
.orb-layer.L3 .orb-rot{ animation-duration:95s; }
.orb-core{ position:absolute; top:50%; left:50%; width:34%; aspect-ratio:1; transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0) 62%); filter:blur(8px);
  animation:corePulse 6.5s ease-in-out infinite; }
@keyframes corePulse{ 0%,100%{ opacity:.42; } 50%{ opacity:.85; } }

/* cursor spotlight that lights the orbit */
.lx-hero::before{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(460px 460px at var(--mx,50%) var(--my,42%), rgba(255,255,255,.07), transparent 70%); }

/* crisp white headline */
.lx-title{ background:none; color:#fff; -webkit-text-fill-color:#fff; }
.lx-title em{ -webkit-text-fill-color:#fff; color:#fff; }

@media (prefers-reduced-motion: reduce){
  .orb-layer .orb-rot, .orb-core{ animation:none; }
  .orb3d-scene{ transition:none; }
}

/* report: locked keyword upsell row (one-time buyers) */
.report-page tr.rp-lock td{ text-align:center; color:var(--bone-dim); font-size:13.5px; padding:16px 18px;
  background:rgba(255,255,255,.03); border-top:1px solid var(--line-d2); }
.report-page tr.rp-lock b{ color:#fff; }
.report-page tr.rp-lock a{ color:var(--green-lt); font-weight:600; white-space:nowrap; }

/* ============================================================= */
/* ============  PRICING COMPARISON + AUDIT TEASER  =========== */
/* ============================================================= */
.plans-card{ max-width:960px; margin:22px auto; }
.plan-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:22px 0 10px; text-align:left; }
.plan{ border:1px solid var(--line); border-radius:16px; padding:22px; background:#fff; position:relative; box-shadow:var(--shadow); }
.plan.featured{ border:1px solid var(--green-dk); box-shadow:0 24px 50px -30px rgba(95,158,20,.45); }
.plan-badge{ position:absolute; top:-11px; left:22px; background:var(--green-dk); color:#fff; font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:4px 11px; border-radius:99px; }
.plan-h{ font-weight:700; font-size:15px; color:var(--ink); }
.plan-price{ font-size:30px; font-weight:800; margin:6px 0 14px; color:var(--ink); letter-spacing:-.02em; }
.plan-price small{ font-size:13px; font-weight:500; color:var(--muted); margin-left:5px; letter-spacing:0; }
.plan ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.plan li{ font-size:13.5px; color:var(--txt); padding-left:22px; position:relative; line-height:1.4; }
.plan li::before{ content:'\2713'; position:absolute; left:0; top:0; color:var(--green-dk); font-weight:800; }
.plan .btn{ margin-top:16px; display:inline-block; }
.plan-note{ display:block; margin-top:12px; font-size:12px; color:var(--muted); }
.plan-anchor{ text-align:center; color:var(--muted); font-size:13px; margin-top:6px; }
@media (max-width:680px){ .plan-grid{ grid-template-columns:1fr; } }

.audit-page .teaser-kpis{ display:flex; gap:34px; margin:14px 0 4px; flex-wrap:wrap; }
.audit-page .teaser-kpis b{ display:block; font-family:var(--serif); font-weight:600; font-size:34px; color:#fff; line-height:1; }
.audit-page .teaser-kpis span{ color:var(--muted2); font-size:12.5px; }
.audit-page tr.rp-lock td{ text-align:center; color:var(--bone-dim); font-size:13.5px; padding:15px 16px; background:rgba(255,255,255,.03); border-top:1px solid var(--line-d2); }
.audit-page tr.rp-lock b{ color:#fff; }
.audit-page tr.rp-lock a{ color:var(--green-lt); font-weight:600; }

/* ============================================================= */
/* ==================  MOBILE OPTIMIZATION  =================== */
/* ============================================================= */
body{ overflow-x:hidden; }
img, svg, canvas{ max-width:100%; }

@media (max-width:680px){
  /* landing spacing */
  .lx-section{ padding:64px 0; }
  .lx-hero{ min-height:auto; padding:104px 0 72px; }
  .lx-hero-in{ padding:0 20px; }
  .lx-lines .labels{ gap:10px 14px; flex-wrap:wrap; justify-content:center; }
  .lx-lines .labels b{ font-size:10.5px; }
  .lx-cards{ padding:0 20px; } .lx-split, .lx-cta, .lx-faq, .lx-recent, .lx-stats{ padding-left:20px; padding-right:20px; }

  /* report + audit: container + wide-table handling */
  .report-page .container, .audit-page .container{ padding:20px 14px 56px; margin:0; width:100%; max-width:100%; }
  .report-page .cr-section{ padding:22px 15px; overflow-x:auto; }
  .audit-page .card{ overflow-x:auto; }
  .report-page table.grid, .audit-page table.grid, .audit-page .cats{ font-size:12.5px; }
  .report-page table.grid th, .report-page table.grid td,
  .audit-page table.grid th, .audit-page table.grid td{ padding:8px 10px; }

  /* report cover + KPIs */
  .rp-cover{ padding:26px 18px; }
  .rp-cover h1{ font-size:26px; }
  .rp-cover-top{ flex-direction:column; }
  .rp-grade{ margin:10px 0 0; text-align:left; }
  .rp-cover-rings{ gap:16px; }
  .rp-kpis{ grid-template-columns:1fr 1fr; padding:20px 12px; gap:14px; }
  .rp-2col{ grid-template-columns:1fr; gap:18px; }
  .rp-bar{ grid-template-columns:86px 1fr 44px; gap:9px; }
  .rp-bar-l{ font-size:12px; }

  /* audit specifics */
  .audit-page .report-head{ gap:12px; }
  .audit-page .catrow{ grid-template-columns:92px 1fr 40px; }
  .audit-page .catrow .muted{ display:none; }
  .audit-page .counts{ grid-template-columns:1fr; }
  .audit-page .actions{ gap:8px; }
  .audit-page .teaser-kpis{ gap:22px; }

  /* hide the dead hamburger on sidebar-less pages */
  .landing .nav-toggle, .report-page .nav-toggle, .audit-page .nav-toggle{ display:none; }
  /* comparison + gate */
  .plan-grid{ grid-template-columns:1fr; }
  .plans-card{ padding:18px 14px; }
}

@media (max-width:400px){
  .lx-title{ font-size:34px; }
  .top-link{ font-size:12px; }
  .rp-kpis{ grid-template-columns:1fr 1fr; }
}

/* flexbox min-width trap: let the main column shrink so wide tables scroll
   inside their own section instead of stretching the whole page. */
.container{ min-width:0; }
.report-page .rp, .audit-page main, .report-page main{ min-width:0; }

/* ============================================================= */
/* ==============  DARK GATE + UPGRADE PAGES  ================= */
/* ============================================================= */
.report-page .cr{ max-width:760px; margin:0 auto; }
.report-page .cr-cover{ background:linear-gradient(140deg,#0d0f14,#0a0b0e); border:1px solid var(--line-d2);
  border-radius:18px; color:var(--bone); padding:26px 28px; display:flex; justify-content:space-between;
  align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:16px; }
.report-page .cr-cover .sc-eyebrow{ color:var(--muted2); letter-spacing:.2em; font-size:11px; text-transform:uppercase; font-weight:700; }
.report-page .cr-cover h1{ font-family:var(--serif); font-weight:400; color:#fff; font-size:clamp(24px,4vw,38px); margin:8px 0 6px; word-break:break-word; }
.report-page .cr-cover .muted{ color:var(--bone-dim); }
.report-page .cr-cover .gauge{ text-align:center; }
.report-page .cr-cover .gauge .num{ font-family:var(--serif); font-weight:600; font-size:26px; color:#fff; display:block; }
.report-page .cr-cover .gauge .lbl{ color:var(--muted2); font-size:11px; text-transform:uppercase; letter-spacing:.1em; }
.report-page .card h2{ color:var(--ink); }
.report-page .plans-card h2{ color:#fff; }
.report-page .plans-card{ background:transparent; border:0; box-shadow:none; }

/* featured membership CTA in brand green (cohesive with the green card) */
.plan.featured .btn{ background:linear-gradient(135deg,#8fce3c,#5f9e14); color:#0a0b0e; border:0; }
.plan.featured .btn:hover{ filter:brightness(1.05); color:#0a0b0e; }

/* ============================================================= */
/* ============  IMPACT TIERS + PRIORITIES + AI NOTE  ========= */
/* ============================================================= */
.tier{ display:inline-block; align-self:flex-start; font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:3px 9px; border-radius:999px; }
.tier-high{ background:#ffe1e1; color:#c81111; }
.tier-medium{ background:#fdecc8; color:#b45309; }
.tier-low{ background:#eaedf2; color:#5b6472; }

/* report: "fix these first" hero (white card) */
.report-page .rp-priorities{ border:1px solid rgba(135,203,40,.5); }
.rp-prio{ list-style:none; margin:16px 0 0; padding:0; counter-reset:prio; display:flex; flex-direction:column; gap:14px; }
.rp-prio li{ position:relative; padding:15px 16px 15px 54px; background:var(--bg-soft); border:1px solid var(--line); border-radius:12px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.rp-prio li::before{ counter-increment:prio; content:counter(prio); position:absolute; left:16px; top:15px; width:27px; height:27px; border-radius:50%; background:linear-gradient(135deg,#8fce3c,#5f9e14); color:#0a0b0e; font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; }
.rp-prio .rp-prio-title{ color:var(--txt); font-weight:700; }
.rp-prio .rp-prio-rec{ color:var(--muted); font-size:13.5px; line-height:1.55; }
.rp-prio .iwhy{ color:var(--muted); font-size:12.5px; line-height:1.5; }
.rp-prio .ifix{ color:var(--accent); font-weight:600; font-size:13px; }

/* report: AI explainer note (white card) */
.report-page .rp-note{ margin-top:16px; padding:14px 16px; background:var(--bg-soft); border:1px solid var(--line); border-radius:12px; color:var(--muted); font-size:13.5px; line-height:1.6; }
.report-page .rp-note b{ color:var(--txt); }

/* audit: priorities teaser */
.audit-page .prio-list{ display:flex; flex-direction:column; gap:11px; margin:8px 0 6px; }
.audit-page .prio-row{ display:flex; align-items:center; gap:12px; }
.audit-page .prio-t{ color:var(--bone); font-size:14px; }

/* ===== L11: world-class homepage choreography ========================== */
/* scan-line scroll progress */
.lx-progress{ position:fixed; top:0; left:0; width:100%; height:2px; z-index:1200;
  transform-origin:0 50%; transform:scaleX(0); pointer-events:none;
  background:linear-gradient(90deg, var(--accent), #ff6a5f); }

/* hero word choreography */
.lx-title .hw{ display:inline-block; overflow:hidden; vertical-align:bottom; }
.lx-title .hwi{ display:inline-block; transform:translateY(112%); opacity:0; filter:blur(8px); }
.lx-title.choreo .hwi{ animation:lxWord .85s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay:calc(var(--i,0)*.075s); }
@keyframes lxWord{ to{ transform:none; opacity:1; filter:blur(0); } }
.lx-title em{ position:relative; }
.lx-title.choreo em::after{ content:""; position:absolute; left:2%; right:4%; bottom:.05em; height:1px;
  background:linear-gradient(90deg, var(--accent), rgba(224,0,0,.12)); transform:scaleX(0);
  transform-origin:0 50%; animation:lxUnder .8s ease forwards; animation-delay:1.2s; }
@keyframes lxUnder{ to{ transform:scaleX(1); } }

/* live check ticker */
.lx-ticker{ position:relative; overflow:hidden; background:#0a0b0e;
  border-top:1px solid var(--line-d); border-bottom:1px solid var(--line-d); }
.lx-ticker .tk{ display:flex; width:max-content; animation:lxTk 52s linear infinite; }
.lx-ticker .seq{ display:flex; align-items:center; white-space:nowrap; padding:11px 0; }
.lx-ticker b{ font-weight:500; color:var(--bone-dim); font-size:10.5px; letter-spacing:.18em;
  text-transform:uppercase; padding:0 18px; }
.lx-ticker i{ width:3px; height:3px; border-radius:50%; background:var(--accent); opacity:.75; flex:none; }
@keyframes lxTk{ to{ transform:translateX(-50%); } }

/* scan beam over the live report example */
.scanbeam{ position:relative; overflow:hidden; }
.scanbeam::after{ content:""; position:absolute; left:0; right:0; top:-36%; height:30%; pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(224,0,0,.05) 40%, rgba(224,0,0,.14) 50%,
    rgba(224,0,0,.05) 60%, transparent);
  animation:lxBeam 6.5s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes lxBeam{ 0%,22%{ top:-36%; } 78%,100%{ top:118%; } }

/* staggered card cascade + hover sheen */
.lx-cards .reveal:nth-child(2){ transition-delay:.09s; }
.lx-cards .reveal:nth-child(3){ transition-delay:.18s; }
.lx-cards .reveal:nth-child(4){ transition-delay:.27s; }
.lx-card{ position:relative; overflow:hidden; }
.lx-card::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(105deg, transparent 42%, rgba(255,255,255,.055) 50%, transparent 58%);
  transform:translateX(-130%); }
.lx-card:hover::after{ transform:translateX(130%); transition:transform .75s ease; }

/* scan form focus glow + CTA shine sweep */
.lx-scan{ transition:box-shadow .3s ease, border-color .3s ease; }
.lx-scan:focus-within{ box-shadow:0 0 0 1px rgba(224,0,0,.38), 0 18px 48px -20px rgba(224,0,0,.28); }
.lx-scan button{ position:relative; overflow:hidden; }
.lx-scan button::after{ content:""; position:absolute; top:0; bottom:0; width:36%; left:0; pointer-events:none;
  background:linear-gradient(105deg, transparent, rgba(10,11,14,.10) 50%, transparent);
  transform:translateX(-160%) skewX(-18deg); animation:lxShine 5.6s ease-in-out infinite; animation-delay:2.2s; }
@keyframes lxShine{ 0%,72%{ transform:translateX(-160%) skewX(-18deg); } 88%,100%{ transform:translateX(420%) skewX(-18deg); } }

/* counter spans inherit the stat serif, not the label color */
.lx-stats b span{ color:#fff; font:inherit; }

@media (prefers-reduced-motion: reduce){
  .lx-progress, .scanbeam::after, .lx-scan button::after{ display:none; }
  .lx-ticker .tk{ animation:none; }
  .lx-title .hwi{ transform:none; opacity:1; filter:none; animation:none; }
  .lx-title.choreo em::after{ animation:none; transform:scaleX(1); }
}
@media (max-width:560px){ .lx-ticker b{ font-size:9.5px; padding:0 12px; } }

/* ===== L12: signature layer (radar, strapline, numerals, hairlines) ==== */
/* radar sweep over the hero orbit */
.lx-radar{ position:absolute; inset:6%; border-radius:50%; pointer-events:none; opacity:.85;
  background:conic-gradient(from 0deg, rgba(224,0,0,.15) 0deg, rgba(224,0,0,.05) 24deg, transparent 58deg);
  -webkit-mask:radial-gradient(circle, transparent 16%, #fff 17%, #fff 74%, transparent 75%);
          mask:radial-gradient(circle, transparent 16%, #fff 17%, #fff 74%, transparent 75%);
  animation:lxRadar 9s linear infinite; }
@keyframes lxRadar{ to{ transform:rotate(360deg); } }
/* detection pings: red = gap, green = cited */
.lx-ping{ position:absolute; left:var(--px); top:var(--py); width:5px; height:5px; border-radius:50%;
  pointer-events:none; opacity:0; background:#ff4d42; color:rgba(255,77,66,.45);
  animation:lxPing 9s ease-out infinite; animation-delay:var(--pd,0s); }
.lx-ping.g{ background:#a6e34d; color:rgba(166,227,77,.4); }
@keyframes lxPing{
  0%,5%{ opacity:0; transform:scale(.4); box-shadow:0 0 0 0 currentColor; }
  11%{ opacity:1; }
  26%{ opacity:.95; transform:scale(1); box-shadow:0 0 0 16px transparent; }
  38%,100%{ opacity:0; transform:scale(.6); box-shadow:0 0 0 16px transparent; }
}

/* giant outlined strapline */
.lx-giant{ overflow:hidden; padding:30px 0 6px; background:#0a0b0e; }
.lx-giant .gt{ display:flex; width:max-content; animation:lxTk 64s linear infinite; }
.lx-giant span{ font-family:var(--serif); font-style:italic; font-weight:400; white-space:nowrap;
  font-size:clamp(64px,11vw,150px); line-height:1.12; color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.13); letter-spacing:.01em; flex:none; }

/* editorial section numerals */
.lx-num{ display:block; font-family:var(--serif); font-style:italic; font-size:15px;
  color:var(--muted2); letter-spacing:.14em; margin-bottom:12px; }
.lx-num::after{ content:""; display:block; width:34px; height:1px; margin:10px 0 0;
  background:linear-gradient(90deg, var(--accent), transparent); }
.lx-h .lx-num::after, .lx-grand .lx-num::after{ margin-left:auto; margin-right:auto; }

/* gradient hairline borders (cards, showcase, cta) */
.lx-card, .lx-card-lg, .lx-cta-in{ position:relative; border-color:transparent; }
.lx-card:hover{ border-color:transparent; }
.lx-card::before, .lx-card-lg::before, .lx-cta-in::before{ content:""; position:absolute; inset:0;
  border-radius:inherit; padding:1px; pointer-events:none; opacity:.95;
  background:linear-gradient(165deg, rgba(255,255,255,.20), rgba(255,255,255,.05) 38%,
    rgba(255,255,255,.02) 62%, rgba(224,0,0,.13));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; }
.lx-card{ box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }

/* grand CTA finale */
.lx-grand{ padding:96px 28px 92px;
  background:radial-gradient(900px 420px at 50% -20%, rgba(224,0,0,.10), transparent 62%),
    radial-gradient(760px 320px at 50% -40%, #191d27, transparent 70%), #0e1014; }
.lx-grand h2{ font-size:clamp(38px,7.2vw,72px); line-height:1.06; max-width:860px;
  margin-left:auto; margin-right:auto; }

/* ticker pauses on hover */
.lx-ticker:hover .tk{ animation-play-state:paused; }

/* desktop hero type scale-up */
@media (min-width:900px){ .lx-title{ font-size:clamp(56px,6.4vw,84px); line-height:1.05; } }

/* mobile: cards stack as a sticky deck */
@media (max-width:560px){
  .lx-cards{ display:block; padding:0 20px; }
  .lx-card{ display:block; position:sticky; margin-bottom:16px; background:#10131a; }
  .lx-card:nth-child(1){ top:74px; }
  .lx-card:nth-child(2){ top:88px; }
  .lx-card:nth-child(3){ top:102px; }
  .lx-card:nth-child(4){ top:116px; }
  .lx-giant span{ font-size:19vw; }
}

@media (prefers-reduced-motion: reduce){
  .lx-radar, .lx-ping{ display:none; }
  .lx-giant .gt{ animation:none; }
}

/* ===== L13: scan rows + admin command center =========================== */
/* shared dark scan rows (homepage + admin) */
.lx-recent-in{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); border-radius:18px; padding:30px 30px 14px; }
.lx-recent-t{ font-family:var(--serif); font-weight:400; font-size:30px; color:#fff; margin:8px 0 14px; }
.lx-scanlist{ display:flex; flex-direction:column; }
.lx-scanrow{ display:grid; grid-template-columns:10px minmax(0,1fr) auto 120px 38px auto; gap:16px;
  align-items:center; padding:13px 6px; border-bottom:1px solid var(--line-d);
  text-decoration:none; color:var(--bone); font-size:14px; transition:background .2s ease, transform .2s ease; }
.lx-scanrow:last-child{ border-bottom:0; }
.lx-scanrow:hover{ background:rgba(255,255,255,.025); transform:translateX(3px); }
.lx-scanrow .st{ width:7px; height:7px; border-radius:50%; background:#59606c; }
.lx-scanrow .st.done{ background:#a6e34d; box-shadow:0 0 10px rgba(166,227,77,.4); }
.lx-scanrow .st.running{ background:#d9a23f; animation:axPulse 1.5s ease-in-out infinite; }
.lx-scanrow .st.error{ background:#e05252; }
.lx-scanrow .host{ color:#fff; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lx-scanrow .when{ color:var(--muted2); font-size:12.5px; white-space:nowrap; }
.lx-scanrow .hs{ height:3px; border-radius:99px; background:rgba(255,255,255,.08); overflow:hidden; width:120px; }
.lx-scanrow .hs i{ display:block; height:100%; border-radius:99px; background:#3a3f49; }
.lx-scanrow .hs i.g{ background:linear-gradient(90deg,#6ea922,#a6e34d); }
.lx-scanrow .hs i.m{ background:linear-gradient(90deg,#a87f2c,#d9a23f); }
.lx-scanrow .hs i.r{ background:linear-gradient(90deg,#9c3030,#e05252); }
.lx-scanrow .hv{ font-family:var(--serif); font-size:19px; color:#fff; text-align:right; }
.lx-scanrow .go{ color:var(--muted2); font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  opacity:0; transition:opacity .2s ease; white-space:nowrap; }
.lx-scanrow:hover .go{ opacity:1; }
@keyframes axPulse{ 0%,100%{ opacity:.45; } 50%{ opacity:1; } }
@media (max-width:640px){
  .lx-scanrow{ grid-template-columns:10px minmax(0,1fr) auto 30px; }
  .lx-scanrow .hs, .lx-scanrow .go{ display:none; }
  .lx-recent-in{ padding:22px 16px 8px; }
}

/* admin command center */
.adminx{ background:var(--ink); color:var(--bone); font-family:var(--sans); }
.adminx .foot{ background:#070809; color:var(--muted2); border:0; }
.adminx .foot a{ color:var(--bone-dim); }
.ax{ max-width:1200px; margin:0 auto; padding:40px 24px 70px; }
.ax-head h1{ font-family:var(--serif); font-weight:400; font-size:clamp(36px,4.6vw,54px); color:#fff; margin:8px 0 6px; }
.ax-head .muted{ color:var(--muted2); }
.ax-nav{ display:flex; flex-wrap:wrap; gap:9px; margin:18px 0 6px; }
.ax-nav a{ color:var(--bone); text-decoration:none; font-size:12.5px; letter-spacing:.04em;
  padding:7px 14px; border:1px solid var(--line-d); border-radius:999px;
  background:rgba(255,255,255,.03); transition:border-color .2s ease, background .2s ease; }
.ax-nav a:hover{ border-color:var(--line-d2); background:rgba(255,255,255,.06); }
.ax-metrics{ display:grid; grid-template-columns:repeat(6,1fr); gap:0; margin:26px 0 8px;
  border-top:1px solid var(--line-d); border-bottom:1px solid var(--line-d); }
.ax-metrics > div{ padding:20px 14px; border-left:1px solid var(--line-d); display:flex; flex-direction:column; }
.ax-metrics > div:first-child{ border-left:0; }
.ax-metrics b{ font-family:var(--serif); font-weight:500; font-size:38px; color:#fff; line-height:1.05; }
.ax-metrics span{ color:var(--bone-dim); font-size:12.5px; margin-top:4px; }
.ax-metrics small{ color:var(--muted2); font-size:11px; margin-top:2px; }
.ax-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:18px 0; }
.ax-grid .ax-span2{ grid-column:auto; }
@media (min-width:960px){ .ax-grid{ grid-template-columns:1.35fr 1fr; } }
.adminx .card{ background:rgba(255,255,255,.03); border:1px solid var(--line-d); border-radius:16px;
  box-shadow:none; color:var(--bone); margin:18px 0; padding:22px 24px; }
.ax-grid .card{ margin:0; }
.adminx .card h2{ color:#fff; font-weight:500; font-size:16.5px; margin:0 0 12px; }
.adminx .card h2 .muted, .adminx .muted{ color:var(--muted2); font-weight:400; }
.adminx .card a{ color:#fff; }
.adminx table.grid{ width:100%; border-collapse:collapse; }
.adminx table.grid th{ color:var(--muted2); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  border-bottom:1px solid var(--line-d2); background:transparent; text-align:left; padding:8px 10px; }
.adminx table.grid td{ border-bottom:1px solid var(--line-d); color:var(--bone-dim); padding:9px 10px; font-size:13.5px; }
.adminx table.grid tr:last-child td{ border-bottom:0; }
.adminx table.grid tr:hover td{ background:rgba(255,255,255,.02); }
.ax-pipe{ display:flex; flex-direction:column; gap:10px; }
.ax-stage{ display:grid; grid-template-columns:110px 1fr 30px; gap:12px; align-items:center; }
.ax-stage .lab{ color:var(--bone-dim); font-size:12.5px; }
.ax-stage .bar{ height:4px; border-radius:99px; background:rgba(255,255,255,.07); overflow:hidden; }
.ax-stage .bar i{ display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,var(--accent),#ff6a5f); }
.ax-stage .n{ color:#fff; font-family:var(--serif); font-size:17px; text-align:right; }
.ax-engine{ display:flex; flex-direction:column; gap:9px; }
.ax-prov{ display:flex; align-items:center; gap:10px; color:#fff; font-size:13.5px; flex-wrap:wrap; }
.ax-prov em{ color:var(--muted2); font-style:normal; font-size:11.5px; }
.ax-prov .dot{ width:7px; height:7px; border-radius:50%; background:#59606c; flex:none; }
.ax-prov .dot.on{ background:#a6e34d; box-shadow:0 0 8px rgba(166,227,77,.4); }
@media (max-width:900px){ .ax-metrics{ grid-template-columns:repeat(3,1fr); }
  .ax-metrics > div:nth-child(4){ border-left:0; }
  .ax-metrics > div{ border-top:1px solid var(--line-d); } .ax-metrics > div:nth-child(-n+3){ border-top:0; }
  .ax-grid{ grid-template-columns:1fr; } }
@media (max-width:560px){ .ax-metrics{ grid-template-columns:1fr 1fr; }
  .ax-metrics > div{ border-left:0; } .ax-metrics > div:nth-child(-n+3){ border-top:1px solid var(--line-d); }
  .ax-metrics > div:nth-child(-n+2){ border-top:0; }
  .adminx table.grid{ display:block; overflow-x:auto; } }

/* adminx: dark sidebar + host column breathing room */
.adminx .sidebar{ background:#0c0d11; border-right:1px solid var(--line-d); }
.adminx .sidebar .ic{ color:var(--muted2); }
.adminx .soon{ color:#59606c; }
.adminx .soon .ic{ color:#3a3f49; }
.adminx .soon::after{ background:rgba(255,255,255,.07); color:var(--muted2); }
.adminx .side-h{ color:var(--muted2); }
.adminx .sidebar a{ color:var(--bone-dim); }
.adminx .sidebar a:hover{ background:rgba(255,255,255,.05); color:#fff; }
.adminx .sidebar a:hover .ic{ color:#fff; }
.adminx .sidebar a.active{ background:rgba(224,0,0,.14); color:#ff8d85; }
.lx-scanrow{ gap:12px; grid-template-columns:10px minmax(0,1fr) auto 90px 36px auto; }
.lx .lx-recent-t{ font-family:var(--serif); font-weight:400; }

/* MyRankOne wordmark (replaces logo image in the black top bar) */
.brand .brand-wm{ font-size:22px; color:#fff; letter-spacing:-.01em; line-height:1; }
