/* =========================================================
   Mp3 Music Downloader & Player — site styles
   ========================================================= */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #08060f;
  --ink-2: #0d0a16;
  --ink-3: #12101c;
  --text: #f7f4ff;
  --muted: #b3adc4;
  --muted-2: #817a97;
  --violet: #8b5cf6;
  --violet-soft: #c4b5fd;
  --pink: #f472b6;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --card: rgba(255, 255, 255, 0.035);
  --gradient: linear-gradient(115deg, #a78bfa 0%, #8b5cf6 38%, #f472b6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(244, 114, 182, 0.1));
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  --radius: 26px;
  --container: 1180px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 620px at 88% -8%, rgba(139, 92, 246, 0.17), transparent 62%),
    radial-gradient(700px 520px at -8% 18%, rgba(244, 114, 182, 0.07), transparent 64%),
    radial-gradient(900px 700px at 50% 110%, rgba(91, 33, 182, 0.13), transparent 68%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #08060f;
}
::-webkit-scrollbar-thumb {
  background: #2a2338;
  border-radius: 99px;
  border: 2px solid #08060f;
}
::-webkit-scrollbar-thumb:hover {
  background: #3d3452;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

img {
  height: auto;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #0a0712;
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   Buttons & shared bits
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow:
    0 12px 34px -12px rgba(139, 92, 246, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px -12px rgba(139, 92, 246, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #ece8f7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.btn--lg {
  min-height: 58px;
  padding-inline: 27px;
  font-size: 0.95rem;
}

.btn--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.8rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 22px 8px 18px;
  border-radius: 16px;
  background: #f7f4ff;
  color: #0b0812;
  box-shadow:
    0 16px 40px -18px rgba(255, 255, 255, 0.35),
    inset 0 1px 0 #fff;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow:
    0 22px 50px -18px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 #fff;
}

.store-btn .store-icon {
  width: 25px;
  height: 25px;
  color: #0b0812;
}

.store-btn small,
.store-btn strong {
  display: block;
  text-align: left;
  line-height: 1.2;
}

.store-btn small {
  margin-bottom: 2px;
  color: #655d78;
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.store-btn strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.actions--center {
  justify-content: center;
}

.fineprint {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.6;
}

.fineprint a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 3px;
}

.fineprint a:hover {
  color: var(--text);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  color: var(--violet-soft);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gradient);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 10px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--violet-soft);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.9);
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 6, 15, 0.78);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 6px 24px -8px rgba(37, 99, 235, 0.55);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.05);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.brand__sub {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.nav > a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  transition: color 0.25s var(--ease);
}

.nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav > a:hover,
.nav > a[aria-current="page"] {
  color: var(--text);
}

.nav > a:hover::after,
.nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: none;
}

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

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle__box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle__box span {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--text);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(132px, 18vh, 188px) 0 clamp(68px, 9vw, 108px);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -18%;
  width: min(780px, 68vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 48px;
}

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

.hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(2.65rem, 4.6vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: inline;
}

.hero__lead {
  max-width: 47ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero .actions {
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.hero-meta .icon {
  width: 14px;
  height: 14px;
  color: #a7f3d0;
}

.hero .fineprint {
  margin-top: 16px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.hero-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.36), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(244, 114, 182, 0.2), transparent 55%);
  filter: blur(38px);
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  width: min(480px, 86%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring--one {
  transform: rotate(12deg);
}

.hero-ring--two {
  width: min(390px, 70%);
  border-color: rgba(196, 181, 253, 0.1);
  transform: rotate(-16deg);
}

.hero-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px var(--pink);
}

.hero-ring--two::after {
  top: 18%;
  left: auto;
  right: 4%;
  background: var(--violet-soft);
  box-shadow: 0 0 14px var(--violet-soft);
}

.phone {
  position: relative;
  isolation: isolate;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(155deg, #322a43, #171221 45%, #08060f);
  box-shadow:
    0 50px 110px -28px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.phone__screen {
  position: relative;
  aspect-ratio: 1080 / 2340;
  overflow: hidden;
  border-radius: 34px;
  background: #05040a;
}

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

.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), transparent 26%, transparent 70%, rgba(255, 255, 255, 0.025));
  pointer-events: none;
}

