:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #8e8e93;
  --warm: #ffd9a8;
  --blue: #9db7ff;
  --glass-bg: rgba(255, 255, 255, .065);
  --glass-line: rgba(255, 255, 255, .15);
  --glass-hi: rgba(255, 255, 255, .22);
  --breathe: 4s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--text); }
a:hover { color: #fff; }
h1, h2, h3 { letter-spacing: -.035em; margin: 0; }
p { margin: 0; }
svg { display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 24px 70px rgba(0, 0, 0, .45);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; font-size: 17px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .2s ease; }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--text); color: #000; }
.btn-light:hover { background: #fff; color: #000; }
.btn-glass { background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-weight: 500; }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 6px 6px 6px 20px; border-radius: 999px; max-width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: #fffaf2; box-shadow: 0 0 10px 2px rgba(255, 244, 228, .7); display: inline-block; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: 14px; color: #c7c7cc; text-decoration: none; }
.nav-links a:hover { color: #fff; }
@media (max-width: 640px) { .nav-links { display: none; } .nav { gap: 16px; } }

/* ---------- light modes ---------- */
.light { transition: opacity .6s ease; }
body[data-mode="on"] .light { opacity: 1; }
body[data-mode="off"] .light { opacity: .03; }
body[data-mode="breathe"] .light { animation: breathe var(--breathe) ease-in-out infinite; }
body[data-mode="strobe"] .light { animation: strobe .8s steps(1) infinite; }
body[data-mode="clap"] .light { animation: strobe 3.6s steps(1) infinite reverse; }
@keyframes breathe { 0%, 100% { opacity: .08; } 50% { opacity: 1; } }
@keyframes strobe { 0% { opacity: 1; } 50% { opacity: .03; } }

/* ---------- the scroll story ---------- */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); max-width: 1320px; margin: 0 auto; padding: 0 32px; gap: 48px; }
.stage-col { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mbp { position: relative; width: 100%; max-width: 680px; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.floor { position: absolute; left: 50%; top: 50%; width: 120%; max-width: 820px; height: 70%; transform: translate(-50%, -38%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 240, 220, .26) 0%, rgba(255, 240, 220, 0) 62%); filter: blur(20px); pointer-events: none; }

.dots { list-style: none; display: flex; gap: 10px; margin: 44px 0 0; padding: 0; }
.dots li { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); transition: width .35s ease, background .35s ease; }
.dots li.on { width: 28px; background: var(--text); }

