@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/gloock-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/gloock-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Gloock has no Cyrillic: Russian display text takes Prata, another high-contrast serif. */
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/prata-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* The lobby at night: the porter's uniform, darkened. */
  --night: #1c1420;
  --night-2: #2a1f2e;
  --plum: #34263a;
  --plum-line: #45334b;
  --uniform: #57406b;
  /* The app's paper, lit. */
  --paper: #fffdf9;
  --paper-2: #f5f0e8;
  --paper-line: #e7ddd1;
  --ink: #2b2522;
  --ink-2: #6f645b;
  --ink-3: #776c63;
  /* On the night ground. */
  --text: #f2ebe3;
  --text-2: #c4b4be;
  --text-3: #8f7d8b;
  --terra: #d97757;
  --terra-deep: #c96442;
  --brass: #e8b866;
  --green: #4f8a5b;
  --green-ink: #3b7347;
  --green-l: #7cc08a;
  --orange: #c2711f;
  --red: #c2452d;
  --red-l: #ef7a62;

  --display: "Gloock", "Prata", ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 76rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* CJK pages take a serif made for their script; anywhere else these faces would set Latin and Cyrillic full-width. */
:root:lang(ja) { --display: "Gloock", "Hiragino Mincho ProN", serif; }
:root:lang(zh-Hans) { --display: "Gloock", "Songti SC", "STSong", serif; }
:root:lang(ko) { --display: "Gloock", "AppleMyungjo", "Nanum Myeongjo", serif; }
:lang(ja) :is(h1, h2, h3, p, li) { word-break: auto-phrase; }
:is(:lang(ja), :lang(zh-Hans), :lang(ko)) .stage > h1 { font-size: clamp(2.3rem, 4.4vw, 4.4rem); line-height: 1.12; }
:is(:lang(zh-Hans), :lang(ko)) .stage > h1 span { white-space: nowrap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  /* A second lamp further down the lobby, so the plum carries past the hero. */
  background:
    radial-gradient(60rem 40rem at 85% 120vh, rgb(87 64 107 / .35), transparent 70%),
    radial-gradient(50rem 36rem at 10% 260vh, rgb(87 64 107 / .22), transparent 70%),
    var(--night);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--brass); color: var(--night); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--plum-line) var(--night); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font: 400 clamp(2.1rem, 4.6vw, 3.6rem)/1.04 var(--display); letter-spacing: -.02em; }
h3 { font: 600 1.25rem/1.3 var(--sans); }
p { margin: 0; text-wrap: pretty; }
code, pre { font-family: var(--mono); font-size: .875em; }

.skip { position: absolute; left: 1rem; top: -3rem; z-index: 50; background: var(--brass); color: var(--night); padding: .5rem .9rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: .75rem; }

/* Menu bar: the strip Porter lives in. */
.menubar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.5rem;
  height: 3rem; padding: 0 var(--gutter);
  background: rgb(28 20 32 / .78);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid rgb(255 255 255 / .06);
  font-size: .875rem;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 400 1.25rem/1 var(--display); }
