/* Evlat landing — one sheet.
   Colour is semantics, same rule as the app: amber only ever means "waiting",
   green "done", red "failed". The page's own voice is ink on cool paper, and
   the ballpoint blue belongs to the hand-written notes and nothing else. */

/* Fonts are served from here, latin + latin-ext only (Turkish lives in
   latin-ext), in the weights the page uses. Google's stylesheet brought
   Bricolage's variable opsz axis and a late swap that froze Firefox/Zen
   for ~300 ms on first paint. All four families are OFL. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-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;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-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;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/caveat-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: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/caveat-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;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/caveat-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: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/caveat-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;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geist-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: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geist-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;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geist-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: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geist-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;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/geist-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: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/geist-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;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-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: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-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;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-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: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-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;
}

:root {
  --paper: #eceef0;
  --paper-2: #e2e5e8;
  --card: #f6f7f8;
  --ink: #121417;
  --ink-2: #4a5059;
  --pencil: #858c96;
  --rule: rgba(18, 20, 23, .13);
  --dot: rgba(18, 20, 23, .12);
  --pen: #2b55d8;
  --bar: #000;
  --bar-edge: transparent;
  --amber: #ffb82e;
  --green: #4dd973;
  --red: #f24d47;
  --grey: #808080;
  --hi: rgba(255, 184, 46, .55);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  --spring: cubic-bezier(.34, 1.45, .55, 1);
  --out: cubic-bezier(.22, .8, .3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101214;
    --paper-2: #16191c;
    --card: #181b1f;
    --ink: #eceef1;
    --ink-2: #a9b0b9;
    --pencil: #79808a;
    --rule: rgba(236, 238, 241, .11);
    --dot: rgba(236, 238, 241, .07);
    --pen: #8ea8ff;
    --bar-edge: rgba(255, 255, 255, .09);
    --hi: rgba(255, 184, 46, .38);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101214; --paper-2: #16191c; --card: #181b1f; --ink: #eceef1; --ink-2: #a9b0b9;
  --pencil: #79808a; --rule: rgba(236, 238, 241, .11); --dot: rgba(236, 238, 241, .07);
  --pen: #8ea8ff; --bar-edge: rgba(255, 255, 255, .09); --hi: rgba(255, 184, 46, .38);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
code, kbd, .mono { font-family: var(--f-mono); }
code { font-size: .86em; padding: .08em .35em; border-radius: 5px; background: var(--paper-2); border: 1px solid var(--rule); }
kbd {
  display: inline-block; min-width: 1.7em; padding: .05em .45em; margin: 0 .08em;
  font-size: .8em; line-height: 1.5; text-align: center;
  border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px; background: var(--card);
}
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 50; background: var(--card); padding: 8px 12px; }

.hand { font-family: var(--f-hand); font-weight: 600; color: var(--pen); letter-spacing: .01em; }
.c-amber { color: var(--amber); } .c-green { color: var(--green); } .c-red { color: var(--red); } .c-grey { color: var(--grey); }

/* ───── type ───── */
.display, .display-2, .display-3 {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; margin: 0; text-wrap: balance;
}
.display { font-size: clamp(44px, 5.8vw, 80px); line-height: .96; }
.display-2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; }
.display-3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
mark {
  color: inherit; padding: 0 .06em; border-radius: .08em;
  background: linear-gradient(100deg, transparent 0 1%, var(--hi) 2% 97%, transparent 98%) 0 62% / 100% 58% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow {
  margin: 0 0 18px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.lede { font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 36em; margin: 22px 0 0; text-wrap: pretty; }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 12px;
  font: 600 15px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--out), background-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 8px 22px -12px rgba(0,0,0,.55); }
.btn-ink:hover { transform: translateY(-1px); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--paper-2); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 22px; font-size: 16px; }

