:root {
  color-scheme: light;
  --ink: #111820;
  --muted: #536170;
  --line: #d7dee7;
  --paper: #f4f6f8;
  --panel: #ffffff;
  --accent: #0f6b57;
  --accent-strong: #0a4d40;
  --blue: #174ea6;
  --dark: #17212b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 72px;
  border-bottom: 1px solid rgba(215, 222, 231, 0.9);
  background: rgba(244, 246, 248, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  font-size: 20px;
  font-weight: 780;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

main {
  display: grid;
  gap: 0;
}

.hero {
  min-height: auto;
  align-content: start;
  padding: 22px 72px 28px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: keep-all;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.lede,
.section p,
.compact p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.lede {
  max-width: 680px;
  margin: 18px 0 0;
}

.secondary-lede {
  margin-top: 12px;
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
}

.button.primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.section {
  padding: 42px 72px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: #101820;
  color: #ffffff;
}

.demo-copy {
  max-width: 430px;
}

.demo-copy .eyebrow {
  color: #61c5a5;
}

.demo-copy p {
  margin: 16px 0 0;
  color: #c1ccd7;
}

.demo-video-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #06090d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.demo-video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06090d;
}

.play-section {
  padding-top: 28px;
  background: #edf2f6;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 620px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.three,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

article {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article p {
  margin: 0;
}

article img {
  display: block;
  width: 100%;
  margin: -18px -18px 16px;
  width: calc(100% + 36px);
  border-radius: 7px 7px 0 0;
}

.voice-chat-card,
.watch-replay-card {
  min-height: auto;
}

@media (min-width: 901px) {
  .voice-chat-card,
  .watch-replay-card {
    grid-column: span 3;
  }
}

.voice-chat-card {
  border-color: var(--accent);
  background: #f1faf7;
}

.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  background: #ffffff;
}

.compact > div {
  max-width: 820px;
}

.compact p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 24px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .grid.three,
  .feature-grid,
  .demo-section,
  .compact {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 26px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .compact {
    align-items: start;
  }

  .demo-copy {
    max-width: none;
  }
}
