/* SingMyVoice — site styles
   Companion to Tailwind CDN. Custom CSS for components Tailwind doesn't
   express well (orb glows, accordion arrows, brand-specific buttons). */

:root {
  --night:        #100E1A;
  --night-soft:   #1A1626;
  --night-elev:   #221C30;
  --magenta:      #FF1F8F;
  --magenta-d:    #C6166E;
  --magenta-light:#FFB8DC;
  --warm:         #FFFAF5;
  --warm-dim:     rgba(255,250,245,0.72);
  --warm-mid:     rgba(255,250,245,0.55);
  --ink:          #A6A2B8;
  --border:       rgba(255,250,245,0.08);
  --border-mid:   rgba(255,250,245,0.14);
}

* { box-sizing: border-box; }

/* Minimal responsive show/hide — replaces Tailwind utility classes on
   sub-pages that don't load the Tailwind CDN. */
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
@media (min-width: 768px) {
  .md\:flex   { display: flex !important; }
  .md\:block  { display: block !important; }
  .md\:hidden { display: none !important; }
}
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--night); color: var(--warm);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--magenta); color: var(--night); }

h1, h2, h3, h4 {
  font-family: 'Onest', system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.font-display { font-family: 'Onest', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }

/* ───────────────────────────── WORDMARK (inline) ───────────────────── */
.wordmark { font-family: 'Onest'; font-weight: 700;
            letter-spacing: -0.028em; color: var(--warm);
            display: inline-flex; align-items: baseline; line-height: 1; }
.wordmark .my { color: var(--magenta); }

.logo-lockup { display: inline-flex; align-items: center; gap: 10px; }
.logo-lockup img { display: block; border-radius: 8px; }

/* ───────────────────────────── HEADER ───────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,14,26,0.65);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(16,14,26,0.92);
  border-bottom-color: var(--border);
}
.site-header .nav-link {
  font-size: 14px; color: var(--warm-dim); font-weight: 500;
  transition: color .15s ease;
}
.site-header .nav-link:hover { color: var(--warm); }

.menu-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,250,245,0.06);
  display: flex; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-mid); cursor: pointer;
}
.menu-btn span { width: 18px; height: 1.5px; background: var(--warm); transition: transform .2s; }
.menu-btn.open span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }

.mobile-menu {
  display: none; padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(16,14,26,0.95);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 17px; color: var(--warm-dim); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* ───────────────────────────── BUTTONS ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Onest', sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--magenta); color: var(--night); }
.btn-primary:hover { transform: translateY(-1px);
                     box-shadow: 0 12px 32px rgba(255,31,143,0.45);
                     background: #ff3097; }
.btn-secondary { background: transparent; color: var(--warm); border-color: rgba(255,250,245,0.22); }
.btn-secondary:hover { background: rgba(255,250,245,0.05); border-color: rgba(255,250,245,0.4); }

.btn .arrow { width: 14px; height: 14px; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* Google Play badge */
.play-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 18px; border-radius: 16px;
  background: var(--warm); color: var(--night);
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
.play-badge:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(255,250,245,0.16); }
.play-badge .play-icon { width: 28px; height: 28px; flex-shrink: 0; }
.play-badge .play-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.play-badge .play-text .small { font-family: 'Manrope'; font-size: 10px; opacity: 0.75; letter-spacing: 0.4px; text-transform: uppercase; }
.play-badge .play-text .big { font-family: 'Onest'; font-size: 17px; font-weight: 700; }

/* ───────────────────────────── HERO ───────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 740px; padding: 64px 0 96px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  display: block;
  /* SVG is inlined into the HTML so the @keyframes below can reach
     the .star circles. preserveAspectRatio on the svg handles cover. */
}

/* ── star twinkle ──
   Stars carry classes s0..s7 plus an inline --o (base opacity).
   Each phase animates between 25% of base and 100% of base, alternating,
   so brighter stars stay brighter. Eight different durations + negative
   delays so 110 stars never blink in sync. */