.phone__island {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 28%;
  height: 20px;
  border-radius: 999px;
  background: #05040a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
  pointer-events: none;
}

.phone--hero {
  position: relative;
  z-index: 2;
  width: min(320px, 72vw);
  transform: rotate(2.2deg);
}

.phone--hero .phone__screen {
  border-radius: 34px;
}

.phone--hero::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 56px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.4), rgba(244, 114, 182, 0.12), transparent 60%);
  filter: blur(24px);
  opacity: 0.75;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(15, 11, 24, 0.74);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.float-card strong,
.float-card span {
  display: block;
  line-height: 1.3;
}

.float-card strong {
  font-size: 0.72rem;
  font-weight: 500;
}

.float-card span {
  color: var(--muted-2);
  font-size: 0.6rem;
}

.float-card--now {
  top: 15%;
  left: -2%;
}

.float-card--offline {
  right: -1%;
  bottom: 13%;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(167, 139, 250, 0.14);
  color: #a7f3d0;
}

.float-card__icon .icon {
  width: 15px;
  height: 15px;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.13);
}

.eq span {
  width: 3px;
  border-radius: 99px;
  background: var(--gradient);
  transform-origin: bottom;
  animation: eq 1.15s ease-in-out infinite;
}

.eq span:nth-child(1) {
  height: 55%;
  animation-delay: -0.2s;
}
.eq span:nth-child(2) {
  height: 100%;
  animation-delay: -0.55s;
}
.eq span:nth-child(3) {
  height: 72%;
  animation-delay: -0.85s;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

/* =========================================================
   Value strip
   ========================================================= */

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.026);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 10px;
  color: var(--muted);
  font-size: 0.74rem;
  border-right: 1px solid var(--line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item .icon {
  width: 16px;
  height: 16px;
  color: var(--violet-soft);
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  position: relative;
  padding: clamp(74px, 9vw, 118px) 0;
}

.section--tight {
  padding-top: 30px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}

.section-head > div {
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-head .dim {
  color: #6e6684;
}

.section-head > p {
  max-width: 40ch;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.section-head p a {
  color: var(--violet-soft);
  text-decoration: underline;
  text-decoration-color: rgba(196, 181, 253, 0.4);
  text-underline-offset: 3px;
}

.section-head p a:hover {
  color: #fff;
}

.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center > div {
  max-width: none;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head--center .kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
}

.section-head--center > p {
  max-width: 52ch;
  padding-bottom: 0;
}

/* =========================================================
   Feature bento
   ========================================================= */

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

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 58%),
    var(--ink-2);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at var(--mx, 78%) var(--my, 0%), rgba(139, 92, 246, 0.17), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.85);
}

.feature-card:hover::before,
.feature-card:hover::after {
  opacity: 1;
}

.feature-card--wide {
  grid-column: span 2;
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.26), rgba(244, 114, 182, 0.1));
  color: #ddd2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.feature-icon .icon {
  width: 21px;
  height: 21px;
}

.feature-copy {
  position: relative;
  z-index: 1;
  max-width: 52ch;
  margin-top: auto;
  padding-top: 40px;
}

.feature-copy h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.feature-copy p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.68;
}

.feature-card--wide .feature-copy {
  max-width: 46%;
}

.feature-visual {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 1;
  width: 44%;
  max-width: 360px;
}

.feature-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 114, 182, 0.22);
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.07);
  color: #f9a8d4;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-badge .icon {
  width: 13px;
  height: 13px;
}

/* Mock search */

.mock-search__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 14px;
  background: rgba(8, 6, 15, 0.56);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}

.mock-search__bar .icon {
  width: 15px;
  height: 15px;
  color: var(--violet-soft);
}

.mock-search__bar em {
  color: #ded8ea;
  font-size: 0.72rem;
  font-style: normal;
}

.mock-count {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #9d94b3;
  font-size: 0.52rem;
  white-space: nowrap;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.mock-chip {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aaa2bc;
  font-size: 0.55rem;
}

.mock-chip--active {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(139, 92, 246, 0.14);
  color: #d8ccff;
}

/* Waveform */

.wave {
  position: absolute;
  top: 34px;
  right: 30px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.wave span {
  width: 4px;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, #a78bfa, #f472b6);
  opacity: 0.85;
  transform-origin: bottom;
  animation: wave 1.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.09s);
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.95;
  }
}

