@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/Unbounded.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #efece4;
  --ink: #171512;
  --muted: #4f4a43;
  --line: #ddd6c8;
  --accent: #b42318;
  --sans: "Onest", "Segoe UI", sans-serif;
  --display: "Unbounded", "Onest", sans-serif;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, .btn { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--paper); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.accent-bar { height: 4px; background: var(--accent); }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.dot { color: var(--accent); }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0.75rem 0;
}
.wordmark {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.nav-desktop { display: none; gap: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.nav-desktop a:hover { color: var(--ink); }
.nav-mobile {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-mobile a { flex: none; padding: 0.25rem 0; }
.nav-mobile a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 0.75rem;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
  border: 0;
}
.btn-wide { height: 3rem; padding: 0 1.25rem; font-size: 1rem; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-label-full { display: none; }
.btn:disabled { opacity: 0.6; cursor: default; }

.hero {
  display: grid;
  gap: 2.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0;
}
.kicker { margin-top: 1rem; }
h1 { font-size: 2.25rem; max-width: 48rem; }
.lede { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; color: var(--muted); }
.sublede { margin-top: 1rem; max-width: 42rem; color: var(--muted); }
.form-sticky { position: static; }
.form, .ok {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 1.25rem;
}
.form h2, .ok h2 { font-size: 1.5rem; }
.form .hint { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.fields { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
label.field { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.875rem; }
label.field span { font-weight: 500; }
input[type="text"], input[type="tel"] {
  height: 3rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 0.75rem;
  font: inherit;
  font-size: 1rem;
}
input[type="tel"] { font-variant-numeric: tabular-nums; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; accent-color: var(--accent); flex: none; }
.consent a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.form-error { margin-top: 1rem; font-size: 0.875rem; color: var(--accent); }
.form .btn { width: 100%; margin-top: 1.25rem; height: 3rem; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }

.receipt { border: 1px solid var(--line); }
.receipt header, .receipt figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.receipt figcaption + .receipt-row { border-top: 0; }
.receipt-row strong { font-weight: 500; }
.nums { font-variant-numeric: tabular-nums; }
.receipt p { border-top: 1px solid var(--line); padding: 1rem 1.25rem; font-size: 0.875rem; color: var(--muted); }
.channels { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }

.section { border-top: 1px solid var(--line); }
.section-inner { width: min(100% - 2.5rem, var(--max)); margin: 0 auto; padding: 3.5rem 0; }
h2 { font-size: 1.875rem; max-width: 48rem; margin-top: 0.75rem; }
.section-lead { margin-top: 1.25rem; max-width: 42rem; color: var(--muted); }

.grid-gap {
  display: grid;
  gap: 1px;
  background: var(--line);
  margin-top: 2.5rem;
}
.tile { background: var(--paper); padding: 1.25rem; }
.num { font-family: var(--display); font-size: 0.875rem; color: var(--accent); }
.tile h3 { margin-top: 0.75rem; font-size: 1.5rem; }
.tile p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }

.pillars { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.pillars h3 { border-top: 2px solid var(--ink); padding-top: 1rem; font-size: 1.25rem; }
.pillars ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted); }

.steps { margin-top: 2.5rem; }
.steps .tile h3 { font-size: 1.25rem; }
.ink-note { margin-top: 1px; background: var(--ink); color: var(--paper); padding: 1.25rem; }

.split { display: grid; gap: 3rem; }
.split h2 { font-size: 1.875rem; }
.rules { margin: 1rem 0 0; padding: 0; list-style: none; }
.rules li { border-top: 1px solid var(--line); padding: 0.75rem 0; font-size: 0.875rem; line-height: 1.6; }
.panel-dark .rules li { border-top-color: rgba(239, 236, 228, 0.2); }

.cards { margin-top: 2rem; border: 1px solid var(--line); }
.cards article { border-top: 1px solid var(--line); padding: 1rem; }
.cards article:first-child { border-top: 0; }
.cards p { margin-top: 0.5rem; font-size: 0.875rem; }
.table-wrap { display: none; margin-top: 2rem; border: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; min-width: 48rem; }
th, td { padding: 0.75rem 1rem; border-top: 1px solid var(--line); font-weight: 500; }
thead th { background: var(--ink); color: var(--paper); border-top: 0; }
td.muted, th.row { font-weight: 500; }
td.muted { color: var(--muted); font-weight: 400; }

.launch { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.panel { border: 1px solid var(--line); padding: 1.25rem; }
.panel h3, .panel-dark h3 { font-size: 1.25rem; }
.panel-dark { background: var(--ink); color: var(--paper); padding: 1.25rem; }
.launch-steps { display: grid; gap: 2rem; margin-top: 3rem; list-style: none; padding: 0; }
.launch-steps h3 { margin-top: 0.5rem; font-size: 1.25rem; }
.launch-steps p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.cta { margin-top: 2.5rem; }

.footer { border-top: 1px solid var(--line); }
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer .wordmark { font-size: 1.125rem; color: var(--ink); }
.footer .wordmark + p { margin-top: 0.5rem; max-width: 28rem; }
.footer a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.legal {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.prose { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; color: var(--muted); }
.back { margin-top: 2.5rem; }

@media (min-width: 640px) {
  .wordmark { font-size: 1.125rem; }
  .btn { padding: 0 1rem; }
  .btn-label-short { display: none; }
  .btn-label-full { display: inline; }
  .grid-gap.two, .steps { grid-template-columns: 1fr 1fr; }
  .tile { padding: 1.5rem; }
  .form, .ok, .panel, .panel-dark { padding: 1.5rem; }
}
@media (min-width: 768px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 3rem; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .cards { display: none; }
  .table-wrap { display: block; }
  .launch-steps { grid-template-columns: 1fr 1fr 1fr; }
  .footer-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-side { text-align: right; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr 22.5rem; gap: 3rem; padding: 4rem 0; align-items: start; }
  .hero-copy, .hero-receipt { grid-column: 1 / span 2; }
  .hero-form { grid-column: 3; grid-row: 1 / span 2; }
  .form-sticky { position: sticky; top: 6rem; }
  .section-inner { padding: 5rem 0; }
  .pillars, .split, .launch { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
