:root {
  color-scheme: dark;
  --bg: #09060b;
  --bg-soft: #130d16;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #fff7fb;
  --muted: #cdb8c6;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff4fb8;
  --rose: #ff6aa2;
  --violet: #a76bff;
  --coral: #ff7a68;
  --gold: #ffd37a;
  --teal: #4ee8dc;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@media (min-width: 761px) {
  html {
    scroll-snap-type: y mandatory;
  }
}

body {
  width: 100%;
  overflow-x: hidden;
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 79, 184, 0.22), transparent 34rem),
    radial-gradient(circle at 6% 42%, rgba(167, 107, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 74% 76%, rgba(255, 122, 104, 0.14), transparent 38rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 12%, black, transparent 74%);
  content: "";
}

.aurora-field {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-field span {
  position: absolute;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  filter: blur(62px);
  opacity: 0.38;
  transform: translate3d(0, 0, 0);
  animation: auroraFloat 13s ease-in-out infinite alternate;
}

.aurora-field span:nth-child(1) {
  top: -18vw;
  left: 48vw;
  background: #ff4fb8;
}

.aurora-field span:nth-child(2) {
  right: -12vw;
  bottom: 2vw;
  background: #a76bff;
  animation-delay: -5s;
}

.aurora-field span:nth-child(3) {
  bottom: -22vw;
  left: 10vw;
  background: #ff7a68;
  opacity: 0.28;
  animation-delay: -9s;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 8, 10, 0.72);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(255, 79, 184, 0.34);
  animation: brandPulse 5s ease-in-out infinite;
}

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

.site-nav a {
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 15px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.site-nav .nav-download {
  background: linear-gradient(135deg, #fff7fb, #ffd7e8);
  color: #071113;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  border-radius: 99px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 102px 20px 34px;
}

.snap-panel {
  --panel-y: 0px;
  --panel-scale: 1;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: opacity 780ms ease, filter 780ms ease, transform 780ms ease;
  transform: translate3d(0, var(--panel-y), 0) scale(var(--panel-scale));
}

body.panel-motion-ready .snap-panel {
  --panel-y: 0px;
  --panel-scale: 1;
  opacity: 1;
  filter: none;
}

body.panel-motion-ready .snap-panel.is-before {
  --panel-y: 0px;
}

body.panel-motion-ready .snap-panel.is-current {
  --panel-y: 0px;
  --panel-scale: 1;
  opacity: 1;
  filter: none;
}

.section.snap-panel::after,
.download-section.snap-panel::before {
  position: absolute;
  z-index: 0;
  inset: 10% -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 79, 184, 0.2), transparent 34%),
    radial-gradient(circle at 70% 62%, rgba(167, 107, 255, 0.14), transparent 38%),
    linear-gradient(90deg, transparent, rgba(255, 122, 104, 0.08), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 36px, 0) rotate(-5deg) scale(0.96);
  transition: opacity 900ms ease, transform 900ms ease;
  content: "";
}

.section.snap-panel.is-current::after,
.download-section.snap-panel.is-current::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  animation: panelSweep 5.6s ease-in-out infinite alternate;
}

.section.snap-panel > *,
.download-section.snap-panel > * {
  position: relative;
  z-index: 1;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.86) brightness(0.72);
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, var(--bg));
  content: "";
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 11, 0.96), rgba(9, 6, 11, 0.64) 46%, rgba(9, 6, 11, 0.34)),
    radial-gradient(circle at 72% 48%, rgba(255, 79, 184, 0.2), transparent 32rem),
    radial-gradient(circle at 82% 64%, rgba(167, 107, 255, 0.14), transparent 28rem);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, var(--max));
  min-height: calc(100svh - 136px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 520px);
  gap: clamp(36px, 5vw, 64px);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff9bc9;
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 0.98;
  text-shadow: 0 0 46px rgba(255, 79, 184, 0.24), 0 0 90px rgba(167, 107, 255, 0.14);
}

.hero-kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 79, 184, 0.32);
  border-radius: 999px;
  background: rgba(255, 79, 184, 0.13);
  color: #ffe8f3;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 18px;
  color: #f5fff9;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.22;
}

.hero-text,
.section-heading p,
.feature-list p,
.harmony-grid p,
.source-card p,
.download-section p,
.site-footer p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.hero-text {
  max-width: 690px;
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--pink), #ff9ac8 46%, var(--gold));
  color: #061012;
  box-shadow: 0 18px 46px rgba(255, 79, 184, 0.3);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-stage {
  position: relative;
  align-self: center;
  width: min(100%, 560px);
  min-height: 560px;
  justify-self: center;
}

