:root {
  --navy: #0a2350;
  --navy-2: #12336f;
  --blue: #0a5bd3;
  --blue-hover: #0849ad;
  --cyan: #1aa7e8;
  --ink: #0b1f3a;
  --muted: #55657d;
  --line: #dde5f0;
  --surface: #f4f7fb;
  --white: #ffffff;
  --ok: #157f52;
  --warn: #a15c00;
  --bad: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 35, 80, .06), 0 8px 28px rgba(10, 35, 80, .08);
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--font-body); }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font: 700 .98rem/1 var(--font-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(10, 91, 211, .28); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf3ff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand b { font: 800 1.25rem/1 var(--font-head); letter-spacing: .02em; }
.brand small { display: block; font: 500 .68rem/1.2 var(--font-body); color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { padding: 10px 16px; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } .brand small { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(1100px 520px at 85% -10%, #e3f2ff 0%, rgba(227, 242, 255, 0) 60%), linear-gradient(#fff, var(--surface)); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }

.film { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy); box-shadow: 0 24px 60px rgba(10, 35, 80, .25); aspect-ratio: 16 / 9; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(10, 35, 80, 0) 40%, rgba(10, 35, 80, .55)); border: 0; cursor: pointer; color: #fff; }
.film-play span { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font: 700 1rem/1 var(--font-head); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.film-play svg { width: 22px; height: 22px; fill: var(--blue); }
.film-badge { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 700 .78rem/1 var(--font-head); }

/* Stats strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 26px 18px; border-left: 1px solid var(--line); }
.strip div:first-child { border-left: 0; }
.strip b { display: block; font: 800 1.35rem/1.1 var(--font-head); color: var(--navy); margin-bottom: 4px; }
.strip span { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip div:nth-child(3) { border-left: 0; } .strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }

section { padding: 84px 0; }
.section-head { margin-bottom: 48px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-media { order: -1; }
.feature-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.feature-media img { width: 100%; height: auto; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.feature li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e3f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%230a5bd3' d='M8.1 13.3 4.8 10l-1.1 1.1 4.4 4.4 9-9-1.1-1.1z'/%3E%3C/svg%3E") center/14px no-repeat; }
.tag { display: inline-block; font: 700 .72rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; } .feature.flip .feature-media { order: 0; } }

/* Cards */
.alt { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(10, 35, 80, .04); }
.card .icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #e6f2ff, #dff6ff); margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.roles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.roles span { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1rem/1 var(--font-head); margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 700 1.05rem/1.4 var(--font-head); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #0b5fc4 100%); color: #dbe7ff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40em; margin: 0 auto 26px; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 600px) { .cta-band { padding: 40px 22px; } }

/* Footer */
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Forms */
.form-page { background: var(--surface); min-height: calc(100vh - 68px); padding: 48px 0 72px; }
.form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; gap: 28px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .panel { padding: 22px; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .92rem; color: var(--navy); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border-radius: 10px; border: 1px solid #c9d5e6; background: #fff; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10, 91, 211, .15); }
.field.invalid input, .field.invalid select { border-color: var(--bad); }
.err { color: var(--bad); font-size: .85rem; min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.bad { background: #fdecea; color: var(--bad); }
.done { text-align: center; padding: 24px 8px; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #e3f6ec; display: grid; place-items: center; margin: 0 auto 18px; }
.done .tick svg { width: 32px; height: 32px; stroke: var(--ok); fill: none; stroke-width: 2.5; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; }
.perks li { display: flex; gap: 12px; margin-bottom: 16px; }
.perks li b { display: block; color: var(--navy); }
.perks li span { color: var(--muted); font-size: .95rem; }
.perks .dot { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #e3f0ff; display: grid; place-items: center; color: var(--blue); font: 800 .95rem/1 var(--font-head); }

/* Simple pages */
.page { padding: 56px 0 80px; }
.page .narrow { max-width: 760px; margin: 0 auto; }
.gate { max-width: 560px; margin: 0 auto; text-align: center; }
.gate .panel { margin-top: 12px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