/* ───── nav ───── */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font: 800 22px/1 var(--f-display); letter-spacing: -.04em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; background: var(--ink); position: relative;
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; padding-right: 5px;
}
.brand-mark i { width: 3.5px; height: 9px; border-radius: 3px; background: var(--paper); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 9px; padding: 2px; }
.lang button {
  all: unset; cursor: pointer; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; padding: 6px 8px; border-radius: 7px; color: var(--ink-2);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang button:focus-visible { outline: 2px solid var(--pen); }
.icon-link { display: inline-flex; padding: 6px; border-radius: 8px; color: var(--ink-2); }
.icon-link:hover { color: var(--ink); background: var(--paper-2); }

/* ───── layout ───── */
.hero, .block { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.block { padding-top: clamp(72px, 10vw, 140px); }
.block-head { max-width: 760px; }

/* ───── hero ───── */
.hero {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px);
  align-items: center; padding-top: clamp(36px, 6vw, 80px);
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.meta { margin: 16px 0 0; font-size: 12.5px; color: var(--pencil); letter-spacing: .02em; }
.try { display: flex; align-items: flex-start; gap: 6px; margin: 30px 0 0; font-size: 23px; line-height: 1.1; max-width: 30em; }
.try .arrow { width: 96px; height: 32px; flex: none; margin-top: 4px; }
.try .arrow path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* The stage is only the top-right corner of a Mac screen, the way a product
   shot crops it: bezel, rounded corner, the right end of the menu bar and
   the bar on the edge. The rest of the screen dissolves into the paper. */
.stage { position: relative; height: 640px; }
.corner {
  position: absolute; top: 0; right: 0; bottom: -40px; left: -8%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 16%, #000 42%), linear-gradient(to bottom, #000 58%, rgba(0,0,0,.35) 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 16%, #000 42%), linear-gradient(to bottom, #000 58%, rgba(0,0,0,.35) 80%, transparent 100%);
  mask-composite: intersect;
}
.mac-display {
  position: absolute; inset: 0; padding: 11px 11px 0 0; border-radius: 0 46px 0 0; background: #0a0a0b;
  box-shadow: 0 40px 80px -30px rgba(12, 24, 44, .5), inset -1px 1px 0 rgba(255,255,255,.08);
}
.screen {
  position: relative; height: 100%; border-radius: 0 36px 0 0; overflow: hidden;
  color: #fff; isolation: isolate; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--f-body);
}
.wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Wallpaper and grain are pictures, not live SVG: the blurred SVG and the
   noise filter took ~400 ms to paint when the page opened. */
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/grain.png") 0 0 / 96px 96px repeat; opacity: .85; }
/* zoomed in like a product shot: a bigger menu bar than the real 24 pt */
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 40px; padding: 0 30px 0 0;
  display: flex; align-items: center; justify-content: flex-end;
  font-size: 17px; font-weight: 500; line-height: 1; text-shadow: 0 0 8px rgba(0,0,0,.2); white-space: nowrap;
}
.mb-right { display: flex; align-items: center; gap: 22px; }
.mb-right svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mb-right .mb-bat { width: 27px; }
.mb-clock { font-variant-numeric: tabular-nums; margin-left: 4px; }

/* the interactive layer sits over the screen, unmasked, so the balloon and
   the card are never faded by the crop */
.corner-ui { position: absolute; top: 11px; right: 11px; bottom: 0; left: 0; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--f-body); }
.dfile-nm { color: #fff; }

/* desktop files — macOS keeps them top-right, here just inside the bar */
.desk-files { position: absolute; top: 56px; right: 108px; display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.dfile {
  all: unset; position: relative; box-sizing: border-box; width: 124px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 6px 4px 4px; border-radius: 7px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}

.dfile:focus-visible .dfile-nm, .dfile:active .dfile-nm { background: #2f6fd6; }
.dfile:focus-visible { outline: none; }
/* selected, the way Finder shows it: a grey plate behind the icon, a blue label */
.dfile::before { content: ""; position: absolute; top: 2px; left: 50%; width: 80px; height: 76px; margin-left: -40px; border-radius: 6px; background: rgba(0,0,0,.2); opacity: 0; }
.dfile:focus-visible::before, .dfile:active::before { opacity: 1; }
.dfile:active { cursor: grabbing; }
.dfile.lifted { opacity: .35; }
/* the macOS arrow that shows, once, what the files are for */
.hint-cursor {
  position: absolute; left: 0; top: 0; z-index: 6; width: 26px; height: 26px; pointer-events: none;
  opacity: 0; transition: opacity .3s; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.35));
}
.hint-cursor.on { opacity: 1; }
.hint-cursor svg { width: 100%; height: 100%; transform-origin: 22% 12%; transition: transform .12s; }
.hint-cursor path { fill: #000; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.hint-cursor.press svg { transform: scale(.88); }
.hint-cursor.rest { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { translate: -4px -3px; } }
.paused .hint-cursor.rest { animation-play-state: paused; }
.drag-ghost.demo { position: absolute; z-index: 5; }
.dfile-ic { position: relative; display: block; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.25)) drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
/* document: macOS's page — white, dog-eared top-right, a Quick Look preview of the text */
.dfile-md { width: 52px; height: 66px; margin: 0 8px; }
.dfile-md i {
  position: absolute; inset: 0; border-radius: 4px; background: #fff;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
  padding: 13px 8px 0; display: flex; flex-direction: column; gap: 3.2px;
}
.dfile-md::after { /* the fold */
  content: ""; position: absolute; top: 0; right: 0; width: 15px; height: 15px;
  background: linear-gradient(225deg, transparent 50%, #e2e4e8 50%, #f4f5f7 100%);
  border-bottom-left-radius: 3px; box-shadow: -1px 1px 1.5px rgba(0,0,0,.12);
}
.dfile-md b { display: block; width: 60%; height: 3.4px; border-radius: 1px; background: #3a3d42; margin-bottom: 2px; }
.dfile-md s { display: block; height: 1.8px; border-radius: 1px; background: #a9adb4; }
.dfile-md s:nth-child(3) { width: 88%; } .dfile-md s:nth-child(4) { width: 94%; } .dfile-md s:nth-child(5) { width: 70%; }
.dfile-md s:nth-child(6) { width: 90%; margin-top: 3px; } .dfile-md s:nth-child(7) { width: 82%; }
/* image: a thumbnail with the thin white mat macOS draws */
.dfile-png { width: 70px; height: 50px; margin: 8px 0; padding: 2.5px; background: #fff; border-radius: 2px; }
.dfile-png i { position: absolute; inset: 2.5px; overflow: hidden; background: linear-gradient(170deg, #ffd690 0%, #ff9466 38%, #b0587a 62%, #2c3d6e 100%); }
.dfile-png i::before { content: ""; position: absolute; right: 22%; top: 20%; width: 9px; height: 9px; border-radius: 50%; background: #fff4d8; }
.dfile-png i::after { content: ""; position: absolute; inset: auto 0 0 0; height: 52%; background: #1d2547; clip-path: polygon(0 100%, 0 58%, 22% 26%, 44% 64%, 64% 34%, 100% 78%, 100% 100%); }
/* folder: the blue macOS folder, tab on the left */
.dfile-dir { width: 70px; height: 56px; margin: 5px 0; }
.dfile-dir::before { content: ""; position: absolute; left: 3px; top: 0; width: 28px; height: 12px; border-radius: 4px 6px 0 0; background: #4aa3e8; }
.dfile-dir::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 10px; border-radius: 3px; background: #6fb9f0; }
.dfile-dir i {
  position: absolute; left: 0; right: 0; bottom: 0; top: 11px; border-radius: 5px;
  background: linear-gradient(#7cc4f8, #4ea7ec); box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.dfile-dir i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px; border-radius: 1px; background: rgba(18, 70, 130, .35); }
.dfile-nm { max-width: 100%; padding: 1px 6px 2px; border-radius: 4px; font-size: 13px; font-weight: 500; line-height: 1.25; text-align: center; overflow-wrap: normal; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 1px rgba(0,0,0,.4); }
.drag-ghost { position: fixed; z-index: 60; pointer-events: none; margin: 0; color: #fff; font-family: -apple-system, BlinkMacSystemFont, var(--f-body); transform: translate(-50%, -60%); }
.drag-ghost .dfile-nm { background: #2f6fd6; text-shadow: none; }
.drag-ghost.fly { transition: left .32s var(--out), top .32s var(--out), transform .32s var(--out), opacity .32s; }

.hero-dock { position: absolute; right: 0; top: 150px; z-index: 3; }
.hero-dock .evbar { --k: 1.35; }

/* drop target: a soft ring round the mascot while a file hovers the bar */
.evb-head::after {
  content: ""; position: absolute; inset: 3px; border-radius: 15px; pointer-events: none;
  border: 1.5px solid rgba(255,255,255,.34); background: rgba(255,255,255,.06);
  opacity: 0; transform: scale(.86); transition: opacity .18s, transform .28s var(--spring);
}
.evb-head.catching::after { opacity: 1; transform: none; }

/* ───── the bar (shared by hero, demos and dock) ───── */
.evbar {
  --k: 1; --f: 12px; --w: 54px;
  position: relative; width: calc(var(--w) * var(--k)); flex: none;
  font-family: var(--f-body);
}
.evb {
  position: relative; transform: scale(var(--k)); transform-origin: right top;
  width: 54px; margin-left: auto; /* width in unscaled px; the scale does the rest */
}
.evb-body {
  /* The body is laid out once at its OPEN size and revealed with clip-path:
     growing it by width/height re-ran layout every frame and stuttered.
     clip-path and transform animate without touching layout. */
  position: absolute; right: 0; top: var(--f); width: 54px; height: 120px;
  background: var(--bar);
  clip-path: inset(0 0 0 0 round 16px 0 0 16px);
  transition: clip-path .26s var(--out);
}
.evb-flare { position: absolute; right: 0; top: 0; width: var(--f); height: var(--f); }
.evb-flare.t { background: radial-gradient(circle at 0 0, transparent calc(var(--f) - .5px), var(--bar) var(--f)); }
.evb-flare.b {
  background: radial-gradient(circle at 0 100%, transparent calc(var(--f) - .5px), var(--bar) var(--f));
  transition: transform .26s var(--out);
}
.evb-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.evb-head { position: absolute; right: 0; top: 0; width: 54px; height: 54px; display: grid; place-items: center; }
.evb-rows { position: absolute; right: 0; top: 54px; left: 0; }
.evb-row {
  position: absolute; right: 0; left: 0; height: 32px; display: flex; flex-direction: row-reverse; align-items: center;
  transition: transform .26s var(--out), opacity .2s;
}
.evb-row .cell { width: 54px; flex: none; display: grid; place-items: center; }
.evb-row .ground { position: absolute; inset: 1px 5px; border-radius: 9px; background: rgba(255,255,255,.09); opacity: 0; transition: opacity .12s; }
.evb-row.hover .ground { opacity: .5; } .evb-row.sel .ground { opacity: 1; }
.evb-row .names { min-width: 0; text-align: right; padding-left: 12px; opacity: 0; transform: translateX(6px); transition: opacity .12s, transform .2s var(--out); }
.evb-row .nm { display: block; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evb-row .st { display: block; color: var(--grey); font-size: 10.5px; line-height: 1.3; white-space: nowrap; }
.evb-row[data-phase="waiting"] .st { color: var(--amber); }
.evb-row .mach { font: 600 8.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--grey); margin-left: 5px; }
.evb-row[data-phase="idle"] .nm { color: var(--grey); }
.evb-more { font: 600 11px/1 var(--f-body); color: var(--grey); }
.evb-sum { position: absolute; right: 16px; left: 12px; text-align: right; font-size: 10.5px; color: var(--grey); white-space: nowrap; opacity: 0; transition: opacity .15s; }
/* usage block — UsageBlock.swift's numbers: 8 pt caps heading, 9 pt tabular lines, 3 pt meter */
.evb-usage { position: absolute; left: 14px; right: 16px; opacity: 0; transition: opacity .15s; pointer-events: none; }
.u-line { display: block; height: 1px; margin-bottom: 6px; background: rgba(255,255,255,.1); }
.u-head { display: flex; align-items: flex-end; height: 14px; padding-bottom: 1px; font: 600 8px/1 var(--f-body); letter-spacing: .1em; color: rgba(128,128,128,.72); }
.u-row { display: grid; grid-template-columns: 16px 1fr 28px 60px; align-items: center; gap: 6px; height: 14px; font: 500 9px/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.u-row em { font-style: normal; color: var(--grey); }
.u-meter { position: relative; height: 3px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.u-meter s { position: absolute; left: 0; top: 0; bottom: 0; min-width: 3px; border-radius: 2px; background: rgba(255,255,255,.55); }
.u-pct { text-align: right; color: rgba(255,255,255,.74); }
.u-tail { text-align: right; color: var(--grey); }
.u-row.hot .u-meter s { background: var(--amber); } .u-row.hot .u-pct { color: var(--amber); }
.evbar.open .evb-usage { opacity: 1; transition-delay: .08s; }
.evbar.open .evb-row .names, .evbar.open .evb-sum { opacity: 1; transform: none; transition-delay: .06s; }
.evbar.open .evb-row .names { transition: opacity .2s .08s, transform .26s .06s var(--out); }

/* detail card */
.evb-card {
  position: absolute; right: calc(100% + 8px); width: 244px; padding: 12px 12px 10px;
  background: #0b0b0c; color: #fff; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
  font-size: 11.5px; line-height: 1.4; opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity .16s, transform .22s var(--out);
}
.evbar.card-on .evb-card { opacity: 1; transform: none; pointer-events: auto; }
.evb-card .c-top { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12.5px; }
.evb-card .c-top em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--grey); font-size: 10.5px; }
.evb-card .c-st { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--amber); }
.evb-card .c-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.evb-card .c-st[data-phase="working"] { color: #fff; } .evb-card .c-st[data-phase="review"] { color: var(--green); }
.evb-card .c-st[data-phase="idle"] { color: var(--grey); } .evb-card .c-st[data-phase="failed"] { color: var(--red); }
.evb-card .c-tool { margin-top: 8px; color: var(--grey); }
.evb-card pre { margin: 4px 0 0; padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.07); font: 10.5px/1.45 var(--f-mono); white-space: pre-wrap; word-break: break-all; }
.evb-card .c-meta { margin-top: 8px; color: var(--grey); font-size: 10.5px; }
.evb-card .c-go { display: block; margin-top: 9px; padding: 7px; border-radius: 9px; text-align: center; background: rgba(255,255,255,.12); font-weight: 600; cursor: default; transition: background .12s; }
.evb-card .c-go:hover { background: rgba(255,255,255,.2); }

/* rings */
.ring { width: 20px; height: 20px; overflow: visible; color: var(--grey); }
.ring .base { fill: none; stroke: currentColor; stroke-width: 1.5; }
.ring .arc { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 11 42; opacity: 0; transform-origin: 10px 10px; }
.ring .gl { stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ring .gl-fill { fill: currentColor; stroke: none; }
.ring[data-phase="idle"] { color: #6a6a6a; } .ring[data-phase="idle"] .base { opacity: .55; }
.ring[data-phase="working"] { color: #fff; } .ring[data-phase="working"] .base { opacity: .2; }
.ring[data-phase="working"] .arc { opacity: 1; animation: spin 1.15s linear infinite; }
.ring[data-phase="waiting"] { color: var(--amber); animation: pulse 1.6s ease-in-out infinite; }
.ring[data-phase="review"] { color: var(--green); animation: glow 3.2s ease-out infinite; }
.ring[data-phase="failed"] { color: var(--red); }
.ring.dim { opacity: .4; animation: none !important; } .ring.dim .arc { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* opacity and scale only — animating filter repainted the ring every frame */
.ring[data-phase="waiting"], .ring[data-phase="review"] { transform-origin: 50% 50%; }
@keyframes pulse { 0%, 100% { opacity: .62; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes glow { 0% { opacity: 1; transform: scale(1.1); } 40%, 100% { opacity: .85; transform: scale(1); } }

/* mascot — geometry comes from MascotView.swift, set by evlat.js */
.mascot { position: relative; width: var(--s); height: var(--s); flex: none; }
.m-anim { position: absolute; inset: 0; }
.m-body {
  position: absolute; inset: 0; border-radius: 30%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .42s var(--spring);
}
.m-eyes { display: flex; align-items: center; transition: transform .42s var(--spring); }
/* eyes keep one box and are scaled: resizing them was layout on every gaze move */
.m-eye { width: calc(var(--s) * .13); height: calc(var(--s) * .30); background: rgba(0,0,0,.92); border-radius: 999px; transition: transform .42s var(--spring); }
.mascot.blink .m-eye { transition-duration: .07s; transition-timing-function: ease-out; }
.mascot[data-phase="idle"] .m-anim { animation: breathe 4s ease-in-out infinite; }
.mascot[data-phase="working"] .m-anim { animation: bob 1.3s ease-in-out infinite; }
.mascot[data-phase="waiting"] .m-anim { animation: lean 1.6s ease-in-out infinite; }
.mascot.shake .m-anim { animation: shake .5s ease-out 1; }
@keyframes breathe { 50% { transform: scale(1.02); } }
@keyframes bob { 50% { transform: translateY(-4%); } }
@keyframes lean { 50% { transform: scale(1.045) translateY(-2%); } }
@keyframes shake { 15% { transform: translateX(-9%); } 35% { transform: translateX(7%); } 55% { transform: translateX(-4%); } 75% { transform: translateX(2%); } 100% { transform: none; } }

/* paused when off-screen: a still page draws nothing, like the bar */
.paused .ring, .paused .ring .arc, .paused .m-anim { animation-play-state: paused !important; }

/* chat balloon, out of the mascot (the app's `ChatPanel`) */
.evb-head { cursor: pointer; }
.evbar.chat-on .evb-head .mascot { filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }
.cb {
  position: absolute; right: calc(var(--bar-w) + 12px); z-index: 5;
  width: 340px; max-width: calc(100vw - var(--bar-w) - 36px);
  display: flex; flex-direction: column; padding: 12px; border-radius: 20px;
  background: #0b0b0c; color: #fff; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); font-size: 13.5px; line-height: 1.45; text-align: left;
  transform-origin: right 26px; animation: cb-in .26s var(--spring);
}
@keyframes cb-in { from { opacity: 0; transform: translateX(8px) scale(.94); } }
.cb-tail { position: absolute; right: -7px; top: 19px; width: 13px; height: 13px; background: #0b0b0c; transform: rotate(45deg); border-top: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
.cb-head { display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; }
.cb-head b { font-size: 13px; }
.cb-head em { font-style: normal; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.cb-x { all: unset; margin-left: auto; width: 22px; height: 22px; border-radius: 7px; text-align: center; line-height: 22px; color: var(--grey); cursor: pointer; font-size: 16px; }
.cb-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.cb-x:focus-visible { outline: 2px solid var(--pen); }
.cb-log { max-height: 290px; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.cb-log .bl-msg:last-child { margin-bottom: 4px; }
.cb-log a { color: var(--amber); font-weight: 600; }
.cb-log em { color: var(--grey); font-style: normal; }
.cb-log code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: #fff; }
.cb-log .perm { margin-top: 2px; }
.cb-log .pb { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 600; }
.cb-log .pb-yes { background: #f5a524; color: #1b1406; }
.cb-log .pb:disabled { opacity: .4; cursor: default; }
.cb-log .pb:focus-visible { outline: 2px solid #f5c469; }
.cb-file { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.cb-file-ic { width: 14px; height: 17px; border-radius: 2px; background: #e7e9ed; flex: none; }
.cb-file-ic.dir { width: 18px; height: 14px; border-radius: 3px; background: #5aaef0; }
.cb-file-ic.png { width: 18px; height: 14px; background: linear-gradient(160deg, #7fd1e0, #4b62c9); border: 1.5px solid #fff; }
.cb-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.cb-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: dot 1s ease-in-out infinite; }
.cb-dots i:nth-child(2) { animation-delay: .15s; } .cb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .3; transform: translateY(-2px); } }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cb-chips button {
  all: unset; cursor: pointer; padding: 5px 10px; border-radius: 999px; font-size: 12px;
  border: 1px solid rgba(255,255,255,.18); color: #e8e8e8; transition: background .12s;
}
.cb-chips button:hover { background: rgba(255,255,255,.1); }
.cb-chips button:disabled { opacity: .35; cursor: default; }
.cb-chips button:focus-visible { outline: 2px solid var(--pen); }
.cb-in { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 8px 0 11px; border-radius: 12px; background: rgba(255,255,255,.06); }
.cb-in input { all: unset; flex: 1; min-width: 0; padding: 9px 0; color: #fff; font-size: 13.5px; }
.cb-in input::placeholder { color: var(--grey); }
.cb-in kbd { background: transparent; border-color: rgba(255,255,255,.2); color: var(--grey); font-size: 10px; }

/* ───── dock: the bar follows you down the page ───── */
.dock {
  position: fixed; right: 0; top: 50%; z-index: 20; transform: translate(110%, -50%);
  transition: transform .45s var(--out); will-change: transform;
}
.dock.on { transform: translate(0, -50%); }
@media (max-width: 1239px) { .dock { display: none; } }

/* ───── 1 · states ───── */
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.state { position: relative; padding: 26px 24px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--rule); }
.state-face { width: 92px; height: 92px; border-radius: 26px; background: var(--bar); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--bar-edge); }
.state-ring { position: absolute; top: 26px; right: 24px; padding: 10px; border-radius: 12px; background: var(--bar); }
.state h3 { margin: 22px 0 6px; font: 700 24px/1.1 var(--f-display); letter-spacing: -.02em; }
.state p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.state .state-do { margin-top: 16px; font-size: 22px; }
.state-hot h3 { color: var(--ink); }
.state-hot { border-color: color-mix(in srgb, var(--amber) 60%, var(--rule)); }
/* one hand-drawn underline under the state that asks something of you */
.underlined { position: relative; display: inline-block; }
.scribble-line { position: absolute; left: -2px; right: -4px; bottom: -7px; width: calc(100% + 6px); height: 10px; overflow: visible; pointer-events: none; }
.scribble-line path { fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.js .scribble-line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.seen .scribble-line path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s .3s var(--out); }

.wire { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; margin-top: 40px; align-items: start; }
.wire-code { grid-row: span 2; padding: 20px 22px; border-radius: 16px; background: var(--bar); color: #d7d9dc; font-size: 13px; line-height: 2; overflow-x: auto; }
.wire-code div { display: grid; grid-template-columns: minmax(max-content, 1fr) 24px auto; gap: 8px; white-space: nowrap; }
.wire-code i { font-style: normal; color: var(--grey); text-align: center; }
.wire-code b { font-weight: 500; }
.wire-no { color: var(--grey); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.wire-no b { color: var(--grey); text-decoration: none; }
.wire-note { margin: 4px 0 0; font-size: 26px; line-height: 1.15; }
.wire-body { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ───── 2 · layers ───── */
.layers { display: grid; grid-template-columns: .55fr 1fr 1.95fr; gap: 18px; margin-top: 52px; align-items: stretch; }
.layer { margin: 0; display: flex; flex-direction: column; }
.layer-view {
  position: relative; height: 430px; display: flex; justify-content: flex-end; align-items: center;
  border-radius: 18px 0 0 18px; border-right: 3px solid var(--ink);
  background: color-mix(in srgb, var(--card) 70%, transparent); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.layer-view .evbar { --k: 1.1; }
.layer figcaption { padding: 18px 4px 0; font-size: 15px; color: var(--ink-2); }
.layer figcaption b { display: block; color: var(--ink); font: 700 20px/1.2 var(--f-display); letter-spacing: -.015em; margin-bottom: 6px; }
.layer figcaption em { font-style: normal; font-weight: 600; color: var(--ink); }
.layer-note { position: absolute; left: 18px; top: 14px; margin: 0; font-size: 21px; max-width: 12em; line-height: 1.05; }

/* ───── 3 · faces ───── */
.faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.face { margin: 0; }
.face-tile { aspect-ratio: 1; border-radius: 22px; background: var(--bar); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--bar-edge); }
.face-hot .face-tile { box-shadow: 0 0 0 2px var(--amber); }
.face figcaption { padding: 12px 2px 0; }
.face figcaption b { display: block; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.face figcaption .hand { display: block; margin-top: 6px; font-size: 21px; line-height: 1.05; }
.priority { margin: 30px 0 0; font-size: 13.5px; color: var(--ink-2); }
.priority b { font-weight: 500; color: var(--ink); }
.priority b.c-red { color: var(--red); } .priority b.c-green { color: #1f9e46; } .priority b.c-amber { color: #c98200; } .priority b.c-grey { color: var(--pencil); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .priority b.c-green { color: var(--green); } :root:not([data-theme="light"]) .priority b.c-amber { color: var(--amber); } }

/* ───── 4 · chat ───── */
.chat-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--pen); border-bottom: 2px solid var(--pen); transform: rotate(-45deg); }
.chat-demo { position: relative; display: flex; align-items: flex-start; justify-content: flex-end; gap: 0; padding: 20px 0; border-right: 3px solid var(--ink); }
.chat-bar { background: var(--bar); width: 54px; height: 190px; border-radius: 16px 0 0 16px; display: flex; justify-content: center; padding-top: 10px; flex: none; }
.balloon {
  position: relative; width: min(360px, 100%); margin: 4px 14px 0 0; padding: 14px; border-radius: 20px;
  background: #0b0b0c; color: #fff; box-shadow: 0 30px 60px -28px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px; line-height: 1.45;
}
.bl-tail { position: absolute; right: -7px; top: 18px; width: 14px; height: 14px; background: #0b0b0c; transform: rotate(45deg); border-top: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
.bl-msg { padding: 8px 11px; border-radius: 13px; margin-bottom: 8px; max-width: 88%; }
.bl-me { margin-left: auto; background: rgba(255,255,255,.12); }
.bl-it { color: #e8e8e8; padding-left: 2px; }
.bl-it code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: #fff; }
.perm { border-radius: 13px; background: #211a0c; border: 1px solid #6b4f16; padding: 10px 11px; }
.perm-t { color: #f5c469; font-weight: 600; font-size: 12.5px; }
.perm pre { margin: 6px 0 9px; font-size: 12px; color: #fff; white-space: pre-wrap; }
.perm-b { display: flex; gap: 6px; }
.pb { padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 600; }
.pb-yes { background: #f5a524; color: #1b1406; }
.bl-input { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--grey); }
.bl-input kbd { background: transparent; border-color: rgba(255,255,255,.2); color: var(--grey); font-size: 10px; }

/* ───── 5 · tiles ───── */
.block-head-row { max-width: none; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tile { padding: 14px 14px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); }
.tile h3 { margin: 18px 6px 6px; font: 700 18px/1.2 var(--f-display); letter-spacing: -.015em; }
.tile p { margin: 0 6px; font-size: 14.5px; color: var(--ink-2); }
.tile-art { height: 132px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.tile-art-dark { background: var(--bar); color: #fff; box-shadow: inset 0 0 0 1px var(--bar-edge); }
.tile-art-dark .ring { width: 26px; height: 26px; }
.tile .tile-art-dark p { margin: 0; color: #fff; }
.usage { flex-direction: column; align-items: stretch; justify-content: center; gap: 3px; padding: 0 16px; font-size: 10.5px; }
.tile .usage p { margin: 0; font-size: 10.5px; white-space: nowrap; }
.u-h { color: var(--grey); letter-spacing: .14em; font-size: 9px; margin-top: 4px !important; }
.u-r { display: grid; grid-template-columns: 18px 1fr 30px 52px; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.u-r i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.u-r s { display: block; height: 100%; width: calc(var(--v) * 100%); background: #fff; border-radius: 2px; }
.u-r em { font-style: normal; color: var(--grey); text-align: right; }
.u-hot, .u-hot s { color: var(--amber); } .u-hot s { background: var(--amber); }
.remote { flex-direction: column; align-items: stretch; gap: 8px; padding: 0 18px; }
.remote p { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 13px; }
.remote .ring { width: 20px; height: 20px; }
.remote em { font-style: normal; font-size: 9px; letter-spacing: .12em; color: var(--grey); }
.remote .dim { opacity: .45; } .remote .dim .ring { animation: none; } .remote .dim .arc { animation: none; }
.remote small { color: var(--grey); font-size: 10px; padding-left: 29px; margin-top: -6px; }
.edges { position: relative; background: color-mix(in srgb, var(--paper-2) 80%, transparent); border: 1px dashed var(--pencil); justify-content: space-between; padding: 0; overflow: hidden; }
.edges span { width: 16px; height: 62px; background: var(--bar); position: relative; }
.edges .edge-l { border-radius: 0 8px 8px 0; } .edges .edge-r { border-radius: 8px 0 0 8px; }
.edges i { position: absolute; left: 3px; top: 6px; width: 10px; height: 10px; border-radius: 3px; background: #fff; }

/* ───── 6 · quiet ───── */
.quiet { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.spec { margin: 0; display: grid; }
.spec div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.spec div:last-child { border-bottom: 1px solid var(--rule); }
.spec dt { font: 500 12.5px/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.spec dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ───── install ───── */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: s; position: relative; padding: 22px 22px 24px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font: 700 38px/1 var(--f-hand); color: var(--pen); margin-bottom: 8px; }
.steps h3 { margin: 0 0 8px; font: 700 20px/1.2 var(--f-display); letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.install-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.install-cta .meta { flex-basis: 100%; margin-top: 4px; }

/* ───── footer ───── */
.foot {
  max-width: var(--max); margin: clamp(90px, 12vw, 160px) auto 0; padding: 28px var(--gutter) 44px;
  display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 14px;
}
.foot p { margin: 0; }
.foot nav { margin-left: auto; display: flex; gap: 18px; }
.foot nav a { text-decoration: none; } .foot nav a:hover { color: var(--ink); }

/* ───── responsive ───── */
@media (max-width: 1080px) {
  .layers { grid-template-columns: 1fr 1fr; }
  .layer-wide { grid-column: span 2; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-dock .evbar { --k: 1.15; }
  .stage { height: 560px; margin-right: calc(var(--gutter) * -1); }
  .corner { left: -10%; }
  .mac-display { border-radius: 0; padding-right: 0; }
  .screen { border-radius: 0; }
  .corner-ui { right: 0; }
  .try .arrow { transform: rotate(60deg); }
  .states { grid-template-columns: 1fr; }
  .wire { grid-template-columns: 1fr; }
  .wire-code { grid-row: auto; }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chat-block { grid-template-columns: 1fr; }
  .quiet { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stage { height: 520px; }
  .corner { left: -4%; }
  .wire-code { font-size: 11.5px; padding: 16px; }
  .menubar { height: 34px; padding-right: 16px; font-size: 14px; }
  .mb-right { gap: 14px; }
  .mb-right svg { width: 17px; height: 17px; } .mb-right .mb-bat { width: 22px; }
  .mb-right svg:nth-child(1), .mb-right svg:nth-child(3) { display: none; }
  .hero-dock { top: 110px; }
  .hero-dock .evbar { --k: 1.1; }
  .desk-files { top: 52px; right: 84px; }
  .dfile { width: 110px; }
  .try { font-size: 20px; }
  .layers { grid-template-columns: 1fr; }
  .layer-wide { grid-column: auto; }
  .layer-wide .layer-view { justify-content: flex-end; overflow: hidden; }
  .layer-wide .evbar { --k: .9; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .nav { gap: 10px; }
  .nav .btn-sm { display: none; }
  .foot { flex-wrap: wrap; }
  .foot nav { margin-left: 0; }
  .chat-bar { width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
