/* Muse landing — concept A · Velour.
   Colour, type, radii and the mini components are the Muse Design System tokens.
   Depth is a hairline or a surface step, never a shadow; the only glow is the DAC bulb. */

@font-face{font-family:"Jost";src:url("fonts/Jost-Light.ttf") format("truetype");font-weight:300;font-style:normal;font-display:block}
@font-face{font-family:"Jost";src:url("fonts/Jost-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:"Jost";src:url("fonts/Jost-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:block}
@font-face{font-family:"JetBrains Mono";src:url("fonts/JetBrainsMono.ttf") format("truetype");font-weight:400;font-style:normal;font-display:block}
/* On the Chinese page Jost supplies Latin letters, digits, Latin-1 and Cyrillic only, so its curly quotes, em dash
   and ellipsis fall to the Chinese face, where they are full-width. */
@font-face{font-family:"Jost Han";src:url("fonts/Jost-Light.ttf") format("truetype");font-weight:300;font-style:normal;font-display:block;unicode-range:U+0020-007E,U+00A0-00FF,U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Jost Han";src:url("fonts/Jost-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:block;unicode-range:U+0020-007E,U+00A0-00FF,U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Jost Han";src:url("fonts/Jost-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:block;unicode-range:U+0020-007E,U+00A0-00FF,U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root,[data-theme="dark"]{
  --bg-velour:#060607;
  --bg-app:#0c0c0d;
  --bg-panel:#151517;
  --bg-raised:#1b1b1d;
  --bg-raised-2:#1f1f21;
  --bg-selected:#242425;
  --bg-pressed:#2c2c2e;
  --line:#242425;
  --line-strong:#313132;
  --edge:#49494a;
  --highlight:#59595a;
  --text:#eeeff0;
  --text-secondary:#b4b2b0;
  --text-muted:#969491;
  --text-disabled:#6c6863;
  --on-light:#060607;
  --titanium-lo:#4a4744;
  --titanium:#6c6863;
  --titanium-hi:#969491;
  --rose-gold-lo:#ad7e6e;
  --rose-gold:#ce9880;
  --rose-gold-hi:#dca891;
  --tier-lossy:#f0564f;
  --tier-320:#ebcf3e;
  --tier-cd:#86d35f;
  --tier-24:#22a862;
  --tier-hires:#e8c060;
  --tier-ultra:#d3d1cf;
  --tier-dsd:#fff4ee;
  --status-ok:#6fd3b8;
  --status-warn:#f0b95a;
}
:root{
  --radius-xs:4px;
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:14px;
  --radius-pill:22px;
  --size-control:44px;
  --size-seek:3px;
  /* Jost has no CJK glyphs, so Simplified Chinese falls back to the system Chinese face. */
  --font-sans:"Jost","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;
  --font-mono:"JetBrains Mono","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",ui-monospace,monospace;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg-velour);color-scheme:dark;scroll-behavior:smooth;scroll-padding-top:72px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg-velour);color:var(--text);font:400 17px/1.5 var(--font-sans);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,p,ul,figure{margin:0;padding:0}
ul{list-style:none}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:auto}
::selection{background:var(--text);color:var(--on-light)}
:focus-visible{outline:2px solid var(--text);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* ---------- shared ---------- */
.wrap{width:min(1200px,100% - 56px);margin-inline:auto}
.label{font-family:var(--font-mono);font-size:11px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-weight:400}
.fmt{font-size:12px;font-weight:500;letter-spacing:.03em;white-space:nowrap}
.t-lossy{color:var(--tier-lossy)}
.t-320{color:var(--tier-320)}
.t-cd{color:var(--tier-cd)}
.t-24{color:var(--tier-24)}
.t-hires{color:var(--tier-hires)}
.t-ultra{color:var(--tier-ultra)}
.t-dsd{color:var(--tier-dsd)}

.skip{position:absolute;top:8px;left:16px;z-index:40;height:var(--size-control);padding:0 20px;border-radius:var(--radius-pill);background:var(--text);color:var(--on-light);font-size:14px;font-weight:500;display:inline-flex;align-items:center;transform:translateY(-200%)}
.skip:focus{transform:none}

.btn{height:var(--size-control);padding:0 20px;border-radius:var(--radius-pill);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;white-space:nowrap}
.btn.is-primary{background:var(--text);color:var(--on-light);font-weight:500;transition:opacity .15s ease}
.btn.is-primary:hover{opacity:.86}
.btn.is-primary:active{opacity:.74}
.btn.is-ghost{border:1px solid var(--line-strong);color:var(--text-secondary);transition:border-color .15s ease,color .15s ease}
.btn.is-ghost:hover{border-color:var(--edge);color:var(--text)}

/* ---------- local navigation ---------- */
.nav{position:sticky;top:0;z-index:20;height:52px;background:var(--bg-velour);border-bottom:1px solid var(--line)}
.nav .wrap{height:100%;display:flex;align-items:center;gap:36px}
.brand{display:inline-flex;align-items:center;gap:8px;flex:none}
.brand-mark{width:28px;height:28px;flex:none}
/* the lettering is all x-height, so its ink sits below the middle of the line box; lift it, as the app toolbar does */
.wordmark{font-size:22px;line-height:1;font-weight:300;letter-spacing:-.01em;transform:translateY(-.125em)}
.nav-links{display:flex;gap:28px;font-size:14px;color:var(--text-secondary)}
.nav-links a{transition:color .15s ease}
.nav-links a:hover{color:var(--text)}
.nav .end{position:relative;margin-left:auto;display:flex;align-items:center;gap:20px}

/* popovers are positioned against .end, so they always stay inside the page */
.lang summary,.menu summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--size-control);border-radius:var(--radius-pill);cursor:pointer;color:var(--text-muted);font-family:var(--font-mono);font-size:12px;-webkit-user-select:none;user-select:none}
.lang summary{padding:0 10px}
.lang summary::-webkit-details-marker,.menu summary::-webkit-details-marker{display:none}
.lang summary:hover,.menu summary:hover{color:var(--text)}
.lang[open] summary,.menu[open] summary{color:var(--text);background:var(--bg-selected)}
.chev{flex:none;transition:transform .2s ease}
.lang[open] summary .chev,.menu[open] summary .chev,.faq-item[open] summary .chev{transform:rotate(180deg)}

