/* notchpals.everydaymactools.com: a toy shop window. Every scene is a believable Mac screen with real content and
   the app's own stage under the notch; the page around them stays white and quiet, with captions outside the scenes.
   White and cool light-grey surfaces, layered soft shadows, ink buttons, and the app's one blue (#2957F5) only where
   the app or macOS puts it. Plus Jakarta Sans for the site (OFL, fonts/OFL.txt); the system font inside the scenes. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --gallery: #f2f4f7;
  --line: #e3e7ee;
  --line-2: #d3d9e3;
  --ink: #0f1424;
  --ink-2: #1c2236;
  --body: #454c5d;
  --muted: #697082;
  --blue: #2957f5;
  --blue-soft: #e8eeff;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Plus Jakarta Sans", sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gut: 32px;
  --plank: 0 2px 3px rgba(15, 20, 36, .08), 0 20px 24px -16px rgba(15, 20, 36, .30);
  --overhang: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(41, 87, 245, .35); }
.link:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ buttons: the app's own shapes */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 22px; border-radius: 13px;
  font: 600 16px/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn svg { width: 18px; height: 18px; margin-right: 9px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 1px 2px rgba(15, 20, 36, .24), 0 10px 22px -10px rgba(15, 20, 36, .55); }
.btn--ink:hover { background: var(--ink-2); }
.btn--quiet { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(15, 20, 36, .05); }
.btn--quiet:hover { background: var(--gallery); }
.btn--sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn--sm svg { width: 16px; height: 16px; margin-right: 7px; }

/* ------------------------------------------------------------------ the site's bar */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 rgba(15, 20, 36, 0); transition: box-shadow .2s ease; }
.nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; margin: -2px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--body); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 10px; margin-left: auto; }

/* ------------------------------------------------------------------ the hero: the crew on the edge of a big white card */
/* Blip in the middle, a little larger; the others smaller towards the ends, all on their ledges at the card's top
   edge. Now and then one of them blinks or makes a face (site.js); hovering one lifts it and cycles its 8 faces. */
.hero { padding: 36px 0 104px; overflow: hidden; background: var(--gallery); }
.hero__in { width: min(1320px, calc(100% - 2 * var(--gut))); margin: 0 auto; }
.crowd__clip { position: relative; z-index: 2; }
.crowd { position: relative; display: flex; justify-content: center; align-items: flex-end; margin: 0; padding: 0 3%; list-style: none; }
.crowd__pal { flex: none; width: var(--w); margin: 0 -.45%; }
.crowd__pal--lead { position: relative; z-index: 1; }
.crowd__pal a { display: block; border-radius: 14px; }
.crowd__art { position: relative; display: block; aspect-ratio: 1; margin-bottom: calc((var(--ledge) - 1) * 100%); transition: transform .6s cubic-bezier(.22, 1, .36, 1); transform-origin: 50% 100%; }
.crowd__art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transition: opacity var(--fade, .26s) ease; }
/* A blink or a face fades in over the character, which then fades out beneath it; going back, the other way round. */
.crowd__art .crowd__face { opacity: 0; transition-delay: calc(var(--fade, .26s) * .55); }
.crowd__pal a:hover .crowd__art, .crowd__pal a:focus-visible .crowd__art, .crowd__pal.is-faces .crowd__art { transform: translateY(-6%); }
.crowd__pal.is-swap .crowd__face { opacity: 1; transition-delay: 0s; }
.crowd__pal.is-swap .crowd__art > img:first-child { opacity: 0; transition-delay: calc(var(--fade, .26s) * .55); }
.crowd__pal.is-faces .crowd__art > img { opacity: 0; transition: opacity .2s ease .14s; }
.hero__card { position: relative; z-index: 1; padding: clamp(44px, 5.2vw, 76px) 6% clamp(48px, 5.4vw, 80px); border-radius: 0 0 34px 34px; background: #fff; text-align: center;
  box-shadow: 0 1px 2px rgba(15, 20, 36, .05), 0 44px 80px -44px rgba(15, 20, 36, .34); }
.hero__card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; background: #e5e9ef; }
.hero h1 { max-width: 13ch; margin: 0 auto; font-size: clamp(44px, 7.4vw, 108px); line-height: .95; letter-spacing: -.052em; }
.hero .lead { max-width: 34ch; margin: 24px auto 0; font-size: clamp(18px, 1.65vw, 23px); }
.hero .hero__cta { justify-content: center; margin-top: 36px; }
.hero .fine { margin-top: 16px; }

/* They visit from your notch: the live Mac, its top edge cut by the section */
.visit { padding-top: 112px; overflow: hidden; }
.visit h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.038em; }

