/* The app's faces, in the app's order of preference (Source/UI/MainComponentShared.h:
   Futura Condensed Medium, Avenir Next Condensed, DIN Condensed, Arial Narrow; Futura
   Bold for the BPM). They are system fonts on Apple devices; elsewhere the stack
   falls through to a narrow or heavy sans. */
@font-face { font-family:"VPCond"; font-weight:400 700;
  src: local("Futura Condensed Medium"), local("Futura-CondensedMedium"), local("Avenir Next Condensed Medium"),
       local("AvenirNextCondensed-Medium"), local("DIN Condensed"), local("DINCondensed-Bold"), local("Arial Narrow"), local("ArialNarrow"); }
:root {
  --font-ui:"VPCond","Futura","Avenir Next Condensed","DIN Condensed","Arial Narrow",system-ui,-apple-system,sans-serif;
  --font-display:"Futura","Futura-Bold","Avenir Next","Century Gothic",system-ui,-apple-system,sans-serif;
  --bg:#0f0e12; --bg2:#14131a; --panel:#18171f; --line:#2a2933; --text:#f4f4f7; --mute:#a2a1b0;
  --brand:#ff2ec8; --brand-dim:#a3197f; --violet:#9b6bff; --green:#34d17a;
  --radius:18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; background:var(--bg); }
body { margin:0; color:var(--text); background:var(--bg);
  font:19px/1.6 var(--font-ui); letter-spacing:.02em;
  background-image:
    radial-gradient(900px 520px at 50% -140px, rgba(255,46,200,.20), transparent 70%),
    radial-gradient(700px 480px at 100% 30%, rgba(155,107,255,.10), transparent 70%); background-repeat:no-repeat; }
a { color:var(--brand); }
img { max-width:100%; height:auto; }
.wrap { max-width:1040px; margin:0 auto; padding-left:22px; padding-right:22px; }

