*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  background: var(--canvas);
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  min-height: 44px;
  border-radius: var(--radius-lockup);
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 1.25rem;
  background: rgb(232 240 246 / 86%);
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
}

html[data-theme="dark"] .site-header {
  background: rgb(11 28 44 / 86%);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: var(--radius-lockup);
  background: var(--lockup-plate);
}

.brand-lockup img {
  display: block;
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lockup);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--muted);
}

.btn-primary {
  color: var(--navy);
  background: var(--teal);
  border: 1px solid var(--teal);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.site-main {
  flex: 1 1 auto;
  min-height: 40vh;
}

.hidden {
  display: none !important;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  max-width: 18ch;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.1rem;
}

.trust {
  margin: 0 0 1.25rem;
  font-size: 12px;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}

.btn-text {
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.pins {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pins li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.pins img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 8px 24px rgb(11 28 44 / 16%);
}

.caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
  border-radius: var(--radius-panel);
  background: var(--surface);
  border: 1px solid var(--panel-border);
}

.card h3,
.card p {
  margin-top: 0;
}

.card .btn {
  margin-top: 0.5rem;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
}

.steps li {
  margin: 0.4rem 0;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.faq details {
  border-bottom: 1px solid var(--panel-border);
  padding: 0.6rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq details p {
  margin: 0.4rem 0 0.8rem;
  color: var(--muted);
}

.legal {
  max-width: 42rem;
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 24rem;
}

#waitlist-form label {
  font-weight: 600;
}

#waitlist-form input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius-lockup);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

#waitlist-form .check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

#waitlist-status {
  margin-top: 0.75rem;
  font-weight: 600;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 800px) {
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--panel-border);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 0.75rem;
    left: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: var(--radius-panel);
    background: var(--surface);
    border: 1px solid var(--panel-border);
    box-shadow: 0 12px 40px rgb(11 28 44 / 18%);
  }

  .site-nav.is-open {
    display: flex;
  }
}
