:root {
  color-scheme: dark;
  --bg: #000;
  --card: #111;
  --line: #2a2a2a;
  --text: #fff;
  --muted: #b5b5b5;
  --dim: #8d8d8d;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.45;
  min-height: 100vh;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.nav, .wrap, .footer-inner { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a, .footer a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover, .footer a:hover { color: #fff; }

.hero { padding: 54px 0 28px; text-align: center; }
.hero img.mark { width: 148px; height: 148px; border-radius: 34px; margin: 0 auto 28px; }
h1 { font-size: 56px; line-height: 1.02; letter-spacing: -0.045em; font-weight: 650; margin: 0; }
.lede { max-width: 560px; margin: 16px auto 0; color: var(--muted); font-size: 21px; }
.actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.button, .button-ghost {
  display: inline-block;
  text-decoration: none;
  border-radius: 980px;
  padding: 12px 18px;
  font-size: 16px;
}
.button { background: #fff; color: #000; font-weight: 600; }
.button-ghost { color: #fff; border: 1px solid var(--line); }

section { padding: 28px 0 8px; }
h2 { font-size: 28px; letter-spacing: -0.03em; margin: 0 0 8px; }
.section-note { color: var(--muted); margin: 0 0 18px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.02em; }
.card p, .prose p, .prose li { color: var(--muted); }
.card p { margin: 0; }
.step { color: var(--dim); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }

.price { font-size: 32px; letter-spacing: -0.04em; margin: 8px 0; }
.price span { font-size: 16px; color: var(--muted); letter-spacing: 0; }
.card .fine { margin-top: 12px; color: var(--dim); font-size: 13px; }

.prose { max-width: 680px; padding-bottom: 40px; }
.prose h1 { font-size: 42px; margin-bottom: 12px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17px; }
.prose ul { padding-left: 18px; }
.page-hero { padding-top: 18px; }

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; }
details p { margin: 8px 0 0; }

.footer { border-top: 1px solid var(--line); margin-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 32px; color: var(--dim); font-size: 14px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 16px; }

@media (max-width: 760px) {
  h1 { font-size: 40px; }
  .lede { font-size: 18px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
}
