:root {
  --navy: #07182f;
  --navy-2: #102a4d;
  --blue: #075df5;
  --blue-bright: #2e78ff;
  --coral: #ff6558;
  --ice: #eef5ff;
  --paper: #f8fbff;
  --ink: #0b1f3a;
  --muted: #57708d;
  --line: #cbd9ea;
  --white: #fff;
  --shadow: 0 24px 80px rgba(7, 24, 47, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.025em; text-decoration: none; font-size: 1.12rem; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--coral); color: var(--navy); font-weight: 950; font-size: 1.35rem; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; color: #dbe8f8; font-size: .9rem; }
.nav-action { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 10px 17px; color: white; background: transparent; cursor: pointer; font-weight: 750; }
.nav-action:hover, .nav-action:focus-visible { background: white; color: var(--navy); }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(50px, 8vw, 112px) clamp(22px, 7vw, 108px);
  background:
    radial-gradient(circle at 83% 13%, rgba(46,120,255,.24), transparent 25%),
    linear-gradient(135deg, var(--navy) 0%, #081c39 62%, #0d2b52 100%);
  color: white;
  overflow: hidden;
}
.eyebrow { margin: 0 0 18px; color: #bbd3ef; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 26px; height: 3px; background: var(--coral); vertical-align: middle; margin-right: 9px; }
.eyebrow.dark { color: var(--blue); }
.hero h1 { margin: 0; font-size: clamp(3.3rem, 7vw, 7.2rem); line-height: .9; letter-spacing: -.07em; max-width: 820px; }
.hero h1 em { color: var(--coral); font-style: normal; }
.lead { font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.65; max-width: 640px; color: #d8e6f7; margin: 29px 0 32px; }
.hero-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 999px; padding: 0 24px; text-decoration: none; border: 0; font-weight: 850; cursor: pointer; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 10px 30px rgba(7,93,245,.32); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-bright); transform: translateY(-1px); }
.button-quiet { color: white; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: #aac0da; font-size: .82rem; }

.signal-card { position: relative; max-width: 510px; justify-self: end; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 30px; padding: 25px; box-shadow: var(--shadow); transform: rotate(1.5deg); isolation: isolate; }
.signal-card::before { content: ""; position: absolute; inset: -13px 17px 17px -13px; border: 1px solid rgba(255,255,255,.2); border-radius: 34px; z-index: -1; }
.signal-top { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; font-size: .68rem; font-weight: 900; letter-spacing: .08em; color: var(--muted); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,101,88,.14); }
blockquote { margin: 30px 0; font-weight: 850; font-size: clamp(1.45rem, 2.7vw, 2.5rem); line-height: 1.15; letter-spacing: -.04em; }
.pause-strip { border-radius: 18px; display: flex; align-items: center; gap: 13px; padding: 16px; background: #ffe7e2; color: #6e1c16; }
.pause-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--coral); color: white; font-weight: 900; }
.pause-strip div { display: grid; }
.pause-strip small { color: #854941; }
.question-orbit { position: absolute; right: -43px; top: -57px; width: 105px; height: 105px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; }
.question-orbit span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--navy); font-size: 3rem; font-weight: 950; }

.protocol-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-bottom: 1px solid var(--line); }
.protocol-strip > div { padding: 34px clamp(22px, 4vw, 64px); border-right: 1px solid var(--line); }
.protocol-strip > div:last-child { border-right: 0; }
.protocol-strip span { color: var(--coral); font-weight: 950; }
.protocol-strip strong { display: block; margin: 7px 0; font-size: 1.04rem; }
.protocol-strip p { margin: 0; color: var(--muted); font-size: .9rem; }

