:root {
  --bg: #fbf8f3;
  --ink: #1f2a37;
  --muted: #5b6573;
  --accent: #2f7d6d;
  --accent-soft: #e3f1ec;
  --warm: #f2a541;
  --card: #ffffff;
  --line: #e7e1d7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none;
  letter-spacing: 0.02em;
}
.brand svg { width: 32px; height: 32px; }
nav a {
  margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 0.95rem;
}
nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
h1 { font-size: 2.6rem; line-height: 1.15; margin: 18px 0 16px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; font-weight: 600;
}
.btn:hover { background: #256558; }
.hero-art svg { width: 100%; height: auto; max-width: 340px; display: block; margin: 0 auto; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.8rem; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
section.alt .card { background: var(--bg); }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px;
}
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Roadmap */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li {
  position: relative; padding: 0 0 26px 56px; counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.steps li.next::before { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line);
}
.steps h3 { margin: 4px 0 4px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); }
.tag { font-size: 0.78rem; font-weight: 600; color: var(--warm); margin-left: 6px; }

/* Contact */
.contact {
  background: var(--accent); color: #fff; border-radius: 18px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.contact h2 { margin: 0 0 6px; }
.contact p { margin: 0; opacity: 0.9; }
.contact .btn { background: #fff; color: var(--accent); }

/* Footer */
footer.site { padding: 32px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--muted); }

/* Legal page */
.legal { padding: 56px 0; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 32px; }
.legal p { max-width: 680px; }
.todo { background: #fff4df; padding: 0 4px; border-radius: 4px; }

/* Mobile */
@media (max-width: 760px) {
  .hero { padding: 48px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 220px; }
  h1 { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
  .contact { padding: 28px; }
}