/* ------------------------------------------------------------------ the top of a page: the words left, the actions right */
.top { padding-top: 60px; overflow: hidden; }
.top__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; }
.top h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: .99; letter-spacing: -.048em; }
.lead { margin-top: 18px; max-width: 34ch; color: var(--body); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.top__act { justify-self: end; width: 100%; max-width: 430px; padding-bottom: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------------ a Mac, seen head on */
/* The lid: black glass with an aluminium rim. The hero's and a character's show the top edge, cut by the section;
   the day's are whole screens. The screen inside (.scr) is drawn in macOS points and zoomed to fit its lid. */
.mac {
  container: lid / inline-size;
  position: relative;
  width: min(1360px, calc(100% - 2 * var(--gut)));
  margin: 56px auto 0;
  padding: 12px 12px 0;
  border-radius: 30px 30px 0 0;
  background: #000;
  box-shadow: 0 0 0 1px #b9bfc9, 0 0 0 3px #e4e7ec, 0 0 0 4px #f5f6f8, 0 -8px 36px -10px rgba(15, 20, 36, .16), 0 40px 80px -40px rgba(15, 20, 36, .32);
}
.scr {
  --z: 1;
  position: relative;
  overflow: hidden;
  background: #c8d4e8 url("/img/wall-day.webp") 50% 0 / cover no-repeat;
  color: #1d1f24;
  font: 400 13px/1.35 var(--mac);
  letter-spacing: 0;
  text-rendering: auto;
  zoom: var(--z);
}
.scr--eve { background-color: #b3c0d6; background-image: url("/img/wall-evening.webp"); }
.scr--hero { height: 600px; border-radius: 18px 18px 0 0; }
.scr--pal { height: 500px; border-radius: 18px 18px 0 0; }
@container lid (max-width: 1180px) { .scr--hero, .scr--pal { --z: .9; } }
@container lid (max-width: 900px) { .scr--hero, .scr--pal { --z: .8; } }
@container lid (max-width: 620px) { .scr--hero, .scr--pal { --z: .72; height: 560px; } }

/* The menu bar, with the app in front, its menus (cut at the notch, as macOS does) and the status items */
.menubar {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 32px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 20px;
  background: rgba(244, 246, 250, .58);
  -webkit-backdrop-filter: blur(30px) saturate(1.7); backdrop-filter: blur(30px) saturate(1.7);
  color: #0c0d10;
  font: 500 13px/1 var(--mac);
  white-space: nowrap;
}
.menubar__left, .menubar__right { display: flex; align-items: center; min-width: 0; max-width: calc(50% - 106px); overflow: hidden; }
.menubar__left { flex-wrap: wrap; align-content: flex-start; height: 32px; gap: 20px; line-height: 32px; }
.menubar__left b { font-weight: 700; }
.menubar__right { gap: 15px; justify-content: flex-end; }
.mb-glyph { width: auto; height: 15px; flex: none; fill: currentColor; }
.mb-eyes { height: 18px; }
.mb-cc { height: 14px; }
.mb-clock { flex: none; font-variant-numeric: tabular-nums; }
@container lid (max-width: 620px) { .mb-day, .mb-cc, .menubar .mb-wide + .mb-wide { display: none; } .menubar { padding: 0 12px 0 16px; } .menubar__right { gap: 12px; } }
@container shot (max-width: 760px) { .mb-day, .mb-cc, .menubar .mb-wide + .mb-wide { display: none; } .menubar { padding: 0 12px 0 16px; } .menubar__right { gap: 12px; } }

/* ------------------------------------------------------------------ the stage under the notch (StageView's metrics) */
/* The island grows out of the 185 x 32 pt notch, flaring into the menu bar with 10 pt ears; the 150 pt character
   slides down onto its ledge, its paws over the island's edge; the bubble pops 12 pt below the cell. */
.stage { --ledge: .9; position: absolute; z-index: 3; top: 0; left: 50%; width: 340px; height: 370px; margin-left: -170px; pointer-events: none; }
.stage__island {
  position: absolute; top: 0; left: 50%; width: 185px; height: 32px; transform: translateX(-50%);
  border-radius: 0 0 9px 9px; background: #000;
  transition: height .38s cubic-bezier(.32, 1.18, .5, 1), width .38s ease, border-radius .38s ease;
}
.stage__ear { position: absolute; top: 0; width: 10px; height: 10px; fill: #000; opacity: 0; transition: opacity .15s ease; }
.stage__ear--l { right: 100%; }
.stage__ear--r { left: 100%; }
.stage__pal {
  position: absolute; top: 34px; left: 50%; width: 150px; height: 150px; max-width: none; margin-left: -75px;
  opacity: 0; transform: translateY(calc(-150px * var(--ledge) * .9)); transform-origin: 50% 100%;
  transition: transform .5s cubic-bezier(.3, 1.35, .55, 1), opacity .18s ease;
}
.bubble {
  position: absolute; top: 196px; left: 50%; width: max-content; max-width: 290px;
  padding: 9px 14px; border-radius: 14px; background: #fff; text-align: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2));
  opacity: 0; transform: translateX(-50%) scale(.9); transform-origin: 50% 0;
  transition: opacity .16s ease, transform .34s cubic-bezier(.3, 1.3, .5, 1);
}
.bubble::before { content: ""; position: absolute; top: -7px; left: 50%; width: 16px; height: 8px; margin-left: -8px; background: #fff; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.bubble__name { display: block; color: var(--blue); font: 700 9.5px/1.2 var(--round); letter-spacing: .085em; text-transform: uppercase; }
.bubble__line { margin-top: 5px; color: var(--ink); font: 600 13.5px/1.27 var(--round); letter-spacing: -.005em; }
.bubble__acts { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.bubble__acts i { padding: 5px 12px; border-radius: 99px; background: #e9ecf2; color: #2a2f3b; font: 600 12px/1.15 var(--round); font-style: normal; transition: background-color .12s ease; }
.bubble__acts i + i { background: var(--blue); color: #fff; }
.bubble.is-press .bubble__acts i + i { background: #1f46c9; }
.bubble.is-reply .bubble__acts { display: none; }
.is-open .stage__island { width: 190px; height: calc(34px + 150px * var(--ledge)); border-radius: 0 0 28px 28px; }
.is-open .stage__ear { opacity: 1; }
.is-peeked .stage__pal { opacity: 1; transform: none; }
.is-peeked .stage__pal.is-bounce { transform: scale(1.05); transition-duration: .18s; }
.is-bubble .bubble { opacity: 1; transform: translateX(-50%) scale(1); }
/* A live stage starts shut, and site.js opens it (without JavaScript, or with Reduce Motion, it shows its first visit still) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-stage]:not(.is-live) .stage__pal, .js [data-stage]:not(.is-live) .bubble, .js [data-stage]:not(.is-live) .stage__ear { opacity: 0; transition: none; }
  .js [data-stage]:not(.is-live) .stage__island { width: 185px; height: 32px; border-radius: 0 0 9px 9px; transition: none; }
}
/* The hardware notch alone (a call: it stays shut), with the camera and its green light */
.notch { position: absolute; z-index: 3; top: 0; left: 50%; width: 185px; height: 32px; margin-left: -92.5px; border-radius: 0 0 9px 9px; background: #000; }
.cam { position: absolute; z-index: 4; top: 13px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #10131c; box-shadow: 0 0 0 1px #1a1f2b; }
.cam::after { content: ""; position: absolute; top: 1px; left: 13px; width: 4px; height: 4px; border-radius: 50%; background: #3ad16a; box-shadow: 0 0 5px 1px rgba(58, 209, 106, .55); }

/* ------------------------------------------------------------------ macOS pieces inside the scenes */
.win__lights { display: flex; gap: 8px; }
.win__lights i { width: 12px; height: 12px; border-radius: 50%; background: #d4d6db; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.ic { display: inline-block; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--i) 50% 50% / contain no-repeat; mask: var(--i) 50% 50% / contain no-repeat; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff; font: 600 13px/1 var(--mac); letter-spacing: .02em; }
.avatar--b { background: #4f7be8; }
.avatar--g { background: #3d9a5b; }
.avatar--p { background: #d9577f; }
.app { position: absolute; z-index: 1; overflow: hidden; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .06), 0 24px 50px -14px rgba(16, 24, 40, .34); }
.app__side { position: relative; padding: 52px 10px 0; background: rgba(236, 238, 242, .92); box-shadow: inset -1px 0 0 rgba(0, 0, 0, .07); }
.app__side .win__lights { position: absolute; top: 18px; left: 18px; }
.side__h { margin: 14px 0 4px 8px; color: #8b909b; font-size: 11px; font-weight: 600; }
.side__h:first-of-type { margin-top: 0; }
.side__i { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: #23262d; }
.side__i .ic { color: var(--blue); }
.side__i em { margin-left: auto; color: #8b909b; font-style: normal; font-size: 12px; }
.side__i.is-on { background: rgba(0, 0, 0, .075); }
.app__bar { display: flex; align-items: baseline; gap: 10px; height: 52px; padding: 18px 16px 0; border-bottom: 1px solid #ececef; }
.app__bar b { font-size: 15px; font-weight: 700; }
.app__bar span { color: #8b909b; font-size: 11.5px; }
.app__bar--tools { justify-content: flex-end; align-items: center; gap: 20px; padding-top: 0; color: #6e737d; }

/* Notes (the hero and every character page) */
.win { position: absolute; z-index: 1; top: 64px; left: 48px; width: 620px; height: 640px; overflow: hidden; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .06), 0 24px 50px -14px rgba(16, 24, 40, .34);
  display: grid; grid-template-columns: 236px minmax(0, 1fr); color: #1d1f24; }
.win > .win__lights { position: absolute; top: 18px; left: 18px; }
.win__side { padding: 50px 8px 0; background: rgba(240, 241, 244, .96); box-shadow: inset -1px 0 0 rgba(0, 0, 0, .07); }
.win__folder { display: block; margin: 0 0 6px 10px; color: #8b909b; font-size: 11px; font-weight: 600; }
.win__note { display: block; padding: 8px 10px; border-radius: 7px; box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.win__note b { display: block; font-size: 13px; font-weight: 600; }
.win__note span { display: block; overflow: hidden; color: #858a95; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.win__note--on { background: #dcdfe5; box-shadow: none; }
.win__body { padding: 52px 30px 0; }
.win__date { color: #9a9fa9; font-size: 11.5px; text-align: center; }
.win__body h3 { margin: 18px 0 12px; color: #1d1f24; font: 700 24px/1.2 var(--mac); letter-spacing: -.01em; }
.win__body ul { margin: 0; padding: 0; list-style: none; }
.win__body li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.win__body li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.25px #b7bcc6; }
.win__body li.is-done { color: #9ca1ab; }
.win__body li.is-done::before { background: var(--blue); box-shadow: none; }

/* A medium Calendar widget on the desktop */
.widget { position: absolute; z-index: 1; top: 64px; right: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 344px; padding: 16px 16px 14px;
  border-radius: 22px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 12px 30px -12px rgba(16, 24, 40, .3); font-size: 11.5px; line-height: 1.3; }
.widget__day { color: #e5372f; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.widget__date { margin-top: 1px; font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.widget ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.widget__today li { padding-left: 7px; box-shadow: inset 2.5px 0 0 #6d93f0; }
.widget__today li b { display: block; font-weight: 600; }
.widget__today li span { color: #7d828d; font-size: 10.5px; }
.widget__today .widget__ev--g { box-shadow: inset 2.5px 0 0 #3ea865; }
.widget__month p { color: #e5372f; font-size: 11px; font-weight: 700; }
.widget__month ol { display: grid; grid-template-columns: repeat(7, 1fr); margin: 7px 0 0; padding: 0; list-style: none; text-align: center; font-size: 9.5px; font-weight: 500; row-gap: 4px; }
.widget__month li { line-height: 16px; }
.widget__month li:nth-child(-n+7) { color: #8b909b; font-weight: 600; }
.widget__month .is-today { border-radius: 50%; background: #e5372f; color: #fff; font-weight: 700; }

/* Mail */
.mail { top: 46px; left: 3.5%; right: 3.5%; bottom: -12px; display: grid; grid-template-columns: 196px 300px minmax(0, 1fr); }
.mail__list { border-right: 1px solid #ececef; }
.msg { position: relative; margin: 0 8px; padding: 10px 10px 11px 18px; border-bottom: 1px solid #f0f0f2; }
.msg p:first-child { display: flex; justify-content: space-between; gap: 8px; }
.msg b { font-weight: 600; }
.msg time { color: #8b909b; font-size: 11.5px; }
.msg__s { margin-top: 1px; font-size: 12.5px; }
.msg__p { display: -webkit-box; margin-top: 2px; overflow: hidden; color: #868b95; font-size: 12px; line-height: 1.32; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.msg.is-new::before { content: ""; position: absolute; top: 15px; left: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.msg.is-on { border-radius: 8px; border-color: transparent; background: #dfe3ea; }
.read__head { display: flex; gap: 12px; padding: 18px 24px 16px; border-bottom: 1px solid #ececef; }
.read__head p:first-child { display: flex; gap: 12px; justify-content: space-between; }
.read__head div { flex: 1; }
.read__head time { color: #8b909b; font-size: 11.5px; }
.read__s { margin-top: 1px; font-weight: 600; }
.read__to { color: #8b909b; font-size: 11.5px; }
.read__body { padding: 20px 24px; font-size: 13.5px; line-height: 1.5; }
.read__body p + p { margin-top: 11px; }
.attach { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px 8px 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e4e5e9; font-size: 12px; }
.attach b { display: block; font-weight: 600; }
.attach > span:last-child { color: #8b909b; }
.attach__ic { display: grid; place-items: center; width: 30px; height: 38px; border-radius: 4px; background: #e2473b; color: #fff; font-size: 8.5px; font-weight: 700; }

/* A code editor, light */
.code { top: 46px; left: 3.5%; right: 3.5%; bottom: -12px; display: grid; grid-template-columns: 210px minmax(0, 1fr); font-size: 12.5px; }
.code__tree { padding-top: 52px; }
.tree__i { position: relative; height: 26px; padding: 0 8px 0 26px; border-radius: 6px; color: #2b2e35; line-height: 26px; }
.tree__i::before { content: ""; position: absolute; top: 8px; left: 9px; width: 10px; height: 11px; border-radius: 2px; box-shadow: inset 0 0 0 1.2px #8e94a0; }
.tree__dir { font-weight: 600; }
.tree__dir::before { top: 9px; width: 12px; height: 9px; border-radius: 2px; background: #6c96e8; box-shadow: none; }
.tree__in { padding-left: 42px; }
.tree__in::before { left: 25px; }
.tree__i.is-on { background: rgba(0, 0, 0, .075); }
.code__main { display: flex; flex-direction: column; min-width: 0; }
.code__tabs { display: flex; height: 40px; padding-top: 10px; background: #f4f5f7; box-shadow: inset 0 -1px 0 #e6e7ea; }
.code__tabs span { padding: 7px 16px 0; color: #808590; font-size: 12px; }
.code__tabs .is-on { border-radius: 8px 8px 0 0; background: #fff; color: #23262d; box-shadow: 0 0 0 1px #e6e7ea; }
.code__crumbs { padding: 8px 18px 6px; color: #8b909b; font-size: 11.5px; }
.code__src { flex: 1; margin: 0; padding: 4px 0 0; list-style: none; counter-reset: ln 11; font: 400 12.5px/21px var(--mono); color: #26292f; white-space: pre; }
.code__src li { position: relative; padding-left: 64px; counter-increment: ln; }
.code__src li::before { content: counter(ln); position: absolute; left: 0; width: 42px; color: #b3b7c0; text-align: right; }
.code__src .is-cur { background: #eef3fd; }
.code__src .is-cur::before { color: #4b5160; }
.tk { color: #b4235f; font-weight: 600; }
.tt { color: #1f5fa8; }
.tf { color: #2e7d32; }
.tn { color: #2448c4; }
.tc { color: #6b7480; font-style: italic; }
.code__term { padding: 0 18px 30px; border-top: 1px solid #e6e7ea; background: #fafbfc; font: 400 12px/19px var(--mono); color: #3b3f48; }
.code__termbar { display: flex; gap: 18px; margin: 0 -18px 6px; padding: 7px 18px; font: 500 11.5px/1.2 var(--mac); color: #8b909b; }
.code__termbar b { color: #23262d; font-weight: 600; }
.code__term .ok { color: #2e7d32; }
.caret { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: #3b3f48; }

/* A spreadsheet */
.sheet { top: 46px; left: 3.5%; right: 3.5%; bottom: -12px; display: grid; grid-template-rows: 52px 34px minmax(0, 1fr); }
.sheet__bar { display: flex; align-items: center; gap: 22px; padding: 0 18px; background: #f6f6f8; }
.sheet__title b { font-weight: 700; }
.sheet__title span { margin-left: 8px; color: #8b909b; font-size: 11.5px; }
.sheet__tools { display: flex; gap: 22px; margin-left: auto; color: #6e737d; }
.sheet__tabs { display: flex; align-items: end; gap: 2px; padding: 0 16px; background: #f6f6f8; box-shadow: inset 0 -1px 0 #e3e4e8; font-size: 12px; color: #7d828d; }
.sheet__tabs span { padding: 6px 16px; }
.sheet__tabs .is-on { border-radius: 7px 7px 0 0; background: #fff; color: #23262d; font-weight: 600; box-shadow: 0 0 0 1px #e3e4e8; }
.sheet__plus { font-size: 15px; line-height: 1; }
.sheet__canvas { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; padding: 30px 40px; }
.sheet__h { margin-bottom: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: 6px 10px; border: 1px solid #e3e5ea; text-align: right; }
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet thead th { background: #eef1f6; font-weight: 600; }
.sheet tbody tr:nth-child(even) td { background: #fafbfc; }
.sheet tfoot td { background: #eef1f6; font-weight: 700; }
.sheet td.neg { color: #d33a32; }
.sheet td.is-sel { position: relative; box-shadow: inset 0 0 0 2px var(--blue); }
.sheet__chart ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 11.5px; }
.sheet__chart li { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 10px; color: #545964; }
.sheet__chart i { display: block; height: 14px; border-radius: 3px; background: #4f7be8; }

/* Calendar, a week */
.cal { --h: 46px; top: 46px; left: 3.5%; right: 3.5%; bottom: -12px; display: grid; grid-template-rows: 52px auto minmax(0, 1fr); }
.cal__bar { display: flex; align-items: center; gap: 20px; padding: 0 18px; background: #f6f6f8; box-shadow: inset 0 -1px 0 #e6e7ea; }
.cal__seg { display: flex; margin: 0 auto; padding: 2px; border-radius: 7px; background: #e6e7eb; font-size: 12px; }
.cal__seg span { padding: 3px 14px; border-radius: 5px; color: #3b3f48; }
.cal__seg .is-on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); font-weight: 600; }
.cal__search { display: flex; align-items: center; gap: 6px; width: 170px; padding: 4px 8px; border-radius: 7px; background: #e9eaee; color: #8b909b; font-size: 12px; }
.cal__search .ic { width: 12px; height: 12px; }
.cal__head { padding: 14px 0 0; box-shadow: inset 0 -1px 0 #e6e7ea; }
.cal__month { padding: 0 20px 10px; font-size: 22px; letter-spacing: -.01em; }
.cal__month b { font-weight: 700; }
.cal__days { display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); margin: 0; padding: 0 0 8px; list-style: none; font-size: 12.5px; color: #545964; }
.cal__days li:first-child { grid-column: 2; }
.cal__days li { padding-left: 8px; }
.cal__days b { font-weight: 500; }
.cal__days .is-today b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e5372f; color: #fff; font-weight: 700; }
.cal__grid { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); overflow: hidden; }
.cal__hours { margin: 0; padding: var(--h) 0 0; list-style: none; color: #8b909b; font-size: 10.5px; text-align: right; }
.cal__hours li { height: var(--h); padding-right: 8px; transform: translateY(-.65em); }
.cal__cols { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__col { position: relative; box-shadow: inset 1px 0 0 #eceef1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='46' preserveAspectRatio='none'%3E%3Cpath d='M0 .5h10' stroke='black' stroke-opacity='.08'/%3E%3C/svg%3E") 0 0 / 100% var(--h) repeat-y; }
.cal__col.is-today { background-color: rgba(229, 55, 47, .025); }
.ev { position: absolute; left: 3px; right: 4px; margin: 0; padding: 3px 6px; overflow: hidden; border-radius: 5px; font-size: 11px; line-height: 1.25; }
.ev b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { opacity: .8; font-size: 10px; }
.ev--b { background: #dfe8fd; color: #1d4bb8; box-shadow: inset 3px 0 0 #4f7be8; }
.ev--g { background: #dcf1e2; color: #21683a; box-shadow: inset 3px 0 0 #3ea865; }
.ev--r { background: #fbe0de; color: #a8261f; box-shadow: inset 3px 0 0 #e5372f; }
.ev--p { background: #fbe1ea; color: #a3244f; box-shadow: inset 3px 0 0 #dc4c7c; }
.ev.is-next { background: #4f7be8; color: #fff; box-shadow: none; }
.cal__now { position: absolute; z-index: 1; left: calc(100% / 7 * 2); width: calc(100% / 7); height: 2px; margin: 0; background: #e5372f; }
.cal__now::before { content: ""; position: absolute; top: -4px; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #e5372f; }
.cal__now span { position: absolute; top: -7px; right: calc(200% + 4px); padding: 0 3px; border-radius: 4px; background: #fff; color: #e5372f; font-size: 10px; font-weight: 700; white-space: nowrap; }

/* Books, a two-page spread at night (still light mode) */
.book { top: 46px; left: 9%; right: 9%; bottom: -12px; display: grid; grid-template-rows: 46px minmax(0, 1fr); background: #fdfdfd; }
.book__bar { display: flex; align-items: center; gap: 20px; padding: 0 18px; color: #6e737d; }
.book__title { flex: 1; color: #6e737d; font-size: 12.5px; text-align: center; }
.book__tools { display: flex; align-items: center; gap: 18px; }
.book__aa { font-weight: 600; font-size: 13px; }
.book__pages { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 34px 64px 0; font: 400 15.5px/1.62 var(--serif); color: #2a2b2f; }
.book__page p + p { margin-top: .9em; text-indent: 1.4em; }
.book__ch { color: #8b909b; font: 600 11px/1.2 var(--mac); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.book__chname { margin: 10px 0 26px; font-size: 26px; line-height: 1.15; text-align: center; }
.book__drop::first-letter { float: left; margin: 6px 8px 0 0; font-size: 56px; line-height: .8; }
.book__num { margin-top: 22px; color: #a3a7b0; font: 400 11px/1 var(--mac); text-align: center; text-indent: 0; }
.book__page p.book__num { text-indent: 0; }

/* A video call, light: someone presenting, the others with their cameras off */
.call { top: 46px; left: 6%; right: 6%; bottom: 20px; display: grid; grid-template-rows: 46px minmax(0, 1fr) 64px; background: #eceef2; }
.call__bar { display: flex; align-items: center; gap: 18px; padding: 0 18px; background: #f7f8fa; box-shadow: inset 0 -1px 0 #e3e5ea; }
.call__title { flex: 1; text-align: center; }
.call__title b { font-weight: 600; }
.call__title span { margin-left: 8px; color: #8b909b; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.call__people { display: flex; align-items: center; gap: 5px; color: #6e737d; font-size: 12px; }
.call__stage { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 12px; padding: 12px; min-height: 0; }
.call__share { position: relative; display: grid; place-items: center; border-radius: 10px; background: #d9dde4; }
.slide { width: 92%; aspect-ratio: 16 / 9; padding: 5.5% 6.5%; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(16, 24, 40, .12); }
.slide__h { font-size: 38px; font-weight: 700; letter-spacing: -.025em; }
.slide__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 34px; font-size: 18px; }
.slide__cols b { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 3px solid #4f7be8; font-size: 18px; }
.slide__cols div:nth-child(2) b { border-color: #3ea865; }
.slide__cols div:nth-child(3) b { border-color: #b7bcc6; }
.slide__cols p { padding: 6px 0; color: #454952; }
.call__who { position: absolute; left: 12px; bottom: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .9); color: #545964; font-size: 11px; box-shadow: 0 0 0 1px #e1e4ea; }
.call__tiles { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 12px; }
.tile { position: relative; display: grid; place-items: center; border-radius: 10px; background: #dde1e8; }
.tile p { position: absolute; left: 10px; bottom: 8px; color: #3b3f48; font-size: 11px; font-weight: 500; }
.tile .avatar { width: 52px; height: 52px; font-size: 17px; }
.tile.is-talk { box-shadow: inset 0 0 0 2px #3ea865; }
.call__ctl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ctl { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #3b3f48; box-shadow: 0 0 0 1px #e1e4ea; }
.ctl .ic { width: 17px; height: 17px; }
.ctl--end { width: auto; padding: 0 18px; border-radius: 20px; background: #e5372f; color: #fff; font-weight: 600; font-size: 12.5px; box-shadow: none; }

/* ------------------------------------------------------------------ sections */
.section { padding: 112px 0; }
.section h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.038em; }

/* A day with your crew: whole screens in a row, each with its one line under it */
.day { background: var(--gallery); }
.day__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.day__nav { display: flex; gap: 10px; }
.day__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(15, 20, 36, .05); transition: background-color .15s ease, opacity .15s ease; }
.day__btn:hover { background: var(--paper); box-shadow: inset 0 0 0 1px #b9c1ce, 0 1px 2px rgba(15, 20, 36, .05); }
.day__btn[disabled] { opacity: .35; cursor: default; }
.day__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.day__track {
  --edge: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  display: flex; gap: 44px; margin: 0; padding: 48px var(--edge) 16px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain;
}
.day__track::-webkit-scrollbar { display: none; }
.day__item { flex: 0 0 min(880px, 76vw); scroll-snap-align: start; }
.shot { margin: 0; }
.shot figcaption { max-width: 38ch; margin-top: 24px; color: var(--body); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
.shot time { margin-right: .3em; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.mac--day { container-name: shot; width: 100%; margin: 0; padding: 10px; border-radius: 22px; box-shadow: 0 0 0 1px #b9bfc9, 0 0 0 3px #e4e7ec, 0 0 0 4px #f5f6f8, 0 30px 60px -30px rgba(15, 20, 36, .4); }
.scr--day { --z: .78; aspect-ratio: 16 / 10; border-radius: 12px; }
@container shot (max-width: 760px) { .scr--day { --z: .74; aspect-ratio: 10 / 11.4; } }

/* Quiet when it matters: one call, one caption */
.quiet .shot figcaption { max-width: 30ch; margin-top: 30px; }
.quiet .shot h2 { color: var(--ink); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.mac--quiet { max-width: 1100px; }
.mac--quiet .scr--day { --z: .82; }
@container shot (max-width: 760px) { .mac--quiet .scr--day { --z: .74; } }

/* ------------------------------------------------------------------ the characters, on shelves */
/* Each character sits on its ledge at the shelf's edge, paws over it; the shelf's edge carries its label. */
.pals { background: var(--gallery); }
.pals__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; row-gap: 44px; margin: 56px 0 0; padding: 0; list-style: none; }
.pal { --w: 176px; --aw: calc(var(--w) * .9); flex: none; width: var(--w); }
.pal--l { --w: 214px; }
.pal--s { --w: 148px; }
.pal a { display: block; color: inherit; text-decoration: none; border-radius: 4px; }
.pal__art { position: relative; z-index: 1; display: block; width: var(--aw); aspect-ratio: 1; margin: 0 auto calc((var(--ledge) - 1) * var(--aw)); }
.pal__art img { width: 100%; height: 100%; }
/* Faces on hover (site.js): two layers of the faces sheet take turns. The incoming face (.is-on) fades in on top;
   the outgoing one fades out a beat later beneath it, so a change never shows through to the page. The still art
   fades out under the first face, and back in under the last when the pointer leaves. */
.pal__faces { position: absolute; inset: 0; z-index: 1; opacity: 0; background-repeat: no-repeat; background-size: 400% 200%; background-position: 0 0; transition: opacity .2s ease .14s; }
.has-faces .pal__faces { background-image: var(--faces); }
.pal__faces.is-on { z-index: 2; opacity: 1; transition: opacity .26s ease; }
.pal__art img { transition: opacity .26s ease; }
.pal.is-faces .pal__art img { opacity: 0; transition: opacity .2s ease .14s; }
@keyframes np-drift {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(var(--dx)); }
  75% { transform: translateX(calc(var(--dx) * -1)); }
}
.pal__label { position: relative; display: block; padding: var(--overhang) 10px 14px; background: #fff; text-align: center; box-shadow: var(--plank); clip-path: inset(-20px 0 -48px 0); }
.pal__label::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; background: #e7ebf1; box-shadow: inset 0 -1px 0 rgba(15, 20, 36, .05); }
.pal__name { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.pal__area { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 6px; vertical-align: 1px; border-radius: 5px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 600; line-height: 1.3; }
.pals__all { margin-top: 48px; font-weight: 600; text-align: center; }

/* Browse, large */
.browse-sec h2 { max-width: 20ch; }
.browse { margin: 48px 0 0; padding: 5.5% 7% 6%; border-radius: 26px; background: #c8d4e8 url("/img/wall-day.webp") 50% 30% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(15, 20, 36, .06); }
.browse img { width: 100%; filter: drop-shadow(0 1px 1px rgba(16, 24, 40, .16)) drop-shadow(0 24px 40px rgba(16, 24, 40, .30)); }

/* ------------------------------------------------------------------ the price: the statement, quietly, beside a little shop */
/* Two short shelves: Blip and 2 picks on one, more characters on the other, each with its label on the edge. */
.get { background: var(--gallery); }
.get__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.get__copy h2 { max-width: 18ch; }
.get__more-line { margin-top: 18px; color: var(--body); font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.012em; }
.get__copy .hero__cta { margin-top: 30px; }
.get__shop { display: grid; gap: 56px; justify-items: center; padding-top: 24px; }
.ledge { width: 100%; max-width: 440px; }
.ledge ul { display: flex; justify-content: center; align-items: flex-end; margin: 0; padding: 0; list-style: none; }
.peek { --pw: 132px; position: relative; z-index: 2; width: var(--pw); margin-bottom: calc((var(--ledge) - 1) * var(--pw)); }
.peek--s { --pw: 98px; }
.ledge__label { position: relative; padding: 30px 12px 13px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; box-shadow: var(--plank); }
.ledge__label::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; background: #e7ebf1; }
.ledge--s .ledge__label { padding-top: 24px; }

/* ------------------------------------------------------------------ questions */
.faq__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { position: relative; padding: 20px 44px 20px 0; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.015em; list-style: none; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; top: 50%; right: 8px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq__list details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq__list details p { max-width: 64ch; padding: 0 44px 22px 0; font-size: 16.5px; }

/* ------------------------------------------------------------------ footer */
.foot { padding: 36px 0 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__brand img { width: 26px; height: 26px; margin: -1px; }
.foot a { color: var(--body); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
/* the landing page alone carries the directories' badges, tucked into the footer's lower padding */
.featured { margin-top: -30px; padding-bottom: 40px; }
.featured .featured-on { margin-top: 0; }

/* ------------------------------------------------------------------ pages of words */
.doc__in { max-width: 760px; padding-top: 80px; padding-bottom: 104px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; }
.doc .lead { margin: 20px 0 0; max-width: none; }
.doc h2 { margin: 52px 0 12px; font-size: 24px; letter-spacing: -.025em; }
.doc ul { margin: 14px 0 0; padding-left: 20px; }
.doc li { margin: 10px 0; padding-left: 4px; }
.doc li::marker { color: var(--line-2); }
.doc p + p { margin-top: 14px; }
.doc b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ a character's page */
.crumbs { display: flex; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 14px; font-weight: 500; }
.crumbs a { color: var(--body); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.top--pal h1 { font-size: clamp(48px, 6.6vw, 88px); line-height: .98; letter-spacing: -.05em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.price-line { margin-top: 16px; color: var(--body); font-size: 15px; line-height: 1.5; }
.price-line b { color: var(--ink); font-weight: 600; }
.hint { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hint--alert { color: var(--ink); }
.mac--pal { width: min(1200px, calc(100% - 2 * var(--gut))); }
.mac--pal .win { left: 40px; width: 300px; grid-template-columns: minmax(0, 1fr); }
.mac--pal .win__side { display: none; }
@container lid (max-width: 900px) { .mac--pal .win { width: 250px; left: 24px; } }

/* All 8 faces, on a shelf of their own */
.pal-faces { padding-bottom: 96px; background: var(--gallery); }
.faces-shelf { margin: 0; }
.faces { display: flex; justify-content: center; align-items: flex-end; margin: 0; padding: 0; list-style: none; }
.faces li { width: 12.5%; max-width: 150px; }
.face { position: relative; z-index: 1; display: block; width: 92%; margin: 0 auto -7%; aspect-ratio: 1; background-repeat: no-repeat; background-size: 400% 200%; transform-origin: 50% 100%; }
.faces li:nth-child(odd) .face { transform: rotate(-2.5deg); }
.faces li:nth-child(even) .face { transform: rotate(2deg); }
.faces li:nth-child(3n) .face { transform: rotate(-1deg) scale(1.06); }
.face__name { display: block; padding: 14px 4px 12px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 500; text-align: center; box-shadow: var(--plank); clip-path: inset(0 0 -48px 0); }
.faces-shelf figcaption { margin-top: 26px; color: var(--body); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; text-align: center; }

/* The lines, as the app's bubbles */
.said__list { columns: 2 340px; column-gap: 40px; margin: 44px 0 0; padding: 0; list-style: none; }
.said__item { break-inside: avoid; padding: 10px 0 26px; }
.said__item:nth-child(3n+2) { padding-left: 36px; }
.said__bubble { position: relative; display: inline-block; max-width: 420px; padding: 14px 20px; border-radius: 18px; background: #fff; color: var(--ink); font: 600 17px/1.35 var(--round); letter-spacing: -.01em;
  box-shadow: 0 0 0 1px rgba(15, 20, 36, .05), 0 2px 4px rgba(15, 20, 36, .05), 0 14px 28px -12px rgba(15, 20, 36, .22); }
.said__bubble::before { content: ""; position: absolute; top: -8px; left: 32px; width: 18px; height: 9px; background: #fff; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.said__when { margin-top: 10px; padding-left: 4px; color: var(--muted); font-size: 14px; }
.said__when b { color: var(--ink); font-weight: 600; }
.said__note { max-width: 64ch; margin-top: 10px; color: var(--muted); font-size: 14px; }
.said__list + .said__note { margin-top: 24px; }

.more { background: var(--gallery); }
.more h2 { font-size: clamp(26px, 3vw, 36px); }
.more .pals__grid { justify-content: flex-start; margin-top: 40px; }

.gone { padding: 120px 0 140px; text-align: center; }
.gone h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.04em; }
.gone .lead { margin: 18px auto 0; }
.gone .actions { justify-content: center; margin-top: 30px; }

.all-top { padding: 72px 0 0; }
.all-top h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.all-top .lead { margin: 18px 0 0; max-width: 680px; }
.all-list { margin-top: 56px; padding: 8px 0 112px; background: var(--gallery); }

/* ------------------------------------------------------------------ icons (drawn as masks, so they take the text colour) */
.ic--inbox { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9.5h3.2l1 2h3.6l1-2H14M2 9.5 4 4h8l2 5.5V13H2z'/%3E%3C/svg%3E"); }
.ic--star { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2l1.8 3.8 4.2.5-3.1 2.9.8 4.1L8 11.3l-3.7 2 .8-4.1L2 6.3l4.2-.5z'/%3E%3C/svg%3E"); }
.ic--flag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14V2.5M4 3h7.5L10 5.6 11.5 8H4'/%3E%3C/svg%3E"); }
.ic--doc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2h5l3 3v9H4zM9 2v3h3'/%3E%3C/svg%3E"); }
.ic--send { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7.8 14 2.5 9.2 14 7.4 9.2z'/%3E%3C/svg%3E"); }
.ic--box { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h4.2l1.5 1.6H14V13H2z'/%3E%3C/svg%3E"); }
.ic--reply { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4 3 8l4 4M3 8h6.5A3.5 3.5 0 0 1 13 11.5V13'/%3E%3C/svg%3E"); }
.ic--reply2 { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 4 4.5 8l4 4M5 4 1 8l4 4M4.5 8h5.5a4 4 0 0 1 4 4v1'/%3E%3C/svg%3E"); }
.ic--fwd { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l4 4-4 4M13 8H6.5A3.5 3.5 0 0 0 3 11.5V13'/%3E%3C/svg%3E"); }
.ic--trash { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h11M6 4V2.5h4V4M4 4l.7 9.5h6.6L12 4'/%3E%3C/svg%3E"); }
.ic--table { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h12v10H2zM2 6.4h12M2 9.7h12M6 3v10'/%3E%3C/svg%3E"); }
.ic--chart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 13V8.5M8 13V3.5M12.5 13V6.5'/%3E%3C/svg%3E"); }
.ic--text { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3.5h10M8 3.5V13'/%3E%3C/svg%3E"); }
.ic--shape { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5h6V14H2zM11 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6'/%3E%3C/svg%3E"); }
.ic--media { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h12v10H2zM2 11l3.5-3.5 3 3 2-2L14 12'/%3E%3C/svg%3E"); }
.ic--comment { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h12v8H7l-3 3v-3H2z'/%3E%3C/svg%3E"); }
.ic--search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M10.4 10.4 14 14'/%3E%3C/svg%3E"); }
.ic--lib { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 2.5h3v11h-3zM7 2.5h3v11H7zM11 3.3l2.5-.6 1.3 10.5-2.5.6z'/%3E%3C/svg%3E"); }
.ic--list { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 4H14M5.5 8H14M5.5 12H14M2.2 4h.6M2.2 8h.6M2.2 12h.6'/%3E%3C/svg%3E"); }
.ic--mark { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2h8v12l-4-3-4 3z'/%3E%3C/svg%3E"); }
.ic--people { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM1.5 14c0-2.4 2-4 4.5-4s4.5 1.6 4.5 4M10.8 2.4a2.4 2.4 0 0 1 0 4.6M12.2 10.2c1.4.5 2.3 1.8 2.3 3.8'/%3E%3C/svg%3E"); }
.ic--mic { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.5a2.2 2.2 0 0 1 2.2 2.2v4a2.2 2.2 0 0 1-4.4 0v-4A2.2 2.2 0 0 1 8 1.5zM3.8 7.6a4.2 4.2 0 0 0 8.4 0M8 11.8V14.2'/%3E%3C/svg%3E"); }
.ic--cam { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 4.5h9v7h-9zM10.5 7.2l4-2.4v6.4l-4-2.4'/%3E%3C/svg%3E"); }
.ic--share { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h12v8H2zM8 9V5.2M6.2 7 8 5.2 9.8 7M5 14h6'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ narrower screens: the scenes simplify as a small Mac would */
@container lid (max-width: 1000px) {
  .widget { display: none; }
  .win { width: 420px; grid-template-columns: minmax(0, 1fr); }
  .win__side { display: none; }
}
@container lid (max-width: 760px) {
  .win, .mac--pal .win { left: 16px; width: 62%; top: 52px; }
  .win__body { padding: 44px 18px 0; }
  .win__body h3 { margin-top: 12px; font-size: 20px; }
}
@container shot (max-width: 700px) {
  .mail, .code, .sheet, .cal, .book, .call { left: 14px; right: 14px; top: 44px; }
  .mail { grid-template-columns: minmax(0, 1fr); }
  .mail .app__side, .mail__read { display: none; }
  .mail .app__bar { padding-left: 16px; }
  .code { grid-template-columns: minmax(0, 1fr); }
  .code__tree { display: none; }
  .code__tabs { padding-left: 8px; }
  .code__src { font-size: 11.5px; }
  .sheet__canvas { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .sheet__chart { display: none; }
  .sheet__tools { display: none; }
  .cal__seg span:not(.is-on) { display: none; }
  .cal__search { display: none; }
  .cal__days { grid-template-columns: 44px repeat(3, minmax(0, 1fr)); }
  .cal__days li:nth-child(1), .cal__days li:nth-child(5), .cal__days li:nth-child(6), .cal__days li:nth-child(7) { display: none; }
  .cal__days li:nth-child(2) { grid-column: 2; }
  .cal__grid { grid-template-columns: 44px minmax(0, 1fr); }
  .cal__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal__col:nth-child(1), .cal__col:nth-child(5), .cal__col:nth-child(6), .cal__col:nth-child(7) { display: none; }
  .cal__now { left: calc(100% / 3); width: calc(100% / 3); }
  .cal__now span { right: calc(100% + 4px); }
  .book__pages { grid-template-columns: minmax(0, 1fr); padding: 26px 26px 0; font-size: 15px; }
  .book__page + .book__page { display: none; }
  .book__title { display: none; }
  .call__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 84px; }
  .call__who { display: none; }
  .call__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile .avatar { width: 40px; height: 40px; font-size: 14px; }
  .slide { width: 94%; padding: 6%; }
  .slide__h { font-size: 22px; }
  .slide__cols { gap: 14px; margin-top: 16px; font-size: 12px; }
  .slide__cols b { font-size: 12.5px; margin-bottom: 4px; padding-bottom: 5px; }
  .slide__cols p { padding: 2px 0; }
}

@media (max-width: 1000px) {
  .top__in { grid-template-columns: minmax(0, 1fr); }
  .top__act { justify-self: start; }
  .faq__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .get__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gut: 18px; }
  .nav__links, .nav__dl { display: none; }
  .nav__in { gap: 16px; height: 58px; }
  .top { padding-top: 40px; }
  .section { padding: 80px 0; }
  .mac { margin-top: 40px; padding: 8px 8px 0; border-radius: 22px 22px 0 0; width: calc(100% - 20px); }
  .scr--hero, .scr--pal { border-radius: 14px 14px 0 0; }
  .day__nav { display: none; }
  .day__track { flex-direction: column; gap: 56px; overflow: visible; padding: 36px var(--gut) 0; scroll-snap-type: none; }
  .day__item { flex: none; }
  .mac--day { padding: 7px; border-radius: 18px; }
  .pals__grid { row-gap: 34px; }
  .pals__grid { --overhang: 26px; }
  .pal { --w: 110px; }
  .pal--l { --w: 124px; }
  .pal--s { --w: 100px; }
  .pal__label { padding: var(--overhang) 4px 10px; }
  .pal__label::before { height: 9px; }
  .pal__name { font-size: 13px; }
  .pal__area { font-size: 11.5px; }
  .tag { display: table; margin: 3px auto 0; }
  .pals__grid .pal__label { min-height: calc(var(--overhang) + 62px); }
  .browse { padding: 22px 0 26px; overflow: hidden; border-radius: 20px; }
  .browse img { width: 205%; max-width: none; margin-left: -102%; }
  .peek { --pw: 104px; }
  .peek--s { --pw: 78px; }
  .get__shop { gap: 44px; }
  /* the crew in one row, wider than the phone, drifting slowly from end to end */
  .hero { padding-bottom: 72px; }
  .crowd { --dx: calc((796px - 100vw) / 2); justify-content: center; padding: 0; animation: np-drift 44s ease-in-out infinite; }
  .crowd__pal { width: 92px; margin: 0 -2px; }
  .crowd__pal--b { width: 76px; }
  .crowd__pal--lead { width: 124px; }
  .crowd__clip { clip-path: inset(-400px 0 -120px 0); }
  .hero__card { padding: 34px 20px 40px; border-radius: 0 0 24px 24px; }
  .hero h1 { max-width: none; font-size: clamp(34px, 9.4vw, 46px); }
  .hero__card::before { height: 11px; }
  .visit { padding-top: 80px; }
  .faces { flex-wrap: wrap; row-gap: 26px; }
  .faces li { width: 25%; }
  .said__item:nth-child(3n+2) { padding-left: 18px; }
  .said__bubble { font-size: 16px; }
}
@media (max-width: 420px) {
  .hero__cta .btn, .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .stage__island, .stage__pal, .bubble, .stage__ear { transition: none !important; }
  .crowd { animation: none !important; }
  .crowd__art { transition: none; }
  .crowd__pal a:hover .crowd__art, .crowd__pal a:focus-visible .crowd__art, .crowd__pal.is-faces .crowd__art { transform: none; }
  .btn, .nav, .faq__list summary::after, .day__btn { transition: none !important; }
}
