/* ==========================================================================
   Bolera marketing site
   Theme: deep purple-blue, Jellyfin-adjacent. Heavy on motion + glass.
   ========================================================================== */

:root {
  --bg-0: #07071a;
  --bg-1: #0d0a23;
  --bg-2: #15113a;
  --purple: #a47cff;
  --purple-2: #7a5cff;
  --blue: #5a8cff;
  --blue-2: #4a6ff0;
  --teal: #46d4d0;
  --text: #ecebff;
  --text-dim: #b5b3d8;
  --text-faint: #7a7aa8;
  --border: rgba(180, 170, 255, 0.12);
  --border-strong: rgba(180, 170, 255, 0.22);
  --grad-main: linear-gradient(135deg, #a47cff 0%, #5a8cff 50%, #46d4d0 100%);
  --grad-card: linear-gradient(155deg, rgba(164,124,255,0.10), rgba(90,140,255,0.04) 40%, rgba(255,255,255,0.02));
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  --radius-card: 18px;
  --radius-pill: 999px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.55;
}
img, svg, video, canvas { max-width: 100%; height: auto; }
h1, h2, h3, p { overflow-wrap: anywhere; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Background: subtle grid + drifting glow blobs
   ========================================================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at top, rgba(122, 92, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  pointer-events: none;
}
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  filter: blur(110px);
  opacity: 0.6;
  border-radius: 50%;
  pointer-events: none;
  animation: drift 22s var(--ease-in-out) infinite alternate;
}
.glow-a { width: 520px; height: 520px; background: #5a8cff; top: -120px; left: -120px; }
.glow-b { width: 480px; height: 480px; background: #a47cff; top: 30vh; right: -150px; animation-delay: -8s; }
.glow-c { width: 600px; height: 600px; background: #46d4d0; top: 140vh; left: 30vw; opacity: 0.25; animation-delay: -14s; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, -60px, 0) scale(1.12); }
}

/* ==========================================================================
   Studio link (right-aligned nav link pointing back to host site)
   ========================================================================== */

.studio-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s var(--ease-out);
  white-space: nowrap;
}
.studio-link:hover { color: var(--text); }
.studio-link span {
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.2s var(--ease-out);
}
.studio-link:hover span { transform: translate(2px, -2px); }

@media (max-width: 720px) {
  .studio-link { display: none; }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(7, 7, 26, 0.55);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark { display: inline-flex; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 20px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.btn-ghost-sm {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-ghost-sm:hover {
  background: rgba(164, 124, 255, 0.12);
  border-color: rgba(164, 124, 255, 0.4);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  color: white;
  background: var(--grad-main);
  background-size: 200% 200%;
  box-shadow: 0 12px 28px -10px rgba(122, 92, 255, 0.6),
              0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-position 0.5s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 100%;
  box-shadow: 0 18px 38px -12px rgba(122, 92, 255, 0.7),
              0 0 0 1px rgba(255,255,255,0.12) inset;
}
.btn-primary svg { transition: transform 0.25s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--border-strong);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-ghost:hover {
  background: rgba(164, 124, 255, 0.1);
  border-color: rgba(164, 124, 255, 0.4);
}

/* ==========================================================================
   Eyebrow / headers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(164, 124, 255, 0.08);
  border: 1px solid rgba(164, 124, 255, 0.18);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
  animation: pulse 2s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin-bottom: 12px; }
h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }

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

.lede {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 60ch;
  line-height: 1.6;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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

.hero {
  position: relative;
  padding: 60px 24px 0;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 100px;
}
.hero-copy h1 { margin-top: 24px; }
.hero-copy .lede { margin-top: 22px; }

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-badges {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
}
.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

/* ----- Hero artwork (faux Bolera window) ----- */

.hero-art {
  position: relative;
  perspective: 1400px;
}
.hero-window {
  background: linear-gradient(170deg, #16133a, #0c0a26);
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card),
              0 60px 120px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  animation: float-window 8s var(--ease-in-out) infinite alternate;
  display: flex;
  flex-direction: column;
}
@keyframes float-window {
  0%   { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  100% { transform: rotateY(-6deg) rotateX(2deg) translateY(-12px); }
}
.hw-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-faint);
}
.tl-dot { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #ff5f57; }
.tl-y { background: #febc2e; }
.tl-g { background: #28c840; }
.tl-title { margin-left: auto; margin-right: auto; }

.hw-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 460px;
}
.hw-sidebar {
  background: rgba(255,255,255,0.015);
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--text-dim);
}
.hw-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: 14px 8px 4px;
}
.hw-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: default;
}
.hw-row.active {
  background: linear-gradient(90deg, rgba(164,124,255,0.18), rgba(164,124,255,0.04));
  color: var(--text);
}
.hw-icn { color: var(--purple); font-size: 11px; width: 14px; text-align: center; }
.hw-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 6px 4px;
  border-top: 1px solid var(--border);
  font-size: 11px;
}
.hw-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}
.hw-uname { font-weight: 600; color: var(--text); }
.hw-tier  { font-size: 10px; color: var(--text-faint); }
.hw-gear  { margin-left: auto; color: var(--text-faint); }

.hw-main { padding: 18px 18px 0; display: flex; flex-direction: column; }
.hw-h2 { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.hw-h2.small { margin-top: 20px; }
.hw-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.hw-tile {
  aspect-ratio: 1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.hw-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65));
}
.hw-tile-name {
  position: absolute;
  bottom: 6px; left: 8px; right: 8px;
  font-size: 10px;
  font-weight: 600;
  z-index: 1;
}
.t-a { background: linear-gradient(135deg, #ff9966, #ff5e62); }
.t-b { background: linear-gradient(135deg, #7a5cff, #2c1e7c); }
.t-c { background: linear-gradient(135deg, #46d4d0, #1a6f9b); }
.t-d { background: linear-gradient(135deg, #1a1849, #5a3a9a); }

.hw-strip {
  display: flex;
  gap: 10px;
  overflow: hidden;
}
.hw-album {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  flex-shrink: 0;
}
.a1 { background: linear-gradient(135deg, #ff7eb3, #8a3c9a); }
.a2 { background: linear-gradient(135deg, #46d4d0, #2766b3); }
.a3 { background: linear-gradient(135deg, #ffbe5e, #f55b48); }
.a4 { background: linear-gradient(135deg, #a47cff, #3a2a8b); }
.a5 { background: linear-gradient(135deg, #5a8cff, #1f3a8a); }

.hw-player {
  margin-top: auto;
  margin-left: -18px;
  margin-right: -18px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  position: relative;
}
.hw-art-mini {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}
.hw-title { font-weight: 600; }
.hw-sub   { font-size: 10px; color: var(--text-faint); }
.hw-controls { display: flex; gap: 12px; color: var(--text-dim); font-size: 14px; }
.hw-controls .play { color: var(--text); }
.hw-progress {
  grid-column: 1 / -1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.hw-progress-fill {
  height: 100%;
  width: 36%;
  background: var(--grad-main);
  animation: progress 12s linear infinite;
}
@keyframes progress {
  0% { width: 5%; }
  100% { width: 95%; }
}

/* ----- Floating side cards ----- */
.float-card {
  position: absolute;
  background: linear-gradient(160deg, rgba(28, 22, 60, 0.95), rgba(15, 12, 36, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.fc-now {
  top: -22px;
  left: -28px;
  width: 240px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation: float-card 5s var(--ease-in-out) infinite alternate;
}
.fc-art {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7eb3, #8a3c9a);
  flex-shrink: 0;
}
.fc-title { font-size: 11px; color: var(--text-faint); }
.fc-sub   { font-size: 13px; font-weight: 600; }
.fc-bars { margin-top: 6px; display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.fc-bars span {
  width: 2px;
  height: 60%;
  background: var(--purple);
  border-radius: 1px;
  animation: bars 1.1s var(--ease-in-out) infinite;
}
.fc-bars span:nth-child(2) { animation-delay: 0.15s; }
.fc-bars span:nth-child(3) { animation-delay: 0.3s; }
.fc-bars span:nth-child(4) { animation-delay: 0.45s; }
.fc-bars span:nth-child(5) { animation-delay: 0.6s; }
@keyframes bars {
  0%, 100% { height: 30%; }
  50%      { height: 100%; }
}
@keyframes float-card {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.fc-eq {
  bottom: -22px;
  right: -36px;
  width: 220px;
  animation: float-card 6s var(--ease-in-out) infinite alternate-reverse;
}
.fc-eq-title {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fc-eq-bars {
  display: flex;
  gap: 6px;
  height: 56px;
  align-items: flex-end;
}
.fc-eq-bars span {
  flex: 1;
  height: var(--h);
  background: var(--grad-main);
  border-radius: 3px;
  animation: eq-bounce 2.2s var(--ease-in-out) infinite;
  transform-origin: bottom;
}
.fc-eq-bars span:nth-child(odd) { animation-delay: -0.4s; }
.fc-eq-bars span:nth-child(3n) { animation-delay: -0.9s; }
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.55); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .hero-window { transform: rotateY(0) rotateX(0); }
  .fc-now { left: 0; }
  .fc-eq { right: 0; }
}

/* ==========================================================================
   Trust
   ========================================================================== */

.trust {
  padding: 40px 24px 60px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.trust-label {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.trust-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
}

/* ==========================================================================
   Features
   ========================================================================== */

.features { padding: 80px 24px; }
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin: 16px auto 0; }

.grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--grad-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(164,124,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(164,124,255,0.45);
  box-shadow: 0 30px 60px -28px rgba(122, 92, 255, 0.45);
}
.card:hover::before { opacity: 1; }

.card-icn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(164,124,255,0.18), rgba(90,140,255,0.18));
  border: 1px solid var(--border-strong);
  color: var(--purple);
  margin-bottom: 18px;
}
.card h3 { margin-top: 6px; }
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Design strip
   ========================================================================== */

.design { padding: 100px 24px; position: relative; }
.design-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.design-copy h2 { margin-top: 16px; }
.design-copy .lede { margin-top: 16px; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
}
.ck {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  font-size: 13px;
  font-weight: 700;
}

/* ----- Phone mock ----- */
.design-art { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(180deg, #2a2350, #0c0a26);
  border-radius: 42px;
  padding: 8px;
  border: 2px solid #1c1845;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.9),
              inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: float-window 8s var(--ease-in-out) infinite alternate;
}
.phone::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 30px;
  background: black;
  border-radius: 18px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #1a164a, #0a0824);
  border-radius: 34px;
  padding: 50px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.ph-status {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.ph-h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.ph-art {
  width: 220px; height: 220px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff7eb3 0%, #8a3c9a 50%, #5a3a9a 100%);
  box-shadow: 0 30px 60px -20px rgba(255, 126, 179, 0.4);
}
.ph-title {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
}
.ph-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}
.ph-bar {
  width: 100%; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 28px;
  overflow: hidden;
}
.ph-bar-fill {
  height: 100%;
  width: 40%;
  background: var(--grad-main);
  animation: progress 12s linear infinite;
}
.ph-controls {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 22px;
}
.ph-play {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: white;
  color: #1a1245;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

/* Alternate-order layout when the art is on the left. */
.design.alt .design-inner .design-art { order: -1; }
.design.alt .design-inner .design-copy { order: 0; }

.phone-tilt-l { transform: rotate(-3deg); }
.phone-tilt-r { transform: rotate(3deg); }

@media (max-width: 920px) {
  .design-inner { grid-template-columns: 1fr; }
  .design.alt .design-inner .design-art { order: 0; }
  .phone-tilt-l, .phone-tilt-r { transform: none; }
}

/* ==========================================================================
   Mood Mix (Make-a-Mix) phone mock
   ========================================================================== */

.mood-screen {
  padding: 50px 20px 24px;
  align-items: stretch;
  text-align: left;
}
.mm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(164, 124, 255, 0.16);
  border: 1px solid rgba(164, 124, 255, 0.32);
  margin-bottom: 14px;
}
.mm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.mm-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  margin-bottom: 10px;
}
.mm-arrow {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-main);
  color: white;
  font-size: 14px;
}
.mm-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.mm-chips span {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}
.mm-mood {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.mm-meta {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.mm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: mm-fadein 0.6s var(--ease-out);
}
.mm-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 12px;
}
.mm-list .mm-i {
  width: 14px;
  text-align: right;
  font-size: 10px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.mm-list b { display: block; font-weight: 600; font-size: 12px; }
.mm-list i { display: block; font-style: normal; font-size: 10px; color: var(--text-faint); }
.mm-list li:nth-child(even) { background: rgba(255, 255, 255, 0.025); }

@keyframes mm-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Daily Mixes phone mock
   ========================================================================== */

.daily-screen {
  padding: 50px 20px 24px;
  align-items: stretch;
  text-align: left;
}
.daily-screen .ph-h2 {
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.daily-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.daily-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
}
.daily-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.7));
}
.daily-tile span {
  position: absolute;
  bottom: 8px; left: 8px; right: 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  z-index: 1;
  line-height: 1.1;
}
.dt-a { background: linear-gradient(135deg, #ff9966, #ff5e62); }
.dt-b { background: linear-gradient(135deg, #7a5cff, #2c1e7c); }
.dt-c { background: linear-gradient(135deg, #46d4d0, #1a6f9b); }
.dt-d { background: linear-gradient(135deg, #1a1849, #5a3a9a); }
.ph-sub.left {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.recent-row {
  display: flex;
  gap: 8px;
  overflow: hidden;
}
.recent-row .rc {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 8px;
}
.rc-a { background: linear-gradient(135deg, #ff7eb3, #8a3c9a); }
.rc-b { background: linear-gradient(135deg, #46d4d0, #2766b3); }
.rc-c { background: linear-gradient(135deg, #ffbe5e, #f55b48); }
.rc-d { background: linear-gradient(135deg, #a47cff, #3a2a8b); }

/* ==========================================================================
   Mac window mock (generic) + EQ window
   ========================================================================== */

.mac-window {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(170deg, #16133a, #0c0a26);
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card),
              0 50px 100px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  margin: 0 auto;
  animation: float-window 8s var(--ease-in-out) infinite alternate;
}
.eq-window .eq-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eq-preset-row {
  display: flex;
  gap: 8px;
}
.eq-chip {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.eq-chip.active {
  background: var(--grad-main);
  color: white;
  border-color: transparent;
}
.eq-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  height: 180px;
}
.eq-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.eq-track {
  position: relative;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.eq-thumb {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-main);
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(122, 92, 255, 0.5);
  animation: eq-wiggle 4s var(--ease-in-out) infinite;
}
.eq-col:nth-child(odd) .eq-thumb { animation-delay: -1s; }
.eq-col:nth-child(3n) .eq-thumb { animation-delay: -2s; }
@keyframes eq-wiggle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}
.eq-hz {
  font-size: 10px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.eq-meter {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 36px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}
.eq-meter span {
  flex: 1;
  height: var(--h);
  background: var(--grad-main);
  border-radius: 2px;
  animation: eq-bounce 1.8s var(--ease-in-out) infinite;
}
.eq-meter span:nth-child(odd) { animation-delay: -0.5s; }
.eq-meter span:nth-child(3n) { animation-delay: -1.1s; }

/* ==========================================================================
   Artist Mac mock
   ========================================================================== */

.artist-window .aw-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.aw-hero {
  display: flex;
  align-items: center;
  gap: 18px;
}
.aw-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff7eb3, #8a3c9a 70%, #1a1849);
  box-shadow: 0 18px 40px -16px rgba(255, 126, 179, 0.4);
}
.aw-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.aw-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.aw-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.aw-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.aw-pri, .aw-sec {
  font-size: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.aw-pri { background: var(--grad-main); color: white; }
.aw-sec { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--border); }
.aw-ico {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  border: 1px solid var(--border);
}
.aw-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
}
.aw-list {
  list-style: none;
  margin: 0; padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  overflow: hidden;
}
.aw-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  font-size: 12px;
}
.aw-list li:not(:last-child) {
  border-bottom: 1px solid var(--border);
}
.aw-list li span:first-child {
  color: var(--text-faint);
  width: 14px;
  text-align: right;
}
.aw-similar {
  display: flex;
  gap: 10px;
}
.aw-circ {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  border: 2px solid rgba(255, 255, 255, 0.06);
}
.aw-circ:nth-child(2) { background: linear-gradient(135deg, #46d4d0, #2766b3); }
.aw-circ:nth-child(3) { background: linear-gradient(135deg, #ffbe5e, #f55b48); }
.aw-circ:nth-child(4) { background: linear-gradient(135deg, #ff7eb3, #8a3c9a); }

/* ==========================================================================
   Pro
   ========================================================================== */

.pro { padding: 80px 24px; }
.pro-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 48px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(122, 92, 255, 0.16), rgba(70, 212, 208, 0.08) 60%, rgba(15, 12, 36, 0.6));
  border: 1px solid rgba(164,124,255,0.3);
  box-shadow: 0 60px 120px -40px rgba(122, 92, 255, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pro-card::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(164,124,255,0.08) 30%, transparent 60%);
  animation: spin 18s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.pro-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--grad-main);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.pro-card h2, .pro-card .lede { position: relative; z-index: 1; }
.pro-card .lede { margin: 14px auto 36px; }

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.pro-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  text-align: left;
}
.pro-i { font-size: 22px; }
.pro-item b { display: block; font-weight: 600; font-size: 14px; }
.pro-item span { display: block; font-size: 12px; color: var(--text-faint); margin-top: 2px; }

@media (max-width: 720px) {
  .pro-grid { grid-template-columns: 1fr; }
  .pro-card { padding: 40px 24px; }
}

/* ==========================================================================
   Download
   ========================================================================== */

.download { padding: 100px 24px 120px; }
.dl-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.dl-inner h2 { margin-top: 16px; }
.dl-inner .lede { margin: 16px auto 32px; }

.dl-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.dl-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: 14px;
  background: black;
  border: 1px solid var(--border-strong);
  color: white;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  position: relative;
}
.dl-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(164,124,255,0.5);
}
.dl-pill.is-soon {
  opacity: 0.7;
  cursor: not-allowed;
}
.dl-pill.is-soon:hover {
  transform: none;
  border-color: var(--border-strong);
}
.dl-soon-tag {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad-main);
  color: white;
}
.dl-notify { margin-top: 28px; }
.dl-icn {
  width: 28px; height: 28px;
  background: white;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.5 12.5c0-2.7 2.2-4 2.3-4.1-1.3-1.8-3.2-2.1-3.9-2.1-1.7-.2-3.3 1-4.1 1-.9 0-2.1-1-3.5-1-1.8 0-3.5 1.1-4.4 2.7-1.9 3.3-.5 8.1 1.3 10.8.9 1.3 2 2.7 3.3 2.7 1.3-.1 1.8-.9 3.4-.9 1.6 0 2 .9 3.4.9 1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-3 1.4-3.1-.1 0-2.7-1-2.7-4.1zM14.5 4.7c.7-.9 1.2-2.1 1.1-3.3-1 .1-2.3.7-3 1.5-.6.8-1.2 2-1.1 3.2 1.1.1 2.3-.6 3-1.4z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.5 12.5c0-2.7 2.2-4 2.3-4.1-1.3-1.8-3.2-2.1-3.9-2.1-1.7-.2-3.3 1-4.1 1-.9 0-2.1-1-3.5-1-1.8 0-3.5 1.1-4.4 2.7-1.9 3.3-.5 8.1 1.3 10.8.9 1.3 2 2.7 3.3 2.7 1.3-.1 1.8-.9 3.4-.9 1.6 0 2 .9 3.4.9 1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-3 1.4-3.1-.1 0-2.7-1-2.7-4.1zM14.5 4.7c.7-.9 1.2-2.1 1.1-3.3-1 .1-2.3.7-3 1.5-.6.8-1.2 2-1.1 3.2 1.1.1 2.3-.6 3-1.4z'/></svg>") center / contain no-repeat;
}
.dl-pill span { text-align: left; }
.dl-pill small { display: block; font-size: 10px; opacity: 0.7; }
.dl-pill b { display: block; font-size: 16px; font-weight: 600; }

.dl-fine {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   Mobile catch-all overrides
   ========================================================================== */

@media (max-width: 720px) {
  /* Nav: hide all secondary links so brand + CTA fit comfortably. */
  .nav-inner {
    gap: 12px;
    padding: 12px 16px;
    max-width: 100vw;
  }
  .studio-link, .nav-links { display: none; }

  /* Hard-cap every section's content + kill any horizontal bleed. */
  main, section, .hero-inner, .design-inner, .grid, .pro-card,
  .dl-inner, .contact-card, .nav-inner, .foot-inner {
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-art, .hero-copy, .design-art, .design-copy {
    min-width: 0;
    max-width: 100%;
  }
  .hero-window, .mac-window, .phone {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hero — drop tilt + floating cards on small screens. */
  .hero { padding: 32px 16px 0; }
  .hero-inner { gap: 28px; padding-bottom: 40px; }
  h1 { font-size: clamp(34px, 8vw, 44px); }
  /* Preserve the mock's identity — rounded corners, no clipped
     content — by locking the window to its design dimensions and
     scaling the whole thing down to fit the viewport. Flexbox
     centring + transform-origin top-center keeps the scale
     visually centered without fragile translate maths. */
  .hero-art {
    perspective: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 340 / 540;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Don't clip the window's drop shadow — that produced a hard
       cropped "box" edge below the preview. */
    overflow: visible;
    margin: 0 auto;
  }
  .fc-now, .fc-eq { display: none; }
  .hero-window {
    width: 340px;
    height: 540px;
    min-height: 0;
    overflow: hidden;
    animation: none !important;
    flex-shrink: 0;
    transform-origin: top center;
    transform: scale(min(1, calc((100vw - 32px) / 340)));
  }
  .hero-window .hw-body {
    grid-template-columns: 130px 1fr;
    flex: 1;
    min-height: 0;
  }
  .hw-main { overflow: hidden; }
  .hw-player { position: static; }
  .hw-sidebar { padding: 8px 6px; }
  .hw-section { font-size: 9px; padding: 10px 6px 3px; }
  .hw-row { font-size: 11px; padding: 5px 6px; }
  .hw-main { padding: 12px 12px 0; }
  .hw-tiles { gap: 6px; }
  .hw-tile-name { font-size: 8px; bottom: 4px; left: 4px; }
  .hw-album { width: 56px; height: 56px; }
  .hw-player {
    grid-template-columns: 28px 1fr auto;
    padding: 8px 10px;
    /* Anchor the player bar at the bottom regardless of intrinsic
       content height so the mock always shows it. */
    position: sticky;
    bottom: 0;
  }
  .hw-art-mini { width: 28px; height: 28px; }
  .hw-title { font-size: 10px; }
  .hw-sub { font-size: 9px; }
  .hw-controls { gap: 8px; font-size: 11px; }
  .hw-controls .play { font-size: 13px; }
  .hero-wave { height: 60px; }

  /* Features grid — single col already at 580px; keep generous padding. */
  .features { padding: 56px 16px; }
  .section-head h2, h2 { font-size: clamp(26px, 6vw, 32px); }
  .card { padding: 22px; }

  /* Design strip — stack + drop tilts, shrink phone/Mac mocks. */
  .design { padding: 64px 16px; }
  .design-inner { gap: 32px; }
  .phone {
    width: 240px;
    height: 500px;
    transform: none !important;
    animation: none !important;
  }
  .phone-screen { padding: 44px 16px 18px; }
  .ph-art { width: 180px; height: 180px; }
  .ph-title { font-size: 15px; }
  .ph-sub { font-size: 12px; }
  .ph-play { width: 46px; height: 46px; font-size: 18px; }
  .mac-window {
    max-width: 100%;
    animation: none !important;
  }
  .mac-window .hw-titlebar { padding: 8px 10px; }
  .eq-window .eq-body { padding: 14px 12px 12px; gap: 10px; }
  .eq-grid { height: 130px; gap: 5px; }
  .eq-thumb { width: 12px; height: 12px; }
  .eq-hz { font-size: 9px; }
  .eq-chip { font-size: 10px; padding: 4px 9px; }
  .eq-meter { height: 28px; padding: 6px 10px; gap: 4px; }
  .artist-window .aw-body { padding: 16px; gap: 14px; }
  .aw-portrait { width: 84px; height: 84px; }
  .aw-name { font-size: 22px; }
  .aw-pri, .aw-sec { font-size: 11px; padding: 6px 12px; }
  .aw-ico { width: 28px; height: 28px; font-size: 12px; }
  .aw-circ { width: 44px; height: 44px; }
  .aw-similar { gap: 8px; }

  /* Mood Mix mock cleanup. */
  .mood-screen .mm-list li { padding: 6px 10px; }
  .mood-screen .mm-list b { font-size: 11px; }
  .mood-screen .mm-list i { font-size: 9px; }
  .mm-prompt { font-size: 12px; padding: 10px 12px; }
  .mm-chips span { font-size: 9px; padding: 4px 8px; }
  .mm-mood { font-size: 12px; }

  /* Daily Mixes mock. */
  .daily-grid { gap: 8px; }
  .daily-tile span { font-size: 10px; }
  .recent-row .rc { border-radius: 6px; }

  /* Pro card — single column, smaller padding. */
  .pro { padding: 48px 16px; }
  .pro-card { padding: 36px 20px; }
  .pro-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Download / Contact / Footer paddings. */
  .download { padding: 56px 16px 72px; }
  .contact { padding: 48px 16px 72px; }
  .contact-card { padding: 32px 18px; }
  .dl-pill { padding: 12px 18px; gap: 10px; }
  .dl-soon-tag { display: none; }
  .foot-inner { padding: 40px 16px 24px; gap: 28px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
  .foot-bottom { padding: 14px 16px 22px; font-size: 11px; }

  /* Trust pills wrap nicely. */
  .trust { padding: 24px 16px 40px; }
}

@media (max-width: 420px) {
  /* Tighten further for narrow phones. */
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .lede { font-size: 15px; }
  .hero-window .hw-body { grid-template-columns: 110px 1fr; }
  .hw-album { width: 48px; height: 48px; }
  .pro-card h2 { max-width: none; }
  .btn-primary, .btn-ghost { font-size: 14px; padding: 12px 18px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { padding: 60px 24px 100px; }
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(70, 212, 208, 0.10), rgba(122, 92, 255, 0.10) 60%, rgba(15, 12, 36, 0.6));
  border: 1px solid rgba(70, 212, 208, 0.25);
  box-shadow: 0 40px 90px -40px rgba(70, 212, 208, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 90deg, transparent 0%, rgba(70, 212, 208, 0.10) 30%, transparent 60%);
  animation: spin 24s linear infinite reverse;
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { margin-top: 16px; max-width: 24ch; }
.contact-card .lede { margin: 14px auto 28px; max-width: 52ch; }
.contact-fine {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
  max-width: 48ch;
}

@media (max-width: 720px) {
  .contact-card { padding: 40px 24px; }
}

/* ==========================================================================
   Legal pages (Privacy / Terms)
   ========================================================================== */

.legal { padding: 80px 24px 100px; }
.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px clamp(28px, 5vw, 56px);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(164,124,255,0.06), rgba(15, 12, 36, 0.6));
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6);
}
.legal-card h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  margin: 18px 0 6px;
}
.legal-card h2 {
  font-size: 18px;
  margin: 32px 0 8px;
  color: var(--text);
}
.legal-card .meta {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}
.legal-card p, .legal-card li {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}
.legal-card ul {
  margin: 10px 0 4px 0;
  padding-left: 22px;
}
.legal-card li { margin-bottom: 6px; }
.legal-card a {
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(164,124,255,0.4);
}
.legal-card a:hover { border-bottom-color: var(--purple); }
.legal-card strong { color: var(--text); }
.legal-card em { color: var(--text); font-style: italic; }
.legal-card .lede {
  font-size: 16px;
  margin-bottom: 8px;
}

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

.foot {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
.foot-brand .brand { font-size: 20px; }
.foot-tag {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.foot-cols a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
}
.foot-cols a:hover { color: var(--text); }
.foot-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  font-size: 12px;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
