/* WebSeoTexas SEO checker - purple tech theme. No inline styles anywhere (CSP-safe). */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0716;
  --bg-2: #120b24;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(167, 139, 250, .16);
  --line-2: rgba(167, 139, 250, .32);
  --text: #f3effd;
  --muted: #a79fc0;
  --dim: #7a7396;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --fuchsia: #d946ef;
  --cyan: #22d3ee;
  --good: #34d399;
  --ok: #fbbf24;
  --poor: #fb7185;
  --grad-a: #8b5cf6;
  --grad-b: #d946ef;
  --radius: 16px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Unbounded", var(--font);
  --font-m: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--violet-2); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--font-m); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: rgba(139, 92, 246, .5); }

/* ---------- animated background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 700px at 50% -10%, #2a1458 0%, transparent 60%), var(--bg); }
.bg__grid {
  position: absolute; inset: -50% -10% auto; height: 150%;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55; animation: grid-drift 24s linear infinite; transform: perspective(900px) rotateX(58deg) translateY(0);
}
.bg__orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.bg__orb--a { width: 520px; height: 520px; background: #7c3aed; left: -120px; top: 10%; animation: float-a 18s ease-in-out infinite; }
.bg__orb--b { width: 460px; height: 460px; background: #c026d3; right: -120px; top: 35%; animation: float-b 22s ease-in-out infinite; opacity: .32; }
.bg__orb--c { width: 380px; height: 380px; background: #4f46e5; left: 40%; bottom: -160px; animation: float-a 26s ease-in-out infinite reverse; opacity: .35; }
@keyframes grid-drift { to { background-position: 0 56px, 56px 0; } }
@keyframes float-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-40px) scale(1.12); } }
@keyframes float-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,50px) scale(.92); } }

/* ---------- top bar ---------- */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 22px 20px; }
.top__brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font: 700 15px/1 var(--font-d); letter-spacing: -.01em; }
.logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 0 24px rgba(139,92,246,.6); }
.logo svg { width: 18px; height: 18px; }
.top__phone { font-size: 13px; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); transition: .25s var(--ease); }
.top__phone:hover { border-color: var(--line-2); color: #fff; }

/* ---------- hero ---------- */
.hero { max-width: 820px; margin: 0 auto; padding: 48px 20px 36px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font: 500 12.5px/1 var(--font-m); color: var(--violet-2); animation: rise .8s var(--ease) both; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero__title { margin-top: 26px; font: 800 clamp(34px, 6.4vw, 66px)/1.08 var(--font-d); letter-spacing: -.035em; animation: rise .8s .08s var(--ease) both; }
.grad { background: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 25%, #e879f9 55%, #a78bfa 80%, #c4b5fd 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 250% 0; } }
.hero__sub { margin: 22px auto 0; max-width: 600px; color: var(--muted); font-size: 18px; animation: rise .8s .16s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- input with animated conic border ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.scan { position: relative; margin: 40px auto 0; max-width: 680px; animation: rise .8s .24s var(--ease) both; }
.scan__glow { position: absolute; inset: -2px; border-radius: 22px; background: radial-gradient(60% 120% at 50% 50%, rgba(139,92,246,.55), transparent 70%); filter: blur(28px); opacity: .55; transition: opacity .4s; }
.scan:focus-within .scan__glow { opacity: .95; }
.scan__box {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 18px; border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(from var(--ang), #7c3aed, #d946ef, #22d3ee, #7c3aed) border-box;
  animation: spin-ang 5s linear infinite;
}
@keyframes spin-ang { to { --ang: 360deg; } }
.scan__ico { width: 22px; height: 22px; flex: none; color: var(--violet-2); }
.scan input {
  flex: 1; min-width: 0; padding: 14px 6px; border: 0; background: none; color: #fff; font: 500 17px/1.2 var(--font-m); outline: none;
}
.scan input::placeholder { color: var(--dim); }
.scan__hint { margin-top: 14px; font: 12.5px var(--font-m); color: var(--dim); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 128px;
  padding: 14px 24px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; font: 700 15px/1 var(--font);
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 8px 30px -8px rgba(139,92,246,.8), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(217,70,239,.7), inset 0 1px 0 rgba(255,255,255,.3); color: #fff; }
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { cursor: progress; filter: saturate(.7); }
.btn__spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-busy .btn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; color: var(--muted); font-size: 14px; animation: rise .8s .32s var(--ease) both; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 16px; height: 16px; border-radius: 50%; background: rgba(139,92,246,.2); position: relative; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--violet-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(8,4,18,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.loader__card { width: min(360px, 90vw); padding: 34px 28px; text-align: center; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: 0 30px 80px -20px rgba(124,58,237,.6); }
.loader__ring { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; }
.loader__ring span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.loader__ring span:nth-child(1) { border-top-color: var(--violet); animation: spin 1s linear infinite; }
.loader__ring span:nth-child(2) { inset: 12px; border-right-color: var(--fuchsia); animation: spin 1.4s linear infinite reverse; }
.loader__ring span:nth-child(3) { inset: 24px; border-bottom-color: var(--cyan); animation: spin .8s linear infinite; }
.loader__step { font: 500 14px var(--font-m); color: var(--violet-2); min-height: 22px; }
.loader__bar { display: block; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); animation: slide 1.4s var(--ease) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- notices ---------- */
.notice { display: flex; flex-direction: column; gap: 4px; max-width: 680px; margin: 0 auto; padding: 16px 20px; text-align: left; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); animation: rise .5s var(--ease) both; }
.notice strong { font-weight: 700; }
.notice span { color: var(--muted); font-size: 15px; }
.notice--error { border-color: rgba(251,113,133,.5); background: rgba(251,113,133,.08); }
.notice--error strong { color: #fda4af; }
.notice--warn { border-color: rgba(251,191,36,.5); background: rgba(251,191,36,.08); }
.notice--warn strong { color: #fcd34d; }

/* ---------- report ---------- */
.result { max-width: 1120px; margin: 0 auto; padding: 0 20px 20px; outline: none; }
.result:empty { display: none; }
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

.report { padding-top: 12px; }
.eyebrow { font: 500 12px var(--font-m); text-transform: uppercase; letter-spacing: .14em; color: var(--violet-2); }
.report__head { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.report__site { min-width: 0; }
.report__url { margin-top: 8px; font: 700 clamp(18px, 2.8vw, 26px)/1.25 var(--font-d); letter-spacing: -.02em; overflow-wrap: anywhere; }
.report__title { margin-top: 8px; color: var(--muted); }
.report__redirect, .report__meta { margin-top: 8px; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.report__shot { flex: none; width: 260px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(124,58,237,.7); }
.report__shot { position: relative; aspect-ratio: 16 / 10; background: rgba(255,255,255,.04); }
.report__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--ease); }
.report__shot.is-loaded img { opacity: 1; }
.report__shot.is-loaded .shot__ph { display: none; }
.shot__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font: 500 12.5px var(--font-m); color: var(--dim);
  background: linear-gradient(100deg, transparent 30%, rgba(167,139,250,.14) 50%, transparent 70%) 0 0 / 250% 100%; animation: shine 2.2s linear infinite; }
.report__shot.is-failed { display: none; }

.overview { display: grid; grid-template-columns: 300px 1fr; gap: 22px; margin-top: 22px; }
.gauge { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 300px; width: 100%; margin: 0 auto; padding: 14px; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(circle at 50% 30%, rgba(139,92,246,.18), transparent 65%), var(--surface); }
.gauge__svg { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); transform: rotate(-90deg); overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 11; }
.gauge__arc { fill: none; stroke: url(#gaugeGrad); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(167,139,250,.8)); }
.gauge.is-in .gauge__arc { stroke-dashoffset: calc(100 - var(--score, 0)); transition: stroke-dashoffset 1.8s .2s var(--ease); }
.gauge__ticks line { stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.gauge__center { position: relative; display: flex; flex-direction: column; align-items: center; }
.gauge__num { font: 800 64px/1 var(--font-d); letter-spacing: -.04em; }
.gauge__num small { font: 500 16px var(--font-m); color: var(--dim); margin-left: 3px; letter-spacing: 0; }
.gauge__label { margin-top: 10px; padding: 5px 14px; border-radius: 999px; font: 600 12px var(--font-m); text-transform: uppercase; letter-spacing: .1em; color: var(--tier); background: color-mix(in srgb, var(--tier) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tier) 40%, transparent); }
[data-tier="good"] { --tier: var(--good); }
[data-tier="ok"] { --tier: var(--ok); }
[data-tier="poor"] { --tier: var(--poor); }
.gauge { --tier: var(--violet-2); }
.report[data-tier="good"] .gauge { --tier: var(--good); }
.report[data-tier="ok"] .gauge { --tier: var(--ok); }
.report[data-tier="poor"] .gauge { --tier: var(--poor); }

.overview__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: .3s var(--ease); }
.stat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.stat__v { display: block; font-size: 20px; font-weight: 600; }
.stat__k { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
.is-good { color: var(--good); } .is-bad { color: var(--poor); }

.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.cat { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; color: var(--text); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.cat::before, .check::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(167,139,250,.16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cat:hover { border-color: var(--line-2); transform: translateY(-3px); color: var(--text); }
.cat:hover::before, .check:hover::before { opacity: 1; }
.cat__top { position: relative; display: flex; align-items: center; gap: 10px; }
.cat__ico { width: 20px; height: 20px; color: var(--tier); }
.cat__name { flex: 1; font-weight: 600; }
.cat__score { font-size: 18px; font-weight: 600; }
.cat__score small { color: var(--dim); font-size: 12px; }
.bar { position: relative; display: block; height: 7px; border-radius: 7px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--tier), color-mix(in srgb, var(--tier) 55%, #fff)); box-shadow: 0 0 12px var(--tier); transition: width 1.3s .3s var(--ease); }

.ico { width: 20px; height: 20px; flex: none; }
.ico--sm { width: 12px; height: 12px; margin-left: 4px; }

.section-h { display: flex; align-items: center; gap: 12px; margin: 44px 0 16px; font: 700 20px/1.2 var(--font-d); letter-spacing: -.02em; }
.section-h .ico { color: var(--violet-2); width: 24px; height: 24px; }
.section-h .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 14px var(--fuchsia); }
.section-h__score { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

.fixes { margin-top: 12px; }
.fixes__list { display: grid; gap: 10px; }
.fix { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); transition: .3s var(--ease); }
.fix:hover { border-color: var(--line-2); transform: translateX(6px); background: var(--surface-2); color: var(--text); }
.fix__gain { flex: none; min-width: 52px; text-align: center; padding: 6px 10px; border-radius: 10px; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 6px 20px -6px rgba(139,92,246,.8); }
.fix__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fix__txt span { color: var(--muted); font-size: 14px; }
.fix__go { color: var(--dim); transform: rotate(-90deg); transition: transform .3s var(--ease); }
.fix:hover .fix__go { color: #fff; transform: rotate(-90deg) translateY(4px); }

.toolbar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 34px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,9,30,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.toolbar__spacer { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: .25s var(--ease); }
.chip:hover { color: #fff; border-color: var(--line-2); }
.chip.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 6px 22px -8px rgba(139,92,246,.9); }
.chip .mono { font-size: 12px; opacity: .8; }
.chip--ghost { background: none; }

.checks { display: grid; gap: 10px; }
.check { --mx: 50%; --my: 50%; position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .3s, background .3s; }
.check[hidden] { display: none; }
.check:hover { border-color: var(--line-2); }
.check.is-open { border-color: var(--line-2); background: var(--surface-2); }
.check__btn { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 0; background: none; text-align: left; cursor: pointer; }
.badge { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.badge .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.badge--pass { color: var(--good); background: rgba(52,211,153,.12); box-shadow: inset 0 0 0 1px rgba(52,211,153,.35); }
.badge--warn { color: var(--ok); background: rgba(251,191,36,.12); box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); }
.badge--fail { color: var(--poor); background: rgba(251,113,133,.12); box-shadow: inset 0 0 0 1px rgba(251,113,133,.35); }
.check__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.check__label { font-weight: 600; }
.check__sum { color: var(--muted); font-size: 14.5px; }
.check__pts { flex: none; font-weight: 600; font-size: 15px; }
.check__pts small { color: var(--dim); font-size: 12px; }
.check__chev { color: var(--dim); transition: transform .35s var(--ease); }
.check.is-open .check__chev { transform: rotate(180deg); color: #fff; }

.check__body { display: grid; grid-template-rows: 1fr; border-top: 1px solid var(--line); animation: open .4s var(--ease) both; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.check__inner { padding: 18px 20px 20px 68px; display: grid; gap: 12px; color: var(--muted); font-size: 15px; min-width: 0; }
.check__inner strong { color: var(--text); }
.value { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--line-2); background: rgba(0,0,0,.25); color: var(--violet-2); font-size: 13px; overflow-wrap: anywhere; }
.fixnote { padding: 12px 14px; border-left: 3px solid var(--fuchsia); border-radius: 0 10px 10px 0; background: rgba(217,70,239,.07); }
.lst { border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2); }
.lst summary { padding: 10px 14px; cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; gap: 8px; }
.lst summary::-webkit-details-marker { display: none; }
.lst summary::before { content: "▸"; color: var(--violet-2); transition: transform .25s; }
.lst[open] summary::before { transform: rotate(90deg); }
.lst ul { padding: 0 14px 12px; max-height: 240px; overflow: auto; font-size: 12.5px; display: grid; gap: 4px; }
.lst li { padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.03); overflow-wrap: anywhere; }
.lst .more, .muted { color: var(--dim); }
.lst .muted { padding: 0 14px 12px; }
.groups { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.links a { display: inline-flex; align-items: center; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 54px; padding: 28px; border: 1px solid var(--line-2); border-radius: 22px; background: radial-gradient(80% 160% at 0% 0%, rgba(139,92,246,.28), transparent 60%), radial-gradient(60% 140% at 100% 100%, rgba(217,70,239,.22), transparent 60%), var(--surface); }
.cta h3 { font: 700 22px/1.2 var(--font-d); letter-spacing: -.02em; }
.cta p { margin-top: 6px; color: var(--muted); }

.foot { padding: 50px 20px 40px; text-align: center; color: var(--dim); font-size: 14px; }
.noscript { text-align: center; color: var(--poor); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .overview { grid-template-columns: 1fr; }
  .report__head { flex-direction: column; }
  .report__shot { width: 100%; max-width: 360px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero__sub { font-size: 16px; }
  .scan__box { flex-wrap: wrap; padding: 12px; }
  .scan__ico { display: none; }
  .scan input { flex-basis: 100%; padding: 8px 6px; }
  .scan .btn { width: 100%; }
  .top__phone { display: none; }
  .cats { grid-template-columns: 1fr; }
  .check__inner { padding-left: 20px; }
  .check__btn { padding: 14px; gap: 10px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .section-h { font-size: 17px; flex-wrap: wrap; }
  .section-h__score { margin-left: 0; }
  .toolbar__spacer { display: none; }
}

/* ---------- motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .bg, .top, .hero, .toolbar, .loader, .cta, .foot, .check__chev { display: none !important; }
  body { background: #fff; color: #111; }
  .report * { color: #111 !important; background: none !important; box-shadow: none !important; border-color: #bbb !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .check__body[hidden] { display: block !important; }
  .check { break-inside: avoid; }
  .gauge__arc { stroke: #6d28d9; stroke-dashoffset: calc(100 - var(--score, 0)); }
  .bar__fill { width: var(--w, 0) !important; background: #6d28d9 !important; }
}
