:root {
  --font-sans: Inter, "Helvetica Neue", ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --void: #030817;
  --night: #081735;
  --night-2: #0c2048;
  --blue: #244cff;
  --cyan: #00d7e6;
  --amber: #ffb45e;
  --pearl: #f5f7fc;
  --paper: #ffffff;
  --ink: #0b1220;
  --muted: #657187;
  --line: #dfe5ef;
  --danger: #c23b4c;
  --shadow: 0 28px 90px rgba(3, 8, 23, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-sans); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--void);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-synthesis: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
button, input, select, textarea { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; color: #000; background: #fff; }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  color: #fff;
  background: rgba(3, 8, 23, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(18px);
}
.brand img { display: block; width: 210px; height: auto; }
.back-link { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { color: #fff; }

main { min-height: 100vh; display: grid; grid-template-columns: minmax(440px, 42vw) minmax(0, 1fr); }
.project-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--void);
}
.project-visual, .project-shade { position: absolute; inset: 0; }
.project-visual { background: url("assets/decision-horizon-key-visual-v1.png") 62% center / cover no-repeat; transform: scale(1.03); }
.project-shade { background: linear-gradient(90deg, rgba(3,8,23,.98), rgba(3,8,23,.77) 67%, rgba(3,8,23,.35)), linear-gradient(0deg, rgba(3,8,23,.94), transparent 48%); }
.project-content { position: relative; z-index: 2; width: min(620px, calc(100% - 80px)); margin: 80px auto 20px; }
.program-label { margin: 0 0 26px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.program-label span { margin-left: 12px; color: rgba(255,255,255,.5); }
.status { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 13px; color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: 12px; }
.status i { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 20px var(--cyan); }
.project-content h1 { margin: 0; font-size: clamp(42px, 4.4vw, 68px); line-height: 1.03; letter-spacing: -.05em; }
.project-content h1 small { display: block; margin-bottom: 10px; color: rgba(255,255,255,.82); font-size: .43em; letter-spacing: -.015em; }
.slogan { margin: 23px 0 0; color: rgba(255,255,255,.82); font-size: 20px; font-weight: 680; }
.project-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.project-facts div { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.14); }
.project-facts div:first-child { padding-left: 0; border-left: 0; }
.project-facts dt { color: rgba(255,255,255,.4); font-size: 10px; }
.project-facts dd { margin: 5px 0 0; color: #fff; font-size: 13px; font-weight: 720; }
.leader-card { margin-top: 30px; padding-left: 15px; border-left: 2px solid var(--cyan); }
.leader-card span, .leader-card strong, .leader-card em { display: block; }
.leader-card span { color: rgba(255,255,255,.46); font-size: 11px; }
.leader-card strong { margin-top: 3px; font-size: 18px; }
.leader-card em { margin-top: 2px; color: rgba(139,242,250,.82); font-size: 11px; font-style: normal; letter-spacing: .03em; }
.panel-note { max-width: 560px; margin: 28px 0 0; color: rgba(255,255,255,.46); font-size: 11px; }
.horizon-caption { position: absolute; z-index: 2; left: 40px; bottom: 30px; display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(255,255,255,.36); font-size: 8px; letter-spacing: .13em; }
.horizon-caption span { width: 44px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--amber)); }

