:root {
  --fg: #1b1f2a;
  --muted: #5a6273;
  --accent: #4b3fc4;
  --accent-fg: #fff;
  --bg: #fff;
  --soft: #f5f5fa;
  --line: #e1e2ea;
  --ok: #17734a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e9eaf0;
    --muted: #a6abb9;
    --accent: #9d93ff;
    --accent-fg: #14121f;
    --bg: #13141a;
    --soft: #1c1d25;
    --line: #2d2f3a;
    --ok: #5fd39a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px / 1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--fg);
  background: var(--bg);
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  background: var(--bg);
  padding: 8px 12px;
  border: 2px solid var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topnav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  flex-wrap: wrap;
}
.topnav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.topnav a:hover {
  color: var(--accent);
}
.topnav .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.topnav .button {
  padding: 6px 14px;
  color: var(--accent-fg);
}
.topnav .button:hover {
  color: var(--accent-fg);
}
@media (max-width: 600px) {
  .topnav .wrap {
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .topnav a {
    font-size: 14px;
    white-space: nowrap;
  }
  .topnav .brand span,
  .topnav .button span {
    display: none;
  }
}

.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
  align-items: center;
}
.hero-card {
  width: 260px;
  height: auto;
  display: block;
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none;
  }
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin: 0;
}
h1 {
  font-size: 42px;
  line-height: 1.12;
  margin: 8px 0 16px;
}
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }
}
h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 0 0 12px;
}
h3 {
  font-size: 18px;
  margin: 20px 0 6px;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
}
.small,
.fine {
  font-size: 14px;
  color: var(--muted);
}
.page-head {
  padding: 40px 0 8px;
}
.page-head h1 {
  font-size: 36px;
}

section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
section:last-child {
  border-bottom: 0;
}
:target,
section[id] {
  scroll-margin-top: 66px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 10px;
}
.button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  background: var(--bg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.button:hover {
  filter: brightness(1.08);
}

ol.flow {
  padding-left: 22px;
}
ol.flow li {
  margin: 8px 0;
}
ul.ticks {
  list-style: none;
  padding: 0;
}
ul.ticks li {
  padding-left: 26px;
  position: relative;
  margin: 6px 0;
}
ul.ticks li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--ok);
  font-weight: 700;
}

pre,
code {
  font:
    14px / 1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
code {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}
pre {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  overflow-x: auto;
}
pre code {
  background: none;
  border: 0;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 9px 8px;
  vertical-align: top;
}
th {
  font-weight: 600;
}
@media (max-width: 600px) {
  table.stack,
  table.stack tbody,
  table.stack tr,
  table.stack th,
  table.stack td {
    display: block;
    width: 100%;
  }
  table.stack tr:first-child {
    display: none;
  }
  table.stack th {
    border-bottom: none;
    padding-bottom: 0;
  }
  table.stack td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
  }
}

.note {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
}

/* Buy: one plain form per card value. No script; the form posts to /api/checkout. */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 760px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.card .value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}
.card .what {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.card label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.card select,
.card input[type="email"] {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
}
.card .button {
  width: 100%;
  text-align: center;
  margin-top: auto;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
details[open] summary {
  margin-bottom: 6px;
}

.footer {
  padding: 28px 0 40px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.footer p {
  margin: 6px 0;
}
img {
  max-width: 100%;
}
code {
  overflow-wrap: anywhere;
}
.hero-grid > *,
.card {
  min-width: 0;
}
