:root {
  --bg: #f8fafc;
  --bg-deep: #0b1220;
  --fg: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --card: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #0f172a;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo img {
  display: block;
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--fg);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 18px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0 0 28px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fine {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.mock {
  background: linear-gradient(180deg, #1e3a8a 0%, #0b1220 100%);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.mock-card {
  background: var(--white);
  color: var(--fg);
  border-radius: 14px;
  padding: 18px;
}

.mock-card h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.mock-card p,
.mock-line span {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.mock-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.mock-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.section > .wrap > .lede,
.section-intro {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step h3::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 0.85rem;
}

.band {
  background: var(--bg-deep);
  color: var(--white);
}

.band .lede,
.band .card p,
.band .fine {
  color: #cbd5e1;
}

.band .card {
  background: #111827;
  border-color: #1f2937;
  color: var(--white);
}

.legal {
  padding: 48px 0 80px;
  max-width: 760px;
}

.legal h1 {
  font-size: 2rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
  color: var(--fg);
  display: inline-block;
  padding: 4px 0;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 72px 16px auto;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }
}
