@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #0b0d10;
  --panel: #12151a;
  --well: #0e1116;
  --line: #2a303b;
  --text: #e8eaef;
  --muted: #8b919c;
  --soft: #c4c8d0;
  --emerald: #34d399;
  --emerald-ink: #0b0d10;
  --emerald-dim: color-mix(in srgb, #34d399 16%, transparent);
  --warn: #d6a524;
  --error: #d64545;
  --ok: #3d8f5c;
  --shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  --radius: 1rem;
  --max: 68rem;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --launch-banner-height: 2.75rem;
  --site-header-height: calc(4.25rem + 1px + var(--launch-banner-height));
  --hero-padding-block: clamp(1.5rem, 10vh - 2.5rem, 4.5rem);
  --hero-padding-block: clamp(1.5rem, 10svh - 2.5rem, 4.5rem);
  --hero-video-gutter: 1.5rem;
  --video-card-chrome: 7.5rem;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ink: #f4f5f7;
    --panel: #ffffff;
    --well: #eef0f3;
    --line: #d5d8de;
    --text: #12151a;
    --muted: #5c6370;
    --soft: #3a404b;
    --emerald-ink: #0b0d10;
    --emerald-dim: color-mix(in srgb, #059669 12%, transparent);
    --shadow: 0 18px 40px rgb(18 21 26 / 0.08);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #f4f5f7;
  --panel: #ffffff;
  --well: #eef0f3;
  --line: #d5d8de;
  --text: #12151a;
  --muted: #5c6370;
  --soft: #3a404b;
  --emerald-ink: #0b0d10;
  --emerald-dim: color-mix(in srgb, #059669 12%, transparent);
  --shadow: 0 18px 40px rgb(18 21 26 / 0.08);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #0b0d10;
  --panel: #12151a;
  --well: #0e1116;
  --line: #2a303b;
  --text: #e8eaef;
  --muted: #8b919c;
  --soft: #c4c8d0;
  --emerald-ink: #0b0d10;
  --emerald-dim: color-mix(in srgb, #34d399 16%, transparent);
  --shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}

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

html {
  scroll-behavior: smooth;
}

#main,
#how,
#channels,
#pricing,
#roadmap,
#invite {
  scroll-margin-top: var(--site-header-height);
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(80rem 40rem at 10% -10%, color-mix(in srgb, var(--emerald) 14%, transparent), transparent 55%),
    radial-gradient(50rem 30rem at 100% 0%, color-mix(in srgb, #0a66c2 10%, transparent), transparent 50%),
    var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--emerald);
}

a:hover {
  color: color-mix(in srgb, var(--emerald) 80%, var(--text));
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--emerald);
  color: var(--emerald-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px);
}

.launch-banner {
  display: flex;
  align-items: center;
  min-height: var(--launch-banner-height);
  border-bottom: 1px solid color-mix(in srgb, var(--emerald) 35%, var(--line));
  background: var(--emerald-dim);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.launch-banner p {
  margin: 0.45rem auto;
}

.launch-banner a {
  font-weight: 600;
  text-decoration: none;
}

.launch-banner a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px);
}

.site-top .site-header {
  position: relative;
  top: auto;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.eyebrow {
  margin: 0;
  color: color-mix(in srgb, var(--emerald) 80%, var(--muted));
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand strong {
  font-size: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.icon-btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--emerald-ink);
}

.button-primary:hover {
  color: var(--emerald-ink);
  filter: brightness(1.05);
}

.button-ghost:hover,
.icon-btn:hover {
  border-color: color-mix(in srgb, var(--emerald) 40%, var(--line));
}

.icon-btn {
  width: 2.6rem;
  padding: 0;
}

.theme-icon {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
}

:root:not([data-theme="light"]) .theme-icon-to-light,
:root[data-theme="dark"] .theme-icon-to-light,
:root[data-theme="light"] .theme-icon-to-dark {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-icon-to-light {
    display: none;
  }
  :root:not([data-theme="dark"]) .theme-icon-to-dark {
    display: block;
  }
}

.hero {
  padding: var(--hero-padding-block) 0;
}

.section,
.legal {
  padding: 4.5rem 0;
}

.hero-grid,
.invite-grid {
  display: grid;
  gap: 2.4rem;
}

.hero-grid {
  align-items: center;
}

.hero h1,
.legal h1,
.section h2 {
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 14ch;
}

.lede,
.section-lede {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.pills li,
.chip {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.chip.soon {
  opacity: 0.7;
  border-style: dashed;
}

.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-self: center;
  width: min(22rem, 100%);
  max-width: 100%;
  max-height: calc(100vh - var(--site-header-height) - var(--hero-padding-block) - var(--hero-video-gutter));
  max-height: calc(100svh - var(--site-header-height) - var(--hero-padding-block) - var(--hero-video-gutter));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.video-card:not(.is-unmuted) {
  cursor: pointer;
}

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  width: min(
    100%,
    calc((100vh - var(--site-header-height) - var(--hero-padding-block) - var(--video-card-chrome) - var(--hero-video-gutter)) * 9 / 16)
  );
  width: min(
    100%,
    calc((100svh - var(--site-header-height) - var(--hero-padding-block) - var(--video-card-chrome) - var(--hero-video-gutter)) * 9 / 16)
  );
  height: auto;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0.85rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--emerald) 10%, var(--well)), var(--well));
  border: 1px solid var(--line);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--well);
}

