:root {
  --ink: #07182b;
  --navy: #0b2545;
  --blue: #1468c4;
  --blue-bright: #1f86ed;
  --silver: #b9c4cf;
  --mist: #eef4f8;
  --line: #d7e0e8;
  --white: #ffffff;
  --muted: #5d6a78;
  --green: #187654;
  --orange: #b85d11;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(7, 24, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; left: 12px; top: -100px; z-index: 20; background: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header {
  height: 78px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(185, 196, 207, .5);
  background: rgba(255, 255, 255, .96);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--blue);
  border: 3px solid var(--silver);
  border-radius: 11px 4px 11px 4px;
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16);
}
.brand-mark.small { width: 31px; height: 31px; font-size: 17px; border-width: 2px; }
.brand-copy { display: grid; line-height: 1; letter-spacing: .14em; }
.brand-copy strong { font-size: 17px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 750; }
.header-cta { font-weight: 800; text-decoration: none; color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-button { width: 44px; height: 44px; padding: 11px; display: grid; align-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 99px; }
.menu-backdrop { position: fixed; inset: 0; z-index: 18; background: rgba(7,24,43,.55); backdrop-filter: blur(3px); }
.site-menu { position: fixed; z-index: 19; top: 0; right: 0; width: min(430px, 92vw); height: 100dvh; padding: 28px; display: flex; flex-direction: column; gap: 4px; color: white; background: var(--ink); box-shadow: -24px 0 70px rgba(7,24,43,.3); transform: translateX(105%); transition: transform .25s ease; }
.site-menu.open { transform: translateX(0); }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; color: #9fb0c1; font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.menu-close { border: 0; color: white; background: transparent; font-size: 34px; line-height: 1; cursor: pointer; }
.site-menu > a { padding: 18px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid #263a4e; text-decoration: none; font-size: 24px; font-weight: 850; }
.site-menu > a:hover { color: #8ec5ff; }
.site-menu > a small { color: #9fb0c1; font-size: 12px; font-weight: 650; }
.menu-support { margin-top: auto; padding: 20px; display: grid; gap: 7px; border-radius: 13px; background: #102b47; }
.menu-support span { color: #9fb0c1; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.menu-support a { color: white; font-weight: 750; text-underline-offset: 3px; }
body.menu-open { overflow: hidden; }

.hero {
  min-height: calc(100vh - 78px);
  padding: clamp(70px, 10vw, 128px) clamp(20px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  background:
    linear-gradient(110deg, rgba(238, 244, 248, .7), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -240px;
  top: 5%;
  border: 72px solid rgba(20, 104, 196, .06);
  border-radius: 50%;
}
.hero-copy, .route-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-weight: 850; font-size: 12px; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 810px; font-size: clamp(46px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
h1 span { display: block; color: var(--blue); }
.hero-lede { max-width: 700px; margin: 28px 0 0; font-size: clamp(18px, 2vw, 21px); color: #425264; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .choice:has(input:focus-visible), a:focus-visible { outline: 3px solid rgba(31,134,237,.35); outline-offset: 3px; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 10px 25px rgba(20,104,196,.22); }
.button-primary:hover { background: #105ba9; }
.button-secondary { color: var(--navy); background: var(--mist); }
.text-link { font-weight: 800; text-decoration: none; }
.signal-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: 14px; font-weight: 700; }
.signal-row span::before { content: "✓"; color: var(--green); margin-right: 8px; }

.route-card { background: var(--ink); color: white; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.route-card::before { content: ""; position: absolute; inset: 8px -8px -8px 8px; border: 1px solid rgba(20,104,196,.25); border-radius: 22px; z-index: -1; }
.route-card-head { display: flex; justify-content: space-between; align-items: center; color: #98aabd; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.live-dot { color: #8fe0b9; }
.live-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #42c787; box-shadow: 0 0 0 5px rgba(66,199,135,.12); }
.route-line { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 28px 0; font-size: clamp(17px, 2vw, 21px); }
.route-line span { color: var(--blue-bright); font-size: 24px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; background: #314154; border: 1px solid #314154; border-radius: 12px; }
.metric-grid div { display: grid; gap: 4px; padding: 16px; background: #10253b; }
.metric-grid dt { color: #9cacbc; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.metric-grid dd { margin: 0; font-weight: 850; font-size: 18px; }
.route-note { margin: 17px 0 0; color: #9cacbc; font-size: 11px; }

.offer { padding: clamp(76px, 9vw, 120px) clamp(20px, 6vw, 96px); background: var(--ink); color: white; }
.section-heading { max-width: 760px; }
.section-heading h2, .qualification-intro h2 { margin: 0; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.04em; }
.section-heading > p:last-child { color: #acbac8; font-size: 18px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; background: #263a4e; border: 1px solid #263a4e; }
.offer-grid article { padding: clamp(26px, 4vw, 48px); background: var(--ink); }
.feature-number { color: var(--blue-bright); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.offer-grid h3 { font-size: 22px; margin: 28px 0 12px; }
.offer-grid p { margin: 0; color: #aebdca; }
.expectation-bar { margin-top: 1px; padding: 26px clamp(26px, 4vw, 48px); display: flex; gap: 14px 34px; justify-content: space-between; background: #102b47; border-left: 4px solid var(--blue-bright); }
.expectation-bar span { color: #b6c5d3; }

.about-page { background: #f6f9fb; }
.about-hero { min-height: 66vh; padding: clamp(82px, 11vw, 150px) clamp(20px, 8vw, 128px); display: grid; align-content: center; background: linear-gradient(115deg, #fff 0%, #eef4f8 70%); }
.about-hero h1 { max-width: 980px; }
.about-hero > p:last-child { max-width: 780px; margin: 30px 0 0; color: #425264; font-size: clamp(18px, 2vw, 22px); }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); color: white; background: var(--ink); }
.about-principles article { padding: clamp(30px, 5vw, 58px); border-right: 1px solid #263a4e; }
.about-principles article:last-child { border-right: 0; }
.about-principles span { color: var(--blue-bright); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.about-principles h2 { margin: 24px 0 12px; font-size: 24px; }
.about-principles p { margin: 0; color: #aebdca; }
.about-story { padding: clamp(76px, 10vw, 128px) clamp(20px, 8vw, 128px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 9vw, 120px); background: white; }
.about-story h2 { margin: 0; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.about-story > div:last-child { color: #425264; font-size: 18px; }
.site-menu a[aria-current="page"] { color: #8ec5ff; }

.qualification { padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 96px); display: grid; grid-template-columns: minmax(260px, .7fr) minmax(500px, 1.3fr); gap: clamp(44px, 8vw, 110px); align-items: start; background: #f6f9fb; }
.qualification-intro { position: sticky; top: 120px; }
.qualification-intro > p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin-top: 28px; background: #e9f2fa; border-radius: 10px; color: #37516a; font-size: 13px; }
.privacy-note svg { width: 18px; flex: 0 0 18px; fill: var(--blue); }
.form-shell { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.progress-wrap { padding: 24px 30px 18px; border-bottom: 1px solid var(--line); }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.progress-track { height: 5px; margin-top: 13px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.progress-bar { width: 25%; height: 100%; background: var(--blue); transition: width .28s ease; }
form { padding: clamp(25px, 4vw, 42px); }
.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.active { display: block; animation: enter .25s ease; }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } }
legend { padding: 0; font-size: clamp(25px, 3vw, 34px); font-weight: 900; letter-spacing: -.025em; }
.step-help { margin: 5px 0 26px; color: var(--muted); }
.field-grid { display: grid; gap: 18px; }
.two-col { grid-template-columns: 1fr 1fr; }
label, .field-label { color: #25384c; font-size: 13px; font-weight: 800; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { width: 100%; margin-top: 7px; border: 1px solid #c7d2dc; border-radius: 9px; padding: 12px 13px; color: var(--ink); background: white; }
textarea { resize: vertical; }
label small { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; }
.field-group { margin-top: 22px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.choice-grid.stacked { grid-template-columns: 1fr; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid #cbd5df; border-radius: 9px; cursor: pointer; transition: border .18s ease, background .18s ease; }
.choice:hover { border-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: #edf6ff; box-shadow: inset 0 0 0 1px var(--blue); }
.choice input { margin: 3px 0 0; accent-color: var(--blue); }
.choice strong { display: block; }
.choice small { display: block; margin-top: 2px; }
.full-field { display: block; margin-top: 20px; }
.full-field > span { color: var(--muted); font-weight: 500; }
.consent-row { display: flex; gap: 10px; margin-top: 22px; align-items: flex-start; font-weight: 600; }
.consent-row input { margin: 4px 0 0; accent-color: var(--blue); }
.error-summary { display: none; margin-top: 18px; padding: 11px 13px; color: #9b2d20; background: #fff0ed; border-radius: 8px; font-size: 13px; font-weight: 700; }
.error-summary.visible { display: block; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-nav .button-primary { margin-left: auto; }
.result-panel { animation: enter .3s ease; }
.result-badge { display: inline-block; padding: 6px 10px; color: var(--green); background: #e8f6ef; border-radius: 99px; text-transform: uppercase; letter-spacing: .09em; font-size: 11px; font-weight: 900; }
.result-badge.developing { color: var(--orange); background: #fff3e8; }
.result-panel > h3 { margin: 15px 0 6px; font-size: 30px; }
.result-panel > p { color: var(--muted); }
.result-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.result-summary div { padding: 13px; background: var(--mist); border-radius: 9px; }
.result-summary span { display: block; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.result-summary strong { display: block; margin-top: 3px; }
.next-step-card { padding: 22px; background: var(--ink); color: white; border-radius: 13px; }
.next-step-card > span { color: var(--blue-bright); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.next-step-card > strong { display: block; margin-top: 8px; font-size: 21px; }
.next-step-card p { color: #b8c5d1; }
.next-step-card small { display: block; margin-top: 9px; color: #93a5b5; }
.hubspot-form-wrap { margin-top: 20px; padding: 16px; min-height: 220px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: #fff; color: var(--ink); }
.hs-form-frame { width: 100%; }
.text-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--blue); font-weight: 800; cursor: pointer; }

footer { padding: 36px clamp(20px, 6vw, 96px); display: grid; grid-template-columns: .9fr 1.2fr 1fr; gap: 32px; align-items: start; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand div { display: grid; gap: 3px; }
.footer-brand span:last-child { color: var(--blue); font-weight: 800; }
.credential-block { padding-left: 24px; border-left: 2px solid var(--line); }
.credential-row { display: flex; flex-wrap: wrap; gap: 8px; }
.credential-row span { padding: 5px 8px; border-radius: 6px; background: var(--mist); color: var(--ink); font-weight: 850; letter-spacing: .03em; }
.credential-block p { margin: 9px 0; }
.credential-block strong { color: var(--ink); }
.verification-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.verification-links a { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }
.footer-meta { text-align: right; }
.footer-meta address { color: var(--ink); font-style: normal; line-height: 1.55; }
.footer-meta a { text-underline-offset: 3px; }
.footer-meta p { margin: 8px 0 0; }
.social-placeholders { margin-top: 16px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.social-placeholders span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: #7a8794; background: #f7f9fb; cursor: not-allowed; }

dialog { width: min(480px, calc(100vw - 32px)); padding: 32px; border: 0; border-radius: 16px; box-shadow: 0 30px 90px rgba(7,24,43,.28); }
dialog::backdrop { background: rgba(7,24,43,.65); backdrop-filter: blur(3px); }
dialog h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.05; }
.dialog-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .route-card { max-width: 580px; transform: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .expectation-bar { flex-direction: column; }
  .qualification { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .about-principles { grid-template-columns: 1fr; }
  .about-principles article { border-right: 0; border-bottom: 1px solid #263a4e; }
  .qualification-intro { position: static; }
  footer { grid-template-columns: 1fr; }
  footer p { margin: 0; }
  .credential-block { padding: 20px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-meta { text-align: left; }
  .social-placeholders { justify-content: flex-start; }
  .footer-meta p { margin-top: 8px; }
}

@media (max-width: 600px) {
  .site-header { height: 68px; padding: 0 16px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand-copy strong { font-size: 15px; }
  .header-cta { font-size: 13px; }
  .header-actions { gap: 10px; }
  .menu-button { width: 40px; height: 40px; }
  .site-menu { padding: 22px; }
  .site-menu > a { align-items: flex-start; flex-direction: column; gap: 2px; font-size: 22px; }
  .hero { padding: 58px 20px 74px; gap: 42px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .text-link { text-align: center; }
  .route-card { padding: 21px; }
  .route-line { gap: 8px; }
  .offer, .qualification { padding-left: 20px; padding-right: 20px; }
  .offer-grid { margin-top: 38px; }
  .two-col, .choice-grid, .result-summary { grid-template-columns: 1fr; }
  .progress-wrap { padding: 20px; }
  form { padding: 24px 20px; }
  .form-nav { position: sticky; bottom: 0; padding-top: 12px; background: linear-gradient(transparent, white 20%); }
}

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