.hero-bg .star { opacity: var(--o, 0.5); }
@keyframes starTwinkle {
  0%, 100% { opacity: calc(var(--o, 0.5) * 0.32); }
  50%      { opacity: var(--o, 0.5); }
}
.hero-bg .star { animation: starTwinkle 4s ease-in-out infinite; }
.hero-bg .star.s0 { animation-duration: 3.2s; animation-delay:  0s;   }
.hero-bg .star.s1 { animation-duration: 3.8s; animation-delay: -0.6s; }
.hero-bg .star.s2 { animation-duration: 4.3s; animation-delay: -1.2s; }
.hero-bg .star.s3 { animation-duration: 4.8s; animation-delay: -1.8s; }
.hero-bg .star.s4 { animation-duration: 3.5s; animation-delay: -2.4s; }
.hero-bg .star.s5 { animation-duration: 4.1s; animation-delay: -3.0s; }
.hero-bg .star.s6 { animation-duration: 4.6s; animation-delay: -3.6s; }
.hero-bg .star.s7 { animation-duration: 5.2s; animation-delay: -4.2s; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(16,14,26,0) 50%,
    rgba(16,14,26,0.4) 80%,
    var(--night) 100%);
}
.hero-bg::after { content: none; }   /* old pseudo no-op'd */

/* Standalone orb sits on top of the stars backdrop so it can float and
   parallax independently. Center position matches the orb baked into the
   bg from generation: orbCx 1180/1600 ≈ 73.75%, orbCy 460/900 ≈ 51.1%. */
.hero-orb-wrap {
  position: absolute;
  top: 51%; left: 73.75%;
  width: clamp(420px, 56vw, 920px);
  aspect-ratio: 1 / 1;
  /* parallax shifts this wrapper; --hero-parallax is set by JS on scroll */
  transform: translate(-50%, calc(-50% + var(--hero-parallax, 0px)));
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero-orb {
  display: block; width: 100%; height: 100%;
  /* gentle float — reduced-motion override disables */
  animation: orbFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes orbFloat {
  0%   { transform: translateY(-10px); }
  100% { transform: translateY(10px); }
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
@media (max-width: 768px) {
  .hero-orb-wrap { width: 86vw; top: auto; bottom: -22%; left: 50%; opacity: 0.65; }
}

.hero h1 {
  font-size: clamp(48px, 7.2vw, 88px);
  letter-spacing: -0.04em; margin: 18px 0 24px;
}
.hero .sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--warm-dim); max-width: 540px; line-height: 1.5;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .trust {
  margin-top: 28px; font-family: 'JetBrains Mono'; font-size: 12px;
  letter-spacing: 1px; color: var(--warm-mid);
}

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: 2.4px;
  color: var(--magenta); text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 8px var(--magenta);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.35; box-shadow: 0 0 4px var(--magenta); }
  50%      { opacity: 1;    box-shadow: 0 0 12px var(--magenta); }
}

/* ───────────────────────────── SECTIONS ───────────────────────────── */
.section { padding: 112px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-title { font-size: clamp(36px, 4.5vw, 52px); margin-top: 14px; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--warm-dim); line-height: 1.6; max-width: 600px; }

/* ───────────────────────────── HOW IT WORKS ───────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: var(--night-soft);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 32px;
  transition: border-color .25s ease, transform .25s ease;
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(255,31,143,0.3); }
.step-number {
  font-family: 'JetBrains Mono'; font-size: 11px;
  letter-spacing: 2px; color: var(--magenta); margin-bottom: 24px;
}
.step-illo {
  width: 100%; aspect-ratio: 16/10;
  background: var(--night); border-radius: 14px;
  margin-bottom: 28px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.step-card h3 { font-size: 22px; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; color: var(--warm-dim); line-height: 1.6; }

/* ───────────────────────────── FEATURES ───────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--night-soft);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.feature:hover {
  background: #221C30;
  border-color: rgba(255,31,143,0.30);
  transform: translateY(-2px);
}
.feature-ico {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255,31,143,0.10); color: var(--magenta);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color .2s ease;
}
.feature:hover .feature-ico {
  transform: scale(1.08);
  background: rgba(255,31,143,0.18);
}
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--warm-dim); line-height: 1.55; }

/* ───────────────────────────── SCREENSHOTS ───────────────────────────── */
.screenshots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 20;
  background: #0A0813; border-radius: 36px;
  border: 1px solid rgba(255,31,143,0.18);
  padding: 8px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 60px rgba(255,31,143,0.06);
  overflow: hidden;
}
.phone .phone-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--night);
  position: relative;
}
.phone .phone-screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.phone .phone-screen image-slot {
  display: block; width: 100%; height: 100%;
}
.phone-caption {
  text-align: center; margin-top: 16px;
  font-family: 'JetBrains Mono'; font-size: 11px;
  letter-spacing: 1.6px; color: var(--ink); text-transform: uppercase;
}