.hero-phone-stack {
  perspective: 1200px;
}

.phone-shot {
  position: absolute;
  top: 45%;
  left: 50%;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(160deg, #20222a, #05060a 58%, #171922);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(255, 255, 255, 0.04),
    0 34px 92px rgba(0, 0, 0, 0.5),
    0 0 52px rgba(255, 79, 184, 0.18);
  line-height: 0;
  transform-style: preserve-3d;
  transition: transform 520ms ease, filter 520ms ease, box-shadow 520ms ease;
}

.phone-shot::after {
  position: absolute;
  top: 28%;
  right: -3px;
  width: 3px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.phone-shot img {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.phone-shot-main {
  z-index: 5;
  width: 196px;
  aspect-ratio: 660 / 1425;
  transform: translate3d(-30%, -50%, 80px) rotate(2deg);
}

.phone-shot-left,
.phone-shot-second,
.phone-shot-right {
  z-index: 3;
  width: 186px;
  aspect-ratio: 660 / 1425;
  filter: saturate(0.96) brightness(0.9);
}

.phone-shot-left {
  z-index: 2;
  transform: translate3d(-158%, -42%, -30px) rotate(-17deg);
}

.phone-shot-second {
  z-index: 4;
  transform: translate3d(-96%, -48%, 32px) rotate(-7deg);
}

.phone-shot-right {
  z-index: 3;
  transform: translate3d(36%, -42%, -24px) rotate(16deg);
}

.hero-phone-stack:hover .phone-shot-main {
  box-shadow: 0 38px 104px rgba(0, 0, 0, 0.5), 0 0 68px rgba(255, 79, 184, 0.24);
  transform: translate3d(-30%, -52%, 90px) rotate(2deg);
}

.hero-phone-stack:hover .phone-shot-left {
  filter: saturate(1.04) brightness(0.98);
  transform: translate3d(-164%, -44%, -10px) rotate(-15deg);
}

.hero-phone-stack:hover .phone-shot-second {
  filter: saturate(1.04) brightness(0.98);
  transform: translate3d(-102%, -50%, 42px) rotate(-5deg);
}

.hero-phone-stack:hover .phone-shot-right {
  filter: saturate(1.04) brightness(0.98);
  transform: translate3d(42%, -44%, -4px) rotate(14deg);
}

.hero-device {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 32px 70px rgba(255, 79, 184, 0.16)) drop-shadow(0 32px 70px rgba(0, 0, 0, 0.42));
  animation: deviceFloat 6s ease-in-out infinite;
}

.hero-device img {
  width: 100%;
  border-radius: 32px;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  inset: 2% -24% 4% -28%;
  border: 1px solid rgba(255, 79, 184, 0.26);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: orbitPulse 7s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after,
.hero-orbit span {
  position: absolute;
  border-radius: 999px;
  content: "";
}

.hero-orbit::before {
  inset: 12%;
  border: 1px solid rgba(245, 207, 121, 0.18);
}

.hero-orbit::after {
  inset: 26%;
  border: 1px solid rgba(255, 128, 104, 0.18);
}

.hero-orbit span {
  width: 12px;
  height: 12px;
  background: var(--pink);
  box-shadow: 0 0 24px var(--pink);
}

.hero-orbit span:nth-child(1) {
  top: 14%;
  right: 20%;
}

.hero-orbit span:nth-child(2) {
  right: 6%;
  bottom: 28%;
  background: var(--gold);
  box-shadow: 0 0 24px var(--gold);
}

.hero-orbit span:nth-child(3) {
  bottom: 18%;
  left: 18%;
  background: var(--coral);
  box-shadow: 0 0 24px var(--coral);
}

.metric-strip {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: -26px auto 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric-strip div {
  min-height: 112px;
  padding: 24px;
  background: rgba(19, 13, 22, 0.9);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  margin-bottom: 10px;
  font-size: 22px;
}

.metric-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 118px 0 0;
}

.section.snap-panel {
  min-height: 100svh;
  padding-top: max(118px, 11svh);
  padding-bottom: 72px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.section-heading.compact {
  max-width: 560px;
  margin-bottom: 0;
}

.experience-visual {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 79, 184, 0.2), transparent 40%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(255, 79, 184, 0.12), 0 20px 70px rgba(0, 0, 0, 0.26);
}

.experience-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 6, 11, 0.03), rgba(9, 6, 11, 0.42)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%);
  content: "";
  pointer-events: none;
}

.experience-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.01);
  transition: transform 900ms ease, filter 900ms ease;
}

.panel-experience.is-current .experience-visual img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.035);
}

