/* Emulator Studio, on Evonex Prism.
   Every theme colour lives in prism-tokens.css (OBSIDIAN dark on bare :root, CRYSTAL light under the guarded
   blocks); this sheet adds the site's own few tokens and all of its layout. Components inside #site answer
   to the site's width through container queries, so the Galaxy S25 Ultra preview (a 412 px frame) shows the
   real phone layout. Things that sit outside #site (the phone bar, the sheets) use media queries. */

/* Layout: the studio's own console as the hero, then Emulators, Studio, Plan and Remote as cut-glass panels over a
   deep spectral ground; phones get one column, a bottom bar and sheets instead of a nav. */
:root {
  --bw: 0px;
  --maxw: 1200px;
  --inset-top: env(safe-area-inset-top, 0px);
  --inset-bottom: env(safe-area-inset-bottom, 0px);
  --glint: rgba(255, 255, 255, .07);
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --glint: rgba(255, 255, 255, .6); } }
:root[data-theme="light"] { --glint: rgba(255, 255, 255, .6); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--frame1); scrollbar-color: var(--line-2) transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--frame1); color: var(--ink); font: 400 1rem/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--inset-top); z-index: 60; background: var(--band); pointer-events: none; }
::selection { background: var(--acc-soft); }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
code { font-family: var(--f-xy); font-size: .875em; background: var(--well); padding: 2px 5px; border-radius: var(--r-tag); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 90; padding: 10px 14px; background: var(--pop1); color: var(--ink); border-radius: var(--r-ctl); text-decoration: none; }
.skip:focus { top: calc(var(--inset-top) + 10px); }

