:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-elevated: #0d0c12;
  --bg-soft: #131119;
  --panel: rgba(20, 18, 27, 0.76);
  --panel-strong: #17141e;
  --ink: #f8f6fb;
  --ink-soft: #c5c0cd;
  --ink-muted: #8f899a;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold: #f6b84b;
  --gold-bright: #ffd77b;
  --violet: #8d68ff;
  --violet-bright: #b8a2ff;
  --green: #58d99a;
  --danger: #ff7e87;
  --header-h: 76px;
  --content: 1200px;
  --content-wide: 1380px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --shadow-sm: 0 14px 40px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.48);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% -4%, rgba(125, 81, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(246, 184, 75, 0.12), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

button {
  color: inherit;
}

::selection {
  background: rgba(184, 162, 255, 0.34);
  color: #fff;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(141, 104, 255, 0.72);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #fff;
  color: #07070a;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - 40px), var(--content-wide));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 7vw, 112px) 0;
}

.section--tight {
  padding: clamp(56px, 5vw, 80px) 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.75;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.display-title,
.detail-title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 860;
  letter-spacing: -0.062em;
  line-height: 0.95;
}

.section-heading h2 {
  max-width: 850px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.section-heading p,
.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.muted {
  color: var(--ink-muted);
}

.text-gradient {
  background: linear-gradient(110deg, #fff 5%, #cfbfff 45%, #ffd68d 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled,
body.nav-open .site-header {
  border-color: var(--line);
  background: rgba(7, 7, 10, 0.82);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 32px), var(--content-wide));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  font-size: 1.06rem;
  font-weight: 830;
  letter-spacing: -0.028em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #050507;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 14px;
  align-items: center;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 690;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle::before {
  transform: translate(-50%, -7px);
}

.nav-toggle span {
  transform: translate(-50%, -50%);
}

.nav-toggle::after {
  transform: translate(-50%, 5px);
}

body.nav-open .nav-toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.nav-open .nav-toggle span {
  opacity: 0;
}

body.nav-open .nav-toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 790;
  letter-spacing: -0.01em;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

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

.button--primary {
  background: #fff;
  color: #09090c;
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.12);
}

.button--primary:hover {
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.18);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.button--small {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 13px;
  font-size: 0.88rem;
}

.button svg,
.inline-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-buttons > .button {
  min-height: 58px;
}

.store-button {
  display: inline-grid;
  grid-template-columns: 30px auto;
  min-width: 180px;
  min-height: 58px;
  padding: 9px 17px;
  align-items: center;
  column-gap: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  color: #fff;
  text-align: left;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.store-button:hover:not([aria-disabled="true"]) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.store-button img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.store-button__copy {
  display: grid;
  line-height: 1.12;
}

.store-button__copy small {
  margin-bottom: 3px;
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.store-button__copy strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.store-button[aria-disabled="true"] {
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(980px, 100svh);
  padding: calc(var(--header-h) + clamp(66px, 9vw, 128px)) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.04), #07070a 94%),
    radial-gradient(ellipse at 62% 38%, rgba(115, 76, 242, 0.16), transparent 38%),
    radial-gradient(ellipse at 82% 52%, rgba(239, 164, 43, 0.11), transparent 33%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: radial-gradient(circle at 68% 42%, #000, transparent 68%);
  opacity: 0.55;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(470px, 1.07fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.3rem, 7.35vw, 7.45rem);
  font-weight: 880;
  letter-spacing: -0.076em;
  line-height: 0.88;
}

.hero h1 span {
  display: block;
}

.hero .lede {
  max-width: 640px;
  margin: 30px 0 34px;
  color: #c9c4d0;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
}

.hero-note {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 9px;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 217, 154, 0.12);
  content: "";
}

.universe-stage {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.stage-halo {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(125, 82, 255, 0.24), transparent 47%),
    conic-gradient(from 0deg, rgba(255, 187, 70, 0.08), rgba(141, 104, 255, 0.13), rgba(255, 255, 255, 0.02), rgba(255, 187, 70, 0.08));
  filter: blur(4px);
  transform: translate(-50%, -50%);
}

.stage-ring {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.stage-ring::before,
.stage-ring::after {
  position: absolute;
  inset: 54px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  content: "";
}

.stage-ring::after {
  inset: 126px;
  border-style: solid;
  opacity: 0.65;
}

.phone {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(335px, 58vw);
  aspect-ratio: 0.51;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: #0b0a0e;
  box-shadow: inset 0 0 0 4px #050506, inset 0 1px rgba(255, 255, 255, 0.12), 0 45px 100px rgba(0, 0, 0, 0.54);
  transform: translate(-50%, -50%) rotate(4deg);
}

.phone::before {
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 50%;
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #050506;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background:
    radial-gradient(circle at 50% 14%, rgba(126, 79, 255, 0.2), transparent 34%),
    #111016;
}

.phone-topbar {
  display: flex;
  height: 68px;
  padding: 24px 18px 8px;
  align-items: center;
  justify-content: space-between;
}

.phone-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 820;
}

.phone-brand img {
  width: 23px;
  height: 23px;
}

.phone-avatar {
  width: 29px;
  height: 29px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #fff;
}

.phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-greeting {
  padding: 17px 18px 10px;
}

.phone-greeting small {
  display: block;
  margin-bottom: 5px;
  color: #a39bab;
  font-size: 0.64rem;
  font-weight: 720;
}

.phone-greeting strong {
  display: block;
  max-width: 240px;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.phone-create {
  display: flex;
  min-height: 52px;
  margin: 10px 16px 15px;
  padding: 0 10px 0 15px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
  color: #a9a2b1;
  font-size: 0.67rem;
}

.phone-create span:last-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: #09090c;
  font-size: 1.05rem;
  font-weight: 800;
}

.phone-tabs {
  display: flex;
  padding: 0 16px 14px;
  gap: 6px;
}

.phone-tabs span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #938b9c;
  font-size: 0.57rem;
  font-weight: 760;
}

.phone-tabs .is-active {
  background: #fff;
  color: #09090c;
}

.phone-feed {
  display: grid;
  padding: 0 12px 14px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-tile {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  background: #211e28;
}

.phone-tile:nth-child(1) {
  grid-row: span 2;
}

.phone-tile img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.phone-tile:nth-child(1) img {
  min-height: 272px;
}

.phone-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(4, 4, 6, 0.8));
  content: "";
}

.phone-nav {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  min-height: 48px;
  padding: 0 8px;
  grid-template-columns: repeat(4, 1fr);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(15, 13, 19, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.phone-nav span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.phone-nav span:nth-child(2) {
  width: 22px;
  height: 22px;
  border: 6px solid rgba(255, 255, 255, 0.18);
  background: #fff;
}

.orbit-app {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 90px;
  justify-items: center;
  gap: 7px;
  color: #eae6f1;
  font-size: 0.7rem;
  font-weight: 780;
  text-align: center;
  transition: transform 220ms var(--ease), color 180ms ease;
}

.orbit-app:hover {
  z-index: 8;
  color: #fff;
  transform: translateY(-5px) scale(1.04);
}

.orbit-app img {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.orbit-app--pets {
  top: 12%;
  left: 7%;
  animation: float-a 5.7s ease-in-out infinite;
}

.orbit-app--horoscopes {
  top: 10%;
  right: 2%;
  animation: float-b 6.2s ease-in-out infinite;
}

.orbit-app--adventures {
  top: 49%;
  left: -1%;
  animation: float-b 5.8s ease-in-out infinite -1.2s;
}

.orbit-app--quizzes {
  top: 52%;
  right: -1%;
  animation: float-a 6.4s ease-in-out infinite -0.8s;
}

.orbit-app--personas {
  right: 10%;
  bottom: 3%;
  animation: float-b 5.5s ease-in-out infinite -1.8s;
}

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

@keyframes float-b {
  0%, 100% { margin-top: -5px; }
  50% { margin-top: 7px; }
}

.hero-app-rail {
  position: relative;
  z-index: 5;
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.032);
  overflow: hidden;
}

.rail-app {
  display: grid;
  min-width: 0;
  min-height: 106px;
  padding: 17px 14px;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease;
}

.rail-app:last-child {
  border-right: 0;
}

.rail-app:hover {
  background: rgba(255, 255, 255, 0.06);
}

.rail-app img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.rail-app strong,
.rail-app small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-app strong {
  margin-bottom: 2px;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.rail-app small {
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 650;
}

/* Experience cards */
.experiences {
  background:
    radial-gradient(circle at 0 28%, rgba(117, 74, 255, 0.1), transparent 30rem),
    linear-gradient(180deg, #07070a, #0a090d 45%, #07070a);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  --accent: #9a78ff;
  --accent-rgb: 154, 120, 255;
  position: relative;
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--accent-rgb), 0.19), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms var(--ease);
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.07);
}

.app-card--featured {
  min-height: 500px;
  padding: clamp(23px, 3vw, 34px);
  grid-column: span 12;
}

.app-card--pets,
.app-card--horoscopes {
  grid-column: span 6;
}

.app-card--pets {
  --accent: #ff9e3d;
  --accent-rgb: 255, 158, 61;
}

.app-card--horoscopes {
  --accent: #e1a53d;
  --accent-rgb: 225, 165, 61;
}

.app-card--adventures {
  --accent: #8462ff;
  --accent-rgb: 132, 98, 255;
}

.app-card--quizzes {
  --accent: #a17bff;
  --accent-rgb: 161, 123, 255;
}

.app-card--personas {
  --accent: #b68cff;
  --accent-rgb: 182, 140, 255;
}

.app-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-card:not(.app-card--featured) .app-card__top {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
}

.app-card:not(.app-card--featured) .app-icon {
  width: 64px;
  height: 64px;
  border-radius: 19px;
}

.app-card:not(.app-card--featured) .status-pill {
  background: rgba(7, 7, 10, 0.76);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.app-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #111016;
}

.app-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.08), transparent 52%, rgba(7, 7, 10, 0.4));
  content: "";
}

