/* MenuBark: a Mac screen with something keeping watch on it. Enamel plates on a sky-blue desktop. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  /* the sky, and three fired inks */
  --sky-top: #5aa4f0;
  --sky-low: #b5dcfc;
  --sky-deep: #1a56b0;
  --white: #efefec;             /* enamel white; the glaze lifts it to pure white where the light falls */
  --ink: #161616;
  --red: #d92b21;

  /* macOS, rendered as it is */
  --mac-window: #f6f6f6;
  --mac-bar: #e9e9eb;
  --mac-text: #1d1d1f;
  --mac-text-2: #636368;
  --mac-line: rgba(0, 0, 0, .1);
  --mac-blue: #0a6fe8;
  --mac-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --mac-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --sign: "Barlow Condensed", "Arial Narrow", sans-serif;
  --prose: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 88px);
  --bar-h: 32px;
  --ease-out: cubic-bezier(.22, 1, .36, 1); /* the one curve */
  --t-press: .15s;  /* hover, press, toggles */
  --t-menu: .2s;    /* menus and small surfaces */
  --t-enter: .4s;   /* things that arrive */

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 20px); scrollbar-color: rgba(15, 28, 46, .45) var(--sky-low); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background-color: #86c0f6;
  color: var(--ink);
  font-family: var(--prose);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* the desktop picture: it stays put, like a wallpaper, while the page scrolls over it */
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: #86c0f6 url("wallpaper.svg") center / cover no-repeat;
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--sky-low); }
::-webkit-scrollbar-thumb { background: rgba(15, 28, 46, .4); border: 3px solid var(--sky-low); border-radius: 8px; }
img, svg { display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 40px; }

.mark { overflow: visible; }
.dot { fill: var(--dot, currentColor); }

/* ───────────────────────── the menu bar (site nav) ───────────────────────── */

.menubar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 2px;
  padding: 0 10px;
  font-family: var(--mac-ui); font-size: 13px; font-weight: 500;
  color: var(--mac-text);
  /* the bar is tinted by the desktop picture alone, as on a Mac: what scrolls past never shows through it */
  background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)), #86c0f6 url("wallpaper.svg") center / cover fixed;
  box-shadow: 0 .5px 0 rgba(0, 0, 0, .14);
}
.mb-slot { position: relative; }
.mb-item {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 8px;
  border: 0; border-radius: 5px; background: none;
  text-decoration: none; white-space: nowrap;
}
.mb-item:hover, .mb-item[aria-expanded="true"] { background: rgba(0, 0, 0, .1); }
.mb-item:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.mb-app { font-weight: 700; --dot: var(--red); }
.mb-app .mark { width: 16px; height: 16px; }
.mb-links { display: flex; gap: 2px; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.mb-cta { font-weight: 600; }
.mb-status .mark { width: 16px; height: 16px; }
.mb-status.has-watches { --dot: var(--red); }
.mb-count { font-variant-numeric: tabular-nums; } /* a plain number beside the mark, as the app shows it */
.mb-sound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mb-sound .wave, .mb-sound .mute { transition: opacity var(--t-press); }
.mb-sound[aria-pressed="false"] .wave { opacity: 0; }
.mb-sound[aria-pressed="true"] .mute { opacity: 0; }
.mb-clock { font-variant-numeric: tabular-nums; cursor: default; }
.mb-clock:hover { background: none; }

.mb-status .dot { transform-box: fill-box; transform-origin: center; }
.mb-status.is-barking .dot { animation: pop var(--t-enter) var(--ease-out) 2; }
.mb-status.is-barking .mark { animation: nudge var(--t-enter) var(--ease-out) 2; }
@keyframes pop { 0% { transform: none; } 30% { transform: scale(1.6); } 100% { transform: none; } }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateY(-2px); } }

