/* ============================================================
   GoodName.Today — Stylesheet
   Permanent. Never needs to change for daily domain updates.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink:         #0E0E12;
  --ink-2:       #16151c;
  --paper:       #F5F3EF;
  --muted:       #8A8794;
  --muted-2:     #5d5a66;
  --amber:       #FF8A3D;
  --magenta:     #FF4D8D;
  --cyan:        #3DDBFF;
  --line:        rgba(245, 243, 239, 0.10);
  --line-strong: rgba(245, 243, 239, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Ambient grain overlay ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* ---------- Page wrapper ---------- */
.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  z-index: 2;
  width: 100%;
  max-width: 100vw;
}

/* ---------- Animated glow mesh ---------- */
.glow-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow-field span {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  will-change: transform;
}

.glow-1 {
  width: 48vw; height: 48vw;
  background: var(--amber);
  top: -12%; left: -8%;
  animation: drift1 22s ease-in-out infinite alternate;
}

.glow-2 {
  width: 40vw; height: 40vw;
  background: var(--magenta);
  bottom: -15%; right: -10%;
  animation: drift2 26s ease-in-out infinite alternate;
}

.glow-3 {
  width: 30vw; height: 30vw;
  background: var(--cyan);
  top: 35%; right: 18%;
  opacity: 0.20;
  animation: drift3 30s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vw, 8vh) scale(1.15); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-7vw, -6vh) scale(1.1); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4vw, 5vh) scale(0.9); }
}

/* ---------- Top bar ---------- */
.topbar {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 0;
  gap: 16px;
}

.site-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.brand .b-name {
  color: var(--paper);
  font-weight: 500;
}

