/* ===== Base ===== */
:root {
  --bg: #0e1116;
  --bg-2: #141821;
  --bg-3: #1b2030;
  --ink: #0b0d12;
  --text: #e8e6e1;
  --text-dim: #a7a49b;
  --muted: #6a6860;
  --line: rgba(255,255,255,0.08);
  --line-dark: rgba(0,0,0,0.08);
  --accent: #c9814a;        /* warm copper */
  --accent-2: #e2a674;
  --accent-ink: #1a1208;
  --light: #f5f1ea;
  --light-2: #ece5d8;
  --danger: #c25a4a;
  --good: #7aa37a;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Type ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 14px; color: var(--text-dim); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-2); }

.section {
  padding: 96px 0;
  position: relative;
}
.section--dark { background: var(--bg); }
.section--light { background: var(--light); color: var(--ink); }
.section--light p { color: #4a483f; }
.section--test { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }

.section__title { max-width: 820px; }
.section--light .section__title { color: var(--ink); }
.section__lead { max-width: 760px; font-size: 1.1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(201, 129, 74, 0.3);
}
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.section--light .btn--ghost { border-color: rgba(0,0,0,0.15); color: var(--ink); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); }
.section--light .btn--ghost:hover { background: rgba(0,0,0,0.04); }
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark:hover { background: #1f2430; }
.method__grid .btn--dark,
.method__grid .btn { margin-top: 32px; }
.btn--block { width: 100%; }
.btn--big { padding: 18px 32px; font-size: 1.05rem; }
.btn--huge {
  padding: 22px 38px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 50px rgba(201, 129, 74, 0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.btn--huge svg { transition: transform .2s ease; }
.btn--huge:hover svg { transform: translateX(4px); }
.btn--pulse { position: relative; }
.btn--pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ctaPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  80%  { opacity: 0;   transform: scale(1.12); }
  100% { opacity: 0;   transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--pulse::before { animation: none; }
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { padding: 10px 18px; font-size: 0.88rem; }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  filter: contrast(1.05) saturate(0.85);
  z-index: 0;
}
.hero__bg::after {
  /* fallback gradient if image missing */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(201,129,74,0.2), transparent 60%),
    linear-gradient(180deg, #10131a 0%, #0e1116 100%);
  z-index: -1;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(14,17,22,0.94) 0%, rgba(14,17,22,0.82) 40%, rgba(14,17,22,0.55) 75%, rgba(14,17,22,0.35) 100%),
    linear-gradient(180deg, transparent 55%, rgba(14,17,22,0.9) 100%);
  z-index: 1;
}
@media (max-width: 960px) {
  .hero__bg { background-position: 70% center; filter: contrast(1.05) saturate(0.85) brightness(0.7); }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(14,17,22,0.6) 0%, rgba(14,17,22,0.88) 60%, rgba(14,17,22,0.96) 100%);
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 60px;
  align-items: center;
  width: 100%;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
}
.hero__content h1 { max-width: 14ch; }
.hero__lead { font-size: 1.25rem; color: var(--text); max-width: 40ch; }
.hero__sub { font-size: 1rem; color: var(--text-dim); }
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0 56px;
  align-items: flex-start;
}
.hero__meta { font-size: 0.85rem; color: var(--muted); }
.hero__trust {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__trust > div { display: flex; flex-direction: column; }
.hero__trust strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-2);
}
.hero__trust span { font-size: 0.82rem; color: var(--muted); }

/* Score ring */
.score-ring {
  position: relative;
  width: 180px; height: 180px;
  margin: 0 auto 20px;
}
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 10; }
.ring-fg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: calc(326.7 - (326.7 * 0.62));
  transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.score-ring__num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.score-ring__num span { font-size: 3rem; font-weight: 900; color: var(--text); line-height: 1; }
.score-ring__num small { font-size: 0.8rem; color: var(--muted); }

.score-ring--big { width: 220px; height: 220px; margin: 16px auto; }
.score-ring--big .ring-bg, .score-ring--big .ring-fg { stroke-width: 8; }
.score-ring--big .ring-fg {
  stroke-dasharray: 439.8;
  stroke-dashoffset: 439.8;
}
.score-ring--big .score-ring__num span { font-size: 4rem; }

.mini-bars { list-style: none; margin: 0; padding: 0; }
.mini-bars li {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.86rem;
  color: var(--text-dim);
}
.mini-bars b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  position: relative;
}
.mini-bars b::after {
  content: '';
  position: absolute; inset: 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}

@media (max-width: 900px) {
  .hero { min-height: 560px; padding: 80px 0; }
  .hero__trust { flex-wrap: wrap; gap: 20px; }
}

