/* Apex Player website. Built from the app's own look: a glass navigation rail on the left (bottom tab bar on
   phones), frosted tiles with viewfinder corners, an equalizer hero and a seek-bar scroll line. */
:root {
  --bg: #0a0a0a;
  --bg-2: #0d1418;
  --text: #f4f7f8;
  --muted: #9aa6ab;
  --accent: #00e5ff;
  --accent-2: #4d7cff;
  --on-accent: #00262b;
  --glass: rgba(26, 26, 26, 0.62);
  --glass-line: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.09);
  --glow: rgba(0, 229, 255, 0.16);
  --ok: #3ddc97;
  --warn: #ffd166;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --rail: 92px;
  --radius: 20px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f7fa; --bg-2: #e3eaf1; --text: #14181b; --muted: #5d6a70; --accent: #00a9c2; --accent-2: #3b63d9; --on-accent: #ffffff;
  --glass: rgba(255, 255, 255, 0.72); --glass-line: rgba(255, 255, 255, 0.95); --line: rgba(20, 40, 60, 0.12); --glow: rgba(0, 169, 194, 0.16);
  --ok: #138a5b; --warn: #a66f00; --shadow: 0 18px 50px rgba(30, 60, 90, 0.14); color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f5f7fa; --bg-2: #e3eaf1; --text: #14181b; --muted: #5d6a70; --accent: #00a9c2; --accent-2: #3b63d9; --on-accent: #ffffff;
    --glass: rgba(255, 255, 255, 0.72); --glass-line: rgba(255, 255, 255, 0.95); --line: rgba(20, 40, 60, 0.12); --glow: rgba(0, 169, 194, 0.16);
    --ok: #138a5b; --warn: #a66f00; --shadow: 0 18px 50px rgba(30, 60, 90, 0.14); color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); line-height: 1.6;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    linear-gradient(color-mix(in srgb, var(--line) 40%, transparent) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(180deg, var(--bg-2), var(--bg)) fixed;
  background-attachment: fixed;
}
body::before { /* one soft light from the top, like the app's header glow */
  content: ""; position: fixed; inset: -20% 0 auto 0; height: 60vh; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 60% at 50% 0%, var(--glow), transparent 70%);
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Outfit", "DM Sans", sans-serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 2em; font-weight: 600; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.ico { width: 24px; height: 24px; flex: none; }

/* ---- Navigation rail (desktop) and tab bar (phones): the same two shapes the app uses ---- */
.rail {
  position: fixed; z-index: 40; left: 14px; top: 14px; bottom: 14px; width: calc(var(--rail) - 14px); border-radius: 26px;
  display: flex; flex-direction: column; align-items: center; padding: 14px 6px; gap: 6px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.rail-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text); text-decoration: none; font-family: "Outfit", sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.rail-brand img { width: 34px; height: 34px; }
.rail-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; width: 100%; flex: 1; overflow-y: auto; scrollbar-width: none; }
.rail-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 2px; border-radius: 16px; color: var(--muted);
  text-decoration: none; font-size: .68rem; font-weight: 700; transition: background .2s, color .2s, transform .15s;
}
.rail-nav a:hover { color: var(--text); background: var(--glow); }
.rail-nav a[aria-current="page"] { color: var(--accent); background: var(--glow); box-shadow: inset 0 0 0 1px var(--accent); }
.rail-nav a.pro-link .ico { color: var(--warn); }
.rail-tools { display: flex; flex-direction: column; gap: 6px; }
.tool { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s; }
.tool:hover { color: var(--accent); border-color: var(--accent); }
.mobbar, .tabbar { display: none; }

.stage { position: relative; z-index: 1; margin-left: var(--rail); padding: 0 clamp(16px, 3vw, 40px); max-width: 1240px; }
.seek { position: fixed; z-index: 41; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; pointer-events: none; }
.seek i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 12px var(--accent); }

