:root {
  --navy: #071329;
  --navy-2: #102342;
  --blue: #086ecb;
  --blue-dark: #075aa5;
  --red: #dd1c24;
  --ink: #13233d;
  --muted: #627085;
  --line: #dce3ec;
  --soft: #f3f6fa;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 19, 41, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 84px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 42px;
  color: white;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 270px; }
.brand-mark {
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: .08em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 14px; text-transform: uppercase; letter-spacing: .07em; }
.brand-copy small { margin-top: 5px; color: #aab8cd; font-size: 11px; letter-spacing: .11em; }
.header-nav { display: flex; gap: 30px; margin-left: auto; font-size: 13px; font-weight: 600; }
.header-nav a { color: #cbd6e5; transition: color .2s; }
.header-nav a:hover { color: white; }
.header-badge { padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11px; color: #cbd6e5; white-space: nowrap; }
.header-badge span { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #56c271; border-radius: 50%; }

.hero {
  min-height: 640px;
  padding: 88px clamp(24px, 7vw, 110px) 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr);
  align-items: center;
  gap: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 6%, rgba(8,110,203,.12), transparent 33%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.eyebrow, .section-kicker { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 780px; margin: 20px 0 24px; font-size: clamp(42px, 5.3vw, 76px); line-height: .98; letter-spacing: -.045em; color: var(--navy); }
.hero-copy > p { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 23px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 26px rgba(8,110,203,.22); }
.button-primary:hover { background: var(--blue-dark); }
.button-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.button-secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.hero-meta { display: flex; gap: 28px; margin-top: 45px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: baseline; gap: 6px; }
.hero-meta b { color: var(--navy); font-size: 18px; }

.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.visual-center {
  position: relative; z-index: 3; width: 235px; height: 235px; padding: 35px;
  display: flex; flex-direction: column; justify-content: center;
  color: white; background: var(--navy); border-radius: 50%; box-shadow: 0 30px 70px rgba(7,19,41,.22);
}
.visual-center::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; }
.visual-center span, .visual-center strong { position: relative; }
.visual-center span { color: #91bce4; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.visual-center strong { margin-top: 8px; font-size: 23px; line-height: 1.2; }
.orbit { position: absolute; border: 1px solid #c8d5e5; border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 500px; height: 500px; border-style: dashed; opacity: .65; }
.visual-chip { position: absolute; z-index: 4; padding: 11px 15px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 28px rgba(7,19,41,.12); font-size: 12px; font-weight: 700; }
.chip-one { top: 50px; left: 2%; }
.chip-two { top: 95px; right: -2%; }
.chip-three { bottom: 70px; left: 0; }
.chip-four { right: -5%; bottom: 38px; }

.navigator {
  width: min(1180px, calc(100% - 40px)); min-height: 660px; margin: -42px auto 110px;
  display: grid; grid-template-columns: 280px 1fr; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.steps-panel { padding: 38px 30px; color: white; background: var(--navy); }
.steps-title { margin-bottom: 32px; color: #8193ad; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; gap: 14px; padding: 0 0 34px; color: #8193ad; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; width: 1px; height: 26px; background: #2a3b56; }
.steps li > span { flex: 0 0 33px; height: 33px; display: grid; place-items: center; border: 1px solid #3b4d68; border-radius: 50%; font-size: 12px; font-weight: 700; }
.steps li div { display: flex; flex-direction: column; gap: 4px; }
.steps li b { color: #a8b5c8; font-size: 13px; }
.steps li small { font-size: 11px; }
.steps li.active > span, .steps li.complete > span { color: white; background: var(--blue); border-color: var(--blue); }
.steps li.active b, .steps li.complete b { color: white; }
.steps li.complete > span { font-size: 0; }
.steps li.complete > span::after { content: "✓"; font-size: 13px; }
.privacy-note { margin-top: 55px; padding-top: 22px; display: flex; gap: 10px; border-top: 1px solid #263852; color: #9facbe; font-size: 11px; line-height: 1.55; }
.privacy-note span { color: #66c77b; }
.privacy-note p { margin: 0; }

.navigator-content { position: relative; padding: 58px clamp(28px, 5vw, 70px); }
.progress-line { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #e9eef4; }
.progress-line span { display: block; width: 25%; height: 100%; background: var(--blue); transition: width .35s ease; }
.step-screen { display: none; animation: screen-in .35s ease; }
.step-screen.active { display: block; }
@keyframes screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-screen h2, .how h2 { margin: 12px 0 10px; color: var(--navy); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.03em; }
.section-lead { margin: 0 0 30px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.choice-grid { display: grid; gap: 12px; }
.stage-grid { grid-template-columns: repeat(2, 1fr); }
.choice-card {
  min-height: 145px; padding: 22px; text-align: left; cursor: pointer;
  background: white; border: 1px solid var(--line); border-radius: 10px; transition: border .2s, transform .2s, box-shadow .2s;
}
.choice-card:hover { transform: translateY(-2px); border-color: #8fbce3; box-shadow: 0 12px 24px rgba(7,19,41,.07); }
.choice-card.selected { border: 2px solid var(--blue); background: #f7fbff; }
.choice-card .card-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue); background: #eaf4fd; border-radius: 8px; font-size: 17px; }
.choice-card b { display: block; color: var(--navy); font-size: 15px; line-height: 1.35; }
.choice-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.back-button, .text-button { padding: 0; color: var(--blue); background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 12px; }
.back-button { margin-bottom: 30px; }
.search-box { width: 100%; height: 50px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; }
.search-box span { color: var(--muted); font-size: 20px; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); }
.direction-list { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.direction-button { min-height: 64px; padding: 13px 15px; display: flex; gap: 12px; align-items: center; text-align: left; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.direction-button:hover { border-color: var(--blue); }
.direction-code { flex: 0 0 36px; height: 28px; display: grid; place-items: center; color: var(--blue); background: #eaf4fd; border-radius: 5px; font-size: 10px; font-weight: 800; }
.direction-name { font-size: 12px; font-weight: 600; line-height: 1.35; }
.goal-grid { grid-template-columns: repeat(3, 1fr); }
.goal-grid .choice-card { min-height: 160px; }
.role-block { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--line); }
.role-block h3 { margin: 0 0 15px; color: var(--navy); font-size: 14px; }
.role-block h3 span { margin-left: 7px; color: var(--muted); font-size: 10px; font-weight: 500; }
.role-options { display: flex; gap: 8px; flex-wrap: wrap; }
.role-option { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; cursor: pointer; font-size: 11px; }
.role-option.selected { color: var(--blue); border-color: var(--blue); background: #f2f8fe; }
.next-button { margin-top: 28px; }
.summary-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.time-pill { padding: 9px 12px; color: var(--blue); background: #eaf4fd; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.route-summary { margin: 25px 0 18px; padding: 17px 19px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--soft); border-radius: 8px; }
.route-summary span { padding: 7px 10px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; font-weight: 600; }
.diagnostic-card { padding: 25px; display: flex; align-items: center; gap: 22px; color: white; background: var(--navy); border-radius: 10px; }
.diagnostic-number { min-width: 84px; color: #62b0f3; font-size: 54px; font-weight: 800; line-height: 1; text-align: center; }
.diagnostic-card h3 { margin: 0 0 7px; font-size: 16px; }
.diagnostic-card p { margin: 0; color: #a9b8ca; font-size: 12px; line-height: 1.55; }
.result-preview { padding: 24px 0; }
.result-preview h3 { margin: 0 0 13px; color: var(--navy); font-size: 14px; }
.result-items { display: flex; gap: 9px; flex-wrap: wrap; }
.result-items span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; }
.step-screen[data-step="4"] .text-button { margin-left: 18px; }

.how { padding: 95px clamp(24px, 7vw, 110px) 115px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; background: var(--soft); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how article { padding: 26px 22px; background: white; border-top: 3px solid var(--blue); }
.how article b { color: var(--red); font-size: 11px; }
.how article h3 { margin: 36px 0 10px; color: var(--navy); font-size: 15px; line-height: 1.4; }
.how article p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
footer { padding: 34px clamp(24px, 7vw, 110px); display: flex; justify-content: space-between; gap: 20px; color: #a8b5c8; background: var(--navy); font-size: 11px; }
footer div { display: flex; flex-direction: column; gap: 5px; }
footer strong { color: white; text-transform: uppercase; letter-spacing: .06em; }
footer a { color: white; font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 20; max-width: calc(100% - 32px); padding: 14px 18px; color: white; background: var(--navy); border-radius: 8px; box-shadow: var(--shadow); font-size: 12px; transform: translate(-50%, 120px); opacity: 0; transition: .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .header-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { display: none; }
  .navigator { grid-template-columns: 230px 1fr; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-grid .choice-card { min-height: 115px; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header { min-height: 72px; padding: 0 18px; }
  .brand { min-width: 0; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 11px; }
  .header-badge { display: none; }
  .hero { min-height: auto; padding: 58px 20px 100px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 14px 22px; }
  .navigator { width: calc(100% - 24px); margin-top: -48px; grid-template-columns: 1fr; }
  .steps-panel { padding: 18px; }
  .steps-title, .privacy-note, .steps li div { display: none; }
  .steps { display: flex; justify-content: center; gap: 20px; }
  .steps li { padding: 0; }
  .steps li:not(:last-child)::after { left: 38px; top: 16px; width: 15px; height: 1px; }
  .navigator-content { padding: 42px 20px; }
  .stage-grid, .direction-list { grid-template-columns: 1fr; }
  .summary-heading { display: block; }
  .time-pill { display: inline-block; margin-top: 8px; }
  .diagnostic-card { align-items: flex-start; }
  .how { padding: 70px 20px; gap: 35px; }
  .how-grid { grid-template-columns: 1fr; }
  footer { padding: 30px 20px; flex-direction: column; }
}