.cases { padding: clamp(70px, 10vw, 140px) clamp(22px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: 1.1fr .8fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-heading h2, .final-cta h2 { margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.7rem); line-height: .98; letter-spacing: -.055em; }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 1.03rem; max-width: 560px; }
.case-grid { display: grid; grid-template-columns: 1.12fr .94fr .94fr; gap: 18px; }
.case-card { min-height: 360px; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(7,24,47,.1); }
.case-card.featured { background: var(--blue); color: white; border-color: var(--blue); }
.case-meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .7rem; letter-spacing: .07em; font-weight: 900; }
.tag { border-radius: 999px; background: #e8f0fb; color: var(--blue); padding: 7px 10px; }
.tag.danger { background: var(--coral); color: var(--navy); }
.tag.amber { background: #fff0c5; color: #6b4700; }
.case-card time { color: var(--muted); }
.case-card.featured time { color: #c8dbff; }
.case-card h3 { margin: 32px 0 13px; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -.035em; }
.case-card p { margin: 0; color: var(--muted); }
.case-card.featured p { color: #d6e4ff; }
.case-card a { margin-top: auto; padding-top: 26px; font-weight: 850; text-decoration: none; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.case-card.featured a { border-color: rgba(255,255,255,.25); }
.editorial-note { margin: 24px 0 0; color: var(--muted); font-size: .83rem; }

.final-cta { margin: 0 clamp(14px, 3vw, 44px) 44px; padding: clamp(42px, 7vw, 88px); border-radius: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--coral); color: var(--navy); overflow: hidden; }
.final-symbol { font-size: clamp(6rem, 15vw, 13rem); line-height: .7; font-weight: 950; transform: rotate(9deg); }
.final-cta p { margin: 0 0 8px; font-weight: 850; }
.button-light { background: white; color: var(--navy); }

footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 38px clamp(22px, 5vw, 76px); background: var(--navy); color: white; }
footer p { color: #a9bfd8; font-size: .82rem; }
footer > div:last-child { display: flex; gap: 18px; align-items: center; }
footer button { color: white; background: none; border: 0; text-decoration: underline; cursor: pointer; }

dialog { width: min(720px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 28px; box-shadow: var(--shadow); color: var(--ink); }
dialog::backdrop { background: rgba(2, 12, 27, .82); backdrop-filter: blur(7px); }
.dialog-shell { padding: 25px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-head > div { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 900; letter-spacing: .08em; color: var(--muted); }
.mini-brand { display: grid; place-items: center; width: 30px; height: 30px; background: var(--blue); color: white; border-radius: 50%; font-size: 1.1rem; }
.icon-button { width: 40px; height: 40px; border: 0; background: var(--ice); border-radius: 50%; font-size: 1.55rem; color: var(--ink); cursor: pointer; }
.progress { height: 5px; margin: 20px 0 31px; background: #e4ebf3; border-radius: 999px; overflow: hidden; }
.progress span { display: block; width: 25%; height: 100%; background: var(--coral); transition: width .25s ease; }
.step { display: none; }
.step.active { display: block; animation: rise .25s ease both; }
.step h2 { margin: 0 0 11px; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.08; letter-spacing: -.045em; }
.step > p:not(.eyebrow):not(.quiz-feedback) { color: var(--muted); }
.choice-list { display: grid; gap: 10px; margin-top: 24px; }
.choice-list label, .quiz button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: white; text-align: left; cursor: pointer; }
.choice-list label:has(input:checked) { border-color: var(--blue); background: var(--ice); box-shadow: 0 0 0 2px rgba(7,93,245,.08); }
.choice-list input { width: 19px; height: 19px; accent-color: var(--blue); }
.choice-list label span { display: grid; }
.choice-list small { color: var(--muted); margin-top: 2px; }
.quiz button { font-weight: 750; color: var(--ink); }
.quiz button:hover, .quiz button:focus-visible { border-color: var(--blue); background: var(--ice); }
.quiz-feedback { min-height: 24px; font-weight: 800; }
.quiz-feedback.good { color: #09764f; }
.quiz-feedback.bad { color: #a83227; }
.result-card { padding: 28px; border-radius: 20px; background: var(--navy); color: white; display: grid; gap: 13px; margin: 22px 0; }
.result-card span { color: var(--coral); font-size: .8rem; letter-spacing: .14em; font-weight: 900; }
.result-card strong { font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.result-card small { color: #c1d2e6; }
.result-actions .button-quiet { color: var(--blue); border-color: var(--line); background: white; }
.support-box { margin-top: 18px; background: #fff4d8; border-radius: 15px; padding: 15px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.support-box div { display: grid; }
.support-box small { color: #715b27; }
.support-box button { border: 0; border-radius: 999px; background: #ead9a8; padding: 9px 12px; color: #715b27; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 750; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 900px) {
  nav a { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 80px; }
  .signal-card { justify-self: stretch; max-width: none; margin-right: 18px; }
  .protocol-strip, .case-grid { grid-template-columns: 1fr; }
  .protocol-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; }
  .case-card { min-height: 300px; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .topbar { height: 66px; }
  .nav-action { padding: 8px 12px; font-size: .8rem; }
  .hero { min-height: calc(100svh - 66px); padding-top: 44px; align-content: center; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; gap: 6px; }
  .signal-card { padding: 20px; border-radius: 23px; }
  .question-orbit { display: none; }
  .protocol-strip > div { padding: 26px 22px; }
  .cases { padding-top: 72px; }
  .final-cta { margin: 0 10px 10px; padding: 32px 23px; grid-template-columns: 1fr; }
  .final-symbol { display: none; }
  .dialog-shell { padding: 19px; }
  .result-actions .button { width: 100%; }
  .support-box { align-items: flex-start; flex-direction: column; }
}
