/* Cutaway site. "Light as material": quiet surfaces, hairlines, colour only as light. Tokens mirror Theme.swift. */
:root {
  color-scheme: light;
  --bg: #F6F6F9; --side: #E8E8ED; --panel: rgba(255,255,255,.72); --raised: #fff; --raised-hi: rgba(0,0,0,.065);
  --sep: rgba(0,0,0,.08); --line: rgba(0,0,0,.14); --hover: rgba(0,0,0,.05);
  --text: #0B0C10; --inv: #fff; --sec: #555B6B; --ter: #8A90A0;
  --ok: #16905A; --accent: #3F63F5; --on-accent: #fff;
  --video: #3F6FFF; --audio: #8A5CF0; --image: #E0457B;
  --shadow: rgba(20,24,50,.28); --shadow2: rgba(20,24,50,.12);
  --m1: rgba(158,184,255,.55); --m2: rgba(205,173,255,.5); --m3: rgba(168,229,255,.5); --m4: rgba(255,184,209,.4);
  --head: color-mix(in srgb, var(--bg) 74%, transparent);
  --spectrum: linear-gradient(90deg,#FF4D5E,#FF8A3D,#FFD84D,#4DFF8A,#3DDCFF,#4D7CFF,#A25CFF);
  --conic: conic-gradient(#FF4D5E,#FF8A3D,#FFD84D,#4DFF8A,#3DDCFF,#4D7CFF,#A25CFF,#FF4D5E);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --spring: cubic-bezier(.34,1.45,.64,1);
  --out: cubic-bezier(.16,1,.3,1);
  --gut: max(16px, 4vw);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1); }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0D0E12; --side: #121318; --panel: rgba(255,255,255,.055); --raised: rgba(255,255,255,.085); --raised-hi: rgba(255,255,255,.13);
    --sep: rgba(255,255,255,.085); --line: rgba(255,255,255,.15); --hover: rgba(255,255,255,.06);
    --text: #F4F5F8; --inv: #0B0C10; --sec: #9BA3B4; --ter: #6F788A; --ok: #4ADE9B; --accent: #8AA0FF; --on-accent: #0B1030;
    --video: #6C9BFF; --audio: #B28CFF; --image: #FF8FB4; --shadow: rgba(0,0,0,.6); --shadow2: rgba(0,0,0,.35);
    --m1: rgba(64,82,242,.34); --m2: rgba(115,64,242,.3); --m3: rgba(31,166,217,.24); --m4: rgba(230,77,140,.2);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0E12; --side: #121318; --panel: rgba(255,255,255,.055); --raised: rgba(255,255,255,.085); --raised-hi: rgba(255,255,255,.13);
  --sep: rgba(255,255,255,.085); --line: rgba(255,255,255,.15); --hover: rgba(255,255,255,.06);
  --text: #F4F5F8; --inv: #0B0C10; --sec: #9BA3B4; --ter: #6F788A; --ok: #4ADE9B; --accent: #8AA0FF; --on-accent: #0B1030;
  --video: #6C9BFF; --audio: #B28CFF; --image: #FF8FB4; --shadow: rgba(0,0,0,.6); --shadow2: rgba(0,0,0,.35);
  --m1: rgba(64,82,242,.34); --m2: rgba(115,64,242,.3); --m3: rgba(31,166,217,.24); --m4: rgba(230,77,140,.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1240px, calc(100% - 2 * var(--gut))); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--text); color: var(--inv); padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .25s var(--out); }
.skip:focus { top: 12px; }

