:root {
  --forest: #0B1813;
  --forest-deep: #07110d;
  --forest-soft: #11241c;
  --gold: #B49755;
  --ivory: #ECE7DC;
  --muted: #9aa69f;
  --line: rgba(236, 231, 220, 0.12);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--forest);
  color: var(--ivory);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.page-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 clamp(24px, 5vw, 76px);
  background:
    radial-gradient(circle at 77% 28%, rgba(180, 151, 85, 0.07), transparent 31%),
    linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(236,231,220,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(236,231,220,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 80%);
}

.ambient {
  position: absolute;
  border: 1px solid rgba(180, 151, 85, 0.12);
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one { width: 460px; height: 460px; right: -210px; top: 15%; }
.ambient-two { width: 260px; height: 260px; right: -90px; top: calc(15% + 100px); }

.brand-bar,
.footer,
.hero { position: relative; z-index: 1; }

.brand-bar {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ivory);
  text-decoration: none;
  font: 500 13px/1 "DM Mono", monospace;
  letter-spacing: 0.24em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #91a098;
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: 0.16em;
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(180,151,85,.08);
}

.hero {
  width: min(860px, 100%);
  align-self: center;
  padding: clamp(70px, 11vh, 130px) 0 clamp(75px, 12vh, 140px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: 0.19em;
  margin-bottom: 28px;
}

.eyebrow span { width: 36px; height: 1px; background: var(--gold); }

h1 {
  margin: 0;
  max-width: 820px;
  font: 500 clamp(58px, 8vw, 108px)/0.93 "Playfair Display", serif;
  letter-spacing: -0.052em;
}

h1 em { color: var(--gold); font-style: italic; font-weight: 500; }

.hero-copy {
  max-width: 610px;
  margin: 34px 0 38px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.8;
}

.waitlist-form { max-width: 650px; }

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 62px;
  padding: 5px;
  border: 1px solid rgba(236, 231, 220, 0.18);
  background: rgba(255,255,255,0.035);
  border-radius: 8px;
  transition: border-color .2s ease, background .2s ease;
}

.input-row:focus-within {
  border-color: rgba(180,151,85,.72);
  background: rgba(255,255,255,.045);
}

input[type="email"] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  padding: 0 17px;
  font-size: 14px;
}

input[type="email"]::placeholder { color: #75837b; }

button {
  border: 0;
  border-radius: 5px;
  background: var(--gold);
  color: var(--forest);
  padding: 0 20px 0 23px;
  min-width: 186px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 600;
  font-size: 12px;
  transition: transform .16s ease, opacity .16s ease, background .16s ease;
}

button:hover { background: #c0a15f; }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: .68; }
button svg { width: 17px; height: 17px; }

.form-message {
  min-height: 20px;
  margin: 11px 0 0;
  font-size: 11px;
  color: #aeb9b2;
}

.form-message.success { color: #c8b37e; }
.form-message.error { color: #d89c95; }
.privacy-note { margin: 0; color: #637169; font-size: 9px; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #617068;
  font: 500 8px/1 "DM Mono", monospace;
  letter-spacing: .14em;
}

.footer > span:last-child { justify-self: end; }
.footer-mark { color: var(--gold); font-size: 7px; }

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

@media (max-width: 640px) {
  .page-shell { padding: 0 22px; }
  .brand-bar { min-height: 82px; }
  .hero { padding: 72px 0 90px; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-copy { margin-top: 27px; }
  .input-row { grid-template-columns: 1fr; gap: 5px; padding: 5px; }
  input[type="email"] { min-height: 52px; }
  button { min-height: 52px; width: 100%; }
  .footer { min-height: 68px; grid-template-columns: 1fr auto; }
  .footer-mark { display: none; }
  .status { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
