:root {
  color-scheme: dark;
  --bg-0: #020203;
  --bg-1: #060607;
  --bg-2: #0d0e11;
  --panel: rgba(10, 10, 12, 0.76);
  --panel-strong: rgba(9, 9, 11, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: #a7acb7;
  --muted-soft: #8a8f99;
  --accent: #ffffff;
  --accent-ghost: rgba(255, 255, 255, 0.08);
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Geist", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(2, 2, 3, 0.96) 0%, rgba(4, 5, 6, 0.98) 40%, rgba(2, 2, 3, 1) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 1, 2, 0.22) 0%, rgba(1, 1, 2, 0.58) 100%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 92%);
}

a,
button,
select,
input {
  font: inherit;
}

a,
button {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, opacity 180ms ease;
}

img {
  max-width: 100%;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 36px;
}

.site-shell-legal {
  width: min(1020px, calc(100% - 32px));
}

main {
  display: grid;
  gap: 24px;
}

section[id] {
  scroll-margin-top: 108px;
}

.topbar,
.feature-card,
.waitlist-panel,
.footer {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(15, 15, 18, 0.78) 0%, rgba(7, 7, 8, 0.88) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 24px;
  position: sticky;
  top: 14px;
  z-index: 30;
}

.topbar-home {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.topbar-home .topbar-link,
.topbar-home .footer-link,
.topbar-home .footer-button {
  color: rgba(245, 247, 251, 0.84);
}

.topbar-home .language-select {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.topbar-home.is-scrolled {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(15, 15, 18, 0.78) 0%, rgba(7, 7, 8, 0.88) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.topbar-home.is-scrolled .topbar-link,
.topbar-home.is-scrolled .footer-link,
.topbar-home.is-scrolled .footer-button {
  color: var(--muted);
}

.topbar-home.is-scrolled .language-select {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 160px;
  display: block;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-link,
.footer-link,
.footer-button {
  color: var(--muted);
  text-decoration: none;
}

.topbar-link {
  padding: 0 6px;
  font-size: 0.9rem;
}

.topbar-link:hover,
.footer-link:hover,
.footer-button:hover {
  color: var(--text);
}

.language-select,
.waitlist-chip,
.btn,
.footer-button {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.waitlist-form input {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.language-select,
.waitlist-form input {
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.language-select {
  min-width: 68px;
  cursor: pointer;
}

.waitlist-chip,
.btn,
.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 15px;
}

.waitlist-chip {
  background: rgba(255, 255, 255, 0.92);
  color: #09090b;
  font-weight: 600;
}

.waitlist-chip:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.hero {
  margin-top: -94px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100svh;
  padding:
    clamp(28px, 4vw, 48px)
    max(28px, calc((100vw - 1240px) / 2 + 28px));
  padding-top: clamp(132px, 18vw, 188px);
  border-radius: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(2, 2, 4, 0.28) 0%, rgba(2, 2, 4, 0.46) 26%, rgba(2, 2, 4, 0.82) 100%),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 34%),
    url("assets/faded_gallery-NBTyHZvaSKU-unsplash.jpg") center center / cover no-repeat;
  transform: scale(1.02);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(2, 2, 4, 0) 42%,
      rgba(2, 2, 4, 0.08) 58%,
      rgba(2, 2, 4, 0.28) 72%,
      rgba(2, 2, 4, 0.62) 86%,
      rgba(2, 2, 3, 0.96) 100%
    ),
    linear-gradient(90deg, rgba(2, 2, 4, 0.74) 0%, rgba(2, 2, 4, 0.44) 40%, rgba(2, 2, 4, 0.18) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
}

.hero-eyebrow,
.section-kicker,
.feature-tag,
.floating-label,
.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  color: #dde3ed;
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.05em;
}

h1 {
  max-width: none;
  max-width: min(1280px, 100%);
  font-size: clamp(5.4rem, 12vw, 9.8rem);
  line-height: 0.88;
}

.hero-lead,
.section-copy,
.feature-card p,
.mini-stat p,
.shots-note p,
.footer,
.waitlist-panel p {
  color: var(--muted);
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(245, 247, 251, 0.82);
}

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

.btn {
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn-primary {
  background: #ffffff;
  color: #050507;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.platform-pills,
.feature-inline-pills,
.auth-pills,
.emoji-row,
.timeline-mini,
.stack-list,
.decision-results {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-pills {
  margin-top: 22px;
}

.platform-pills span,
.feature-inline-pills span,
.auth-pills span,
.stack-list span,
.decision-results span,
.timeline-mini span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #edf0f7;
  font-size: 0.87rem;
}

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat {
  padding: 16px 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mini-stat strong {
  display: block;
  color: #ffffff;
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.mini-stat p {
  margin: 10px 0 0;
  font-size: 0.87rem;
  line-height: 1.6;
}

.shots-note,
.fan-device {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 14, 0.84);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.shots-section {
  padding: 6px 0 12px;
  position: relative;
}

.shots-section::before {
  content: none;
}

.shots-stage {
  position: relative;
  min-height: 680px;
}

.shots-fan {
  --fan-open: 0;
  --fan-spread-x: 128px;
  --fan-spread-y: 30px;
  --fan-spread-rot: 18deg;
  --fan-bottom-gap: 28px;
  position: relative;
  width: min(760px, 100%);
  height: clamp(460px, 60vw, 700px);
  margin: 0 auto;
  user-select: none;
  pointer-events: none;
}

.fan-device {
  position: absolute;
  left: 50%;
  bottom: var(--fan-bottom-gap);
  width: clamp(205px, 29vw, 304px);
  margin: 0;
  padding: 10px;
  border-radius: 34px;
  transform-origin: 50% 100%;
  transition: transform 180ms linear;
  will-change: transform;
}

.fan-device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 78px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.fan-device-a {
  z-index: 1;
  transform: translateX(calc(-50% + (-16px - var(--fan-spread-x) * var(--fan-open))))
    translateY(calc(12px + var(--fan-spread-y) * var(--fan-open)))
    rotate(calc(-4deg - var(--fan-spread-rot) * var(--fan-open)));
}

.fan-device-b {
  z-index: 3;
  transform: translateX(-50%)
    translateY(calc(0px - 12px * var(--fan-open)))
    rotate(calc(0deg + 2deg * var(--fan-open)));
}

.fan-device-c {
  z-index: 2;
  transform: translateX(calc(-50% + (16px + var(--fan-spread-x) * var(--fan-open))))
    translateY(calc(12px + var(--fan-spread-y) * var(--fan-open)))
    rotate(calc(4deg + var(--fan-spread-rot) * var(--fan-open)));
}

.hero-shot,
.couchparty-shot {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.shots-note {
  position: absolute;
  max-width: 256px;
  padding: 18px 18px 20px;
  border-radius: 24px;
  z-index: 4;
  animation: panel-float 9s ease-in-out infinite;
}

.shots-note strong {
  display: block;
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.shots-note p {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.shots-note-left {
  top: 7%;
  left: 2%;
}

.shots-note-right {
  right: 1%;
  bottom: 10%;
  animation-duration: 10.2s;
}

.section-head {
  max-width: 840px;
  padding: 72px 0 0;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.section-copy {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.82;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.feature-card {
  grid-column: span 4;
  min-height: 280px;
  border-radius: 34px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: clamp(1.46rem, 2vw, 1.9rem);
  line-height: 1;
}

.feature-card p {
  margin-top: 14px;
  font-size: 0.96rem;
  line-height: 1.78;
}

.feature-card-wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.86fr);
  gap: 18px;
  align-items: center;
}

.feature-card-tall {
  min-height: 340px;
}

.feature-visual {
  align-self: stretch;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prompt-window {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.prompt-window span {
  display: inline-block;
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d3d9e3;
}

.prompt-window p {
  margin: 10px 0 0;
  color: #ffffff;
  line-height: 1.65;
}

.decision-results {
  margin-top: 14px;
}

.auth-pills {
  margin-top: 20px;
}

.auth-pills span i {
  margin-right: 8px;
}

.stack-list {
  margin-top: 20px;
  flex-direction: column;
}

.stack-list span {
  justify-content: flex-start;
  width: 100%;
}

.emoji-row {
  margin-top: 20px;
}

.emoji-row span {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-card-couch {
  grid-column: span 8;
  min-height: 360px;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.beta-badge {
  color: #dce7ff;
  background: rgba(65, 91, 130, 0.24);
  border-color: rgba(116, 143, 182, 0.3);
}

.couchparty-visual {
  position: absolute;
  right: -34px;
  bottom: -12px;
  width: min(380px, 38%);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.couchparty-presence {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.06);
}

.couchparty-presence span {
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 22, 25, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #f5f7fb;
}

.couchparty-presence span:first-child {
  margin-left: 0;
}

.couchparty-screen-frame {
  margin: 0;
  width: 100%;
  padding: 10px;
  border-radius: 34px 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 14, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.couchparty-page .hero {
  min-height: 100svh;
}

.couchparty-page .hero::before {
  background:
    linear-gradient(180deg, rgba(2, 2, 4, 0.3) 0%, rgba(2, 2, 4, 0.48) 28%, rgba(2, 2, 4, 0.84) 100%),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.14), transparent 34%),
    url("assets/and-machines-OpRu6q17QTU-unsplash.jpg") center center / cover no-repeat;
}

.couchparty-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}

.couchparty-page .hero-copy h1 span {
  color: rgba(245, 247, 251, 0.72);
}

.couchparty-page .hero-copy {
  width: min(760px, 100%);
  max-width: 100%;
}

.couchparty-page .hero-copy h1 {
  max-width: 7.4ch;
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  line-height: 0.9;
}

.couchparty-page .hero-lead {
  max-width: 46ch;
}

.couchparty-page .hero .feature-inline-pills {
  margin-top: 18px;
}

.couchparty-hero-stage {
  position: relative;
  width: min(420px, 100%);
  margin-left: auto;
  margin-top: -28px;
  display: grid;
  gap: 18px;
  justify-items: stretch;
}

.couchparty-invite-panel {
  grid-column: auto;
  min-height: auto;
  padding: 24px;
}

.invite-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.invite-kicker,
.invite-label,
.step-index {
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invite-kicker,
.step-index {
  color: #dbe2ec;
  font-size: 0.72rem;
}

.invite-kicker {
  margin: 0;
}

.invite-label {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted-soft);
  font-size: 0.74rem;
}

.invite-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
  font-size: 0.78rem;
  font-weight: 600;
}

.couchparty-invite-panel[data-state="loading"] .invite-status {
  background: rgba(255, 255, 255, 0.08);
  color: #eef2f8;
}

.couchparty-invite-panel[data-state="invalid"] .invite-status,
.couchparty-invite-panel[data-state="closed"] .invite-status {
  background: rgba(255, 255, 255, 0.04);
  color: #d8dde6;
}

.invite-block {
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.invite-block strong,
.invite-block p {
  margin: 0;
  color: var(--text);
}

.invite-block strong {
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.invite-block-room p {
  margin-top: 10px;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  word-break: break-all;
}

.invite-inline-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.65;
}

.invite-inline-note i {
  margin-top: 1px;
  color: var(--text);
}

#copy-code-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.couchparty-page-visual {
  width: min(520px, 100%);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.couchparty-page-visual .couchparty-screen-frame {
  width: 100%;
  padding: 12px;
  border-radius: 34px;
  background: rgba(10, 11, 14, 0.82);
  transform: rotate(-2deg);
}

.couchparty-flow-grid {
  margin-top: 0;
}

.couchparty-flow-grid .feature-card {
  min-height: 240px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.music-columns {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.music-columns div {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.music-columns strong {
  display: block;
  color: #ffffff;
  font-family: "Geist Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.music-columns span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-mini {
  margin-top: 22px;
  flex-direction: column;
}

.timeline-mini span {
  width: fit-content;
}

.waitlist-panel {
  margin-top: 28px;
  padding: 28px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.waitlist-panel h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.98;
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-form input {
  width: 100%;
}

.footer {
  margin-top: 20px;
  border-radius: 28px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.footer-platforms {
  color: var(--muted-soft);
}

.love-mark {
  color: #ff4d5d;
}

.footer-button {
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 14px;
}

.footer-link[aria-current="page"] {
  color: var(--text);
}

.legal-main {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(15, 15, 18, 0.84) 0%, rgba(7, 7, 8, 0.92) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
  padding: clamp(24px, 4vw, 42px);
}

.legal-card > .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  color: #dde3ed;
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-card > h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.94;
}

.legal-updated {
  margin: 14px 0 0;
  color: var(--muted-soft);
  font-family: "Geist Mono", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-content {
  margin-top: 28px;
  color: var(--muted);
}

.legal-content h2,
.legal-content h3 {
  color: var(--text);
  letter-spacing: -0.04em;
}

.legal-content h2 {
  margin: 0;
  font-size: clamp(1.22rem, 2.6vw, 1.72rem);
}

.legal-content h2 + p,
.legal-content h2 + ul,
.legal-content h3 + p,
.legal-content h3 + ul {
  margin-top: 12px;
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 1rem;
}

.legal-content h2:not(:first-child) {
  margin-top: 34px;
}

.legal-content p,
.legal-content ul {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.82;
}

.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p,
.legal-content ul + ul {
  margin-top: 14px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 10px;
}

.legal-content a,
.cookie-link {
  color: var(--text);
  text-underline-offset: 0.2em;
}

.legal-content code {
  padding: 0.14em 0.42em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #edf0f7;
  font-family: "Geist Mono", monospace;
  font-size: 0.88em;
}

body.cookie-open {
  overflow: hidden;
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.cookie-backdrop[hidden] {
  display: none;
}

.cookie-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-card {
  width: min(620px, 100%);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(16, 16, 19, 0.94) 0%, rgba(8, 8, 10, 0.98) 100%);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  padding: 24px;
}

.cookie-card h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 0.96;
}

.cookie-card > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.cookie-details {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.cookie-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
  list-style: none;
}

.cookie-details summary::-webkit-details-marker {
  display: none;
}

.cookie-details ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.cookie-details li + li {
  margin-top: 8px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.cookie-link {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  min-height: 44px;
  padding: 0 4px;
  font-size: 0.92rem;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 16px;
  background: #ffffff;
  color: #050507;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

@keyframes device-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar-link:focus-visible,
.language-select:focus-visible,
.waitlist-chip:focus-visible,
.btn:focus-visible,
.footer-link:focus-visible,
.footer-button:focus-visible,
.waitlist-form input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

@media (max-width: 1140px) {
  .shots-stage {
    min-height: 600px;
  }

  .feature-card,
  .feature-card-wide,
  .feature-card-couch,
  .feature-card-tall {
    grid-column: span 12;
  }

  .feature-card-wide {
    grid-template-columns: 1fr;
  }

  .waitlist-panel {
    grid-template-columns: 1fr;
  }

  .shots-note-left {
    left: 0;
  }

  .shots-note-right {
    right: 0;
  }

  .couchparty-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(420px, 100%);
    margin-top: 24px;
  }

  .couchparty-hero-grid {
    grid-template-columns: 1fr;
  }

  .couchparty-page-visual {
    width: min(460px, 100%);
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 10px;
  }

  .topbar {
    padding: 12px 14px;
    border-radius: 20px;
  }

  .brand img {
    width: 136px;
  }

  .hero {
    margin-top: -84px;
    min-height: 92svh;
    padding: 22px 20px;
    padding-top: 124px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.1rem, 12vw, 5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .shots-stage {
    min-height: 520px;
  }

  .shots-note {
    max-width: 210px;
    padding: 14px;
  }

  .shots-note strong {
    font-size: 0.95rem;
  }

  .section-head {
    padding-top: 68px;
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .legal-card {
    border-radius: 28px;
  }

  .couchparty-page .hero {
    min-height: auto;
  }

  .couchparty-hero-stage {
    width: min(460px, 100%);
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-link {
    display: none;
  }

  .language-select,
  .waitlist-chip,
  .btn,
  .footer-button {
    min-height: 39px;
  }

  .waitlist-form input {
    min-height: 42px;
  }

  .shots-stage {
    min-height: 420px;
  }

  .hero {
    margin-top: -72px;
    min-height: 90svh;
    padding: 22px 16px;
    padding-top: 118px;
  }

  .shots-note {
    display: none;
  }

  .shots-fan {
    --fan-spread-x: 56px;
    --fan-spread-y: 18px;
    --fan-spread-rot: 12deg;
    --fan-bottom-gap: 20px;
    height: clamp(320px, 94vw, 420px);
  }

  .fan-device {
    width: clamp(146px, 42vw, 202px);
    padding: 8px;
  }

  .feature-card,
  .waitlist-panel,
  .footer {
    border-radius: 24px;
  }

  .feature-card {
    padding: 20px;
  }

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

  .couchparty-visual {
    display: none;
  }

  .couchparty-page-visual {
    width: 100%;
    align-items: flex-start;
    margin-left: 0;
  }

  .couchparty-page-visual .couchparty-screen-frame {
    border-radius: 28px;
    transform: none;
  }

  .invite-head {
    flex-direction: column;
  }

  .footer {
    padding: 16px;
  }

  .footer-links {
    width: 100%;
  }

  .site-shell-legal {
    width: min(100% - 20px, 1020px);
  }

  .legal-main {
    padding-top: 16px;
  }

  .legal-card {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .legal-content p,
  .legal-content ul {
    font-size: 0.94rem;
  }

  .cookie-backdrop {
    padding: 14px;
  }

  .cookie-card {
    border-radius: 24px;
    padding: 20px 18px;
  }

  .cookie-actions {
    align-items: stretch;
  }

  .cookie-link,
  .cookie-btn {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }
}
