:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5d6b80;
  --line: #dce4ef;
  --paper: #ffffff;
  --soft: #f3f7fc;
  --brand: #3157e8;
  --brand-dark: #203fb5;
  --accent: #31c7a3;
  --shadow: 0 22px 58px rgba(38, 61, 104, 0.12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 6%, rgba(49, 199, 163, 0.16), transparent 25rem),
    radial-gradient(circle at 5% 18%, rgba(49, 87, 232, 0.12), transparent 30rem),
    var(--soft);
  color: var(--ink);
  line-height: 1.62;
}

a { color: var(--brand-dark); }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 9px 23px rgba(49, 87, 232, 0.28);
  color: white;
  font-weight: 900;
}

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

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 14px;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(49, 87, 232, 0.25);
  color: white !important;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
  color: var(--ink) !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: 72px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(49, 87, 232, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 750;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin: 24px 0 20px;
  font-size: clamp(42px, 7vw, 72px);
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card,
.card,
.document,
.status-card {
  border: 1px solid rgba(220, 228, 239, 0.86);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
  border-radius: 28px;
}

.hero-card h2 { font-size: 24px; }

.steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #e9eefe;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.step strong { display: block; }
.step span { color: var(--muted); font-size: 14px; }

.section { padding: 76px 0; }
.section-title { max-width: 720px; margin-bottom: 30px; }
.section-title h2 { margin-bottom: 12px; font-size: clamp(30px, 5vw, 48px); }
.section-title p { margin: 0; color: var(--muted); font-size: 18px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 13px 38px rgba(38, 61, 104, 0.08);
}

.card-icon { font-size: 28px; }
.card h3 { margin: 16px 0 9px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.terms .card { padding: 28px; }
.terms ul { margin: 15px 0 0; padding-left: 20px; color: var(--muted); }

.legal-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.legal-link {
  display: flex;
  min-height: 116px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.legal-link span { color: var(--brand); font-size: 24px; }

footer {
  margin-top: 74px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

.doc-shell { width: min(880px, calc(100% - 28px)); margin: 0 auto; }
.doc-header { padding: 52px 0 24px; }
.doc-header h1 { margin-bottom: 14px; font-size: clamp(36px, 7vw, 58px); }
.doc-meta { color: var(--muted); }

.document {
  padding: clamp(22px, 5vw, 52px);
  border-radius: 28px;
}

.document h2 { margin: 38px 0 14px; font-size: 25px; }
.document h2:first-child { margin-top: 0; }
.document p, .document li { color: #344258; }
.document ul, .document ol { padding-left: 24px; }
.document li + li { margin-top: 8px; }

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 6px 16px 16px 6px;
  background: #eef2ff;
}

.status-wrap {
  display: grid;
  min-height: calc(100vh - 100px);
  place-items: center;
  padding: 30px 0;
}

.status-card {
  width: min(600px, calc(100% - 30px));
  padding: clamp(28px, 6vw, 52px);
  border-radius: 28px;
  text-align: center;
}

.status-icon { font-size: 52px; }
.status-card h1 { margin: 20px auto 14px; font-size: clamp(32px, 7vw, 50px); }
.status-card p { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .nav > a:not(.button) { display: none; }
  .hero { padding-bottom: 56px; }
  .section { padding: 55px 0; }
  .grid, .legal-links { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .document { border-radius: 20px; }
}