/* ===== Hero preview card ===== */
.hero__preview {
  display: grid;
  gap: 16px;
  position: relative;
}
.hero__preview-card,
.hero__preview-result {
  background: linear-gradient(180deg, rgba(27, 32, 48, 0.92), rgba(20, 24, 33, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.hero__preview-card {
  transform: rotate(-1.2deg);
  transition: transform .4s ease;
}
.hero__preview-card:hover { transform: rotate(0deg) translateY(-2px); }
.hero__preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero__preview-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 4px 10px;
  background: rgba(201,129,74,0.12);
  border-radius: 999px;
  white-space: nowrap;
}
.hero__preview-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.hero__preview-progress span {
  display: block;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  animation: previewFill 2.4s ease-in-out infinite alternate;
}
@keyframes previewFill {
  from { width: 35%; }
  to   { width: 55%; }
}
.hero__preview-body { padding: 20px 22px 22px; }
.hero__preview-dim {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.hero__preview-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 14px;
}
.hero__preview-opts {
  display: grid;
  gap: 6px;
}
.hero__preview-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text-dim);
  background: rgba(0,0,0,0.15);
}
.hero__preview-opt .mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  flex: 0 0 auto;
  position: relative;
}
.hero__preview-opt.is-selected {
  border-color: var(--accent);
  background: rgba(201,129,74,0.1);
  color: var(--text);
}
.hero__preview-opt.is-selected .mark { border-color: var(--accent); }
.hero__preview-opt.is-selected .mark::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: var(--accent);
}

/* Result mini card */
.hero__preview-result {
  transform: rotate(1.2deg);
  margin-left: auto;
  width: 92%;
  transition: transform .4s ease;
}
.hero__preview-result:hover { transform: rotate(0deg) translateY(-2px); }
.hero__preview-result-head {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__preview-result-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.hero__preview-ring {
  position: relative;
  width: 54px; height: 54px;
  flex: 0 0 auto;
}
.hero__preview-ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.hero__preview-ring svg .ring-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 6; }
.hero__preview-ring svg .ring-fg { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.hero__preview-ring span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text);
}
.hero__preview-result-body strong {
  color: var(--text);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.hero__preview-result-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}
@media (max-width: 960px) {
  .hero__preview { max-width: 420px; margin: 0 auto; }
  .hero__preview-card { transform: none; }
  .hero__preview-result { transform: none; margin-left: 0; width: 100%; }
}

/* ===== Problem Grid ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.problem-card {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.problem-card h3 { color: var(--text); font-size: 1.15rem; }

/* ===== Quiz ===== */
.test-header { text-align: center; margin-bottom: 48px; }
.test-header .section__title,
.test-header .section__lead { margin-left: auto; margin-right: auto; }

/* Problem selector */
.quiz__step-head { text-align: center; margin-bottom: 28px; }
.quiz__step-head h3 { color: var(--text); font-size: 1.7rem; }
.quiz__step-head p { color: var(--text-dim); }
.problem-select {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.problem-select__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  text-align: left;
  transition: all .15s ease;
  color: var(--text-dim);
}
.problem-select__btn:hover {
  border-color: var(--accent);
  background: rgba(201,129,74,0.06);
  transform: translateY(-2px);
}
.problem-select__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.problem-select__desc { font-size: 0.9rem; color: var(--text-dim); }

.quiz {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.quiz__screen[hidden] { display: none; }

.quiz__intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.quiz__intro-grid h3 { color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 18px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,129,74,0.15);
}
.check-list--dark li { color: #4a483f; border-bottom-color: rgba(0,0,0,0.08); }
.check-list--dark li strong { color: var(--ink); }

.quiz__intro-box {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.quiz__badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201,129,74,0.15);
  color: var(--accent-2);
  margin-bottom: 12px;
}
.quiz__intro-box h4 { color: var(--text); margin-bottom: 12px; }
.quiz__intro-box ol { padding-left: 20px; color: var(--text-dim); margin: 0 0 20px; }
.quiz__intro-box ol li { padding: 4px 0; }

@media (max-width: 720px) {
  .quiz { padding: 24px; }
  .quiz__intro-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Progress */
.quiz__progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.quiz__progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.quiz__progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  width: 0%;
  transition: width .3s ease;
}
.quiz__progress-text { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.quiz__card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.quiz__dim {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.quiz__question {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.3;
}
.quiz__options {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}
.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  text-align: left;
  transition: all .15s ease;
  color: var(--text-dim);
}
.quiz__option:hover { border-color: var(--accent); color: var(--text); }
.quiz__option .dot-mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex: 0 0 auto;
  position: relative;
}
.quiz__option.is-selected {
  border-color: var(--accent);
  background: rgba(201,129,74,0.08);
  color: var(--text);
}
.quiz__option.is-selected .dot-mark {
  border-color: var(--accent);
}
.quiz__option.is-selected .dot-mark::after {
  content: '';
  position: absolute; inset: 3px;
  background: var(--accent);
  border-radius: 50%;
}
.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Email */
.quiz__email { text-align: left; }
.quiz__email .eyebrow { display: block; }
.quiz__email h3 { color: var(--text); font-size: 1.8rem; }
.quiz__form { display: grid; gap: 14px; margin-top: 20px; }
.quiz__form label { display: grid; gap: 6px; }
.quiz__form label > span { font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.quiz__form input[type="text"],
.quiz__form input[type="email"] {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease;
}
.quiz__form input:focus {
  outline: none;
  border-color: var(--accent);
}
.consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
}
.consent input { margin-top: 4px; accent-color: var(--accent); }
.quiz__fineprint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 8px 0 0;
  text-align: center;
}

