:root {
  --navy: #0c2058;
  --navy-ink: #071538;
  --red: #902935;
  --red-dark: #74202b;
  --ink: #16163a;
  --ink-soft: #4a4a6a;
  --line: #d9d9e6;
  --paper: #ffffff;
  --mist: #f4f4f9;
  --head: "Fira Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--body); letter-spacing: .01em; text-decoration: none; padding: 15px 22px; border: 2px solid transparent; border-radius: 4px; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #7f93c8; outline-offset: 2px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font: 800 20px/1.1 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.brand img { width: 52px; height: 52px; }

.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--mist), #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; font: 600 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
h1, h2 { font-family: var(--head); font-weight: 800; color: var(--navy); line-height: 1.02; letter-spacing: -.005em; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 72px); text-transform: uppercase; margin-bottom: 22px; }
h2 { font-size: clamp(36px, 4.4vw, 52px); text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-mark img { width: min(420px, 100%); margin-inline: auto; filter: drop-shadow(0 18px 40px rgba(12,32,88,.14)); }

.rule { display: flex; height: 6px; }
.rule span:first-child { flex: 2; background: var(--navy); }
.rule span:last-child { flex: 1; background: var(--red); }

.join { padding: 80px 0 88px; }
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.join-copy p { color: var(--ink-soft); font-size: 18px; margin: 0 0 18px; max-width: 30em; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 30px; }
.points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--red); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

.card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: 6px; padding: 30px; box-shadow: 0 20px 50px rgba(12,32,88,.08); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fields[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.full { grid-column: 1 / -1; }
label { font: 600 14px/1.2 var(--body); color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); }
input { width: 100%; font: 400 17px/1.3 var(--body); color: var(--ink); padding: 13px 14px; border: 1.5px solid #c4c4d6; border-radius: 4px; background: #fff; }
input:focus { border-color: var(--navy); }
input[aria-invalid="true"] { border-color: var(--red); background: #fff7f5; }
.hint { margin: 0; font-size: 14px; color: #7a2716; }
.hint[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-left: 4px solid var(--red); background: #fff4f1; color: #7a2716; font-size: 15px; }
.form-err[hidden] { display: none; }
.fine { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.done { text-align: center; padding: 24px 8px; }
.done[hidden] { display: none; }
.done-k { margin: 0 0 6px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.done-h { margin: 0 0 8px; font: 800 34px/1.05 var(--head); color: var(--navy); text-transform: uppercase; }
.done p:last-child { margin: 0; color: var(--ink-soft); }

.foot { background: var(--navy-ink); color: #d8d8f0; padding: 40px 0; }
.foot-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot .brand { color: #fff; font-size: 17px; }
.foot .brand img { width: 44px; height: 44px; background: #fff; border-radius: 50%; }
.foot p { margin: 0; font-size: 15px; }
.foot a { color: #fff; }
.legal { color: #a9a9cf; font-size: 14px; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 48px; }
  .hero-grid, .join-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-mark { order: -1; }
  .hero-mark img { width: min(240px, 70%); }
  .join { padding: 56px 0 64px; }
  .foot-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 520px) {
  .brand { gap: 9px; }
  .brand span { font-size: 15px; }
  .top .brand img { width: 42px; height: 42px; }
  .top .btn-sm { padding: 9px 12px; font-size: 14px; }
  .fields { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