.brand img { border-radius: 7px; }
.menubar-nav { display: flex; gap: 1.4rem; margin-left: 1rem; }
.menubar-nav a, .gh { color: var(--text-2); text-decoration: none; transition: color .2s; }
.menubar-nav a:hover, .gh:hover { color: var(--text); }
.menubar-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
/* Porter's own status item, highlighted as when its panel is open. */
.status-item { display: grid; place-items: center; width: 1.9rem; height: 1.45rem; border-radius: 5px; color: var(--text); background: rgb(255 255 255 / .14); }
.clock { color: var(--text-2); font-variant-numeric: tabular-nums; min-width: 2.6rem; text-align: right; }
.langs { position: relative; }
.langs summary { list-style: none; display: flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--text-2); padding: .35rem .55rem; border-radius: 7px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--text); background: rgb(255 255 255 / .06); }
.langs ul {
  position: absolute; right: 0; top: calc(100% + .4rem); margin: 0; padding: .35rem; list-style: none;
  min-width: 11rem; background: var(--paper); color: var(--ink); border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .55), 0 2px 6px rgb(0 0 0 / .2);
}
.langs li a { display: block; padding: .45rem .7rem; border-radius: 7px; text-decoration: none; }
.langs li a:hover { background: var(--paper-2); }
.langs li a[aria-current] { color: var(--terra-deep); font-weight: 600; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3rem; padding: 0 1.35rem; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s;
}
.button.primary { background: var(--terra); color: #1e1210; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .8); }
.button.primary:hover { background: #e3876a; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgb(0 0 0 / .85); }
.button.primary:active { transform: translateY(0); }
.button.ghost { color: var(--text); box-shadow: inset 0 0 0 1px var(--plum-line); }
.button.ghost:hover { background: rgb(255 255 255 / .05); }
.button.small { min-height: 2.5rem; padding: 0 1.1rem; font-size: .9375rem; }

/* The carry: one sticky stage scrubbed by scroll. */
.carry { position: relative; height: 290vh; }
.stage {
  position: sticky; top: 3rem; height: calc(100vh - 3rem); min-height: 36rem;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "title title" "copy deck";
  grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: clamp(.5rem, 2vh, 1.5rem);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
}
.stage::before {
  /* Lamplight behind the deck. */
  content: ""; position: absolute; inset: 10% -10% 0 35%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(87 64 107 / .55), transparent 75%);
}
.stage > h1 { grid-area: title; font: 400 clamp(2.9rem, 5.6vw, 5.5rem)/1 var(--display); letter-spacing: -.025em; }
.stage > h1 span { display: block; }
.stage > h1 .accent { color: var(--brass); }
.hero-copy { grid-area: copy; align-self: start; padding-top: 2rem; }
.deck { grid-area: deck; }
.lead { margin-top: 0; max-width: 30rem; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.meta { margin-top: 1.1rem; font-size: .875rem; color: var(--text-3); }

.deck { position: relative; height: min(30rem, 60vh); min-height: 22rem; }
/* Behind the cards: the route shows where it crosses open space. */
.path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.path-track { fill: none; stroke: rgb(232 184 102 / .6); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; }
.path-ink { fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgb(232 184 102 / .5)); }

.account {
  position: absolute; width: min(20rem, 47%);
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 1.1rem 1.15rem 1rem;
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / .8), 0 2px 0 rgb(255 255 255 / .6) inset;
}
.account-a { left: 0; top: 4%; }
.account-b { right: 0; bottom: 14%; }
.account header, .panel-card header { display: flex; align-items: center; gap: .5rem; }
.account .name, .panel-card .name { font: 400 1.35rem/1.1 var(--display); letter-spacing: -.01em; }
.dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); flex: none; }
.badge { display: inline-block; min-width: 0; overflow: hidden; text-overflow: ellipsis; margin-left: auto; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.badge.warn { background: #f8e3d5; color: #9a4f17; }
.account-a .badge { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.carry[data-landed] .account-a .badge { opacity: 0; transform: scale(.9); visibility: hidden; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.bars { display: grid; gap: .5rem; margin-top: .9rem; }
.bar { display: grid; grid-template-columns: 2rem 1fr 2.6rem; align-items: center; gap: .55rem; font-size: .75rem; }
.bar span { color: var(--ink-2); font-weight: 500; }
.bar b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar i { position: relative; height: .3rem; border-radius: 999px; background: #ede4d8; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--tone); transform-origin: left; transform: scaleX(max(.02, calc(var(--v) / 100))); transition: transform .6s var(--ease); }
.bar i[data-tone="green"] { --tone: var(--green); }
.bar i[data-tone="orange"] { --tone: var(--orange); }
.bar i[data-tone="red"] { --tone: var(--red); }
.bar i[data-tone="green"] + b { color: var(--green-ink); }
.bar i[data-tone="orange"] + b { color: var(--orange); }
.bar i[data-tone="red"] + b { color: var(--red); }
/* Room for the session: the empty one is a dashed landing spot. */
.slot { height: 5.4rem; margin-top: .9rem; border-radius: 12px; border: 1.5px dashed transparent; transition: border-color .4s; }
.slot-b { border-color: #e3c58f; }
.carry[data-landed] .slot-b { border-color: transparent; }
.carry[data-lifted] .slot-a, .carry[data-landed] .slot-a { border-color: #e3c58f; }
.account footer { margin-top: .75rem; font-size: .75rem; color: var(--ink-2); }

.session {
  position: absolute; left: 0; top: 0; width: 17rem; z-index: 2;
  background: var(--paper-2); color: var(--ink); border-radius: 12px; padding: .7rem .8rem .75rem;
  box-shadow: 0 1px 0 var(--paper-line), 0 calc(var(--lift, 0) * 26px) calc(10px + var(--lift, 0) * 40px) calc(var(--lift, 0) * -14px) rgb(0 0 0 / .65);
  transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)) scale(calc(1 + var(--lift, 0) * .06));
  will-change: transform;
}
.porter-ride {
  position: absolute; right: -.9rem; top: -1rem; border-radius: 9px;
  box-shadow: 0 8px 18px -6px rgb(0 0 0 / .6);
  opacity: var(--lift, 0); transform: translateY(calc((1 - var(--lift, 0)) * 8px)) rotate(calc(var(--lift, 0) * 6deg)) scale(calc(.7 + var(--lift, 0) * .3));
}
.session-top { display: flex; align-items: center; gap: .4rem; color: var(--ink-3); font-size: .72rem; }
.session-title { margin-top: .25rem; font-weight: 600; font-size: .9rem; line-height: 1.3; }
.session-status { position: relative; margin-top: .35rem; font-size: .75rem; min-height: 1.2em; }
.status-error, .status-ok { display: block; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease); }
.status-error { color: var(--red); }
.status-ok { position: absolute; inset: 0; color: var(--green-ink); opacity: 0; filter: blur(4px); transform: translateY(4px); visibility: hidden; }
.status-ok::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-right: .4rem; border-radius: 50%; background: var(--green); vertical-align: .05em; box-shadow: 0 0 0 3px rgb(79 138 91 / .18); }
.carry[data-landed] .status-error { opacity: 0; filter: blur(4px); transform: translateY(-4px); visibility: hidden; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.carry[data-landed] .status-ok { opacity: 1; filter: none; transform: none; visibility: visible; }

.demo-note, .example-note, .ledger figcaption, .window-figure figcaption { font-size: .72rem; color: var(--text-3); }
.demo-note { position: absolute; right: 0; bottom: 0; }
.ledger figcaption { margin-top: .9rem; color: var(--ink-3); }
.window-figure { margin: 0; }
.window-figure figcaption, .example-note { margin-top: .7rem; text-align: right; }
.example-note { grid-column: 2; }
.steps { position: absolute; left: 0; bottom: 0; margin: 0; padding: 0; list-style: none; display: grid; width: 52%; }
.steps li {
  grid-area: 1 / 1; font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.3 var(--display); color: var(--text);
  opacity: 0; transform: translateY(.6rem); filter: blur(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
}
.carry[data-step="1"] .steps li:nth-child(1),
.carry[data-step="2"] .steps li:nth-child(2),
.carry[data-step="3"] .steps li:nth-child(3) { opacity: 1; transform: none; filter: none; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 1.25rem; translate: -50% 0;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
  transition: opacity .4s;
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 1.6rem; margin: .5rem auto 0; background: linear-gradient(var(--text-3), transparent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: bottom; } }
.carry[data-scrolled] .scroll-hint { opacity: 0; }

/* Sections share one rhythm. */
.how, .profiles, .usage, .window, .cli, .install, .close {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(5rem, 11vw, 9rem) var(--gutter) 0;
}
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.how-copy p, .profiles-copy p, .usage-copy p, .window-copy li, .cli-copy p { color: var(--text-2); max-width: 34rem; }
.how-copy p, .profiles-copy p, .usage-copy p, .cli-copy p { margin-top: 1.3rem; }
.ledger {
  margin: 0; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 22px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9);
}
.ledger-lists { display: grid; grid-template-columns: 1fr 3.5rem 1fr; align-items: center; }
.ledger-label { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.ledger-list > code { display: block; margin-top: .2rem; color: var(--ink-3); font-size: .72rem; overflow-wrap: anywhere; }
.ledger ul { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .35rem; }
.ledger li code { display: block; padding: .45rem .6rem; border-radius: 8px; background: var(--paper-2); font-size: .78rem; box-shadow: inset 0 0 0 1px var(--paper-line); }
.ledger .moving code { background: #fbe9e1; color: #a9502f; box-shadow: inset 0 0 0 1px #f0c8b6; }
.ledger .landing code { background: #e6f1e7; color: #2f6339; box-shadow: inset 0 0 0 1px #c3dcc7; }
.ledger-arrow { color: var(--terra-deep); padding: 0 .4rem; }
.ledger-arrow svg { width: 100%; height: 1.5rem; }
.ledger-shelf {
  margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 14px;
  background: var(--ink); color: var(--paper);
  display: grid; gap: .25rem;
}
.ledger-shelf .ledger-label { color: var(--brass); }
.ledger-shelf code { font-size: .8rem; overflow-wrap: anywhere; }
.ledger-shelf span { font-size: .8rem; color: #c9bdb2; }
.how-notes { grid-column: 2; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; color: var(--text-2); font-size: .9375rem; }
.how-notes li { padding-top: 1rem; border-top: 1px solid var(--plum-line); }

/* Profiles: three Claude Desktops fanned like windows on a desk. */
.profiles { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.profiles .aside { font-size: .9375rem; color: var(--text-3); }
.windows { position: relative; height: clamp(18rem, 32vw, 24rem); }
.win {
  position: absolute; width: 68%; height: 72%; border-radius: 14px; overflow: hidden;
  background: var(--paper); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .85);
}
.w1 { left: 0; top: 0; transform: rotate(-3deg); }
.w2 { left: 27%; top: 14%; transform: rotate(1.5deg); z-index: 1; }
.w3 { right: 0; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.win-bar { display: flex; align-items: center; gap: .35rem; height: 2.1rem; padding: 0 .8rem; background: var(--paper-2); border-bottom: 1px solid var(--paper-line); }
.win-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #e2d6c9; }
.win-bar i:first-child { background: #ec6a5e; } .win-bar i:nth-child(2) { background: #f4bf4f; } .win-bar i:nth-child(3) { background: #61c554; }
.win-bar span { margin-left: .6rem; font: 400 1rem/1 var(--display); color: var(--ink); }
.win-body { display: grid; grid-template-columns: 34% 1fr; height: calc(100% - 2.1rem); }
.win-body aside { padding: .8rem .7rem; background: var(--paper-2); border-right: 1px solid var(--paper-line); }
.w-acc { font-size: .62rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .62rem; }
.w-bar i { position: relative; height: .25rem; border-radius: 999px; background: #ede4d8; overflow: hidden; }
.w-bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--tone); transform-origin: left; transform: scaleX(calc(var(--v) / 100)); }
.w-bar i[data-tone="green"] { --tone: var(--green); } .w-bar i[data-tone="red"] { --tone: var(--red); }
.w-bar i[data-tone="green"] + b { color: var(--green-ink); } .w-bar i[data-tone="red"] + b { color: var(--red); }
.win ul { list-style: none; margin: 0; padding: .55rem; display: grid; gap: .35rem; align-content: start; }
.win li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .45rem; padding: .45rem .5rem; border-radius: 8px; background: var(--paper-2); font-size: .7rem; color: var(--ink); }
.s-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.s-dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--green); }
.s-dot.stop { background: var(--red); }
.pill { padding: .1rem .4rem; border-radius: 999px; font-size: .6rem; font-weight: 600; white-space: nowrap; background: #e6f1e7; color: #2f6339; }
.pill.stop { background: #f8e3d5; color: #9a4f17; }

/* Usage: the menu-bar panel, at its real size. */
.usage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.usage-copy h3 { margin-top: 2.2rem; font: 400 1.6rem/1.15 var(--display); color: var(--brass); }
.usage-copy h3 + p { margin-top: .8rem; }
.panel {
  position: relative; display: grid; gap: .7rem; padding: .8rem; max-width: 24rem; justify-self: center; width: 100%;
  background: var(--paper-2); border-radius: 20px;
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .5) inset;
}
.panel::before { content: ""; position: absolute; top: -.55rem; left: 50%; translate: -50% 0; border: .6rem solid transparent; border-top: 0; border-bottom-color: var(--paper-2); }
.panel-card { background: var(--paper); color: var(--ink); border-radius: 14px; padding: .95rem 1rem .85rem; box-shadow: inset 0 0 0 1px var(--paper-line); }
.panel-card .mail { margin-top: .15rem; font-size: .78rem; color: var(--ink-2); }
.bars.wide .bar { grid-template-columns: 2.6rem 1fr 2.4rem 5.4rem; }
.bars.wide time { font-size: .7rem; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.panel-card footer { display: flex; align-items: center; gap: .5rem; margin-top: .85rem; font-size: .75rem; color: var(--ink-2); }
.panel-card footer .badge { margin-left: 0; }
.panel-move, .panel-link { display: inline-flex; align-items: center; gap: .3rem; margin-left: auto; color: #a9502f; font-weight: 600; font-size: .75rem; }
.example { font-size: .7rem; color: var(--ink-3); text-align: center; }

/* The main window illustration. */
.window { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.window-copy ul { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.window-copy li { position: relative; padding-left: 1.4rem; }
.window-copy li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--brass); transform: rotate(45deg); }
.window-shot { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 50px 90px -40px rgb(0 0 0 / .95); }

/* Command line */
.cli { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.terminal {
  margin: 0; padding: 1.3rem 1.4rem; border-radius: 16px; overflow-x: auto;
  background: #120c11; color: var(--text); line-height: 1.9; font-size: .85rem;
  box-shadow: inset 0 0 0 1px var(--plum-line);
}
.terminal .prompt { color: var(--brass); }
.terminal .line { display: block; padding-left: 1.2em; text-indent: -1.2em; }
.terminal .nw { white-space: nowrap; }
.terminal .arg-path { overflow-wrap: anywhere; }
.terminal .c { color: var(--text-3); }

/* Install */
.install h2 { max-width: 40rem; }
.install-steps { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.install-steps li {
  counter-increment: step; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem;
  padding: 1.5rem 1.4rem; border-radius: 18px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--plum-line);
}
.install-steps li::before { content: counter(step); font: 400 2.4rem/1 var(--display); color: var(--brass); }
.install-steps p { color: var(--text-2); font-size: .9375rem; }
.cmd { display: flex; align-items: stretch; width: 100%; border-radius: 10px; background: #120c11; box-shadow: inset 0 0 0 1px var(--plum-line); overflow: hidden; }
.cmd code { flex: 1; padding: .6rem .75rem; font-size: .72rem; line-height: 1.5; overflow-wrap: anywhere; color: var(--text); }
.copy { flex: none; border: 0; border-left: 1px solid var(--plum-line); background: transparent; color: var(--brass); font: 600 .78rem var(--sans); padding: 0 .85rem; cursor: pointer; }
.copy:hover { background: rgb(232 184 102 / .08); }
.honest { margin-top: 3rem; padding: 1.6rem 0 0; border-top: 1px solid var(--plum-line); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem; }
.honest h3 { font: 400 1.6rem/1.1 var(--display); }
.honest ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; color: var(--text-2); font-size: .9375rem; }

/* Close */
.close { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(5rem, 10vw, 8rem); }
.close img { border-radius: 26px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); }
.close h2 { margin: 1.8rem 0 2rem; font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 14ch; }

.foot { border-top: 1px solid var(--plum-line); padding: 2rem var(--gutter) 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .8125rem; color: var(--text-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Narrow screens: the carry runs top to bottom. */
@media (max-width: 860px) {
  .menubar-nav { display: none; }
  .langs summary span { display: none; }
  .carry { height: 240vh; }
  .stage { grid-template-columns: 1fr; align-content: start; gap: 1.2rem; padding-top: 1.5rem; min-height: 0; }
  .stage { grid-template-areas: "title" "copy" "deck"; grid-template-rows: none; }
  .stage > h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .hero-copy { padding-top: 0; }
  .demo-note { display: none; }
  .example-note { grid-column: 1; }
  .terminal { white-space: normal; font-size: .78rem; }
  .terminal .line + .line { margin-top: .35rem; }
  .terminal .c { display: block; padding-left: 1.1rem; }
  .lead { margin-top: .9rem; font-size: 1rem; }
  .actions { margin-top: 1.2rem; }
  .actions .ghost { display: none; }
  .meta { margin-top: .7rem; font-size: .8rem; }
  .deck { height: 25rem; }
  .account { width: 66%; padding: .8rem .85rem .7rem; border-radius: 14px; }
  .account-a { top: 0; }
  .account-b { top: auto; bottom: 2.4rem; }
  .account .name { font-size: 1.1rem; }
  .account .bars { margin-top: .55rem; gap: .35rem; }
  .account .bar:nth-child(2), .account footer { display: none; }
  .slot { height: 4.2rem; margin-top: .55rem; }
  .session { width: 13.5rem; padding: .55rem .65rem .6rem; }
  .session-title { font-size: .82rem; }
  .steps { width: 100%; }
  .steps li { font-size: 1.05rem; }
  .scroll-hint { display: none; }
  .how, .profiles, .usage, .window, .cli { grid-template-columns: 1fr; }
  .how-notes { grid-column: 1; grid-template-columns: 1fr; }
  .ledger-lists { grid-template-columns: 1fr; gap: .6rem; }
  .ledger-arrow { transform: rotate(90deg); width: 3rem; justify-self: center; }
  .usage .panel { order: 2; }
  .install-steps, .honest, .honest ul { grid-template-columns: 1fr; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .lead { display: none; }
}

/* No scrubbed motion: the carry shows where it ends. */
@media (prefers-reduced-motion: reduce) {
  .carry { height: auto; }
  .stage { position: relative; top: 0; height: auto; min-height: 0; padding-block: 3rem; }
  .scroll-hint { display: none; }
  .scroll-hint::after { animation: none; }
}
