:root {
  --ink: #14213d;
  --text: #2b3550;
  --muted: #5d6680;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --accent: #2fa866;
  --accent-ink: #1f7d4a;
  --purple: #5b3fa8;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.01em; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: #47c27a; font-weight: 700; font-size: .9rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text small { color: var(--muted); font-size: .78rem; }
.badge {
  font-size: .8rem; font-weight: 600; color: var(--purple);
  background: #f1edfa; border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #f5f7fb 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent-ink); margin-bottom: .8em; }
.lead { font-size: 1.1rem; max-width: 60ch; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.facts span { display: block; font-size: .78rem; color: var(--muted); }
.facts strong { color: var(--ink); font-size: .95rem; }

/* Download card */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(20, 33, 61, .06); }
.card__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.card__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.countdown div { background: var(--bg-alt); border-radius: 10px; padding: 12px 4px; text-align: center; }
.countdown span { display: block; font-size: 1.9rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: .72rem; color: var(--muted); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 20px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { background: #c9cfdb; color: #fff; pointer-events: none; cursor: not-allowed; }

/* Funding strip */
.funding-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.funding-strip img { display: block; width: 100%; max-width: 356px; height: auto; margin: 0 auto; }

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.submit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.submit__mail { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--accent); }
.mail { display: inline-block; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; color: var(--ink); text-decoration: none; margin: 4px 0 12px; word-break: break-all; }
.mail:hover { color: var(--accent-ink); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem;
}

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 28px; display: grid; grid-template-columns: 190px 1fr; gap: 12px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--muted); }
.timeline time { font-weight: 600; color: var(--ink); }
.timeline .is-key::before { background: var(--accent); border-color: var(--accent); }
.timeline .is-key time, .timeline .is-key span { color: var(--accent-ink); font-weight: 700; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.spec { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.spec h3 { color: var(--purple); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.spec p { margin: 0; font-size: .95rem; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact p { margin: 0 0 4px; }
.contact__name { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact .small { margin-top: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.funder { width: 100%; max-width: 474px; height: auto; margin-bottom: 12px; }
.footer p { max-width: 70ch; margin: 0; }

@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero__grid, .submit, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .facts, .specs { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .badge { display: none; }
  .card { padding: 20px; }
  .countdown span { font-size: 1.5rem; }
}