.app-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

.app-card:not(.app-card--featured):hover .app-card__media img {
  transform: scale(1.035);
}

.app-icon {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #060608;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.app-card--featured .app-icon {
  width: 88px;
  height: 88px;
  border-radius: 26px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.status-pill {
  display: inline-flex;
  min-height: 29px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d5d0da;
  font-size: 0.66rem;
  font-weight: 770;
  white-space: nowrap;
}

.status-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-muted);
  content: "";
}

.status-pill--live::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(88, 217, 154, 0.09);
}

.status-pill--soon::before {
  background: var(--gold);
}

.status-pill--review::before {
  background: var(--violet-bright);
}

.app-card__copy {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin-top: auto;
  padding-top: 66px;
}

.app-card:not(.app-card--featured) .app-card__copy {
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 25px 27px 28px;
}

.app-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.app-card h3 {
  margin: 0 0 13px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 840;
  letter-spacing: -0.052em;
  line-height: 1;
}

.app-card:not(.app-card--featured) h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.app-card p {
  max-width: 530px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.app-card__link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 23px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 790;
}

.app-card__link span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transition: transform 180ms var(--ease), background 180ms ease;
}

.app-card:hover .app-card__link span {
  background: #fff;
  color: #09090c;
  transform: translateX(4px);
}

