:root {
  --ink: 237 231 214;
  --ink-soft: 200 194 172;
  --ink-muted: 138 133 115;
  --brand-400: 158 174 96;
  --brand-500: 138 154 78;
  --brand-700: 176 190 118;
  --gold-ink: #c7b183;
  --surface-border: rgba(237, 231, 214, 0.10);
  --font-brand: "Julius Sans One", "Outfit", system-ui, sans-serif;
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html { margin: 0; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: rgb(var(--ink));
  background-color: #0a0a0a;
  background-image:
    radial-gradient(52% 38% at 30% -10%, rgba(138, 154, 78, 0.10), transparent 62%),
    linear-gradient(180deg, #0e0e09 0%, #0a0a0a 44%, #080807 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a:focus-visible {
  outline: 2px solid rgb(var(--brand-500));
  outline-offset: 3px;
}

.top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 76px;
  padding: 0 clamp(18px, 2.2vw, 30px);
  flex: none;
}
.top img { height: 32px; width: 32px; object-fit: contain; flex: none; }
.top .home {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.wordmark {
  font-family: var(--font-brand);
  font-size: 19px;
  letter-spacing: .34em;
  margin-right: -.34em;
  text-transform: uppercase;
  color: rgb(var(--ink));
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage {
  width: 100%;
  min-height: min(68vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vh, 72px) clamp(18px, 4vw, 40px);
}
.hero {
  width: 100%;
  max-width: 940px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.eyebrow {
  font-family: var(--font-brand);
  font-size: 10px;
  letter-spacing: .34em;
  margin-right: -.34em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(32px, 7.6vw, 88px);
  line-height: 1.1;
  letter-spacing: .04em;
  text-wrap: balance;
}
h1 span { color: rgb(var(--brand-400)); }

.sub {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.9vw, 20px);
  line-height: 1.6;
  color: rgb(var(--ink-soft));
  text-wrap: pretty;
}

.status {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 420px);
  margin-top: 12px;
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgb(var(--ink-muted));
  white-space: nowrap;
}
.status::before, .status::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: var(--surface-border);
}
.status b {
  font-weight: 400;
  color: rgb(var(--ink));
  margin-right: -.34em;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  margin-top: 4px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #0f120a;
  background: rgb(var(--brand-500));
  transition: background .2s ease, transform .2s ease;
}
.cta:hover { background: rgb(var(--brand-400)); }
.cta:active { transform: translateY(1px); }

.join {
  width: min(100%, 560px);
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.join .field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 99px;
  border: 1px solid rgba(237, 231, 214, 0.14);
  background:
    linear-gradient(180deg, rgba(237, 231, 214, 0.07), rgba(237, 231, 214, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(237, 231, 214, 0.06),
    0 18px 50px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.join .field:focus-within {
  border-color: rgba(138, 154, 78, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(237, 231, 214, 0.06),
    0 0 0 5px rgba(138, 154, 78, 0.12),
    0 18px 50px -20px rgba(0, 0, 0, 0.8);
}
.join input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 14px 0 22px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 17px;
  color: rgb(var(--ink));
}
.join input[type="email"]::placeholder { color: rgb(var(--ink-muted)); }
.join input[type="email"]:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.join button {
  flex: none;
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #0f120a;
  background: linear-gradient(180deg, rgb(var(--brand-400)), rgb(var(--brand-500)));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px -10px rgba(138, 154, 78, 0.65);
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.join button:hover { filter: brightness(1.06); }
.join button:active { transform: translateY(1px); }
.join button:focus-visible {
  outline: 2px solid rgb(var(--brand-500));
  outline-offset: 3px;
}
.join .note {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgb(var(--ink-muted));
  text-wrap: pretty;
}
.join .note a {
  color: rgb(var(--ink-soft));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.join .note a:hover { color: rgb(var(--ink)); }
.join-after {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgb(var(--ink-muted));
}
.join-after a {
  color: rgb(var(--ink-soft));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.join-after a:hover { color: rgb(var(--ink)); }
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.about {
  width: 100%;
  max-width: 760px;
  padding: clamp(32px, 6vh, 64px) clamp(18px, 4vw, 40px) clamp(56px, 9vh, 96px);
  text-align: center;
}
.about h2 {
  margin: 0 0 22px;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.2;
  letter-spacing: .06em;
}
.about p {
  margin: 0 auto 16px;
  max-width: 60ch;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.7;
  color: rgb(var(--ink-soft));
  text-wrap: pretty;
}
.about p:last-child { margin-bottom: 0; }
.about a, .doc a {
  color: rgb(var(--brand-700));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.about a:hover, .doc a:hover { color: rgb(var(--brand-400)); }

.doc {
  width: 100%;
  max-width: 720px;
  padding: clamp(24px, 6vh, 64px) clamp(18px, 4vw, 40px) clamp(56px, 9vh, 96px);
  overflow-wrap: anywhere;
}
.doc .eyebrow { display: block; margin-bottom: 14px; margin-right: 0; }
.doc h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 12px;
}
.doc .meta {
  margin: 0 0 36px;
  font-size: 13px;
  color: rgb(var(--ink-muted));
}
.doc h2 {
  margin: 36px 0 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: rgb(var(--ink));
}
.doc p, .doc li {
  font-size: 16px;
  line-height: 1.7;
  color: rgb(var(--ink-soft));
}
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc strong { font-weight: 600; color: rgb(var(--ink)); }

.foot {
  flex: none;
  padding: 22px clamp(18px, 2.2vw, 30px) calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--surface-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 28px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgb(var(--ink-muted));
}
.foot p { margin: 0; }
.foot .legal span, .foot .links a { display: inline-block; }
.foot .legal span + span::before, .foot .links a + a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 12px;
  background: var(--surface-border);
  vertical-align: middle;
}
.foot a { color: rgb(var(--ink-soft)); text-decoration: none; }
.foot a:hover { color: rgb(var(--ink)); }

@keyframes gRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero > * { animation: gRise .6s cubic-bezier(.22, 1, .36, 1) both; }
.hero > *:nth-child(2) { animation-delay: .06s; }
.hero > *:nth-child(3) { animation-delay: .12s; }
.hero > *:nth-child(4) { animation-delay: .20s; }
.hero > *:nth-child(5) { animation-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
  .hero > * { animation: none; }
  .cta, .join button, .join .field { transition: none; }
}

@media (max-width: 480px) {
  .join .field { flex-direction: column; align-items: stretch; border-radius: 30px; padding: 8px; }
  .join input[type="email"] { text-align: center; padding: 0 16px; }
  .join button { width: 100%; }
}

@media (max-width: 560px) {
  .foot { flex-direction: column; align-items: flex-start; }
  .foot .legal span, .foot .links a { display: block; }
  .foot .legal span + span::before, .foot .links a + a::before { display: none; }
}
