:root {
  --bg: #0b1120;
  --bg-soft: #111827;
  --card: #162033;
  --card-2: #1f2937;
  --text: #f9fafb;
  --muted: #cbd5e1;
  --dim: #94a3b8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #a3e635;
  --accent-2: #facc15;
  --danger: #fb7185;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --radius: 26px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(163, 230, 53, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(250, 204, 21, 0.12), transparent 26rem),
    linear-gradient(180deg, #0b1120 0%, #111827 52%, #0b1120 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.crawl-layer {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.crawler {
  animation-duration: 26s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background: linear-gradient(90deg, #0b1735 0 18%, #a3e635 18% 82%, #0b1735 82% 100%);
  border: 2px solid rgba(11, 23, 53, 0.72);
  border-radius: 50% 50% 44% 44%;
  display: block;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.2));
  height: 22px;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 0;
  transform: translate3d(-10vw, 20vh, 0) rotate(35deg);
  width: 14px;
  will-change: transform;
}

.crawler::before,
.crawler::after {
  content: "";
  position: absolute;
}

.crawler::before {
  background: #a3e635;
  border: 2px solid rgba(11, 23, 53, 0.72);
  border-radius: 999px;
  height: 9px;
  left: 1px;
  top: -7px;
  width: 8px;
}

.crawler::after {
  border-top: 2px solid rgba(11, 23, 53, 0.72);
  border-bottom: 2px solid rgba(11, 23, 53, 0.72);
  height: 15px;
  left: -6px;
  top: 4px;
  width: 22px;
}

.crawler-one {
  animation-name: crawl-one;
}

.crawler-two {
  animation-delay: -8s;
  animation-duration: 32s;
  animation-name: crawl-two;
  opacity: 0.72;
}

.crawler-three {
  animation-delay: -15s;
  animation-duration: 38s;
  animation-name: crawl-three;
  opacity: 0.58;
}

.crawler-four {
  animation-delay: -20s;
  animation-duration: 44s;
  animation-name: crawl-four;
  opacity: 0.5;
}

@keyframes crawl-one {
  0% { transform: translate3d(-10vw, 18vh, 0) rotate(82deg); }
  28% { transform: translate3d(28vw, 10vh, 0) rotate(74deg); }
  58% { transform: translate3d(72vw, 32vh, 0) rotate(104deg); }
  100% { transform: translate3d(110vw, 24vh, 0) rotate(88deg); }
}

@keyframes crawl-two {
  0% { transform: translate3d(108vw, 74vh, 0) rotate(-92deg); }
  34% { transform: translate3d(64vw, 64vh, 0) rotate(-82deg); }
  67% { transform: translate3d(28vw, 80vh, 0) rotate(-106deg); }
  100% { transform: translate3d(-12vw, 70vh, 0) rotate(-90deg); }
}

@keyframes crawl-three {
  0% { transform: translate3d(20vw, 108vh, 0) rotate(0deg); }
  36% { transform: translate3d(34vw, 66vh, 0) rotate(14deg); }
  70% { transform: translate3d(18vw, 30vh, 0) rotate(-12deg); }
  100% { transform: translate3d(30vw, -12vh, 0) rotate(4deg); }
}

@keyframes crawl-four {
  0% { transform: translate3d(86vw, -10vh, 0) rotate(174deg); }
  45% { transform: translate3d(74vw, 38vh, 0) rotate(190deg); }
  100% { transform: translate3d(94vw, 110vh, 0) rotate(176deg); }
}

a { color: inherit; }

.page {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  z-index: 1;
}

header {
  padding: 22px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(390px, 58vw);
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  white-space: nowrap;
}

.hero {
  padding: 58px 0 28px;
}

.hero-copy {
  max-width: 900px;
  padding: 10px 0;
}

.quiz-card, .info-card, .content-card, .faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq-item {
  border-radius: 12px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.93;
  letter-spacing: -0.08em;
  max-width: 850px;
}

.highlight {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(163, 230, 53, 0.18);
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 22px);
  max-width: 720px;
  margin: 24px 0 0;
}

.hero-copy .anger-line {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(19px, 2.7vw, 27px);
  margin-top: 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  align-items: center;
}

.hero-trust {
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  margin-top: 10px !important;
}

button, .btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 900;
  font-size: 15px;
  transition: transform 0.16s ease, filter 0.16s ease, background 0.16s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  touch-action: manipulation;
}

button:hover, .btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
button:active, .btn:active { transform: translateY(0); }
button:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

