:root {
  color-scheme: dark;
  --text: #f4f2ec;
  --muted: #c9c4b8;
  --dim: #908b80;
  --line: rgba(244, 242, 236, 0.24);
  --field: rgba(14, 16, 15, 0.72);
  --accent: #d8b46a;
  --accent-strong: #f1cf83;
  --error: #ff9e8f;
  --success: #a7dfb5;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0b0d0c;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
  background: #080a09;
}

.hero::before {
  position: absolute;
  inset: -6px;
  z-index: 0;
  background: url("/images/forest-hero.png") center / cover no-repeat;
  content: "";
  filter: saturate(0.58) contrast(0.86) brightness(0.76) blur(1.2px);
  transform: scale(1.012);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 8, 7, 0.94) 0%, rgba(8, 9, 8, 0.76) 42%, rgba(8, 9, 8, 0.38) 100%),
    radial-gradient(circle at 18% 52%, rgba(0, 0, 0, 0) 0%, rgba(3, 4, 4, 0.42) 68%);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  align-self: center;
  padding-block: 88px 132px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.tagline {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.08;
  font-weight: 650;
}

.intro {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.hero-actions a {
  border: 1px solid rgba(244, 242, 236, 0.28);
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
  padding: 11px 14px;
  text-decoration: none;
}

.hero-actions a:first-child {
  border-color: rgba(216, 180, 106, 0.74);
  background: var(--accent);
  color: #16120a;
}

.waitlist {
  max-width: 620px;
  margin-top: 42px;
}

.waitlist label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.waitlist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist input {
  min-width: 0;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  padding: 0 16px;
  outline: none;
}

.waitlist input::placeholder {
  color: var(--dim);
}

.waitlist input:focus,
.waitlist button:focus-visible,
.back-link:focus-visible,
.site-footer a:focus-visible,
.privacy a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.waitlist button {
  height: 52px;
  border: 1px solid rgba(216, 180, 106, 0.74);
  border-radius: 6px;
  background: var(--accent);
  color: #16120a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 20px;
}

.waitlist button:hover {
  background: var(--accent-strong);
}

.waitlist button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.waitlist__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.consent {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.site-footer {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(22px, 4vw, 44px);
  left: clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--text);
  text-decoration-color: rgba(244, 242, 236, 0.36);
  text-underline-offset: 4px;
}

.privacy-page {
  background: #0b0d0c;
}

.privacy {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 72px 0;
}

.privacy h1 {
  margin-top: 38px;
  font-size: clamp(3rem, 8vw, 6rem);
}

.privacy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.back-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero {
    padding: 22px;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(6, 8, 7, 0.92) 0%,
      rgba(8, 9, 8, 0.8) 54%,
      rgba(8, 9, 8, 0.62) 100%
    );
  }

  .hero__content {
    padding-block: 58px 164px;
  }

  h1 {
    font-size: clamp(3.8rem, 19vw, 5.6rem);
  }

  .waitlist__row {
    grid-template-columns: 1fr;
  }

  .waitlist button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
