:root {
  --brand: #862008;
  --brand-dark: #6a1906;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --line: #e7e2df;
  --bg: #ffffff;
  --bg-alt: #faf7f5;
  --radius: 10px;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand img {
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .btn {
  color: #fff;
}

@media (max-width: 640px) {
  .site-nav a:not(.btn) {
    display: none;
  }
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--brand-dark);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--bg-alt);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: default;
}

.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin-inline: auto;
}

.lede-center {
  text-align: center;
}

.hero h1 {
  max-width: 18ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.section h2 {
  max-width: 22ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

.founder-note {
  margin: 1rem 0 0;
  max-width: 62ch;
}

.founder-note blockquote {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--brand);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.founder-note figcaption {
  margin-top: 1rem;
  padding-left: 1.25rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.faq {
  margin-top: 2rem;
  max-width: 72ch;
}

.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.25rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.faq details p {
  color: var(--ink-soft);
  padding: 0 1.25rem 1rem;
  margin: 0;
}

.waitlist h2,
.waitlist .lede {
  text-align: center;
}

.waitlist h2 {
  max-width: none;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
}

.tab {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.panel.is-hidden {
  display: none;
}

.waitlist-form {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.waitlist-form .form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.waitlist-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.waitlist-form input {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}

.waitlist-form input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.waitlist-form input[aria-invalid="true"] {
  border-color: var(--brand);
}

.field-error {
  margin: -0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--brand);
}

.field-error:empty {
  display: none;
}

.waitlist-form.is-hidden {
  display: none;
}

.form-success {
  max-width: 460px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  outline: none;
  animation: success-in 0.28s ease-out both;
}

.form-success h3 {
  margin-bottom: 0.35rem;
}

.form-success p {
  margin: 0;
  color: var(--ink-soft);
}

.form-success .check {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success .check circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: check-draw 0.5s 0.08s ease-out forwards;
}

.form-success .check path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: check-draw 0.32s 0.42s ease-out forwards;
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-success,
  .form-success .check circle,
  .form-success .check path {
    animation: none;
  }
  .form-success .check circle,
  .form-success .check path {
    stroke-dashoffset: 0;
  }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  text-align: center;
  color: var(--ink-soft);
}

.form-status.is-error {
  color: var(--brand);
}

.fine {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

.legal {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  max-width: 72ch;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  scroll-margin-top: 5rem;
}

.legal h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
}

.legal ul {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal .toc {
  padding-left: 1.5rem;
  columns: 2 16rem;
  column-gap: 2rem;
}

.legal .toc li {
  margin-bottom: 0.25rem;
  break-inside: avoid;
}

.legal address {
  font-style: normal;
  margin-bottom: 1rem;
}

.legal .table-scroll {
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.legal thead th {
  background: var(--bg-alt);
}

.legal tbody tr:last-child td {
  border-bottom: 0;
}

.legal td.yes {
  font-weight: 600;
  color: var(--brand);
}

.legal td.no {
  color: var(--ink-soft);
}

.legal .attribution {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 2.5rem;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.footer-inner a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}