@media (max-width: 959px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .mobbar { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; justify-content: space-between; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
    background: var(--glass); border-bottom: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mobbar .rail-brand { flex-direction: row; gap: 10px; font-size: 1rem; text-transform: none; letter-spacing: 0; }
  .mob-tools { display: flex; gap: 8px; }
  .mob-tools .tool { width: 38px; height: 38px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px;
    border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px; border-radius: 18px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 700; }
  .tabbar a[aria-current="page"] { color: var(--accent); background: var(--glow); }
  .stage { margin-left: 0; padding-bottom: 96px; }
  .seek { left: auto; right: 0; }
}

/* ---- Buttons: filled pills like the app's ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; text-decoration: none; font-weight: 700;
  color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); cursor: pointer; font-family: inherit; font-size: 1rem;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover, .btn:focus-visible { border-color: var(--accent); box-shadow: 0 8px 24px var(--glow); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.big { padding: 15px 30px; font-size: 1.05rem; }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.note { color: var(--muted); font-size: .92rem; }

/* ---- Tiles: frosted glass with viewfinder corners ---- */
.card, .feature, .why, .step, .legal-card, .store-card, .tbl, .faq details, .gallery figure {
  position: relative; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.card::before, .feature::before, .why::before, .store-card::before, .legal-card::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none; border-radius: 14px; opacity: .55;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 2px 14px no-repeat;
}
.card { padding: 26px; margin: 20px 0; }
.card > :last-child { margin-bottom: 0; }
.why { padding: 26px; }
.why ul { list-style: none; margin: 0; padding: 0; }
.why li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px solid var(--line); }
.why li:last-child { border-bottom: 0; }
.why li::before, .ticks li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.why b { display: block; }
.why span { color: var(--muted); font-size: .94rem; }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: .6em 0; color: var(--muted); }
.ticks li::before { top: .62em; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 22px 0; }
.feature { padding: 24px; }
.feature p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }
.tag { display: inline-block; font-family: "Outfit", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; border: 1px solid var(--accent); color: var(--accent); }
.tag-pro { color: var(--warn); border-color: var(--warn); }

/* ---- Chapter labels: section markers in player-timecode style ---- */
.chapter { display: flex; align-items: center; gap: 12px; margin: 3.2em 0 .2em; font-family: "Outfit", sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.chapter::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .5; }
.chapter + h2 { margin-top: .2em; }

/* ---- Hero ---- */
.hero { padding: clamp(36px, 7vw, 84px) 0 28px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-family: "Outfit", sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 600; margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.accent { color: var(--accent); }
h1 .accent { position: relative; white-space: nowrap; }
h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .09em; border-radius: 4px; background: var(--accent); transform-origin: 0 50%; box-shadow: 0 0 18px var(--accent); }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--glass-line); background: var(--glass); border-radius: 999px; padding: 6px 14px; font-size: .86rem; font-weight: 700; }