.btn-primary {
  color: #111827;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(163, 230, 53, 0.14);
  font-weight: 750;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.mini-note {
  color: var(--dim);
  font-size: 12px !important;
  line-height: 1.35;
  margin-top: 8px !important;
}

.meter { margin-top: 18px; }

.meter-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bar {
  margin-top: 8px;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bar > span {
  display: block;
  height: 100%;
  width: 87%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--danger));
}

.ad-slot {
  display: none;
}

main { padding-bottom: 50px; }

.section-title {
  margin: 38px 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
}

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin: 38px 0 -26px;
  text-align: center;
  text-transform: uppercase;
}

.policy-page {
  padding: 28px 0 56px;
}

.not-found-page {
  align-items: center;
  display: flex;
  min-height: 58vh;
  padding: 28px 0 56px;
}

.policy-hero {
  max-width: 860px;
  padding: 34px 0 22px;
}

.policy-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -0.07em;
  line-height: 0.96;
  margin: 0 0 18px;
}

.policy-hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
}

.policy-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96));
  border-radius: 16px;
  box-shadow: none;
  margin-top: 14px;
  padding: 22px;
}

.policy-card h2 {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
}

.policy-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.policy-card li + li {
  margin-top: 8px;
}

.section-subtitle {
  color: var(--muted);
  text-align: center;
  margin: 0 auto 22px;
  max-width: 680px;
  font-size: 16px;
}

.quiz-card {
  padding: clamp(18px, 4vw, 34px);
  margin: 0 auto;
  max-width: 900px;
  min-height: 470px;
}

.hidden { display: none !important; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category-btn, .answer-btn {
  width: 100%;
  border-radius: 18px;
  min-height: 64px;
  padding: 16px;
  justify-content: flex-start;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-weight: 850;
}

.category-btn:hover, .answer-btn:hover {
  background: rgba(163, 230, 53, 0.12);
  border-color: rgba(163, 230, 53, 0.38);
}

.category-btn .emoji {
  font-size: 22px;
  width: 30px;
  flex: 0 0 30px;
}

.category-btn small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  margin-top: 5px;
}

.progress-wrap { margin-bottom: 24px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.24s ease;
}

.question-title {
  margin: 0 0 18px;
  font-size: clamp(25px, 4vw, 39px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.result-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.result-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(250, 204, 21, 0.16), transparent 12rem),
    linear-gradient(180deg, rgba(11, 17, 32, 0.86), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.result-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 950;
}

.result-card h2 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin: 10px 0 12px;
}

.result-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.quote {
  color: var(--text) !important;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  font-weight: 900;
  font-size: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-card + .stat-card { margin-top: 12px; }

.stat-label {
  color: var(--dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 950;
}

.stat-value {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
  margin-top: 4px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.small-btn {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
}

.icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0 20px;
}

.info-card, .content-card, .faq-item {
  padding: 20px;
  box-shadow: none;
}

.content-card.wide { grid-column: 1 / -1; }

.info-card h2, .content-card h2, .faq-item summary {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.faq-item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  list-style: none;
  padding-right: 4px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  flex: 0 0 9px;
  height: 9px;
  margin-left: 16px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
  width: 9px;
}

.faq-item[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.faq-item:not([open]) summary {
  margin-bottom: 0;
}

.info-card p, .content-card p, .faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

footer {
  color: var(--dim);
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-disclaimer {
  color: var(--dim);
  margin: 16px 0 0;
  max-width: 860px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  background: #f9fafb;
  color: #111827;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.34);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 32px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 850px) {
  .result-layout, .content-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 32px 0 18px; }

  .content-card.wide { grid-column: auto; }

}

@media (max-width: 620px) {
  .page { width: min(100% - 22px, var(--max)); }
  header { align-items: flex-start; }
  .brand-logo {
    height: 42px;
    max-width: 82vw;
  }
  .top-pill { display: none; }
  .hero-copy { padding: 4px 0 0; }
  .hero-copy h1 {
    font-size: clamp(40px, 15vw, 58px);
    letter-spacing: -0.065em;
  }
  .hero-copy .anger-line {
    font-size: 18px;
    margin-top: 18px;
  }
  .hero-copy p {
    font-size: 16px;
    margin-top: 16px;
  }
  .cta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }
  .grid { grid-template-columns: 1fr; }
  .quiz-card { min-height: auto; }
  .category-btn, .answer-btn { min-height: 58px; }
  .cta-row button { width: 100%; }
  .hero-trust {
    font-size: 13px;
    line-height: 1.35;
  }
  .share-row button { flex: 1 1 calc(50% - 10px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .crawl-layer { display: none; }
}