.featured-collage {
  position: absolute;
  top: 28px;
  right: 28px;
  width: min(47%, 410px);
  height: calc(100% - 56px);
  pointer-events: none;
}

.collage-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #121017;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.35);
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-card--one {
  top: 6%;
  right: 3%;
  width: 70%;
  height: 46%;
  transform: rotate(4deg);
}

.collage-card--two {
  right: 27%;
  bottom: 2%;
  width: 62%;
  height: 45%;
  transform: rotate(-6deg);
}

.collage-card--three {
  right: -1%;
  bottom: 11%;
  width: 37%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: rotate(8deg);
}

/* Bridge / value section */
.bridge-panel {
  position: relative;
  display: grid;
  min-height: 620px;
  padding: clamp(30px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 14% 12%, rgba(130, 88, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(255, 181, 70, 0.12), transparent 36%),
    #0d0c11;
}

.bridge-copy h2 {
  max-width: 620px;
  margin: 0 0 20px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.bridge-copy p {
  max-width: 560px;
  margin: 0 0 29px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.bridge-stack {
  position: relative;
  min-height: 480px;
}

.bridge-card {
  position: absolute;
  display: grid;
  width: min(440px, 86%);
  min-height: 150px;
  padding: 23px;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(25, 22, 31, 0.9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.bridge-card:nth-child(1) {
  top: 2%;
  left: 2%;
  transform: rotate(-3deg);
}

.bridge-card:nth-child(2) {
  top: 33%;
  right: 0;
  transform: rotate(3deg);
}

.bridge-card:nth-child(3) {
  bottom: 1%;
  left: 6%;
  transform: rotate(-1.5deg);
}

.bridge-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--gold-bright);
}

.bridge-card__icon svg {
  width: 26px;
  height: 26px;
}

.bridge-card h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}

.bridge-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Feed */
.feed-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(138, 97, 255, 0.13), transparent 35rem),
    #09080c;
}

.feed-toolbar {
  display: flex;
  margin: -16px 0 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 760;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(255, 255, 255, 0.26);
  background: #fff;
  color: #08080b;
}

.feed-state {
  display: inline-flex;
  min-height: 36px;
  padding: 0 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 720;
  white-space: nowrap;
}

.feed-state::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.feed-state.is-live::before {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 217, 154, 0.09);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.feed-grid > noscript {
  display: contents;
}

.feed-card {
  position: relative;
  min-width: 0;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #121017;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  transition: transform 210ms var(--ease), border-color 180ms ease;
}

.feed-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.feed-card:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(141, 104, 255, 0.78), 0 20px 56px rgba(0, 0, 0, 0.22);
}

.feed-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(141, 104, 255, 0.24), transparent 46%),
    #17131f;
}

.feed-media img,
.feed-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--media-scale, 1));
  transform-origin: var(--media-origin, center);
  transition: transform 500ms var(--ease);
}

.feed-card:hover .feed-media img {
  transform: scale(var(--media-hover-scale, 1.025));
}

.feed-card--curated.feed-card--video {
  --media-scale: 2.2;
  --media-hover-scale: 2.28;
  --media-origin: 78% 24%;
}

.feed-card--curated.feed-card--audio {
  --media-scale: 2.18;
  --media-hover-scale: 2.26;
  --media-origin: 19% 72%;
}

.feed-card--curated.feed-card--3d {
  --media-scale: 2.18;
  --media-hover-scale: 2.26;
  --media-origin: 80% 72%;
}

.feed-media__type {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  display: inline-flex;
  min-height: 29px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.64);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feed-media__type::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-bright);
  content: "";
}

.feed-media__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(6, 6, 9, 0.56);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}

.feed-media__play svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
}

.feed-audio {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 183, 75, 0.2), transparent 27%),
    radial-gradient(circle at 20% 80%, rgba(141, 104, 255, 0.19), transparent 34%),
    #141119;
}

.feed-unavailable {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 24px;
  place-content: center;
  justify-items: center;
  gap: 13px;
  background:
    radial-gradient(circle at 50% 42%, rgba(141, 104, 255, 0.2), transparent 34%),
    #141119;
  color: var(--ink-muted);
  text-align: center;
}

.feed-unavailable svg {
  color: var(--violet-bright);
  opacity: 0.86;
}

.feed-unavailable span {
  font-size: 0.78rem;
  font-weight: 760;
}

.waveform {
  display: flex;
  height: 78px;
  align-items: center;
  gap: 5px;
}

.waveform i {
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(#fff, #a88dff);
}

.waveform i:nth-child(1) { height: 18%; }
.waveform i:nth-child(2) { height: 44%; }
.waveform i:nth-child(3) { height: 76%; }
.waveform i:nth-child(4) { height: 100%; }
.waveform i:nth-child(5) { height: 58%; }
.waveform i:nth-child(6) { height: 82%; }
.waveform i:nth-child(7) { height: 34%; }
.waveform i:nth-child(8) { height: 68%; }
.waveform i:nth-child(9) { height: 23%; }

.feed-body {
  padding: 17px 17px 18px;
}

.feed-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-author__avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 0.74rem;
  font-weight: 850;
}

.feed-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-author__copy {
  min-width: 0;
}

.feed-author strong,
.feed-author small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-author strong {
  color: #f5f2f8;
  font-size: 0.78rem;
}