/* the phone mock with an equalizer and a floating mini-player */
.stagefx { position: relative; min-height: 520px; display: grid; place-items: center; }
.stagefx::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 68%); }
.phone { position: relative; width: min(270px, 62%); padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #2b3338, #0e1114); border: 1px solid var(--glass-line); box-shadow: var(--shadow), 0 0 60px var(--glow); }
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 392 / 584; object-fit: cover; }
.phone.back { position: absolute; width: min(210px, 48%); left: 2%; bottom: 4%; transform: rotate(-9deg); z-index: 0; opacity: .92; }
.phone.front { z-index: 1; transform: rotate(4deg); }
.mini { position: absolute; z-index: 2; right: 0; bottom: 10%; width: min(250px, 60%); padding: 12px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: .82rem; }
.mini b { display: block; font-family: "Outfit", sans-serif; }
.mini span { color: var(--muted); }
.mini .bar { height: 4px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.mini .bar i { display: block; height: 100%; width: 38%; background: var(--accent); border-radius: 3px; }
.eq { position: absolute; z-index: 2; left: 0; top: 8%; display: flex; align-items: flex-end; gap: 5px; height: 70px; padding: 10px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.eq i { width: 6px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); height: 40%; transform-origin: 50% 100%; }
.eq i:nth-child(1) { height: 55%; } .eq i:nth-child(2) { height: 85%; } .eq i:nth-child(3) { height: 45%; } .eq i:nth-child(4) { height: 100%; } .eq i:nth-child(5) { height: 65%; } .eq i:nth-child(6) { height: 35%; } .eq i:nth-child(7) { height: 75%; }

/* bento grid for the home page features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 22px 0; }
.bento .feature { grid-column: span 2; }
.bento .feature.wide { grid-column: span 4; }
.bento .feature.half { grid-column: span 3; }
.bento .feature.hero-tile { grid-column: span 4; background: linear-gradient(135deg, var(--glow), var(--glass)); }
.bento .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .stagefx { min-height: 440px; } .bento { grid-template-columns: 1fr 1fr; } .bento .feature, .bento .feature.wide, .bento .feature.half, .bento .feature.hero-tile { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .feature, .bento .feature.wide, .bento .feature.half, .bento .feature.hero-tile { grid-column: span 1; } }

/* ---- Tables ---- */
.tbl { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { font-family: "Outfit", sans-serif; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td:not(:first-child), th:not(:first-child) { text-align: center; }
td.yes { color: var(--ok); font-weight: 700; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 22px 0; }
.gallery figure { margin: 0; padding: 10px; border-radius: 30px; }
.gallery img { border-radius: 22px; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: .88rem; padding: 8px 0 2px; font-weight: 700; }

/* ---- Documents (guide, legal) ---- */
.doc { padding: clamp(28px, 5vw, 56px) 0 8px; }
.doc.legal { max-width: 820px; }
.legal-card { padding: clamp(22px, 4vw, 40px); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.15rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .45em 0; }
.updated { color: var(--muted); font-size: .9rem; }
.guide-sec { padding: 26px; margin: 18px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.step { padding: 20px 22px 20px 74px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent); font-family: "Outfit", sans-serif; font-weight: 700; font-size: .9rem; background: var(--glow); }
.step h3 { margin-bottom: .3em; }
.step p { margin-bottom: .5em; color: var(--muted); }
.step p:last-child { margin-bottom: 0; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; word-break: break-all; font-size: .85rem; }
.warn { border: 1px solid var(--warn); border-left-width: 4px; padding: 12px 16px; border-radius: 14px; background: var(--glass); margin: 16px 0; }
details { margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
.badge-pro { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; color: #2a1f00; background: var(--warn); vertical-align: middle; }
.pay-box { display: grid; gap: 4px; margin: 14px 0; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--accent); background: var(--glow); }
.pay-box b { font-size: 1.2rem; font-family: "Outfit", sans-serif; }
.faq details { padding: 14px 20px; margin: 10px 0; }

/* ---- Footer styled as the app's mini player ---- */
.deck { padding: 56px 0 30px; color: var(--muted); font-size: .92rem; text-align: center; }
.deck-now { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; text-align: left; padding: 14px 18px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); margin-bottom: 22px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.deck-now img { width: 40px; height: 40px; }
.deck-now b { display: block; color: var(--text); font-family: "Outfit", sans-serif; }
.deck-now span { font-size: .84rem; }
.deck-bar { flex: 1 1 120px; height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; min-width: 80px; }
.deck-bar i { display: block; height: 100%; width: 36%; background: var(--accent); border-radius: 3px; }
.deck-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; }
.deck-links a { color: var(--text); text-decoration: none; font-weight: 700; }
.deck-links a:hover { color: var(--accent); }
.deck p { margin: .3em 0; }
.copyright { font-size: .85rem; }

/* ---- Premium page: payment widget ---- */
.paywidget label { display: block; margin: 10px 0 4px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.paywidget input[type="email"], .paywidget input:not([type]), .paywidget input[inputmode] { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--glass-line); background: transparent; color: var(--text); font: inherit; }
.paywidget input:focus-visible, #store-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.paywidget .pw-block { margin-bottom: 24px; }
.paywidget .plans { display: grid; gap: 8px; }
.paywidget .plan { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 16px; border: 1px solid var(--glass-line); border-radius: 16px; cursor: pointer; margin: 0; color: var(--text); transition: border-color .2s, background .2s; }
.paywidget .plan:hover { border-color: var(--accent); }
.paywidget .plan.on { border-color: var(--accent); background: var(--glow); }
.paywidget .plan .pn { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.paywidget .plan .pn em { font-style: normal; font-size: .7rem; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--accent); color: var(--accent); }
.paywidget .plan .pp { text-align: right; }
.paywidget .plan .pp s { color: var(--muted); font-size: .85rem; }
.paywidget .plan .pd { grid-column: 2 / 4; text-align: right; font-size: .85rem; font-weight: 500; }
.paywidget .seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.paywidget .row { display: flex; gap: 8px; align-items: center; }
.paywidget .row input { flex: 1; }
.paywidget .err { color: #ff6b7a; font-weight: 700; }
.paywidget .okmsg { color: var(--ok); font-weight: 700; }
.paywidget .offer { padding: 10px 16px; border-radius: 14px; background: var(--glow); border: 1px solid var(--accent); font-weight: 700; }
.paywidget .hist.approved b { color: var(--ok); }
.paywidget .hist.rejected b, .paywidget .hist.refunded b { color: #ff6b7a; }
.paywidget .acct { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.paywidget .acct .btn { padding: 6px 14px; font-size: .9rem; }
.mini-steps, .mini { /* .mini is also used for the hero card; the list variant below is for text */ }
ol.mini { position: static; width: auto; padding: 0 0 0 20px; margin: 0 0 10px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: inherit; }
@media (max-width: 520px) { .paywidget .plan { grid-template-columns: auto 1fr; } .paywidget .plan .pp, .paywidget .plan .pd { grid-column: 2; text-align: left; } }

/* ---- Store ---- */
.store-state { padding: 12px 18px; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); margin: 14px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.store-state .okmsg { width: 100%; color: var(--ok); font-weight: 700; }
.store-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 18px; }
.store-tabs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }
.store-tabs .btn { padding: 8px 18px; font-size: .95rem; }
#store-search { flex: 0 1 250px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--text); font: inherit; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.store-card { padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, border-color .2s ease; }
.store-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.store-card h3 { margin: 8px 0 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.store-card p { margin: 0; font-size: .9rem; min-height: 2.6em; }
.store-card .act { margin-top: auto; padding-top: 8px; }
.store-card .act .btn { width: 100%; }
.store-card.locked .pv { filter: saturate(.7); }
.store-card .ok { color: var(--ok); font-weight: 700; }
.tag-i, .store-card .tag { margin: 0; }
em.tag { font-style: normal; }
.tag.free { border-color: var(--ok); color: var(--ok); }
.pv { height: 120px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; display: flex; position: relative; z-index: 1; }
.pv-theme { flex-direction: column; padding: 10px; border-width: 2px; gap: 8px; }
.pv-card { flex: 1; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.pv-card i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.pv-card b { height: 6px; border-radius: 3px; width: 85%; display: block; }
.pv-bar { height: 5px; border-radius: 3px; }
.pv-icons { align-items: center; justify-content: space-around; font-size: 1.7rem; }
.pv-icons .ico.rounded { border-radius: 50%; border: 2px solid var(--accent); padding: 6px 12px; width: auto; height: auto; }
.pv-icons .ico.sharp { border: 2px solid var(--accent); padding: 6px 12px; border-radius: 0; width: auto; height: auto; }
.pv-icons .ico.outlined { padding: 6px 12px; opacity: .85; width: auto; height: auto; }
.pv-preset { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 14px; font-size: .9rem; }
.pv-preset div { display: flex; justify-content: space-between; }
.pv-preset em { font-style: normal; color: var(--muted); font-weight: 700; }
.pv-preset em.on { color: var(--ok); }
.pv-eq { align-items: flex-end; justify-content: space-around; padding: 12px; gap: 8px; }
.pv-eq span { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 6px 6px 2px 2px; }

/* ---- Motion. Switched off by prefers-reduced-motion and by the site's own Motion button. Only transform/opacity animate. ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 200ms ease both vt-out; }
::view-transition-new(root) { animation: 300ms ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

.hero > div > *, .stagefx > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero > div > *:nth-child(2) { animation-delay: .08s; } .hero > div > *:nth-child(3) { animation-delay: .16s; }
.hero > div > *:nth-child(4) { animation-delay: .24s; } .hero > div > *:nth-child(5) { animation-delay: .32s; } .hero > div > *:nth-child(6) { animation-delay: .4s; }
.stagefx > *:nth-child(1) { animation-delay: .2s; } .stagefx > *:nth-child(2) { animation-delay: .3s; } .stagefx > *:nth-child(3) { animation-delay: .4s; } .stagefx > *:nth-child(4) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
h1 .accent::after { animation: sweep 1s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sweep { from { transform: scaleX(0); } }
.eq i { animation: bounce 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.1s; }
.eq i:nth-child(5) { animation-delay: -.7s; } .eq i:nth-child(6) { animation-delay: -.35s; } .eq i:nth-child(7) { animation-delay: -.6s; }
@keyframes bounce { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.phone.front { animation: float 7s ease-in-out infinite alternate, rise .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -12px; } }
.mini .bar i { animation: playhead 12s linear infinite; }
.deck-bar i { animation: playhead 14s linear infinite; }
@keyframes playhead { from { width: 4%; } to { width: 96%; } }

.reveal, .reveal-item { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.in, .reveal-item.in { opacity: 1; transform: none; }
@media (hover: hover) {
  .feature, .gallery figure, .step { transition: transform .28s cubic-bezier(.2, .7, .2, 1), border-color .28s ease, box-shadow .28s ease; }
  .feature:hover, .gallery figure:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 18px 44px var(--glow), var(--shadow); }
  .step:hover { border-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-item { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .seek { display: none; }
}
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; transition: none !important; }
:root[data-motion="off"] .reveal, :root[data-motion="off"] .reveal-item { opacity: 1; transform: none; }
:root[data-motion="off"] .seek { display: none; }
:root[data-motion="off"] ::view-transition-old(root), :root[data-motion="off"] ::view-transition-new(root) { animation: none; }

/* ---- Help: floating assistant + WhatsApp ---- */
.help { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.help-row { display: flex; gap: 10px; }
.help-fab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--text);
  font: 700 .92rem "DM Sans", sans-serif; cursor: pointer; text-decoration: none; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .15s, border-color .2s; }
.help-fab:hover { border-color: var(--accent); transform: translateY(-2px); }
.help-fab.ai { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.help-fab.wa { color: #25d366; border-color: rgba(37, 211, 102, .5); }
.help-fab .ico { width: 22px; height: 22px; }
.chat-panel { width: min(380px, calc(100vw - 28px)); height: min(540px, calc(100vh - 150px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--glass-line); box-shadow: var(--shadow), 0 0 60px var(--glow); }
.chat-panel[hidden] { display: none; }
.chat-panel header { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: var(--glass); border-bottom: 1px solid var(--line); }
.chat-panel header > div { flex: 1; min-width: 0; }
.chat-panel header b { display: block; font-family: "Outfit", sans-serif; }
.chat-panel header small { color: var(--muted); }
.chat-agent { border: 1px solid var(--accent); background: transparent; color: var(--accent); border-radius: 999px; padding: 6px 12px; font: 700 .78rem "DM Sans", sans-serif; cursor: pointer; }
.chat-agent[hidden] { display: none; }
.chat-x { border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.cm { max-width: 86%; padding: 9px 13px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font-size: .93rem; }
.cm b { display: block; font-size: .75rem; color: var(--accent); }
.cm.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cm.agent { background: var(--glow); border-color: var(--accent); }
.cm.system { align-self: center; background: transparent; border-style: dashed; color: var(--muted); font-size: .85rem; }
.chat-panel footer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--glass); }
.chat-panel footer input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: transparent; color: var(--text); font: inherit; }
.chat-panel footer .btn { padding: 9px 18px; }
@media (max-width: 959px) { .help { right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); } .help-fab span { display: none; } .help-fab { padding: 12px; } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; max-height: 118px; overflow-y: auto; }
.chat-chips[hidden] { display: none; }
.chat-chips .chip { border: 1px solid var(--accent); background: var(--glow); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 600 .8rem "DM Sans", sans-serif; cursor: pointer; transition: background .2s; }
.chat-chips .chip:hover { background: var(--accent); color: var(--on-accent); }

/* ---- Help buttons: the Apex AI bot and WhatsApp ---- */
.help-fab.ai { padding: 5px 18px 5px 5px; background: var(--glass); border-color: var(--glass-line); color: var(--text); gap: 10px; }
.help-fab.ai:hover { border-color: var(--accent); }
.ai-orb { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: block; box-shadow: 0 0 0 0 var(--glow); }
.ai-orb img { width: 46px; height: 46px; display: block; }
.ai-orb .live { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc97; border: 2px solid var(--bg); }
.help-fab .lbl { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.help-fab .lbl b { font-family: "Outfit", sans-serif; font-size: .95rem; }
.help-fab .lbl small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.help-fab.wa { padding: 0; width: 56px; height: 56px; justify-content: center; border: 0; background: transparent; box-shadow: 0 10px 28px rgba(37, 211, 102, .35); }
.help-fab.wa img { width: 56px; height: 56px; display: block; }
.hd-av { width: 40px; height: 40px; flex: none; }
.cm.bot { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
.cm.bot .av { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.cm.bot > div { min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ai-orb { animation: orb 3.2s ease-in-out infinite; }
  @keyframes orb { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
}
:root[data-motion="off"] .ai-orb { animation: none; }
@media (max-width: 959px) {
  .help-fab.ai { padding: 4px; }
  .help-fab.ai .lbl { display: none; }
  .help-fab.wa { width: 52px; height: 52px; }
  .help-fab.wa img { width: 52px; height: 52px; }
  .help-fab span { display: revert; }
}

/* Inside the Apex app's browser the app supplies its own navigation and support, so the page drops its own. */
.in-app .rail, .in-app .mobbar, .in-app .tabbar, .in-app .help, .in-app .deck, .in-app .seek { display: none !important; }
.in-app .stage { margin-left: 0; padding-bottom: 28px; }
.in-app .doc { padding-top: 18px; }
.in-app h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
