:root {
  --navy-950: #040d1a;
  --navy-900: #071428;
  --navy-800: #0c2242;
  --navy-700: #14325c;
  --navy-600: #1d4678;
  --navy-500: #2a5f9e;
  --slate-100: #e8eef6;
  --slate-200: #cdd8e8;
  --slate-400: #8fa3bf;
  --white: #ffffff;
  --accent: #4d7cff;
  --accent-soft: #7fa4ff;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: #d4dde9;
  --shadow: 0 24px 60px rgba(4, 13, 26, 0.22);
  --serif: "IBM Plex Serif", "Georgia", serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-soft);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); margin: 0 0 16px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 1.2em; }
li { margin-bottom: 8px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(7, 20, 40, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
  text-decoration: none;
}
.brand strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand span {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--slate-200);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #3567d4);
  color: var(--white) !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(77, 124, 255, 0.35);
}
.nav-cta:hover { filter: brightness(1.06); color: var(--white) !important; }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(77, 124, 255, 0.28), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(42, 95, 158, 0.45), transparent 55%),
    linear-gradient(165deg, var(--navy-950), var(--navy-800) 48%, var(--navy-900));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 96px;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--slate-200);
  max-width: 58ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--slate-100); color: var(--navy-900); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); color: var(--white); }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.metric {
  padding: 16px;
  border-radius: 12px;
  background: rgba(4, 13, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.metric strong {
  display: block;
  font-size: 1.55rem;
  font-family: var(--serif);
  margin-bottom: 4px;
}
.metric span {
  font-size: 12px;
  color: var(--slate-400);
  line-height: 1.35;
}

.section { padding: 72px 0; }
.section-muted { background: var(--slate-100); }
.section-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}
.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-header p { color: var(--navy-700); }
.section-dark .section-header p { color: var(--slate-200); }

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}
.card h3 { color: var(--navy-800); }
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: #e7eefc;
  color: var(--navy-700);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: var(--white);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.panel {
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(7, 20, 40, 0.06);
}
.panel label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy-700);
}
.panel input,
.panel select,
.panel textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: #fbfcfe;
}
.panel textarea { min-height: 110px; resize: vertical; }

.calc-output {
  margin-top: 16px;
  padding: 18px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
}
.calc-output strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--serif);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-item {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.faq details {
  border-top: 1px solid var(--line-dark);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-800);
}

.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 48px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer a { color: var(--slate-200); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.4em;
}
.form-status.ok { color: #166534; }
.form-status.err { color: #991b1b; }

@media (max-width: 960px) {
  .hero-grid, .cards-2, .split, .steps, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line);
  }
  .site-header.open .site-nav { display: flex; }
  .site-header { position: relative; }
}