/* PartyGlow website. Dark like the app (it is used with the lights off), one brand gradient
   (hot pink to violet), and motion everywhere it helps: the live effects (js/glow.js), entrance
   and scroll reveals, the sticky phone. Everything reads without JavaScript and stays still
   under prefers-reduced-motion. */

@font-face { font-family: "Public Sans"; src: url("../assets/fonts/public_sans_regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../assets/fonts/public_sans_medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../assets/fonts/public_sans_semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../assets/fonts/public_sans_bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../assets/fonts/public_sans_extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #07060B;
  --bg2: #0E0B16;
  --surface: rgba(255, 255, 255, .045);
  --surface2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .10);
  --ink: #F5F3FA;
  --body: #C9C3D8;
  --muted: #9A94AE;
  --pink: #FF4FD8;
  --violet: #8B5CF6;
  --cyan: #00C2FF;
  --yellow: #FFE600;
  --grad: linear-gradient(100deg, #FF4FD8 0%, #A65CFF 45%, #00C2FF 100%);
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --radius: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* Gradient text that slowly shimmers. */
.glow-text { font-style: normal; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.h2 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; max-width: 17ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--body); max-width: 56ch; margin-top: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease-out), box-shadow .3s, background .3s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-glow { background: var(--grad); color: #160616; box-shadow: 0 8px 30px -8px rgba(255, 79, 216, .6); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255, 79, 216, .8); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface2); transform: translateY(-2px); }
.play-badge img { height: 56px; width: auto; transition: transform .3s var(--ease-out), filter .3s; }
.play-badge:hover img { transform: translateY(-2px) scale(1.02); filter: drop-shadow(0 10px 24px rgba(255, 79, 216, .35)); }

/* Header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
header#top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
header#top.scrolled { background: rgba(7, 6, 11, .86); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), top .3s; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 25px; }
.drawer-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.drawer-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.drawer { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: .42; animation: drift 18s ease-in-out infinite alternate; }
.aurora .a1 { background: #FF4FD8; left: 8%; top: 18%; }
.aurora .a2 { background: #5B3CFF; right: 6%; top: 6%; animation-delay: -6s; animation-duration: 22s; }
.aurora .a3 { background: #00C2FF; left: 38%; bottom: 0; opacity: .28; animation-delay: -12s; animation-duration: 26s; }
@keyframes drift { 50% { transform: translate(6vw, 4vh) scale(1.12); } 100% { transform: translate(-4vw, -3vh) scale(.92); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 800; margin-top: 22px; letter-spacing: -.035em; }
.hero h1 em { display: inline-block; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 14px; color: var(--muted); font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Entrance: CSS keyframes, so the hero never waits on a script. */
.enter { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease-out) forwards; }
.e1 { animation-delay: .05s; } .e2 { animation-delay: .15s; } .e3 { animation-delay: .3s; } .e4 { animation-delay: .45s; } .e5 { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Phones */
.stage { position: relative; perspective: 1400px; }
.tilt { position: relative; height: clamp(440px, 52vw, 620px); transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.phone { position: absolute; border-radius: 34px; padding: 7px; background: linear-gradient(160deg, #3a3548, #121018 40%, #2a2535); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone canvas { width: 100%; height: 100%; border-radius: 28px; background: #000; }
.phone.main { width: clamp(230px, 24vw, 300px); aspect-ratio: 9 / 19; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; animation: float 7s ease-in-out infinite; }
.phone.side { width: clamp(170px, 17vw, 215px); aspect-ratio: 9 / 19; top: 50%; opacity: .85; z-index: 2; }
.phone.side.left { left: 4%; transform: translateY(-46%) rotate(-11deg); animation: floatL 8s ease-in-out infinite; }
.phone.side.right { right: 4%; transform: translateY(-46%) rotate(11deg); animation: floatR 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, -53%); } }
@keyframes floatL { 50% { transform: translateY(-43%) rotate(-9deg); } }
@keyframes floatR { 50% { transform: translateY(-49%) rotate(13deg); } }
.phone-ui { position: absolute; inset: 7px; border-radius: 28px; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 18px 12px 22px; }
.ui-pill { align-self: flex-start; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .18); }
.ui-pill .mic { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.ui-tabs { display: flex; font-size: 10.5px; font-weight: 700; border-radius: 999px; background: rgba(20, 18, 28, .8); border: 1px solid rgba(255, 255, 255, .14); padding: 2px; color: var(--muted); }
.ui-tabs b, .ui-tabs span { padding: 4px 12px; border-radius: 999px; }
.ui-tabs b { background: var(--grad); color: #1a0716; }
.beat-ring { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 2px solid rgba(255, 79, 216, .5); z-index: 1; opacity: 0; }
.beat-ring.pulse { animation: ring 1.1s var(--ease-out); }
@keyframes ring { 0% { opacity: .7; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.35); } }
.stage-cap { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--ink); transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg2); }
.track { display: flex; gap: 34px; width: max-content; animation: slide 36s linear infinite; font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.track i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Stats */
.stats-sec { padding: clamp(70px, 9vw, 110px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-out), border-color .4s; }
.stat:hover { transform: translateY(-4px); border-color: rgba(255, 79, 216, .35); }
.stat b { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
.stat b span { display: inline; }

/* Reveals (site.js adds .in) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; }

/* How it works */
.how { padding: var(--section) 0; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); margin-top: 60px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .6s var(--ease); }
.step.active { opacity: 1; }
.step .num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #160616; background: var(--grad); margin-bottom: 18px; box-shadow: 0 10px 30px -10px rgba(255, 79, 216, .7); }
.step h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.step p { margin-top: 14px; max-width: 46ch; font-size: 18px; }
.sticky-phone { position: sticky; top: 12vh; height: 76vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.phone.big { position: relative; width: min(330px, 70%); aspect-ratio: 9 / 19; }
.fx-name { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .2); transition: opacity .3s; }
.fx-name.swap { opacity: 0; }
.dots { display: flex; gap: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease-out), background .4s; }
.dots i.on { width: 26px; background: var(--grad); }

/* Effects gallery */
.effects { padding: var(--section) 0; background: radial-gradient(1000px 500px at 80% 0%, rgba(139, 92, 246, .14), transparent 70%); }
.palettes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.swatch { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: transform .3s var(--ease-out), border-color .3s, background .3s; }
.swatch::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--a), var(--b), var(--c), var(--d), var(--a)); }
.swatch:hover { transform: translateY(-2px); }
.swatch.on { border-color: var(--pink); background: rgba(255, 79, 216, .12); }
.fx-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.fx { position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line); aspect-ratio: 3 / 4.4; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; }
.fx:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 60px -20px rgba(255, 79, 216, .45); border-color: rgba(255, 255, 255, .25); }
.fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-meta { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.fx-meta h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.fx-meta p { font-size: 13px; color: #D4CEE2; margin-top: 4px; line-height: 1.45; }
.pro { font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 999px; background: var(--grad); color: #160616; }
.note { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* Safety band */
.band { padding: var(--section) 0; background: var(--bg2); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--ease-out), border-color .45s; }
.card:hover { transform: translateY(-5px); border-color: rgba(255, 79, 216, .35); }
.card svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, rgba(255, 79, 216, .35), rgba(139, 92, 246, .35)); margin-bottom: 20px; }
.card h3 { font-size: 21px; font-weight: 800; }
.card p { margin-top: 10px; font-size: 16px; }

/* Pricing */
.pricing { padding: var(--section) 0; }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; margin-top: 50px; align-items: stretch; }
.plan { position: relative; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 30px; font-weight: 800; }
.plan-sub { color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.pro-plan { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px -30px rgba(255, 79, 216, .45); }
.pro-plan .tag { position: absolute; top: -14px; left: 32px; padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #160616; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.plan-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-sec { padding: var(--section) 0; background: var(--bg2); border-top: 1px solid var(--line); }
.faqs { margin-top: 40px; display: grid; gap: 12px; }
.faq { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq[open] { border-color: rgba(255, 79, 216, .35); background: var(--surface2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease-out); }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 24px 22px; }

/* Closing */
.closing { position: relative; padding: clamp(110px, 14vw, 190px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.closing-glow { position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; opacity: .55; -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.closing .h2 { margin: 0 auto; max-width: 18ch; }
.closing .lead { margin: 20px auto 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-top: 70px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.foot-about p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 36ch; }
.foot-col h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--body); font-size: 15px; transition: color .25s; }
.foot-col a:hover { color: var(--ink); }
.foot-col .app { display: flex; align-items: center; gap: 12px; }
.foot-col .app img { border-radius: 8px; }
.foot-col .app small { display: block; color: var(--muted); font-size: 12.5px; }
.foot-legal { border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 13px; color: var(--muted); }

/* Legal pages */
.doc { padding: 130px 0 90px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; }
.doc .meta { color: var(--muted); margin-top: 12px; }
.doc h2 { font-size: 24px; font-weight: 800; margin: 44px 0 12px; }
.doc p, .doc li { font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--pink); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); }
.doc code { font-size: 13.5px; background: var(--surface2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.doc .contact { margin-top: 20px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }

/* Responsive */
@media (max-width: 1100px) {
  .fx-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .bar .btn-sm { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .drawer { display: grid; position: fixed; inset: 72px 0 auto 0; background: rgba(7, 6, 11, .97); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 22px; transform: translateY(-120%); transition: transform .45s var(--ease-out); z-index: -1; }
  .drawer.open { transform: none; }
  .drawer a { padding: 14px 4px; font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero { padding-top: 110px; }
  .tilt { height: 520px; }
  .how-grid { grid-template-columns: 1fr; }
  .sticky-phone { order: -1; top: 76px; height: auto; padding: 10px 0; z-index: 2; background: linear-gradient(var(--bg) 85%, transparent); }
  .phone.big { width: 170px; }
  .step { min-height: 52vh; }
  .cards, .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fx-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { gap: 12px; }
  .stat { padding: 22px 18px; }
  .phone.side { display: none; }
  .tilt { height: 470px; }
  .foot-grid { grid-template-columns: 1fr; }
  .fx-meta p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .enter { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