.steps { position: relative; }
.step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0; }
.step-intro .eyebrow { font-size: 17px; font-weight: 600; color: var(--warm); margin-bottom: 16px; }
.step-intro h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }
.lede { margin-top: 24px; max-width: 480px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; color: var(--muted); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.scroll-hint { margin-top: 64px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--faint); }
.scroll-hint svg { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.card { border-radius: 32px; padding: 28px; max-width: 460px; opacity: .35; transform: translateY(24px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.step.active .card { opacity: 1; transform: none; }
.card h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.03; font-weight: 800; margin-top: 6px; }
.card > p:not(.step-num):not(.warn) { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.step-num { margin-top: 26px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--blue); }

/* glass menu inside each card */
.menu { border-radius: 18px; padding: 6px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.menu-status { padding: 10px 12px 10px; font-size: 13px; color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 4px; }
.mi { font-size: 15px; border-radius: 10px; padding: 0 12px; height: 40px; display: flex; align-items: center; justify-content: space-between; color: #d1d1d6; }
.mi span { color: var(--faint); }
.mi.sel { background: rgba(120, 165, 255, .36); color: #fff; }
.mi.sel span { color: #fff; }
.mi.sub { color: var(--faint); font-size: 13px; padding-left: 24px; }
.speeds { display: flex; gap: 6px; padding: 8px 6px 4px 18px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 13px; font-weight: 500; color: #e5e5ea; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 0 14px; height: 32px; cursor: pointer; }
.chip:hover { background: rgba(255, 255, 255, .16); }
.chip[aria-pressed="true"] { background: rgba(255, 255, 255, .92); color: #000; border-color: transparent; }
.warn { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--warm); }
.warn svg { flex: none; margin-top: 2px; }

/* phones & small tablets: Mac pinned on top, cards scroll beneath */
@media (max-width: 860px) {
  .story { grid-template-columns: minmax(0, 1fr); padding: 0 16px; gap: 0; }
  .stage-col { position: sticky; top: 0; z-index: 2; height: 46vh; }
  .stage { position: relative; height: 46vh; padding-top: 64px; background: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, 0)); }
  .mbp { max-width: 360px; }
  .dots { margin-top: 18px; }
  .step { min-height: 80vh; padding: 48px 0; }
  .step-intro { min-height: auto; padding-top: 24px; }
  .card { max-width: none; }
}

/* ---------- install ---------- */
.install { position: relative; max-width: 1040px; margin: 0 auto; padding: 120px 16px 96px; text-align: center; }
.install::before { content: ""; position: absolute; left: 50%; top: 60px; width: 760px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 214, 170, .16), rgba(0, 0, 0, 0) 65%); pointer-events: none; }
.section-title { position: relative; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.03; font-weight: 800; }
.section-sub { position: relative; margin: 20px auto 0; max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.oneliner { position: relative; margin: 40px auto 0; max-width: 760px; display: flex; align-items: center; gap: 12px; border-radius: 22px; padding: 12px 12px 12px 22px; text-align: left; }
.oneliner code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 15px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: #fff; }
.tiny { position: relative; margin-top: 14px; font-size: 14px; color: var(--faint); }
.install-grid { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
@media (max-width: 800px) { .install-grid { grid-template-columns: minmax(0, 1fr); } }
.tile { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.tile h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.tile p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.tile ol { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.65; color: #d1d1d6; }
.tile ol li + li { margin-top: 6px; }
.code { display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px 10px 10px 16px; }
.code code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: #e5e5ea; }
.copy { flex: none; font: inherit; font-size: 14px; font-weight: 600; color: #000; background: var(--text); border: 0; border-radius: 999px; height: 36px; padding: 0 18px; cursor: pointer; }
.copy:hover { background: #fff; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 40px 16px 64px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.8; color: var(--faint); }
.footer a { color: #c7c7cc; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .light, .scroll-hint svg { animation: none !important; }
  body[data-mode="breathe"] .light, body[data-mode="strobe"] .light, body[data-mode="clap"] .light { opacity: .8; }
  .card { transition: none; transform: none; }
}

/* ---------- SEO-driven additions ---------- */
.step-intro h1.eyebrow { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--warm); margin-bottom: 16px; max-width: 420px; }
.hero-title { font-size: clamp(48px, 6.4vw, 92px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }

.faq { position: relative; max-width: 820px; margin: 0 auto; padding: 40px 16px 96px; }
.faq .section-title { text-align: center; margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 20px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- article pages ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 140px 16px 80px; }
.article .crumbs { font-size: 14px; color: var(--faint); margin-bottom: 24px; }
.article .crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 800; }
.article .standfirst { margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.article h2 { margin-top: 56px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.article h3 { margin-top: 32px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.article p, .article li { font-size: 17px; line-height: 1.7; color: #d1d1d6; }
.article p { margin-top: 16px; }
.article ol, .article ul { margin: 16px 0 0; padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article .code { margin-top: 16px; }
.article .callout { margin-top: 28px; border-radius: 24px; padding: 26px 28px; }
.article .callout h2 { margin-top: 0; font-size: 24px; }
.article .callout .cta-row { margin-top: 18px; }
.article .note { font-size: 15px; color: var(--faint); }

/* ---------- 3D MacBook ---------- */
.mbp3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage.has-3d .mbp, .stage.has-3d .floor { display: none; }
.stage.has-3d .dots { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); margin: 0; z-index: 1; }
@media (max-width: 860px) { .stage.has-3d .dots { bottom: 12px; } }

/* =========================================================
   Full-screen 3D backdrop + liquid-glass UI floating on top
   ========================================================= */
.story { display: block; max-width: none; padding: 0; }
.stage-col { position: fixed; inset: 0; z-index: 0; height: auto; }
.stage { position: absolute; inset: 0; height: 100%; padding: 0; background: none; }
.stage .mbp { max-width: 720px; }
.stage.has-3d .dots { bottom: 32px; }

.steps { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; align-items: flex-end; }
.step { width: min(480px, 100%); }
main > section:not(.story), .footer { position: relative; z-index: 1; }

/* liquid glass: deep blur + colour lift, a lit edge, an inner sheen */
.glass, .liquid {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .03) 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .35),
    inset -1px -1px 0 rgba(255, 255, 255, .06),
    inset 0 0 24px rgba(255, 255, 255, .05),
    0 30px 80px rgba(0, 0, 0, .45);
  backdrop-filter: blur(26px) saturate(190%) brightness(1.08);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.08);
}
.glass::before, .liquid::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%);
}
.card-intro { max-width: 520px; padding: 36px; }
.card-intro .hero-title { font-size: clamp(44px, 5.2vw, 76px); }
.card-intro .scroll-hint { margin-top: 36px; }
.step .card { opacity: .55; }
.step.active .card { opacity: 1; }
.menu { background: rgba(0, 0, 0, .22); }

/* install + FAQ become floating glass panels over the Mac */
.install.liquid, .faq.liquid { max-width: 1040px; margin: 120px auto 0; border-radius: 40px; padding: 72px 40px; }
.faq.liquid { max-width: 860px; margin-top: 40px; margin-bottom: 80px; }
.install::before { background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 55%); width: auto; height: auto; left: 0; top: 0; transform: none; border-radius: inherit; }
.install .tile, .install .oneliner { background: rgba(0, 0, 0, .25); }
.footer { background: rgba(0, 0, 0, .55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

@media (max-width: 860px) {
  .steps { padding: 0 16px; align-items: stretch; }
  .step { width: 100%; justify-content: flex-end; min-height: 100vh; padding: 0 0 48px; }
  .step-intro { min-height: 100vh; padding-top: 0; }
  .card-intro { padding: 24px; }
  .stage-col { height: auto; }
  .stage { padding-top: 0; }
  .stage.has-3d .dots { top: 76px; bottom: auto; }
  .install.liquid, .faq.liquid { margin-left: 12px; margin-right: 12px; padding: 48px 20px; border-radius: 28px; }
}

/* ---------- intro card: hierarchy fix ---------- */
.step .card.card-intro { max-width: 560px; padding: 40px 40px 36px; }
.step .card.card-intro > h1.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 7px 14px 7px 12px; max-width: 100%;
  font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .01em; color: var(--warm);
  background: rgba(255, 214, 170, .08); border: 1px solid rgba(255, 214, 170, .22); border-radius: 999px;
}
.step .card.card-intro > h1.eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: #fffaf2; box-shadow: 0 0 8px 2px rgba(255, 236, 210, .8);
}
.step .card.card-intro > p.hero-title {
  margin: 0; font-size: clamp(46px, 5.4vw, 78px); line-height: .98; font-weight: 800;
  letter-spacing: -.045em; color: var(--text);
}
.step .card.card-intro > p.lede { margin-top: 20px; max-width: 460px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.step .card.card-intro .cta-row { margin-top: 30px; }
.step .card.card-intro .scroll-hint { margin-top: 28px; }
@media (max-width: 860px) {
  .step .card.card-intro { padding: 26px 24px 24px; }
  .step .card.card-intro > p.lede { font-size: 16px; }
}

/* =========================================================
   One morphing liquid-glass panel (replaces the card stack)
   ========================================================= */
.steps { display: block; max-width: none; padding: 0; pointer-events: none; }
.steps .step { min-height: 0; height: 100vh; padding: 0; width: auto; }
.steps .step:first-child { height: 110vh; }

.panel {
  --spring: cubic-bezier(.22, 1.2, .36, 1);
  position: fixed; z-index: 10; top: 50%;
  right: max(40px, calc((100vw - 1360px) / 2 + 40px));
  width: 440px; max-width: calc(100vw - 32px);
  transform: translateY(-50%);
  border-radius: 34px; padding: 32px;
  transition: opacity .5s ease, transform .6s var(--spring), filter .5s ease;
}
body[data-section="install"] .panel { opacity: 0; transform: translateY(-46%) scale(.96); filter: blur(8px); pointer-events: none; }

/* copy: stacked, active one fades + un-blurs in; container height animates */
.panel-copy { position: relative; transition: height .55s var(--spring); }
.pc { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(14px); filter: blur(8px); pointer-events: none;
      transition: opacity .45s ease, transform .55s var(--spring), filter .45s ease; }
.pc.on { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: .08s; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 7px 14px 7px 12px;
  font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .01em; color: var(--warm);
  background: rgba(255, 214, 170, .08); border: 1px solid rgba(255, 214, 170, .22); border-radius: 999px;
}
.eyebrow-pill::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fffaf2; box-shadow: 0 0 8px 2px rgba(255, 236, 210, .8); }
.panel .hero-title { margin: 0; font-size: clamp(44px, 4.6vw, 68px); line-height: .98; font-weight: 800; letter-spacing: -.045em; color: var(--text); }
.panel h2 { margin: 6px 0 0; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.pc-num { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.pc-body { margin-top: 14px; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.panel .cta-row { margin-top: 26px; }

/* menu: collapsed in the intro, springs open once you scroll */
.panel-menu { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .6s var(--spring), opacity .4s ease, margin-top .6s var(--spring); }
.panel.menu-open .panel-menu { grid-template-rows: 1fr; opacity: 1; margin-top: 26px; }
.panel-menu-inner { overflow: hidden; min-height: 0; border-radius: 20px; background: rgba(0, 0, 0, .26); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.menu-status { display: flex; align-items: center; gap: 9px; padding: 12px 16px; font-size: 13px; color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, .08); }
#status-text { transition: opacity .16s ease, transform .16s ease; }
#status-text.swap { opacity: 0; transform: translateY(-4px); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #fffaf2; box-shadow: 0 0 8px 2px rgba(255, 236, 210, .7); transition: opacity .4s; }
body[data-mode="off"] .status-dot { opacity: .15; box-shadow: none; }
body[data-mode="breathe"] .status-dot { animation: breathe var(--breathe) ease-in-out infinite; }
body[data-mode="strobe"] .status-dot { animation: strobe .8s steps(1) infinite; }
body[data-mode="clap"] .status-dot { animation: strobe 3.6s steps(1) infinite reverse; }

.rows { position: relative; padding: 6px; }
.sel-pill { position: absolute; left: 6px; right: 6px; top: 0; height: 40px; border-radius: 12px; opacity: 0;
            background: linear-gradient(180deg, rgba(130, 170, 255, .5), rgba(100, 145, 255, .38));
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 18px rgba(80, 120, 255, .25);
            transition: transform .55s var(--spring), height .55s var(--spring), opacity .3s ease; }
.row { position: relative; z-index: 1; width: 100%; height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between;
       font: inherit; font-size: 15px; color: #d1d1d6; background: transparent; border: 0; border-radius: 12px; cursor: pointer; text-align: left; transition: color .3s; }
.row:hover { color: #fff; }
.row.sel { color: #fff; }
.row span { color: var(--faint); transition: color .3s; }
.row.sel span { color: #fff; }

.reveal-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--spring), opacity .35s ease; }
.reveal-wrap.open { grid-template-rows: 1fr; opacity: 1; }
.reveal-inner { overflow: hidden; min-height: 0; }
.panel .speeds { display: flex; gap: 6px; padding: 6px 6px 8px 18px; flex-wrap: wrap; }
.panel .warn { margin: 0; padding: 6px 12px 10px 18px; display: flex; gap: 9px; font-size: 13px; line-height: 1.45; color: var(--warm); }
.panel .warn svg { flex: none; margin-top: 2px; }

.panel-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.progress { display: flex; gap: 6px; flex: 1; }
.progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--spring); }
.progress i.on::after { transform: scaleX(1); }
.panel-hint { font-size: 12.5px; color: var(--faint); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* phones: the panel becomes a floating bottom sheet, Mac framed above it */
@media (max-width: 860px) {
  .panel { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; max-width: none; transform: none; padding: 22px; border-radius: 28px; }
  body[data-section="install"] .panel { transform: translateY(30px) scale(.97); }
  .panel .hero-title { font-size: 40px; }
  .panel h2 { font-size: 30px; }
  .pc-body { font-size: 15px; }
  .panel.menu-open .panel-menu { margin-top: 16px; }
  .row { height: 38px; }
  .menu-status { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel, .pc, .panel-copy, .panel-menu, .reveal-wrap, .sel-pill, .progress i::after, #status-text { transition: none !important; }
  .status-dot { animation: none !important; }
}

/* pill label: always one line */
.eyebrow-pill { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .eyebrow-pill { font-size: 12px; padding: 6px 12px 6px 10px; } }

/* simpler: no glowing dots on the label or the wordmark */
.eyebrow-pill { padding: 7px 14px; }
.eyebrow-pill::before { content: none; }
.brand { gap: 0; }
.brand .brand-dot { display: none; }

/* panel leaves with the end of the story (no overlap with install) */
.panel { --lift: 0px; transform: translateY(calc(-50% - var(--lift))); transition: opacity .5s ease, filter .5s ease; }
body[data-section="install"] .panel { opacity: 1; filter: none; transform: translateY(calc(-50% - var(--lift))); pointer-events: auto; }
@media (max-width: 860px) {
  .panel, body[data-section="install"] .panel { transform: translateY(calc(-1 * var(--lift))); }
}
.install.liquid { margin-top: 160px; }

/* native macOS menu look: system font, flat accent-blue highlight */
.panel-menu-inner, .panel-menu-inner button { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif; }
.rows { padding: 5px; }
.sel-pill { left: 5px; right: 5px; border-radius: 7px; background: #0a84ff; box-shadow: none; }
.row { height: 34px; padding: 0 11px; border-radius: 7px; font-size: 14px; letter-spacing: 0; color: #e5e5ea; }
.row span { color: #8e8e93; font-size: 15px; }
.row.sel, .row.sel span { color: #fff; }
.menu-status { font-size: 12.5px; padding: 10px 16px; }
@media (max-width: 860px) { .row { height: 32px; } }
.menu-status { gap: 0; }

/* concentric corners: inner radius = outer radius - inset (13 - 5 = 8) */
.panel-menu-inner { border-radius: 13px; }
.rows { padding: 5px; }
.sel-pill { left: 5px; right: 5px; border-radius: 8px; }
.row { border-radius: 8px; }

/* ---------- film grain over the whole page ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 -0.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: .07;
  mix-blend-mode: overlay;
}
@media (min-resolution: 2dppx) { body::after { background-size: 160px 160px; opacity: .085; } }

/* ---------- compatibility ---------- */
.compat.liquid { max-width: 1040px; margin: 40px auto 0; border-radius: 40px; padding: 72px 40px; text-align: center; }
.compat .section-title { font-size: clamp(32px, 4.4vw, 56px); max-width: 820px; margin: 0 auto; }
.compat .tile { background: rgba(0, 0, 0, .25); }
.tile ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.65; color: #d1d1d6; }
.tile ul li + li { margin-top: 6px; }
.tiny a, .section-sub a { color: #c7c7cc; }
@media (max-width: 860px) { .compat.liquid { margin-left: 12px; margin-right: 12px; padding: 48px 20px; border-radius: 28px; } }
.article table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 16px; line-height: 1.5; color: #d1d1d6; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.article th { color: var(--text); font-weight: 600; }
.article .table-wrap { overflow-x: auto; }