.lang-list{position:absolute;top:calc(100% + 6px);right:0;min-width:176px;padding:6px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--bg-panel);z-index:30}
.lang-list a,.lang-list span{display:flex;align-items:center;height:36px;padding:0 12px;border-radius:var(--radius-sm);font-size:14px;color:var(--text-secondary)}
.lang-list a:hover{background:var(--bg-raised);color:var(--text)}
.lang-list [aria-current]{color:var(--text);background:var(--bg-selected)}

.menu{display:none}
.menu summary{width:var(--size-control);padding:0}
.menu-panel{position:absolute;top:calc(100% + 6px);right:0;width:min(320px,calc(100vw - 40px));padding:8px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--bg-panel);z-index:30}
.menu-panel a{display:flex;align-items:center;min-height:var(--size-control);padding:0 12px;border-radius:var(--radius-sm);font-size:17px;color:var(--text-secondary)}
.menu-panel a:hover{background:var(--bg-raised);color:var(--text)}

/* ---------- first screen ---------- */
.hero{padding:96px 0 88px;text-align:center}
.hero h1{font-size:clamp(44px,7.4vw,96px);line-height:1.02;font-weight:300;letter-spacing:-.03em;text-wrap:balance}
.hero .sub{margin:24px auto 0;max-width:46ch;font-size:clamp(19px,1.7vw,24px);line-height:1.35;color:var(--text-secondary);text-wrap:balance}
.hero .cta{margin-top:32px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.hero .meta{margin-top:20px}
.hero .shot{width:min(1040px,100%);margin:52px auto 0}

/* the app window */
.shot{border:1px solid var(--line-strong);border-radius:var(--radius-md);overflow:hidden;background:var(--bg-app)}

/* section divider that carries the section name: the Logic Pro marker, built on the grid */
.rule{display:flex;align-items:baseline;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:16px}
.rule .label:last-child{text-align:right}

/* ---------- get to know ---------- */
.hl{padding-bottom:96px}
.hl h2{margin:24px 0 32px;font-size:clamp(30px,3vw,40px);line-height:1.1;font-weight:300;letter-spacing:-.02em}
.hl .tiles{--cols:5}
.hl .tile p{margin-bottom:16px}
/* open-ended minis stop short of the column edge so neighbours never read as one line */
.hl .mini.is-inset{max-width:calc(100% - 28px)}

/* ---------- feature sections ---------- */
.sec{padding-bottom:96px}
.sec h2{margin-top:40px;font-size:clamp(34px,4.6vw,64px);line-height:1.06;font-weight:300;letter-spacing:-.025em;text-wrap:balance;max-width:17ch}
.sec .body{margin-top:20px;font-size:clamp(18px,1.5vw,21px);line-height:1.4;color:var(--text-secondary);max-width:54ch}
.sec .shot{width:min(900px,100%);margin:40px auto 0}
.sec .tiles{margin-top:28px;--cols:4}
.sec.is-wide .shot{width:100%}
.sec.is-split .sec-head{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);gap:48px;align-items:start;margin-top:40px}
.sec.is-split h2{margin-top:0}
.sec.is-split .shot{width:100%;margin-top:0}

