:root {
  --bg: #151617;
  --text-primary: #f2f2f2;
  --text-secondary: #b8b8b8;
  --accent: #6f8fa3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 48px 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
}

/* Layout */

header,
main,
footer {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

header {
  margin-bottom: 52px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
}

.subtitle {
  color: var(--text-secondary);
}

/* Emphasis */

.emphasis {
  font-weight: 600;
  color: rgba(111, 143, 163, 0.65);
}

/* Questions */

.question {
  margin-bottom: 40px;
}

.question h2 {
  font-size: 18px;
  font-weight: 500;
}

.clarification {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(111, 143, 163, 0.7);
}

.answers {
  margin-top: 14px;
}

.answers button {
  margin-right: 10px;
  margin-bottom: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #3f3f3f;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
}

.answers button.selected {
  background: rgba(111, 143, 163, 0.18);
  border-color: var(--accent);
}

/* Primary CTA */

#cta {
  margin: 48px 0;
}

#evaluate {
  padding: 14px 26px;
  font-size: 16px;
  background: var(--accent);
  color: #0b0b0b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#evaluate:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Result */

#result {
  border-top: 1px solid #333;
  padding-top: 28px;
}

#verdict {
  font-weight: 600;
  color: var(--accent);
}

/* Paid CTA */

#next-step {
  margin-top: 20px;
  padding: 16px 32px;
  font-size: 17px;
  background: var(--accent);
  color: #0b0b0b;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

/* Post-pay */

#postpay {
  margin-top: 36px;
  border-top: 1px solid #333;
  padding-top: 28px;
}

/* Footer */

footer {
  margin-top: 72px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

footer a {
  color: var(--text-secondary);
  margin-left: 8px;
}

/* About panel */

#about-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

#about-panel.open {
  display: flex;
}

.about-content {
  background: #1e1f22;
  padding: 28px;
  max-width: 440px;
  border-radius: 10px;
}
/* Tool title accent override */
h1 {
  color: var(--accent);
}
