:root {
  color-scheme: light;
  --bg: #f4f1e9;
  --surface: #fffdf8;
  --surface-2: #e9e5dc;
  --ink: #10213a;
  --muted: #5f6977;
  --line: rgba(16, 33, 58, .14);
  --navy: #10213a;
  --orange: #f2672b;
  --orange-2: #ff8b4c;
  --good: #128263;
  --bad: #c63e3e;
  --shadow: 0 22px 60px rgba(17, 31, 52, .12);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09121f;
  --surface: #111d2d;
  --surface-2: #182638;
  --ink: #f4f1e9;
  --muted: #aab5c4;
  --line: rgba(234, 240, 248, .13);
  --navy: #07111e;
  --shadow: 0 22px 60px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(18, 35, 63, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 35, 63, .035) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color .2s, color .2s;
}
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--surface); padding: 10px 14px; }
.wrap { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: -.03em; }
.brand-mark { width: 38px; aspect-ratio: 1; border-radius: 12px; background: var(--navy); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark svg { width: 25px; height: 25px; }
.brand span { font-size: 1.15rem; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language { border: 1px solid var(--line); border-radius: 99px; padding: 8px 30px 8px 12px; color: var(--ink); background: var(--surface); }
.icon-button { width: 41px; height: 41px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: var(--surface); font-weight: 900; }
.hero { padding: clamp(54px, 9vw, 110px) 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px, 7vw, 88px); }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-weight: 900; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0; font-size: clamp(2.7rem, 6.4vw, 5.9rem); line-height: .96; letter-spacing: -.065em; overflow-wrap: anywhere; }
.hero-copy { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; max-width: 100%; border: 0; border-radius: 13px; padding: 13px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; text-align: center; font-weight: 850; overflow-wrap: anywhere; }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 10px 24px rgba(242,103,43,.22); }
.button-secondary { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.gauge { position: relative; width: min(390px, 85vw); aspect-ratio: 1; margin: auto; border-radius: 50%; background: conic-gradient(from 220deg, var(--orange) 0 28%, var(--surface-2) 28% 72%, var(--orange-2) 72% 82%, var(--surface-2) 82%); padding: 25px; box-shadow: var(--shadow); transform: rotate(-5deg); }
.gauge::before { content: ""; position: absolute; inset: 13px; border: 2px dashed rgba(255,255,255,.36); border-radius: inherit; }
.gauge-core { position: relative; height: 100%; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; transform: rotate(5deg); }
.gauge-core strong { font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -.06em; }
.gauge-core span { color: #bcc8d8; font-size: .76rem; letter-spacing: .17em; text-transform: uppercase; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); color: #fff; border-radius: 20px; margin-top: 28px; overflow: hidden; }
.trust div { padding: 20px; border-right: 1px solid rgba(255,255,255,.12); }
.trust div:last-child { border: 0; }
.trust strong { display: block; font-size: 1.05rem; }
.trust span { display: block; color: #b8c3d2; font-size: .82rem; margin-top: 2px; }
.section { padding: 72px 0; }
.section-head { max-width: 730px; margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.03; letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.quiz-shell { display: grid; grid-template-columns: 230px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.quiz-side { padding: 28px 22px; background: var(--navy); color: #fff; }
.quiz-side .eyebrow { margin-bottom: 8px; }
.quiz-side h3 { margin: 0; font-size: 1.55rem; line-height: 1.08; }
.quiz-side p { color: #b8c3d2; font-size: .86rem; }
.quiz-progress { display: flex; gap: 6px; margin-top: 26px; }
.quiz-progress i { display: block; flex: 1; height: 5px; border-radius: 9px; background: rgba(255,255,255,.18); }
.quiz-progress i.active { background: var(--orange); }
.quiz-main { min-height: 430px; padding: clamp(25px, 5vw, 52px); display: flex; flex-direction: column; }
.question-topic { color: var(--orange); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.question { font-size: clamp(1.4rem, 3vw, 2.15rem); font-weight: 850; line-height: 1.15; margin: 9px 0 24px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer { text-align: left; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; transition: transform .15s, border-color .15s; }
.answer:hover { transform: translateY(-2px); border-color: var(--orange); }
.answer.correct { background: color-mix(in srgb, var(--good) 12%, var(--surface)); border-color: var(--good); }
.answer.wrong { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); border-color: var(--bad); }
.answer:disabled { cursor: default; transform: none; }
.feedback { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--surface-2); border-radius: 4px 11px 11px 4px; }
.feedback[hidden] { display: none; }
.quiz-next { margin-top: auto; padding-top: 22px; display: flex; justify-content: flex-end; }
.sample-end { text-align: center; margin: auto; max-width: 550px; }
.sample-end .score { font-size: 4.2rem; font-weight: 950; color: var(--orange); line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.card-index { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--orange); font-size: .78rem; font-weight: 900; }
.card h3 { margin: 20px 0 7px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.seo-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 6vw, 80px); }
.seo-copy p { color: var(--muted); }
.source-list { list-style: none; padding: 0; margin: 22px 0 0; }
.source-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.source-list a { color: var(--orange); font-weight: 800; }
.cta { margin: 36px auto 80px; background: var(--orange); color: #fff; border-radius: 25px; padding: clamp(30px, 6vw, 62px); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { max-width: 690px; }
.cta .button { background: #fff; color: #16233a; white-space: nowrap; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner nav { display: flex; gap: 16px; }
.footer-inner a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

@media (max-width: 800px) {
  .hero-grid, .seo-copy { grid-template-columns: 1fr; }
  .gauge { width: min(300px, 78vw); }
  .trust, .cards { grid-template-columns: 1fr; }
  .trust div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .quiz-shell { grid-template-columns: 1fr; }
  .quiz-side { padding: 20px; }
  .quiz-side p { margin-bottom: 0; }
  .answers { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .brand span { display: none; }
  .language { max-width: 118px; }
  .hero { padding-top: 46px; }
  .trust { margin-top: 12px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