/* caption tiles */
.tiles{display:grid;gap:24px 20px;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr))}
.tile{border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;min-width:0}
.tile h3{font-size:17px;line-height:1.3;font-weight:500}
.tile p{margin-top:8px;font-size:15px;line-height:1.45;color:var(--text-secondary)}

/* mini components, taken from the design system */
.mini{height:44px;display:flex;align-items:center;gap:10px;min-width:0;margin-top:auto}
.mini .covers{display:flex;gap:6px}
.mini .covers img{width:36px;height:36px;border-radius:var(--radius-xs);object-fit:cover}
.m-seek{position:relative;flex:1;height:var(--size-seek);background:var(--titanium-lo);border-radius:2px;overflow:hidden}
.m-seek span{position:absolute;inset:0 auto 0 0;width:34%;background:linear-gradient(90deg,var(--rose-gold-hi),var(--rose-gold))}
.m-bulb{--c:var(--tier-24);width:12px;height:12px;flex:none;border-radius:50%;background:radial-gradient(circle at 36% 30%,rgba(255,255,255,.75) 0%,rgba(255,255,255,0) 45%),var(--c);box-shadow:0 0 10px 2px color-mix(in srgb,var(--c) 60%,transparent),0 0 22px 4px color-mix(in srgb,var(--c) 20%,transparent)}
.m-chain{position:relative;display:flex;align-items:center;flex:1;overflow:hidden}
.m-chain i{position:relative;z-index:1;width:8px;height:8px;flex:none;border-radius:50%;background:var(--text-disabled)}
.m-chain i.on{background:var(--tier-hires)}
.m-chain i.ok{background:var(--status-ok)}
.m-chain b{flex:1;height:1px;background:var(--line-strong)}
/* the one moving thing on the page: the signal reaching the device */
.m-chain::after{content:"";position:absolute;top:50%;left:0;width:28%;height:3px;margin-top:-1.5px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--rose-gold-hi));opacity:0;animation:signal 4.4s cubic-bezier(.16,1,.3,1) infinite}
@keyframes signal{0%{transform:translateX(0);opacity:0}8%{opacity:.9}46%{opacity:.9}58%{transform:translateX(257%);opacity:0}100%{transform:translateX(257%);opacity:0}}
.m-dac{display:inline-flex;align-items:center;gap:10px;min-width:0}
.m-dac b{display:block;font-size:13px;line-height:1.3;font-weight:400}
.m-dac small{display:block;font-size:11px;line-height:1.3;color:var(--text-muted)}
.m-ask{height:36px;flex:1;min-width:0;padding:10px 5px 10px 14px;border-radius:18px;background:var(--bg-selected);color:var(--text-muted);font-size:12.5px;display:flex;align-items:center;gap:8px}
.m-ask .ph{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-ask .go{margin-left:auto;width:26px;height:26px;flex:none;border-radius:50%;background:var(--text)}

/* ---------- questions ---------- */
.faq{padding-bottom:112px}
.faq h2{font-size:clamp(34px,4.6vw,64px);line-height:1.06;font-weight:300;letter-spacing:-.025em;text-wrap:balance}
.faq-list{margin-top:40px;max-width:900px;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;font-size:clamp(19px,1.7vw,24px);line-height:1.25;font-weight:300;letter-spacing:-.01em;cursor:pointer}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .chev{width:16px;height:16px;color:var(--text-muted)}
.faq-item .a{padding:0 40px 24px 0;max-width:66ch;font-size:17px;line-height:1.5;color:var(--text-secondary)}

/* ---------- close ---------- */
.close{padding:8px 0 112px;text-align:center}
.close h2{font-size:clamp(34px,4.6vw,64px);line-height:1.06;font-weight:300;letter-spacing:-.025em;text-wrap:balance}
.close .cta{margin-top:28px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.close .meta{margin-top:20px}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line);padding:32px 0 40px}
.foot .row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:13px;color:var(--text-muted)}
.foot .wordmark{color:var(--text)}
.foot .links,.foot .langs{display:flex;gap:24px;flex-wrap:wrap}
.foot .langs{gap:16px}
.foot a{transition:color .15s ease}
.foot a:hover{color:var(--text)}
.foot [aria-current]{color:var(--text)}
.foot .note{margin-top:20px;font-size:13px;color:var(--text-muted)}