.feed-author small {
  color: var(--ink-muted);
  font-size: 0.66rem;
}

.feed-prompt {
  display: -webkit-box;
  min-height: 46px;
  margin: 14px 0 11px;
  overflow: hidden;
  color: #d0cad5;
  font-size: 0.83rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 690;
}

.feed-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-like svg {
  width: 15px;
  height: 15px;
}

.feed-empty {
  grid-column: 1 / -1;
  padding: 46px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  color: var(--ink-muted);
  text-align: center;
}

.feed-skeleton {
  min-height: 360px;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #111016;
}

.feed-skeleton::before {
  display: block;
  width: 100%;
  height: 70%;
  background: linear-gradient(100deg, #15131b 20%, #201d27 45%, #15131b 70%);
  background-size: 240% 100%;
  content: "";
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  to { background-position: -240% 0; }
}

.feed-actions {
  display: flex;
  margin-top: 30px;
  justify-content: center;
}

.feed-preview-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.feed-preview-trigger:focus-visible {
  outline: 0;
}

.feed-media__action {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 34px;
  padding: 0 11px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.76);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.01em;
  transition: background 180ms ease, transform 180ms var(--ease);
}

.feed-media__action svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.feed-preview-trigger:hover .feed-media__action,
.feed-preview-trigger:focus-visible .feed-media__action {
  background: rgba(141, 104, 255, 0.92);
  transform: translateY(-2px);
}

body.preview-open {
  overflow: hidden;
}

.media-preview {
  width: min(1160px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 32px;
  background: transparent;
  color: var(--ink);
  overscroll-behavior: contain;
}

.media-preview::backdrop {
  background: rgba(2, 2, 4, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.media-preview__panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 4%, rgba(141, 104, 255, 0.18), transparent 25rem),
    #0d0c12;
  box-shadow: 0 48px 140px rgba(0, 0, 0, 0.68);
}

.media-preview__header {
  display: flex;
  min-height: 92px;
  padding: 20px 22px 18px 26px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.media-preview__type {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.media-preview__header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.media-preview__close {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms var(--ease);
}

.media-preview__close:hover,
.media-preview__close:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  transform: scale(1.04);
}

.media-preview__close svg {
  width: 22px;
  height: 22px;
}

.media-preview__stage {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  place-items: center;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 44%, rgba(141, 104, 255, 0.16), transparent 35rem),
    #07070a;
}

.media-preview__image,
.media-preview__video {
  display: block;
  width: 100%;
  max-height: min(68svh, 720px);
  object-fit: contain;
  background: #050507;
}

.media-preview__video {
  aspect-ratio: 16 / 9;
}

.media-preview__details {
  padding: 22px 26px 25px;
}

.media-preview__details > p {
  max-width: 860px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.media-preview__footer {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.media-preview__footer > span {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 690;
}

.media-preview__footer .button {
  min-height: 48px;
  flex: 0 0 auto;
}

.media-preview__error {
  display: grid;
  min-height: 360px;
  padding: 32px;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: var(--ink-muted);
  text-align: center;
}

.media-preview__error svg {
  width: 64px;
  height: 64px;
  color: var(--violet-bright);
}

.media-preview__audio {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 520px;
  padding: clamp(28px, 5vw, 60px);
  align-content: center;
  gap: 42px;
  isolation: isolate;
  overflow: hidden;
}

.media-preview__audio::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.42), rgba(7, 7, 10, 0.86)),
    radial-gradient(circle at 28% 70%, rgba(141, 104, 255, 0.32), transparent 38%);
  content: "";
}

.media-preview__audio-artwork {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) brightness(0.45) saturate(1.25);
  transform: scale(2.15);
  transform-origin: 19% 74%;
}

.media-preview__audio-visual {
  display: grid;
  justify-items: center;
  gap: 25px;
}

.media-preview__audio-label {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.58);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 770;
}

.media-preview__waveform {
  display: flex;
  width: min(760px, 86vw);
  height: 150px;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 0.6vw, 8px);
}

.media-preview__waveform i {
  width: clamp(4px, 0.55vw, 8px);
  height: var(--bar-height);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, #d5c9ff 28%, #9a70ff 65%, #f4b94c 100%);
  box-shadow: 0 0 18px rgba(141, 104, 255, 0.22);
  transform: scaleY(0.72);
  transform-origin: center;
}

.media-preview.is-playing .media-preview__waveform i {
  animation: preview-wave 760ms ease-in-out var(--bar-delay) infinite alternate;
}

@keyframes preview-wave {
  0% { transform: scaleY(0.42); }
  100% { transform: scaleY(1); }
}

.media-preview__audio-player {
  position: relative;
  width: min(720px, 100%);
  height: 54px;
  margin-inline: auto;
  color-scheme: dark;
}

.media-preview__model {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 560px;
  place-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(141, 104, 255, 0.2), transparent 38%),
    #07070b;
}

.media-preview__model-poster,
.media-preview__model-viewer {
  display: block;
  width: 100%;
  height: min(68svh, 720px);
  min-height: 560px;
  object-fit: contain;
  background: #07070b;
}

.media-preview__model-status {
  position: absolute;
  z-index: 2;
  inset-inline: 50% auto;
  bottom: 18px;
  width: max-content;
  max-width: calc(100% - 36px);
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 730;
  text-align: center;
  transform: translateX(-50%);
}

.model-preview {
  width: 100%;
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 56%, rgba(244, 185, 76, 0.12), transparent 28%),
    radial-gradient(circle at 22% 74%, rgba(141, 104, 255, 0.22), transparent 32%),
    #07070b;
}

