@font-face {
  font-family: "Plex Sans";
  src: url("fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("fonts/plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("fonts/plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #17191c;
  --ink: #f3f4f2;
  --muted: #c5c8c4;
  --line: #2c2f33;
  --btn: #f3f4f2;
  --btn-ink: #17191c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plex Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.45;
}
a { color: inherit; }

.bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.mark {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
}
.price {
  margin: 0;
  color: var(--muted);
}

.buy {
  display: inline-block;
  background: var(--btn);
  color: var(--btn-ink);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  cursor: pointer;
}
.buy:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.buy:active { transform: scale(0.98); }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 3rem;
  align-items: start;
}
.hero-copy { max-width: 38rem; }
.hero-copy p { margin: 1rem 0 0; color: var(--muted); }
.hero-copy .price { margin-top: 1.75rem; color: var(--ink); }
h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
}
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}
.sample {
  margin: 0;
  background: #f3f4f2;
  color: #17191c;
  padding: 1.25rem 1.25rem 1.4rem;
}
.sample figcaption {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.sample pre {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.wait { color: var(--ink); }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  h1 { max-width: 11em; }
}

@media (prefers-reduced-motion: reduce) {
  .buy:active { transform: none; }
}

.thanks {
  max-width: 1120px;
  min-height: calc(100dvh - 4rem);
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
}
.thanks h1 {
  max-width: 12em;
}
.thanks p {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
}
