:root {
  color-scheme: light;
  --ink: #10251f;
  --muted: #5c6f68;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --teal: #0b6f64;
  --teal-dark: #064b45;
  --coral: #d9614c;
  --gold: #d9a441;
  --line: rgba(16, 37, 31, 0.14);
  --shadow: 0 24px 80px rgba(15, 42, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.nav-links {
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.88;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: #ffffff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(4, 42, 38, 0.18), rgba(4, 42, 38, 0.04)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=82")
      center/cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 31, 30, 0.84), rgba(3, 31, 30, 0.44) 52%, rgba(3, 31, 30, 0.12)),
    linear-gradient(0deg, rgba(247, 243, 236, 0.96), rgba(247, 243, 236, 0) 22%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 96px;
  padding-bottom: 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8.25rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.hero-cta,
.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #f09a5f);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(217, 97, 76, 0.34);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 24px;
}

.vision-section,
.join-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.vision-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  padding: 74px 0 34px;
}

.vision-section p:last-child,
.join-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 56px 0 86px;
}

.join-copy {
  position: sticky;
  top: 100px;
}

.lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lead-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(11, 111, 100, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 750;
}

.waitlist-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(16, 37, 31, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 13px 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 111, 100, 0.14);
}

.field-error {
  min-height: 18px;
  color: #a63728;
  font-size: 0.84rem;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  margin-top: 4px;
  padding: 0 22px;
  font-size: 1rem;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
  line-height: 1.45;
}

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

.site-footer {
  padding: 28px 18px 36px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 31, 30, 0.8), rgba(3, 31, 30, 0.3) 62%, rgba(247, 243, 236, 0.97)),
      linear-gradient(90deg, rgba(3, 31, 30, 0.64), rgba(3, 31, 30, 0.18));
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
    padding-bottom: 120px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

  .vision-section,
  .join-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .vision-section {
    padding-top: 54px;
  }

  .join-copy {
    position: static;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 700px;
  }

  .waitlist-form {
    padding: 18px;
  }
}