.source-grid,
.harmony-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.protocol-rail {
  display: flex;
  gap: 10px;
  overflow: hidden;
  margin: -16px 0 28px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.protocol-rail span {
  flex: 0 0 auto;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffe8f4;
  font-size: 14px;
  font-weight: 750;
  animation: railFloat 8s ease-in-out infinite alternate;
}

.protocol-rail span:nth-child(2n) {
  color: #fff0d0;
  animation-delay: -2s;
}

.library-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.library-matrix article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.library-matrix article:hover {
  border-color: rgba(255, 79, 184, 0.36);
  background: linear-gradient(180deg, rgba(255, 79, 184, 0.15), rgba(255, 255, 255, 0.052));
  transform: translateY(-3px);
}

.library-matrix span {
  display: block;
  margin-bottom: 10px;
  color: #ff9bc9;
  font-size: 12px;
  font-weight: 850;
}

.library-matrix strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.library-matrix p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.library-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  object-fit: contain;
}

.logo-pair {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  margin: 0;
}

.logo-pair .library-logo {
  width: 30px;
  height: 30px;
  padding: 5px;
}

.source-card,
.harmony-grid article,
.feature-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.045));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.source-card:hover,
.harmony-grid article:hover,
.feature-list article:hover,
.feature-showcase-grid article:hover {
  border-color: rgba(255, 79, 184, 0.38);
  box-shadow: 0 28px 80px rgba(255, 79, 184, 0.16), 0 20px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}

.source-card {
  min-height: 430px;
  overflow: hidden;
  padding: 14px 14px 26px;
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 79, 184, 0.2), transparent 36%),
    radial-gradient(circle at 82% 80%, rgba(255, 128, 104, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.05);
  object-fit: cover;
  object-position: center;
  transition: transform 480ms ease, filter 480ms ease;
}

.source-card:hover .card-media,
.feature-showcase-grid article:hover .showcase-image {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.025);
}

.source-card h3,
.source-card p {
  padding-inline: 10px;
}

.split-section {
  display: grid;
  align-items: start;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  min-height: 150px;
  padding: 28px;
}

.harmony-section {
  position: relative;
  overflow: hidden;
}

.harmony-section::before {
  position: absolute;
  top: 80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 128, 104, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

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

.harmony-grid article {
  min-height: 192px;
  padding: 30px;
}

.feature-showcase {
  overflow: hidden;
}

.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 900px;
}

.feature-showcase-grid article {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 14px 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 79, 184, 0.36), transparent 34%),
    radial-gradient(circle at 28% 85%, rgba(167, 107, 255, 0.26), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
  transform: rotateX(4deg) rotateY(-5deg);
  transform-origin: center;
}

.feature-showcase-grid article:nth-child(2) {
  transform: translateY(26px) rotateX(3deg);
}

.feature-showcase-grid article:nth-child(3) {
  transform: rotateX(4deg) rotateY(5deg);
}

.feature-showcase-grid span,
.feature-showcase-grid strong,
.feature-showcase-grid p {
  position: relative;
  z-index: 1;
}

.showcase-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 79, 184, 0.22), transparent 40%),
    radial-gradient(circle at 74% 88%, rgba(167, 107, 255, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.06);
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  transition: transform 480ms ease, filter 480ms ease;
}

.feature-showcase-grid span {
  display: block;
  margin-bottom: 14px;
  color: #ff9bc9;
  font-size: 15px;
  font-weight: 850;
}

.feature-showcase-grid strong {
  display: block;
  max-width: 240px;
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.2;
}

