:root {
  --ink: #0c1822;
  --navy: #123552;
  --blue: #2468e5;
  --green: #0b8764;
  --paper: #ffffff;
  --mist: #f2f5f7;
  --line: #dbe2e7;
  --muted: #5d6d79;
  --shadow: 0 20px 60px rgba(12, 24, 34, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  width: min(1080px, calc(100% - 28px));
  height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 10px 30px rgba(12,24,34,.08);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--ink); }

.button, .button-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button {
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(12,24,34,.18);
}
.button:hover { transform: translateY(-1px); background: var(--navy); }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.button-small { min-height: 40px; padding: 0 17px; color: white; }
.button-secondary { background: var(--mist); color: var(--ink); }
.button-secondary:hover { background: #e7ecef; }

.hero {
  position: relative;
  min-height: min(820px, 92vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #eaf0f4;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(36,104,229,.32), transparent 26%),
    radial-gradient(circle at 85% 75%, rgba(11,135,100,.22), transparent 32%),
    linear-gradient(115deg, rgba(255,255,255,.98) 4%, rgba(238,244,248,.9) 48%, rgba(210,225,236,.78) 100%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(18,53,82,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,53,82,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent 0, black 58%);
}
.signal { position: absolute; border: 1px solid rgba(36,104,229,.42); border-radius: 50%; }
.signal-one { width: 520px; height: 520px; right: -40px; top: 110px; }
.signal-two { width: 330px; height: 330px; right: 78px; top: 205px; }
.signal-three { width: 130px; height: 130px; right: 178px; top: 305px; background: rgba(36,104,229,.1); box-shadow: 0 0 100px rgba(36,104,229,.28); }
.hero-content { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0 90px; }
.hero-content > * { max-width: 720px; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 12px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(52px, 6vw, 80px); line-height: 1; letter-spacing: 0; max-width: 760px !important; }
.hero-copy { margin: 28px 0 0; color: #41515e; font-size: 20px; line-height: 1.55; max-width: 650px !important; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-link { font-weight: 750; }
.text-link span { color: var(--blue); margin-left: 7px; }

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.proof-band div { min-width: 0; display: grid; gap: 8px; padding: 0 32px; border-left: 1px solid var(--line); }
.proof-band div:first-child { border-left: 0; padding-left: 0; }
.proof-band strong { font-size: 34px; color: var(--navy); }
.proof-band span { color: var(--muted); font-size: 14px; }

.split-section, .application-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  padding: 120px 0;
}
h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.body-copy { color: var(--muted); font-size: 19px; line-height: 1.7; }
.body-copy p { margin: 0 0 26px; }

.services { padding: 110px max(20px, calc((100% - 1180px) / 2)); background: var(--ink); color: white; }
.services .eyebrow { color: #79a6ff; }
.section-heading { max-width: 700px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 68px; background: rgba(255,255,255,.16); }
.service-grid article { min-height: 310px; padding: 34px; background: var(--ink); }
.service-number { color: #79a6ff; font-size: 13px; font-weight: 800; }
.service-grid h3 { margin: 66px 0 16px; font-size: 25px; }
.service-grid p { margin: 0; color: #b8c4cd; line-height: 1.65; }

.application-section { align-items: start; }
.application-intro { position: sticky; top: 110px; }
.application-intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 500px; }
.application-intro ul { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; color: var(--navy); font-weight: 700; }
.application-intro li::before { content: "✓"; color: var(--green); margin-right: 10px; }

form {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: white;
}
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 32px; }
.progress span { height: 4px; background: var(--line); border-radius: 4px; }
.progress span.active { background: var(--blue); }
.form-step { display: none; }
.form-step.active { display: block; animation: enter .28s ease both; }
@keyframes enter { from { opacity: 0; transform: translateX(12px); } }
.form-heading { margin-bottom: 26px; }
.form-heading span { color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; }
.form-heading h3 { margin: 7px 0 0; font-size: 28px; }
label { display: grid; gap: 8px; margin-top: 18px; color: var(--ink); font-size: 14px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cdd7de;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  outline: none;
}
input, select { min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,104,229,.12); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-weight: 500; font-size: 12px; line-height: 1.5; }
.consent input { min-height: auto; width: 17px; height: 17px; margin-top: 1px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { min-height: 20px; margin: 18px 0 0; color: #166534; font-size: 14px; font-weight: 650; }
.form-error { min-height: 20px; margin: 0; color: #b42318; font-size: 14px; font-weight: 650; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.form-actions .button,
.form-actions .button-secondary {
  min-width: 150px;
}

.success-section { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0; text-align: center; }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 28px; border-radius: 50%; background: #e7f6f1; color: var(--green); font-size: 28px; }
.success-section p:last-child { color: var(--muted); font-size: 18px; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 42px max(20px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer div { display: grid; gap: 5px; }
footer strong { color: var(--ink); font-size: 16px; }

@media (max-width: 800px) {
  .site-header { height: 58px; top: 10px; }
  nav > a:not(.button) { display: none; }
  .button-small { min-height: 36px; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 130px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-copy { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .text-link { text-align: center; }
  .signal-one { right: -330px; top: 300px; }
  .signal-two { right: -190px; top: 390px; }
  .signal-three { right: -42px; top: 490px; }
  .proof-band { grid-template-columns: 1fr 1fr; row-gap: 38px; }
  .proof-band div, .proof-band div:first-child { padding: 0 12px; border-left: 0; }
  .split-section, .application-section { grid-template-columns: 1fr; gap: 52px; padding: 82px 0; }
  .application-intro { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 250px; }
  .service-grid h3 { margin-top: 40px; }
  .two-column { grid-template-columns: 1fr; gap: 0; }
  form { padding: 24px 20px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button,
  .form-actions .button-secondary { width: 100%; }
  footer { flex-direction: column; }
}