/* wordmark: "Cut" heavy, "away" regular, same size */
.wm { font-weight: 400; letter-spacing: -.02em; }
.wm b { font-weight: 800; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .45s var(--spring), background-color .2s, box-shadow .3s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.btn-primary { background: var(--text); color: var(--inv); box-shadow: 0 6px 18px -4px rgba(0,0,0,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(0,0,0,.36); }
.btn-primary:active { transform: scale(.95); transition-duration: .12s; box-shadow: 0 3px 8px -2px rgba(0,0,0,.3); }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 16.5px; }
.btn-quiet { background: var(--hover); color: var(--text); font-weight: 500; }
.btn-quiet:hover { background: var(--raised-hi); }
.btn-quiet:active { transform: scale(.96); }
.btn-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 500; color: var(--sec); text-decoration: none; border-radius: 999px; transition: color .2s; }
.btn-link:hover { color: var(--text); }
.btn-link span { display: inline-block; transition: transform .4s var(--spring); margin-left: 6px; }
.btn-link:hover span { transform: translateY(3px); }
[data-hint]::after { content: attr(data-hint); position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); background: var(--raised); color: var(--text); border: 1px solid var(--sep); box-shadow: 0 8px 24px -8px var(--shadow); font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--out); }
[data-hint]:hover::after, [data-hint]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { [data-hint]::after { display: none; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--head); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--sep); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 20px; }
.brand img { width: 30px; height: 30px; }
.top-r { display: flex; align-items: center; gap: 12px; }
.beam { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(61,220,255,.6); }
@supports (animation-timeline: scroll()) {
  .beam { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
/* three-way appearance switch */
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--hover); isolation: isolate; }
.seg::before { content: ""; position: absolute; z-index: -1; left: 3px; top: 3px; width: 44px; height: 44px; border-radius: 999px; background: var(--raised); box-shadow: 0 1px 4px rgba(0,0,0,.14); transition: transform .5s var(--spring); }
:root[data-theme="light"] .seg::before { transform: translateX(44px); }
:root[data-theme="dark"] .seg::before { transform: translateX(88px); }
.seg button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; color: var(--sec); transition: color .2s; }
.seg button:hover, .seg button[aria-checked="true"] { color: var(--text); }
.seg .ic { width: 18px; height: 18px; }
@media (max-width: 599px) { .top-r .btn { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(640px, calc(100svh - 64px), 940px); display: flex; align-items: center; overflow: clip; }
.mesh { position: absolute; inset: -10% -10% 0; z-index: -3; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.mesh i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(40px); will-change: transform; }
.mesh i:nth-child(1) { left: -10%; top: -30%; background: radial-gradient(circle, var(--m1), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.mesh i:nth-child(2) { right: -15%; top: -20%; background: radial-gradient(circle, var(--m2), transparent 62%); animation: drift2 32s ease-in-out infinite alternate; }
.mesh i:nth-child(3) { left: 30%; top: 10%; background: radial-gradient(circle, var(--m3), transparent 62%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
.mesh i:nth-child(4) { right: 10%; top: 25%; background: radial-gradient(circle, var(--m4), transparent 62%); animation: drift2 44s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(12vw, 8vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-10vw, 10vh, 0) scale(.9); } }
#prism { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; }
#prism.on { opacity: 1; }
.no-js #prism { display: none; }
.hero-fb { display: none; }
.no-js .hero-fb { display: block; position: absolute; z-index: -1; right: -5%; top: 25%; width: 60%; height: 50%; background: linear-gradient(100deg, transparent 0 8%, #FF4D5E, #FFD84D, #4DFF8A, #3DDCFF, #A25CFF); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%); opacity: .6; }
.hero-in { padding-block: 72px 96px; width: min(1240px, calc(100% - 2 * var(--gut))); margin-inline: auto; pointer-events: none; }
.hero-in > * { pointer-events: auto; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--sec); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--spectrum); }
h1 { font-size: clamp(2.9rem, 8vw, 5.9rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin-top: 18px; max-width: 9.5em; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--sec); max-width: 34em; margin-top: 24px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 36px; }
.micro { font-size: 14px; color: var(--sec); margin-top: 18px; }
.hero h1, .hero .eyebrow, .hero .lede, .hero .cta, .hero .micro { animation: rise .9s var(--out) both; }
.hero .eyebrow { animation-delay: .05s; } .hero h1 { animation-delay: .12s; } .hero .lede { animation-delay: .22s; } .hero .cta { animation-delay: .3s; } .hero .micro { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@media (max-width: 819px) { .hero { align-items: flex-start; min-height: 700px; } .hero-in { padding-top: 40px; } }

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--sep); }
.proof ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; padding-block: 22px; }
.proof li { display: flex; align-items: center; gap: 10px; min-height: 36px; font-weight: 500; font-size: 15px; color: var(--sec); }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--conic); }
.proof strong { color: var(--text); font-weight: 600; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports not (animation-timeline: view()) {
    .js-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--out), transform .9s var(--out); }
    .js-on .rv.in { opacity: 1; transform: none; }
  }
  @supports (animation-timeline: view()) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rv { from { opacity: 0; transform: translateY(36px) scale(.985); } }
    .lit { animation: lit linear both; animation-timeline: view(); animation-range: entry 35% cover 42%; }
    @keyframes lit { from { opacity: .22; } }
    .bigwm .away { animation: slide linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    @keyframes slide { from { transform: translateX(-.35em); opacity: .4; } }
    .bigwm .cut-line { animation: cutl linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    @keyframes cutl { from { transform: scaleY(0); } }
  }
}

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec { padding-block: clamp(72px, 11vw, 150px); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--sec); margin-top: 16px; text-wrap: pretty; }
.ticks { margin-top: 24px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 26px; color: var(--sec); font-size: 16.5px; text-wrap: pretty; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--text); }
.cap { font-size: 13px; color: var(--sec); margin-top: 14px; }

