:root {
  --navy: #07172e;
  --navy-2: #10294b;
  --blue: #1769e0;
  --blue-soft: #eaf2ff;
  --orange: #ef6c2f;
  --orange-dark: #cb4f18;
  --steel: #637083;
  --ink: #172033;
  --line: #d9e0e9;
  --paper: #f5f7fa;
  --white: #fff;
  --ok: #167a59;
  --max: 1180px;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(7, 23, 46, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--white); font: 16px/1.65 Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #0f4fae; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffb087; outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: 78px 0; }
.section-tight { padding: 52px 0; }
.section-paper { background: var(--paper); }
.section-navy { color: var(--white); background: var(--navy); }
.section-rule { border-block: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 920px; font-size: clamp(2.65rem, 6vw, 5.35rem); font-weight: 780; }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 730; letter-spacing: -.02em; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.lede { max-width: 760px; margin: 24px 0 0; color: #445167; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.section-navy .lede { color: #c3d1e5; }
.kicker { margin: 0 0 18px; color: var(--blue); font-size: .9rem; font-weight: 720; letter-spacing: .02em; }
.section-navy .kicker { color: #8eb9ff; }
.copy { max-width: 760px; }
.copy p { margin: 18px 0 0; }
.copy li + li { margin-top: 9px; }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(7,23,46,.97); backdrop-filter: blur(14px); }
.nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; }
.brand-logo { display: block; width: auto; object-fit: contain; background: #fff; }
.brand-logo-header { height: 56px; }
.brand-logo-footer { height: 80px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #d9e4f3; text-decoration: none; font-size: .92rem; font-weight: 620; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-toggle { display: none; border: 0; color: var(--white); background: transparent; font-weight: 700; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 8px; padding: 11px 18px; color: var(--white); background: var(--orange); text-decoration: none; font-weight: 730; transition: background .18s ease, transform .18s ease; }
.button:hover { color: var(--white); background: var(--orange-dark); transform: translateY(-1px); }
.button-secondary { color: var(--navy); border-color: #b8c5d7; background: transparent; }
.button-secondary:hover { color: var(--navy); background: var(--blue-soft); }
.button-dark { background: var(--navy); }
.button-dark:hover { background: var(--navy-2); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: linear-gradient(118deg, #fff 0 62%, #eef4fb 62%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: 64px; }
.hero-map { position: relative; min-height: 420px; padding: 28px; color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
.hero-map::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 30px 30px; }
.map-title { position: relative; margin: 0 0 26px; color: #a9c9f7; font-size: .84rem; font-weight: 700; }
.map-step { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); }
.map-step:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.map-step span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--navy); background: #8eb9ff; font-size: .78rem; font-weight: 800; }
.map-step strong { display: block; color: var(--white); }
.map-step small { color: #aebdd0; }
.map-result { position: relative; margin-top: 24px; padding-left: 16px; border-left: 4px solid var(--orange); color: var(--white); font-weight: 700; }

.route-list { margin-top: 38px; border-top: 1px solid var(--line); }
.route { display: grid; grid-template-columns: 1.2fr 1.7fr auto; align-items: center; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.route strong { color: var(--navy); font-size: 1.12rem; }
.route span { color: var(--steel); }
.route b { color: var(--blue); font-size: .9rem; }
.route:hover strong { color: var(--blue); }

.panel { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.panel-accent { border-top: 5px solid var(--blue); }
.panel p { margin: 14px 0 0; color: var(--steel); }
.panel a { display: inline-block; margin-top: 18px; font-weight: 720; }
.metric { padding: 24px 0; border-top: 1px solid var(--line); }
.metric strong { display: block; color: var(--navy); font-size: 1.06rem; }
.metric span { color: var(--steel); }

.process { counter-reset: stage; margin-top: 36px; border-top: 1px solid var(--line); }
.process-step { counter-increment: stage; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-step::before { content: "0" counter(stage); color: var(--blue); font-size: 1.1rem; font-weight: 800; }
.process-step p { margin: 8px 0 0; color: var(--steel); }

.platform-table { width: 100%; margin-top: 30px; border-collapse: collapse; background: var(--white); }
.platform-table th, .platform-table td { padding: 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.platform-table th { color: var(--navy); background: var(--blue-soft); }
.platform-table small { display: block; color: var(--steel); }

.resource-link { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-link strong { display: block; color: var(--navy); font-size: 1.06rem; }
.resource-link span { color: var(--steel); }
.resource-link:hover strong { color: var(--blue); }

.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.event { padding: 22px; border-left: 4px solid var(--blue); background: var(--white); }
.event time { color: var(--blue); font-weight: 750; }
.event p { margin: 6px 0 0; color: var(--steel); }
.event small { display: block; margin-top: 10px; color: #7a8798; }

.notice { padding: 18px 20px; border-left: 4px solid var(--blue); color: #344258; background: var(--blue-soft); }
.notice strong { color: var(--navy); }
.evidence { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { border: 1px solid #bdc8d7; border-radius: 999px; padding: 5px 10px; color: #4c5a6e; background: var(--white); font-size: .82rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b9c5d5; border-radius: 7px; padding: 12px 13px; color: var(--ink); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 14px; font-weight: 700; }

.selector { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.selector fieldset { margin: 0 0 24px; border: 0; padding: 0; }
.selector legend { margin-bottom: 10px; color: var(--navy); font-weight: 760; }
.choice-row { display: flex; flex-wrap: wrap; gap: 9px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: inline-flex; border: 1px solid #b9c5d5; border-radius: 7px; padding: 9px 12px; background: var(--white); cursor: pointer; }
.choice input:checked + label { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.brief-output { min-height: 360px; padding: 28px; color: #d9e4f3; background: var(--navy); }
.brief-output h2, .brief-output h3 { color: var(--white); }
.brief-output dt { margin-top: 14px; color: #8eb9ff; font-weight: 720; }
.brief-output dd { margin: 2px 0 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { color: var(--navy); font-weight: 750; cursor: pointer; }
.faq details p { max-width: 760px; margin: 12px 0 0; color: var(--steel); }

.cta-band { padding: 50px 0; color: var(--white); background: var(--navy); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-band p { margin: 12px 0 0; color: #b8c8dc; }

.site-footer { padding: 48px 0 28px; color: #c4d1e2; background: #04101f; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.site-footer a { display: block; margin-top: 9px; color: #c4d1e2; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { display: inline-flex; margin-top: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }

.consent { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: min(440px, calc(100% - 36px)); padding: 22px; border: 1px solid #b9c5d5; background: var(--white); box-shadow: var(--shadow); }
.consent h2 { font-size: 1.25rem; }
.consent p { margin: 10px 0 0; color: var(--steel); font-size: .9rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.consent .button { min-height: 42px; padding: 8px 13px; font-size: .9rem; }

@media (max-width: 900px) {
  .hero-grid, .selector { grid-template-columns: 1fr; }
  .hero { background: var(--white); }
  .hero-map { min-height: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: 1fr; gap: 5px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; inset: 72px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 20px 20px; background: var(--navy); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links .button { margin-top: 8px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 28px); }
  .nav-toggle { flex: 0 0 56px; min-width: 56px; margin-left: auto; padding: 8px 0; text-align: right; }
  .consent { right: 14px; bottom: 14px; left: 14px; width: auto; padding: 20px; }
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 52px; }
  .grid-2, .grid-3, .grid-4, .event-list, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .cta-row, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo-header { height: 50px; }
  .brand-logo-footer { height: 72px; }
  .platform-table { display: block; overflow-x: auto; }
}

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

@media print {
  .site-header, .site-footer, .consent, .button-row, .cta-band { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; }
}