/* Queue mini */

.queue-mini {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: min(220px, 46%);
}

.queue-mini__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.queue-mini__art {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #8b5cf6, #f472b6);
}

.queue-mini__row:nth-child(2) .queue-mini__art {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.queue-mini__row:nth-child(3) .queue-mini__art {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.queue-mini__lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.queue-mini__lines i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.queue-mini__lines i:first-child {
  width: 72%;
  background: rgba(255, 255, 255, 0.4);
}

.queue-mini__lines i:last-child {
  width: 46%;
}

.queue-mini__grip {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.queue-mini__grip i {
  display: block;
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Mini player */

.mini-player {
  position: absolute;
  top: 30px;
  right: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(270px, 52%);
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 6, 15, 0.56);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

.mini-player__art {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 50%, #0b0812 0 6%, transparent 6.5%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #8b5cf6, #f472b6);
}

.mini-player__meta {
  min-width: 0;
  flex: 1;
}

.mini-player__meta strong {
  display: block;
  overflow: hidden;
  color: #eee9fb;
  font-size: 0.65rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-player__meta span {
  display: block;
  color: var(--muted-2);
  font-size: 0.55rem;
}

.mini-player__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 3px;
  color: #ded7ef;
}

.mini-player__controls .icon {
  width: 11px;
  height: 11px;
}

.mini-player__play {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
}

.mini-player__play .icon {
  width: 9px;
  height: 9px;
  margin-left: 1px;
}

/* =========================================================
   Screen gallery
   ========================================================= */

.section-head--gallery {
  margin-bottom: 34px;
}

.gallery-controls {
  display: flex;
  gap: 9px;
  padding-bottom: 4px;
}

.gallery-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.gallery-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.36);
  background: rgba(139, 92, 246, 0.13);
}

.gallery-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.gallery-btn .icon {
  width: 19px;
  height: 19px;
}

.gallery {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 clamp(210px, 22vw, 254px);
  scroll-snap-align: start;
}

.shot .phone {
  padding: 6px;
  border-radius: 30px;
  transition: transform 0.45s var(--ease);
}

.shot .phone__screen {
  border-radius: 25px;
}

.shot .phone__island {
  top: 12px;
  height: 13px;
}

.shot:hover .phone {
  transform: translateY(-6px);
}

.shot figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  padding: 15px 4px 0;
}

.shot-index {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.shot h3 {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.shot figcaption p {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.5;
}

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

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-dots[hidden] {
  display: none;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition:
    width 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.gallery-dot[aria-current="true"] {
  width: 22px;
  background: var(--gradient);
}

.gallery-note {
  color: var(--muted-2);
  font-size: 0.66rem;
}

/* =========================================================
   Steps
   ========================================================= */

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

.step {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.step::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -55%;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.13), transparent 68%);
  pointer-events: none;
}

.step__num {
  position: absolute;
  top: 18px;
  right: 23px;
  color: rgba(196, 181, 253, 0.18);
  font-size: 2.9rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 40px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 15px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet-soft);
}

.step__icon .icon {
  width: 20px;
  height: 20px;
}

.step h3 {
  margin-bottom: 7px;
  font-size: 1.16rem;
  letter-spacing: -0.025em;
}

.step p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.68;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-wrap {
  padding-bottom: clamp(70px, 9vw, 110px);
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 88px) 24px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(720px 360px at 50% -10%, rgba(139, 92, 246, 0.3), transparent 66%),
    radial-gradient(520px 300px at 85% 100%, rgba(244, 114, 182, 0.12), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  text-align: center;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  top: -110px;
  left: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta::after {
  right: -100px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta__mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 18px;
  box-shadow: 0 18px 55px -18px rgba(37, 99, 235, 0.75);
}

.cta h2 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cta__lead {
  max-width: 44ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.cta .actions {
  justify-content: center;
  margin-top: 30px;
}

.cta .fineprint {
  margin-top: 18px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 3, 8, 0.42);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr;
  gap: 56px;
  padding: 62px 0 44px;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
  color: var(--violet-soft);
  font-size: 0.75rem;
  transition: color 0.25s var(--ease);
}

.footer-contact:hover {
  color: #fff;
}

.footer-contact .icon {
  width: 14px;
  height: 14px;
}

.footer-col h2 {
  margin-bottom: 17px;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.78rem;
  transition:
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  max-width: 54ch;
  text-align: right;
}

/* =========================================================
   App page
   ========================================================= */

.page-hero {
  position: relative;
  padding: clamp(128px, 16vh, 170px) 0 clamp(50px, 7vw, 80px);
  overflow: clip;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted-2);
  font-size: 0.68rem;
}

.breadcrumb a {
  transition: color 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb span[aria-current] {
  color: var(--muted);
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 60px;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.app-head__icon {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 20px;
  box-shadow:
    0 18px 40px -18px rgba(139, 92, 246, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-head__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.app-head .kicker {
  margin-bottom: 5px;
}

.app-head .kicker::before {
  display: none;
}

.app-head .brand__name {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.app-head .brand__sub {
  font-size: 0.58rem;
}

.app-hero h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.app-hero .hero__lead {
  max-width: 50ch;
}

.app-hero .actions {
  margin-top: 28px;
}

.app-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
}

.app-art__glow {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32), rgba(244, 114, 182, 0.08) 55%, transparent 70%);
  filter: blur(34px);
}

.phone--app-back {
  position: absolute;
  width: min(245px, 42vw);
  transform: translate(-88px, 18px) rotate(-8deg);
  opacity: 0.7;
  filter: saturate(0.85) brightness(0.82);
}

.phone--app-front {
  position: relative;
  z-index: 2;
  width: min(285px, 48vw);
  transform: rotate(3deg);
}

.phone--app-front::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 54px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.38), rgba(244, 114, 182, 0.12), transparent 60%);
  filter: blur(22px);
  opacity: 0.7;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.fact {
  padding: 23px 24px;
  background: #0b0813;
}

.fact__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fact span:last-child {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.68rem;
}

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

.detail-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.24);
  background-color: rgba(255, 255, 255, 0.018);
}