.feature-showcase-grid p {
  max-width: 300px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer nav a {
  color: #ffe8f4;
  text-decoration: underline;
  text-decoration-color: rgba(255, 79, 184, 0.42);
  text-underline-offset: 5px;
}

.download-section {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: 286px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 118px auto 0;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 79, 184, 0.18), rgba(167, 107, 255, 0.13), rgba(255, 122, 104, 0.14)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.source-grid .reveal:nth-child(2),
.feature-list .reveal:nth-child(2),
.harmony-grid .reveal:nth-child(2),
.feature-showcase-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.source-grid .reveal:nth-child(3),
.feature-list .reveal:nth-child(3),
.harmony-grid .reveal:nth-child(3),
.feature-showcase-grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.source-grid .reveal:nth-child(4),
.harmony-grid .reveal:nth-child(4) {
  transition-delay: 270ms;
}

.source-card.reveal.is-visible:hover,
.harmony-grid article.reveal.is-visible:hover,
.feature-list article.reveal.is-visible:hover,
.feature-showcase-grid article.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.download-section h2 {
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin: 76px auto 0;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

.site-footer .footer-friend-links {
  display: flex;
  margin: 2px 0 0;
  justify-content: flex-end;
  text-align: right;
}

.footer-legal {
  flex: 0 0 100%;
  margin: -8px 0 0;
  color: #9f8f9b;
  font-size: 9px;
  text-align: center;
}

.footer-legal a {
  margin-left: 10px;
  color: #d9c8d3;
  text-decoration: underline;
  text-decoration-color: rgba(255, 79, 184, 0.34);
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero-inner,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-device {
    width: min(74vw, 360px);
  }

  .hero-stage {
    width: min(92vw, 520px);
    min-height: 548px;
  }

  .phone-shot-main {
    width: 188px;
  }

  .phone-shot-left,
  .phone-shot-second,
  .phone-shot-right {
    width: 164px;
  }

  .metric-strip,
  .source-grid,
  .library-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.compact {
    max-width: 760px;
  }

  .experience-visual {
    max-width: 640px;
  }

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

  .feature-showcase-grid article,
  .feature-showcase-grid article:nth-child(2),
  .feature-showcase-grid article:nth-child(3) {
    min-height: 330px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    border-radius: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(330px, calc(100vw - 20px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(5, 8, 10, 0.94);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 116px 20px 54px;
  }

  .hero-inner {
    min-height: auto;
    gap: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: 1.02;
  }

  .hero-actions,
  .download-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric-strip,
  .source-grid,
  .library-matrix,
  .harmony-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 86px;
  }

  body.panel-motion-ready .snap-panel {
    --panel-y: 0px;
    --panel-scale: 1;
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .download-section {
    margin-top: 86px;
    padding: 30px;
  }

  .hero-stage {
    width: min(100%, 360px);
    min-height: 300px;
    max-width: calc(100vw - 40px);
  }

  .phone-shot-main {
    width: 118px;
    padding: 7px;
    border-radius: 26px;
  }

  .phone-shot-left,
  .phone-shot-second,
  .phone-shot-right {
    width: 108px;
    padding: 7px;
    border-radius: 24px;
  }

  .phone-shot-left {
    transform: translate3d(-150%, -40%, -20px) rotate(-15deg);
  }

  .phone-shot-second {
    transform: translate3d(-98%, -45%, 24px) rotate(-7deg);
  }

  .phone-shot-main {
    transform: translate3d(-34%, -45%, 70px) rotate(2deg);
  }

  .phone-shot-right {
    transform: translate3d(32%, -40%, -10px) rotate(13deg);
  }

  .hero-phone-stack:hover .phone-shot-main {
    transform: translate3d(-34%, -45%, 70px) rotate(2deg);
  }

  .hero-phone-stack:hover .phone-shot-left {
    transform: translate3d(-150%, -40%, -20px) rotate(-15deg);
  }

  .hero-phone-stack:hover .phone-shot-second {
    transform: translate3d(-98%, -45%, 24px) rotate(-7deg);
  }

  .hero-phone-stack:hover .phone-shot-right {
    transform: translate3d(32%, -40%, -10px) rotate(13deg);
  }

  .phone-shot img {
    border-radius: 20px;
  }

  .hero-art {
    transform: none;
    animation: none;
    opacity: 0.24;
    filter: saturate(0.76) brightness(0.66);
  }

  .hero-orbit {
    display: none;
  }

  .protocol-rail {
    flex-wrap: wrap;
    overflow: visible;
    border-radius: 20px;
    mask-image: none;
  }

  .protocol-rail span {
    animation: none;
  }

  .aurora-field {
    display: none;
  }

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

  .footer-link-group {
    align-items: flex-start;
  }

  .site-footer .footer-friend-links {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

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

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

  body.panel-motion-ready .snap-panel {
    --panel-y: 0px;
    --panel-scale: 1;
    opacity: 1;
    filter: none;
  }
}

@keyframes auroraFloat {
  from {
    transform: translate3d(-4%, 2%, 0) scale(1);
  }
  to {
    transform: translate3d(6%, -4%, 0) scale(1.14);
  }
}

@keyframes brandPulse {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(255, 79, 184, 0.32);
  }
  50% {
    box-shadow: 0 0 42px rgba(255, 154, 200, 0.44);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.3deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(0.4deg);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes panelSweep {
  from {
    opacity: 0.56;
    transform: translate3d(-1.4%, 12px, 0) rotate(-3deg) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(1.6%, -10px, 0) rotate(2deg) scale(1.02);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.64;
    transform: rotate(-18deg) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: rotate(-12deg) scale(1.04);
  }
}

@keyframes railFloat {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-18px);
  }
}