.model-preview__scene {
  position: relative;
  height: 500px;
  overflow: hidden;
  outline: 0;
  perspective: 1100px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.model-preview__scene.is-dragging {
  cursor: grabbing;
}

.model-preview__scene:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(166, 139, 255, 0.86);
}

.model-preview__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(13px) brightness(0.22) saturate(1.35);
  transform: scale(2.15);
  transform-origin: 82% 82%;
  opacity: 0.78;
}

.model-preview__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 18%, rgba(255, 231, 176, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 72%, rgba(187, 164, 255, 0.7) 0 1px, transparent 1.5px);
  background-size: 83px 77px, 117px 103px, 71px 91px;
  opacity: 0.48;
}

.model-turntable {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 420px;
  transform: translate(-50%, -48%) rotateX(-8deg) rotateY(var(--model-angle));
  transform-style: preserve-3d;
  transition: transform 130ms ease-out;
}

.model-turntable.is-auto {
  animation: lighthouse-spin 14s linear infinite;
}

@keyframes lighthouse-spin {
  from { transform: translate(-50%, -48%) rotateX(-8deg) rotateY(-24deg); }
  to { transform: translate(-50%, -48%) rotateX(-8deg) rotateY(336deg); }
}

.css-lighthouse__island {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 300px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 28%, #4d463f 0 13%, #27252a 34%, #111116 68%, transparent 70%),
    radial-gradient(ellipse, rgba(141, 104, 255, 0.45), transparent 66%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.68), 0 0 58px rgba(141, 104, 255, 0.2);
  transform: translateX(-50%) rotateX(72deg) translateZ(-34px);
}

.css-lighthouse__base,
.css-lighthouse__tower,
.css-lighthouse__lantern {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.css-lighthouse__base {
  bottom: 95px;
}

.css-lighthouse__base-face {
  position: absolute;
  bottom: 0;
  left: -19px;
  width: 38px;
  height: 34px;
  border-inline: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, #524942, #242126 74%);
  transform: rotateY(var(--face-angle)) translateZ(70px);
}

.css-lighthouse__tower {
  bottom: 128px;
}

.css-lighthouse__tower-face {
  position: absolute;
  bottom: 0;
  left: -15.5px;
  width: 31px;
  height: 190px;
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 42%, rgba(255, 255, 255, 0.13)),
    linear-gradient(180deg, #ddd1c0 0 42%, #9b4f44 42% 51%, #d9cdbc 51% 100%);
  transform: rotateY(var(--face-angle)) translateZ(58px);
}

.css-lighthouse__door {
  position: absolute;
  bottom: 0;
  left: -13px;
  width: 26px;
  height: 47px;
  border: 2px solid #251f20;
  border-radius: 14px 14px 2px 2px;
  background: radial-gradient(circle at 70% 50%, #e8b94d 0 2px, transparent 3px), #17151a;
  transform: translateZ(59px);
}

.css-lighthouse__balcony {
  position: absolute;
  bottom: 309px;
  left: 50%;
  width: 154px;
  height: 24px;
  border: 5px solid #29262a;
  border-radius: 50%;
  background: radial-gradient(ellipse, #b7aa99 0 44%, #38333a 46% 56%, transparent 58%);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.46);
  transform: translateX(-50%) rotateX(76deg);
}

.css-lighthouse__lantern {
  bottom: 322px;
}

.css-lighthouse__lantern-face {
  position: absolute;
  bottom: 0;
  left: -14px;
  width: 28px;
  height: 54px;
  border-inline: 2px solid #28232a;
  background: linear-gradient(90deg, rgba(255, 181, 52, 0.25), rgba(255, 239, 182, 0.76), rgba(255, 174, 43, 0.24));
  box-shadow: inset 0 0 16px rgba(255, 202, 84, 0.42);
  transform: rotateY(var(--face-angle)) translateZ(44px);
}

.css-lighthouse__lamp {
  position: absolute;
  bottom: 18px;
  left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff5c4;
  box-shadow: 0 0 18px 8px rgba(255, 201, 84, 0.78), 0 0 62px 18px rgba(255, 178, 43, 0.38);
  transform: translateZ(0);
}

.css-lighthouse__roof {
  position: absolute;
  bottom: 371px;
  left: 50%;
  width: 112px;
  height: 58px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #69626d, #28252d 62%, #101015);
  filter: drop-shadow(0 8px 7px rgba(0, 0, 0, 0.38));
  transform: translateX(-50%) translateZ(2px);
}

.css-lighthouse__finial {
  position: absolute;
  bottom: 422px;
  left: 50%;
  width: 8px;
  height: 25px;
  border-radius: 999px;
  background: #918995;
  box-shadow: 0 -4px 0 2px #bcb4bf;
  transform: translateX(-50%);
}

.css-lighthouse__beam {
  position: absolute;
  bottom: 337px;
  left: 50%;
  width: 300px;
  height: 48px;
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 56%);
  background: linear-gradient(90deg, rgba(255, 233, 169, 0.62), rgba(255, 205, 93, 0.12) 68%, transparent);
  filter: blur(1px);
  opacity: 0.76;
  transform: translateZ(6px);
  pointer-events: none;
}

.model-preview__controls {
  display: flex;
  min-height: 60px;
  padding: 8px 18px 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.model-preview__controls button {
  min-width: 48px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 740;
}

.model-preview__controls button:hover,
.model-preview__controls button:focus-visible,
.model-preview__controls button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(141, 104, 255, 0.3);
}

.model-preview__auto {
  min-width: 136px !important;
  font-size: 0.76rem !important;
}

/* Launch board */
.launch-board {
  position: relative;
  display: grid;
  padding: clamp(30px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 83% 24%, rgba(142, 100, 255, 0.2), transparent 29rem),
    radial-gradient(circle at 74% 85%, rgba(246, 184, 75, 0.12), transparent 27rem),
    #0e0c13;
}

.launch-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 4.7vw, 4.55rem);
  font-weight: 850;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.launch-copy p {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.launch-list {
  display: grid;
  gap: 13px;
}

.launch-item {
  display: grid;
  min-height: 100px;
  padding: 16px 18px;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.045);
}

.launch-item img {
  width: 56px;
  height: 56px;
  border-radius: 17px;
}

.launch-item strong,
.launch-item small {
  display: block;
}

.launch-item strong {
  margin-bottom: 3px;
  font-size: 0.94rem;
}

.launch-item small {
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.launch-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

/* CTA */
.final-cta {
  position: relative;
  padding: clamp(64px, 7vw, 104px) 0;
  overflow: hidden;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  z-index: -1;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 84, 255, 0.22), rgba(245, 184, 75, 0.07) 38%, transparent 69%);
  filter: blur(20px);
  content: "";
}

