:root {
  --bg: #f3f7ff;
  --card: #ffffff;
  --text: #101828;
  --muted: #475467;
  --brand: #005cc8;
  --brand-2: #0a9396;
  --ink-dark: #06203c;
  --line: #d9dde7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #cbe4ff, transparent 35%),
    radial-gradient(circle at bottom left, #cbf5ed, transparent 35%),
    var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.row {
  display: flex;
  gap: 12px;
}

.legal-links {
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

.center {
  align-items: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.topbar .container {
  min-height: 66px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav .btn.small {
  line-height: 1;
}

.hero {
  padding: 88px 0 64px;
}

.kicker {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.12;
  max-width: 18ch;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px;
}

.hero-stats .value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin: 0;
  color: var(--ink-dark);
}

.hero-stats p {
  margin: 4px 0 0;
  color: #2e3e53;
  font-size: 0.93rem;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
}

.grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(11, 20, 38, 0.05);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline div {
  border: 1px dashed #c9d6eb;
  border-radius: 12px;
  padding: 10px 12px;
}

.timeline p {
  margin: 5px 0 0;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  color: #27364f;
  font-size: 0.92rem;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.form input,
.form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid #8fc3ff;
  border-color: #77b5ff;
}

.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.actions.wrap {
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--brand);
  background: linear-gradient(120deg, var(--brand), #2879da);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn.small {
  padding: 7px 10px;
  font-size: 0.85rem;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
}

.btn:hover {
  filter: brightness(0.98);
}

.note {
  color: #365267;
  font-size: 0.95rem;
}

.error {
  margin: 8px 0 0;
  color: #b42318;
  min-height: 1.2em;
}

.ok {
  margin: 10px 0 0;
  color: #067647;
  min-height: 1.2em;
}

.preview {
  margin-top: 14px;
  background: #0f172a;
  color: #dbe9ff;
  padding: 12px;
  border-radius: 10px;
  overflow: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(2, 12, 26, 0.58);
  padding: 16px;
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(520px, 96%);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(8, 17, 35, 0.24);
}

.modal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: var(--brand);
  text-decoration: none;
}

@media (max-width: 900px) {
  .grid.two,
  .cards,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-end;
  }
}