.form-panel { min-width: 0; padding: 130px clamp(32px, 5vw, 86px) 48px; background: var(--pearl); }
.form-shell { width: min(820px, 100%); margin: 0 auto; }
.form-intro .eyebrow, .submission-result .eyebrow { margin: 0 0 10px; color: #2455ae; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.form-intro h2 { margin: 0; font-size: clamp(42px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.form-intro > p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.privacy-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.privacy-pills span { padding: 6px 11px; color: #294675; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }

.progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 48px 0 30px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.progress li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: baseline; padding: 0 0 16px; color: #99a4b6; }
.progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.progress span { font-size: 9px; font-weight: 800; }
.progress b { font-size: 12px; font-weight: 680; }
.progress li.active, .progress li.done { color: #173467; }
.progress li.active::after { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.progress li.done::after { background: #93d9df; }

form { padding: clamp(26px, 4vw, 44px); background: #fff; border: 1px solid rgba(223,229,239,.9); border-radius: 26px; box-shadow: var(--shadow); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { display: grid; width: 100%; margin: 0 0 34px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
legend span { color: #2455ae; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
legend strong { margin-top: 8px; font-size: 27px; line-height: 1.25; letter-spacing: -.025em; }
legend small { margin-top: 6px; color: var(--muted); font-size: 12px; }
.field-grid { display: grid; gap: 25px; }
.field-grid.two-columns { grid-template-columns: 1fr 1fr; }
.field.full-width, .choice-group.full-width { grid-column: 1 / -1; }
.field > span, .choice-group > span { display: block; margin-bottom: 8px; color: #1b2d4e; font-size: 13px; font-weight: 720; }
.field > span b, .choice-group > span b { color: var(--danger); }
.field > span em, .choice-group > span em { margin-left: 5px; color: #95a0b2; font-size: 10px; font-style: normal; font-weight: 500; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f9fbfe;
  border: 1px solid #cfd8e6;
  border-radius: 11px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { min-height: 112px; resize: vertical; }
select { min-height: 52px; }
input::placeholder, textarea::placeholder { color: #a0aabc; }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,76,255,.1); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(194,59,76,.08); }
.error { display: block; min-height: 17px; margin-top: 5px; color: var(--danger); font-size: 10px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice-grid.compact { grid-template-columns: repeat(3, 1fr); }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid label span { min-height: 50px; display: flex; align-items: center; padding: 11px 13px 11px 39px; color: #344763; background: #f9fbfe; border: 1px solid #d4dce8; border-radius: 11px; font-size: 12px; line-height: 1.35; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.choice-grid label span::before { content: ""; position: absolute; left: 13px; width: 15px; height: 15px; background: #fff; border: 1px solid #aeb9ca; border-radius: 4px; }
.choice-grid input[type="radio"] + span::before { border-radius: 50%; }
.choice-grid input:focus-visible + span { box-shadow: 0 0 0 4px rgba(36,76,255,.1); }
.choice-grid input:checked + span { color: #102e6c; background: #edf4ff; border-color: #4e78ee; }
.choice-grid input:checked + span::before { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.choice-group.invalid .choice-grid { padding: 4px; border: 1px solid var(--danger); border-radius: 14px; }

.review-card { margin-bottom: 28px; padding: 22px; color: #fff; background: linear-gradient(135deg, var(--night), var(--night-2)); border-radius: 18px; box-shadow: 0 16px 40px rgba(8,23,53,.16); }
.review-card > p { margin: 0 0 15px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.review-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: rgba(255,255,255,.12); }
.review-card dl div { min-width: 0; padding: 13px; background: rgba(8,23,53,.92); }
.review-card dt { color: rgba(255,255,255,.42); font-size: 9px; }
.review-card dd { overflow-wrap: anywhere; margin: 3px 0 0; color: #fff; font-size: 12px; }
.consent-card { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 18px; background: #f3f7ff; border: 1px solid #cbd8f1; border-radius: 14px; cursor: pointer; }
.consent-card input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.consent-card > span { color: #344763; font-size: 11px; line-height: 1.75; }
.consent-card strong { color: #173467; }
.consent-card.invalid { border-color: var(--danger); background: #fff5f6; }
.consent-error { margin-top: -22px; }
.privacy-details { padding: 0 2px; color: var(--muted); font-size: 11px; }
.privacy-details summary { color: #2455ae; cursor: pointer; font-weight: 680; }
.privacy-details p { margin: 9px 0 0; }

.form-alert { margin-top: 22px; padding: 12px 14px; color: #872f3b; background: #fff0f2; border: 1px solid #f1bdc4; border-radius: 10px; font-size: 11px; }
.submission-fallback { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding: 13px 15px; color: #536176; background: #f7f9fd; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; }
.submission-fallback a { flex: 0 0 auto; color: #173f92; font-weight: 760; text-decoration: none; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 760; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .66; transform: none; box-shadow: none; }
.button:focus-visible { outline: 3px solid rgba(36,76,255,.22); outline-offset: 3px; }
.button.primary { min-width: 180px; color: #041227; background: var(--cyan); box-shadow: 0 13px 30px rgba(0,215,230,.2); }
.button.primary:hover { box-shadow: 0 17px 36px rgba(0,215,230,.3); }
.button.secondary { color: #24426f; background: #eef3fb; }

.submission-result { padding: clamp(34px, 5vw, 60px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); text-align: center; }
.result-mark { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 22px; color: #06152d; background: var(--cyan); border-radius: 50%; font-size: 28px; font-weight: 800; box-shadow: 0 16px 38px rgba(0,215,230,.25); }
.submission-result h3 { margin: 8px 0 12px; font-size: 32px; letter-spacing: -.03em; }
.submission-result > p:not(.eyebrow) { max-width: 580px; margin: 0 auto 18px; color: var(--muted); font-size: 14px; }
.submission-result .result-number { color: #173467; }
.submission-result .result-number strong { color: #0b1220; letter-spacing: .04em; }
.submission-result .result-note { margin-bottom: 28px; color: #8b96a8; font-size: 10px; }
.form-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 34px; color: #8b96a8; font-size: 10px; }
.form-footer p { margin: 0; }
.form-footer a { color: #2455ae; }

@media (max-width: 1180px) {
  main { grid-template-columns: 390px minmax(0, 1fr); }
  .project-content { width: calc(100% - 56px); }
  .project-content h1 { font-size: 44px; }
  .project-facts { grid-template-columns: 1fr; gap: 12px; }
  .project-facts div, .project-facts div:first-child { padding: 0; border-left: 0; }
  .form-panel { padding-left: 38px; padding-right: 38px; }
  .progress b { font-size: 10px; }
}

@media (max-width: 900px) {
  .site-header { height: 74px; padding: 0 22px; }
  .brand img { width: 176px; }
  main { display: block; }
  .project-panel { position: relative; height: auto; min-height: 640px; padding: 102px 0 78px; }
  .project-content { width: min(680px, calc(100% - 44px)); margin: 0 auto; }
  .project-content h1 { font-size: clamp(44px, 8vw, 64px); }
  .project-facts { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .project-facts div { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.14); }
  .project-facts div:first-child { padding-left: 0; border-left: 0; }
  .horizon-caption { left: 22px; bottom: 18px; }
  .form-panel { padding-top: 72px; }
}

@media (max-width: 660px) {
  .site-header { padding: 0 18px; }
  .brand img { width: 152px; }
  .back-link { font-size: 0; }
  .back-link span { font-size: 22px; }
  .project-panel { min-height: 650px; }
  .program-label span { display: block; margin: 3px 0 0; }
  .project-content h1 { font-size: clamp(42px, 13vw, 58px); }
  .slogan { font-size: 18px; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts div:nth-child(3) { grid-column: 1 / -1; margin-top: 12px; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .form-panel { padding: 58px 18px 34px; }
  .form-intro h2 { font-size: 42px; }
  .form-intro > p:not(.eyebrow) { font-size: 14px; }
  .progress { margin-top: 36px; }
  .progress li { display: block; }
  .progress b { display: none; }
  .progress span { font-size: 10px; }
  .submission-fallback { display: block; }
  .submission-fallback a { display: inline-block; margin-top: 5px; }
  form { padding: 25px 18px; border-radius: 20px; }
  legend strong { font-size: 24px; }
  .field-grid.two-columns { grid-template-columns: 1fr; }
  .field.full-width, .choice-group.full-width { grid-column: 1; }
  .choice-grid, .choice-grid.compact { grid-template-columns: 1fr; }
  .review-card dl { grid-template-columns: 1fr; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .button, .button.primary { width: 100%; }
  .form-actions .secondary { order: 2; }
  .form-footer { display: block; text-align: center; }
  .form-footer p + p { margin-top: 5px; }
}

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