/* ───────────────────────────── PRICING ───────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--night-soft);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color .3s ease,
              box-shadow .3s ease;
}
@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255,31,143,0.45);
    box-shadow: 0 0 32px rgba(255, 31, 143, 0.15);
  }
  .price-card.featured:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 0 48px rgba(255, 31, 143, 0.25);
  }
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(255,31,143,0.12) 0%, rgba(255,31,143,0.02) 60%, var(--night-soft) 100%);
  border-color: rgba(255,31,143,0.42);
  transform: translateY(-6px);
}
.price-badge {
  position: absolute; top: -10px; right: 20px;
  background: var(--magenta); color: var(--night);
  font-family: 'JetBrains Mono'; font-size: 10px;
  letter-spacing: 1.4px; padding: 6px 12px; border-radius: 999px;
  font-weight: 700; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255,31,143,0.35);
}
.price-tier {
  font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: 2px;
  color: var(--magenta); text-transform: uppercase; margin-bottom: 12px;
}
.price-amount { font-family: 'Onest'; font-size: 52px; font-weight: 700; line-height: 1; }
.price-amount .currency { font-size: 22px; vertical-align: super; opacity: 0.75; margin-right: 2px; font-weight: 600; }
.price-amount .period { font-size: 15px; font-family: 'Manrope'; font-weight: 500; color: var(--warm-dim); margin-left: 6px; }
.price-songs { font-size: 14.5px; color: var(--warm-dim); margin: 10px 0 28px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.price-features li {
  padding: 9px 0; font-size: 14.5px; color: var(--warm);
  display: flex; gap: 12px; align-items: flex-start; line-height: 1.45;
}
.price-features li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(255,31,143,0.15); color: var(--magenta);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FF1F8F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 8 7 11 12 5'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.price-trial {
  display: inline-flex; align-self: flex-start;
  font-family: 'JetBrains Mono'; font-size: 10px; letter-spacing: 1.4px;
  color: var(--magenta); border: 1px solid rgba(255,31,143,0.5);
  padding: 5px 11px; border-radius: 999px;
  margin-bottom: 22px; text-transform: uppercase;
}
.price-cancel {
  margin-top: 14px; text-align: center;
  font-size: 12.5px; color: var(--warm-mid);
}

/* ───────────────────────────── TESTIMONIALS ───────────────────────────── */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: var(--night-soft);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 32px;
  position: relative;
}
.testimonial-quote {
  font-family: 'Onest'; font-size: 18px; font-weight: 500;
  line-height: 1.45; margin-bottom: 24px;
}
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,31,143,0.5), rgba(255,184,220,0.2));
}
.testimonial-name { font-weight: 600; font-size: 14.5px; }
.testimonial-role { font-size: 12.5px; color: var(--ink); }
.testimonial-placeholder-banner {
  font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: 1.4px;
  color: var(--ink); text-transform: uppercase;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(255,250,245,0.04); border: 1px dashed var(--border-mid);
  margin-bottom: 36px;
}

/* ───────────────────────────── FAQ ───────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--night-soft); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease;
}
.faq details + details { margin-top: 12px; }
.faq details[open] { border-color: rgba(255,31,143,0.35); }
.faq summary {
  padding: 22px 26px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Onest'; font-weight: 600; font-size: 17px; line-height: 1.35;
  transition: background-color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255,31,143,0.05); }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background-color: rgba(255,31,143,0.12); color: var(--magenta);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FF1F8F' stroke-width='2' stroke-linecap='round'><line x1='3' y1='8' x2='13' y2='8'/><line x1='8' y1='3' x2='8' y2='13'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), background-color .25s ease;
}
.faq details[open] summary::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FF1F8F' stroke-width='2' stroke-linecap='round'><line x1='3' y1='8' x2='13' y2='8'/></svg>");
}

/* Smooth expand via grid-template-rows trick. Override the UA's display:none
   on non-summary children so the wrapper stays in flow; the grid track
   interpolates from 0fr to 1fr; an inner block carries the actual padding. */
