:root {
  --green-950: #032d27;
  --green-900: #064e3b;
  --green-700: #047857;
  --green-500: #10b981;
  --earth-gold: #d9a43b;
  --mint: #d1fae5;
  --white: #ffffff;
  --ink: #071b18;
  --muted: #cbd5d1;
  --line: rgba(255, 255, 255, 0.25);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-width: 320px; background: var(--green-950); color: var(--white); font-family: var(--font); letter-spacing: 0; }
button, input { font: inherit; }

.launch {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px 6vw;
  background-image: url("assets/hero-premium.jpg");
  background-position: center 58%;
  background-size: cover;
}

.launch-shade { position: absolute; inset: 0; z-index: -2; background: rgba(2, 33, 28, 0.76); }
.launch-header, .launch-footer {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 150px;
  height: 95px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border: 0;
}
.brand img { width: 150px; height: auto; display: block; }
.launch-date { margin: 0; color: var(--muted); font-size: 0.84rem; text-transform: uppercase; }
.launch-date strong { display: inline-block; margin-left: 8px; color: var(--earth-gold); font-size: 0.94rem; }

.launch-content { width: min(1240px, 100%); margin: auto; padding-block: 48px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--mint); font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.eyebrow span { width: 44px; height: 3px; background: var(--earth-gold); }
h1 { max-width: 920px; margin: 0; font-size: 5.6rem; line-height: 0.98; font-weight: 800; letter-spacing: 0; }
.lead { max-width: 720px; margin: 28px 0 0; color: #e3ebe8; font-size: 1.25rem; line-height: 1.55; }
.pressure { margin: 18px 0 0; color: var(--mint); font-weight: 700; font-size: 1rem; }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(76px, 116px)); gap: 1px; width: fit-content; margin-top: 36px; background: var(--line); border: 1px solid var(--line); }
.countdown-unit { min-height: 92px; padding: 14px 12px; display: flex; flex-direction: column; justify-content: center; background: rgba(3, 45, 39, 0.86); }
.countdown-unit strong { font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-unit span { margin-top: 8px; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }

.waitlist { width: min(680px, 100%); margin-top: 32px; }
.waitlist label { display: block; margin-bottom: 12px; font-size: 0.92rem; font-weight: 700; }
.waitlist-fields { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.waitlist input[type="email"] { width: 100%; min-height: 58px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.68); border-right: 0; border-radius: 0; outline: 0; background: rgba(255,255,255,0.96); color: var(--ink); }
.waitlist input[type="email"]:focus { box-shadow: inset 0 0 0 3px rgba(16, 185, 129, 0.28); }
.waitlist button { min-height: 58px; padding: 0 24px; border: 1px solid var(--green-500); border-radius: 0; background: var(--green-500); color: var(--green-950); font-weight: 800; cursor: pointer; }
.waitlist button:hover { background: #34d399; }
.waitlist button:disabled { cursor: wait; opacity: 0.68; }
.marketing-consent { display: flex !important; align-items: flex-start; gap: 10px; margin: 13px 0 0 !important; color: #e3ebe8; font-size: 0.78rem !important; font-weight: 500 !important; line-height: 1.45; cursor: pointer; }
.marketing-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--earth-gold); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { min-height: 22px; margin: 10px 0 0; color: var(--mint); font-size: 0.9rem; font-weight: 700; }
.form-status.error { color: #fecaca; }
.form-note { margin: 4px 0 0; color: var(--muted); font-size: 0.76rem; }
.form-note a { color: #ffffff; text-underline-offset: 2px; }

.launch-footer { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; }
.launch-footer p { margin: 0; }
.launch-footer p:first-child { color: var(--white); font-weight: 800; }

.secret-access-trigger {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: default;
}
.secret-access-trigger:focus-visible { opacity: 1; outline: 2px solid var(--mint); outline-offset: -5px; }
.secret-dialog[hidden] { display: none; }
.secret-dialog { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.secret-dialog-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 18, 16, 0.78); backdrop-filter: blur(4px); cursor: default; }
.secret-dialog-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid rgba(167, 243, 208, 0.35);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}
.secret-dialog-panel h2 { margin: 4px 0 8px; font-size: 1.65rem; }
.secret-dialog-panel > p:not(.secret-dialog-kicker) { margin: 0 0 22px; color: #52637a; line-height: 1.55; }
.secret-dialog-kicker { margin: 0; color: #047857; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.secret-dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: #52637a; font-size: 1.6rem; cursor: pointer; }
.secret-dialog-panel label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 700; }
.secret-dialog-panel input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; color: var(--ink); }
.secret-dialog-panel input:focus { border-color: #059669; outline: 3px solid rgba(5, 150, 105, 0.18); }
.secret-dialog-error { min-height: 22px; margin: 8px 0 4px; color: #b91c1c; font-size: 0.84rem; font-weight: 700; }
.secret-dialog-submit { width: 100%; min-height: 48px; border: 0; border-radius: 6px; background: #07866f; color: #ffffff; font-weight: 800; cursor: pointer; }
.secret-dialog-submit:hover { background: #066b5a; }

@media (max-width: 700px) {
  .launch { padding: 18px; }
  .launch-header { align-items: flex-start; }
  .brand { width: 112px; height: 71px; }
  .brand img { width: 112px; }
  .launch-date { max-width: 160px; text-align: right; }
  .launch-date strong { display: block; margin: 5px 0 0; }
  .launch-content { padding-block: 42px; }
  h1 { font-size: 3.15rem; }
  .lead { font-size: 1.05rem; }
  .lead { margin-top: 22px; }
  .countdown { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .countdown-unit { min-width: 0; min-height: 78px; padding-inline: 6px; }
  .countdown-unit span { font-size: 0.6rem; }
  .waitlist-fields { grid-template-columns: 1fr; gap: 10px; }
  .waitlist input[type="email"] { border-right: 1px solid rgba(255,255,255,0.68); }
  .launch-footer { align-items: flex-start; }
  .launch-footer p:last-child { max-width: 210px; text-align: right; }
  .secret-dialog-panel { padding: 26px 22px 22px; }
}

@media (max-height: 760px) and (min-width: 701px) {
  .launch-content { padding-block: 28px; }
  h1 { font-size: 4.4rem; }
  .lead { margin-top: 18px; }
  .countdown, .waitlist { margin-top: 24px; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.65rem; }
  .eyebrow { font-size: 0.72rem; }
}

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