@font-face {
  font-family: "Chakra Petch";
  src: url("/fonts/chakra-petch-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("/fonts/chakra-petch-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("/fonts/chakra-petch-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #07171b;
  --bg-glow: #0d2a31;
  --ink: #eaf6f8;
  --ink-dim: #9fc0c7;
  --teal-300: #4fc3d4;
  --teal-400: #1996a8;
  --teal-500: #127484;
  --line: rgba(79, 195, 212, 0.22);
}

* { box-sizing: border-box; margin: 0; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(1100px 600px at 50% -10%, var(--bg-glow), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: "Chakra Petch", system-ui, sans-serif;
  text-align: center;
}

.page {
  flex: 1;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 32px;
}

.wordmark { width: min(380px, 80vw); height: auto; margin-bottom: 40px; }

.headline {
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #fafdff, var(--teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--teal-300);
}

.blurb {
  margin: 26px 0 34px;
  max-width: 46ch;
  line-height: 1.65;
  color: var(--ink-dim);
}

.waitlist { display: flex; gap: 10px; width: 100%; }

.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(7, 23, 27, 0.6);
  color: var(--ink);
  font: inherit;
}
.waitlist input[type="email"]::placeholder { color: #5f7f86; }
.waitlist input[type="email"]:focus {
  outline: none;
  border-color: var(--teal-300);
  box-shadow: 0 0 0 3px rgba(79, 195, 212, 0.18);
}

.waitlist button {
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-500));
  color: #04181c;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.waitlist button:hover { filter: brightness(1.1); }
.waitlist button:disabled { opacity: 0.6; cursor: default; }

.form-message { min-height: 1.4em; margin-top: 14px; font-size: 0.95rem; }
.form-message--success { color: var(--teal-300); font-weight: 600; }
.form-message--error { color: #ff8f7a; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.yt-card {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 42, 49, 0.45);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.yt-card:hover { border-color: var(--teal-300); transform: translateY(-2px); }
.yt-icon { width: 34px; height: 34px; color: #ff4a3d; flex-shrink: 0; }
.yt-card span { display: flex; flex-direction: column; text-align: left; }
.yt-card strong { font-weight: 600; }
.yt-card small { color: var(--ink-dim); }

.footer {
  width: min(560px, 92vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.85rem;
}
.footer a { color: var(--teal-300); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .waitlist { flex-direction: column; }
  .waitlist button { width: 100%; }
}