/* Results */
.results__top { text-align: center; margin-bottom: 28px; }
.results__top h3 { color: var(--text); font-size: 1.7rem; }
.results__top p { color: var(--text-dim); max-width: 600px; margin: 0 auto; }

.results__score { text-align: center; margin-bottom: 36px; }
.results__tier {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(201,129,74,0.12);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
}

.results__dims {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.dim-row {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.dim-row__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.dim-row__name { font-weight: 600; color: var(--text); }
.dim-row__score { font-family: var(--font-display); font-weight: 700; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.dim-row__bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.dim-row__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dim-row__text { font-size: 0.92rem; color: var(--text-dim); margin: 0; }

.results__actions {
  background: linear-gradient(180deg, rgba(201,129,74,0.06), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.results__actions h4 { color: var(--text); margin-bottom: 12px; }
.results__actions ol { padding-left: 20px; color: var(--text-dim); margin: 0; }
.results__actions ol li { padding: 8px 0; }

.results__cta {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.results__cta h4 { color: var(--text); font-size: 1.3rem; }
.results__cta p { max-width: 480px; margin: 0 auto 20px; }

/* ===== Method ===== */
.method__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.method__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--line-dark);
}
.method__portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.method__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.method__portrait-fb {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  color: white;
  display: none;
}
.method__portrait--fallback .method__portrait-fb { display: block; }
.method__card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 16px;
}
.method__card strong { color: var(--ink); display: block; font-size: 1.05rem; }
.method__role { font-size: 0.88rem; color: #6a6860; display: block; margin-bottom: 16px; }
.method__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}
.method__meta span {
  font-size: 0.78rem;
  padding: 6px 12px;
  background: var(--light-2);
  color: #4a483f;
  border-radius: 999px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Stories ===== */
.stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.story {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.story__mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.story p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
}
.story footer { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.story strong { color: var(--accent-2); font-weight: 600; }
.story span { font-size: 0.84rem; color: var(--muted); }

/* ===== FAQ ===== */
.faq { text-align: center; }
.faq .section__title { margin: 0 auto 40px; }
.faq__list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; text-align: left; }
.faq details {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 0;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 24px 20px;
  margin: 0;
  color: #4a483f;
}
.faq__cta { text-align: center; margin-top: 40px; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  padding: 60px 0 24px;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer p { color: var(--muted); margin-top: 8px; font-size: 0.92rem; max-width: 360px; }
.footer__links, .footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}
.footer__links a:hover, .footer__social a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a { color: var(--accent-2); }

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .quiz__screen {
    animation: fadeUp .35s ease both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  padding: 120px 0 80px;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(201,129,74,0.18), transparent 60%),
    linear-gradient(180deg, #10131a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 18ch;
  margin: 0 auto 18px;
}
.page-hero__lead {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 auto 36px;
}
.page-hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Centered section head ===== */
.section__head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section__head-center .section__title,
.section__head-center .section__lead {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.step {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  opacity: 0.9;
}
.step h3 {
  color: var(--ink);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.step p {
  color: #4a483f;
  margin: 0;
}

/* ===== Final CTA block ===== */
.final-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.final-cta h2 {
  color: var(--text);
  margin-bottom: 16px;
}
.final-cta p {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 1.1rem;
}
.final-cta .quiz__fineprint {
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ===== Contact page ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
.contact__form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) {
  .contact__form-wrap { padding: 28px 20px; }
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact__form label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.contact__form label > span {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease;
  resize: vertical;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact__form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23c9814a' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact__form select option {
  background: var(--bg-2);
  color: var(--text);
}

.contact__success {
  text-align: center;
  padding: 40px 20px;
}
.contact__success h3 {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.contact__success p {
  color: var(--text-dim);
  margin-bottom: 28px;
}

.contact__aside {
  display: grid;
  gap: 16px;
}
.contact__card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact__card h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin: 6px 0 10px;
}
.contact__card p {
  color: var(--text-dim);
  margin: 0 0 14px;
  font-size: 0.95rem;
}
.contact__mail {
  display: inline-block;
  color: var(--accent-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(226,166,116,0.3);
  padding-bottom: 2px;
}
.contact__mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact__social a {
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all .15s ease;
}
.contact__social a:hover {
  border-color: var(--accent);
  color: var(--text);
}
.contact__card--accent {
  background: linear-gradient(180deg, rgba(201,129,74,0.12), rgba(201,129,74,0.04));
  border-color: rgba(201,129,74,0.25);
}
.contact__card--accent .btn--dark {
  margin-top: 8px;
}

/* ===== Method grid: dark variant ===== */
.section--dark .method__card {
  background: var(--bg-2);
  border-color: var(--line);
}
.section--dark .method__card p { color: var(--text); }
.section--dark .method__card strong { color: var(--text); }
.section--dark .method__role { color: var(--muted); }
.section--dark .method__meta { border-color: var(--line); }
.section--dark .method__meta span {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
}
.section--dark .check-list li {
  color: var(--text-dim);
  border-bottom-color: var(--line);
}
.section--dark .check-list li strong { color: var(--text); }