.play {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--emerald);
  color: var(--emerald-ink);
  cursor: pointer;
}

.play:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.video-card.is-unmuted .play,
.play[hidden] {
  display: none;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.video-meta strong {
  display: block;
}

.video-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.badge {
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.section-head {
  margin-bottom: 2rem;
}

.kicker {
  margin: 0 0 0.45rem;
  color: color-mix(in srgb, var(--emerald) 80%, var(--muted));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.steps,
.features,
.pricing,
.roadmap {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.roadmap {
  gap: 1.5rem;
}

.roadmap-col {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
}

.roadmap-col > h3 {
  margin: 0;
  font-size: 1.15rem;
}

.roadmap-col ul {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.roadmap-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.roadmap-item h4 {
  margin: 0;
  font-size: 1.05rem;
}

.want-this {
  align-self: start;
  font-weight: 600;
  text-decoration: none;
}

.want-this:hover {
  text-decoration: underline;
}

.roadmap-col-lede,
.roadmap-empty {
  margin: -0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.roadmap-empty {
  margin: 0;
  font-style: italic;
}

.roadmap-item h4 a {
  color: inherit;
}

.roadmap-item-shipped h4::before {
  content: "✓ ";
  color: var(--emerald);
}

.roadmap-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.card h3,
.legal h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.card p,
.legal p,
.legal li {
  margin: 0;
  color: var(--soft);
}

.card p + p,
.legal p + p,
.legal ul,
.legal ol {
  margin-top: 0.85rem;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.price {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.early {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--emerald-dim);
  color: color-mix(in srgb, var(--emerald) 70%, var(--text));
  font-size: 0.75rem;
  font-weight: 600;
}

.featured {
  border-color: color-mix(in srgb, var(--emerald) 45%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--emerald) 20%, transparent);
}

.hero-secondary {
  margin: -0.5rem 0 1.5rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.channel-card {
  min-width: 0;
}

.channel-card:not(.channel-live) h3 {
  color: var(--soft);
}

.channel-live {
  border-color: color-mix(in srgb, var(--emerald) 45%, var(--line));
}

.channel-status {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.channel-status-live {
  border: 0;
  background: var(--emerald-dim);
  color: color-mix(in srgb, var(--emerald) 70%, var(--text));
}

.pricing-note {
  margin: 1.25rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.invite-copy p {
  color: var(--soft);
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--well);
  color: var(--text);
  font: inherit;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--emerald);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.95rem;
}

.status[data-state="success"] {
  color: color-mix(in srgb, var(--emerald) 70%, var(--text));
}

.status[data-state="error"] {
  color: var(--error);
}

.status[data-state="info"] {
  color: var(--warn);
}

.form-note {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--well);
  color: var(--soft);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--soft);
  text-decoration: none;
}

.legal {
  max-width: 44rem;
}

.legal .updated {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.45rem;
}

.legal h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1rem;
}

@media (min-width: 800px) {
  .hero-grid,
  .invite-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .video-card {
    justify-self: end;
    align-self: center;
    width: auto;
    width: min(
      22rem,
      100%,
      calc((100vh - var(--site-header-height) - var(--hero-padding-block) - var(--video-card-chrome) - var(--hero-video-gutter)) * 9 / 16 + 2rem)
    );
    width: min(
      22rem,
      100%,
      calc((100svh - var(--site-header-height) - var(--hero-padding-block) - var(--video-card-chrome) - var(--hero-video-gutter)) * 9 / 16 + 2rem)
    );
  }

  .video-frame {
    width: 100%;
  }

  .steps,
  .pricing {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 800px) and (max-width: 1023px) {
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }
}

@media (max-width: 799px) {
  :root {
    --hero-padding-block: 3rem;
  }

  .video-card {
    width: min(22rem, 100%);
    max-height: none;
  }

  .video-frame {
    width: min(100%, calc(85vh * 9 / 16));
    width: min(100%, calc(85svh * 9 / 16));
  }

  .icon-btn.nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .button {
    min-height: 2.8rem;
  }

  .hero,
  .section,
  .legal {
    padding: 3rem 0;
  }

  .launch-banner {
    font-size: 0.88rem;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
