:root {
  --ink: #f4f7fb;
  --muted: #b7c5de;
  --paper: #071633;
  --card: #0e2248;
  --line: rgba(186, 210, 255, 0.16);
  --accent: #ff4d45;
  --accent-deep: #ff6a63;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(70, 140, 255, 0.28), transparent 55%),
    radial-gradient(640px 360px at -8% 18%, rgba(255, 77, 69, 0.14), transparent 50%),
    linear-gradient(180deg, #0a1d44 0%, #071633 42%, #06122c 100%);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 22, 51, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 22, 51, 0.94); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark {
  width: 28px;
  height: 32px;
  flex: none;
  display: block;
}
.mark svg { display: block; width: 100%; height: 100%; }
.brand-name { font-weight: 650; letter-spacing: -0.045em; font-size: 1.12rem; color: #f4f5f7; line-height: 1; }
.brand-name span { color: #ff4d45; }
.brand small { display: block; color: #9eb0d0; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav a.active { color: var(--ink); background: #16356e; box-shadow: 0 0 0 1px var(--line); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  background: #f4f5f7;
  color: #111318;
  font-weight: 600;
}
.btn:hover { background: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.nav .btn { color: #111318; padding: 10px 14px; box-shadow: none; background: #f4f5f7; }
.nav .btn:hover { color: #111318; background: #fff; }

.hero { padding: 64px 0 20px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 650;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); max-width: 16ch; margin: 18px 0 16px; }
.lede { max-width: 68ch; color: var(--muted); font-size: 1.12rem; margin: 0 0 28px; }
.lede mark,
.prose mark {
  color: #ffd0cc;
  font-weight: 650;
  background: rgba(255, 77, 69, 0.18);
  padding: 0.05em 0.28em;
  border-radius: 0.35em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-panel {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
  align-items: start;
}
.panel, .stat, .card, .module, .form, .note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.panel { padding: 28px; }
.panel h2 { font-size: 1.7rem; margin-bottom: 10px; }
.panel p { margin: 0; color: var(--muted); }
.stack { display: grid; gap: 10px; }
.fact {
  padding: 14px 16px;
  border-radius: 16px;
  background: #12305f;
  border: 1px solid var(--line);
}
.fact strong { display: block; font-size: 0.95rem; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 0.9rem; }

.band { padding: 22px 0 4px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat { padding: 18px 18px 16px; }
.stat b { display: block; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 0.88rem; }

section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.grid-3, .grid-2, .modules { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.modules { grid-template-columns: repeat(3, 1fr); }
.card, .module { padding: 22px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card:hover, .module:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35); }
.card h3, .module h3 { font-size: 1.25rem; margin: 8px 0 8px; }
.kicker { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 650; }
.card p, .module p, .prose p { color: var(--muted); }
.card a.more, .text-link { color: var(--ink); font-weight: 600; text-decoration: none; }
.card a.more:hover, .text-link:hover { color: var(--accent); }

.page-hero { padding: 28px 0 8px; }
.page-hero .wrap {
  position: relative;
  overflow: hidden;
  padding: 36px 40px 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 77, 69, 0.28), transparent 62%),
    linear-gradient(115deg, #12356e 0%, #1b4fae 48%, #0b2458 100%);
}
.page-hero .wrap > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 18ch; }

.hero-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.banner-art {
  background:
    radial-gradient(240px 160px at 78% 18%, rgba(255, 77, 69, 0.32), transparent 70%),
    linear-gradient(165deg, #1a4fad, #0c2a62);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.banner-art svg { width: 100%; height: auto; display: block; }
.promo { padding-top: 8px; }
.promo-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px 36px;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(380px 180px at 0% 120%, rgba(255, 77, 69, 0.28), transparent 60%),
    linear-gradient(100deg, #0e2f6e 0%, #1d5ed8 62%, #12356e 100%);
}
.promo-banner h2 { max-width: 18ch; }
.promo-banner p { color: #d5e2f7; margin: 10px 0 0; max-width: 54ch; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.crumbs a { color: var(--ink); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--accent); }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin: 28px 0 10px; }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li {
  padding-left: 16px;
  position: relative;
  color: var(--muted);
}
.list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.callout {
  background: linear-gradient(160deg, #1a4a9c, #0d2d6b);
  color: #f5f6f8;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.callout p { color: rgba(245, 246, 248, 0.78); }
.callout a { color: #fff; }
.callout .kicker { color: #ffb4ae; }

.form { padding: 22px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0a1c40;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: 2px solid rgba(255, 77, 69, 0.35);
  border-color: #ff4d45;
  background: #0a1c40;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { min-height: 1.4em; color: var(--accent); font-size: 0.95rem; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-card { padding: 22px; }
.contact-card a { color: var(--ink); font-weight: 600; }

.cta {
  background: linear-gradient(120deg, #12356e 0%, #1a4fad 55%, #0c2a62 100%);
  color: #f5f6f8;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta p { color: rgba(245, 246, 248, 0.75); margin: 8px 0 0; }
.cta .btn { background: #f4f5f7; color: #111318; }
.cta .btn:hover { background: #f3f4f6; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink); text-decoration: none; font-weight: 550; }
footer a:hover { color: var(--accent); }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero-panel, .hero-banner, .stats, .grid-3, .grid-2, .modules, .split, .cta { grid-template-columns: 1fr; display: grid; }
  .section-head, .cta, .promo-banner { align-items: start; flex-direction: column; }
  .page-hero .wrap { padding: 28px 22px; }
  h1 { max-width: none; }
}
