/* DraftSounds v3
   Site: bg #0c0c0c · surface #181818 · text #f3f3f3 · muted #8c8c8c · accent #30e63f
   The phones use the app's own palette (crimson REC, coloured lanes), like the real screenshots. */

:root {
  --bg: #0c0c0c;
  --surface: #181818;
  --line: #262626;
  --line-2: #333;
  --text: #f3f3f3;
  --muted: #8c8c8c;
  --accent: #30e63f;
  --rec: #c8203c;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--bg); }
main, .footer { overflow-x: clip; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); }

/* ---------- type ---------- */
/* no lonely last words: headings and short lines balance, running text avoids orphans */
h1, h2, h3, .sub, .hero__lead, .feature__short, .price__desc, .cloud__note, figcaption, .addon__body p { text-wrap: balance; }
p, li { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.sub { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 56ch; }
.sub a, .cta__desk a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.section-head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow::after, .trailer .eyebrow::after, .features__head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); font-size: .75rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tag--accent { border-color: var(--accent); color: var(--accent); }

/* ---------- buttons + store badges ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: .95rem; white-space: nowrap; border: 1px solid transparent; transition: transform .35s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: #4af058; }
.btn--line { background: var(--surface); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--muted); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .84rem; border-radius: 10px; }
.btn .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge { position: relative; display: block; height: 52px; transition: transform .35s var(--ease); }
a.badge:hover { transform: translateY(-2px); }
.badge img { height: 52px; width: auto; max-width: none; }
/* Google's badge PNG carries its own transparent margin; this trims it so both badges match in height */
.badge--gp img { height: 77px; width: auto; max-width: none; margin: -12.5px -12.6px; }
.badge--as { cursor: default; }
.badge--as small { position: absolute; right: -8px; top: -10px; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: .66rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.dot-live { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 1.6s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- reveal + split text ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.85); }
.js [data-reveal="line"] { transform: scaleX(0); opacity: 1; }
.js [data-reveal="fade"] { transform: none; opacity: 1; }
.js [data-reveal].in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .07em 0 .13em; margin: -.07em 0 -.13em; }
.w > span { display: inline-block; transform: translate3d(0, 115%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease) calc(var(--i) * 55ms + var(--d, 0s)); }
.in .w > span, html:not(.js) .w > span { transform: none; }
.sw { opacity: .16; transition: opacity .25s linear; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: transform .5s var(--ease), background .35s, border-color .35s, height .35s; }
.nav.is-scrolled { height: 60px; background: rgba(12, 12, 12, .94); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__logo { margin-right: auto; }
.nav__logo img { width: clamp(124px, 12vw, 150px); height: auto; }
.nav__links { display: none; gap: clamp(18px, 2.4vw, 34px); font-size: .9rem; font-weight: 500; color: rgba(243, 243, 243, .75); }
.nav__links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta span { display: none; }
.nav__burger { position: relative; z-index: 2; flex: none; width: 44px; height: 44px; margin-right: -10px; display: grid; place-content: center; gap: 7px; }
.nav__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .45s var(--ease); }
.menu-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-open .nav { transform: none; background: var(--bg); }
.menu-open .nav__cta { visibility: hidden; }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) var(--pad) max(28px, env(safe-area-inset-bottom)); background: var(--bg); clip-path: circle(0 at calc(100% - 38px) 34px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 38px) 34px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__links { display: grid; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu__links small { font-size: .75rem; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .16s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .22s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .28s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .34s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .4s; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social a:hover svg { fill: var(--bg); }
.social svg { width: 18px; height: 18px; fill: var(--text); }
@media (min-width: 960px) {
  .nav__logo { margin-right: 0; }
  .nav__links { display: flex; margin: 0 auto; }
  .nav__cta span { display: inline; white-space: pre; }
  .nav__burger, .menu { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 70px; overflow: clip; }
.hero__waves { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero__icon { width: 56px; height: auto; margin-bottom: 22px; }
.hero__title { font-size: clamp(2.6rem, 10vw, 3.4rem); line-height: .98; font-weight: 800; letter-spacing: -.05em; }
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 22px; max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero__actions { margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.hero__try { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.hero__stage { position: relative; perspective: 1400px; }
.tilt { position: relative; display: flex; justify-content: center; gap: 4vw; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.hero__phone .phone { --pw: min(42vw, 230px); }
.hero__phone--b { margin-top: 12vw; }
.hero .phone { pointer-events: none; }
.float { animation: floaty 7s ease-in-out infinite alternate; }
.float--slow { animation-duration: 9s; animation-delay: -3s; }
@keyframes floaty { from { transform: translate3d(0, -8px, 0) rotate(-1.2deg); } to { transform: translate3d(0, 10px, 0) rotate(1.2deg); } }
.js .hero__phone .phone { opacity: 0; transform: translateY(80px) rotateX(18deg) scale(.9); transition: opacity 1.2s var(--ease) .35s, transform 1.5s var(--ease) .35s; }
.js .hero__phone--b .phone { transition-delay: .55s; }
.js .is-ready .hero__phone .phone { opacity: 1; transform: none; }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; font-size: .78rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; background: #141414; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -12px #000; }
.chip--bpm { left: 0; top: 30%; }
.chip--fmt { right: 0; top: 4%; }
.hero__cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 2px solid rgba(243, 243, 243, .35); display: none; }
.hero__cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(14px); opacity: 0; } }
@media (min-width: 900px) {
  .hero__grid { max-width: 1380px; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3vw; }
  .hero__title { font-size: clamp(3.4rem, 6vw, 6rem); }
  .hero__icon { width: 64px; }
  .tilt { gap: clamp(18px, 2.4vw, 40px); }
  .hero__phone .phone { --pw: clamp(210px, 18vw, 280px); }
  .hero__phone--b { margin-top: 90px; }
  .chip { font-size: .84rem; padding: 10px 17px; }
  .chip--bpm { left: -4%; top: 34%; }
  .chip--fmt { right: -3%; top: 6%; }
  .hero__cue { display: block; }
}
@media (max-width: 899.98px) {
  .hero { min-height: 0; align-items: flex-start; padding: calc(var(--nav-h) + 18px) 0 36px; }
  .hero__grid { gap: 40px; }
  .hero__copy { text-align: center; display: grid; justify-items: center; }
  .hero__icon, .hero__more, .chip { display: none; }
  .hero__lead { max-width: 32ch; margin-inline: auto; margin-top: 16px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .badges { justify-content: center; }
  .hero__meta { justify-content: center; margin-top: 18px; }
  .hero__stage::before { content: ""; position: absolute; left: 50%; top: 45%; width: 110vw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #141414; pointer-events: none; }
  .tilt { display: block; }
  .hero__phone--a { display: flex; justify-content: center; margin: 0 20vw 0 0; }
  .hero__phone--a .phone { --pw: min(60vw, 300px); }
  .hero__phone--b { position: absolute; z-index: -1; right: -3vw; top: 13vw; margin: 0; }
  .hero__phone--b .phone { --pw: min(47vw, 236px); }
  .js .is-ready .hero__phone--a .phone { transform: rotate(-4deg); }
  .js .is-ready .hero__phone--b .phone { transform: rotate(9deg); }
}
@media (max-width: 380px) {
  .badge, .badge img { height: 46px; }
  .badge--gp img { height: 68px; margin: -11px -11.1px; }
}

/* ---------- waveform divider ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: clamp(3px, .6vw, 7px); width: min(86%, 760px); height: 64px; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.divider i { flex: 1; max-width: 5px; height: var(--h); border-radius: 4px; background: var(--accent); opacity: .7; transform: scaleY(.06); transition: transform .9s var(--ease) calc(var(--i) * 22ms); }
.divider.in i, html:not(.js) .divider i { transform: none; }

/* ---------- trailer ---------- */
.trailer { padding: clamp(50px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.trailer__frame { --p: 1; position: relative; margin: clamp(28px, 4vw, 56px) auto 0; max-width: 1040px; aspect-ratio: 16 / 9; border-radius: calc(40px - 22px * var(--p)); overflow: hidden; transform: scale(calc(.8 + .2 * var(--p))) rotateX(calc(14deg - 14deg * var(--p))); transform-origin: 50% 100%; background: #000; box-shadow: 0 50px 120px -40px #000, 0 0 0 1px var(--line); }
.trailer .wrap { perspective: 1400px; }
.trailer__play { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.trailer__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; filter: grayscale(.4); transition: transform 1.2s var(--ease), opacity .4s; }
.trailer__play:hover img { transform: scale(1.05); opacity: .55; }
.trailer__btn { position: relative; width: clamp(64px, 9vw, 104px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--accent); transition: transform .4s var(--ease); }
.trailer__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.trailer__play:hover .trailer__btn { transform: scale(1.1); }
.trailer__btn svg { width: 38%; fill: var(--bg); margin-left: 6%; }
.trailer__label { position: absolute; left: 0; right: 0; bottom: 8%; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.trailer__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- about ---------- */
.about { padding: clamp(60px, 10vw, 150px) 0 clamp(50px, 8vw, 110px); overflow: clip; }
.about__grid { display: grid; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about__visual { position: relative; width: min(72%, 460px); margin: 0 auto; aspect-ratio: 1 / 1.08; }
.about__img { position: absolute; inset: 0; }
.about__img picture { height: 100%; }
.about__img img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.25); }
.about__ring { position: absolute; inset: -7%; }
.about__ring svg { width: 100%; height: 100%; overflow: visible; animation: spin 40s linear infinite; }
.about__ring text { font-size: 13.4px; font-weight: 600; letter-spacing: .3em; fill: rgba(243, 243, 243, .45); }
@keyframes spin { to { transform: rotate(360deg); } }
.eq { position: absolute; right: 2%; bottom: 10%; display: flex; align-items: flex-end; gap: 5px; height: 64px; padding: 14px 16px; border-radius: 16px; background: #141414; border: 1px solid var(--line-2); }
.eq i { width: 5px; height: 100%; border-radius: 4px; background: var(--accent); transform-origin: 50% 100%; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.7s; background: var(--text); } .eq i:nth-child(4) { animation-delay: -.1s; } .eq i:nth-child(5) { animation-delay: -.5s; background: var(--text); } .eq i:nth-child(6) { animation-delay: -.9s; } .eq i:nth-child(7) { animation-delay: -.2s; }
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.about__text { margin-top: 26px; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.5; font-weight: 500; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .about__visual { width: min(100%, 460px); } }

/* ---------- phone frame ---------- */
.phone { --pw: 300px; position: relative; flex: none; width: var(--pw); font-size: calc(var(--pw) / 30); padding: .7em; border-radius: 4.1em; background: #1a1a1a; border: .1em solid #2e2e2e; box-shadow: 0 5em 9em -3em rgba(0, 0, 0, .95), inset 0 0 0 .12em #0a0a0a; }
.phone::before { content: ""; position: absolute; z-index: 9; left: 50%; top: 1.55em; width: .95em; height: .95em; margin-left: -.47em; border-radius: 50%; background: #050505; box-shadow: 0 0 0 .18em #151515; }
.phone::after { content: ""; position: absolute; right: -.25em; top: 13em; width: .3em; height: 6em; border-radius: .2em; background: #262626; }
.phone__screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 3.4em; overflow: hidden; background: #0c0c0c; color: #f3f3f3; font-family: Roboto, Inter, sans-serif; user-select: none; -webkit-user-select: none; }

/* ---------- app ui (matches the real screens) ---------- */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 1em; line-height: 1.3; }
.app button { touch-action: manipulation; }
.ic { width: 2.1em; height: 2.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.sbar { flex: none; height: 3.3em; padding: 1.05em 2.2em 0; display: flex; justify-content: space-between; font-size: 1em; font-weight: 500; }
.sbar__r { display: flex; align-items: center; gap: .45em; }
.sbar__r i { display: block; width: 1.1em; height: .8em; border-radius: .15em; background: #f3f3f3; opacity: .9; }
.sbar__r i:nth-child(1) { width: .9em; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.sbar__r i:nth-child(3) { width: 2.1em; height: 1.1em; border-radius: .6em; }
.abar { flex: none; height: 4.6em; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1.4em; border-bottom: .1em solid #1f1f1f; }
.abar img { height: 1.6em; width: auto; }
.abar__r { justify-self: end; display: flex; gap: 1.1em; }
.app.is-dim .abar, .app.is-dim .sbar { opacity: .35; }
.toast { position: absolute; z-index: 30; left: 1.4em; right: 1.4em; bottom: 1.6em; padding: .95em 1.2em; border-radius: 1.2em; background: #f3f3f3; color: #0c0c0c; font-size: 1.05em; font-weight: 600; line-height: 1.3; text-align: center; box-shadow: 0 1em 2.4em -1em #000; opacity: 0; transform: translateY(1.5em) scale(.96); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.sheet { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: #131313; border-top: .1em solid #262626; border-radius: 1.8em 1.8em 0 0; transform: translateY(103%); transition: transform .55s var(--ease); }
.sheet.is-open, .sheet--static { transform: none; }
.sheet__grab { flex: none; width: 4em; height: .4em; margin: .9em auto .4em; border-radius: 1em; background: #3a3a3a; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: .4em 1.6em .8em; }
.sheet__head h4 { margin: 0; font-size: 1.5em; font-weight: 700; }
.x { width: 2.6em; height: 2.6em; display: grid; place-items: center; margin-right: -.5em; }
/* fields: real font-size is 16px so iOS does not zoom on focus; scaled down to fit the phone */
.fz { position: relative; overflow: hidden; }
.fz > input, .fz > textarea { position: absolute; left: 0; top: 0; width: 133.34%; height: 133.34%; transform: scale(.75); transform-origin: 0 0; font: 500 16px/1.5 Roboto, Inter, sans-serif; color: inherit; background: none; border: 0; outline: 0; resize: none; padding: 0; margin: 0; user-select: text; -webkit-user-select: text; border-radius: 0; }
.fz > textarea { scrollbar-width: none; }

/* record */
.rec__hint { flex: none; padding: 1.5em 2em 0; text-align: center; color: #9a9a9a; font-size: 1.02em; }
.rec__hint small { display: block; margin-top: .55em; color: #616161; font-size: .9em; }
.rec__body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 2.5em; }
.rec__dots { position: absolute; left: 0; width: 100%; height: 12em; pointer-events: none; }
.rec__box { position: relative; width: calc(100% - 2.4em); height: 10.6em; border: .1em solid #262626; border-radius: 1.6em; background: #0e0e0e; overflow: hidden; opacity: 0; transition: opacity .4s; }
.app.is-rec .rec__box, .app.has-take .rec__box { opacity: 1; }
.rec__box canvas { width: 100%; height: 100%; }
.rec__take { position: absolute; left: .8em; bottom: .7em; display: inline-flex; align-items: center; gap: .4em; height: 2.3em; padding: 0 .9em; border-radius: 99em; background: #1d1d1d; font-size: .85em; font-weight: 700; animation: pop .45s var(--ease); }
.rec__take .ic { width: 1.2em; height: 1.2em; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.rec__time { height: 1.5em; margin-top: .8em; font-size: 1.5em; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; }
.app.is-rec .rec__time, .app.has-take .rec__time { opacity: 1; }
.rec__row { position: relative; z-index: 1; margin-top: 1.2em; width: 7.4em; height: 7.4em; }
.rec__btn { width: 100%; height: 100%; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 .55em #36101a; color: #fff; transition: transform .2s var(--ease), background .2s; }
.rec__btn span { font-size: 1.35em; font-weight: 700; letter-spacing: .04em; }
.rec__btn:active { transform: scale(.94); }
.app.is-rec .rec__btn { background: #e3194a; }
.app.is-count .rec__btn { background: #7a1426; }
.rec__plus { position: absolute; left: calc(100% + 1.4em); top: 50%; width: 4.8em; height: 4.8em; margin-top: -2.4em; border-radius: 50%; border: .12em solid #1e6e2a; background: #0f0f0f; display: grid; place-items: center; transition: opacity .3s; }
.rec__plus .ic { width: 2.4em; height: 2.4em; }
.app.is-rec .rec__plus { opacity: .35; }
.rec__bpm { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.4em; margin-top: 2.1em; }
.pm { width: 3.4em; height: 3.4em; display: grid; place-items: center; }
.pm .ic { width: 2.4em; height: 2.4em; stroke-width: 1.4; }
.bpmbox { position: relative; width: 10.6em; height: 4.5em; border-radius: 1em; border: .1em solid #2c2c2c; background: #101010; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: border-color .12s, transform .12s; }
.bpmbox b { font-size: 1.95em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.bpmbox b small { margin-left: .55em; font-size: .5em; color: #8c8c8c; }
.bpmbox > span { margin-top: .35em; font-size: .72em; color: #8c8c8c; }
.bpmbox.is-hit { border-color: var(--accent); transform: scale(.96); }
.bpmbox.is-beat { border-color: #5a5a5a; }
.bpmbox .fz { position: absolute; inset: 0; border-radius: 1em; background: #101010; display: none; }
.bpmbox.is-typing .fz { display: block; }
.bpmbox .fz input { text-align: center; font-size: 26px; font-weight: 700; }
.rec__metro { position: relative; z-index: 1; margin-top: 1.4em; width: 3.9em; height: 3.9em; border-radius: .9em; background: #1a1a1a; border: .1em solid #2a2a2a; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.rec__metro[aria-pressed="true"], .tool[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }

/* timeline */
.tl { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; --head: 9.4em; }
.tl__ruler { flex: none; display: flex; height: 3.5em; border-bottom: .1em solid #1c1c1c; }
.tl__start { width: var(--head); flex: none; display: flex; align-items: center; gap: 1.5em; padding-left: 1.5em; color: #7d7d7d; }
.tl__start .ic { width: 1.6em; color: var(--accent); }
.tl__start span { font-size: .78em; font-weight: 700; letter-spacing: .1em; }
.tl__view { position: relative; flex: 1; overflow: hidden; }
.tl__inner { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% * var(--z, 1)); transform: translateX(calc(var(--off, 0) * -1%)); }
.tl__marks { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.tl__marks span { position: relative; border-left: .14em solid #4a4a4a; padding: .35em 0 0 .45em; font-size: .85em; color: #cfcfcf; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - .1em), #2a2a2a calc(25% - .1em) 25%) 0 60% / 100% 40% no-repeat; }
.tl__lanes { flex: none; }
.lane { display: flex; height: 4.7em; border-bottom: .12em solid #0c0c0c; animation: rowin .45s var(--ease); }
@keyframes rowin { from { opacity: 0; transform: translateY(.8em); } }
.lane__head { flex: none; width: var(--head); display: flex; align-items: center; gap: .8em; padding-left: 1em; background: var(--hd); }
.lane__mute { width: 2.6em; height: 2.6em; display: grid; place-items: center; color: #e6e6e6; }
.lane__mute .ic { width: 2em; height: 2em; }
.lane.is-muted .lane__mute { color: #ff5a6a; }
.lane__meta { min-width: 0; line-height: 1.25; }
.lane__meta small { display: block; font-size: .75em; color: #7d7d7d; }
.lane__meta b { display: block; font-size: .92em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane__area { position: relative; flex: 1; overflow: hidden; background: var(--lb); }
.lane__area .tl__inner { top: 0; bottom: 0; }
.clip { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / 16 * 100%); width: calc(var(--l) / 16 * 100%); display: flex; flex-direction: column; background: var(--c); cursor: grab; touch-action: pan-y; transition: opacity .2s, box-shadow .2s; }
.clip:active { cursor: grabbing; }
.clip__hd { flex: none; height: 1.55em; padding: .25em .5em 0; background: var(--ch); font-size: .78em; font-weight: 700; white-space: nowrap; overflow: hidden; }
.clip__wave { position: relative; flex: 1; overflow: hidden; }
.clip__wave svg { position: absolute; left: 0; top: 8%; height: 84%; width: calc(1600% / var(--l)); max-width: none; fill: #fff; }
.clip.is-rev .clip__wave svg { transform: scaleX(-1); transform-origin: calc(50% * var(--l) / 16) 50%; }
.lane.is-muted .clip { opacity: .3; }
.clip.is-sel { box-shadow: inset 0 0 0 .14em #fff; }
.tl__empty { flex: 1; min-height: 0; background: linear-gradient(90deg, #111 var(--head), #0c0c0c var(--head)); }
.tl__ph { position: absolute; top: 0; left: calc(var(--head) + (100% - var(--head)) * var(--p, 0)); width: .14em; height: var(--phh, 30em); background: #e01b2b; pointer-events: none; z-index: 3; }
.tl__ph::before { content: ""; position: absolute; left: -.05em; top: 0; width: 1.2em; height: 1.7em; background: #e01b2b; }
.app.is-auto .tl__ph { animation: sweep 10s linear infinite; }
@keyframes sweep { from { left: var(--head); } to { left: 100%; } }
.tl__zoom { flex: none; display: flex; height: 4.6em; border-top: .1em solid #1c1c1c; }
.tl__lanebtn { width: var(--head); flex: none; display: grid; place-content: center; text-align: center; color: #6f6f6f; font-size: .75em; font-weight: 700; letter-spacing: .08em; background: #0e0e0e; }
.tl__zs { flex: 1; display: grid; justify-items: center; align-content: center; gap: .4em; }
.zs { position: relative; width: 82%; height: 2.2em; border-radius: .4em; background: #262626; touch-action: none; cursor: ew-resize; }
.zs i { position: absolute; top: .2em; left: calc(var(--zp, .5) * (100% - 1.9em)); width: 1.9em; height: 1.8em; border-radius: .35em; background: var(--accent); }
.tl__zs small { font-size: .78em; color: #8c8c8c; font-weight: 700; letter-spacing: .06em; }
.tl__mid { flex: none; display: grid; justify-items: center; gap: .6em; padding: .6em 0 .3em; border-top: .1em solid #1c1c1c; }
.tl__mid::before { content: ""; width: 3.6em; height: .35em; border-radius: 1em; background: #333; }
.tl__add { width: 4em; height: 4em; border-radius: 50%; border: .12em solid #1e6e2a; display: grid; place-items: center; }
.tl__mid small { font-size: .82em; color: #9a9a9a; }
.tl__info { flex: none; display: flex; align-items: center; justify-content: space-between; gap: .5em; padding: .5em 1.1em; font-size: .9em; font-variant-numeric: tabular-nums; }
.step { display: inline-flex; align-items: center; gap: .3em; height: 2.3em; padding: 0 .3em; border: .1em solid #333; border-radius: .6em; }
.step button { width: 1.8em; height: 1.8em; font-weight: 700; }
.step b { min-width: 1.5em; text-align: center; color: #9a9a9a; }
.notes-btn { display: inline-flex; align-items: center; gap: .4em; height: 2.3em; padding: 0 .8em; border: .1em solid #333; border-radius: .6em; font-weight: 700; font-size: .95em; }
.notes-btn .ic { width: 1.2em; height: 1.2em; }
.transport { flex: none; display: flex; align-items: center; justify-content: center; gap: .9em; height: 5.6em; }
.transport > button { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: .8em; background: #1b1b1b; }
.transport .ic { width: 2em; height: 2em; }
.transport .tp__play { width: 4.6em; height: 4.6em; border-radius: 1em; border: .1em solid #2c2c2c; background: #141414; }
.transport .tp__play .ic { width: 2.4em; height: 2.4em; }
.transport .tp__rec { width: 5.2em; height: 5.2em; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 .4em #36101a; color: #fff; font-size: 1em; }
.transport .tp__rec span { font-size: 1.15em; font-weight: 700; }
.tools { flex: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: .45em; padding: .2em .6em 1.2em; }
.tool { display: grid; justify-items: center; align-content: center; gap: .3em; height: 4.4em; border-radius: .8em; background: #111; border: .1em solid #262626; color: #e6e6e6; transition: border-color .2s, color .2s; }
.tool .ic { width: 1.6em; height: 1.6em; }
.tool span { font-size: .68em; font-weight: 700; letter-spacing: .04em; }
/* mixer */
.mix { position: absolute; z-index: 15; left: .8em; right: .8em; top: 8.4em; bottom: .5em; display: flex; flex-direction: column; background: #121212; border: .1em solid #262626; border-radius: 1em; opacity: 0; transform: translateY(1.5em); pointer-events: none; transition: opacity .3s, transform .45s var(--ease); }
.mix.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mix__head { display: flex; justify-content: space-between; align-items: center; padding: .5em .7em .3em 1.2em; border-bottom: .1em solid #222; }
.mix__head span { font-size: .95em; font-weight: 700; letter-spacing: .14em; color: #7d7d7d; }
.mix__strips { flex: 1; min-height: 0; display: flex; gap: .45em; padding: .6em; overflow-x: auto; scrollbar-width: none; }
.strip { flex: none; width: 5.3em; display: flex; flex-direction: column; align-items: center; gap: .4em; padding: .5em .3em; border: .1em solid #262626; border-radius: .5em; background: #0f0f0f; }
.strip--master { border-color: #6b1a24; }
.strip b { font-size: .72em; letter-spacing: .04em; }
.fader { position: relative; flex: 1; min-height: 6em; width: 100%; touch-action: none; cursor: ns-resize; }
.fader .meter { position: absolute; left: 22%; top: 0; bottom: 0; width: .32em; background: #1e1e1e; }
.fader .meter i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lv, 0) * 100%); background: var(--accent); transition: height .08s linear; }
.strip--master .fader .meter i { background: #e8443a; }
.fader .track { position: absolute; left: 58%; top: .6em; bottom: .6em; width: .36em; margin-left: -.18em; background: #262626; border-radius: .2em; }
.fader .track i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v) * 100%); background: var(--accent); border-radius: .2em; }
.strip--master .fader .track i { background: #e01b2b; }
.fader .thumb { position: absolute; left: 58%; bottom: calc(var(--v) * (100% - 1.2em)); width: 2.2em; height: 1.2em; margin-left: -1.1em; border-radius: .25em; background: #f3f3f3; }
.sbtn { width: 2.4em; height: 1.9em; display: grid; place-items: center; border: .1em solid #333; border-radius: .35em; font-size: .78em; font-weight: 700; }
.sbtn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.sbtn .ic { width: 1.3em; height: 1.3em; }
.sbtn.is-mute[aria-pressed="true"] { border-color: #ff5a6a; color: #ff5a6a; }
.fx { display: grid; grid-template-columns: 1fr 1fr; gap: .2em; width: 100%; }
.fx button { height: 1.7em; border: .1em solid #333; border-radius: .3em; font-size: .6em; font-weight: 700; }
.fx button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
/* clip editor */
.ce { top: 8em; padding: 0 1.4em 1.4em; overflow-y: auto; scrollbar-width: none; gap: .9em; }
.ce .sheet__head { padding: 1em 0 0; }
.ce__sub { margin-top: -.6em; font-size: .9em; color: #8c8c8c; font-variant-numeric: tabular-nums; }
.ce__wave { position: relative; flex: none; height: 10.5em; background: #0a1d0d; overflow: hidden; touch-action: none; }
.ce__wave svg { position: absolute; inset: 6% 0; width: 100%; height: 88%; fill: #34e646; }
.ce__wave.is-rev svg { transform: scaleX(-1); }
.ce__shade { position: absolute; top: 0; bottom: 0; background: rgba(0, 0, 0, .72); pointer-events: none; }
.ce__h { position: absolute; top: 0; bottom: 0; width: 2.4em; margin-left: -1.2em; cursor: ew-resize; }
.ce__h::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: .3em; margin-left: -.15em; background: #e6e6e6; }
.ce__h::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.4em; height: 1.4em; margin-left: -.7em; border-radius: .2em; background: #e6e6e6; }
.ce__cut { position: absolute; top: 0; bottom: 0; width: .12em; background: rgba(255, 255, 255, .55); pointer-events: none; }
.ce__hint { text-align: center; font-size: .78em; color: #8c8c8c; }
.ce__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .45em; }
.ce__btns button { height: 2.6em; padding: 0 .9em; border: .1em solid #3a3a3a; border-radius: .6em; font-size: .82em; font-weight: 700; }
.ce__btns button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.knobs { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: .7em; }
.knob { display: grid; justify-items: center; gap: .2em; touch-action: none; cursor: ns-resize; }
.knob__dial { position: relative; width: 3.8em; height: 3.8em; border-radius: 50%; border: .3em solid #2a2a2a; }
.knob__dial::after { content: ""; position: absolute; left: 50%; top: 50%; width: .22em; height: 1.4em; margin-left: -.11em; background: #f3f3f3; border-radius: .2em; transform-origin: 50% 0; transform: rotate(calc(-135deg + var(--k) * 270deg)) translateY(0) rotate(180deg); }
.knob.is-on .knob__dial { border-color: var(--accent); }
.knob b { font-size: .78em; font-variant-numeric: tabular-nums; }
.knob span { font-size: .6em; color: #8c8c8c; font-weight: 700; letter-spacing: .06em; }
.knob--c2 { grid-column: 2; } .knob--c4 { grid-column: 4; }
.ce__end { display: flex; justify-content: flex-end; gap: .6em; padding-top: .3em; }
.ce__end button { height: 3.2em; padding: 0 1.3em; border: .1em solid #3a3a3a; border-radius: .8em; font-weight: 700; }
.ce__end .apply { border-color: var(--accent); }

/* notes */
.mini { flex: none; opacity: .45; }
.mini .tl__ruler { height: 2.6em; }
.mini .lane { height: 3.3em; animation: none; }
.nt { position: relative; flex: 1; min-height: 0; margin-top: -.4em; padding: 0 1.4em 1.3em; gap: .75em; }
.nt .sheet__grab { margin-bottom: .2em; }
.nt__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nt__head h4 { margin: 0; font-size: 1.45em; font-weight: 700; }
.nt__play { display: inline-flex; align-items: center; gap: .6em; color: var(--accent); font-weight: 700; font-size: 1.1em; }
.nt__play .ic { width: 1.3em; height: 1.3em; }
.nt__done { justify-self: end; color: var(--accent); font-weight: 700; font-size: 1.1em; }
.nt__hint { font-size: .85em; color: #8c8c8c; }
.nt__lines { display: grid; gap: .35em; max-height: 6.6em; overflow-y: auto; scrollbar-width: none; }
.nt__line { display: flex; align-items: center; gap: .7em; min-height: 2.6em; padding: .2em .7em; border-radius: .7em; background: #1c1c1c; border: .1em solid #2a2a2a; text-align: left; font-size: .9em; }
.nt__line code { flex: none; font: 700 .85em/1 ui-monospace, Menlo, monospace; color: var(--accent); min-width: 3.4em; }
.nt__line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; flex-wrap: wrap; gap: .45em; }
.chips button { height: 2.5em; padding: 0 1em; border: .1em solid #3a3a3a; border-radius: 99em; font-size: .85em; font-weight: 700; }
.chips button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: #0f2a12; }
.nt__last { font-size: .85em; color: #8c8c8c; }
.nt__last b { color: #f3f3f3; font-weight: 500; }
.rhymes { display: flex; flex-wrap: wrap; gap: .4em; max-height: 8.2em; overflow: hidden; align-content: flex-start; }
.rhymes button { height: 2.4em; padding: 0 .9em; border-radius: 99em; background: #232323; font-size: .88em; animation: pop .3s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
.rhymes em { font-style: normal; font-size: .85em; color: #6d6d6d; }
.nt__box { flex: 1; min-height: 5em; border: .1em solid #3a3a3a; border-radius: 1em; padding: .8em 1em; }
.nt__box .fz { height: 100%; }
.nt__box textarea { caret-color: var(--accent); }

/* ideas */
.search { flex: none; display: flex; align-items: center; gap: .8em; height: 4.2em; margin: 1.2em 1.2em .9em; padding: 0 1.4em; border-radius: 99em; background: #f3f3f3; color: #0c0c0c; }
.search .ic { width: 1.8em; height: 1.8em; flex: none; }
.search .fz { flex: 1; height: 100%; }
.search input { color: #0c0c0c; }
.search input::placeholder { color: #6a6a6a; }
.filters { flex: none; display: flex; gap: .55em; padding: 0 1.2em .9em; }
.filters button { height: 3.1em; padding: 0 .9em; border: .1em solid #2e2e2e; border-radius: .7em; background: #171717; font-size: .88em; font-weight: 700; }
.filters button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.filters .sync { margin-left: auto; padding: 0 1.1em; border: 0; background: var(--accent); color: #0c0c0c; }
.filters .sync.is-busy { background: #1e6e2a; color: #f3f3f3; }
.feed { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: grid; align-content: start; gap: 1.1em; padding: 0 1.2em 1.2em; }
.feed.is-grid { grid-template-columns: 1fr 1fr; gap: .8em; }
.idea { position: relative; height: 15.5em; border-radius: 1.6em; overflow: hidden; border: .12em solid #2a2a2a; animation: pop .45s var(--ease); }
.feed.is-grid .idea { height: 13em; border-radius: 1.1em; }
.idea img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.idea::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.idea__meta, .cover .idea__meta { text-shadow: 0 .1em .5em rgba(0, 0, 0, .85); }
.idea > * { position: relative; z-index: 1; }
.idea__play { position: absolute; left: .9em; top: .9em; width: 3em; height: 3em; display: grid; place-items: center; }
.idea__play .ic { width: 2.2em; height: 2.2em; }
.idea__icons { position: absolute; right: 1em; top: 1.1em; display: flex; gap: .8em; }
.idea__icons .ic { width: 2em; height: 2em; }
.feed.is-grid .idea__icons { display: none; }
.idea__meta { position: absolute; left: 1.2em; right: 1em; bottom: 1em; display: grid; gap: .2em; font-size: .95em; }
.idea__meta strong { font-size: 1.55em; font-weight: 700; margin-bottom: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea__meta span { display: flex; align-items: center; gap: .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea__meta .ic { width: 1.2em; height: 1.2em; flex: none; }
.idea__meta .red { color: #ff3b47; }
.feed.is-grid .idea__meta { font-size: .78em; left: .8em; bottom: .7em; }
.feed.is-grid .idea__meta span:nth-of-type(n+2) { display: none; }
.idea.is-playing { border-color: var(--accent); }
.idea__tags { color: #cfcfcf; font-size: .9em; }
.ibar { flex: none; display: flex; justify-content: space-between; align-items: center; height: 5.6em; padding: 0 1.2em; border-top: .1em solid #1f1f1f; }
.ibar button { width: 3.8em; height: 3.8em; display: grid; place-items: center; border-radius: .8em; border: .1em solid #2a2a2a; background: #121212; }
.ibar .plus { color: var(--accent); }
.save { top: 7.9em; padding: 0 1.4em 1.4em; gap: .9em; }
.pill-in { flex: none; height: 3.8em; border-radius: 99em; background: #f3f3f3; color: #0c0c0c; }
.pill-in input { text-align: center; padding: 0 1em; font-weight: 600; color: #0c0c0c; }
.pill-in input::placeholder { color: #6a6a6a; }
.save .cover { flex: none; height: 13em; }
.cover { position: relative; border-radius: 1.4em; overflow: hidden; border: .12em solid #2a2a2a; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.cover::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.cover .idea__meta { z-index: 1; }
.cover [hidden] { display: none; }
.tagrow { flex: none; display: flex; align-items: center; gap: .5em; height: 3.2em; padding: 0 .4em 0 1em; border-radius: 99em; background: #0f0f0f; border: .1em solid #262626; }
.tagrow__list { display: flex; gap: .5em; font-size: .82em; font-weight: 700; color: #bdbdbd; white-space: nowrap; overflow: hidden; }
.tagrow .fz { flex: 1; min-width: 6em; height: 2.4em; border-radius: 99em; border: .1em solid #3a3a3a; }
.tagrow .fz input { padding: 0 .9em; font-size: 15px; }
.save__btn { flex: none; height: 3.8em; border: .12em solid var(--accent); border-radius: 1em; color: var(--accent); font-weight: 700; letter-spacing: .05em; }

/* export */
.ex { top: 7.9em; padding: 0 1.4em 1.3em; gap: 1em; }
.ex .x { position: absolute; right: 1.4em; top: 1em; }
.ex .cover { flex: none; height: 14.6em; margin-top: 2.4em; }
.ex__label { text-align: center; font-size: 1.1em; font-weight: 700; letter-spacing: .1em; }
.ex__row { display: grid; gap: .6em; }
.ex__row--4 { grid-template-columns: repeat(4, 1fr); }
.ex__row--2 { grid-template-columns: 1fr 1fr; }
.ex__row button { height: 3.3em; border: .1em solid #333; border-radius: .8em; font-weight: 700; font-size: .95em; }
.ex__row button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: #0f2a12; }
.master { height: 3.3em; border: .12em solid var(--accent); border-radius: .8em; background: #0f2a12; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.master[aria-pressed="false"] { border-color: #333; background: none; color: #8c8c8c; }
.ex__help { font-size: .76em; line-height: 1.45; color: #8c8c8c; }
.ex__share { margin-top: auto; flex: none; display: flex; align-items: center; justify-content: center; gap: .8em; height: 4.2em; border: .1em solid #3a3a3a; border-radius: 1em; background: #161616; font-weight: 500; letter-spacing: .04em; }
.ex__share .ic { width: 1.8em; height: 1.8em; }
.ex__share:disabled { opacity: .6; }

/* float bubble: an Android home screen with the DraftSounds bubble */
.app--float { color: #fff; }
.fl__wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(.9); }
.fl__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.app--float .sbar { position: relative; z-index: 3; }
.fl__glance { position: absolute; z-index: 2; left: 2.2em; top: 6.4em; text-shadow: 0 .1em .6em rgba(0, 0, 0, .5); }
.fl__glance b { display: block; font-size: 1.55em; font-weight: 400; letter-spacing: -.01em; }
.fl__glance span { display: flex; align-items: center; gap: .4em; margin-top: .3em; font-size: .95em; opacity: .92; }
.fl__glance .ic { width: 1.25em; height: 1.25em; }
.fl__apps { position: absolute; z-index: 2; left: 1.8em; right: 1.8em; bottom: 14.6em; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 1.4em; }
.fl__dock { position: absolute; z-index: 2; left: 1.8em; right: 1.8em; bottom: 7.4em; display: grid; grid-template-columns: repeat(4, 1fr); }
.fl__app { display: grid; justify-items: center; gap: .45em; font-size: .78em; text-shadow: 0 .1em .4em rgba(0, 0, 0, .6); }
.fl__ico { width: 5.6em; height: 5.6em; display: grid; place-items: center; border-radius: 50%; background: #efe4d6; color: #4a3b2b; box-shadow: 0 .2em .6em rgba(0, 0, 0, .25); }
.fl__app .fl__ico { width: 4.4em; height: 4.4em; font-size: 1.28em; }
.fl__ico .ic { width: 2.2em; height: 2.2em; stroke-width: 1.9; }
.fl__ico--ds { background: #0c0c0c; overflow: hidden; }
.fl__ico--ds img { width: 62%; height: auto; }
.fl__search { position: absolute; z-index: 2; left: 1.8em; right: 1.8em; bottom: 2.6em; height: 4.2em; display: flex; align-items: center; gap: .9em; padding: 0 1.3em; border-radius: 99em; background: rgba(239, 228, 214, .94); color: #4a3b2b; font-size: 1em; }
.fl__search .ic { width: 1.8em; height: 1.8em; }
.fl__search span { flex: 1; font-size: 1.05em; opacity: .75; }
.fl__nav { position: absolute; z-index: 2; left: 50%; bottom: .9em; width: 9.5em; height: .38em; margin-left: -4.75em; border-radius: 1em; background: rgba(255, 255, 255, .9); }
.fl__hint { position: absolute; z-index: 4; left: 50%; top: 23em; transform: translateX(-50%); padding: .6em 1.1em; border-radius: 99em; background: rgba(12, 12, 12, .72); font-size: .85em; font-weight: 500; white-space: nowrap; transition: opacity .4s; }
.fl__hint.is-gone { opacity: 0; pointer-events: none; }
.bubble { position: absolute; z-index: 6; left: 0; top: 0; width: 5.6em; height: 5.6em; border-radius: 50%; background: #121212; box-shadow: 0 0 0 .22em #c8203c, 0 .7em 1.6em rgba(0, 0, 0, .55); display: grid; place-items: center; touch-action: none; cursor: grab; transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform .45s var(--ease), box-shadow .3s; }
.bubble.is-drag { transition: none; cursor: grabbing; }
.bubble img { width: 58%; height: auto; pointer-events: none; }
.bubble::after { content: ""; position: absolute; inset: -.2em; border-radius: 50%; border: .2em solid #e3194a; opacity: 0; }
.bubble.is-rec { background: #c8203c; box-shadow: 0 0 0 .22em #ff6a7e, 0 .7em 1.6em rgba(0, 0, 0, .55); }
.bubble.is-rec::after { animation: ring 1.4s ease-out infinite; }
.bubble.is-rec img { display: none; }
.bubble i { display: none; width: 1.7em; height: 1.7em; border-radius: .35em; background: #fff; }
.bubble.is-rec i { display: block; }
.flpanel { position: absolute; z-index: 5; width: 17.5em; padding: 1em 1.1em 1.1em; border-radius: 1.4em; background: rgba(18, 18, 18, .96); box-shadow: 0 1em 2.4em rgba(0, 0, 0, .5); opacity: 0; transform: scale(.85); transform-origin: var(--ox, 100%) 50%; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.flpanel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.flpanel__top { display: flex; align-items: center; justify-content: space-between; font-size: .85em; }
.flpanel__top b { display: inline-flex; align-items: center; gap: .5em; color: #ff5a6a; font-variant-numeric: tabular-nums; }
.flpanel__top b::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: #ff3b47; animation: blink 1s steps(2) infinite; }
.flpanel__top span { color: #8c8c8c; }
.flpanel canvas { display: block; width: 100%; height: 4.4em; margin: .7em 0 .8em; border-radius: .6em; background: #0c0c0c; }
.flpanel__row { display: flex; align-items: center; justify-content: space-between; gap: .6em; font-size: .8em; color: #9a9a9a; }
.flpanel__stop { height: 2.8em; padding: 0 1.3em; border-radius: 99em; background: #c8203c; color: #fff; font-weight: 700; font-size: 1.1em; }
.flnote { position: absolute; z-index: 7; left: 1em; right: 1em; top: 3.4em; display: grid; grid-template-columns: auto 1fr; gap: .2em .9em; align-items: center; padding: 1em 1.1em; border-radius: 1.4em; background: rgba(40, 38, 36, .97); box-shadow: 0 1em 2em rgba(0, 0, 0, .45); transform: translateY(-140%); transition: transform .55s var(--ease); }
.flnote.is-on { transform: none; }
.flnote__ico { grid-row: span 2; width: 3em; height: 3em; border-radius: 50%; background: #0c0c0c; display: grid; place-items: center; }
.flnote__ico img { width: 64%; }
.flnote small { font-size: .78em; color: #b8b0a6; }
.flnote b { font-size: .95em; font-weight: 600; line-height: 1.3; }
.flnote b span { display: block; font-weight: 400; color: #d8d0c6; font-size: .92em; }

/* ---------- features: pinned scene ---------- */
.features { position: relative; padding: clamp(60px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.features__head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(40px, 6vw, 60px); }
.features__halo, .feature__short, .features__hint { display: none; }
.features__rail button { font-size: 0; }
.feature__text { width: 100%; max-width: 520px; }
.feature__num { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; }
.feature__num i { font-style: normal; color: rgba(243, 243, 243, .35); }
.feature h3 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.feature__text > p { margin-top: 16px; color: var(--muted); font-size: 1.04rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 6px 14px; border-radius: 99px; font-size: .8rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
.feature__text > .try { position: relative; margin-top: 24px; padding: 14px 18px 14px 40px; border-radius: 14px; font-size: .92rem; color: rgba(243, 243, 243, .88); background: #0f1d10; border: 1px solid #1e5a26; }
.try b { color: var(--text); }
.try .dot-live { position: absolute; left: 18px; top: 22px; }
@media (max-width: 899.98px) {
  .features { padding-bottom: 0; }
  .features__head { margin-bottom: 26px; }
  .features__grid { --vh: 100vh; display: grid; grid-template: 1fr / minmax(0, 1fr); height: calc(var(--vh) * 4.8); }
  @supports (height: 100svh) { .features__grid { --vh: 100svh; } }
  .features__rail, .features .feature, .features__hint { grid-area: 1 / 1; align-self: start; position: sticky; }
  .features__rail { top: 8px; z-index: 6; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin: 8px -6px 0; padding: 3px; border-radius: 99px; background: #161616; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -14px #000; }
  .features__rail button { height: 36px; border-radius: 99px; font-size: .7rem; letter-spacing: -.01em; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
  .features__rail button.is-on { background: var(--accent); color: var(--bg); }
  .features .feature { top: 0; height: var(--vh); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 58px 0 38px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), visibility 0s .35s; }
  .features .feature.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s var(--ease), visibility 0s; }
  .feature__text { flex: none; max-width: none; text-align: center; }
  .feature__num, .tags, .feature__text > .try, .feature__text > p:not(.feature__short) { display: none; }
  .feature h3 { font-size: clamp(1.05rem, 5vw, 1.3rem); white-space: nowrap; }
  .feature__text > .feature__short { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.4; color: var(--muted); }
  .feature__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .feature__stage .phone { --pw: min(88vw, 340px, calc((var(--vh) - 158px) * .474)); transform: scale(.94); transition: transform .6s var(--ease); }
  .feature.is-active .feature__stage .phone { transform: none; }
  .features__hint { top: calc(var(--vh) - 32px); z-index: 5; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
  .features__hint svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.2s var(--ease) infinite alternate; }
}
@keyframes bob { from { transform: translateY(-2px); } to { transform: translateY(3px); } }
@media (min-width: 900px) {
  .features__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5vw; --pw: min(340px, calc((100vh - 140px) * .462)); --ph: calc(var(--pw) * 2.13); }
  .feature { display: contents; }
  .feature__stage, .features__halo { grid-column: 1; grid-row: 1 / span 6; align-self: start; justify-self: center; position: sticky; top: calc(50vh - var(--ph) / 2 + 24px); height: var(--ph); }
  .feature__stage { z-index: 2; perspective: 1400px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .7s; }
  .feature__stage .phone { --pw: min(340px, calc((100vh - 140px) * .462)); transform: rotateY(-38deg) translateX(-12%) scale(.86); transition: transform .9s var(--ease); }
  .feature.is-active .feature__stage { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .1s, visibility 0s; }
  .feature.is-active .feature__stage .phone { transform: none; }
  .feature__text { grid-column: 2; max-width: 500px; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: .25; transform: scale(.97); transform-origin: 0 50%; transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .feature.is-active .feature__text { opacity: 1; transform: none; }
  article.feature:nth-of-type(1) .feature__text { grid-row: 1; }
  article.feature:nth-of-type(2) .feature__text { grid-row: 2; }
  article.feature:nth-of-type(3) .feature__text { grid-row: 3; }
  article.feature:nth-of-type(4) .feature__text { grid-row: 4; }
  article.feature:nth-of-type(5) .feature__text { grid-row: 5; }
  article.feature:nth-of-type(6) .feature__text { grid-row: 6; }
  .features__halo { display: block; z-index: 0; width: var(--pw); pointer-events: none; }
  .halo__ring { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; margin: -75% 0 0 -75%; border-radius: 50%; border: 1px solid rgba(243, 243, 243, .08); animation: halo 6s ease-in-out infinite; }
  .halo__ring:nth-child(2) { width: 200%; margin: -100% 0 0 -100%; animation-delay: -2s; border-color: rgba(48, 230, 63, .18); }
  .halo__ring:nth-child(3) { width: 250%; margin: -125% 0 0 -125%; animation-delay: -4s; }
  @keyframes halo { 50% { transform: scale(1.06); opacity: .5; } }
  .halo__num { display: none; position: absolute; left: -74%; top: 50%; transform: translateY(-50%); font-size: clamp(8rem, 16vw, 15rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 243, 243, .1); letter-spacing: -.04em; }
  @media (min-width: 1240px) { .halo__num { display: block; } }
  .features__rail { display: grid; gap: 14px; grid-column: 1; grid-row: 1 / span 6; align-self: start; justify-self: start; position: sticky; top: calc(50vh - 70px); z-index: 3; }
  .features__rail button { display: block; width: 10px; height: 10px; border-radius: 10px; background: rgba(243, 243, 243, .25); transition: height .5s var(--ease), background .3s; }
  .features__rail button.is-on { height: 34px; background: var(--accent); }
}

/* ---------- real screens rail ---------- */
.screens { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 70px); }
.screens__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 4vw, 44px); }
.screens__nav { display: flex; gap: 10px; }
.screens__nav button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .25s, background .25s; }
.screens__nav button:hover { border-color: var(--accent); background: var(--surface); }
.screens__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.screens__rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(168px, 19vw, 236px); gap: clamp(14px, 2vw, 24px); overflow-x: auto; padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) 10px; scroll-snap-type: x mandatory; scroll-padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); scrollbar-width: none; cursor: grab; }
.screens__rail::-webkit-scrollbar { display: none; }
.screens__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.screens__rail li { scroll-snap-align: start; opacity: 0; transform: translateY(40px) rotate(2deg); transition: opacity .8s var(--ease) calc(var(--i) * 70ms), transform 1s var(--ease) calc(var(--i) * 70ms); }
.screens__rail.in li, html:not(.js) .screens__rail li { opacity: 1; transform: none; }
.shot { position: relative; padding: 2.6%; border-radius: 13%/6%; background: #1a1a1a; border: 1px solid #2e2e2e; transition: transform .5s var(--ease), border-color .3s; }
.shot img { width: 100%; height: auto; border-radius: 11%/5%; pointer-events: none; }
.shot--plate { aspect-ratio: 720 / 1560; }
.screens__rail li:hover .shot { transform: translateY(-8px); border-color: #444; }
.screens__rail p { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.screens__rail p b { display: block; color: var(--text); font-size: .95rem; }
.plate { position: absolute; inset: 7% 8%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 2px dashed var(--line-2); border-radius: 18px; text-align: center; color: var(--muted); }
.plate span { font: 600 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); word-break: break-all; }
.plate small { font-size: .74rem; }

/* ---------- many more ---------- */
.more { padding: clamp(50px, 8vw, 110px) 0 clamp(70px, 9vw, 130px); }
.more__head { display: flex; align-items: center; }
.more__line { flex: 1; height: 1px; background: var(--line-2); transform-origin: 100% 50%; }
.more__line:last-child { transform-origin: 0 50%; }
.more__pill { flex: none; padding: 10px 30px; border-radius: 99px; border: 1px solid var(--line-2); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 5vw, 64px); }
.tile { position: relative; padding: clamp(18px, 2.4vw, 30px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.tile::before { content: ""; position: absolute; left: var(--mx, 50%); top: var(--my, 0%); width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: rgba(48, 230, 63, .1); filter: blur(40px); opacity: 0; transition: opacity .4s; }
.tile:hover { border-color: #3a3a3a; transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.tile__icon { width: clamp(40px, 5vw, 52px); height: auto; margin-bottom: 16px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tile h3 { font-size: clamp(.95rem, 1.5vw, 1.15rem); font-weight: 700; line-height: 1.25; }
.tile p { margin-top: 6px; font-size: clamp(.8rem, 1.1vw, .92rem); color: var(--muted); line-height: 1.45; }
.tile__icon .a { stroke: var(--accent); }
.i-import .a { animation: bob2 1.6s var(--ease) infinite alternate; }
@keyframes bob2 { from { transform: translateY(-5px); } to { transform: translateY(2px); } }
.i-float .a { animation: drift2 3s ease-in-out infinite alternate; }
.i-float .c { fill: var(--accent); stroke: none; }
@keyframes drift2 { from { transform: translate(-6px, -10px); } to { transform: translate(0, 2px); } }
.i-cloud .a { animation: up 1.8s var(--ease) infinite; }
@keyframes up { 0% { transform: translateY(7px); opacity: 0; } 40%, 70% { opacity: 1; transform: none; } 100% { transform: translateY(-7px); opacity: 0; } }
.i-mixer .k { fill: var(--bg); stroke: var(--accent); animation: fader 2.6s ease-in-out infinite alternate; }
.i-mixer .k2 { animation-delay: -1.2s; stroke: var(--text); } .i-mixer .k3 { animation-delay: -2s; }
@keyframes fader { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
.i-rhyme .a rect { animation: pulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.i-rhyme .a rect:last-child { animation-delay: -1.1s; }
@keyframes pulse { 50% { transform: scale(.82); } }
.i-reel .a { fill: var(--accent); stroke: none; animation: pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.i-file .t1, .i-file .t2 { stroke: var(--accent); stroke-dasharray: 16; animation: write 3s var(--ease) infinite; }
.i-file .t2 { animation-delay: .4s; }
@keyframes write { 0% { stroke-dashoffset: 16; } 40%, 100% { stroke-dashoffset: 0; } }
.i-file .cur { stroke: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.i-metro .arm { stroke: var(--accent); transform-origin: 24px 33px; animation: swing 1.25s ease-in-out infinite alternate; }
.i-metro .arm rect { fill: var(--bg); }
@keyframes swing { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@media (min-width: 900px) { .more__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* ---------- pricing: one clear choice, the add-on stays quiet ---------- */
.pricing { position: relative; padding: clamp(70px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.pricing__wrap { max-width: 980px; }
.pricing .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.plan { position: relative; display: grid; border-radius: 24px; background: var(--surface); border: 1px solid rgba(48, 230, 63, .4); overflow: hidden; }
.plan__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 4vw, 44px); }
.plan__name { margin-top: 18px; font-size: 1.15rem; font-weight: 600; color: var(--muted); }
.plan__price { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.plan__num { font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan__num b { font-weight: 800; font-variant-numeric: tabular-nums; }
.plan__per { font-size: .9rem; line-height: 1.35; color: var(--muted); }
.plan__per::first-line { color: var(--text); font-weight: 600; }
.plan__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 26px 0 30px; font-size: .92rem; font-weight: 500; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230c0c0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat; transform: scale(0); transition: transform .6s var(--ease) calc(var(--i, 0) * 80ms + .3s); }
.plan.in .plan__list li::before, html:not(.js) .plan__list li::before { transform: none; }
.plan__visual { display: none; }
@media (min-width: 820px) {
  .plan { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
  .plan__visual { display: block; position: relative; border-left: 1px solid var(--line); background: #121212; overflow: hidden; }
  .plan__shot { position: absolute; width: 58%; left: 34%; top: 12%; transform: rotate(6deg); transition: transform .8s var(--ease); }
  .plan__shot--b { left: 6%; top: 22%; transform: rotate(-5deg); z-index: -1; opacity: .55; }
  .plan:hover .plan__shot { transform: rotate(3deg) translateY(-10px); }
  .plan:hover .plan__shot--b { transform: rotate(-8deg) translateY(-4px); }
  .plan__visual .plan__shot--b { z-index: 0; }
  .plan__visual .plan__shot:not(.plan__shot--b) { z-index: 1; }
}
@media (max-width: 480px) {
  .plan__list { grid-template-columns: 1fr; }
  .plan__body { padding: 24px 20px; }
  .plan .badges { gap: 10px; flex-wrap: nowrap; }
  .plan .badge, .plan .badge img { height: 42px; }
  .plan .badge--gp img { height: 62px; margin: -10px -10.1px; }
  .pricing__notes { flex-direction: column; align-items: center; gap: 8px; }
}
.addon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 18px; margin-top: 14px; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line-2); transition: border-color .3s, background .3s; }
.addon:hover { border-color: #4a4a4a; background: #111; }
.addon__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.addon__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.addon__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.addon h3 { font-size: 1.05rem; font-weight: 700; }
.addon__body > p:last-child { margin-top: 2px; font-size: .88rem; color: var(--muted); }
.addon__side { text-align: right; }
.addon__price { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.addon__price b { font-size: 1.35rem; font-weight: 700; color: var(--text); }
.addon__link { display: inline-block; margin-top: 4px; font-size: .85rem; font-weight: 600; border-bottom: 1px solid var(--accent); }
@media (max-width: 599.98px) {
  .addon { grid-template-columns: auto 1fr; padding: 16px; }
  .addon__side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; text-align: left; padding-top: 12px; border-top: 1px solid var(--line); }
}
.pricing__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 24px; font-size: .84rem; color: var(--muted); }
.pricing__notes li { display: inline-flex; align-items: center; gap: 8px; }
.pricing__notes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- cloud / desktop ---------- */
.cloud { position: relative; padding: clamp(70px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); overflow: clip; border-top: 1px solid var(--line); }
.cloud__ribbon { position: absolute; left: 0; top: 0; width: 100%; height: 60%; pointer-events: none; }
.cloud .wrap { position: relative; }
.flow { display: flex; align-items: flex-start; justify-content: center; max-width: 760px; margin: 0 auto; }
.flow__step { flex: none; width: clamp(92px, 18vw, 160px); display: grid; justify-items: center; gap: 12px; text-align: center; font-size: clamp(.78rem, 1.3vw, .92rem); font-weight: 600; }
.flow__step svg { width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow__line { flex: 1; min-width: 16px; margin-top: 27px; }
.flow__line svg { width: 100%; height: 4px; overflow: visible; }
.flow__line path { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 7; fill: none; vector-effect: non-scaling-stroke; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.cloud__figure { margin-top: clamp(40px, 6vw, 72px); perspective: 1800px; }
.window { position: relative; border-radius: clamp(8px, 1vw, 14px); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 50px 120px -40px #000; }
.window img { width: 100%; height: auto; }
.cloud__window { --p: 1; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 16deg)) scale(calc(.9 + .1 * var(--p))); }
@media (max-width: 699.98px) { .cloud__window { width: calc(100vw - 16px); margin-left: calc(8px - var(--pad)); } }
.mark { position: absolute; left: 83.3%; top: 44.7%; width: 15.6%; height: 5.8%; border: 2px solid var(--accent); border-radius: 8px; opacity: 0; transform: scale(1.3); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.mark::after { content: ""; position: absolute; inset: -2px; border-radius: 8px; border: 2px solid var(--accent); animation: ring 2s ease-out infinite; }
.mark__label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 5px 10px; border-radius: 8px; background: var(--accent); color: var(--bg); font-size: clamp(.6rem, 1.1vw, .8rem); font-weight: 700; white-space: nowrap; }
.cloud__window.is-lit .mark { opacity: 1; transform: none; }
.cloud__figure figcaption { margin-top: 22px; text-align: center; color: var(--muted); }
.cloud__figure figcaption strong { color: var(--text); font-weight: 600; }
.cloud__note { margin: 10px auto 0; max-width: 60ch; text-align: center; font-size: .9rem; color: var(--muted); }
.cloud__dl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; margin-top: 28px; }
.cloud__dl span { width: 100%; text-align: center; font-size: .82rem; color: var(--muted); }
@media (max-width: 599.98px) { .cloud__dl .btn { width: 100%; } }

/* ---------- faq ---------- */
.faq { padding: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq__wrap { display: grid; gap: clamp(28px, 5vw, 70px); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 2px; text-align: left; font-size: clamp(1rem, 1.5vw, 1.18rem); font-weight: 600; transition: color .3s; }
.qa button:hover { color: var(--accent); }
.qa__x { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.qa__x::before, .qa__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text); transition: transform .5s var(--ease); }
.qa__x::after { transform: rotate(90deg); }
.qa button[aria-expanded="true"] .qa__x { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.qa button[aria-expanded="true"] .qa__x::before, .qa button[aria-expanded="true"] .qa__x::after { background: var(--bg); }
.qa button[aria-expanded="true"] .qa__x::after { transform: rotate(0); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding: 0 54px 24px 2px; color: var(--muted); opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease); }
.qa__panel a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.qa.is-open .qa__panel { grid-template-rows: 1fr; }
.qa.is-open .qa__panel p { opacity: 1; transform: none; transition-delay: .12s; }
@media (min-width: 900px) {
  .faq__wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .faq__head { position: sticky; top: 110px; }
}

/* ---------- cta ---------- */
.cta { position: relative; padding: clamp(90px, 13vw, 190px) 0; text-align: center; overflow: clip; border-top: 1px solid var(--line); }
.cta__bars { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; display: flex; align-items: flex-end; justify-content: center; gap: clamp(3px, .6vw, 8px); opacity: .22; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.cta__bars i { flex: 1; max-width: 14px; height: var(--h); border-radius: 8px 8px 0 0; background: var(--accent); transform-origin: 50% 100%; animation: eq var(--t) ease-in-out var(--dl) infinite alternate; }
.cta__bars i:nth-child(3n) { background: var(--text); }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.cta__icon { width: 62px; height: auto; margin-bottom: 26px; }
.cta__title { width: 100%; font-size: clamp(2.2rem, 7.4vw, 5.6rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.cta__title > span { display: block; }
.cta__title > .rot { display: grid; justify-items: center; color: var(--accent); height: 1.12em; overflow: hidden; margin-top: .06em; }
.rot span { grid-area: 1 / 1; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.rot span.is-on { transform: none; opacity: 1; }
.rot span.is-off { transform: translateY(-110%) rotate(-6deg); opacity: 0; }
.cta .sub { margin: 24px auto 30px; }
.cta__actions .badges { justify-content: center; }
.cta__desk { margin-top: 22px; font-size: .9rem; color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: 40px 0 max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer__logo img { width: 130px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .footer__links { justify-self: center; }
}

/* ---------- now playing ---------- */
.np { position: fixed; z-index: 80; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 99px; font-size: .82rem; font-weight: 600; white-space: nowrap; background: #161616; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -14px #000; transform: translate(-50%, 0); animation: npin .5s var(--ease); }
.np[hidden] { display: none; }
@keyframes npin { from { transform: translate(-50%, 140%); } }
.np__eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.np__eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); transform-origin: 50% 100%; animation: eq .6s ease-in-out infinite alternate; }
.np__eq i:nth-child(2) { animation-delay: -.2s; } .np__eq i:nth-child(3) { animation-delay: -.4s; }
.np__stop { padding: 7px 14px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 899.98px) { .np { bottom: max(4px, env(safe-area-inset-bottom)); padding: 3px 3px 3px 12px; font-size: .76rem; } .np__stop { padding: 5px 12px; } }

/* ---------- legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 48px) 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px; }
.legal h2 { margin: 2.2rem 0 .5rem; font-size: 1.15rem; font-weight: 700; }
.legal p, .legal li, .legal dd { color: #cfcfcf; }
.legal p + p { margin-top: .8rem; }
.legal ul { margin: .6rem 0; padding-left: 1.2rem; list-style: disc; }
.legal li { margin: .3rem 0; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--surface); font-size: .9em; }
.legal .muted, .legal dt, .legal .note { color: var(--muted); }
.legal dl { margin: 0; }
.legal dt { margin-top: 1.3rem; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.legal dd { margin: .25rem 0 0; }
.legal .note { margin-top: 2.2rem; }

/* off-screen sections pause their css animations (main.js) */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .w > span, .js .hero__phone .phone, .screens__rail li { opacity: 1; transform: none; }
  .sw { opacity: 1; }
  .trailer__frame, .cloud__window { transform: none; }
}


/* ---------- language switcher (i18n) ---------- */
.langs { display: flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.langs a { padding: 6px 6px; border-radius: 6px; transition: color .25s, background .25s; }
.langs a:hover { color: var(--text); }
.langs a[aria-current] { color: var(--accent); }
.langs--nav { display: none; }
.langs--menu { flex-basis: 100%; font-size: .9rem; }
@media (min-width: 960px) { .langs--nav { display: flex; margin-right: 4px; } }
/* Japanese: fall back to good system fonts, keep words together in headings */
html[lang="ja"] body { font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; line-break: strict; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: 0; word-break: auto-phrase; }
/* JA hero: give the word mask room for CJK glyphs; allow wrapping so narrow screens never clip */
html:lang(ja) .hero__title { line-height: 1.25; font-size: clamp(30px, 8.4vw, 44px); overflow-wrap: anywhere; }
html:lang(ja) .hero__title .w { padding: .12em 0 .2em; margin: -.12em 0 -.2em; }
@media (min-width: 900px) { html:lang(ja) .hero__title { font-size: clamp(44px, 4.4vw, 68px); } }

/* price disclaimer under pricing notes */
.pricing__fine { margin: 14px auto 0; max-width: 60ch; text-align: center; font-size: .78rem; line-height: 1.5; color: var(--muted); }