.faq details > .body {
  display: grid !important;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--warm-dim); font-size: 15px; line-height: 1.65;
  padding: 0 26px;
}
.faq details > .body > .body-inner {
  overflow: hidden; min-height: 0;
  padding-bottom: 0;
  transition: padding-bottom .32s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq details[open] > .body { grid-template-rows: 1fr; }
.faq details[open] > .body > .body-inner { padding-bottom: 26px; }
.faq .body a { color: var(--magenta); border-bottom: 1px solid rgba(255,31,143,0.3); }

/* ───────────────────────────── FINAL CTA ───────────────────────────── */
.final-cta {
  position: relative; overflow: hidden;
  padding: 120px 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(255,31,143,0.32), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,31,143,0.12), transparent 70%),
    var(--night);
  text-align: center;
}
.final-cta h2 { font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -0.035em; }
.final-cta p { color: var(--warm-dim); font-size: 18px; margin-top: 14px; }
.final-cta .ctas { display: inline-flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

/* ───────────────────────────── FOOTER ───────────────────────────── */
.site-footer {
  background: #0A0813;
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-col h4 {
  font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: 1.6px;
  color: var(--ink); text-transform: uppercase; margin-bottom: 18px;
}
.footer-col a {
  display: block; padding: 6px 0;
  color: var(--warm-dim); font-size: 14px;
  transition: color .18s ease, transform .18s ease;
}
.footer-col a:hover {
  color: var(--magenta-light);
  transform: translateY(-2px);
}
.footer-tagline { color: var(--warm-dim); font-size: 14.5px; line-height: 1.55; margin-top: 18px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center;
                  padding-top: 28px; border-top: 1px solid var(--border);
                  color: var(--ink); font-size: 13px; }
.footer-bottom .legal-links { display: flex; gap: 24px; }
.footer-bottom .legal-links a { color: var(--ink); }
.footer-bottom .legal-links a:hover { color: var(--warm); }

/* ───────────────────────────── MOBILE CTA ───────────────────────────── */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(10,8,19,0.96);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
  }
  .mobile-cta-bar .btn { width: 100%; }
  body { padding-bottom: 84px; }
}

/* ───────────────────────────── LEGAL PAGES ───────────────────────────── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-page h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.legal-page .meta {
  color: var(--ink); font-size: 13px; font-family: 'JetBrains Mono';
  margin-bottom: 48px; letter-spacing: 1px;
}
.legal-page h2 { font-size: 22px; margin: 48px 0 16px; color: var(--warm); }
.legal-page h3 { font-size: 17px; margin: 32px 0 12px; }
.legal-page p, .legal-page li { color: var(--warm-dim); line-height: 1.75; font-size: 16px; }
.legal-page p { margin-bottom: 16px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--magenta); border-bottom: 1px solid rgba(255,31,143,0.3); }
.legal-page a:hover { border-bottom-color: var(--magenta); }
.placeholder-banner {
  background: rgba(255,31,143,0.06); border: 1px solid rgba(255,31,143,0.3);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 32px;
  font-family: 'JetBrains Mono'; font-size: 12px; letter-spacing: 0.8px;
  color: var(--magenta-light);
}

/* ───────────────────────────── ANIMATIONS ───────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1),
              transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(var(--idx, 0) * 60ms);
}

/* Step illustrations — very subtle breathing + scale shift, phase-offset
   per step so they don't sync. */
.step-card .step-illo svg {
  animation: stepBreathe 6s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
.step-card:nth-child(1) .step-illo svg { animation-delay: 0s;   }
.step-card:nth-child(2) .step-illo svg { animation-delay: -2s;  }
.step-card:nth-child(3) .step-illo svg { animation-delay: -4s;  }
@keyframes stepBreathe {
  0%, 100% { transform: scale(1)      rotate(0deg);   }
  50%      { transform: scale(1.018)  rotate(-0.6deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero-orb { animation: none; }
  .hero-orb-wrap { transform: translate(-50%, -50%) !important; }
  .eyebrow::before { animation: none; opacity: 1; }
  .step-card .step-illo svg { animation: none; }
  .hero-bg .star { animation: none; opacity: var(--o, 0.5); }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ───────────────────────────── RESPONSIVE ───────────────────────────── */
@media (max-width: 980px) {
  .steps      { grid-template-columns: 1fr; gap: 16px; }
  .features   { grid-template-columns: repeat(2, 1fr); }
  .screenshots{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pricing    { grid-template-columns: 1fr; gap: 16px; }
  .price-card.featured { transform: none; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { min-height: 0; padding: 56px 0 80px; }
  .features { grid-template-columns: 1fr; }
  .screenshots { grid-template-columns: 1fr; gap: 24px; max-width: 320px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