.detail-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 13px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet-soft);
}

.detail-card__icon .icon {
  width: 19px;
  height: 19px;
}

.detail-card h3 {
  margin: 2px 0 6px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.detail-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.66;
}

.privacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(139, 92, 246, 0.15), transparent 65%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

.privacy-panel__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 20px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-soft);
}

.privacy-panel__icon .icon {
  width: 27px;
  height: 27px;
}

.privacy-panel h2 {
  max-width: 20ch;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
}

.privacy-panel p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.privacy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.privacy-tag {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.62rem;
}

.privacy-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--violet-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.privacy-panel__link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.privacy-panel__link:hover .icon {
  transform: translateX(3px);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 60px;
}

.faq-layout .section-head {
  display: block;
  margin: 0;
}

.faq-layout .section-head p {
  max-width: 36ch;
  margin-top: 16px;
  padding: 0;
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.faq:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq[open] {
  border-color: rgba(167, 139, 250, 0.22);
  background: rgba(139, 92, 246, 0.045);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 19px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
  list-style: none;
}

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

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq[open] .faq__icon::before,
.faq[open] .faq__icon::after {
  background: var(--violet-soft);
}

.faq p {
  padding: 0 19px 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.72;
}

/* =========================================================
   Legal page
   ========================================================= */

.legal-page {
  padding: clamp(128px, 16vh, 170px) 0 100px;
}

.legal-header {
  max-width: 790px;
  margin-bottom: 48px;
}

.legal-header h1 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.legal-header p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
}

.legal-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-size: 0.62rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.legal-toc h2 {
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.legal-toc a:hover {
  color: var(--text);
}

.legal-body {
  max-width: 790px;
}

.legal-callout {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  padding: 20px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.06);
}

.legal-callout .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--violet-soft);
}

.legal-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.legal-body h2 {
  margin: 42px 0 13px;
  scroll-margin-top: 110px;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 20px;
  list-style: disc;
}

