:root {
  --bg: #f2f2f7;
  --white: #ffffff;
  --label: #1c1c1e;
  --secondary: #3a3a3c;
  --tertiary: #8e8e93;
  --separator: #e5e5ea;
  --green: #34c759;
  --mint: #dff5e9;
  --blue: #007aff;
  --sky: #e8f1ff;
  --radius: 18px;
  --max: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--label);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--separator);
  background: rgba(242, 242, 247, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--label);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a { color: var(--secondary); text-decoration: none; }
.nav a:hover { color: var(--blue); }

.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.hero p {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--secondary);
  font-size: 1.125rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { filter: brightness(0.97); text-decoration: none; }
.btn-ghost {
  background: var(--white);
  color: var(--label);
  border-color: var(--separator);
}
.btn-ghost:hover { text-decoration: none; background: #fafafa; }

.section {
  padding: 2.5rem 0 3rem;
}
.section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.section .lead {
  margin: 0 0 1.5rem;
  color: var(--secondary);
}

.cards {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  border: 1px solid transparent;
}
.card.mint { background: var(--mint); }
.card.sky { background: var(--sky); }
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.95rem;
}
.step-num {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.legal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.legal-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--secondary);
}
.legal-box li { margin: 0.35rem 0; }

.prose {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 2rem;
}
.prose h1 {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}
.prose .meta {
  color: var(--tertiary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.prose h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
}
.prose p, .prose li {
  color: var(--secondary);
  font-size: 0.98rem;
}
.prose ul { padding-left: 1.2rem; }

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.75rem;
  border-top: 1px solid var(--separator);
  color: var(--secondary);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: grid;
  gap: 1rem;
}
.site-footer strong { color: var(--label); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}
.footer-links a { color: var(--secondary); font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
