/* AI Exposure Scanner (/scanner). Its own look on purpose: black, red, and white.
   Motion animates transform and opacity only, and stops when <html> has motion-off. */
:root {
  --sx-bg: #000;
  --sx-s1: #0A0A0A;
  --sx-s2: #141414;
  --sx-line: #2A2A2A;
  --sx-text: #fff;
  --sx-soft: #B8B8B8;
  --sx-mute: #8A8A8A;
  --sx-red: #FF003C;
  --sx-red-deep: #CC0030;
  --sx-red-pale: rgba(255, 0, 60, 0.1);
  --sx-serif: Georgia, "Times New Roman", serif;
  --sx-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sx-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sx-bg); color: var(--sx-text); font-family: var(--sx-sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--sx-red); color: #fff; }
:focus-visible { outline: 2px solid var(--sx-red); outline-offset: 3px; }
[hidden] { display: none !important; }

.sx-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .sx-wrap { padding: 0 28px; } }

.sx-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--sx-red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.sx-skip:focus { top: 12px; }

/* Header */
.sx-head { position: sticky; top: 0; z-index: 30; background: rgba(0, 0, 0, 0.94); border-bottom: 1px solid rgba(255, 0, 60, 0.28); }
.sx-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.sx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.sx-mark { width: 34px; height: 34px; flex: none; }
.sx-word { font-family: var(--sx-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.sx-nav { display: flex; align-items: center; gap: 4px; }
.sx-navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--sx-soft); text-decoration: none; border-radius: 999px; }
.sx-navlink:hover { color: #fff; background: var(--sx-s2); }
@media (max-width: 560px) { .sx-word { display: none; } .sx-hide-sm { display: none; } .sx-navlink { padding: 0 8px; } }

/* Buttons */
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 15px/1 var(--sx-sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.sx-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.sx-btn-red { background: var(--sx-red); color: #fff; box-shadow: 0 0 18px rgba(255, 0, 60, 0.35); }
.sx-btn-red:hover { background: #ff1a50; box-shadow: 0 0 28px rgba(255, 0, 60, 0.55); transform: translateY(-1px); }
.sx-btn-red:disabled { background: #3a0a16; color: #9a6a75; box-shadow: none; cursor: not-allowed; transform: none; }
.sx-btn-ghost { background: transparent; color: #fff; border-color: var(--sx-line); }
.sx-btn-ghost:hover { border-color: var(--sx-red); }

/* Type */
.sx-label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sx-red); }
.sx-display { margin: 0; font-family: var(--sx-serif); font-weight: 400; font-size: clamp(2.5rem, 7.4vw, 5.25rem); line-height: 1.04; letter-spacing: -0.01em; }
.sx-h2 { margin: 0 0 20px; font-family: var(--sx-serif); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.15; }
.sx-h3 { margin: 0 0 10px; font-family: var(--sx-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.sx-lead { margin: 20px 0 0; max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--sx-soft); }
.sx-sub { max-width: 720px; color: var(--sx-soft); }
.sx-quiet { margin: 16px 0 0; font-size: 14px; color: var(--sx-mute); }
.sx-link { color: var(--sx-red); font-weight: 700; text-decoration: none; }
.sx-link:hover { text-decoration: underline; }
.sx-code { display: inline-block; font-family: var(--sx-mono); font-size: 12px; color: var(--sx-red); letter-spacing: 0.08em; }

/* Hero with the laser */
.sx-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(88vh, 760px); display: flex; align-items: center; padding: 72px 0 56px; border-bottom: 1px solid var(--sx-line); }
.sx-hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 40%, rgba(255, 0, 60, 0.14), transparent 70%); }
.sx-hero-in { position: relative; z-index: 2; }
.sx-laser-track { position: absolute; inset: 0; z-index: 1; pointer-events: none; transform: translateY(-100%); animation: sx-sweep 3.6s cubic-bezier(.45, .05, .55, .95) infinite; }
.sx-laser { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sx-red); box-shadow: 0 0 14px var(--sx-red), 0 0 32px rgba(255, 0, 60, 0.7); }
.sx-laser::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 90px; background: linear-gradient(to top, rgba(255, 0, 60, 0.16), transparent); }
@keyframes sx-sweep { 0% { transform: translateY(-100%); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.sx-hero.is-off .sx-laser-track { animation-play-state: paused; }
.sx-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; max-width: 760px; }
@media (min-width: 720px) { .sx-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sx-stats li { padding: 14px 16px; border: 1px solid var(--sx-line); border-radius: 12px; background: rgba(10, 10, 10, 0.8); }
.sx-stats b { display: block; font-family: var(--sx-serif); font-weight: 400; font-size: 1.6rem; }
.sx-stats span { font-size: 13px; color: var(--sx-soft); }

/* Bands and cards */
.sx-band { padding: 72px 0; }
.sx-band-alt { background: var(--sx-s1); border-top: 1px solid var(--sx-line); border-bottom: 1px solid var(--sx-line); }
.sx-card { position: relative; padding: 24px; border: 1px solid var(--sx-line); border-radius: 14px; background: var(--sx-s1); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.sx-band-alt .sx-card { background: var(--sx-bg); }
.sx-card:hover { border-color: rgba(255, 0, 60, 0.6); box-shadow: 0 0 24px rgba(255, 0, 60, 0.12); }
.sx-card p { margin: 0; color: var(--sx-soft); }
.sx-areas { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sx-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sx-areas { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sx-area .sx-code { margin-bottom: 14px; }
.sx-two { display: grid; gap: 32px; }
@media (min-width: 900px) { .sx-two { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.sx-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.sx-steps li { position: relative; padding: 0 0 18px 48px; color: var(--sx-soft); counter-increment: s; }
.sx-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--sx-mono); font-size: 13px; color: var(--sx-red); border: 1px solid rgba(255, 0, 60, 0.5); border-radius: 8px; padding: 2px 6px; }
.sx-steps b { color: #fff; }
.sx-not { border-color: rgba(255, 0, 60, 0.5); }
.sx-list { margin: 0; padding-left: 20px; color: var(--sx-soft); }
.sx-list li { margin-bottom: 10px; }
.sx-final { text-align: center; }
.sx-final .sx-cta-row { justify-content: center; }

/* Quiz */
.sx-quiz-wrap { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.sx-progress { height: 4px; background: var(--sx-s2); border-radius: 99px; overflow: hidden; }
.sx-progress-fill { display: block; height: 100%; background: var(--sx-red); box-shadow: 0 0 12px rgba(255, 0, 60, 0.6); transform-origin: left center; transform: scaleX(0); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.sx-counter { margin: 14px 0 22px; font-family: var(--sx-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--sx-soft); white-space: pre-wrap; }
.sx-qcard { padding: 28px 22px; border: 1px solid var(--sx-line); border-radius: 18px; background: var(--sx-s1); }
@media (min-width: 640px) { .sx-qcard { padding: 36px; } }
.sx-qcard fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sx-q { display: block; padding: 0; font-family: var(--sx-serif); font-size: clamp(1.3rem, 3.2vw, 1.75rem); line-height: 1.3; outline: none; }
.sx-q-area { margin: 10px 0 24px; font-size: 13px; color: var(--sx-mute); }
.sx-options { display: grid; gap: 10px; }
.sx-opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; border: 1px solid var(--sx-line); border-radius: 12px; background: var(--sx-s2); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.sx-opt:hover { border-color: rgba(255, 0, 60, 0.7); }
.sx-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sx-dot { flex: none; width: 22px; height: 22px; border: 2px solid #555; border-radius: 50%; display: grid; place-items: center; }
.sx-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s ease; }
.sx-opt:has(input:checked) { border-color: var(--sx-red); background: var(--sx-red-pale); box-shadow: 0 0 18px rgba(255, 0, 60, 0.22); }
.sx-opt:has(input:checked) .sx-dot { border-color: var(--sx-red); background: var(--sx-red); }
.sx-opt:has(input:checked) .sx-dot::after { transform: scale(1); }
.sx-opt:has(input:focus-visible) { outline: 2px solid var(--sx-red); outline-offset: 3px; }
.sx-opt-t { line-height: 1.4; }
.sx-q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Results */
.sx-score-hero { padding: 56px 0 24px; }
.sx-score { margin: 0; font-family: var(--sx-mono); font-weight: 400; font-size: clamp(4.5rem, 16vw, 8rem); line-height: 1; letter-spacing: -0.04em; outline: none; font-variant-numeric: tabular-nums; }
.sx-score small { font-family: var(--sx-serif); font-size: 0.3em; color: var(--sx-red); letter-spacing: 0; margin-left: 6px; }
.sx-band-name { margin: 14px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sx-red); }
.sx-bars { display: grid; gap: 14px; padding-bottom: 64px; }
.sx-bar { padding: 18px 20px; border: 1px solid var(--sx-line); border-radius: 14px; background: var(--sx-s1); }
.sx-bar-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sx-bar-name { flex: 1; font-family: var(--sx-serif); font-size: 1.15rem; }
.sx-bar-num { font-family: var(--sx-mono); font-size: 1.2rem; }
.sx-bar-num small { color: var(--sx-red); font-size: 0.7em; }
.sx-track { position: relative; height: 10px; border-radius: 99px; background: var(--sx-s2); overflow: hidden; }
.sx-fill { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, var(--sx-red-deep), var(--sx-red)); box-shadow: 0 0 12px rgba(255, 0, 60, 0.5); transform-origin: left center; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.sx-bars.play .sx-fill { transform: scaleX(var(--to, 0)); }
.sx-plan-card { margin-bottom: 14px; }
.sx-plan-card.is-top { border: 2px solid var(--sx-red); box-shadow: 0 0 26px rgba(255, 0, 60, 0.2); }
.sx-chip { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--sx-red-pale); border: 1px solid rgba(255, 0, 60, 0.5); font-family: var(--sx-mono); font-size: 12px; vertical-align: middle; }
.sx-plan-steps { margin: 6px 0 0; padding-left: 22px; color: var(--sx-soft); }
.sx-plan-steps li { margin-bottom: 12px; }
.sx-plan-steps q { color: #fff; font-style: italic; }
.sx-src { display: inline-block; margin-top: 2px; font-size: 13px; color: var(--sx-red); overflow-wrap: anywhere; }
.sx-recs { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 720px) { .sx-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sx-recs { grid-template-columns: repeat(3, minmax(0, 1fr)); } #sx-biz-recs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sx-rec { display: flex; flex-direction: column; gap: 10px; }
.sx-rec .sx-btn { margin-top: auto; align-self: flex-start; }
.sx-rec.is-top { border: 2px solid var(--sx-red); box-shadow: 0 0 26px rgba(255, 0, 60, 0.2); }
.sx-flag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--sx-red); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.sx-price { font-family: var(--sx-serif); font-size: 1.4rem; color: #fff !important; }
.sx-note { font-size: 13px; color: var(--sx-mute) !important; }

/* View change sweep */
.sx-sweep { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, var(--sx-red), transparent); box-shadow: 0 0 14px rgba(255, 0, 60, 0.6); }
.sx-sweep.go { animation: sx-line .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes sx-line { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(100vh); } }

/* Footer */
.sx-foot { border-top: 1px solid rgba(255, 0, 60, 0.28); padding: 40px 0 96px; }
.sx-foot-in { display: grid; gap: 12px; }
.sx-tag { margin: 0; color: var(--sx-red); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.sx-foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sx-foot-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--sx-soft); text-decoration: none; font-size: 14px; }
.sx-foot-links a:hover { color: #fff; }
.sx-fine { margin: 6px 0 0; font-size: 13px; color: var(--sx-mute); }

/* Pause motion button (required on every page) */
.motion-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sx-line); background: rgba(10, 10, 10, 0.92); color: #fff; font: 600 13px/1 var(--sx-sans); cursor: pointer; }
.motion-toggle:hover { border-color: var(--sx-red); }
.motion-toggle .mt-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-off .motion-toggle .mt-icon { width: 0; height: 0; border-left: 10px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Motion off: everything holds still */
.motion-off .sx-laser-track { animation: none; transform: translateY(-50%); opacity: 1; }
.motion-off .sx-sweep { display: none; }
.motion-off .sx-fill, .motion-off .sx-progress-fill, .motion-off .sx-btn, .motion-off .sx-card { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .sx-laser-track { animation: none; transform: translateY(-50%); opacity: 1; }
  .sx-sweep { display: none; }
  .sx-fill, .sx-progress-fill { transition: none; }
}

/* Print: results only, black on white */
@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .sx-head, .sx-foot, .motion-toggle, .sx-sweep, #sx-landing, #sx-quiz, .sx-btn, .sx-band:last-child { display: none !important; }
  .sx-card, .sx-bar { background: #fff; border-color: #999; box-shadow: none; break-inside: avoid; }
  .sx-card p, .sx-plan-steps, .sx-lead, .sx-sub { color: #000; }
  .sx-band, .sx-band-alt { background: #fff; padding: 16px 0; border: 0; }
  .sx-fill { transform: scaleX(var(--to, 0)); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .sx-plan-steps q, .sx-price { color: #000 !important; }
}

/* Hero fit (November 2026): the four facts sit in one compact row on phones, so the hero fits the first screen */
@media (max-width: 719px) {
  .sx-hero { min-height: 0; padding: 44px 0 36px; }
  .sx-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
  .sx-stats li { padding: 10px 8px; }
  .sx-stats b { font-size: 1.15rem; }
  .sx-stats span { font-size: 0.7rem; line-height: 1.25; display: block; }
}
@media (max-width: 719px) and (max-height: 700px) {
  .sx-hero { padding: 32px 0 28px; }
  .sx-display { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .sx-lead { font-size: 0.98rem; margin-top: 14px; }
  .sx-stats { margin-top: 22px; }
}
@media (max-width: 760px) {
  .motion-toggle { width: 40px; height: 40px; padding: 0; justify-content: center; right: 12px; bottom: 12px; }
  .motion-toggle .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 719px) {
  .sx-stats { gap: 6px; }
  .sx-stats li { padding: 8px 6px; }
  .sx-stats b { font-size: 1rem; white-space: nowrap; }
  .sx-stats span { font-size: 0.66rem; }
}
@media (min-width: 980px) { .sx-view > :not(.sx-hero) .sx-wrap { max-width: 1400px; } }