.final-cta__logo {
  width: 78px;
  height: 78px;
  margin: 0 auto 23px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #050507;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.35);
}

.final-cta h2 {
  max-width: 880px;
  margin: 0 auto 21px;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 870;
  letter-spacing: -0.072em;
  line-height: 0.93;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.final-cta .store-buttons {
  justify-content: center;
}

.not-found {
  display: grid;
  min-height: 100svh;
  align-items: center;
}

/* Footer */
.site-footer {
  padding: 54px 0 32px;
  border-top: 1px solid var(--line);
  background: #060609;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.72fr);
  gap: 48px;
}

.footer-brand p {
  max-width: 350px;
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.footer-column h3 {
  margin: 0 0 16px;
  color: #f4f1f7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  display: flex;
  min-height: 37px;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 640;
  transition: color 160ms ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  margin-top: 19px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social img {
  width: 18px;
  height: 18px;
  filter: none;
}

.footer-bottom {
  display: flex;
  margin-top: 48px;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Detail pages */
.detail-page {
  --app-accent: #9c7cff;
  --app-accent-rgb: 156, 124, 255;
}

.detail-page--pets {
  --app-accent: #ffad50;
  --app-accent-rgb: 255, 173, 80;
}

.detail-page--horoscopes {
  --app-accent: #ffc55e;
  --app-accent-rgb: 255, 197, 94;
}

.detail-page--adventures {
  --app-accent: #9170ff;
  --app-accent-rgb: 145, 112, 255;
}

.detail-page--quizzes {
  --app-accent: #ad8aff;
  --app-accent-rgb: 173, 138, 255;
}

.detail-page--personas {
  --app-accent: #b995ff;
  --app-accent-rgb: 185, 149, 255;
}

.detail-hero {
  position: relative;
  min-height: 820px;
  padding: calc(var(--header-h) + clamp(70px, 9vw, 120px)) 0 clamp(82px, 10vw, 130px);
  overflow: hidden;
}

.detail-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 76% 35%, rgba(var(--app-accent-rgb), 0.19), transparent 34rem),
    radial-gradient(circle at 10% 22%, rgba(255, 255, 255, 0.04), transparent 26rem),
    linear-gradient(180deg, #08070b, #07070a);
  content: "";
}

.detail-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 0.7px, transparent 0.7px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, #000 54%, transparent 96%);
  content: "";
  opacity: 0.22;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(500px, 1.13fr);
  align-items: center;
  gap: clamp(48px, 8vw, 106px);
}

.detail-icon {
  width: 104px;
  height: 104px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: #050507;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.detail-title {
  max-width: 760px;
  font-size: clamp(3.4rem, 7.5vw, 7.1rem);
  line-height: 0.89;
}

.detail-tagline {
  max-width: 700px;
  margin: 25px 0 16px;
  color: var(--app-accent);
  font-size: clamp(1.2rem, 2.4vw, 1.68rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.detail-copy .lede {
  max-width: 650px;
  margin-bottom: 31px;
}

.detail-status {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.detail-art {
  position: relative;
  min-height: 610px;
}

.detail-art::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--app-accent-rgb), 0.26), transparent 68%);
  filter: blur(10px);
  content: "";
  transform: translate(-50%, -50%);
}

.detail-showcase {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(600px, 100%);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 38px;
  background: #09090c;
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%) rotate(2.2deg);
}

.detail-float {
  position: absolute;
  z-index: 2;
  display: flex;
  min-height: 64px;
  padding: 11px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 19px;
  background: rgba(20, 18, 26, 0.86);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.detail-float--one {
  top: 16%;
  left: -2%;
  transform: rotate(-5deg);
}

.detail-float--two {
  right: -2%;
  bottom: 13%;
  transform: rotate(4deg);
}

.detail-float__icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 13px;
  background: rgba(var(--app-accent-rgb), 0.17);
  color: var(--app-accent);
}

.detail-float__icon svg {
  width: 20px;
  height: 20px;
}

.detail-float strong,
.detail-float small {
  display: block;
}

.detail-float strong {
  font-size: 0.76rem;
}

.detail-float small {
  color: var(--ink-muted);
  font-size: 0.66rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature-card {
  min-height: 258px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--app-accent-rgb), 0.12), transparent 44%),
    rgba(255, 255, 255, 0.032);
}

