/* Pulse website (19 Oct 2026) - one stylesheet for every page. Midnight palette (docs/28): deep charcoal, violet accent,
   cyan for audio. Space Grotesk and JetBrains Mono, self-hosted. No external fonts, scripts or images; no inline styles. */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0f1014;
  --bg-2: #13151b;
  --surface: #181b23;
  --raised: #1e222c;
  --line: #252936;
  --line-strong: #343948;
  --text: #f1f1f6;
  --muted: #a2a6b5;
  --dim: #6d7282;
  --accent: #a66cff;
  --accent-strong: #b98aff;
  --accent-ink: #130a24;
  --accent-soft: rgba(166, 108, 255, 0.12);
  --accent-line: rgba(166, 108, 255, 0.38);
  --cyan: #48c8f5;
  --cyan-soft: rgba(72, 200, 245, 0.12);
  --ok: #2ec4a6;
  --ok-soft: rgba(46, 196, 166, 0.12);
  --warn: #e8a33d;
  --warn-soft: rgba(232, 163, 61, 0.12);
  --bad: #e5484d;
  --bad-soft: rgba(229, 72, 77, 0.12);
  --sig-amber: #e8a33d; --sig-teal: #2ec4b0; --sig-pink: #e0628f; --sig-lilac: #b8a5f0; --sig-blue: #5b8def; --sig-violet: #a66cff; --sig-green: #7ccf6a;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55;
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--surface);
                 border: 1px solid var(--line-strong); border-radius: 8px; z-index: 100; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; text-wrap: pretty; }
.eyebrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.eyebrow.accent { color: var(--accent); }
.eyebrow.cyan { color: var(--cyan); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.soft { color: var(--dim); }
.glow { background: linear-gradient(90deg, #e9ddff, var(--accent-strong) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ wordmark */
.wordmark { font-weight: 500; letter-spacing: 0.34em; font-size: 0.98rem; text-decoration: none; color: var(--text);
            display: inline-flex; align-items: center; gap: 12px; padding-right: 0.1em; white-space: nowrap; }
.wordmark img { width: 24px; height: 24px; border-radius: 6px; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px;
       border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 500; font-size: 0.98rem; line-height: 1;
       text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: #0b0c10; }
.btn-primary:hover { background: #ffffff; box-shadow: 0 0 0 4px rgba(241, 241, 246, 0.12); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-strong); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #4a5063; background: rgba(255, 255, 255, 0.03); }
.btn-quiet { background: transparent; color: var(--muted); height: auto; padding: 6px 0; border-radius: 6px; }
.btn-quiet:hover { color: var(--text); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"], .btn.is-off { opacity: 0.5; cursor: default; pointer-events: none; }
.btn .price { font-family: var(--mono); font-size: 0.85rem; opacity: 0.7; font-weight: 400; }
.arrow::after { content: "\2192"; display: inline-block; transition: transform 0.15s; }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }
.link { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.15s; }
.link:hover { border-bottom-color: var(--accent); }
.text-link { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.text-link:hover { color: var(--text); }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 16, 20, 0.66); backdrop-filter: saturate(160%) blur(16px);
               -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(15, 16, 20, 0.82); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-nav { display: flex; gap: 4px; margin-left: 10px; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 0.93rem; padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text);
               border-radius: 999px; height: 38px; padding: 0 14px; font: inherit; font-size: 0.9rem; cursor: pointer; }
@media (max-width: 920px) {
  .site-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-header.open .site-nav, .site-header.open .header-actions { display: flex; }
  .site-header.open .bar { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 18px; row-gap: 14px; }
  .site-header.open .site-nav { order: 3; width: 100%; flex-direction: column; gap: 2px; margin: 6px 0 0; }
  .site-header.open .site-nav a { padding: 12px 10px; font-size: 1.05rem; border-radius: 10px; }
  .site-header.open .header-actions { order: 4; width: 100%; margin: 6px 0 0; }
  .site-header.open .header-actions .btn { flex: 1; }
}

/* ------------------------------------------------------------------ sections */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head.wide { max-width: none; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(64px, 9vw, 120px) 0 0; overflow: hidden; }
.hero .copy { display: grid; gap: 26px; justify-items: center; text-align: center; max-width: 880px; margin: 0 auto; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .fine { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); letter-spacing: 0.02em; }
.hero .fine span + span::before { content: "\00b7"; margin: 0 10px; color: var(--line-strong); }
.hero-shot { position: relative; margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1240px; padding: 0 24px; }
.hero-shot::before { content: ""; position: absolute; inset: 8% 6% -10% 6%; z-index: 0; pointer-events: none; filter: blur(48px);
                     background: radial-gradient(45% 45% at 35% 40%, rgba(166, 108, 255, 0.26), transparent 70%),
                                 radial-gradient(40% 40% at 70% 60%, rgba(72, 200, 245, 0.16), transparent 70%); }
.hero-shot .window { position: relative; z-index: 1; }
.hero-shot .fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 24%; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 2; }
.hero.compact { padding-bottom: clamp(48px, 7vw, 80px); }
.hero.left .copy { justify-items: start; text-align: left; margin: 0; max-width: 720px; }
.hero.left .actions { justify-content: flex-start; }

/* platform badges */
.platforms { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px;
                  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); font-size: 0.86rem; color: var(--text); }
.platforms svg { width: 16px; height: 16px; color: var(--muted); }
.platforms .soon { color: var(--muted); border-style: dashed; }
.platforms .soon::after { content: "soon"; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-left: 2px; }

/* app window frame */
.window { border-radius: 14px; border: 1px solid var(--line-strong); overflow: hidden; background: #0d0f13;
          box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; }
.window .chrome { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #12141a;
                  font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }
.window .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window .chrome em { font-style: normal; margin-left: 10px; }
.window .chrome .live { margin-left: auto; color: var(--ok); display: inline-flex; align-items: center; gap: 7px; }
.window .chrome .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.shot { border-radius: 14px; border: 1px solid var(--line-strong); overflow: hidden; background: #0d0f13; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.shot.glow-cyan { box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(72, 200, 245, 0.25); }
@media (max-width: 620px) { .window .chrome em { display: none; } }

/* ------------------------------------------------------------------ product strip (home) */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px 26px 30px; border-radius: var(--radius);
           border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; overflow: hidden;
           transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--sig); opacity: 0.9; }
.product:hover { border-color: var(--line-strong); transform: translateY(-2px); background: #1a1d26; }
.product .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sig); }
.product h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.product p { color: var(--muted); font-size: 0.95rem; }
.product .go { margin-top: auto; padding-top: 8px; color: var(--text); font-size: 0.93rem; display: inline-flex; gap: 8px; align-items: center; }
.product.pulse { --sig: var(--accent); }
.product.online { --sig: var(--cyan); }
.product.pocket { --sig: var(--sig-pink); }
.product .tag { align-self: start; justify-self: start; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ feature rows */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.row + .row { margin-top: clamp(64px, 9vw, 120px); }
.row.flip .text { order: 1; }
.row .text { display: grid; gap: 16px; }
.row .text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.row .text p { color: var(--muted); }
.row ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.row li { padding-left: 22px; position: relative; color: var(--muted); font-size: 0.95rem; }
.row li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.row.cyan li::before { background: var(--cyan); }
@media (max-width: 900px) { .row, .row.flip { grid-template-columns: 1fr; } .row.flip .text { order: 0; } .row + .row { margin-top: 64px; } }

/* ------------------------------------------------------------------ pillars / small facts */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillars > div { background: var(--bg); padding: 26px 24px 28px; display: grid; gap: 8px; align-content: start; }
.pillars b { font-weight: 500; font-size: 1.02rem; }
.pillars p { color: var(--muted); font-size: 0.92rem; }
.pillars .n { font-family: var(--mono); font-size: 1.6rem; color: var(--text); letter-spacing: -0.02em; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ features grid */
.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
                 border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; transition: background 0.2s; }
.feature:hover { background: var(--bg-2); }
.feature .k { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.feature p { color: var(--muted); font-size: 0.94rem; }
.tag { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted);
       border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px; }
.tag.on { color: #d9ecff; border-color: rgba(72, 200, 245, 0.4); background: var(--cyan-soft); }
.tag.soon { color: #e9ddff; border-color: var(--accent-line); background: var(--accent-soft); }
.feature .tag { justify-self: start; }
.grid-features.four { grid-template-columns: repeat(4, 1fr); }
.grid-features.four .feature { padding: 22px 22px 24px; gap: 8px; }
.grid-features.four .feature p { font-size: 0.88rem; }
.grid-features.slim { margin-top: 16px; }
@media (max-width: 1020px) { .grid-features.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .grid-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-features, .grid-features.four { grid-template-columns: 1fr; } }

/* features page */
.page-intro { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-intro .wrap { display: grid; gap: 20px; }
.page-intro h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump a { text-decoration: none; font-size: 0.86rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px; transition: color 0.15s, border-color 0.15s; }
.jump a:hover { color: var(--text); border-color: #4a5063; }
.fgroup { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.fgroup .caption { margin-top: 18px; }
.caption { font-size: 0.85rem; color: var(--dim); max-width: 60em; }

/* ------------------------------------------------------------------ instruments and effects */
.instruments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.instrument { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.instrument .pic { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #0d0f13; }
.instrument .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.6s; }
.instrument:hover .pic img { transform: scale(1.03); }
.instrument .body { padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; }
.instrument .body p { color: var(--muted); font-size: 0.88rem; }
.instrument .pic.art { position: relative; --sig: var(--accent);
  background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--sig) 16%, transparent), transparent 70%), #0d0f13; }
.instrument .pic.art.amber { --sig: var(--sig-amber); }
.instrument .pic.art.teal { --sig: var(--sig-teal); }
.instrument .pic.art.blue { --sig: var(--sig-blue); }
.instrument .pic.art.violet { --sig: var(--sig-violet); }
.instrument .pic.art.green { --sig: var(--sig-green); }
.instrument .pic.art.pink { --sig: var(--sig-pink); }
.instrument .pic.art svg { position: absolute; inset: 22% 8% 24%; width: 84%; height: 54%; overflow: visible; transition: transform 0.6s; }
.instrument:hover .pic.art svg { transform: scale(1.03); }
.instrument .pic.art path, .instrument .pic.art rect { fill: none; stroke: var(--sig); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.instrument .pic.art .ghost { stroke-opacity: 0.28; stroke-width: 1.2; }
.instrument .pic.art span { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sig); }
@media (max-width: 1020px) { .instruments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .instruments { grid-template-columns: 1fr; } }

.suite { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 72px); align-items: center; }
.suite .section-head { margin-bottom: 0; }
.suite-lists { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.suite-lists h3 { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.kit, .families { list-style: none; margin: 0; padding: 0; display: grid; }
.kit { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.kit li, .families li { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.kit b, .families b { font-weight: 500; }
.kit b { display: flex; align-items: center; gap: 9px; }
.kit b::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.kit .amber b::before { background: var(--sig-amber); }
.kit .teal b::before { background: var(--sig-teal); }
.kit .pink b::before { background: var(--sig-pink); }
.kit .lilac b::before { background: var(--sig-lilac); }
.kit .blue b::before { background: var(--sig-blue); }
.kit .violet b::before { background: var(--sig-violet); }
.kit .green b::before { background: var(--sig-green); }
.kit span, .families span { color: var(--muted); font-size: 0.88rem; }
.kit span { padding-left: 17px; }
.families li { grid-template-columns: 7.5em 1fr; gap: 16px; align-items: baseline; }
.suite > .caption { grid-column: 1 / -1; margin-top: -16px; }
@media (max-width: 900px) { .suite, .suite-lists { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kit { grid-template-columns: 1fr; } .families li { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------------------ collaboration demo (two screens) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.duo figcaption { grid-column: 1 / -1; }
.screen { border: 1px solid var(--line-strong); border-radius: 14px; background: #0d0f13; overflow: hidden; }
.screen-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.screen-head .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.68rem; font-weight: 600; color: #0b0c10; }
.screen.a .av { background: var(--accent); }
.screen.b .av { background: var(--cyan); }
.screen-head .live { margin-left: auto; font-family: var(--mono); font-size: 0.66rem; color: var(--ok); }
.roll { position: relative; height: 200px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
        background-size: 100% 25px, 12.5% 100%; }
.roll .n { position: absolute; height: 21px; border-radius: 5px; box-shadow: 0 0 18px -6px currentColor; }
.roll .mine { background: var(--accent); }
.roll .theirs { background: var(--cyan); }
.roll .ghost { background: transparent; border: 1px dashed rgba(241, 241, 246, 0.45); }
.roll .n1 { left: 4%; top: 27px; width: 18%; }
.roll .n2 { left: 26%; top: 77px; width: 14%; }
.roll .n3 { left: 52%; top: 52px; width: 22%; }
.roll .n4 { left: 10%; top: 127px; width: 10%; }
.roll .n5 { left: 40%; top: 152px; width: 24%; }
.roll .n6 { left: 78%; top: 102px; width: 16%; }
.roll .playhead { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(241, 241, 246, 0.6); left: 0; }
.duo.in .roll .playhead { animation: play 6s linear infinite; }
.duo.in .screen.a .n3 { animation: draw 6s infinite; }
.duo.in .screen.b .n3 { animation: arrive 6s infinite; }
.duo.in .screen.b .ghost { animation: ghost 6s infinite; }
@keyframes play { from { left: 0; } to { left: 100%; } }
@keyframes draw { 0%, 20% { width: 0; opacity: 0; } 22% { opacity: 1; } 45%, 100% { width: 22%; opacity: 1; } }
@keyframes arrive { 0%, 46% { width: 0; opacity: 0; } 48% { opacity: 1; } 60%, 100% { width: 22%; opacity: 1; } }
@keyframes ghost { 0%, 22% { opacity: 0; } 26%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .roll { height: 150px; } }

/* ------------------------------------------------------------------ Pulse Online */
.online-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.online-grid .section-head { margin-bottom: 0; }
.online-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.online-list li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.online-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.online-list b { font-weight: 500; }
.online-list span { color: var(--muted); font-size: 0.93rem; }
.online-shots { position: relative; display: grid; gap: 16px; }
.online-shots .shot.b { width: 70%; margin-left: auto; margin-top: -8%; }
@media (max-width: 900px) { .online-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Pocket: phone mockups */
.pocket-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; position: relative; }
.phones::before { content: ""; position: absolute; inset: 10% -5% 0; z-index: 0; filter: blur(50px); pointer-events: none;
                  background: radial-gradient(50% 50% at 50% 60%, rgba(224, 98, 143, 0.22), transparent 70%); }
.phone { position: relative; z-index: 1; width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; background: #0b0c10; border: 1px solid var(--line-strong);
         box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px #15171e, 0 0 0 7px var(--line-strong); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.phone.back { width: 200px; margin-bottom: -40px; opacity: 0.9; }
.phone .notch { height: 34px; display: grid; place-items: center; }
.phone .notch i { width: 70px; height: 20px; border-radius: 999px; background: #000; }
.phone .app { padding: 6px 16px 10px; display: grid; gap: 12px; align-content: start; font-size: 0.72rem; }
.phone .app h4 { font-size: 1rem; letter-spacing: -0.02em; }
.phone .rec { width: 92px; height: 92px; border-radius: 50%; margin: 10px auto 2px; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #ff7fa8, #e0628f 55%, #b43c68);
              box-shadow: 0 10px 40px -10px rgba(224, 98, 143, 0.7); }
.phone .rec i { width: 30px; height: 30px; border-radius: 6px; background: #fff; opacity: 0.95; }
.phone .label { text-align: center; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.phone .list { display: grid; gap: 8px; }
.phone .item { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.phone .item i { width: 26px; height: 26px; border-radius: 8px; background: var(--raised); display: grid; place-items: center; }
.phone .item i::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--sig-pink); }
.phone .item.track i::before { background: var(--cyan); border-radius: 50%; }
.phone .item b { font-weight: 500; font-size: 0.72rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.phone .item > div { min-width: 0; }
.phone .item small { color: var(--dim); font-size: 0.62rem; }
.phone .item .st { font-family: var(--mono); font-size: 0.58rem; color: var(--ok); }
.phone .item .st.up { color: var(--accent); }
.phone .wave { height: 44px; display: flex; align-items: center; gap: 2px; padding: 0 2px; }
.phone .wave i { flex: 1; background: var(--sig-pink); border-radius: 2px; height: var(--h, 40%); opacity: 0.85; }
.phone .player { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line-strong); }
.phone .player i { width: 28px; height: 28px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; }
.phone .player i::before { content: ""; border-left: 9px solid #0b0c10; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.phone .tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding: 10px 8px 14px; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); text-align: center; }
.phone .tabs .on { color: var(--text); }
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.flow3 > div { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; counter-increment: s; }
.flow3 > div::before { content: "0" counter(s); font-family: var(--mono); font-size: 0.74rem; color: var(--sig-pink); letter-spacing: 0.1em; }
.flow3 h3 { font-size: 1.2rem; }
.flow3 p { color: var(--muted); font-size: 0.94rem; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.stores span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.stores svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) { .pocket-hero { grid-template-columns: 1fr; } .phones { margin-top: 20px; } .flow3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .phone.back { display: none; } }

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(24px, 3.4vw, 34px); display: grid; gap: 22px; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden; }
.plan.main { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(166, 108, 255, 0.07), transparent 40%), var(--surface); }
.plan.main::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plan-head h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.plan-head .muted { font-size: 0.92rem; }
.price-amount { text-align: right; display: grid; }
.price-amount b { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-amount span { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.includes li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 0.95rem; }
.includes li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); border: 1px solid rgba(46, 196, 166, 0.4); margin-top: 2px;
                       -webkit-mask: none; position: relative; }
.includes li span { display: grid; gap: 2px; }
.includes small { color: var(--dim); font-size: 0.84rem; }
.plan-foot { display: grid; gap: 10px; }
.plan-foot .fine { font-size: 0.8rem; color: var(--dim); text-align: center; }
.plans-note { text-align: center; color: var(--dim); font-size: 0.9rem; margin-top: 22px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

.trial-card { max-width: 980px; margin: 18px auto 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
              padding: clamp(22px, 3vw, 30px); display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; }
.trial-card h3 { font-size: 1.25rem; }
.trial-card p { color: var(--muted); font-size: 0.95rem; max-width: 52em; }
.trial-card .limits { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); letter-spacing: 0.02em; }
@media (max-width: 720px) { .trial-card { grid-template-columns: 1fr; } }

.pay { max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0; display: grid; gap: 14px; }
.pay h3 { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-methods span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.88rem; }
.pay-methods svg { width: 18px; height: 18px; color: var(--muted); }
.pay-methods .instal { border-style: dashed; }
.pay .caption { font-size: 0.84rem; }

.faq { max-width: 760px; margin: 0 auto; display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--dim); font-size: 1.1rem; flex: none; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 60em; }
.faq details p + p { padding-top: 0; margin-top: -8px; }

/* ------------------------------------------------------------------ download page */
.dl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
.dl-card .os { display: flex; align-items: center; gap: 12px; }
.dl-card .os svg { width: 26px; height: 26px; color: var(--text); }
.dl-card h3 { font-size: 1.35rem; }
.dl-card .meta { font-family: var(--mono); font-size: 0.76rem; color: var(--dim); }
.dl-card p { color: var(--muted); font-size: 0.93rem; }
.dl-card.is-mine { border-color: var(--accent-line); }
.dl-steps { max-width: 900px; margin: clamp(32px, 5vw, 48px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: d; }
.dl-steps > div { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); counter-increment: d; }
.dl-steps > div::before { content: "0" counter(d); font-family: var(--mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; }
.dl-steps b { font-weight: 500; }
.dl-steps p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) { .dl-cards, .dl-steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ cta band */
.cta-band { padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: auto 0 -60% 0; height: 140%; pointer-events: none;
                    background: radial-gradient(50% 50% at 50% 50%, rgba(166, 108, 255, 0.2), transparent 70%); filter: blur(30px); }
.cta-inner { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 0.9rem; color: var(--muted); background: var(--bg); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer .cols > div { display: grid; gap: 10px; align-content: start; }
.site-footer h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .about { max-width: 30em; color: var(--dim); font-size: 0.86rem; }
.site-footer .bar { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--dim); }
.site-footer .bar .platforms { margin-left: auto; }
.site-footer .bar .platforms span { height: 28px; font-size: 0.76rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .bar .platforms { margin-left: 0; } }

/* ------------------------------------------------------------------ app pages (account, sign in, buy) */
.app-main { min-height: calc(100vh - 68px - 130px); padding: clamp(40px, 7vw, 80px) 0 80px; }
.auth-card { max-width: 440px; margin: 0 auto; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: clamp(26px, 5vw, 40px);
             display: grid; gap: 22px; }
.auth-card h1 { font-size: 1.9rem; letter-spacing: -0.03em; }
.auth-card .sub { color: var(--muted); font-size: 0.96rem; }
.auth-card .switch { text-align: center; font-size: 0.93rem; color: var(--muted); }
.auth-card .switch a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.field label .hint { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); }
.field label .hint.ok { color: var(--ok); }
.field label .hint.bad { color: var(--bad); }
.field input { width: 100%; height: 46px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text);
               font: inherit; font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; }
.field input::placeholder { color: #4b5160; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field .help { font-size: 0.8rem; color: var(--dim); }
.meter { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--bad); transition: width 0.2s, background 0.2s; }
.notice { border-radius: 10px; padding: 12px 14px; font-size: 0.92rem; border: 1px solid var(--line-strong); background: var(--raised); color: var(--text); }
.notice.error { border-color: rgba(229, 72, 77, 0.4); background: var(--bad-soft); }
.notice.ok { border-color: rgba(46, 196, 166, 0.35); background: var(--ok-soft); }
.notice.warn { border-color: rgba(232, 163, 61, 0.35); background: var(--warn-soft); }
.legal-note { font-size: 0.8rem; color: var(--dim); text-align: center; }
.legal-note a { color: var(--muted); }

/* dashboard */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.dash-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.dash-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.dash-tabs a { text-decoration: none; color: var(--muted); padding: 12px 14px; font-size: 0.94rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.dash-tabs a:hover { color: var(--text); }
.dash-tabs a[aria-current="true"] { color: var(--text); border-bottom-color: var(--accent); }
.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.dash-grid .stack { display: grid; gap: 20px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(22px, 3vw, 30px); display: grid; gap: 20px; }
.panel h2 { font-size: 0.78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim); font-weight: 400; }
.panel .big { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.panel .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; font-size: 0.95rem; margin: 0; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; padding: 5px 11px 5px 10px; border-radius: 999px;
          border: 1px solid var(--line-strong); color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.active { color: var(--ok); border-color: rgba(46, 196, 166, 0.35); background: var(--ok-soft); }
.status.warn { color: var(--warn); border-color: rgba(232, 163, 61, 0.35); background: var(--warn-soft); }
.status.bad { color: var(--bad); border-color: rgba(229, 72, 77, 0.35); background: var(--bad-soft); }
.status.trial { color: var(--accent-strong); border-color: var(--accent-line); background: var(--accent-soft); }
.licence-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.computer { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.computer .ico { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); }
.computer .ico svg { width: 20px; height: 20px; }
.skeleton { display: inline-block; min-width: 6em; height: 1em; border-radius: 6px; background: linear-gradient(90deg, #1a1d24, #22262f, #1a1d24); background-size: 200% 100%;
            animation: shimmer 1.4s infinite linear; vertical-align: middle; color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }
.dl-row { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dl-row .os { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.dl-row .os svg { width: 20px; height: 20px; color: var(--muted); }
.dl-row .meta { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); grid-column: 1 / -1; }
@media (max-width: 480px) { .dl-row { grid-template-columns: 1fr; } }

/* buy / success */
.checkout { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.order { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: clamp(24px, 4vw, 36px); display: grid; gap: 22px; }
.order .line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.order .total { border-top: 1px solid var(--line); padding-top: 18px; font-size: 1.1rem; }
.order h1.big, .order h2.big { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.order .line b { white-space: nowrap; }
.order [data-step] { display: grid; gap: 14px; }
.order .pay-methods span { height: 32px; font-size: 0.8rem; padding: 0 11px; }
[data-download-body], [data-computer-body] { display: grid; gap: 14px; }
.progress { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 20px 0; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); border: 1px solid rgba(46, 196, 166, 0.4); color: var(--ok); }
.tick svg { width: 24px; height: 24px; }

/* legal pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.draft { font-family: var(--mono); font-size: 0.78rem; color: var(--warn); border: 1px solid rgba(232, 163, 61, 0.35); background: var(--warn-soft);
         border-radius: 8px; padding: 8px 12px; display: inline-block; margin-bottom: 24px; }

/* reveal on scroll (only when JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Pocket mockup waveform bars (no inline styles: one class per bar) */
.phone .wave .h1 { --h: 30%; } .phone .wave .h2 { --h: 55%; } .phone .wave .h3 { --h: 80%; } .phone .wave .h4 { --h: 45%; } .phone .wave .h5 { --h: 70%; } .phone .wave .h6 { --h: 95%; }
.phone .wave .h7 { --h: 60%; } .phone .wave .h8 { --h: 35%; } .phone .wave .h9 { --h: 75%; } .phone .wave .h10 { --h: 50%; } .phone .wave .h11 { --h: 88%; } .phone .wave .h12 { --h: 40%; }
.phone .wave .h13 { --h: 65%; } .phone .wave .h14 { --h: 92%; } .phone .wave .h15 { --h: 48%; } .phone .wave .h16 { --h: 72%; } .phone .wave .h17 { --h: 36%; } .phone .wave .h18 { --h: 58%; }
.phone .wave .h19 { --h: 84%; } .phone .wave .h20 { --h: 42%; } .phone .wave .h21 { --h: 66%; } .phone .wave .h22 { --h: 30%; } .phone .wave .h23 { --h: 52%; } .phone .wave .h24 { --h: 26%; }

/* ------------------------------------------------------------------ Pulse page: share steps and the stems illustration */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(48px, 7vw, 88px); }
.steps3 > div { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.steps3 .k { font-family: var(--mono); font-size: 0.74rem; color: var(--cyan); letter-spacing: 0.1em; }
.steps3 h3 { font-size: 1.2rem; }
.steps3 p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

.stems { margin: 0 0 clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1fr 72px 1fr; gap: 0 16px; align-items: center; }
.stems .lbl { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.stems .mix, .stems .stem { border: 1px solid var(--line-strong); border-radius: 12px; background: #0d0f13; padding: 12px 14px 10px; display: grid; gap: 6px; }
.stems .mix { --c: var(--text); }
.stems .wave { height: 64px; }
.stems .stem .wave { height: 40px; }
.stems .wave svg { width: 100%; height: 100%; }
.stems .wave path { fill: none; stroke: var(--c); stroke-width: 1.6; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 60%, transparent)); }
.stems .out { display: grid; gap: 10px; }
.stems .stem.vocals { --c: var(--sig-pink); }
.stems .stem.drums { --c: var(--sig-amber); }
.stems .stem.bass { --c: var(--cyan); }
.stems .stem.other { --c: var(--accent); }
.stems .stem .lbl { color: var(--c); }
.stems .split { position: relative; height: 100%; min-height: 220px; }
.stems .split i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--accent-line)); transform-origin: left center; }
.stems .split i:nth-child(1) { transform: rotate(-32deg) scaleX(1.25); }
.stems .split i:nth-child(2) { transform: rotate(-11deg) scaleX(1.05); }
.stems .split i:nth-child(3) { transform: rotate(11deg) scaleX(1.05); }
.stems .split i:nth-child(4) { transform: rotate(32deg) scaleX(1.25); }
.stems.in .stem .wave path { animation: stem-in 1.2s ease both; }
.stems.in .stem:nth-child(2) .wave path { animation-delay: 0.15s; }
.stems.in .stem:nth-child(3) .wave path { animation-delay: 0.3s; }
.stems.in .stem:nth-child(4) .wave path { animation-delay: 0.45s; }
@keyframes stem-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.stems figcaption { grid-column: 1 / -1; margin-top: 16px; }
@media (max-width: 760px) { .stems { grid-template-columns: 1fr; } .stems .split { display: none; } .stems .out { margin-top: 12px; } }

/* The ASIO Compatible logo (Steinberg ASIO Usage Guidelines: the official artwork, unaltered, on its dark plate, the
   notice beside it in an ordinary font) - next to every mention of ASIO, not only in the footer. */
.asio-mark { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.asio-mark img { display: block; width: 76px; height: auto; background: #0c0c0c; flex: none; }
.asio-mark span { color: var(--muted); font-size: 0.78rem; line-height: 1.35; max-width: 26ch; }

/* ------------------------------------------------------------------ the maker (Simaudis, 21 Oct 2026) */
.site-footer .maker { margin-top: 10px; font-size: 0.86rem; color: var(--dim); }
.site-footer .maker b { font-weight: 500; color: var(--muted); }

/* ------------------------------------------------------------------ terms: contents list and anchors (21 Oct 2026) */
.prose .toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 24px 0 8px; }
.prose .toc a { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em; text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.prose .toc a:hover { color: var(--text); border-color: var(--line-strong); }
.prose h2[id] { scroll-margin-top: 88px; }
.prose ul li + li { margin-top: 8px; }
.prose li b, .prose p b { color: var(--text); font-weight: 500; }
.note-line { max-width: 44rem; margin: 28px auto 0; text-align: center; font-size: 0.86rem; color: var(--dim); }

/* Two-factor authentication (account page, sign-in code step) */
.code-input { font-family: var(--mono); font-size: 1.35rem; letter-spacing: 0.35em; text-align: center; }
.mfa-setup { display: grid; gap: 12px; margin: 14px 0 6px; }
.mfa-steps { margin: 0; padding-left: 1.2em; color: var(--muted, var(--dim)); display: grid; gap: 6px; }
.mfa-qr { width: 200px; height: 200px; padding: 10px; background: #fff; border-radius: 12px; }
.mfa-secret { font-family: var(--mono); font-size: 0.85rem; word-break: break-all; color: var(--text); }
