:root {
  color-scheme: light dark;
  --ink: #17172a;
  --muted: #62627a;
  --paper: #fbfbff;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(66, 61, 129, 0.16);
  --accent: #5952e0;
  --accent-soft: #ecebff;
  --success: #056e57;
  --shadow: 0 24px 70px rgba(49, 44, 112, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(89, 82, 224, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 16%, rgba(5, 110, 87, 0.11), transparent 28rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #37308f, #716bff);
  box-shadow: 0 10px 24px rgba(89, 82, 224, 0.26);
}

.brand-mark span {
  width: 20px;
  height: 16px;
  display: block;
  background: repeating-linear-gradient(
    to bottom,
    #ffffff 0 2px,
    transparent 2px 6px
  );
}

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

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

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

main { padding: 76px 0 96px; }

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

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

h1 { margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.2rem; }

.lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #4b45c8, #6d66ff);
  box-shadow: 0 14px 32px rgba(89, 82, 224, 0.24);
}

.timeline-card,
.card,
.policy {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.timeline-card { padding: 30px; }

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-line strong { color: #b81f17; }

.sentence {
  padding: 18px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.sentence p { margin: 0; }
.sentence p + p { margin-top: 10px; color: #4e4c66; }

.wave {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 26px 0;
}

.wave i {
  width: 5px;
  height: var(--h);
  display: block;
  border-radius: 99px;
  background: linear-gradient(to top, #5952e0, #9d98ff);
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(89, 82, 224, 0.13);
}

.progress::before {
  content: "";
  width: 62%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--accent);
}

.section { padding: 86px 0 0; }
.section-intro { max-width: 720px; margin-bottom: 36px; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }

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

.card { padding: 28px; box-shadow: none; }
.card p { margin-bottom: 0; color: var(--muted); }
.card .number { color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }

.page-hero { max-width: 820px; padding: 36px 0 22px; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.page-meta { color: var(--muted); }

.policy {
  max-width: 900px;
  padding: clamp(26px, 5vw, 58px);
  box-shadow: none;
}

.policy h2 { margin-top: 52px; font-size: 1.65rem; }
.policy h2:first-child { margin-top: 0; }
.policy li + li { margin-top: 8px; }
.policy .callout {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--success);
  border-radius: 10px;
  background: color-mix(in srgb, var(--success) 8%, transparent);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-row p { margin: 0; }

@media (max-width: 780px) {
  .shell { width: min(100% - 28px, 680px); }
  .nav { min-height: 64px; }
  .nav-links { gap: 12px; }
  .nav-links a:first-child { display: none; }
  main { padding-top: 40px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; }
  .grid, .support-grid { grid-template-columns: 1fr; }
  .section { padding-top: 64px; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f3ff;
    --muted: #b9b7cb;
    --paper: #111119;
    --surface: rgba(29, 28, 44, 0.82);
    --line: rgba(192, 187, 255, 0.17);
    --accent: #a099ff;
    --accent-soft: rgba(103, 95, 233, 0.18);
    --success: #52d6ba;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }

  .sentence p + p { color: #c7c4db; }
}