/* ---------- chapters ---------- */
.chap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.chap { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
.chap .eyebrow::before { transition: width .6s var(--spring); }
.chap.act .eyebrow::before { width: 44px; }
.chap .eyebrow { margin-bottom: 14px; }
.stage { position: sticky; top: calc(50vh - 300px); }
.stepper { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--hover); color: var(--text); transition: background-color .25s, color .25s, transform .4s var(--spring); }
.chip:hover { background: var(--raised-hi); }
.chip:active { transform: scale(.95); }
.chip[aria-current="true"], .chip.sel { background: var(--text); color: var(--inv); }
@media (max-width: 959px) {
  .chap-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { order: -1; top: 64px; z-index: 5; padding: 10px var(--gut) 6px; background: var(--bg); margin-inline: calc(-1 * var(--gut)); }
  .stage::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .stage .cap { margin-top: 8px; font-size: 12px; }
  .stepper { display: none; }
  .chap { min-height: 62vh; padding-block: 24px; }
}

/* ---------- the app window (recreation) ---------- */
.stage, .trim-box { container: win / inline-size; }
.win { --wh: 540px; position: relative; display: grid; grid-template-columns: 172px minmax(0, 1fr); height: var(--wh); border-radius: 22px; background: var(--side); border: 1px solid var(--sep); box-shadow: 0 40px 90px -30px var(--shadow), 0 10px 30px -12px var(--shadow2); overflow: hidden; color: var(--text); font-size: 13.5px; line-height: 1.35; }
@media (max-width: 959px) { .win { --wh: 392px; } }
@media (min-width: 640px) and (max-width: 959px) { .win { --wh: 430px; } }
.side { display: flex; flex-direction: column; padding: 14px 10px 12px; }
.dots { display: flex; gap: 8px; padding: 0 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.win .brand-s { display: flex; align-items: center; gap: 8px; padding: 22px 8px 20px; font-size: 17px; }
.win .brand-s img { width: 24px; height: 24px; }
.nav { position: relative; display: grid; gap: 2px; }
.nav .selp { position: absolute; left: 0; right: 0; top: 0; height: 36px; border-radius: 999px; background: var(--raised); box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .55s var(--spring); }
.win[data-nav="1"] .selp { transform: translateY(38px); }
.nav div { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; font-weight: 600; color: var(--sec); transition: color .3s; }
.win[data-nav="0"] .nav div:nth-of-type(1), .win[data-nav="1"] .nav div:nth-of-type(2) { color: var(--text); }
.nav .ic { width: 15px; height: 15px; stroke-width: 2; }
.ap { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; border-radius: 999px; background: var(--hover); }
.ap i { height: 26px; display: grid; place-items: center; border-radius: 999px; color: var(--sec); }
.ap .ic { width: 13px; height: 13px; }
:root:not([data-theme]) .ap i:nth-child(1), :root[data-theme="light"] .ap i:nth-child(2), :root[data-theme="dark"] .ap i:nth-child(3) { background: var(--raised); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ws { position: relative; margin: 8px 8px 8px 0; border-radius: 16px; background: var(--bg); border: 1px solid var(--sep); box-shadow: 0 8px 22px -10px var(--shadow); overflow: hidden; isolation: isolate; }
.ws .mesh { inset: -20%; z-index: -1; opacity: .8; -webkit-mask-image: none; mask-image: none; }
.ws .mesh i { width: 90%; height: 90%; filter: blur(30px); }
@container win (max-width: 640px) {
  .win { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .ws { margin: 8px; }
}
.pane { position: absolute; inset: 0; padding: 26px 24px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .45s var(--out), transform .7s var(--spring), visibility 0s .45s; }
.win[data-s="0"] .pane[data-p="0"], .win[data-s="1"] .pane[data-p="1"], .win[data-s="2"] .pane[data-p="2"] { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.ptitle { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.psub { color: var(--sec); font-size: 14px; margin-top: 6px; }
.glass { background: color-mix(in srgb, var(--raised) 86%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid var(--sep); box-shadow: 0 8px 24px -10px var(--shadow); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--hover); font-weight: 500; font-size: 13px; white-space: nowrap; }
.pill-p { background: var(--text); color: var(--inv); font-weight: 600; box-shadow: 0 3px 9px -2px rgba(0,0,0,.3); }
.pill .ic { width: 13px; height: 13px; }
/* download pane */
.linkbar { display: flex; align-items: center; gap: 8px; height: 52px; margin-top: 22px; padding: 0 7px 0 18px; border-radius: 999px; position: relative; }
.linkbar .txt { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; color: var(--text); }
.linkbar .txt::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; background: var(--accent); margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.linkbar .go { width: 38px; height: 38px; padding: 0; }
.linkbar .ring-f { position: absolute; inset: -2px; border-radius: 999px; padding: 1.5px; background: var(--conic); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.pane.live .ring-f { opacity: .9; }
.card { border-radius: 16px; background: var(--panel); border: 1px solid var(--sep); }
.prev { margin-top: 16px; padding: 12px; display: grid; gap: 12px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--out), transform .8s var(--spring); }
.pane.live .prev { opacity: 1; transform: none; }
.prev-h { display: flex; align-items: center; gap: 12px; }
.th { position: relative; flex: none; width: 76px; height: 46px; border-radius: 11px; border: 1px solid var(--sep); overflow: hidden; }
.th small { position: absolute; right: 5px; bottom: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 10.5px; font-variant-numeric: tabular-nums; font-weight: 600; }
.t1 { background: radial-gradient(circle at 25% 75%, rgba(61,220,255,.7), transparent 45%), radial-gradient(circle at 70% 30%, rgba(162,92,255,.75), transparent 50%), linear-gradient(160deg, #20244a, #0c0d1c); }
.t2 { background: radial-gradient(circle at 70% 70%, rgba(255,138,61,.7), transparent 50%), radial-gradient(circle at 25% 25%, rgba(255,77,94,.6), transparent 50%), linear-gradient(160deg, #3a2030, #12090f); }
.t3 { background: radial-gradient(circle at 30% 60%, rgba(77,255,138,.55), transparent 50%), radial-gradient(circle at 75% 25%, rgba(61,220,255,.6), transparent 50%), linear-gradient(160deg, #123036, #08141a); }
.t4 { background: radial-gradient(circle at 50% 80%, rgba(255,216,77,.6), transparent 50%), radial-gradient(circle at 20% 20%, rgba(77,124,255,.65), transparent 55%), linear-gradient(160deg, #1d2447, #0b0e1d); }
.ttl { font-weight: 600; font-size: 14.5px; }
.sub2 { color: var(--sec); font-size: 12.5px; }
.fmts { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--hover); position: relative; isolation: isolate; max-width: 100%; }
.fmts span { position: relative; padding: 6px 9px; font-weight: 600; font-size: 12px; color: var(--sec); white-space: nowrap; transition: color .3s; }
.fmts .tp { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: 128px; border-radius: 999px; background: var(--raised); box-shadow: 0 1px 4px rgba(0,0,0,.14); transition: transform .8s var(--spring), width .8s var(--spring); }
.fmts span.on { color: var(--text); }
.fmts-wrap { overflow-x: auto; scrollbar-width: none; }
.hint { color: var(--sec); font-size: 12.5px; margin-top: -4px; }
.trimrow { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--sep); font-weight: 600; font-size: 13px; }
.sw { margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.mini { position: relative; height: 34px; border-radius: 8px; overflow: hidden; background: var(--raised); }
.mini .f { position: absolute; inset: 0; opacity: .85; }
.mini .s { position: absolute; top: 0; bottom: 0; left: 22%; right: 30%; border: 2px solid var(--accent); border-radius: 7px; transition: left 1s var(--spring), right 1s var(--spring); }
.pane:not(.live) .mini .s { left: 0; right: 0; }
.bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; white-space: nowrap; }
.bar .pill { height: 34px; }
.bar .pill-p { padding: 0 18px; }
/* convert pane */
.rows { margin-top: 14px; display: grid; gap: 2px; }
.row { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 14px; transition: background-color .2s; }
.row:hover { background: var(--hover); }
.row .th { width: 42px; height: 42px; border-radius: 12px; }
.row .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .mt { white-space: nowrap; color: var(--sec); font-size: 12px; font-variant-numeric: tabular-nums; display: flex; gap: 6px; align-items: center; }
.row .mt b { color: var(--text); font-weight: 600; }
.row .mt .ic { width: 9px; height: 9px; stroke-width: 2.4; color: var(--ter); }
.st { text-align: right; min-width: 92px; font-variant-numeric: tabular-nums; }
.st .a { font-weight: 600; font-size: 15px; display: block; }
.st .b { color: var(--sec); font-size: 11.5px; display: block; }
.st .ok { color: var(--ok); }
.st .run, .st .done { display: none; }
.row[data-st="run"] .st .run, .row[data-st="done"] .st .done { display: block; }
.row .pb { position: absolute; left: 10px; right: 10px; bottom: 1px; height: 3px; border-radius: 3px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.row[data-st="run"] .pb { opacity: 1; }
.pb i { display: block; height: 100%; width: 100%; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(77,124,255,.8); }
.cv-sum { font-variant-numeric: tabular-nums; color: var(--sec); font-size: 12.5px; padding: 0 8px; min-width: 90px; text-align: center; }
/* drop stage */
.stage-d { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 0; padding-bottom: 14px; }
.drop { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 26px; }
.ring { position: absolute; inset: 0; will-change: transform; --e: .15; }
.ring i { position: absolute; inset: 0; border-radius: 50%; background: var(--conic); }
.ring .l { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); }
.ring .g { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px)); mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px)); filter: blur(15px); opacity: calc(.3 + .55 * var(--e)); }
.disc { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--spring); }
.disc .ic { width: 30px; height: 30px; stroke-width: 2.2; transition: transform .5s var(--spring); }
.stage-d:hover .disc, .stage-d:focus-within .disc { transform: scale(1.07); }
.stage-d:hover .disc .ic { transform: translateY(3px); }
.dtitle { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.dsub { color: var(--sec); font-size: 14.5px; margin-top: 8px; max-width: 24em; }
.stage-d .btn { margin-top: 22px; min-height: 44px; font-size: 14.5px; }
.dtip { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--sec); }
@container win (max-width: 640px) {
  .pane { padding: 20px 16px; } .ptitle { font-size: 22px; } .psub { display: none; } .linkbar { margin-top: 16px; }
  .th { width: 62px; height: 38px; } .dtitle { font-size: 26px; } .drop { width: 120px; height: 120px; margin-bottom: 16px; } .disc { width: 80px; height: 80px; }
  .st { min-width: 64px; } .st .b { display: none; } .bar .pill:not(.pill-p) .l { display: none; }
  .fmts { flex-wrap: wrap; border-radius: 16px; } .fmts .tp { display: none; } .fmts span { padding: 5px 10px; font-size: 11.5px; border-radius: 999px; } .fmts span.on { background: var(--raised); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
  .hint, .mini, .sub2 { display: none; } .prev { margin-top: 12px; gap: 9px; padding: 10px; } .trimrow { padding-top: 8px; }
}

/* ---------- trim studio ---------- */
.spot-head { max-width: 760px; }
.spot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 40px; margin-top: 36px; }
.spot-grid p { color: var(--sec); font-size: 16px; text-wrap: pretty; }
.kbd-hint { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--sec); font-size: 14.5px; }
kbd { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); border-bottom-width: 2px; font: 600 12.5px var(--font); color: var(--text); }
.trim-win { margin-top: 44px; display: block; --wh: auto; height: auto; padding: 14px 14px 14px; background: var(--side); }
.trim-win .dots { padding: 0 6px 12px; }
.tw { position: relative; border-radius: 18px; background: var(--bg); border: 1px solid var(--sep); padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; isolation: isolate; overflow: hidden; }
.tw .mesh { inset: -30% -10%; z-index: -1; opacity: .7; }
.tw-h { display: flex; align-items: center; gap: 12px; }
.tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--panel); border: 1px solid var(--sep); color: var(--video); }
.tile .ic { width: 15px; height: 15px; }
.tw-h b { display: block; font-size: 14px; } .tw-h small { color: var(--sec); font-size: 12px; }
.tw-m { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; align-items: start; }
.monitor { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #05060a; border: 1px solid var(--sep); }
.scene { position: absolute; inset: 0; --p: 0; background-image:
  radial-gradient(circle at 12% 70%, rgba(61,220,255,.6), transparent 9%), radial-gradient(circle at 36% 35%, rgba(162,92,255,.7), transparent 11%),
  radial-gradient(circle at 62% 66%, rgba(77,124,255,.65), transparent 10%), radial-gradient(circle at 88% 38%, rgba(255,138,61,.6), transparent 9%),
  linear-gradient(180deg, #1c2040, #0a0b16 72%, #050509 72%, #101326);
  background-size: 480% 100%; background-position: calc(var(--p) * 100%) 0; }
.play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; transition: transform .5s var(--spring), opacity .25s; }
.play:hover { transform: scale(1.1); }
.play:active { transform: scale(.94); }
.play .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.play .i-pa { display: none; }
.is-play .play { opacity: 0; } .is-play .monitor:hover .play, .is-play .play:focus-visible { opacity: 1; }
.is-play .play .i-pl { display: none; } .is-play .play .i-pa { display: block; }
.mon-t { position: absolute; left: 10px; bottom: 8px; font-size: 12px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.side-c { display: grid; gap: 12px; min-width: 0; }
.fld { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12.5px; color: var(--sec); }
.fld label { display: inline-flex; align-items: center; gap: 6px; }
.fld output { display: grid; place-items: center; min-width: 74px; height: 34px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .chip { min-height: 44px; padding: 0 14px; font-size: 13px; }
.hint-s { color: var(--sec); font-size: 12.5px; }
.tl { position: relative; height: 112px; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; margin-inline: 12px; }
.tl .heat, .tl canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.film { position: absolute; left: 0; right: 0; top: 20px; height: 44px; border-radius: 7px; overflow: hidden; --p: 0;
  background-image: radial-gradient(circle at 12% 70%, rgba(61,220,255,.6), transparent 9%), radial-gradient(circle at 36% 35%, rgba(162,92,255,.7), transparent 11%), radial-gradient(circle at 62% 66%, rgba(77,124,255,.65), transparent 10%), radial-gradient(circle at 88% 38%, rgba(255,138,61,.6), transparent 9%), linear-gradient(180deg, #1c2040, #0a0b16 72%, #050509 72%, #101326); }
.film::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), rgba(0,0,0,.4) calc(100% / 12 - 1px) calc(100% / 12)); }
.dim { position: absolute; top: 20px; height: 76px; background: color-mix(in srgb, var(--bg) 72%, transparent); pointer-events: none; }
.selb { position: absolute; top: 20px; height: 76px; border: 2.5px solid var(--accent); border-radius: 7px; pointer-events: none; }
.hd { position: absolute; top: 17px; width: 44px; height: 82px; margin-left: -22px; cursor: ew-resize; z-index: 3; border-radius: 10px; }
.hd::before { content: ""; position: absolute; left: 14px; right: 14px; top: 3px; bottom: 3px; border-radius: 6px; background: var(--accent); transition: transform .4s var(--spring); }
.hd::after { content: ""; position: absolute; left: 21px; width: 2px; top: 34px; height: 14px; border-radius: 2px; background: var(--on-accent); opacity: .7; }
.hd:hover::before, .hd.snap::before { transform: scaleX(1.5); }
.ph { position: absolute; top: 4px; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 12px rgba(255,255,255,.6); pointer-events: none; z-index: 2; border-radius: 2px; }
.ph::before { content: ""; position: absolute; top: -2px; left: -4px; border: 5px solid transparent; border-top: 8px solid #fff; border-bottom: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.tl-foot { display: flex; justify-content: space-between; margin: 0 12px; font-size: 12.5px; color: var(--sec); font-variant-numeric: tabular-nums; }
.bar2 { display: flex; justify-content: center; }
.bar2 .bar { position: static; transform: none; }
@media (max-width: 859px) { .spot-grid { grid-template-columns: 1fr; gap: 14px; } .tw-m { grid-template-columns: minmax(0, 1fr); } .tw { padding: 14px; } .trim-win { padding: 10px; } }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fc { position: relative; padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--sep); overflow: hidden; isolation: isolate; transition: transform .6s var(--spring), border-color .3s; --mx: 50%; --my: 0%; }
.fc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx) var(--my), var(--m2), transparent 70%), radial-gradient(200px circle at calc(var(--mx) + 60px) calc(var(--my) + 40px), var(--m3), transparent 70%); }
.fc:hover { transform: translateY(-3px); border-color: var(--line); }
.fc:hover::before { opacity: 1; }
.fc .ic { width: 22px; height: 22px; color: var(--text); margin-bottom: 40px; }
.fc h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.fc p { color: var(--sec); font-size: 15px; margin-top: 6px; text-wrap: pretty; }
@media (max-width: 1019px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .grid { grid-template-columns: 1fr; } .fc .ic { margin-bottom: 24px; } }

/* ---------- the name ---------- */
.name { text-align: left; }
.bigwm { display: flex; align-items: stretch; font-size: clamp(3.6rem, 15vw, 11rem); line-height: 1; letter-spacing: -.05em; margin: 24px 0 8px; }
.bigwm .cut { font-weight: 800; }
.bigwm .away { font-weight: 400; }
.bigwm .cut-line { width: 3px; margin: .1em .14em .1em .06em; border-radius: 3px; background: linear-gradient(#FF4D5E,#FF8A3D,#FFD84D,#4DFF8A,#3DDCFF,#4D7CFF,#A25CFF); box-shadow: 0 0 22px rgba(61,220,255,.6); transform-origin: 50% 0; }
.name .big { font-size: clamp(1.6rem, 3.7vw, 3rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 700; max-width: 21em; text-wrap: pretty; }
.name .big + .big { margin-top: .5em; }
.name .big.q { color: var(--sec); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
details { border-bottom: 1px solid var(--sep); }
details:first-child { border-top: 1px solid var(--sep); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; list-style: none; border-radius: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(var(--text), var(--text)) center/12px 1.6px no-repeat, linear-gradient(var(--text), var(--text)) center/1.6px 12px no-repeat, var(--hover); transition: transform .5s var(--spring); }
details[open] summary::after { transform: rotate(135deg); }
summary:hover::after { background-color: var(--raised-hi); }
details > div { padding: 0 48px 22px 0; color: var(--sec); font-size: 16.5px; max-width: 46em; text-wrap: pretty; }
@supports (interpolate-size: allow-keywords) {
  details { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--out), content-visibility .5s allow-discrete; }
  details[open]::details-content { block-size: auto; }
}
@media (max-width: 859px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- closing CTA ---------- */
.close { position: relative; isolation: isolate; text-align: center; padding-block: clamp(80px, 12vw, 160px); overflow: clip; }
.close .mesh { -webkit-mask-image: linear-gradient(transparent, #000 45%, transparent); mask-image: linear-gradient(transparent, #000 45%, transparent); inset: -10%; }
.close .appicon { position: relative; width: 132px; height: 132px; margin: 0 auto 36px; display: grid; place-items: center; }
.close .appicon .ring { inset: -14px; }
.close .appicon img { width: 96px; height: 96px; transition: transform .6s var(--spring); }
.close .appicon:hover img { transform: scale(1.08) rotate(-3deg); }
.close h2 { font-size: clamp(2.2rem, 6vw, 4.8rem); max-width: 12em; margin-inline: auto; }
.close .lead { margin-top: 18px; }
.close .btn { margin-top: 36px; }
.ver { margin-top: 18px; font-size: 14px; color: var(--sec); font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--sep); padding-block: 40px 56px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; }
.foot .brand { font-size: 18px; }
.foot .tag { color: var(--sec); font-size: 15px; margin-top: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--sec); text-decoration: none; font-size: 15px; border-radius: 999px; transition: color .2s, background-color .2s; }
.foot nav a:hover { color: var(--text); background: var(--hover); }
.legal { flex-basis: 100%; color: var(--sec); font-size: 13.5px; }

/* ---------- legal / 404 pages ---------- */
.doc { width: min(720px, calc(100% - 2 * var(--gut))); margin: 0 auto; padding-block: 72px 96px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 8px; max-width: none; }
.doc h2 { font-size: 1.5rem; letter-spacing: -.03em; margin: 44px 0 12px; }
.doc h3 { font-size: 1.1rem; margin: 28px 0 8px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--sec); font-size: 17px; margin-top: 12px; text-wrap: pretty; }
.doc strong { color: var(--text); }
.doc ul, .doc ol { margin-top: 12px; padding-left: 22px; list-style: revert; }
.doc li::marker { color: var(--ter); }
.doc a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-word; }
.doc .upd { color: var(--sec); font-size: 15px; }
.doc pre { white-space: pre-wrap; font: 14.5px/1.6 var(--font); color: var(--sec); margin: 14px 0 0; }
.tbl { overflow-x: auto; margin-top: 16px; border: 1px solid var(--sep); border-radius: 14px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--sep); vertical-align: top; color: var(--sec); }
.tbl th { color: var(--text); font-weight: 600; } .tbl tr:last-child td { border-bottom: 0; }
.nf { min-height: calc(100svh - 64px); display: grid; place-content: center; text-align: center; justify-items: center; padding: 40px var(--gut); gap: 0; position: relative; isolation: isolate; overflow: clip; }
.nf h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin: 0 auto; }
.nf .lead { max-width: 28em; }
.nf .btn { margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .beam { transform: scaleX(0); }
  .hero h1, .hero .eyebrow, .hero .lede, .hero .cta, .hero .micro { animation: none; }
}
@media (prefers-contrast: more) {
  :root { --sep: rgba(0,0,0,.3); --line: rgba(0,0,0,.5); --sec: #3a3f4d; }
  :root[data-theme="dark"] { --sep: rgba(255,255,255,.35); --line: rgba(255,255,255,.55); --sec: #c4cada; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sep: rgba(255,255,255,.35); --line: rgba(255,255,255,.55); --sec: #c4cada; }
}

.pt0 { padding-top: 0; }
.mt14 { margin-top: 14px; }
h2.eyebrow.eb-h { font-size: 14px; letter-spacing: .01em; font-weight: 600; }