.legal-body li {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.legal-body li::marker {
  color: var(--violet-soft);
}

.legal-body a {
  color: var(--violet-soft);
  text-decoration: underline;
  text-decoration-color: rgba(196, 181, 253, 0.4);
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: #fff;
}

.legal-body strong {
  color: #f0ebfb;
  font-weight: 500;
}

.legal-contact {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

/* =========================================================
   Reveal animations
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 24px;
  }

  .hero-art {
    min-height: 560px;
  }

  .phone--hero {
    width: min(290px, 70vw);
  }

  .feature-card--wide .feature-copy {
    max-width: 50%;
  }

  .feature-visual {
    width: 42%;
  }

  .float-card--now {
    left: -1%;
  }

  .float-card--offline {
    right: -1%;
  }
}

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

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 28px 24px 40px;
    background: rgba(8, 6, 15, 0.97);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.3s var(--ease),
      visibility 0.3s var(--ease),
      transform 0.3s var(--ease);
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .nav > a::after {
    display: none;
  }

  .nav > .nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 14px 22px;
    border-bottom: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.01em;
  }

  .nav-toggle {
    display: block;
  }

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

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .hero h1 {
    font-size: clamp(2.6rem, 7.2vw, 4rem);
  }

  .hero-art {
    min-height: 560px;
    margin-top: 18px;
  }

  .phone--hero {
    width: min(300px, 68vw);
  }

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

  .value-item:nth-child(2) {
    border-right: 0;
  }

  .value-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    max-width: 52ch;
    margin-top: 16px;
  }

  .section-head--center {
    display: flex;
  }

  .section-head--center > p {
    margin-top: 0;
  }

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

  .feature-card--wide {
    grid-column: span 2;
  }

  .feature-card--wide .feature-copy {
    max-width: 54%;
  }

  .app-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .app-art {
    min-height: 540px;
    margin-top: 6px;
  }

  .phone--app-front {
    width: min(300px, 62vw);
  }

  .phone--app-back {
    width: min(255px, 54vw);
    transform: translate(-95px, 15px) rotate(-8deg);
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 16px 18px;
  }

  .legal-toc h2 {
    width: 100%;
    margin-bottom: 4px;
  }

  .legal-toc a {
    padding: 3px 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 116px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 9vw, 3.2rem);
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero-art {
    min-height: 500px;
  }

  .float-card--now {
    top: 11%;
    left: 0;
  }

  .float-card--offline {
    right: 0;
    bottom: 8%;
  }

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

  .feature-card,
  .feature-card--wide {
    grid-column: auto;
    min-height: 270px;
  }

  .feature-card--wide .feature-copy {
    max-width: 100%;
  }

  .feature-visual,
  .wave,
  .queue-mini,
  .mini-player {
    display: none;
  }

  .feature-copy {
    padding-top: 34px;
  }

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

  .step {
    min-height: 0;
  }

  .step__icon {
    margin-bottom: 26px;
  }

  .gallery-track {
    gap: 16px;
  }

  .shot {
    flex-basis: min(62vw, 230px);
  }

  .gallery-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-top: 48px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  .cta {
    border-radius: 26px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand__name {
    font-size: 0.82rem;
  }

  .brand .brand__sub {
    display: none;
  }

  .hero .actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero .actions .store-btn {
    justify-content: center;
  }

  .hero-meta {
    gap: 8px 16px;
  }

  .hero-art {
    min-height: 440px;
  }

  .phone--hero {
    width: min(258px, 74vw);
  }

  .float-card {
    padding: 9px 11px;
  }

  .float-card--now {
    top: 9%;
    left: 0;
  }

  .float-card--offline {
    right: 0;
    bottom: 7%;
  }

  .float-card strong {
    font-size: 0.66rem;
  }

  .float-card span {
    font-size: 0.55rem;
  }

  .float-card__icon {
    width: 26px;
    height: 26px;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .section-head h2,
  .cta h2 {
    font-size: clamp(1.95rem, 8.4vw, 2.55rem);
  }

  .app-head__icon {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }

  .app-hero h1 {
    font-size: clamp(2.2rem, 9.4vw, 2.9rem);
  }

  .app-art {
    min-height: 460px;
  }

  .phone--app-back {
    display: none;
  }

  .phone--app-front {
    width: min(275px, 78vw);
  }

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

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

  .footer-brand {
    grid-column: auto;
  }

  .legal-header h1 {
    font-size: 2.4rem;
  }
}

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

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

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

  .gallery-track {
    scroll-behavior: auto;
  }
}
