@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-600-normal.woff2") format("woff2");
}

:root {
  --forest: #0f2a1f;
  --gold: #e9b949;
  --cream: #f5f1e8;
  --deep-gold: #9a6f0e;
  --white: #ffffff;
  --focus: #e9b949;
  --radius: 12px;
  --container: 1120px;
  --prose: 720px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: Sora, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--forest);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

/* Text-heavy: 720px, left-aligned to container edge (not centered) */
.prose {
  max-width: var(--prose);
  margin-inline: 0;
}

.band-forest {
  background: var(--forest);
  color: var(--cream);
}

.band-forest a {
  color: var(--cream);
}

.band-cream {
  background: var(--cream);
  color: var(--forest);
}

.band-white {
  background: var(--white);
  color: var(--forest);
}

.site-header {
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 1.625rem; /* 26px mobile */
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--gold);
}

@media (max-width: 639px) {
  .nav > a:not(.btn) {
    display: none;
  }

  .site-header .nav > a.btn-gold {
    padding: 0.4rem 0.75rem;
    font-size: 0;
    line-height: 1;
  }

  .site-header .nav > a.btn-gold::before {
    content: "Join";
    font-size: 0.8125rem;
  }
}

@media (min-width: 640px) {
  .brand img {
    height: 2rem; /* 32px */
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-gold,
.band-forest .btn-gold {
  background: var(--gold);
  color: var(--forest);
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.05);
}

.hero {
  padding: 2.5rem 0 3.5rem;
}

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

.hero .lede {
  font-size: 1.1rem;
  max-width: 36rem;
  color: var(--cream);
}

.microcopy {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.75rem;
}

.waitlist-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 24rem;
}

.waitlist-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(245, 241, 232, 0.35);
  border-radius: 8px;
  background: rgba(15, 42, 31, 0.4);
  color: var(--cream);
  font: inherit;
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(245, 241, 232, 0.55);
}

.waitlist-form .cf-turnstile {
  margin-top: 0.25rem;
  min-height: 65px;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
  margin: 0;
}

.form-status.is-error {
  color: #ffb4a8;
}

.form-status.is-success {
  color: var(--gold);
}

.phone {
  justify-self: center;
  width: min(100%, 17.5rem);
  background: #163528;
  border: 3px solid rgba(233, 185, 73, 0.45);
  border-radius: 2rem;
  padding: 0.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.phone-notch {
  width: 5.5rem;
  height: 0.55rem;
  margin: 0.25rem auto 0.85rem;
  background: rgba(245, 241, 232, 0.15);
  border-radius: 999px;
}

.phone-screen {
  background: var(--cream);
  color: var(--forest);
  border-radius: 1.25rem;
  padding: 1.1rem 1rem 1.25rem;
  min-height: 18rem;
}

.phone-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1rem;
}

.phone-row {
  background: var(--white);
  border-radius: 10px;
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.65rem;
}

.phone-row-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.phone-row-value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--deep-gold);
}

.section {
  padding: 3.5rem 0;
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.features {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--deep-gold);
}

.features h3 {
  color: var(--deep-gold);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.privacy-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.privacy-list li {
  margin-bottom: 0.65rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(15, 42, 31, 0.12);
}

.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: #9a6f0e;
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
  color: #9a6f0e;
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
}

.closing {
  padding: 3.5rem 0;
  text-align: center;
}

.closing .waitlist-form {
  margin-inline: auto;
  text-align: left;
}

.site-footer {
  padding: 2rem 0;
  font-size: 0.95rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.page-main {
  padding: 2.5rem 0 4rem;
}

.page-main h1 {
  margin-bottom: 0.5rem;
}

.meta {
  color: var(--forest);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.page-main h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.page-main ul {
  padding-left: 1.25rem;
}

.page-main li {
  margin-bottom: 0.5rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .steps li {
    padding-left: 0;
    padding-top: 3rem;
  }

  .steps li::before {
    top: 0;
  }

  .features {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.35rem;
  }

  .features li:nth-child(1),
  .features li:nth-child(2) {
    grid-column: span 3;
    padding: 1.45rem 1.5rem;
  }

  .features li:nth-child(1) h3,
  .features li:nth-child(2) h3 {
    font-size: 1.4rem;
  }

  .features li:nth-child(n + 3) {
    grid-column: span 2;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
