:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #132a30;
  --muted: #4f676e;
  --line: #d4dfe0;
  --teal: #165d75;
  --cta: #78bf15;
  --cta-ink: #132a30;
  --green: #4f8a0c;
  --focus: #0f7ea3;
  --ok: #3b6e08;
  --bad: #b3261e;
  --glow: rgba(79, 138, 12, 0.14);
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1618; --surface: #152124; --ink: #e3eced; --muted: #9db2b6; --line: #26383c;
    --teal: #6fc3d8; --cta: #78bf15; --cta-ink: #0d1618; --green: #9fd35a; --focus: #6fc3d8; --ok: #9fd35a; --bad: #ff8585;
    --glow: rgba(159, 211, 90, 0.10);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--body);
  background-image: radial-gradient(60rem 30rem at 85% -10%, var(--glow), transparent 70%);
  background-repeat: no-repeat;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.top, main, .foot { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .top, main, .foot { padding-inline: 32px; } }

.top { padding-block: 20px; }
.brand img { display: block; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green);
  font: 700 14px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }

.hero { display: grid; gap: 40px; align-items: center; padding-block: 24px 56px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); padding-block: 48px 88px; } }
.hero-copy { display: grid; gap: 18px; max-width: 600px; }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; color: var(--ink); }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 56ch; }

.join { display: grid; gap: 12px; margin-top: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px; box-shadow: 0 1px 2px rgba(19, 42, 48, 0.06), 0 12px 32px rgba(19, 42, 48, 0.06); }
@media (min-width: 560px) { .join { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .join button, .join .fine, .join .status { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-size: 14px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
input, select {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; min-height: 48px; width: 100%; min-width: 0;
}
input[aria-invalid="true"] { border-color: var(--bad); }
button {
  font: 600 17px/1 var(--display); color: var(--cta-ink); background: var(--cta); border: 0; border-radius: 10px;
  min-height: 52px; padding: 0 22px; cursor: pointer; transition: transform 0.12s ease, filter 0.12s ease;
}
button:hover:not(:disabled) { filter: brightness(1.08); }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { cursor: default; opacity: 0.75; }
.join.done button { background: var(--cta); opacity: 1; }
.fine { font-size: 13px; color: var(--muted); }
.status { font-size: 15px; font-weight: 600; min-height: 1.2em; }
.status.ok { color: var(--ok); }
.status.error { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* A phone mid-broadcast, drawn in CSS. */
.hero-art { display: grid; place-items: center; }
.phone { width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 12px; background: #0e1c20;
  box-shadow: 0 30px 60px rgba(19, 42, 48, 0.25), inset 0 0 0 2px #25393e; transform: rotate(3deg); }
.screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(160deg, #165d75 0%, #124c60 45%, #78bf15 130%); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live { position: absolute; top: 18px; left: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  background: #b3261e; color: #fff; font: 700 12px/1 var(--body); letter-spacing: 0.1em; padding: 6px 10px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } button { transition: none; } }
.show-title { position: absolute; top: 20px; right: 14px; z-index: 1; margin: 0; max-width: 60%; text-align: right;
  font: 600 11px/1.3 var(--body); color: #e3eced; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.chat { position: absolute; left: 12px; right: 44px; bottom: 64px; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.chat li { justify-self: start; max-width: 100%; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 12px; line-height: 1.3;
  padding: 6px 10px; border-radius: 12px; backdrop-filter: blur(2px); animation: chatIn 9s ease-in-out infinite; }
.chat li b { color: #9fd35a; font-weight: 700; margin-right: 4px; }
.chat li:nth-child(2) { animation-delay: 1.2s; }
.chat li:nth-child(3) { animation-delay: 2.4s; }
@keyframes chatIn { 0%, 8% { opacity: 0; transform: translateY(6px); } 14%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hearts { position: absolute; right: 14px; bottom: 70px; z-index: 1; width: 24px; height: 120px; }
.hearts span { position: absolute; bottom: 0; left: 4px; color: #ff6b81; font-size: 18px; opacity: 0; animation: float 4.5s ease-in infinite; }
.hearts span:nth-child(2) { animation-delay: 1.5s; color: #9fd35a; left: 0; }
.hearts span:nth-child(3) { animation-delay: 3s; left: 8px; }
@keyframes float { 0% { opacity: 0; transform: translateY(0) scale(0.8); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-110px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .chat li { animation: none; } .hearts span { animation: none; opacity: 0.9; } .hearts span:nth-child(2) { transform: translateY(-40px); } .hearts span:nth-child(3) { transform: translateY(-80px); } }
.viewers { position: absolute; bottom: 20px; left: 16px; right: 16px; z-index: 1; display: flex; align-items: center; gap: 4px;
  background: rgba(0, 0, 0, 0.35); border-radius: 999px; padding: 8px 12px; color: #fff; font-size: 13px; }
.viewers span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0e1c20; margin-left: -8px; background: #9fd35a; }
.viewers span:first-child { margin-left: 0; background: #6fc3d8; }
.viewers span:nth-child(3) { background: #f0b45a; }
.viewers b { margin-left: 8px; font-weight: 600; }

.features, .for { padding-block: 40px; border-top: 1px solid var(--line); }
.features h2, .for h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 24px; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 720px) { .features ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.features h3 { font-size: 18px; margin-bottom: 6px; }
.features li { border-top: 3px solid var(--green); padding-top: 14px; }
.features p { color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; }

.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 28px 40px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; padding-block: 24px 64px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