/* header */
.top { position:sticky; top:0; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px max(22px,calc((100vw - 1040px)/2)); background:rgba(15,14,18,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06); }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-weight:700; letter-spacing:.08em; font-size:15px; }
.brand img { border-radius:50%; box-shadow:0 0 18px rgba(255,46,200,.45); }
.top nav { display:flex; align-items:center; gap:20px; font-size:16px; }
.top nav a { color:var(--mute); text-decoration:none; }
.top nav a:hover { color:var(--text); }
.lang { display:inline-flex; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.lang a { padding:3px 11px; font-size:14px; letter-spacing:.06em; }
.lang a:hover { background:rgba(255,255,255,.06); }
@media (max-width:620px){ .top nav a:not([data-lang]):not(.store-link) { display:none; } .brand span { font-size:11px; } }

/* hero */
.hero { text-align:center; padding:44px 0 28px; position:relative; }
.logo { width:min(520px,86vw); aspect-ratio:1; margin:0 auto; display:block;
  -webkit-mask-image:radial-gradient(closest-side,#000 74%,transparent 100%); mask-image:radial-gradient(closest-side,#000 74%,transparent 100%);
  animation:breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 0%,100% { filter:drop-shadow(0 0 34px rgba(255,46,200,.22)); transform:scale(1); }
                     50%     { filter:drop-shadow(0 0 60px rgba(255,46,200,.42)); transform:scale(1.015); } }

/* the four quarters: a ball hopping across them, as in the app's launch screen (125 BPM) */
.beats { --step:58px; position:relative; width:calc(var(--step)*3 + 18px); height:64px; margin:-34px auto 8px; }
.beats i { position:absolute; bottom:8px; width:14px; height:14px; border-radius:50%; background:rgba(255,255,255,.14);
  animation:pulse 1.92s linear infinite; }
.beats i:nth-child(1) { left:0; width:18px; height:18px; bottom:6px; animation-delay:0s; }
.beats i:nth-child(2) { left:var(--step); animation-delay:.48s; }
.beats i:nth-child(3) { left:calc(var(--step)*2); animation-delay:.96s; }
.beats i:nth-child(4) { left:calc(var(--step)*3); animation-delay:1.44s; }
@keyframes pulse { 0% { background:var(--brand); box-shadow:0 0 22px var(--brand); transform:scale(1.55); }
                   22%,100% { background:rgba(255,255,255,.14); box-shadow:none; transform:scale(1); } }
.ball-x { position:absolute; left:0; bottom:8px; width:14px; height:14px; animation:ballx 1.92s linear infinite; }
.ball { display:block; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 0 16px 4px rgba(255,46,200,.75); animation:bounce .48s infinite; }
@keyframes ballx { 0% { transform:translateX(0); animation-timing-function:ease-in-out; }
                   25% { transform:translateX(var(--step)); animation-timing-function:ease-in-out; }
                   50% { transform:translateX(calc(var(--step)*2)); animation-timing-function:ease-in-out; }
                   75% { transform:translateX(calc(var(--step)*3)); animation-timing-function:ease-in-out; }
                   100% { transform:translateX(0); } }
@keyframes bounce { 0% { transform:translateY(0); animation-timing-function:cubic-bezier(.2,.7,.4,1); }
                    50% { transform:translateY(-28px); animation-timing-function:cubic-bezier(.6,0,.8,.3); }
                    100% { transform:translateY(0); } }
h1 { font:700 clamp(34px,6.4vw,60px)/1.08 var(--font-display); letter-spacing:-.02em; margin:26px auto 14px; max-width:16ch; }
h1 em { font-style:normal; background:linear-gradient(90deg,var(--brand),var(--violet)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead { color:var(--mute); font-size:clamp(20px,2.6vw,24px); max-width:34em; margin:0 auto 26px; }
.cta { display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:999px; font-weight:700; text-decoration:none; color:#fff;
  background:linear-gradient(180deg,#ff4fd2,#e0129f); box-shadow:0 10px 34px rgba(255,46,200,.38),inset 0 1px 0 rgba(255,255,255,.35); }
.store { margin:22px 0 0; text-align:center; }
.store a { display:inline-block; line-height:0; }
.store img { height:54px; width:auto; }
.chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:22px 0 0; padding:0; list-style:none; }
.chips li { padding:6px 16px; border:1px solid var(--line); border-radius:999px; color:var(--mute); font-size:16px; background:rgba(255,255,255,.02); }

/* sections */
section { padding:58px 0 18px; }
.hero { padding-top:44px; }
.eyebrow { color:var(--brand); font-weight:700; letter-spacing:.16em; font-size:14px; text-transform:uppercase; margin:0 0 10px; }
h2 { font:700 clamp(26px,4vw,38px)/1.15 var(--font-display); letter-spacing:-.01em; margin:0 0 12px; }
.sub { color:var(--mute); max-width:40em; margin:0 0 26px; }
.grid { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.card { background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015)); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.card h3 { margin:14px 0 6px; font-size:23px; font-family:var(--font-display); font-weight:700; letter-spacing:0; }
.card p { margin:0; color:var(--mute); font-size:18px; }
.ico { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background:rgba(255,46,200,.12); border:1px solid rgba(255,46,200,.35); }
.ico svg { width:24px; height:24px; stroke:var(--brand); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* live / mixer feature */
.live { border-radius:24px; padding:30px 26px; border:1px solid rgba(255,46,200,.35);
  background:radial-gradient(600px 260px at 15% 0%, rgba(255,46,200,.16), transparent 70%), linear-gradient(180deg,#1b1721,#141219); }
.flow { display:flex; align-items:center; gap:0; margin:26px 0 8px; flex-wrap:nowrap; }
.node { flex:0 0 auto; padding:12px 16px; border:1px solid var(--line); border-radius:14px; background:var(--panel); text-align:center; font-weight:700; font-size:15px; letter-spacing:.08em; }
.node small { display:block; color:var(--mute); font-weight:500; letter-spacing:.02em; font-size:14px; }
.node.app { border-color:var(--brand); box-shadow:0 0 26px rgba(255,46,200,.28); }
.wire { position:relative; flex:1 1 40px; height:2px; background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(255,255,255,.12)); margin:0 4px; min-width:24px; }
.wire::after { content:""; position:absolute; top:-3px; left:0; width:8px; height:8px; border-radius:50%; background:var(--brand); box-shadow:0 0 12px var(--brand); animation:run 1.9s linear infinite; }
.wire.out::after { animation-delay:.95s; }
@keyframes run { from { left:0; opacity:0; } 10% { opacity:1; } 90% { opacity:1; } to { left:calc(100% - 8px); opacity:0; } }
@media (max-width:560px){ .flow { flex-direction:column; } .wire { width:2px; min-width:0; height:34px; flex:none; margin:4px 0; }
  .wire::after { top:0; left:-3px; animation:runy 1.9s linear infinite; } @keyframes runy { from { top:0; opacity:0; } 10% { opacity:1; } 90% { opacity:1; } to { top:calc(100% - 8px); opacity:0; } } }

.steps { counter-reset:s; display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); padding:0; list-style:none; margin:0; }
.steps li { counter-increment:s; position:relative; padding:20px 20px 20px 66px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.02); }
.steps li::before { content:counter(s); position:absolute; left:18px; top:18px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-weight:800; color:#fff; background:linear-gradient(180deg,#ff4fd2,#e0129f); }
.steps b { display:block; margin-bottom:2px; font-size:21px; font-family:var(--font-display); letter-spacing:0; }
.steps span { color:var(--mute); font-size:18px; }

.plans { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.plan { border:1px solid var(--line); border-radius:var(--radius); padding:22px; background:rgba(255,255,255,.02); }
.plan.best { border-color:var(--brand); box-shadow:0 0 34px rgba(255,46,200,.18); }
.plan h3 { margin:0 0 6px; font-size:24px; font-family:var(--font-display); font-weight:700; letter-spacing:0; }
.plan p { margin:0; color:var(--mute); font-size:18px; }
.tag { display:inline-block; background:var(--brand); color:#fff; border-radius:999px; font-size:13px; font-weight:800; letter-spacing:.08em; padding:3px 10px; margin-bottom:10px; }

/* text pages */
article { max-width:720px; margin:0 auto; padding:34px 22px 10px; }
article h1 { font-size:clamp(30px,5vw,44px); text-align:left; max-width:none; margin:10px 0 8px; }
article h2 { font-size:24px; margin:34px 0 6px; }
article p, article li { color:#e4e3ea; }
article .lead { margin:0 0 22px; max-width:none; text-align:left; }
article .card { margin:22px 0; }
.updated { color:var(--mute); font-size:16px; }

footer { margin-top:56px; padding:28px max(22px,calc((100vw - 1040px)/2)) 46px; border-top:1px solid var(--line); color:var(--mute); font-size:16px;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }
footer a { color:var(--mute); text-decoration:none; margin-right:16px; }
footer a:hover { color:var(--text); }

/* language: both shown without JavaScript; the script keeps the device's one */
html.js .en, html.js .it { display:none; }
html.js.lang-en .en, html.js.lang-it .it { display:revert; }

@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; } .beats i:nth-child(1) { background:var(--brand); } }
