:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #12141c;
  --muted: #5c6478;
  --line: #e4e7f0;
  --accent: #3b4fd8;
  --accent-ink: #ffffff;
  --soon: #6b4e16;
  --soon-bg: #f8efd8;
  --shadow: 0 18px 50px rgba(18, 20, 28, 0.08);
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 80% -10%, #e4e8ff 0%, transparent 60%),
    linear-gradient(180deg, #fbfbfe 0%, var(--bg) 280px);
  line-height: 1.5;
}

a { color: inherit; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
}

.top.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18, 20, 28, 0.04);
  max-width: none;
  padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img { border-radius: 8px; }

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

.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav-app { color: var(--ink) !important; font-weight: 600; }

.menu {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.hero, .band, .close, .foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

.hero {
  padding-top: 72px;
  padding-bottom: 48px;
  max-width: 760px;
  margin-left: max(24px, calc((100% - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead, .section-head p, .feature p, .card p, .grow p, .close p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead { max-width: 38rem; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 650;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.band { padding-top: 36px; padding-bottom: 12px; }

.section-head { max-width: 36rem; margin-bottom: 22px; }
h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
h3 { margin: 0 0 8px; letter-spacing: -0.02em; }

.grid { display: grid; gap: 16px; }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }

.card, .feature, .grow, .close {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card, .grow { padding: 22px; }
.feature { padding: 28px; }

.pill {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8ebff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
}

.pill-soon { background: var(--soon-bg); color: var(--soon); }

.grow { margin-top: 16px; background: #12141c; color: #fff; border-color: #12141c; }
.grow p { color: #c5cad8; }

.close { margin-top: 48px; margin-bottom: 24px; padding: 40px 28px; text-align: center; }
.close p { margin-left: auto; margin-right: auto; max-width: 34rem; }
.close .actions { justify-content: center; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  padding-bottom: 40px;
}

.foot a { margin-left: 16px; }

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
  animation-play-state: paused;
}

html.js .reveal.is-in { animation-play-state: running; }

.card.reveal:nth-child(2) { animation-delay: 0.08s; }
.card.reveal:nth-child(3) { animation-delay: 0.16s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 800px) {
  .three, .two { grid-template-columns: 1fr; }
  .menu { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 8px; }
  .hero { padding-top: 36px; margin-left: auto; }
  .foot { flex-direction: column; }
  .foot a { margin-left: 0; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; animation: none; }
}