/* dropdown menus, as macOS draws them */
.menu {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 60;
  min-width: 232px; padding: 4px;
  font: 500 13px/1.34 var(--mac-ui); color: var(--mac-text);
  background: rgba(242, 242, 242, .88);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  border-radius: 8px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .26), 0 12px 36px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--t-menu), transform var(--t-menu) var(--ease-out), visibility 0s var(--t-menu);
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu--right { left: auto; right: 0; min-width: 300px; }
.menu a, .menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 4px 8px; border: 0; border-radius: 4px; background: none;
  text-align: left; text-decoration: none; color: inherit;
}
.menu a:hover, .menu button:hover, .menu a:focus-visible, .menu button:focus-visible { background: var(--mac-blue); color: #fff; outline: none; }
.menu kbd { margin-left: auto; font: inherit; color: var(--mac-text-2); }
.menu a:hover kbd, .menu button:hover kbd, .menu button:focus-visible kbd { color: rgba(255, 255, 255, .85); }
.menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, .12); margin: 4px 8px; }
.menu .m-head { padding: 4px 8px 2px; font-size: 12px; font-weight: 600; color: var(--mac-text-2); }
.m-watch { display: grid; grid-template-columns: 40px 1fr; gap: 2px 8px; padding: 6px 8px; }
.m-watch .thumb { grid-row: span 2; width: 40px; height: 28px; border-radius: 4px; overflow: hidden; position: relative; background: #ddd; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); }
.m-watch .m-cmd { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-watch .m-state { font: 600 12px/1.2 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: var(--mac-text-2); }
.m-empty { padding: 4px 8px 6px; color: var(--mac-text-2); }

/* ───────────────────────── enamel plates ───────────────────────── */

.plate {
  --plate: var(--white);
  --plate-ink: var(--ink);
  --rim: 24px;
  position: relative;
  background-color: var(--plate);
  color: var(--plate-ink);
  border-radius: 32px;
  padding: calc(var(--rim) + 24px);
  box-shadow:
    inset 0 0 0 1px rgba(20, 30, 50, .3),          /* bare iron at the very edge */
    inset 0 3px 2px rgba(255, 255, 255, .85),      /* the rolled rim catches light on top */
    inset 0 -6px 5px rgba(0, 0, 0, .15),           /* and falls into shade below */
    inset 5px 0 5px -3px rgba(255, 255, 255, .5),
    inset -5px 0 5px -3px rgba(0, 0, 0, .09),
    0 1px 1px rgba(10, 40, 90, .35),
    8px 26px 44px -18px rgba(10, 40, 90, .62);
  isolation: isolate;
}
.plate::before { /* the fired border line, inset from the rolled edge */
  content: ""; position: absolute; inset: var(--rim); z-index: -1;
  border: 4px solid currentColor; border-radius: 8px; /* the plate's 32, less the rim */
  pointer-events: none;
}
.plate::after { /* the glaze: one light, fixed to the viewer, so its glare travels across each plate as the page scrolls */
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background:
    radial-gradient(ellipse 46vw 38vh at 30vw 20vh, rgba(255, 255, 255, var(--gloss, .95)), rgba(255, 255, 255, 0) 72%) fixed,
    radial-gradient(farthest-corner at 30vw 20vh, rgba(12, 30, 70, 0) 30%, rgba(12, 30, 70, var(--shade, .16)) 100%) fixed;
  pointer-events: none;
}
.plate--ink { --plate: var(--ink); --plate-ink: var(--white); --gloss: .3; --shade: .4; }
.plate--red { --plate: var(--red); --plate-ink: #fff; --gloss: .34; --shade: .3; }

.screw {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #f4f5f6, #a6aab0 55%, #70767d);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .45), inset 0 0 0 .5px rgba(0, 0, 0, .3), 0 0 0 2px rgba(40, 30, 24, .55), 0 0 0 3.5px rgba(150, 84, 40, .22); /* the hole's iron lip, and a breath of rust */
}
.screw::after {
  content: ""; position: absolute; left: 1.5px; right: 1.5px; top: 5.2px; height: 1.6px; border-radius: 1px;
  background: #4a4e54; transform: rotate(var(--turn, 20deg));
}
.screw.tl { top: 12px; left: 12px; }
.screw.tr { top: 12px; right: 12px; --turn: -35deg; }
.screw.bl { bottom: 12px; left: 12px; --turn: 70deg; }
.screw.br { bottom: 12px; right: 12px; --turn: 5deg; }

/* ───────────────────────── sections on the desk ───────────────────────── */

.desk { position: relative; padding: 0 var(--gutter); }
.section { padding-top: clamp(96px, 13vw, 176px); }
.legend {
  font-family: var(--sign); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: .92; letter-spacing: -.005em;
  margin: 0; text-wrap: balance;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 34em; margin: 24px 0 0; font-weight: 500; }

/* ───────────────────────── hero ───────────────────────── */

.hero {
  --u: min(1vw, 14.4px); /* the hero's desktop is laid out in these, so it scales as one picture */
  max-width: calc(1296px + 2 * var(--gutter)); margin: 0 auto;
  min-height: max(100vh, calc(var(--bar-h) + 62 * var(--u)));
  padding-top: calc(var(--bar-h) + clamp(28px, 6vh, 72px)); padding-bottom: 72px;
}
.hero-plate { width: min(63vw, 900px); }
.hero h1 { margin: 0; font-family: var(--sign); text-transform: uppercase; letter-spacing: -.005em; }
.h1-lead { display: block; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: .02em; }
.h1-cond {
  display: block; margin-top: .1em;
  font-weight: 800; font-size: clamp(3.1rem, 8.3vw, 7.5rem); line-height: .9;
  min-height: 1.8em; /* two lines held so the plate never jumps */
  max-width: 6.2em;  /* and every condition breaks into two */
}
.caret { display: inline-block; width: .085em; height: .78em; margin-left: .05em; vertical-align: -.03em; background: var(--red); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero .lede { max-width: 31em; }

/* the doorbell: e-mail field set into a plate */
.bell { margin-top: 32px; max-width: 560px; }
.bell-row { display: flex; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 3px var(--ink); overflow: hidden; }
.bell input[type="email"] {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  padding: 16px 20px; font-size: 18px; font-weight: 500; color: var(--ink); caret-color: var(--red);
}
.bell input::placeholder { color: #60615d; }
.bell button {
  display: flex; align-items: center; gap: 10px;
  border: 0; margin: 6px; padding: 0 20px; border-radius: 10px;
  background: var(--ink); color: #fff;
  font-family: var(--sign); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-press);
}
.bell button:hover { background: #303030; }
.bell button:active { transform: scale(.97); }
.bell button[disabled] { opacity: .7; cursor: progress; }
.bell .knob { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
.bell-row:focus-within { box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 4px rgba(22, 22, 22, .22); }
.bell-note { margin: 8px 4px 0; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.bell-note.is-error { font-weight: 600; color: #a81d14; }
.bell.is-done { position: relative; }
.bell.is-done .bell-row { visibility: hidden; } /* keeps its room, so the plate doesn't change size */
.bell.is-done .bell-note {
  position: absolute; inset: 0 0 auto 0; height: calc(100% - 1.5em - 8px); margin: 0;
  display: flex; align-items: center; gap: 12px;
  font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1.05 var(--sign); text-transform: uppercase; letter-spacing: .01em;
}
.bell.is-done .bell-note::before { content: ""; flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--red); }
.bell.is-done::after { content: "One e-mail when it’s ready. Nothing else."; display: block; margin: 8px 4px 0; font-size: 15px; font-weight: 500; min-height: 1.5em; }

/* the hero scene: macOS windows overlapping the plate */
.scene { position: absolute; inset: 0 var(--gutter); z-index: 3; pointer-events: none; }
.scene .win { position: absolute; transition: box-shadow var(--t-enter); }
.scene .win.is-front { z-index: 2; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .34), 0 1px 1px rgba(0, 0, 0, .1), 0 34px 64px -14px rgba(8, 34, 80, .72); }
.scene .win:not(.is-front) .lights i { background: #cfcfd3; }
.scene .win--dark:not(.is-front) .lights i { background: #4a4a4d; }
.w-export { right: 0; top: calc(var(--bar-h) + 8.4 * var(--u)); width: clamp(330px, 29.2 * var(--u), 420px); }
.w-price { left: 61%; top: calc(var(--bar-h) + 24.4 * var(--u)); width: clamp(300px, 25 * var(--u), 360px); }
.w-build { right: 0; top: calc(var(--bar-h) + 37.5 * var(--u)); width: clamp(340px, 29.2 * var(--u), 420px); }
.w-phone { left: 40%; top: calc(var(--bar-h) + 40 * var(--u)); width: clamp(240px, 19.5 * var(--u), 280px); z-index: 3; }
.scene .target { display: block; margin-top: 20px; }
.scene .price-row .target { margin-top: 0; }
.scene .term .target { display: inline-block; margin-top: 0; }
.scene .chat .target { margin-top: 0; }
.scene-caption { margin: 16px 0 0; }
.hero-notices { position: absolute; top: calc(var(--bar-h) + 8px); }

/* ───────────────────────── macOS windows ───────────────────────── */

.win {
  background: var(--mac-window); color: var(--mac-text);
  border-radius: 12px;
  font: 400 14px/1.4 var(--mac-ui);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 1px 1px rgba(0, 0, 0, .1), 0 26px 56px -14px rgba(8, 34, 80, .6);
  overflow: hidden;
}
.win-bar { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--mac-bar); border-bottom: 1px solid var(--mac-line); }
.lights { display: flex; gap: 8px; flex: none; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .2); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win-title { flex: 1; text-align: center; font-weight: 600; font-size: 13px; color: #4b4b4f; margin-right: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { padding: 20px; }
.win--dark { background: #1e1e1e; color: #e6e6e6; }
.win--dark .win-bar { background: #2b2b2b; border-color: rgba(255, 255, 255, .06); }
.win--dark .win-title { color: #b5b5b5; }
.url { flex: 1; margin-right: 44px; height: 24px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); font-size: 12px; color: #55555a; display: flex; align-items: center; justify-content: center; }

.progress { height: 8px; border-radius: 4px; background: #dcdcdf; overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; border-radius: 4px; background: var(--mac-blue); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); transition: transform var(--t-enter) var(--ease-out); }
.progress i.p87 { --fill: .87; }
.progress i.p100 { --fill: 1; }
.muted { color: var(--mac-text-2); font-size: 13px; }
.progress + .muted { margin-top: 8px; }
.file-row { display: flex; gap: 12px; align-items: center; }
.file-ico { width: 32px; height: 40px; flex: none; }
.file-name { font-weight: 600; }
.price { font: 700 46px/1 var(--mac-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 8px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #e2f4e8; color: #11632f; margin-bottom: 10px; }
.term { font: 12px/1.67 var(--mac-mono); white-space: pre-wrap; min-height: 104px; }
.term .ok { color: #62d88f; font-weight: 700; }
.term .dim { color: #9a9a9a; }
.chat { display: flex; flex-direction: column; gap: 8px; min-height: 112px; justify-content: flex-end; }
.chat .target { align-self: flex-start; max-width: 80%; }
.bubble { max-width: 80%; padding: 8px 12px; border-radius: 18px; font-size: 14px; line-height: 1.3; }
.target > .bubble { max-width: none; }
.bubble.me { align-self: flex-end; background: var(--mac-blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: #e4e4e7; border-bottom-left-radius: 6px; }
.bubble.typing { display: inline-flex; gap: 4px; padding: 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e93; animation: typing-dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-dot { 30% { opacity: .3; transform: translateY(-2px); } }

/* ───────────────────────── the watch frame (mirrors the app) ───────────────────────── */

.watch {
  position: absolute; z-index: 5; pointer-events: none;
  border-radius: 5px;
  box-shadow: 0 0 0 2px var(--red), 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 4px rgba(0, 0, 0, .25);
}
.watch-tag {
  position: absolute; left: -2px; bottom: calc(100% + 8px);
  padding: 2px 8px; border-radius: 4px;
  background: var(--red); color: #fff;
  font: 700 12px/1.34 var(--sign); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  font-variant-numeric: tabular-nums;
}
.watch.tag-below .watch-tag { bottom: auto; top: calc(100% + 8px); }
.watch.is-drawn { animation: drawn var(--t-enter) var(--ease-out); transform-origin: 0 0; } /* drawn from its corner, like the drag that made it */
@keyframes drawn { from { transform: scale(.04); opacity: .3; } }
.watch.is-barked { animation: barked .32s steps(1) 3; }
@keyframes barked { 50% { background: rgba(217, 43, 33, .4); } }

/* ───────────────────────── notifications ───────────────────────── */

.notices { position: fixed; z-index: 70; top: calc(var(--bar-h) + 8px); right: 12px; width: min(360px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.notice {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 2px 12px; align-items: center;
  padding: 12px; border-radius: 16px;
  font: 400 13px/1.3 var(--mac-ui); color: var(--mac-text);
  background: rgba(248, 248, 248, .86);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .16), 0 14px 34px rgba(8, 34, 80, .32);
  transform: translateX(calc(100% + 24px));
  transition: transform var(--t-enter) var(--ease-out), opacity var(--t-menu);
}
.notice.is-in { transform: none; }
.notice.is-out { transform: translateX(calc(100% + 24px)); opacity: 0; transition: transform var(--t-enter) var(--ease-out), opacity var(--t-menu); }
.notice .app-ico { grid-row: span 2; }
.notice b { font-weight: 600; align-self: end; }
.notice .n-body { grid-column: 2; color: #48484c; font-size: 12px; align-self: start; font-variant-numeric: tabular-nums; }
.notice .n-thumb { grid-column: 3; grid-row: 1 / span 2; width: 48px; height: 40px; border-radius: 6px; overflow: hidden; position: relative; background: #ddd; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18); }
.app-ico { --dot: var(--red); width: 32px; height: 32px; border-radius: 8px; color: #fff; display: grid; place-items: center; background: linear-gradient(172deg, var(--sky-top), var(--sky-low)); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .45); }
.app-ico .mark { width: 20px; height: 20px; }

/* crop thumbnails: a live, scaled clone of what was boxed */
.crop { position: absolute; inset: 0; display: grid; place-items: center; background: #e4e4e7; }
.crop-view { position: relative; overflow: hidden; }
.crop-view > .crop-inner { position: absolute; left: 0; top: 0; right: auto; bottom: auto; margin: 0; transform-origin: 0 0; pointer-events: none; border-radius: 0; box-shadow: none; }

/* ───────────────────────── MenuBark's own panels (mirrors the app) ───────────────────────── */

.panel {
  width: 400px; max-width: 100%;
  padding: 16px; border-radius: 16px;
  font: 400 14px/1.4 var(--mac-ui); color: var(--mac-text);
  background: rgba(246, 246, 246, .93);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .28), 0 18px 46px rgba(8, 34, 80, .42);
}
.ask { display: flex; align-items: center; gap: 12px; --dot: var(--red); }
.ask .mark { width: 20px; height: 20px; color: var(--mac-text); flex: none; }
.ask input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 17px/1.3 var(--mac-ui); color: var(--mac-text); padding: 4px 0; caret-color: var(--mac-blue); }
.ask input::placeholder { color: #6e6e73; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips button {
  border: 0; padding: 4px 10px; border-radius: 6px;
  background: rgba(0, 0, 0, .07); color: var(--mac-text);
  font: 500 12px/1.34 var(--mac-ui);
}
.chips button:hover { background: rgba(0, 0, 0, .13); }
.card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.card .shot { width: 96px; height: 72px; border-radius: 8px; overflow: hidden; position: relative; background: #ddd; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); }
.card h3 { margin: 0 0 4px; font: 600 15px/1.3 var(--mac-ui); }
.card p { margin: 0; font-size: 14px; line-height: 1.45; color: #2c2c2e; }
.card strong { font-weight: 600; color: var(--mac-text); }
.read {
  display: inline-block; padding: 0 6px; border-radius: 5px;
  background: var(--red); color: #fff;
  font: 700 14px/1.45 var(--sign); letter-spacing: .03em; font-variant-numeric: tabular-nums;
}
.card-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .08); flex-wrap: wrap; }
.seg { display: inline-flex; padding: 2px; border-radius: 6px; background: rgba(0, 0, 0, .08); }
.seg > * { border: 0; background: none; padding: 2px 10px; border-radius: 4px; font: 500 12px/1.34 var(--mac-ui); color: var(--mac-text); }
.seg > [aria-pressed="true"], .seg > .seg-on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.cadence { font-size: 12px; color: var(--mac-text-2); }
.btns { margin-left: auto; display: flex; gap: 8px; }
.btn-mac { display: inline-block; border: 0; padding: 4px 12px; border-radius: 6px; font: 500 13px/1.4 var(--mac-ui); background: #fff; color: var(--mac-text); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 1px 1px rgba(0, 0, 0, .1); }
.btn-mac.primary { background: var(--mac-blue); color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .15); }
button.btn-mac:hover { filter: brightness(.96); }
button.btn-mac:active { filter: brightness(.9); }
button.btn-mac:focus-visible { outline: 3px solid rgba(10, 111, 232, .5); outline-offset: 1px; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ───────────────────────── try it: the playground desk ───────────────────────── */

.try-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; }
.try-head > .plate { max-width: 760px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.step {
  --rim: 8px;
  width: 116px; padding: 20px 8px 16px; border-radius: 16px; text-align: center;
  font-family: var(--sign); text-transform: uppercase;
  transition: background-color var(--t-menu), color var(--t-menu);
}
.step::before { border-width: 3px; border-radius: 8px; }
.step .no { display: block; font-weight: 800; font-size: 56px; line-height: .86; font-variant-numeric: tabular-nums; }
.step .what { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; letter-spacing: .05em; line-height: 1.1; }
.step.is-now { --plate: var(--red); --plate-ink: #fff; }

.display { /* the staged desk is a display of its own */
  margin-top: 36px; padding: 12px; border-radius: 32px;
  background: linear-gradient(180deg, #232427, #0c0c0d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 1px rgba(10, 40, 90, .4), 10px 34px 60px -24px rgba(10, 40, 90, .75);
}
.playdesk {
  position: relative;
  height: 648px; border-radius: 20px;
  background: linear-gradient(rgba(14, 62, 150, .62), rgba(20, 84, 180, .5)), var(--sky-deep) url("wallpaper.svg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  cursor: crosshair;
}
.pd-bar {
  position: absolute; inset: 0 0 auto 0; z-index: 1; height: 24px;
  display: flex; align-items: center; gap: 16px; padding: 0 12px;
  font: 500 12px/1 var(--mac-ui); color: #fff;
  background: rgba(8, 30, 80, .34);
}
.pd-bar b { font-weight: 700; }
.playdesk.is-selecting { touch-action: none; }
.playdesk .win { position: absolute; }
.pd-dl { left: 4%; top: 11%; width: 370px; }
.pd-queue { left: 41%; top: 19%; width: 390px; }
.pd-term { left: 8%; top: 49%; width: 430px; }
.pd-chat { right: 5%; top: 52%; width: 320px; }
.watchable { border-radius: 6px; }
.watchable:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.queue-no { font: 700 44px/1 var(--mac-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.queue-turn { display: inline-block; margin: 8px 0 4px; padding: 6px 14px; border-radius: 8px; background: #1a7f37; color: #fff; font-weight: 600; font-size: 14px; }
.playdesk .term { min-height: 112px; }
.playdesk .chat { min-height: 120px; }

.pd-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 16px;
  background: rgba(14, 22, 36, .86); color: #fff;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-size: 15px; font-weight: 500; white-space: nowrap; cursor: default;
}
.pd-hint kbd { font: 600 13px var(--mac-ui); padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .16); }
.pd-hint .go {
  border: 0; padding: 6px 12px; border-radius: 8px; background: var(--white); color: var(--ink);
  font: 600 13px/1.34 var(--mac-ui);
}
.pd-hint .go:hover { background: #fff; }
.pd-hint .go:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.pd-time { margin-left: auto; opacity: .86; }

.shade { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.shade .sel { position: absolute; border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 9999px rgba(6, 20, 48, .42); }
.shade .dims { position: absolute; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff; font: 500 12px/1.34 var(--mac-ui); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-panel { position: absolute; z-index: 8; cursor: default; opacity: 0; transform: translateY(-6px) scale(.98); transition: opacity var(--t-menu), transform var(--t-menu) var(--ease-out); user-select: text; -webkit-user-select: text; }
.pd-panel.is-on { opacity: 1; transform: none; }

/* ───────────────────────── it tells you what it sees ───────────────────────── */

.sees { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sees > .plate { position: sticky; top: calc(var(--bar-h) + 24px); }
.rules { list-style: none; margin: 24px 0 0; padding: 0; font-size: 18px; font-weight: 500; max-width: 34em; }
.rules li { padding: 12px 0; border-top: 1px solid rgba(246, 246, 243, .26); }
.rules li:last-child { padding-bottom: 0; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 8px; }
.stack .panel { width: auto; max-width: 400px; }
.stack figure { margin: 0; }
.stack figcaption { margin: 8px 0 0; }
.stack-note { justify-self: start; margin: 0; }
.stack figure:nth-child(2) { margin-left: clamp(0px, 4vw, 52px); margin-right: clamp(0px, -4vw, -52px); }
.stack figure:nth-child(3) { margin-left: clamp(0px, 1.5vw, 20px); }
.mini-shot { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; background: #fff; font: 700 20px/1 var(--mac-ui); letter-spacing: -.02em; color: var(--mac-text); text-align: center; }
.mini-shot small { display: block; font-size: 11px; font-weight: 500; color: var(--mac-text-2); letter-spacing: 0; }
.mini-shot--bar i { display: block; width: 68px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--mac-blue) 62%, #dcdcdf 62%); }
.mini-shot--term { background: #1e1e1e; color: #62d88f; font: 700 11px/1.3 var(--mac-mono); letter-spacing: 0; }

/* ───────────────────────── what it reads: the fingerpost ───────────────────────── */

.reads-intro { max-width: 900px; }
.post { position: relative; margin: 64px auto 0; max-width: 1100px; padding: 12px 0 0; }
.post::before { /* the iron pole */
  content: ""; position: absolute; left: 50%; top: -24px; bottom: 16px; width: 24px; margin-left: -12px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #101010, #44474a 38%, #1c1c1c 70%, #0d0d0d);
  box-shadow: 14px 20px 30px -10px rgba(10, 40, 90, .5);
}
.post::after { content: ""; position: absolute; left: 50%; top: -40px; width: 36px; height: 16px; margin-left: -18px; border-radius: 10px 10px 3px 3px; background: linear-gradient(90deg, #151515, #3d4043 40%, #151515); }
.signs { list-style: none; margin: 0; padding: 0 0 132px; display: grid; gap: 16px; position: relative; }
.signs::before { /* the collar the pole stands in */
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 48px; height: 16px; margin-left: -24px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(90deg, #101010, #44474a 38%, #1c1c1c 70%, #0d0d0d);
}
.signs::after { /* and its shadow on the ground */
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 224px; height: 24px; margin-left: -92px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 40, 90, .5), rgba(10, 40, 90, 0));
}
.signs li { filter: drop-shadow(0 12px 12px rgba(10, 40, 90, .38)); }
.sign::after { background: linear-gradient(112deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .2) 34%, rgba(255, 255, 255, 0) 52%, rgba(12, 30, 70, .1) 100%); }
.sign.is-cloud::after { background: linear-gradient(112deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .04) 36%, rgba(255, 255, 255, 0) 52%); }
.sign {
  --w: min(560px, 54%);
  width: var(--w);
  padding: 16px 64px 16px 56px; border-radius: 8px;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .6), inset 0 -3px 2px rgba(0, 0, 0, .13);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 50%, calc(100% - 36px) 100%, 0 100%);
  margin-left: calc(50% - 24px);
}
.sign::before { /* one bolt through the pole */
  inset: auto; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; z-index: 1;
  border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f2f3f5, #a6aab0 55%, #747a81);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.signs li:nth-child(even) .sign {
  margin-left: calc(50% + 24px - var(--w));
  padding: 16px 56px 16px 64px;
  clip-path: polygon(36px 0, 100% 0, 100% 100%, 36px 100%, 0 50%);
}
.signs li:nth-child(even) .sign::before { left: auto; right: 16px; }
.sign .say { display: block; font: 800 clamp(1.45rem, 2.3vw, 2.05rem)/1 var(--sign); text-transform: uppercase; }
.sign .how { display: block; margin-top: 6px; font: 500 15px/1.3 var(--prose); }
.sign.is-cloud { --plate: var(--ink); --plate-ink: var(--white); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .2), inset 0 -3px 2px rgba(0, 0, 0, .3); }
.post-key { position: absolute; left: 0; right: 0; bottom: 48px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 72px; }
.post-key .tag-note { justify-self: start; display: inline-flex; align-items: center; gap: 8px; }
.post-key .tag-note:first-child { justify-self: end; }
.post-key i { width: 18px; height: 12px; border-radius: 3px; flex: none; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.post-key i.y { background: var(--ink); }

/* ───────────────────────── privacy ───────────────────────── */

.private { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.private-plate { padding: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 72px); text-align: center; }
.private-word { font-size: clamp(3.2rem, 7.4vw, 6rem); line-height: .86; }
.private-sub { margin: 20px auto 0; max-width: 20em; font: 700 clamp(1.15rem, 1.9vw, 1.6rem)/1.12 var(--sign); text-transform: uppercase; letter-spacing: .03em; text-wrap: balance; }
.settings-stage { display: grid; gap: 12px; justify-items: start; }
.settings { width: 100%; font-size: 14px; }
.set-rows { list-style: none; margin: 0; padding: 8px 20px; }
.set-rows li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--mac-line); }
.set-rows li:first-child { border-top: 0; }
.set-rows li > div { flex: 1; }
.set-rows b { display: block; font-weight: 600; font-size: 15px; }
.set-rows span { display: block; margin-top: 2px; color: var(--mac-text-2); font-size: 13px; line-height: 1.4; max-width: 42em; }
.switch { /* the macOS switch */
  flex: none; width: 40px; height: 24px; padding: 2px; border: 0; border-radius: 12px;
  background: #d5d5d9; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12);
  transition: background-color var(--t-press) var(--ease-out);
}
.switch i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 0 0 .5px rgba(0, 0, 0, .08); transition: transform var(--t-press) var(--ease-out); }
.switch[aria-checked="true"] { background: #34c759; }
.switch[aria-checked="true"] i { transform: translateX(16px); }
.switch:focus-visible { outline: 3px solid rgba(10, 111, 232, .5); outline-offset: 2px; border-radius: 12px; }

/* ───────────────────────── phone ───────────────────────── */

.phone-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.phone-wrap .lede + .lede { margin-top: 12px; }
.phone-stage { display: grid; gap: 16px; justify-items: end; width: min(100%, 420px); }
.phone-stage .tag-note { justify-self: end; }
.mini-shot--done { gap: 4px; }
.mini-shot--done i { width: 34px; height: 4px; background: var(--mac-blue); }
.mirror { width: 318px; justify-self: center; }
.mirror-screen { display: flex; flex-direction: column; background: #dfe9f3; font: 400 14px/1.35 var(--mac-ui); color: #1c1c1e; }
.phone-top { padding: 8px 20px; display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; background: #fafafa; }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 4px 12px 12px; background: #fafafa; border-bottom: .5px solid rgba(0, 0, 0, .15); }
.phone-head .app-ico { border-radius: 50%; }
.phone-head b { display: block; font-size: 15px; font-weight: 600; }
.phone-head div span { font-size: 12px; color: #636368; }
.phone-chat { padding: 12px 8px 16px; display: flex; flex-direction: column; gap: 4px; }
.tg-day { align-self: center; padding: 2px 8px; margin-bottom: 4px; border-radius: 10px; background: rgba(30, 50, 80, .8); color: #fff; font-size: 12px; font-weight: 600; }
.tg { align-self: flex-start; width: 88%; border-radius: 16px; border-bottom-left-radius: 5px; background: #fff; overflow: hidden; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.tg-btns + .tg { margin-top: 8px; }
.tg-img { background: var(--mac-window); border-bottom: .5px solid rgba(0, 0, 0, .1); }
.tg-crop { padding: 12px; font-size: 13px; }
.tg-price { font: 700 26px/1.1 var(--mac-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tg p { margin: 0; padding: 8px 12px; font-size: 14px; }
.tg p small { font-size: 12px; color: #636368; }
.tg .tg-time { float: right; margin: 4px 0 0 8px; font-size: 11px; color: #636368; }
.tg-btns { width: 88%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tg-btns span { text-align: center; padding: 8px 4px; border-radius: 10px; background: rgba(30, 50, 80, .8); color: #fff; font-weight: 600; font-size: 13px; }

/* ───────────────────────── Telegram ───────────────────────── */
/* Telegram's logo keeps its own blue and appears only as a logo: beside the word, on a push, on the pairing panel. */

.tg-logo { width: 20px; height: 20px; flex: none; }
.tg-word { white-space: nowrap; font-weight: 600; }
.tg-word .tg-logo { display: inline-block; width: 1.05em; height: 1.05em; margin-right: .28em; vertical-align: -.16em; }

/* the phone in the hero: its lock screen, where every bark also lands */
.lock {
  padding: 12px 8px 8px; text-align: center; color: #fff;
  font: 400 13px/1.34 var(--mac-ui);
  background: linear-gradient(172deg, #123a7c, #2a6fc4);
}
.lock-date { font-weight: 500; opacity: .9; }
.lock-time { font: 600 56px/1 var(--mac-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 2px 0 12px; }
.lock-list { display: grid; gap: 6px; min-height: 124px; align-content: start; }
.push {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 0 8px; align-items: center;
  padding: 8px 10px; border-radius: 16px; text-align: left;
  background: rgba(250, 250, 250, .92); color: var(--mac-text);
  box-shadow: 0 4px 12px rgba(4, 20, 50, .25);
  transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out);
}
.push .tg-logo { grid-row: span 2; width: 28px; height: 28px; }
.push b { font-weight: 600; }
.push-when { font-size: 12px; color: var(--mac-text-2); font-variant-numeric: tabular-nums; }
.push-body { grid-column: 2 / span 2; color: #3a3a3c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.push.is-new { opacity: 0; transform: translateY(-12px); }
.push + .push { opacity: .7; }

/* the section: steps on the plate, the pairing panel and the chat beside it */
.tg-steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; max-width: 34em; font-weight: 500; }
.tg-steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(22, 22, 22, .2); }
.tg-steps li::before { content: counter(step); font: 800 28px/1 var(--sign); }
.tg-works { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 0; max-width: 34em; font-size: 16px; font-weight: 500; }
.tg-works .tg-logo { width: 28px; height: 28px; margin-top: 2px; }
.pair { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; width: min(400px, 100%); }
.pair-qr { width: 112px; height: 112px; border-radius: 8px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); }
.pair-qr path { fill: var(--mac-text); }
.pair h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 600 15px/1.3 var(--mac-ui); }
.pair p { margin: 0; font-size: 13px; line-height: 1.4; color: #2c2c2e; }
.pair .pair-wait { margin-top: 8px; color: var(--mac-text-2); }
.phone-head > .tg-logo { margin-left: auto; width: 24px; height: 24px; }

/* ───────────────────────── the close: ring the bell ───────────────────────── */

.close { padding-bottom: clamp(80px, 10vw, 140px); }
.close .plate { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.doorbell {
  width: 136px; height: 136px; border-radius: 50%; padding: 0;
  display: grid; place-items: center;
  background: radial-gradient(circle at 40% 32%, #46484b, #141414 70%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .2), 0 8px 16px rgba(0, 0, 0, .3);
  border: 0;
}
.doorbell span { width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 40% 32%, #ff6f61, var(--red) 55%, #9c1a12); box-shadow: inset 0 -3px 4px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .5); transition: transform var(--t-press) var(--ease-out); }
.doorbell:active span, .doorbell.is-rung span { transform: scale(.94); }
.close .bell { margin-top: 24px; }

/* ───────────────────────── footer ───────────────────────── */

.foot { display: flex; justify-content: center; padding: 0 var(--gutter) 14px; }
.dock { /* the page ends where a Mac screen does */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 24px;
  padding: 12px 24px; border-radius: 20px;
  font: 500 13px/1.3 var(--mac-ui); color: var(--mac-text);
  background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)), #86c0f6 url("wallpaper.svg") center / cover fixed;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .16), inset 0 0 0 1px rgba(255, 255, 255, .4), 0 12px 30px -10px rgba(8, 34, 80, .45);
}
.dock .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; --dot: var(--red); }
.dock .brand .mark { width: 16px; height: 16px; }
.dock nav { display: flex; gap: 20px; }
.dock a { text-decoration: none; }
.dock a:hover { text-decoration: underline; }

/* a note printed on a label, wherever something on the desktop needs saying */
.tag-note {
  display: inline-block; margin: 0; padding: 4px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .86); color: var(--mac-text);
  font: 500 13px/1.34 var(--mac-ui);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 2px 6px -2px rgba(8, 34, 80, .35);
}

/* ───────────────────────── text pages (privacy, legal, 404) ───────────────────────── */

.doc { padding: calc(var(--bar-h) + 56px) var(--gutter) 96px; }
.doc .plate { max-width: 860px; margin: 0 auto; --shade: .07; }
.doc h1 { margin: 0 0 6px; }
.doc h2 { font: 800 26px/1.1 var(--sign); text-transform: uppercase; margin: 36px 0 8px; }
.doc p, .doc li, .doc address { font-size: 17px; max-width: 65ch; font-style: normal; }
.doc p { margin: 0 0 12px; }
.doc ul { padding-left: 1.2em; margin: 0 0 12px; }
.doc .stamp { font-size: 15px; font-weight: 500; margin-bottom: 24px; }
.doc a { text-decoration: underline; }
.doc .lost { max-width: 720px; }
.doc .lost-home {
  display: inline-block; margin-top: 12px; padding: 12px 20px; border-radius: 10px;
  background: #fff; color: var(--ink); text-decoration: none;
  font: 700 20px/1 var(--sign); letter-spacing: .05em; text-transform: uppercase;
}
.doc .lost-home:hover { background: var(--white); }
.doc .lost-home:focus-visible { outline-color: #fff; }

/* ───────────────────────── responsive ───────────────────────── */

@media (max-width: 1180px) {
  /* no room for a whole desktop: one window at a time, under the plate */
  .hero { min-height: 0; padding-bottom: 64px; }
  .hero-plate { width: 100%; }
  /* the scene keeps a strip free above its window: that is where the notification lands, covering nothing */
  .scene { position: relative; inset: auto; width: min(100%, 520px); height: 592px; margin: 16px 0 0 auto; }
  .scene .win { inset: 84px 0 auto 0; width: auto; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out), visibility 0s var(--t-enter); }
  .scene .win.is-front, .scene .w-phone { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .scene .w-phone { inset: auto 0 0 auto; width: min(100%, 280px); }
  .hero-notices { right: var(--gutter); width: min(360px, calc(100% - 2 * var(--gutter))); }
  .pd-dl { left: 3%; width: 330px; }
  .pd-queue { left: 41%; width: 350px; }
  .pd-term { left: 4%; width: 380px; }
  .pd-chat { right: 3%; width: 290px; }
}

@media (max-width: 900px) {
  :root { --bar-h: 36px; }
  .mb-links { display: none; }
  .try-head { grid-template-columns: 1fr; }
  .playdesk { height: 1032px; cursor: default; }
  .display { padding: 8px; border-radius: 24px; margin-left: -4px; margin-right: -4px; }
  .playdesk { border-radius: 16px; }
  .pd-bar span:not(.pd-time) { display: none; }
  .pd-dl, .pd-queue, .pd-term, .pd-chat { left: 16px; right: 16px; width: auto; }
  .pd-dl { top: 56px; }
  .pd-queue { top: 244px; }
  .pd-term { top: 448px; }
  .pd-chat { top: 676px; }
  .pd-hint { white-space: normal; width: calc(100% - 32px); justify-content: space-between; bottom: 16px; }
  .pd-hint .kb { display: none; }
  .pd-hint .go { white-space: nowrap; flex: none; }
  .sees, .private, .phone-wrap { grid-template-columns: minmax(0, 1fr); }
  .sees > .plate { position: relative; top: 0; }
  .stack figure:nth-child(n) { margin-left: 0; margin-right: 0; }
  .phone-stage { width: 100%; justify-items: center; }
  .phone-stage .tag-note { justify-self: center; }
  .post { padding-left: 0; }
  .post::before { left: 24px; }
  .post::after { left: 24px; }
  .sign, .signs li:nth-child(even) .sign {
    --w: calc(100% - 4px);
    margin-left: 0; padding: 16px 56px 16px 56px;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%);
  }
  .signs li:nth-child(even) .sign::before { left: 16px; right: auto; }
  .signs::before { left: 24px; }
  .signs::after { left: 24px; }
  .post-key { left: 56px; bottom: 24px; grid-template-columns: 1fr; gap: 6px; }
  .post-key .tag-note, .post-key .tag-note:first-child { justify-self: start; }
  .close .plate { grid-template-columns: 1fr; justify-items: start; }
  .doorbell { width: 96px; height: 96px; }
  .doorbell span { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .plate { --rim: 16px; padding: calc(var(--rim) + 16px); border-radius: 24px; }
  .plate::before { border-width: 3px; border-radius: 8px; }
  .screw { width: 10px; height: 10px; }
  .screw::after { top: 4.2px; left: 1px; right: 1px; }
  .screw.tl, .screw.tr { top: 8px; } .screw.bl, .screw.br { bottom: 8px; }
  .screw.tl, .screw.bl { left: 8px; } .screw.tr, .screw.br { right: 8px; }
  .h1-cond { font-size: clamp(2.2rem, 11.4vw, 3.4rem); }
  .bell-row { flex-direction: column; background: transparent; box-shadow: none; gap: 8px; overflow: visible; }
  .bell-row:focus-within { box-shadow: none; }
  .bell input[type="email"] { background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 3px var(--ink); flex: none; }
  .bell input[type="email"]:focus { box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 4px rgba(22, 22, 22, .22); }
  .bell button { margin: 0; justify-content: center; padding: 16px 20px; border-radius: 12px; }
  .scene { height: 564px; }
  .mirror { width: min(318px, 100%); }
  .mb-cta:not(.mb-cta--keep), .mb-clock .long { display: none; }
  .menu--right { right: -56px; min-width: 0; width: min(300px, calc(100vw - 16px)); }
  .steps { gap: 8px; }
  .step { --rim: 8px; width: auto; flex: 1; padding: 20px 4px 16px; border-radius: 16px; }
  .step::before { border-width: 2px; border-radius: 8px; }
  .step .no { font-size: 44px; }
  .step .what { font-size: 12.5px; }
  .sign, .signs li:nth-child(even) .sign { padding: 12px 44px 12px 48px; }
  .card { grid-template-columns: 72px 1fr; gap: 12px; }
  .card .shot { width: 72px; height: 56px; }
  .mini-shot { font-size: 16px; }
  .btns { margin-left: 0; width: 100%; justify-content: flex-end; }
  .private-plate { padding: 56px 28px; }
  .set-rows { padding: 4px 16px; }
  .dock { border-radius: 16px; padding: 12px 16px; }
}

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