/* ---- the ground ---- */
#frame { position: relative; isolation: isolate; }
#atmo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(78% 62% at var(--lx, 62%) var(--ly, 6%), var(--pool-a), transparent 72%),
    radial-gradient(52% 44% at calc(var(--lx, 62%) + 36%) calc(var(--ly, 6%) + 16%), var(--pool-b), transparent 70%),
    radial-gradient(64% 54% at calc(var(--lx, 62%) - 54%) calc(var(--ly, 6%) + 72%), var(--pool-c), transparent 72%),
    linear-gradient(124deg, transparent 4%, var(--fan-a) 11%, transparent 18%, var(--fan-b) 25%, transparent 32%, var(--fan-c) 38%, transparent 45%),
    radial-gradient(135% 105% at 50% 32%, transparent 50%, var(--frame2) 100%),
    linear-gradient(var(--frame1), var(--frame2));
}
#site { container: site / inline-size; position: relative; min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1; outline: none; }
.wrap {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@container site (min-width: 761px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
@container site (max-width: 760px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
}

/* ---- marks and icons (the mark's parts live in a <symbol>: no ancestor selectors) ---- */
.sp0 { stop-color: var(--spec-0); } .sp1 { stop-color: var(--spec-1); } .sp2 { stop-color: var(--spec-2); } .sp3 { stop-color: var(--spec-3); }
.tl0 { stop-color: var(--mk-t0); } .tl1 { stop-color: var(--mk-t1); }
.rm0 { stop-color: var(--mk-r0); } .rm1 { stop-color: var(--mk-r1); } .rm2 { stop-color: var(--mk-r2); }
.mark { display: block; flex: none; overflow: visible; }
.mk-tile { fill: url(#es-tile); stroke: url(#es-rim); stroke-width: 1; }
.mk-glint { fill: none; stroke: url(#es-spec); stroke-width: 1.6; stroke-linecap: round; }
.mk-cell { fill: none; stroke: var(--mk-ring); stroke-width: 1.2; }
.mk-live { fill: url(#es-spec); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: var(--ic-w); stroke-linecap: var(--ic-cap); stroke-linejoin: var(--ic-join); }
.ico.ext { width: 13px; height: 13px; opacity: .7; }

/* ---- the facet: panels cut at the top-left and bottom-right ---- */
.glass { position: relative; isolation: isolate; }
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: var(--cutp); border: 1px solid transparent; border-image: var(--facet-panel) 13 / 13px stretch;
  background: linear-gradient(var(--sheen), transparent 2.75rem), linear-gradient(var(--glass1), var(--glass2));
  -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
}
.glass.pop::before { border-image-source: var(--facet-pop); background: linear-gradient(var(--sheen), transparent 2.75rem), linear-gradient(var(--pop1), var(--pop2)); }

/* ---- the facet: controls, an octagon cut on every corner ---- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border: 0; background: transparent; color: var(--ink);
  font: 600 .9375rem/1 var(--f-ui); text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: var(--oct); border: 1px solid transparent; border-image: var(--facet-ctl) 6 / 6px stretch;
  background: linear-gradient(var(--ctl1), var(--ctl2));
}
.btn:hover::before { background: linear-gradient(var(--ctl-h1), var(--ctl-h2)); }
.btn:active::before { filter: brightness(.92); }
.btn:focus-visible { outline: 2px solid transparent; }
.btn:focus-visible::before { box-shadow: inset 0 0 0 2px var(--focus); }
.btn.pri { color: var(--on-acc); }
.btn.pri::before { border-image-source: var(--facet-pri); background: var(--pri); }
.btn.pri:hover::before { background: var(--pri-h); }
.btn.pri:focus-visible::before { box-shadow: inset 0 0 0 2px var(--on-acc); }
.btn.ghost::before { background: transparent; border-image: none; }
.btn.ghost:hover::before { background: var(--well-2); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.btn.sq { width: 40px; min-height: 40px; padding: 0; }
.btn.sq.sm { width: 34px; min-height: 34px; }
[data-theme-toggle] .i-moon { display: none; }
:root[data-theme="light"] [data-theme-toggle] .i-sun { display: none; }
:root[data-theme="light"] [data-theme-toggle] .i-moon { display: block; }

/* ---- type ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: var(--lab-fw) .75rem/1.2 var(--f-lab); letter-spacing: var(--lab-ls); text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--spec-line); flex: none; }
.display { font-family: var(--f-dsp); font-weight: 700; font-size: clamp(2.625rem, 6.3cqi, 4.75rem); line-height: 1.02; letter-spacing: -.03em; }
.display.sm { font-size: clamp(2.25rem, 5cqi, 3.75rem); }
.spec { background: var(--spec-line); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-family: var(--f-dsp); font-weight: 700; font-size: clamp(1.875rem, 4cqi, 2.875rem); line-height: 1.06; letter-spacing: -.024em; }
.h3, h3 { font-family: var(--f-dsp); font-weight: 650; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 35em; }
.copy { color: var(--ink-2); max-width: 38em; }
.lab { font: 500 .6875rem/1.2 var(--f-lab); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tag { font: 500 .6875rem/1 var(--f-lab); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 5px 7px; border-radius: var(--r-tag); background: var(--well); white-space: nowrap; }
.fine { font-size: .8125rem; line-height: 1.5; color: var(--ink-3); }
@container site (max-width: 760px) { .lead { font-size: 1.0625rem; } }

/* state gems: one shape per state, nothing breathes */
.gem { width: 10px; height: 10px; display: inline-block; flex: none; border-radius: 50%; }
.gem.run { box-shadow: inset 0 0 0 1.5px var(--good-text); background: radial-gradient(circle, var(--good-text) 0 2.4px, transparent 2.9px); }
.gem.done { background: var(--good-text); }
.gem.wait { box-shadow: inset 0 0 0 1.5px var(--busy-text); }
.gem.pause { width: 8px; border-radius: 0; background: linear-gradient(90deg, var(--ink-3) 0 34%, transparent 34% 66%, var(--ink-3) 66%); }
.gem.start { box-shadow: inset 0 0 0 1.5px var(--busy-text); background: linear-gradient(90deg, var(--busy-text) 50%, transparent 50%); }
.gem.stop { width: 8px; height: 8px; border-radius: 1px; background: var(--ink-3); }

/* ---- header ---- */
.top {
  position: sticky; top: var(--inset-top); z-index: 30;
  background: var(--band); border-bottom: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.125rem/1 var(--f-dsp); letter-spacing: -.015em; white-space: nowrap; }
.brand .mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 10px 12px; border-radius: var(--r-ctl); color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--well); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--spec-line); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-menu { display: none; }
@container site (max-width: 760px) {
  .top-in { min-height: 58px; gap: 12px; }
  .nav, .top-dl, .top-act .ghost { display: none; }
  .top-menu { display: inline-flex; }
}

/* ---- calls to action: a phone can't install a Windows app, so it gets "Get it on your PC" ---- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-m { display: none; }
@container site (max-width: 760px) {
  .cta-d { display: none; }
  .cta-m { display: flex; }
  button.cta-m, a.cta-m { display: inline-flex; }
  .cta .btn { flex: 1 1 auto; }
}

/* ---- hero ---- */
.hero { padding-block: 64px 56px; }
.hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.meta-line { font: 500 .75rem/1.6 var(--f-lab); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@container site (max-width: 1080px) { .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@container site (max-width: 760px) {
  .hero { padding-block: 28px 20px; }
  .hero-in { gap: 28px; }
  .hero-copy { gap: 18px; }
  .hero-copy .cta { width: 100%; }
}

/* the console: the studio's own instance list beside one task's step trace, as an example */
.con { min-width: 0; --mx: 30%; --my: 0%; }
.con::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: var(--cutp);
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--glint), transparent 60%);
}
.con-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--hair); }
.con-bar .mark { width: 20px; height: 20px; }
.con-ttl { font: 700 .9375rem/1 var(--f-dsp); letter-spacing: -.01em; }
.con-ctl { margin-left: auto; display: inline-flex; gap: 6px; }
.con .i-play { display: none; }
.con.paused .i-play { display: block; }
.con.paused .i-pause { display: none; }
.con-body { display: grid; grid-template-columns: minmax(0, 196px) minmax(0, 1fr); }
.fleet { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-right: 1px solid var(--hair); }
.fleet li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n e" "n s"; column-gap: 10px; row-gap: 4px; padding: 8px 10px; border-radius: var(--r-chip); }
.f-n { grid-area: n; align-self: center; width: 30px; height: 22px; display: grid; place-items: center; clip-path: var(--oct-s); background: var(--well-2); font: 500 .75rem/1 var(--f-xy); color: var(--ink-2); }
.f-e { grid-area: e; min-width: 0; font: 600 .8125rem/1.2 var(--f-xy); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-s { grid-area: s; display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; line-height: 1.2; color: var(--ink-3); }
.fleet li.sel { background: var(--well); }
.fleet li.sel .f-n { background: var(--pri); color: var(--on-acc); }
.run { display: flex; flex-direction: column; min-width: 0; padding: 12px; }
.run-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 4px 10px 12px; }
.run-who { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.run-who b { font: 700 1rem/1.1 var(--f-dsp); letter-spacing: -.01em; }
.run-who span { font: 500 .75rem/1.2 var(--f-xy); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-pos { font: 500 .6875rem/1 var(--f-lab); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.trace { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.trace li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-chip); }
.trace .n { width: 30px; height: 22px; display: grid; place-items: center; clip-path: var(--oct-s); background: var(--well-2); font: 500 .75rem/1 var(--f-xy); color: var(--ink-3); }
.trace .k { min-width: 0; font-size: .9375rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trace .r { font: 500 .8125rem/1 var(--f-xy); color: var(--ink-3); white-space: nowrap; visibility: hidden; }
.trace li.done .n { color: var(--good-text); }
.trace li.done .k, .trace li.done .r { color: var(--ink-2); }
.trace li.done .r, .trace li.on .r { visibility: visible; }
.trace li.on { background: var(--well); }
.trace li.on .n { background: var(--pri); color: var(--on-acc); }
.trace li.on .k { color: var(--ink); font-weight: 600; }
.trace li.on .r { color: var(--acc-text); animation: es-in .3s var(--ease) both; }
@keyframes es-in { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.con-say { display: flex; gap: 12px; align-items: baseline; padding: 13px 18px 15px; border-top: 1px solid var(--hair); font-size: .9375rem; color: var(--ink); min-height: 50px; }
.con-say time { font: 500 .75rem/1 var(--f-xy); color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none; }
@container site (max-width: 560px) {
  .con-bar .tag { display: none; }
  .con-body { grid-template-columns: minmax(0, 1fr); }
  .fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .fleet li { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n e s"; align-items: center; padding: 6px 8px; }
  /* the gem alone on a phone; the words stay for screen readers */
  .f-s span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .run { padding: 8px; }
  .run-h { padding: 6px 8px 10px; }
  .trace li { gap: 10px; padding: 8px; }
  .trace .k { font-size: .875rem; }
  .trace .r { font-size: .75rem; }
  .con-say { padding: 12px 16px 14px; font-size: .875rem; }
}

/* ---- sections ---- */
.sec { padding-block: 88px; scroll-margin-top: calc(var(--inset-top) + 64px); }
.sec.tight { padding-block: 40px 72px; }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 44rem; margin-bottom: 40px; }
@container site (max-width: 760px) {
  .sec { padding-block: 56px; }
  .sec.tight { padding-block: 24px 48px; }
  .sec-head { gap: 12px; margin-bottom: 26px; }
}

/* page heads on the inner pages */
.phead { padding-block: 72px 24px; }
.phead .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.phead .wrap.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 48px; }
@container site (max-width: 860px) { .phead .wrap.dl { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@container site (max-width: 760px) { .phead { padding-block: 36px 12px; } }

/* build: the step palette */
.pal { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; }
.pal-main { display: flex; flex-direction: column; gap: 18px; padding: 20px; min-width: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--well); clip-path: var(--oct); align-self: flex-start; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--ink-2); font: 600 .875rem/1 var(--f-ui); padding: 10px 14px; cursor: pointer; clip-path: var(--oct-s); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--pri); color: var(--on-acc); }
.seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.seg .ico { width: 16px; height: 16px; }
.pane { display: flex; flex-direction: column; gap: 14px; }
.pane-note { color: var(--ink-2); font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--hair); background: var(--well); color: var(--ink); font: 500 .8125rem/1.2 var(--f-ui); padding: 8px 10px; border-radius: var(--r-chip); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip:hover { background: var(--well-2); }
.chip[aria-pressed="true"] { border-color: var(--acc-line); background: var(--acc-soft); }
.pal-detail { display: flex; flex-direction: column; gap: 12px; padding: 24px; min-width: 0; }
.pd-name { font: 600 1.0625rem/1.3 var(--f-xy); letter-spacing: 0; }
.pd-desc { color: var(--ink-2); }
.pd-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); font-size: .875rem; color: var(--ink-3); }
@container site (max-width: 900px) { .pal { grid-template-columns: minmax(0, 1fr); } .pal-detail { order: -1; } }
@container site (max-width: 760px) {
  .pal-main { padding: 16px; }
  .pal-tabs { align-self: stretch; flex-wrap: nowrap; }
  .pal-tabs button { flex: 1; padding: 11px 4px; gap: 6px; }
  .pal-detail { padding: 18px; }
  .pd-foot { margin-top: 4px; }
}

/* plan */
.plan { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 16px; align-items: start; }
.plan-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.prow { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .6fr) minmax(0, .8fr); align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--hair); }
.prow:last-child { border-bottom: 0; }
.prow.head { padding-block: 12px; font: 500 .6875rem/1 var(--f-lab); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.prow.is-next { background: var(--acc-soft); }
.p-name { font-weight: 600; min-width: 0; }
.p-lim { color: var(--ink-2); font-size: .9375rem; }
.p-now { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9375rem; }
.days { display: inline-flex; gap: 4px; }
.days i { width: 20px; height: 20px; display: grid; place-items: center; font: 600 .625rem/1 var(--f-xy); font-style: normal; clip-path: var(--oct-s); background: var(--well); color: var(--ink-3); }
.days i.on { background: var(--acc-soft); color: var(--acc-text); }
.next-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.next-big { font-size: 1.125rem; color: var(--ink-2); }
.next-big b { color: var(--ink); font-family: var(--f-dsp); font-size: 1.5rem; display: block; letter-spacing: -.015em; }
.why { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.why .ico { color: var(--good-text); margin-top: 3px; }
.next-foot { padding-top: 14px; border-top: 1px solid var(--hair); font-size: .875rem; color: var(--ink-2); }
@container site (max-width: 960px) { .plan { grid-template-columns: minmax(0, 1fr); } }
@container site (max-width: 760px) {
  .prow.head { display: none; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
  .prow .days { grid-column: 1 / -1; grid-row: 2; }
  .prow .p-lim { grid-column: 2; grid-row: 1; font-size: .8125rem; }
  .prow .p-now { grid-column: 1 / -1; grid-row: 3; font-size: .875rem; }
  .plan-h { padding: 14px 16px; }
}

/* emulators: the copy beside the ports table, then the stats */
.emu { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.emu-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.emu-copy .ticks { margin-top: 8px; }
.ports { min-width: 0; }
.ports-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.prt { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.55fr); gap: 16px; align-items: baseline; padding: 14px 20px; border-bottom: 1px solid var(--hair); }
.prt:last-child { border-bottom: 0; }
.prt.head { padding-block: 12px; font: 500 .6875rem/1 var(--f-lab); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.prt-e { font-weight: 600; }
.prt-p { font: 500 .8125rem/1.4 var(--f-xy); color: var(--acc-text); }
.prt-w { color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
@container site (max-width: 960px) { .emu { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@container site (max-width: 560px) {
  .ports-h { padding: 14px 16px; }
  .ports-h .tag { display: none; }
  .prt.head { display: none; }
  .prt { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; }
  .prt-w { grid-column: 1 / -1; }
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
.stat b { font: 700 2.25rem/1 var(--f-dsp); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: .9375rem; line-height: 1.4; }
@container site (max-width: 1080px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container site (max-width: 760px) { .stats { gap: 10px; margin-top: 28px; } .stat { padding: 16px; } .stat b { font-size: 1.75rem; } .stat span { font-size: .8125rem; } }

/* oversee */
.ovr { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.phone { padding: 12px; border-radius: 40px; background: linear-gradient(160deg, var(--bg-4), var(--bg-2)); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.phone-screen { min-height: 420px; }
.phone-screen::before { clip-path: none; border-image: none; border-radius: 28px; }
.rm-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.rm-h b { font: 700 1.125rem/1 var(--f-dsp); }
.rm-rows { list-style: none; display: flex; flex-direction: column; padding: 0 10px; }
.rm-rows li { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-top: 1px solid var(--hair); }
.rm-n { flex: 1; min-width: 0; font: 600 .875rem/1.3 var(--f-xy); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rm-s { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; color: var(--ink-2); min-width: 4.8rem; }
.rm-foot { padding: 14px 20px 20px; font-size: .875rem; color: var(--ink-2); }
.feed-card { min-width: 0; }
.feed { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 6px 20px 22px; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; color: var(--ink-2); }
.feed time { font: 500 .8125rem/1.6 var(--f-xy); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.feed b { color: var(--ink); font-weight: 600; }
@container site (max-width: 860px) {
  .ovr { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .phone { padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .phone-screen { min-height: 0; }
  .phone-screen::before { clip-path: var(--cutp); border-image: var(--facet-pop) 13 / 13px stretch; border-radius: 0; }
}
@container site (max-width: 760px) { .feed { padding: 4px 16px 18px; gap: 10px; } .feed li { font-size: .9375rem; gap: 12px; } }

/* pricing band */
.pband { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding: 36px 40px; }
.pband-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@container site (max-width: 760px) {
  .pband { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; }
  .pband .btn { justify-self: stretch; }
}

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 52rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.25rem/1 var(--f-xy); color: var(--ink-3); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.faq .ans { padding: 0 22px 20px; color: var(--ink-2); max-width: 44rem; }
@container site (max-width: 760px) { .faq summary { padding: 16px 18px; } .faq .ans { padding: 0 18px 18px; } }

/* tick lists */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.ticks .ico { margin-top: 4px; color: var(--acc-text); }

/* pricing, download */
.price-grid, .two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.beta-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; }
.beta-price b { font: 700 3.5rem/1 var(--f-dsp); letter-spacing: -.03em; }
.how, .setup { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.nsteps { list-style: none; counter-reset: ns; display: flex; flex-direction: column; gap: 14px; }
.nsteps li { counter-increment: ns; position: relative; padding-left: 44px; color: var(--ink-2); }
.nsteps li::before { content: counter(ns, decimal-leading-zero); position: absolute; left: 0; top: 1px; width: 30px; height: 22px; display: grid; place-items: center; clip-path: var(--oct-s); background: var(--well-2); font: 500 .75rem/1 var(--f-xy); color: var(--ink-2); }
.nsteps b { color: var(--ink); }
.dl-card { display: flex; flex-direction: column; gap: 18px; padding: 26px; }
.dl-v { display: flex; flex-direction: column; gap: 6px; }
.dl-v b { font: 700 2.75rem/1 var(--f-dsp); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-specs { display: flex; flex-direction: column; gap: 8px; }
.dl-specs > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; font-size: .875rem; }
.dl-specs > div[hidden] { display: none; }
.dl-specs dt { color: var(--ink-3); }
.dl-specs dd { color: var(--ink); min-width: 0; }
.dl-specs .sha { font: 500 .75rem/1.5 var(--f-xy); overflow-wrap: anywhere; color: var(--ink-2); }
.dl-card .btn { align-self: stretch; }
@container site (max-width: 860px) { .price-grid, .two { grid-template-columns: minmax(0, 1fr); } }
@container site (max-width: 760px) { .beta-card, .how, .setup, .dl-card { padding: 20px; } .beta-card .btn { align-self: stretch; } }
.nf .cta { margin-top: 8px; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--hair); padding-block: 40px 44px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-cols { display: flex; gap: 48px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: .9375rem; }
.foot-col .lab { margin-bottom: 2px; }
.foot-col a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--hair); }
@container site (max-width: 760px) {
  .foot { padding-block: 32px 104px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { gap: 28px; flex-wrap: wrap; }
}

/* ---- phone furniture: the bottom bar and the sheets (outside #site, so media queries) ---- */
.mbar {
  display: none; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; align-items: center; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + var(--inset-bottom)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--band); border-top: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
}
.mbar-txt { flex: 1; min-width: 0; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); }
.mbar-txt b { display: block; color: var(--ink); font-size: .875rem; font-weight: 600; }
@media (max-width: 760px) { .mbar { display: flex; } }
.scrim { position: fixed; inset: 0; z-index: 70; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease); }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 75; left: 0; right: 0; bottom: 0; max-height: 88%; overflow: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 16px;
  padding: 10px max(20px, env(safe-area-inset-right, 0px)) calc(20px + var(--inset-bottom)) max(20px, env(safe-area-inset-left, 0px));
  background: linear-gradient(var(--pop1), var(--pop2)); border-top: 1px solid var(--line-2);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  transform: translateY(104%); transition: transform .3s var(--ease);
  -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
}
.sheet.on { transform: none; }
.sheet-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); align-self: center; margin-bottom: 4px; }
.sheet-nav { display: flex; flex-direction: column; }
.sheet-nav a { display: flex; align-items: center; gap: 8px; padding: 14px 4px; border-bottom: 1px solid var(--hair); color: var(--ink); text-decoration: none; font: 600 1.125rem/1.2 var(--f-dsp); }
.sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.sheet-x { align-self: stretch; }
.sheet-title { font: 700 1.375rem/1.2 var(--f-dsp); letter-spacing: -.015em; }
.copy-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: var(--r-ctl); background: var(--well); }
.copy-url { flex: 1; min-width: 0; overflow-wrap: anywhere; background: none; padding: 0; font-size: .875rem; color: var(--ink); }
@media (min-width: 761px) { .sheet { left: 50%; right: auto; width: 460px; margin-left: -230px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