/* ---------- narrower windows ---------- */
@media (max-width:1000px){
  .nav .wrap{gap:16px}
  .nav-links{display:none}
  .menu{display:block}
  .hero{padding:72px 0 72px}
  .hl,.sec{padding-bottom:72px}
  .faq,.close{padding-bottom:88px}
  .hl .tiles{--cols:3}
  .sec .tiles{--cols:2}
  .sec.is-split .sec-head{grid-template-columns:minmax(0,1fr);gap:28px}
}
@media (max-width:600px){
  .wrap{width:min(1200px,100% - 40px)}
  .hero{padding:56px 0 56px}
  .hero .shot{margin-top:36px}
  .hl .tiles{--cols:2}
  .sec .tiles{--cols:1}
  .sec h2{margin-top:28px}
  .sec .shot{margin-top:28px}
  .sec.is-split .sec-head{margin-top:28px}
  .rule{flex-direction:column;gap:8px}
  .rule .label:last-child{text-align:left}
  .foot .row{flex-direction:column;align-items:flex-start;gap:20px}
}
@media (max-width:480px){
  .hero .cta .btn,.close .cta .btn{flex:1 1 100%}
}

/* ---------- Simplified Chinese ----------
   Han glyphs fill the em box, so the Latin display leading and the negative tracking read as cramped.
   Dense strokes need more weight than the Latin display light, and full-width punctuation must come from
   the Chinese face, so Jost is declared there for Latin letters, digits, Latin-1 and Cyrillic only. */
:root:lang(zh-Hans){line-break:strict;--font-sans:"Jost Han","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif}
:lang(zh-Hans) .label{font-size:12px;letter-spacing:0}
:lang(zh-Hans) .hero h1{line-height:1.14;letter-spacing:0;font-weight:500}
:lang(zh-Hans) .hero .sub{line-height:1.5}
:lang(zh-Hans) .hl h2{line-height:1.2;letter-spacing:0;font-weight:500}
:lang(zh-Hans) .sec h2,:lang(zh-Hans) .faq h2,:lang(zh-Hans) .close h2{line-height:1.16;letter-spacing:0;font-weight:500}
/* 17ch is a Latin measure; in Han it leaves seven characters a line and breaks mid-phrase. */
:lang(zh-Hans) .sec h2{max-width:none}
:lang(zh-Hans) .sec .body{line-height:1.6}
:lang(zh-Hans) .tile h3{line-height:1.4}
:lang(zh-Hans) .tile p{line-height:1.6}
:lang(zh-Hans) .faq-item summary{line-height:1.4;letter-spacing:0;font-weight:500}
:lang(zh-Hans) .faq-item .a{line-height:1.7}
