:root {
  --bg: #f6f7f9;
  --bg-alt: #eef0f4;
  --surface: #ffffff;
  --text: #0f1419;
  --muted: #5c6670;
  --line: #d8dee4;
  --accent: #0d4f4f;
  --accent-hover: #0a3d3d;
  --radius: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(15, 20, 25, 0.06), 0 8px 24px rgba(15, 20, 25, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.shell {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.main {
  flex: 1;
  padding-block: 0 4rem;
}

.main--narrow {
  padding-top: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 249, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
}

.logo__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), #1a6b6b);
  box-shadow: var(--shadow);
}

.nav {
  margin-left: auto;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--active {
  color: var(--text);
}

.nav__cta {
  margin-left: 0.5rem;
}

.hero {
  padding-block: 3.5rem 2rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}

.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.diagram {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diagram__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.diagram__label {
  color: var(--muted);
}

.diagram__arrow {
  color: var(--line);
  text-align: center;
}

.diagram__pill {
  justify-self: end;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.8125rem;
  text-align: center;
}

.diagram__pill--hold {
  background: #fff8e6;
  border-color: #e8d48b;
}

.diagram__pill--ok {
  background: #e8f5f0;
  border-color: #9cc9b8;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip__inner {
  padding-block: 1rem;
}

.trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.section {
  padding-block: 3.5rem;
}

.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section__title {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards--tight {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .cards--tight {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(15, 20, 25, 0.04);
}

.section--alt .card {
  background: var(--bg);
}

.card__title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps__n {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.bullets {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.bullets li {
  margin-bottom: 0.5rem;
}

.fineprint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.section--cta {
  padding-block: 4rem;
}

.cta-panel {
  max-width: 480px;
  margin-inline: auto;
  text-align: center;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

@media (min-width: 520px) {
  .waitlist-form {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .waitlist-form .input {
    flex: 1 1 220px;
    min-width: 0;
  }

  .waitlist-form .btn {
    flex: 0 0 auto;
  }
}

.input {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
}

.input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.turnstile-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 0;
}

.waitlist-msg {
  min-height: 1.5rem;
  font-size: 0.875rem;
  margin: 0.75rem 0 0;
}

.waitlist-msg--ok {
  color: var(--accent);
}

.waitlist-msg--err {
  color: #b42318;
}

.prose h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.prose h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose ul {
  color: var(--muted);
}

.prose--legal p,
.prose--legal li {
  font-size: 0.9375rem;
}

.prose code {
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 2.5rem 1.5rem;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer__list a:hover {
  text-decoration: underline;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer__meta p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