.brand .b-tld {
  font-style: italic;
  background: linear-gradient(100deg, var(--amber), var(--magenta) 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.date-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  background: rgba(245, 243, 239, 0.04);
  padding: 7px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- Description strip ---------- */
.desc-strip {
  width: 100%;
  max-width: 1100px;
  margin-top: 18px;
  padding: 11px 20px;
  border-radius: 10px;
  background: rgba(245, 243, 239, 0.04);
  border: 0.5px solid rgba(245, 243, 239, 0.09);
  font-size: 13px;
  color: rgba(245, 243, 239, 0.48);
  text-align: center;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.desc-strip em {
  font-style: normal;
  color: rgba(245, 243, 239, 0.65);
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  max-width: 1100px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 60px;
}

/* Availability status line */
.status-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 36px;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-line .typed {
  border-right: 2px solid var(--cyan);
  padding-right: 4px;
  white-space: nowrap;
  overflow: hidden;
  animation: caret 0.8s step-end infinite;
}

@keyframes caret {
  0%, 100% { border-color: var(--cyan); }
  50%       { border-color: transparent; }
}

.status-line.done .typed {
  animation: none;
  border-color: transparent;
}

.status-tick {
  color: #5BE38C;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.status-tick.show {
  opacity: 1;
  transform: translateY(0);
}

/* Domain name headline */
.domain-wrap {
  position: relative;
  padding: 8px 0;
  width: 100%;
  max-width: 100%;
}

.domain {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(32px, 8.5vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(.22, 1, .36, 1) 0.5s forwards;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Domain name colour splits */
.domain .part1 {
  background: linear-gradient(100deg, var(--paper) 30%, var(--amber) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.domain .part2 {
  color: var(--paper);
}

.domain .tld {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--amber), var(--magenta) 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tagline */
.tagline {
  margin-top: 30px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(245, 243, 239, 0.82);
  max-width: 560px;
  line-height: 1.55;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tagline em {
  font-style: normal;
  color: var(--paper);
  font-weight: 700;
}

/* ---------- Vote buttons ---------- */
.vote-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.0s forwards;
}

.vote-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: rgba(245, 243, 239, 0.04);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.vote-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.vote-btn:hover {
  background: rgba(245, 243, 239, 0.08);
  color: var(--paper);
  border-color: rgba(245, 243, 239, 0.3);
  transform: translateY(-1px);
}

.vote-btn:active {
  transform: translateY(0);
}

/* Voted states */
.vote-btn.voted-up {
  background: rgba(91, 227, 140, 0.12);
  border-color: rgba(91, 227, 140, 0.4);
  color: #5BE38C;
  cursor: default;
}

.vote-btn.voted-down {
  background: rgba(255, 77, 141, 0.12);
  border-color: rgba(255, 77, 141, 0.4);
  color: var(--magenta);
  cursor: default;
}

.vote-btn.voted-up:hover,
.vote-btn.voted-down:hover {
  transform: none;
}

/* Disabled after voting */
.vote-btn.disabled {
  cursor: default;
  opacity: 0.5;
}

.vote-btn.disabled:hover {
  transform: none;
  background: rgba(245, 243, 239, 0.04);
  color: var(--muted);
  border-color: var(--line-strong);
}

/* Skip animation */
@keyframes domainSkip {
  0%   { opacity: 1; transform: translateY(0); }
  50%  { opacity: 0; transform: translateY(-12px); }
  51%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.domain.skipping {
  animation: domainSkip 0.6s ease forwards;
}

/* Mobile */
@media (max-width: 480px) {
  .vote-row {
    gap: 10px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .vote-label {
    display: block;
    width: 100%;
    text-align: center;
    order: -1;
    margin-bottom: 4px;
  }
  .vote-btn {
    padding: 12px 22px;
    font-size: 15px;
    min-height: 48px;    /* iOS minimum touch target */
    min-width: 80px;
    flex: 1;
    justify-content: center;
    max-width: 140px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .vote-btn svg {
    width: 17px;
    height: 17px;
  }
}

/* ---------- CTA button ---------- */
.cta-row {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  background: linear-gradient(100deg, var(--amber), var(--magenta));
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px -8px rgba(255, 77, 141, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px -8px rgba(255, 77, 141, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta:active {
  transform: translateY(0) scale(0.99);
}

.cta svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.cta-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

/* ---------- Domain stats strip ---------- */
.meta-row {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding: 28px 24px 0;
  width: 100%;
  max-width: 680px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.3s forwards;
  background: rgba(14, 14, 18, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.meta-item {
  flex: 1;
  min-width: 140px;
  padding: 0 20px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.meta-item:last-child {
  border-right: none;
}

.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.55);
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.meta-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.meta-value.accent {
  color: var(--cyan);
}

/* ---------- Footer ---------- */
.footer {
  width: 100%;
  max-width: 1100px;
  padding: 28px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(245, 243, 239, 0.55);
  letter-spacing: 0.03em;
}

.footer a {
  color: rgba(245, 243, 239, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--paper);
}

/* Make Past picks and Contact links both pill-styled */
.footer a#archiveLink, .footer a#contactLink, .footer a#todayLink {
  color: var(--paper);
  border: 1px solid rgba(245, 243, 239, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(245, 243, 239, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
  font-weight: 500;
}
.footer a#archiveLink:hover, .footer a#contactLink:hover, .footer a#todayLink:hover {
  background: rgba(245, 243, 239, 0.15);
  border-color: rgba(245, 243, 239, 0.5);
  color: var(--paper);
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* ---------- Registered banner ---------- */
.registered-banner {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 77, 141, 0.3);
  background: rgba(255, 77, 141, 0.08);
  backdrop-filter: blur(8px);
  max-width: 520px;
  width: 100%;
  animation: fadeUp 0.6s ease forwards;
}

.registered-banner.show {
  display: flex;
}

.registered-banner__icon {
  font-size: 20px;
  color: var(--magenta);
  flex-shrink: 0;
  line-height: 1;
}

.registered-banner__text {
  font-size: 14px;
  color: rgba(245, 243, 239, 0.75);
  line-height: 1.5;
}

.registered-banner__text strong {
  display: block;
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 2px;
}

/* Exhausted banner — amber instead of magenta */
.exhausted-banner {
  border-color: rgba(255, 138, 61, 0.3);
  background: rgba(255, 138, 61, 0.08);
}

.exhausted-banner .registered-banner__icon {
  color: var(--amber);
}

/* Status line registered state */
.status-line.is-registered .typed {
  color: var(--magenta);
  border-color: transparent;
  animation: none;
}

/* CTA row when domain is registered */
.cta-row.is-registered {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(0.6);
}

/* Status stat chip when registered */
.meta-value.accent.registered {
  color: var(--magenta);
}

/* Timer value — amber to feel live and urgent */
.meta-value.timer {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */

/* Tablets / large phones */
@media (max-width: 768px) {
  .site-tagline { display: none; }
  .domain  { font-size: clamp(30px, 11vw, 80px); }
  .hero    { padding: 60px 0 48px; }
  .tagline { font-size: clamp(15px, 3.5vw, 18px); max-width: 100%; }
  .cta     { padding: 15px 28px; font-size: 16px; }
}

/* Phones */
@media (max-width: 480px) {
  .topbar        { padding: 20px 0 0; gap: 8px; }
  .brand         { font-size: 12px; }
  .date-badge    { font-size: 10px; padding: 5px 10px; gap: 6px; }
  .date-badge::before { width: 5px; height: 5px; }

  .domain  { font-size: clamp(28px, 12.5vw, 60px); letter-spacing: -0.015em; line-height: 1.05; }
  .hero    { padding: 44px 0 40px; }

  .status-line   { font-size: 11px; margin-bottom: 24px; }
  .tagline       { font-size: 15px; margin-top: 22px; }

  .cta-row { margin-top: 32px; width: 100%; }
  .cta     { padding: 14px 24px; font-size: 15px; width: 100%; justify-content: center; }
  .cta-sub { font-size: 11px; }

  .meta-row  { margin-top: 36px; flex-direction: column; gap: 0; padding: 20px 16px; max-width: 100%; }
  .meta-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
  .meta-item:last-child  { border-bottom: none; padding-bottom: 0; }
  .meta-item:first-child { padding-top: 0; }
  .meta-label { margin-bottom: 0; }

  .footer { flex-direction: column; text-align: center; padding: 22px 0 28px; gap: 12px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .domain    { font-size: clamp(24px, 13vw, 48px); }
  .topbar    { flex-direction: column; align-items: flex-start; gap: 12px; }
  .desc-strip { display: none; }
}

/* Accessibility — reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .glow-field span { animation: none; }
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- Newsletter Footer Link (Notification Style) ---------- */
.footer a#newsletterLink {
  position: relative;
  color: var(--cyan);
  border: 1px solid rgba(61, 219, 255, 0.3);
  padding: 6px 14px 6px 26px; /* Extra left padding to make room for the dot */
  border-radius: 100px;
  background: rgba(61, 219, 255, 0.08);
  transition: all 0.2s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.footer a#newsletterLink:hover {
  background: rgba(61, 219, 255, 0.15);
  border-color: rgba(61, 219, 255, 0.6);
  color: var(--paper);
}

/* The glowing pulse dot */
.footer a#newsletterLink::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Waitlist Page & Form Refinements ---------- */
.waitlist-hero {
  max-width: 620px;
  margin: 0 auto;
  padding: 80px 0 60px;
}

.waitlist-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.waitlist-hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--amber), var(--magenta) 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Paragraph styled like index.html tagline */
.waitlist-hero p.waitlist-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(245, 243, 239, 0.82);
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 540px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Monospace tag highlight inside paragraph */
.waitlist-hero p.waitlist-desc span.accent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  color: var(--cyan);
  background: rgba(61, 219, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(61, 219, 255, 0.25);
  white-space: nowrap;
}

.waitlist-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Monospace Input Field (Matches status line and tech identity) */
.email-input {
  width: 100%;
  padding: 16px 22px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: rgba(245, 243, 239, 0.04);
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.01em;
  outline: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.email-input::placeholder {
  color: rgba(245, 243, 239, 0.35);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.email-input:focus {
  border-color: var(--cyan);
  background: rgba(245, 243, 239, 0.07);
  box-shadow: 0 0 15px rgba(61, 219, 255, 0.15);
}

/* Button matching index.html primary CTA glow */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: linear-gradient(100deg, var(--amber), var(--magenta));
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 30px -8px rgba(255, 77, 141, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px -8px rgba(255, 77, 141, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
  transform: translateY(0) scale(0.99);
}

.submit-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-message {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.4s ease forwards;
}

.form-message.success {
  color: #5BE38C;
}

.form-message.error {
  color: var(--magenta);
}

/* Desktop layout alignment */
@media (min-width: 580px) {
  .waitlist-form {
    flex-direction: row;
    align-items: center;
  }
  .email-input {
    flex: 1;
  }
  .submit-btn {
    width: auto;
  }
}

/* ---------- Homepage Newsletter Promo ---------- */
.newsletter-promo {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(61, 219, 255, 0.04);
  border: 1px solid rgba(61, 219, 255, 0.15);
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.5s forwards; /* Fades in right after the stats */
  text-align: left;
  backdrop-filter: blur(6px);
}
.promo-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 2px;
}
.promo-text p {
  font-size: 13px;
  color: rgba(245, 243, 239, 0.6);
  line-height: 1.4;
}
.promo-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  background: rgba(245, 243, 239, 0.08);
  border: 1px solid rgba(245, 243, 239, 0.2);
  padding: 10px 18px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.promo-btn:hover {
  background: rgba(245, 243, 239, 0.15);
  border-color: rgba(245, 243, 239, 0.4);
}