@font-face { font-family: "Plex Sans"; src: url("/assets/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --band: #f4f5f8;
  --ink: #161a23;
  --ink-2: #4b5260;
  --ink-3: #737a88;
  --rule: #e1e4ea;
  --accent: #2b48dc;
  --accent-hover: #2139b8;
  --on-accent: #ffffff;
  --uniq: #d3d8e1;
  --o1: #e09a2d;
  --o2: #17977f;
  --o3: #7a5cf5;
  --o4: #dc4f74;
  --stage: #0a0f1c;
  --stage-ink: #eef1f7;
  --stage-ink-2: #a9b2c4;
  --stage-ink-3: #7f8899;
  --stage-rule: rgba(255, 255, 255, .1);
  --stage-accent: #5b78ff;
  --term-bg: #12151c;
  --term-ink: #d6dbe4;
  --term-dim: #7c8596;
  --term-ok: #74cfa0;
  --term-cmd: #a9b6ff;
  --sans: "Plex Sans", -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
  --segoe: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, "PingFang SC", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1117;
    --band: #141821;
    --ink: #e8ebf0;
    --ink-2: #a8afbc;
    --ink-3: #808897;
    --rule: #252a35;
    --accent: #8196ff;
    --accent-hover: #a2b1ff;
    --on-accent: #0e1117;
    --uniq: #353b48;
    --o1: #eaa944;
    --o2: #2fb79c;
    --o3: #9580ff;
    --o4: #ec6c8e;
    --stage: #070b15;
    --term-bg: #090b10;
    color-scheme: dark;
  }
}
:lang(zh-TW) { --sans: "Plex Sans", -apple-system, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; --apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang TC", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); font-kerning: normal; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: .88em; }
p code, li code { padding: .1em .35em; border-radius: 4px; background: var(--band); border: 1px solid var(--rule); }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.15; letter-spacing: -.018em; }
h3 { font-size: 1.05rem; line-height: 1.35; }
:lang(zh-CN) h2, :lang(zh-TW) h2 { letter-spacing: 0; line-height: 1.3; }
:lang(zh-CN) :is(h1, h2), :lang(zh-TW) :is(h1, h2) { word-break: keep-all; overflow-wrap: anywhere; }
.nb { white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 12px; background: var(--ink); color: var(--bg); border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header, on the dark stage */
.top { position: relative; z-index: 2; background: var(--stage); border-bottom: 1px solid var(--stage-rule); color: var(--stage-ink); }
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--stage-ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.mark { width: 26px; height: 26px; }
.mark-bg { fill: #fff; }
.mark-a { fill: var(--stage); }
.mark-b { fill: var(--stage); opacity: .5; }
.mark-c { fill: var(--stage-accent); }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--stage-ink-2); text-decoration: none; font-size: .94rem; }
.links a:hover { color: #fff; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--stage-rule); border-radius: 8px; cursor: pointer; font-size: .9rem; color: var(--stage-ink); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; color: var(--stage-ink-3); }
.lang summary:hover { border-color: rgba(255, 255, 255, .28); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 168px; background: #151b2b; border: 1px solid var(--stage-rule); border-radius: 10px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); z-index: 5; }
.lang li a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--stage-ink); text-decoration: none; font-size: .93rem; }
.lang li a:hover { background: rgba(255, 255, 255, .07); }
.lang li a[aria-current="page"] { color: #9fb0ff; font-weight: 500; }

/* Stage: hero with the session-log backdrop */
.stage { position: relative; isolation: isolate; overflow: hidden; background: var(--stage); color: var(--stage-ink); }
.logs { position: absolute; inset: 0; z-index: -1; padding: 30px 0 0 47%; font: 12.5px/2.05 var(--mono); color: rgba(150, 165, 195, .2); white-space: nowrap; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 44%, #000 62%, #000 100%), linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 44%, #000 62%, #000 100%), linear-gradient(180deg, #000 72%, transparent 100%); mask-composite: intersect; }
.logs div { overflow: hidden; }
.m { display: inline-block; vertical-align: bottom; max-width: 60ch; overflow: hidden; white-space: nowrap; padding: 0 .3em; border-radius: 3px; color: rgba(255, 255, 255, .5); transition: max-width 1.15s cubic-bezier(.65, 0, .25, 1), padding 1.15s cubic-bezier(.65, 0, .25, 1), color .5s ease; }
.m.o1 { background: rgba(224, 154, 45, .2); } .m.o2 { background: rgba(23, 170, 140, .2); } .m.o3 { background: rgba(122, 92, 245, .24); } .m.o4 { background: rgba(220, 79, 116, .22); }
.stage.folded .m.dup { max-width: .5em; padding: 0; color: transparent; }
.stage.folded .m.dup.o1 { background: rgba(224, 154, 45, .8); } .stage.folded .m.dup.o2 { background: rgba(23, 170, 140, .8); } .stage.folded .m.dup.o3 { background: rgba(122, 92, 245, .85); } .stage.folded .m.dup.o4 { background: rgba(220, 79, 116, .8); }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5.2fr); gap: 56px; align-items: start; padding-block: 76px 88px; }
.hero-text { padding-top: 34px; }
h1 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 2.9vw, 3.9rem); line-height: 1.04; letter-spacing: -.032em; text-wrap: balance; }
:lang(zh-CN) h1, :lang(zh-TW) h1 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.3rem); line-height: 1.22; letter-spacing: -.01em; }
.lede { margin: 24px 0 0; max-width: 36em; color: var(--stage-ink-2); font-size: 1.1rem; line-height: 1.62; }
:lang(zh-CN) .lede, :lang(zh-TW) .lede { line-height: 1.8; }
.install { margin-top: 32px; }
.install-label { display: block; margin-bottom: 8px; font-size: .86rem; color: var(--stage-ink-3); }
.install-box { display: flex; align-items: center; gap: 8px; max-width: 34rem; padding: 6px 6px 6px 14px; border: 1px solid var(--stage-rule); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.install-box code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: .85rem; color: var(--stage-ink); scrollbar-width: none; }
.install-box code::before { content: "$ "; color: var(--stage-ink-3); }
.copy { flex: none; height: 32px; padding: 0 12px; border: 1px solid var(--stage-rule); border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--stage-ink); font: 500 .85rem var(--sans); cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, .12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.btn:hover { color: var(--ink); border-color: var(--ink-3); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.stage .btn { color: #fff; border-color: rgba(255, 255, 255, .2); }
.stage .btn:hover { border-color: rgba(255, 255, 255, .45); }
.stage .btn.primary { background: #4c6bff; border-color: #4c6bff; color: #fff; }
.stage .btn.primary:hover { background: #3d5cf0; border-color: #3d5cf0; }
.status { margin: 20px 0 0; max-width: 34rem; font-size: .88rem; line-height: 1.55; color: var(--stage-ink-3); }

/* Drawn macOS menu bar and CodexFold popover */
.mac { margin: 0 0 0 auto; width: min(100%, 440px); font-family: var(--apple); }
.menubar { display: flex; justify-content: flex-end; align-items: center; gap: 16px; height: 30px; padding: 0 14px; border-radius: 11px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 500; }
.menubar svg { display: block; fill: currentColor; }
.mb-cf { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 6px; font-variant-numeric: tabular-nums; transition: background-color .2s ease; }
.mb-cf svg { width: 14px; height: 14px; }
.mb-ic svg { height: 13px; width: auto; }
.mb-ic + .mb-ic svg { height: 12px; }
.mb-clock { font-variant-numeric: tabular-nums; }
.stage.open .mb-cf { background: rgba(255, 255, 255, .2); }

.pop { position: relative; width: 360px; max-width: 100%; margin: 9px 76px 0 auto; border-radius: 22px; overflow: hidden; background: rgba(30, 34, 46, .64); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 44px 100px -28px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .09); color: #f3f4f8; text-align: left; transform-origin: 72% 0; }
.js .stage:not(.open) .pop { opacity: 0; transform: translateY(-8px) scale(.965); }
.pop { transition: opacity .32s ease, transform .5s cubic-bezier(.2, .9, .25, 1.15); }
.pop-body { display: grid; gap: 13px; padding: 16px; }
.g { background: rgba(255, 255, 255, .065); border: 1px solid rgba(255, 255, 255, .085); }
.head { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 18px; }
.head .ok { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(48, 209, 88, .16); color: #32d74b; }
.head .ok svg { width: 18px; height: 18px; }
.head b { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
.head small { display: block; font-size: 11px; line-height: 1.35; color: rgba(235, 235, 245, .6); }
.storage { display: grid; gap: 9px; padding: 13px; border-radius: 16px; }
.st-top { display: flex; justify-content: space-between; align-items: baseline; }
.st-top small { display: block; font-size: 11px; color: rgba(235, 235, 245, .6); }
.st-top strong { display: block; margin-top: 2px; font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.st-top em { font-style: normal; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: #3f9bff; }
.spark { display: block; width: 100%; height: 40px; overflow: visible; }
.spark-area { fill: rgba(63, 155, 255, .12); }
.spark-line { fill: none; stroke: #3f9bff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .stage:not(.open) .spark-line { stroke-dashoffset: 1; }
.spark-line { transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1) .25s; }
.st-row { display: flex; justify-content: space-between; }
.st-row > span { display: grid; gap: 2px; }
.st-row .r { text-align: right; justify-items: end; }
.st-row small { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: rgba(235, 235, 245, .36); }
.st-row small svg { width: 11px; height: 11px; }
.st-row > span > span { font-size: 12px; color: rgba(235, 235, 245, .62); font-variant-numeric: tabular-nums; }
.comp > small { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; color: rgba(235, 235, 245, .6); }
.comp ul { margin: 0; padding: 0; list-style: none; border-radius: 14px; }
.comp li { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 11px; font-size: 13px; }
.comp li + li { background: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)) 38px 0 / calc(100% - 38px) 1px no-repeat; }
.comp li svg { flex: none; width: 13px; height: 13px; fill: #32d74b; }
.pop-foot { display: flex; gap: 10px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); }
.gbtn svg { width: 14px; height: 14px; fill: currentColor; }
.gbtn.primary { flex: 1; background: rgba(10, 132, 255, .86); border-color: rgba(120, 180, 255, .35); }
.gbtn.round { width: 30px; flex: none; }
.mac figcaption { margin: 16px 76px 0 0; max-width: 360px; margin-left: auto; font-size: .8rem; line-height: 1.5; color: var(--stage-ink-3); }

/* Fold illustration */
.viz { margin: 0; padding: 32px 32px 24px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg); }
.rows { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: 14px; }
.row-label { font-size: .84rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.store .row-label { color: var(--ink); font-weight: 500; }
.strip { display: flex; gap: 2px; height: 40px; width: calc(var(--before) / var(--max) * 100%); transition: width .95s cubic-bezier(.65, 0, .25, 1); }
.b { flex: var(--w) 1 0; min-width: 0; border-radius: 3px; background: var(--uniq); transition: flex-grow .95s cubic-bezier(.65, 0, .25, 1); }
.b.o1 { background: var(--o1); } .b.o2 { background: var(--o2); } .b.o3 { background: var(--o3); } .b.o4 { background: var(--o4); }
.row.store { padding-top: 16px; border-top: 1px dashed var(--rule); }
.row.store .strip { opacity: 0; transition: width .95s cubic-bezier(.65, 0, .25, 1), opacity .4s ease .35s; }
.viz.folded .strip { width: calc(var(--after) / var(--max) * 100%); }
.viz.folded .row:not(.store) .b.dup { flex-grow: var(--ref); }
.viz.folded .row.store .strip { opacity: 1; }
.viz figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 22px; }
.viz-state { margin: 0; min-height: 3.2em; font-size: .93rem; line-height: 1.6; color: var(--ink); }
.toggle { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--bg); color: var(--ink); font: 500 .88rem var(--sans); cursor: pointer; }
.toggle:hover { border-color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--rule); font-size: .84rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--uniq); }
.legend .o1 { background: var(--o1); } .legend .o2 { background: var(--o2); } .legend .o3 { background: var(--o3); } .legend .o4 { background: var(--o4); }
.viz-note { margin: 10px 0 0; font-size: .8rem; color: var(--ink-3); }

/* Sections */
section[id] { scroll-margin-top: 16px; }
.band { background: var(--band); border-block: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; padding-block: 88px; }
.split-text p { margin: 18px 0 0; color: var(--ink-2); max-width: 30em; }
.split-text > h3 { margin-top: 32px; }
.split-text > h3 + p { margin-top: 8px; }
.split-text .fine { font-size: .9rem; color: var(--ink-3); }
.split-body { margin: 0; min-width: 0; }

.bars { margin: 6px 0 0; display: grid; gap: 26px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 9px; align-items: baseline; }
.bar dt { font-size: .95rem; color: var(--ink-2); }
.bar dd { margin: 0; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.track { grid-column: 1 / -1; display: block; height: 16px; box-shadow: inset 1px 0 0 var(--ink-3); }
.fill { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: 0 4px 4px 0; background: var(--accent); }
.fill.src { background: var(--uniq); }
.facts { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: .97rem; }
.facts strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Drawn Windows tray dashboard */
.winshot { align-self: center; }
.win { padding: 0 18px 18px; border-radius: 12px; background: #f3f3f6; border: 1px solid rgba(15, 20, 40, .1); box-shadow: 0 40px 80px -36px rgba(20, 30, 70, .45), 0 2px 6px rgba(20, 30, 70, .06); color: #1c1c21; font-family: var(--segoe); }
.win-bar { display: flex; justify-content: flex-end; gap: 6px; height: 38px; align-items: center; margin-right: -8px; }
.win-bar i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .7); font-style: normal; font-size: 11px; color: #555; }
.win-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wpill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(20, 30, 70, .08); }
.wok { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e7f4ea; color: #1e8e3e; }
.wok svg { width: 17px; height: 17px; }
.wpill b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.wpill small { display: block; font-size: 11.5px; color: #5c5c66; }
.wbtns { display: flex; gap: 8px; }
.wbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 1px 6px rgba(20, 30, 70, .08); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.wbtn.blue { color: #1667d0; }
.wbtn.round { width: 32px; padding: 0; justify-content: center; }
.wcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.wcards div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 10px rgba(20, 30, 70, .05); }
.wcards small { display: block; font-size: 11.5px; color: #5c5c66; }
.wcards b { display: block; margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wcards b.blue { color: #1667d0; }
.wpanel { margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 10px rgba(20, 30, 70, .05); }
.wpanel b { font-size: 13.5px; font-weight: 700; }
.wfold { display: flex; align-items: center; gap: 10px; }
.wfold b { margin-right: auto; }
.wstate { font-size: 12px; color: #5c5c66; }
.wtoggle { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #35b553; }
.wtoggle i { position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.wlabel { font-size: 12px; }
.wp-head { display: flex; justify-content: space-between; align-items: center; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #ececf1; font-size: 11.5px; }
.seg i { font-style: normal; padding: 3px 10px; border-radius: 999px; color: #3c3c44; }
.seg i.on { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.wlegend { display: flex; gap: 16px; margin: 10px 0 4px; font-size: 11.5px; color: #5c5c66; }
.wlegend span::before { content: ""; display: inline-block; width: 16px; margin-right: 6px; vertical-align: middle; border-top: 2px solid #1667d0; }
.wlegend .dash::before { border-top: 2px dashed #8b8b96; }
.wchart { display: block; width: 100%; height: 130px; }
.wgrid { fill: none; stroke: #e4e4ea; stroke-width: 1; vector-effect: non-scaling-stroke; }
.wsaved { fill: rgba(22, 103, 208, .07); }
.wl { fill: none; stroke: #8b8b96; stroke-width: 1.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.wp { fill: none; stroke: #1667d0; stroke-width: 2; vector-effect: non-scaling-stroke; }
.waxis { display: flex; justify-content: space-between; font-size: 11px; color: #7a7a84; }
.winshot figcaption { margin-top: 14px; font-size: .85rem; color: var(--ink-3); }

.steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 24px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: 8px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule); font-size: .85rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.steps h3 { padding-top: 2px; }
.steps p { margin: 6px 0 0; color: var(--ink-2); font-size: .97rem; }

.terminal pre { margin: 0; padding: 22px 24px; border-radius: 14px; background: var(--term-bg); color: var(--term-ink); font: 400 13px/1.7 var(--mono); overflow-x: auto; tab-size: 4; }
.terminal pre code { font-size: inherit; }
@media (min-width: 761px) { .terminal pre { white-space: pre-wrap; overflow-wrap: anywhere; } }
.terminal .p { color: var(--term-dim); user-select: none; }
.terminal .c { color: var(--term-cmd); }
.terminal .ok { color: var(--term-ok); }
.terminal .h { color: var(--term-dim); }
.terminal figcaption { margin-top: 12px; font-size: .85rem; color: var(--ink-3); }

.promises { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.promises li { position: relative; padding: 16px 0 16px 26px; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: .98rem; }
.promises li::before { content: ""; position: absolute; left: 2px; top: 1.5em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-60%) rotate(-45deg); }

.platforms-head { padding-top: 88px; max-width: 44rem; }
.platforms-head p { margin: 16px 0 0; color: var(--ink-2); }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--ink); }
.platforms article { padding: 24px 28px 28px 0; }
.platforms article + article { padding-left: 28px; border-left: 1px solid var(--rule); }
.platforms h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.tag { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--rule); font-size: .75rem; font-weight: 500; color: var(--ink-2); }
.platforms p { margin: 12px 0 14px; color: var(--ink-2); font-size: .95rem; }
.platforms a { font-size: .93rem; }
.btn.wide { margin: 32px 0 96px; }

.foot { border-top: 1px solid var(--rule); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px 40px; font-size: .88rem; color: var(--ink-3); }
.foot-row p { margin: 0; max-width: 40rem; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--ink-2); }

/* Responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 48px 72px; }
  .hero-text { padding-top: 0; }
  .mac { margin: 0 auto; }
  .logs { padding-left: 0; -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 64%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 50%, #000 64%, #000 88%, transparent 100%); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 64px; }
  .split-text p { max-width: 40em; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .links { display: none; }
  .lang { margin-left: auto; }
  body { font-size: 16px; }
  .pop { margin-right: 0; }
  .mac figcaption { margin-right: 0; }
  .menubar { gap: 12px; }
  .viz { padding: 20px 16px 18px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .strip { height: 28px; }
  .viz figcaption { flex-direction: column; gap: 12px; }
  .win { padding: 0 12px 12px; }
  .wbtns .wbtn:not(.round) { display: none; }
  .wcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platforms article, .platforms article + article { padding: 22px 0; border-left: 0; }
  .platforms article + article { border-top: 1px solid var(--rule); }
  .platforms-head { padding-top: 64px; }
  .btn.wide { width: 100%; margin-bottom: 72px; }
  .terminal pre { padding: 18px 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip, .b, .row.store .strip, .m, .pop, .spark-line, .mb-cf { transition: none !important; }
}
