:root {
  --bg: #0a0e15;
  --surface: #111723;
  --surface-2: #172031;
  --border: #243044;
  --text: #e8ecf2;
  --muted: #9aa5b5;
  --accent: #22c55e;
  --accent-ink: #052e14;
  --warn: #f5a524;
  --bad: #f05252;
  --ok: #22c55e;
  --here: #60a5fa;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.55; font-size: 16px; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }

/* Buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 14px 22px; font: 700 16px var(--font); cursor: pointer; text-decoration: none; min-height: 48px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.input { width: 100%; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font: 16px var(--font); min-height: 48px; }
.input:focus, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 6vw, 54px); letter-spacing: -0.03em; max-width: 780px; margin: 0 auto 16px; }
.hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.scan-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); padding: 8px; border-radius: 16px; }
.scan-form .input { border: 0; background: transparent; }
.scan-form .btn { white-space: nowrap; flex: none; }
@media (max-width: 560px) { .scan-form { flex-direction: column; } .scan-form .btn { width: 100%; } }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-h { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.03em; max-width: 780px; margin: 0 auto 16px; }
.check-label { font-size: 22px; margin: 0 auto 10px; }
.check-now-link { display: inline-block; color: var(--accent); font-size: 22px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; margin-top: 8px; }
#check { border-top: 1px solid var(--border); background: radial-gradient(ellipse at top, rgba(34, 197, 94, 0.08), transparent 60%); }
.intro { padding-bottom: 48px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero-actions .btn-ghost { min-height: 58px; }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.trust-row li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.signoff { font-weight: 700; color: var(--accent); }
.review-grid { display: grid; gap: 16px; margin: 16px 0; }
@media (min-width: 860px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card .stars { color: #fbbf24; font-size: 18px; letter-spacing: 2px; margin-bottom: 8px; }
.review-card blockquote { margin: 0 0 12px; font-size: 16px; }
.review-card .who { font-weight: 700; margin: 0; }
.review-card .proof { font-size: 13px; color: var(--accent); margin: 6px 0 0; }

/* Status */
.status { max-width: 620px; margin: 24px auto 0; text-align: center; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.error { background: rgba(240, 82, 82, 0.1); border: 1px solid rgba(240, 82, 82, 0.4); color: #ffc9c9; padding: 12px 16px; border-radius: 10px; }

/* Results */
.results { padding: 8px 0 40px; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 340px 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card h2 { font-size: 20px; }
.card h3 { font-size: 17px; }
.score-card { text-align: center; }
.donut { width: 190px; height: 190px; display: block; margin: 4px auto 12px; }
.donut .track { stroke: var(--surface-2); }
.donut .value { transition: stroke-dashoffset 1s ease-out; }
.donut .num { fill: var(--text); font: 800 46px var(--font); }
.donut .of { fill: var(--muted); font: 600 14px var(--font); }
.grade { display: inline-block; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.grade-good { background: rgba(34, 197, 94, 0.14); color: var(--ok); }
.grade-mid { background: rgba(245, 165, 36, 0.14); color: var(--warn); }
.grade-bad { background: rgba(240, 82, 82, 0.14); color: var(--bad); }
.site { word-break: break-all; margin-top: 10px; }
.score-cta { width: 100%; margin-top: 6px; }

.bars { list-style: none; padding: 0; margin: 0; }
.bars li { margin-bottom: 16px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.bar-head strong { white-space: nowrap; }
.bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 0.9s ease-out; }
.fill-good { background: var(--ok); }
.fill-mid { background: var(--warn); }
.fill-bad { background: var(--bad); }
.fill-none { background: repeating-linear-gradient(45deg, var(--border) 0 6px, transparent 6px 12px); }

.problems { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.problems li { counter-increment: p; position: relative; padding: 14px 14px 14px 52px; background: rgba(240, 82, 82, 0.07); border: 1px solid rgba(240, 82, 82, 0.25); border-radius: 10px; margin-bottom: 10px; }
.problems li p { margin: 0; }
.problems li.problems-more { counter-increment: none; padding: 14px; text-align: center; background: transparent; border: 1px dashed rgba(240, 82, 82, 0.45); }
.problems li.problems-more::before { display: none; }
.problems-more a { color: var(--text); font-weight: 800; font-size: 16px; }
.problems li::before { content: counter(p); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: rgba(240, 82, 82, 0.15); color: var(--bad); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.fix { color: var(--ok); font-size: 14px; margin: 6px 0 0; }

.gate { border: 1px dashed var(--border); border-radius: 12px; padding: 18px; margin-top: 6px; background: linear-gradient(180deg, rgba(34, 197, 94, 0.05), transparent); }
.gate-row { display: flex; gap: 10px; margin: 10px 0; }
@media (max-width: 560px) { .gate-row { flex-direction: column; } }

.report-split { display: grid; gap: 24px; margin-bottom: 8px; }
@media (min-width: 860px) { .report-split { grid-template-columns: 1fr 1fr; } }
.report-split h2 { font-size: 20px; }
.good-list { list-style: none; padding: 0; margin: 0; }
.good-list li { position: relative; padding: 14px 14px 14px 52px; background: rgba(34, 197, 94, 0.07); border: 1px solid rgba(34, 197, 94, 0.2); border-radius: 10px; margin-bottom: 10px; }
.good-list li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: rgba(34, 197, 94, 0.18); }
.good-list li::after { content: ""; position: absolute; left: 22px; top: 21px; width: 10px; height: 6px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
details summary { cursor: pointer; font-weight: 700; }

.chart svg { width: 100%; max-width: 620px; height: auto; display: block; }
.chart .axis { stroke: var(--border); }
.chart .grid-line { stroke: var(--border); stroke-dasharray: 2 4; }
.chart .lbl { fill: var(--muted); font: 14px var(--font); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 7 6; }
.chart .dot { fill: var(--accent); }
.growth { margin: 32px 0 16px; }
.growth > h2 { font-size: clamp(22px, 3.4vw, 30px); }
@media (min-width: 860px) { .grid-charts { grid-template-columns: 1fr 1fr; } }
.grid-charts { margin: 16px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.key::before { content: ""; display: inline-block; width: 16px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.key-us::before { background: var(--accent); }
.key-nothing::before { background: var(--bad); }
.chart .line-nothing { fill: none; stroke: var(--bad); stroke-width: 3; }
.chart .line-growth { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linejoin: round; }
.chart .dot-nothing { fill: var(--bad); }
.chart .cbar { fill: var(--accent); }
.chart .cbar.bar-here { fill: var(--here); }
.chart .cbar.bar-plain { fill: var(--border); }
.chart .cbar.bar-zone-here { fill: var(--accent); stroke: var(--here); stroke-width: 3; }
.chart .zone-bracket { fill: none; stroke: var(--accent); stroke-width: 2; }
.chart .dot-here { fill: var(--here); stroke: var(--surface); stroke-width: 2; }
.chart .tag-here { fill: var(--here); font: 800 13px var(--font); }
.chart .tag-aim { fill: var(--accent); font: 800 13px var(--font); }
.chart .tag-nothing { fill: var(--bad); font: 800 13px var(--font); }
.key-here::before { background: var(--here); }
.key-aim::before { background: var(--accent); }
.gate-grid { display: grid; gap: 0 16px; margin-top: 12px; }
@media (min-width: 640px) { .gate-grid { grid-template-columns: 1fr 1fr; } }
/* Big, clear opt-in (many tradespeople are reading on a phone, some without their glasses). */
.optin { display: flex; gap: 14px; align-items: flex-start; background: #e7eaf0; color: #111827; border: 2px solid #c7cdd8; border-radius: 12px; padding: 16px; margin: 0 0 14px; cursor: pointer; font-weight: 400; }
.optin input { width: 28px; height: 28px; flex: none; margin: 2px 0 0; accent-color: #16a34a; cursor: pointer; }
.optin-title { display: block; font-size: 19px; font-weight: 800; line-height: 1.3; margin-bottom: 4px; }
.optin-sub { display: block; font-size: 15px; color: #374151; }
.optin:has(input:checked) { border-color: #16a34a; background: #dcfce7; }
.gate-btn { width: 100%; margin: 4px 0 12px; }
@media (min-width: 640px) { .gate-btn { width: auto; } }
.rank-line { font-size: 18px; margin-bottom: 6px; }
.rank-line strong { color: var(--text); }
.rank-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.maps-box { border-top: 1px solid var(--border); margin: 14px 0 10px; padding-top: 14px; }
.maps-head { font-size: 17px; margin-bottom: 6px; }
.maps-list { margin: 0 0 10px; padding-left: 22px; font-size: 15px; }
.maps-list li { margin-bottom: 4px; }
.maps-you { font-size: 15px; margin: 0; }
.link-plain { color: var(--accent); margin-left: 0; padding: 0; text-decoration: underline; font-size: inherit; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-head h3 { margin: 0; }
.toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface-2); }
.toggle-btn { border: 0; background: transparent; color: var(--muted); font: 700 13px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.toggle-btn.is-on { background: var(--accent); color: var(--accent-ink); }
.chart .gap-fill { fill: url(#gapGrad); }
.chart .tag-pill { fill: var(--surface-2); stroke: var(--border); }
.plan-compare { display: grid; gap: 16px; margin: 16px 0; }
@media (min-width: 640px) { .plan-compare { grid-template-columns: 1fr 1fr; } }
.plan-sum-best { border-color: rgba(34, 197, 94, 0.5); }
.plan-sum .save { margin: 0 0 8px; }
.calc-3 { grid-template-columns: 1fr; }
@media (min-width: 860px) { .calc-row.calc-3 { grid-template-columns: 1.3fr 1fr 1fr; } }
select.input { appearance: auto; }
.plans { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; max-width: 520px; }
@media (max-width: 420px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; cursor: pointer; margin: 0; font-weight: 400; }
.plan input { position: absolute; opacity: 0; }
.plan-body { display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.plan input:checked + .plan-body { border-color: var(--accent); background: rgba(34, 197, 94, 0.08); }
.plan input:focus-visible + .plan-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan .price { font-size: 30px; }
.plan-name { font-weight: 700; }
.save { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-ink); background: var(--accent); padding: 2px 6px; border-radius: 999px; margin-left: 4px; vertical-align: middle; }
.chart .cbar.bar-low { fill: var(--bad); }
.chart .cbar.bar-mid { fill: var(--warn); }
.chart .val { fill: var(--text); font: 700 14px var(--font); }
.chart .ref { stroke: var(--warn); stroke-width: 2; stroke-dasharray: 6 5; }
.chart .ref-lbl { fill: var(--warn); font: 700 13px var(--font); }
.sample-badge.badge-research { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }
.calc-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .calc-row { grid-template-columns: 1fr 1fr; } }
.sample-badge { display: inline-block; background: rgba(245, 165, 36, 0.14); color: var(--warn); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

.cta { background: linear-gradient(135deg, #10301e, #111723 60%); border: 1px solid rgba(34, 197, 94, 0.35); }
.cta h2 { font-size: clamp(22px, 3.4vw, 30px); }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 14px 0 20px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.cta .btn { width: 100%; max-width: 420px; font-size: 17px; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -0.02em; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 20px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Long-form homepage sections */
.section .eyebrow { margin-bottom: 12px; }
.prose { max-width: 720px; font-size: 17px; }
.prose p { margin-bottom: 14px; }
.stats { display: grid; gap: 16px; margin: 24px 0 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { text-align: center; }
.stat-num { font-size: 44px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; margin: 0 0 4px; }
.cta-band { margin: 28px 0 0; text-align: center; }
.cta-band p { margin-top: 8px; }
.btn-big { font-size: 18px; padding: 18px 32px; min-height: 58px; width: 100%; max-width: 420px; box-shadow: 0 8px 30px rgba(34, 197, 94, 0.25); }
@media (min-width: 860px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; margin-top: 16px; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { font-size: 14px; color: var(--muted); }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.compare-table .us { background: rgba(34, 197, 94, 0.14); color: var(--text); font-weight: 700; border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.compare-table thead .us { color: var(--accent-ink); background: var(--accent); border-radius: 10px 10px 0 0; }
.compare-table tbody tr:last-child .us { border-bottom: 2px solid var(--accent); }
/* The other options get a soft red tint and outline: not shouting, but they read as the worse choice. */
.compare-table td:not(.us) { background: rgba(240, 82, 82, 0.06); color: #f0c2c2; box-shadow: inset 0 0 0 1px rgba(240, 82, 82, 0.12); }
.compare-table thead th:not(.us):not(:first-child) { color: #f59a9a; }
.timeline { max-width: 720px; padding-left: 22px; font-size: 17px; }
.timeline li { margin-bottom: 14px; }
.crosses { list-style: none; padding: 0; margin: 14px 0 0; }
.crosses li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.crosses li::before { content: "×"; position: absolute; left: 6px; top: -2px; color: var(--bad); font-weight: 800; font-size: 20px; }
.final-cta { background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.06)); }
.center { text-align: center; }
.prose .draft { font-size: 15px; }

/* Forms page (onboarding etc.) */
.page { padding: 40px 0 64px; }
.narrow { max-width: 640px; }
.field { margin-bottom: 18px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
textarea.input { min-height: 96px; resize: vertical; }
.star-field { border: 0; padding: 0; margin: 0 0 18px; }
.star-field legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 40px; line-height: 1; color: var(--border); cursor: pointer; margin: 0; padding: 0 2px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #fbbf24; }
.stars-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.preview-note { margin: 0 0 20px; }
.success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); padding: 16px; border-radius: 10px; }

/* Admin */
.admin-list { display: grid; gap: 16px; }
.admin-gap { margin-top: 40px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.admin-head h3 { margin: 0; word-break: break-word; }
.admin-facts { display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; margin: 0 0 16px; font-size: 15px; }
.admin-facts dt { color: var(--muted); }
.admin-facts dd { margin: 0; word-break: break-word; }
.admin-sub { margin: 0 0 8px; font-size: 16px; }
.admin-log { padding-left: 20px; margin: 0 0 12px; }
.admin-log li { margin-bottom: 6px; }
.admin-form { display: grid; gap: 10px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.admin-form .btn { justify-self: start; }
.support-text { white-space: pre-wrap; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dash-tabs .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.dash-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 16px; }
@media (min-width: 760px) { .dash-cards { grid-template-columns: repeat(4, 1fr); } }
.dash-card { padding: 20px 14px; text-align: center; }
.dash-big { font-size: clamp(30px, 6vw, 44px); font-weight: 800; color: var(--accent); letter-spacing: -0.02em; margin: 4px 0; }
/* Add-ons after paying */
.addons { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.addon-list { display: grid; gap: 16px; margin-top: 16px; }
.addon h3 { margin: 0 0 4px; }
.addon-price { font-size: 22px; font-weight: 800; color: var(--accent); margin: 0 0 8px; }
.addon-owned { color: var(--accent); font-weight: 700; margin: 0; }

/* Live chat */
.chat-open { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 20px; font: 700 15px var(--font); cursor: pointer; box-shadow: 0 8px 30px rgba(34, 197, 94, 0.35); min-height: 48px; }
.chat-open:hover { filter: brightness(1.05); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.chat-panel { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 32px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); overflow: hidden; }
.chat-panel.hidden, .chat-open.hidden { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(34, 197, 94, 0.08); }
.chat-sub { font-size: 13px; color: var(--muted); }
.chat-close { background: none; border: 0; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; min-width: 32px; min-height: 32px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 12px; border-radius: 12px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-them { background: var(--bg); border: 1px solid var(--border); align-self: flex-start; }
.chat-them a { color: var(--accent); }
.chat-me { background: var(--accent); color: var(--accent-ink); align-self: flex-end; }
.chat-wait { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-input { flex: 1; resize: none; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px; font: 15px var(--font); }
.chat-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chat-send { min-height: 44px; padding: 10px 16px; }
@media (max-width: 480px) { .chat-open span:last-child { font-size: 14px; } .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); } }

.admin-hero { padding-bottom: 32px; }
.ai-banner { text-align: left; max-width: 720px; margin: 24px auto 0; border-color: var(--accent); background: rgba(34, 197, 94, 0.08); }
.ai-banner h2 { font-size: 22px; margin-top: 0; }
.ai-banner ol { padding-left: 20px; line-height: 1.7; }
.admin-jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.admin-jump .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.admin-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }
.table-card { padding: 8px 12px; }
.admin-link-card { text-decoration: none; color: inherit; transition: border-color 0.15s; }
.admin-link-card:hover { border-color: var(--accent); }
.admin-link-card h3 { color: var(--accent); }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 16px; }
.dash-up { color: #22c55e; font-weight: 700; }
.dash-down { color: #ef4444; font-weight: 700; }
.dash-num { font-weight: 700; }
.admin-try { margin-top: 16px; }
.admin-try summary { cursor: pointer; font-weight: 700; }
.admin-try form { margin-top: 12px; }
.btn-link { background: none; border: 0; color: var(--bad); cursor: pointer; font: 13px var(--font); margin-left: 8px; padding: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; border-bottom: 1px solid var(--border); padding: 8px 6px; white-space: nowrap; }

/* Customer content pack + Google guide */
.pack-section { margin: 32px 0 12px; }
.pack-piece { margin-bottom: 14px; }
.pack-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pack-head h3 { margin: 0; font-size: 17px; }
.pack-copy { min-height: 40px; padding: 8px 16px; flex: none; }
.pack-text { white-space: pre-wrap; word-break: break-word; font: 16px/1.6 var(--font); background: var(--surface-2); border-radius: 8px; padding: 14px; margin: 10px 0 0; }
.guide .lede-sm { font-size: 18px; }
.email-chip { display: inline-block; background: var(--surface-2); border: 1px solid var(--accent); border-radius: 10px; padding: 10px 14px; font-size: 18px; }
.steps-list { font-size: 18px; line-height: 1.6; padding-left: 24px; }
.steps-list li { margin-bottom: 8px; }

/* Legal pages */
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 21px; margin-top: 32px; }
.legal li { margin-bottom: 6px; }
.draft { background: rgba(245, 165, 36, 0.1); border: 1px solid rgba(245, 165, 36, 0.4); color: #ffe2ad; padding: 12px 16px; border-radius: 10px; margin-bottom: 24px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--border); padding: 8px 6px; vertical-align: top; }
.table-scroll { overflow-x: auto; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
.foot a { color: var(--muted); }
