:root {
  color-scheme: light;
  --bg: #f7fbff;
  --ink: #10121a;
  --muted: #56606d;
  --line: rgba(16, 18, 26, 0.12);
  --primary: #10121a;
  --paper: #ffffff;
  --cyan: #34c8d8;
  --rose: #f05a9d;
  --green: #21b978;
  --blue: #1b80c2;
  --gold: #e7b427;
  --orange: #ff7b39;
  --violet: #7e6bd9;
  --lime: #c7f651;
  --shadow: 0 24px 70px rgba(14, 22, 33, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::selection {
  color: #10121a;
  background: var(--lime);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #ffffff;
  mix-blend-mode: difference;
}

.brand,
.nav-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-cta {
  justify-self: end;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(120px, 14vw, 170px) clamp(20px, 5vw, 76px) clamp(56px, 7vw, 86px);
  background: #10121a;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(16, 18, 26, 0.92));
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.motion-grid {
  position: absolute;
  inset: -20% -10%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: rotate(-8deg) scale(1.12);
  animation: grid-drift 18s linear infinite;
}

.pulse-track {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 120px;
  opacity: 0.86;
  transform: rotate(-7deg);
}

.pulse-track::before {
  content: "";
  display: block;
  width: 180%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 0 6%, var(--rose) 6% 18%, transparent 18% 29%, var(--cyan) 29% 48%, transparent 48% 60%, var(--lime) 60% 72%, transparent 72% 100%);
  filter: blur(1px);
  animation: track-run 7s linear infinite;
}

.track-one {
  top: 18%;
}

.track-two {
  bottom: 14%;
  opacity: 0.56;
  transform: rotate(8deg);
}

.track-two::before {
  animation-duration: 10s;
  animation-direction: reverse;
}

.floating-lockup {
  position: absolute;
  top: 16%;
  left: clamp(20px, 5vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-lockup img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.story-stack {
  position: absolute;
  top: 19%;
  right: clamp(20px, 8vw, 110px);
  width: min(310px, 30vw);
  min-width: 230px;
  display: grid;
  gap: 12px;
  transform: rotate(6deg);
}

.story-card {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: float-card 5s ease-in-out infinite;
}

.story-card span {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.story-card strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 0.95;
}

.story-social {
  background: linear-gradient(135deg, var(--rose), #10121a);
}

.story-friend {
  margin-left: 32px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  animation-delay: -1.5s;
}

.story-work {
  margin-right: 42px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  animation-delay: -3s;
}

.phone-preview {
  position: absolute;
  right: clamp(18px, 12vw, 200px);
  bottom: clamp(30px, 7vw, 90px);
  width: min(330px, 32vw);
  min-width: 240px;
  aspect-ratio: 0.72;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 44px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-bar img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.reel-window {
  height: calc(100% - 82px);
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.reel-track {
  height: 400%;
  animation: reel-roll 12s ease-in-out infinite;
}

.reel-shot {
  height: 25%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  color: #ffffff;
}

.reel-shot span {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reel-shot strong {
  font-size: 46px;
  line-height: 0.9;
}

.shot-a {
  background:
    linear-gradient(145deg, rgba(240, 90, 157, 0.84), rgba(16, 18, 26, 0.7)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 14px);
}

.shot-b {
  background:
    linear-gradient(145deg, rgba(33, 185, 120, 0.9), rgba(52, 200, 216, 0.78)),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.42), transparent 28%);
}

.shot-c {
  background:
    linear-gradient(145deg, rgba(126, 107, 217, 0.92), rgba(231, 180, 39, 0.78)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 50%, transparent 50% 100%);
}

.shot-d {
  background:
    linear-gradient(145deg, rgba(255, 123, 57, 0.92), rgba(27, 128, 194, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 8px, transparent 8px 22px);
}

.tap-row {
  display: grid;
  grid-template-columns: 1fr 0.58fr 0.28fr;
  gap: 8px;
  padding-top: 14px;
}

.tap-row span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(78px, 15vw, 188px);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 6.3vw, 84px);
  line-height: 0.93;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.02;
}

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.15;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #10121a;
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 16px 36px rgba(199, 246, 81, 0.26);
}

.button.primary:hover {
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(255, 255, 255, 0.22);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--lime);
  color: #10121a;
}

.ticker div {
  width: max-content;
  display: flex;
  gap: 18px;
  padding: 15px 0;
  animation: ticker-run 18s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(16, 18, 26, 0.28);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 7vw, 104px) clamp(20px, 5vw, 76px);
}

.intro {
  background: #ffffff;
}

.intro p {
  max-width: 1060px;
  margin-bottom: 0;
  font-size: clamp(33px, 5.3vw, 78px);
  line-height: 0.98;
  font-weight: 950;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.modes {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mode-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(16, 18, 26, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mode-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: var(--card-accent, var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.mode-card:hover,
.mode-card.active {
  transform: translateY(-5px);
  border-color: rgba(16, 18, 26, 0.26);
  box-shadow: 0 22px 54px rgba(16, 18, 26, 0.13);
}

.mode-card:hover::after,
.mode-card.active::after {
  transform: scaleX(1);
}

.mode-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.48;
}

.mode-kicker {
  display: block;
  margin-bottom: 40px;
  color: rgba(16, 18, 26, 0.34);
  font-size: 12px;
  font-weight: 950;
}

.mode-dot {
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--card-accent, var(--cyan));
  box-shadow: 0 0 0 8px rgba(16, 18, 26, 0.04);
}

.social {
  --card-accent: var(--rose);
  background: var(--rose);
}

.friend {
  --card-accent: var(--green);
  background: var(--green);
}

.work {
  --card-accent: var(--blue);
  background: var(--blue);
}

.founder {
  --card-accent: var(--gold);
  background: var(--gold);
}

.fun {
  --card-accent: var(--orange);
  background: var(--orange);
}

.explore {
  --card-accent: var(--violet);
  background: var(--violet);
}

.mode-card[data-mode="social"] {
  --card-accent: var(--rose);
}

.mode-card[data-mode="friend"] {
  --card-accent: var(--green);
}

.mode-card[data-mode="work"] {
  --card-accent: var(--blue);
}

.mode-card[data-mode="founder"] {
  --card-accent: var(--gold);
}

.mode-card[data-mode="fun"] {
  --card-accent: var(--orange);
}

.mode-card[data-mode="explore"] {
  --card-accent: var(--violet);
}

.feed {
  background: #10121a;
  color: #ffffff;
}

.feed .section-heading {
  max-width: 980px;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.64fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
}

.video-wall {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 520px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #202331;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: -25%;
  opacity: 0.8;
  background:
    linear-gradient(115deg, var(--rose), transparent 28%),
    linear-gradient(205deg, var(--cyan), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px);
  animation: frame-sweep 8s ease-in-out infinite alternate;
}

.frame-main {
  grid-row: span 2;
  min-height: 520px;
}

.frame-side {
  min-height: 250px;
}

.frame-side::before {
  background:
    linear-gradient(135deg, var(--green), transparent 38%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0 5px, transparent 5px 18px);
}

.frame-side.alt::before {
  background:
    linear-gradient(135deg, var(--orange), transparent 35%),
    linear-gradient(225deg, var(--violet), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 6px, transparent 6px 22px);
}

.video-frame > * {
  position: relative;
  z-index: 1;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateY(-100%);
  animation: scanline 4s ease-in-out infinite;
}

.live-chip {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.video-frame strong {
  font-size: clamp(32px, 6vw, 86px);
  line-height: 0.88;
}

.video-frame p,
.feed-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
}

.feed-copy {
  display: grid;
  gap: 28px;
}

.metric-row {
  display: grid;
  gap: 10px;
}

.metric-row span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.metric-row strong {
  color: #ffffff;
  font-size: 38px;
}

.launch {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.62fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  background: var(--lime);
  color: #10121a;
}

.launch .eyebrow,
.launch p {
  color: rgba(16, 18, 26, 0.68);
}

.launch p {
  margin-bottom: 0;
  line-height: 1.55;
}

.launch .button.primary {
  color: #ffffff;
  background: #10121a;
  border-color: #10121a;
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 76px);
  color: var(--muted);
  background: #ffffff;
  font-size: 14px;
  font-weight: 750;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legal-page {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
}

.legal-body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%),
    var(--bg);
}

.legal-body .site-header {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  mix-blend-mode: normal;
  backdrop-filter: blur(16px);
}

.legal-body .nav-cta {
  color: var(--ink);
}

.legal-section {
  max-width: 860px;
}

.legal-section h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 9vw, 104px);
}