.feature-card__number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--app-accent-rgb), 0.28);
  border-radius: 13px;
  background: rgba(var(--app-accent-rgb), 0.11);
  color: var(--app-accent);
  font-size: 0.78rem;
  font-weight: 820;
}

.feature-card h3 {
  margin: 0 0 11px;
  font-size: 1.4rem;
  letter-spacing: -0.038em;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.how-panel {
  display: grid;
  padding: clamp(32px, 5vw, 65px);
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(38px, 7vw, 90px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 4% 4%, rgba(var(--app-accent-rgb), 0.16), transparent 30rem),
    #0d0c11;
}

.how-copy h2 {
  margin: 0 0 17px;
  font-size: clamp(2.2rem, 4.5vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.how-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.step-list {
  display: grid;
}

.step {
  display: grid;
  min-height: 116px;
  padding: 22px 0;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-num {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(var(--app-accent-rgb), 0.24);
  border-radius: 15px;
  background: rgba(var(--app-accent-rgb), 0.1);
  color: var(--app-accent);
  font-size: 0.78rem;
  font-weight: 820;
}

.step h3 {
  margin: 1px 0 5px;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.more-apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.more-app {
  display: grid;
  min-height: 104px;
  padding: 18px;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 190ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.more-app:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.more-app img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.more-app strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1180px) {
  .hero-layout,
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.92fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 7.1vw, 6rem);
  }

  .universe-stage {
    min-height: 590px;
  }

  .stage-halo,
  .stage-ring {
    width: 530px;
    height: 530px;
  }

  .orbit-app--adventures { left: -3%; }
  .orbit-app--quizzes { right: -4%; }

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

  .rail-app:nth-child(3) {
    border-right: 0;
  }

  .rail-app:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .feed-card {
    grid-column: span 6;
  }

  .feed-skeleton {
    grid-column: span 6;
  }

  .detail-art {
    min-height: 540px;
  }

  .detail-showcase {
    max-height: 540px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 70px;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: grid;
    padding: 26px 20px 40px;
    align-content: start;
    gap: 6px;
    z-index: 120;
    overflow-y: auto;
    background: #07070a;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms var(--ease), visibility 0s linear 180ms;
  }

  body.nav-open .site-header {
    background: #07070a;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav a {
    min-height: 56px;
    padding-inline: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: 1rem;
  }

  body.nav-open .site-nav a {
    color: #f7f4fa;
    background: rgba(255, 255, 255, 0.025);
  }

  body.nav-open .site-nav a:hover,
  body.nav-open .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

  .app-card:not(.app-card--featured) {
    grid-column: span 6;
  }

  .app-card--personas {
    grid-column: span 12;
  }

  .app-card--personas .app-card__media {
    aspect-ratio: 2.2 / 1;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(3.45rem, 12vw, 6.7rem);
  }

  .universe-stage {
    width: min(680px, 100%);
    min-height: 680px;
    margin-inline: auto;
  }

  .stage-halo,
  .stage-ring {
    width: min(590px, 88vw);
    height: min(590px, 88vw);
  }

  .orbit-app--pets { left: 4%; }
  .orbit-app--horoscopes { right: 3%; }
  .orbit-app--adventures { left: 0; }
  .orbit-app--quizzes { right: 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading p {
    max-width: 640px;
  }

  .bridge-panel,
  .launch-board,
  .how-panel {
    grid-template-columns: 1fr;
  }

  .bridge-stack {
    min-height: 500px;
  }

  .launch-list {
    max-width: 760px;
  }

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

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .detail-art {
    width: min(700px, 100%);
    min-height: 560px;
    margin-inline: auto;
  }

  .detail-showcase {
    max-height: 620px;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  .container,
  .container--wide {
    width: min(calc(100% - 28px), var(--content));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 58px);
  }

  .hero h1 {
    font-size: clamp(3.35rem, 15.5vw, 5.2rem);
  }

  .hero .lede {
    margin-top: 24px;
  }

  .store-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }

  .universe-stage {
    min-height: 570px;
    margin-top: 16px;
  }

  .phone {
    width: 272px;
    border-radius: 42px;
  }

  .phone-screen {
    border-radius: 32px;
  }

  .stage-ring,
  .stage-halo {
    width: 450px;
    height: 450px;
  }

  .orbit-app {
    width: 72px;
    font-size: 0.62rem;
  }

  .orbit-app img {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }

  .orbit-app--pets { top: 3%; left: 3%; }
  .orbit-app--horoscopes { top: 4%; right: 2%; }
  .orbit-app--adventures { top: 47%; left: -1%; }
  .orbit-app--quizzes { top: 48%; right: -1%; }
  .orbit-app--personas { right: 5%; bottom: 0; }

  .hero-app-rail {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 20px;
  }

  .rail-app {
    min-height: 94px;
    padding: 12px 8px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    text-align: center;
  }

  .rail-app img {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .rail-app small {
    display: none;
  }

  .rail-app strong {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.15;
    white-space: normal;
  }

  .rail-app:nth-child(3n) {
    border-right: 0;
  }

  .rail-app:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .rail-app:nth-child(n + 4) {
    border-bottom: 0;
  }

  .app-grid {
    gap: 14px;
  }

  .app-card:not(.app-card--featured),
  .app-card--featured {
    min-height: 0;
    grid-column: span 12;
    border-radius: 28px;
  }

  .app-card--featured {
    min-height: 560px;
  }

  .app-card--personas .app-card__media {
    aspect-ratio: 16 / 9;
  }

  .app-card:not(.app-card--featured) .app-card__top {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .app-card:not(.app-card--featured) .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .featured-collage {
    top: 108px;
    right: 20px;
    left: 20px;
    width: auto;
    height: 214px;
  }

  .collage-card--one {
    left: 15%;
    width: 58%;
    height: 75%;
  }

  .collage-card--two {
    right: 4%;
    bottom: -1%;
    width: 46%;
    height: 65%;
  }

  .collage-card--three {
    left: 0;
    right: auto;
    bottom: 3%;
    width: 36%;
  }

  .app-card--featured .app-card__copy {
    padding-top: 272px;
  }

  .bridge-panel,
  .launch-board,
  .how-panel {
    padding: 26px;
    border-radius: 30px;
  }

  .bridge-stack {
    display: grid;
    min-height: 0;
    gap: 12px;
  }

  .bridge-card,
  .bridge-card:nth-child(1),
  .bridge-card:nth-child(2),
  .bridge-card:nth-child(3) {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .bridge-card {
    width: 96%;
  }

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

  .launch-item img {
    width: 50px;
    height: 50px;
  }

  .launch-platforms {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 66px;
  }

  .feed-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .feed-filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .feed-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .feed-card {
    grid-column: span 12;
  }

  .feed-skeleton {
    grid-column: span 12;
  }

  .feed-media {
    aspect-ratio: 3 / 2;
  }

  .feed-media__action {
    min-height: 32px;
    padding-inline: 9px;
    font-size: 0.62rem;
  }

  .media-preview {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    border-radius: 24px;
  }

  .media-preview__panel {
    border-radius: 24px;
  }

  .media-preview__header {
    min-height: 78px;
    padding: 15px 15px 14px 18px;
  }

  .media-preview__close {
    width: 46px;
    height: 46px;
  }

  .media-preview__stage {
    min-height: 280px;
  }

  .media-preview__image,
  .media-preview__video {
    max-height: 56svh;
  }

  .media-preview__details {
    padding: 18px;
  }

  .media-preview__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .media-preview__footer .button {
    width: 100%;
  }

  .media-preview__audio {
    min-height: 390px;
    padding: 28px 18px;
    gap: 28px;
  }

  .media-preview__waveform {
    width: 100%;
    height: 110px;
    gap: 3px;
  }

  .media-preview__waveform i {
    width: 5px;
  }

  .media-preview__model,
  .media-preview__model-poster,
  .media-preview__model-viewer {
    min-height: 390px;
    height: min(56svh, 520px);
  }

  .model-preview {
    min-height: 456px;
  }

  .model-preview__scene {
    height: 396px;
  }

  .model-turntable {
    transform: translate(-50%, -48%) scale(0.78) rotateX(-8deg) rotateY(var(--model-angle));
  }

  .model-turntable.is-auto {
    animation-name: lighthouse-spin-mobile;
  }

  @keyframes lighthouse-spin-mobile {
    from { transform: translate(-50%, -48%) scale(0.78) rotateX(-8deg) rotateY(-24deg); }
    to { transform: translate(-50%, -48%) scale(0.78) rotateX(-8deg) rotateY(336deg); }
  }

  .detail-hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .detail-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .detail-copy {
    display: contents;
  }

  .detail-icon {
    order: 1;
    width: 86px;
    height: 86px;
    margin-bottom: 24px;
    border-radius: 25px;
  }

  .detail-copy .eyebrow { order: 2; }

  .detail-title {
    order: 3;
    font-size: clamp(3.3rem, 16vw, 5.1rem);
  }

  .detail-tagline {
    order: 4;
    margin-bottom: 0;
  }

  .detail-art {
    order: 5;
    min-height: 310px;
    margin: 24px 0 28px;
  }

  .detail-copy .lede { order: 6; }
  .detail-copy .store-buttons { order: 7; }
  .detail-copy .detail-status { order: 8; }
  .detail-copy .detail-note { order: 9; }

  .detail-showcase {
    width: min(430px, 96%);
    border-radius: 25px;
  }

  .detail-float {
    min-height: 58px;
    padding: 9px 12px;
  }

  .detail-float--one {
    top: 0;
    left: 0;
  }

  .detail-float--two {
    right: 0;
    bottom: 0;
  }

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

  .feature-card:last-child {
    grid-column: auto;
  }

  .feature-card {
    min-height: 216px;
  }

  .feature-card__number {
    margin-bottom: 30px;
  }

  .more-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

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

@media (max-width: 460px) {
  .hero-app-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .rail-app,
  .rail-app:nth-child(3),
  .rail-app:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .rail-app:nth-child(3n) {
    border-right: 0;
  }

  .rail-app:nth-child(n + 4) {
    border-bottom: 0;
  }

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

  .phone {
    width: 245px;
  }

  .stage-ring,
  .stage-halo {
    width: 390px;
    height: 390px;
  }

  .orbit-app--adventures { top: 53%; }
  .orbit-app--quizzes { top: 53%; }

  .launch-platforms {
    padding-left: 0;
  }

  .more-apps-grid {
    grid-template-columns: 1fr;
  }

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

  .feed-media__action span {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .media-preview__details > p {
    font-size: 0.86rem;
  }

  .media-preview__footer > span {
    font-size: 0.7rem;
  }

  .media-preview__audio-label {
    font-size: 0.68rem;
  }

  .model-preview__controls {
    padding-inline: 10px;
  }

  .model-preview__auto {
    min-width: 118px !important;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (forced-colors: active) {
  .text-gradient {
    background: none;
    color: CanvasText;
  }

  .status-pill::before,
  .feed-state::before,
  .feed-media__type::before {
    border: 1px solid CanvasText;
  }
}
