:root {
  --navy: #052d57;
  --navy-deep: #031d39;
  --blue: #0a4b8c;
  --teal: #13a8bd;
  --teal-pale: #e3f7f8;
  --orange: #f66a16;
  --ink: #15283b;
  --body: #40566b;
  --muted: #667b8f;
  --paper: #f7fafc;
  --surface: #ffffff;
  --line: #d9e5ed;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(5, 45, 87, .10);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.68; }
img { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.soft { background: #edf4f7; }
.navy { background: var(--navy); color: #fff; }
.skip { position: fixed; left: 1rem; top: .5rem; z-index: 1000; transform: translateY(-160%); background: #fff; padding: .65rem .9rem; border-radius: 8px; }
.skip:focus { transform: none; }

header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 190px; height: 55px; object-fit: contain; }
.links { display: flex; align-items: center; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.links a { color: #50667b; font-size: .79rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.links a:hover, .links a[aria-current="page"] { color: var(--navy); }
.nav-cta { padding: .65rem .9rem; border-radius: 999px; background: var(--orange); color: #fff !important; }
.menu { display: none; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--navy); padding: .55rem .75rem; font-weight: 800; }

.hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8.5rem) 0; background: linear-gradient(125deg, var(--navy-deep), var(--navy) 62%, #074075); color: #fff; }
.hero::before { content: ""; position: absolute; width: 760px; height: 250px; right: -180px; top: 70px; border: 2px solid rgba(75,220,231,.34); border-radius: 50%; transform: rotate(-10deg); box-shadow: 0 0 0 34px rgba(75,220,231,.025), 0 0 0 74px rgba(75,220,231,.018); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--teal); font-size: .73rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.hero .eyebrow, .navy .eyebrow { color: #81e8ef; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 850px; font-size: clamp(3rem, 6.4vw, 5.9rem); line-height: .98; }
h2 { max-width: 880px; font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.06; }
h3 { line-height: 1.25; }
h1 em, h2 em { color: #60dce8; font-style: normal; }
.lead { max-width: 820px; margin: 1.35rem 0 0; color: var(--body); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero .lead, .navy .lead { color: rgba(255,255,255,.79); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .78rem 1.18rem; border: 1px solid transparent; border-radius: 999px; font-weight: 780; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--orange); color: #fff; }
.btn.secondary { border-color: rgba(5,45,87,.25); background: #fff; color: var(--navy); }
.hero .btn.secondary, .navy .btn.secondary { border-color: rgba(255,255,255,.35); background: transparent; color: #fff; }

.signal-card, .card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.signal-card { padding: 1.35rem; color: var(--ink); }
.signal-title { padding: 1.15rem; border-radius: 14px; background: var(--teal-pale); color: var(--navy); font-family: var(--serif); font-size: 1.38rem; line-height: 1.2; }
.signal-list { display: grid; margin-top: .7rem; }
.signal-list span { padding: .62rem .2rem; border-bottom: 1px solid var(--line); color: #385066; font-size: .88rem; font-weight: 700; }
.signal-list span:last-child { border-bottom: 0; }
.page-hero { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.page-hero h1 { font-size: clamp(2.9rem, 5.6vw, 5rem); }

.intro-grid, .split { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.section-head { margin-bottom: 2.1rem; }
.section-head .lead { max-width: 760px; }
.grid2, .grid3 { display: grid; gap: 1rem; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 1.45rem; }
.card h3 { margin: .15rem 0 .7rem; color: var(--navy); font-size: 1.12rem; }
.card p { color: var(--body); font-size: .94rem; }
.card p:last-child { margin-bottom: 0; }
.navy .card { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); box-shadow: none; }
.navy .card h3 { color: #fff; }
.navy .card p { color: rgba(255,255,255,.74); }
.kicker { display: inline-block; margin-bottom: .7rem; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.status { display: inline-flex; margin-bottom: .9rem; padding: .35rem .58rem; border-radius: 999px; background: #e9f7f8; color: #087a89; font-size: .71rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.status.partner { background: #fff0e7; color: #a5460b; }
.service-card { display: flex; flex-direction: column; }
.service-card .why { padding-top: .9rem; margin-top: .15rem; border-top: 1px solid var(--line); }
.service-card .why strong { display: block; margin-bottom: .35rem; color: var(--navy); }
.service-card .btns { margin-top: auto; padding-top: 1.15rem; }
.principles { display: grid; gap: .9rem; }
.principle { padding: 1.15rem 1.2rem; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 12px 12px 0; box-shadow: 0 9px 24px rgba(5,45,87,.055); }
.principle h3 { margin: 0 0 .35rem; color: var(--navy); font-size: 1.02rem; }
.principle p { margin: 0; color: var(--body); font-size: .91rem; }
.decision-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin-top: 2rem; }
.flow-item { position: relative; display: grid; place-items: center; min-height: 92px; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy); text-align: center; font-size: .86rem; font-weight: 800; }
.flow-item:nth-child(4), .flow-item:nth-child(7) { background: var(--navy); color: #fff; }
.flow-note { margin-top: 1rem; color: var(--muted); text-align: center; font-size: .88rem; }
.list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.list li { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--body); font-size: .92rem; }

.form-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .38rem; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-size: .88rem; font-weight: 760; }
input, select, textarea { width: 100%; border: 1px solid #bdcdd9; border-radius: 10px; background: #fff; color: var(--ink); padding: .78rem .82rem; font: inherit; }
textarea { min-height: 125px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(19,168,189,.18); border-color: var(--teal); }
.help { color: var(--muted); font-size: .78rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; }
.check input { width: auto; margin-top: .38rem; }
.check label { color: var(--body); font-weight: 500; }
.hidden-field { position: absolute; left: -10000px; }
.notice { padding: 1rem; border-radius: 12px; background: #eef7fa; color: #294d65; font-size: .88rem; }
.alert { margin-bottom: 1rem; padding: .9rem 1rem; border-radius: 10px; }
.alert.success { background: #e8f6ef; color: #145d3d; }
.alert.error { background: #fff0ed; color: #8a2c18; }

.cta-band { padding: 2.3rem; border-radius: var(--radius); background: linear-gradient(125deg, var(--navy-deep), var(--navy)); color: #fff; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
footer { padding: 3rem 0 2rem; background: var(--navy-deep); color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); gap: 2rem; }
.footer-brand img { width: 185px; height: 56px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.footer-grid h3 { margin: 0 0 .7rem; color: #fff; font-size: .88rem; }
.footer-grid a { display: block; margin: .35rem 0; color: rgba(255,255,255,.7); text-decoration: none; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .78rem; }

@media (max-width: 1040px) {
  .links { gap: .75rem; }
  .links a { font-size: .74rem; }
  .nav-cta { display: none; }
  .hero-grid, .intro-grid, .split, .form-wrap { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu { display: block; }
  .links { position: absolute; top: 72px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .links.open { display: flex; }
  .links a { display: block; padding: .3rem; font-size: .86rem; }
  .brand img { width: 165px; }
  .grid2, .grid3, .form-grid, .decision-flow, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .hero::before { right: -500px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