.legal-section p {
  color: var(--muted);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.38;
}

.legal-section a {
  color: var(--primary);
  font-weight: 900;
}

.policy-page {
  min-height: auto;
  display: block;
  padding: clamp(34px, 6vw, 82px) clamp(16px, 5vw, 72px);
}

.policy-sheet {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(16, 18, 26, 0.08);
}

.policy-hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(48px, 9vw, 106px);
  line-height: 0.9;
}

.policy-hero p {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.35;
}

.policy-hero span {
  color: rgba(16, 18, 26, 0.62);
  font-size: 14px;
  font-weight: 850;
}

.policy-sheet section {
  padding-top: 32px;
}

.policy-sheet h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.policy-sheet h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.policy-sheet p,
.policy-sheet li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.policy-sheet p {
  margin-bottom: 14px;
}

.policy-sheet ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-sheet li {
  margin: 6px 0;
}

.policy-sheet a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.policy-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: rgba(52, 200, 216, 0.12);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.55;
}

.policy-footer {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.policy-footer p {
  margin-bottom: 0;
  font-size: 14px;
}

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

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

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 124px 62px;
  }
}

@keyframes track-run {
  from {
    transform: translateX(-38%);
  }
  to {
    transform: translateX(0);
  }
}

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

@keyframes reel-roll {
  0%,
  17% {
    transform: translateY(0);
  }
  25%,
  42% {
    transform: translateY(-25%);
  }
  50%,
  67% {
    transform: translateY(-50%);
  }
  75%,
  92% {
    transform: translateY(-75%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes ticker-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes frame-sweep {
  from {
    transform: translate3d(-8%, -6%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(8%, 6%, 0) rotate(10deg);
  }
}

@keyframes scanline {
  0%,
  28% {
    transform: translateY(-100%);
  }
  58%,
  100% {
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    mix-blend-mode: normal;
    color: #ffffff;
    background: rgba(16, 18, 26, 0.78);
    backdrop-filter: blur(16px);
  }

  nav {
    display: none;
  }

  .story-stack {
    right: 18px;
    width: 240px;
    opacity: 0.72;
  }

  .phone-preview {
    right: 22px;
    bottom: 34px;
    opacity: 0.78;
  }

  .mode-grid,
  .feed-layout {
    grid-template-columns: 1fr 1fr;
  }

  .video-wall {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 86vh;
    padding: 116px 18px 42px;
  }

  .floating-lockup {
    top: 86px;
    left: 18px;
  }

  .story-stack {
    display: none;
  }

  .phone-preview {
    right: -72px;
    bottom: 86px;
    min-width: 220px;
    opacity: 0.46;
  }

  h1 {
    font-size: clamp(72px, 23vw, 112px);
  }

  h2 {
    font-size: clamp(38px, 13vw, 60px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .ticker div {
    animation-duration: 14s;
  }

  .mode-grid,
  .feed-layout,
  .video-wall {
    grid-template-columns: 1fr;
  }

  .video-wall,
  .frame-main {
    min-height: 420px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .legal-body .site-header {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 640px) {
  .policy-page {
    padding: 22px 12px 46px;
  }

  .policy-sheet {
    padding: 22px 18px;
  }

  .policy-sheet p,
  .policy-sheet li {
    font-size: 15px;
  }
}


.referral-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px clamp(20px, 5vw, 76px) 56px;
  background:
    radial-gradient(circle at 18% 18%, rgba(52, 200, 216, 0.28), transparent 32%),
    radial-gradient(circle at 84% 14%, rgba(199, 246, 81, 0.22), transparent 30%),
    var(--bg);
}

.referral-panel {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 46px);
}

.referral-code {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin: 18px 0 4px;
  padding: 0 14px;
  border: 1px solid rgba(52, 200, 216, 0.44);
  border-radius: 8px;
  background: #eefbfe;
  color: #12314a;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 950;
  letter-spacing: 0;
}

.referral-note {
  color: var(--muted);
  line-height: 1.7;
}

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

.referral-status {
  min-height: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
