/* app-tokens: generated from design/tokens/legato.tokens.json by scripts/app-tokens.mjs; edit the JSON, not this block */
:root { --app-page: #ffffff; --app-card: #f8f8f8; --app-card-hover: #f3f3f3; --app-sidebar: #efeff1; --app-selection: rgb(0 0 0 / .07); --app-hover: rgb(0 0 0 / .04); --app-control: rgb(0 0 0 / .06); --app-track: rgb(0 0 0 / .08); --app-separator: rgb(0 0 0 / .1); --app-text-2: rgb(0 0 0 / .5); --app-radius-card: 0.9em; --app-radius-panel: 1.8em; }
/* app-tokens: end */
/* legatobar.com. System fonts and macOS-like colours. The site is light only (13 Nov 2026), as Bear's and Craft's are. */

/* One set of tokens. */
:root {
  color-scheme: light;
  --bg: var(--theme-color-0);
  --surface: var(--theme-color-1);
  --surface-2: var(--theme-color-2);
  --text: var(--theme-color-3);
  --text-2: var(--theme-color-4);
  --text-3: var(--theme-color-5);
  --line: var(--theme-color-6);
  /* The hero's glow, which the Mac's wallpaper is cut from (so the screen melts into the page). */
  --glow-1: var(--theme-color-7);
  --glow-2: var(--theme-color-8);
  --glow-3: var(--theme-color-9);
  --accent: var(--theme-color-10);
  --accent-text: var(--theme-color-11);
  --accent-soft: var(--theme-color-12);
  --code-bg: var(--theme-color-13);
  --code-text: var(--theme-color-14);
  --shadow: var(--theme-color-15), var(--theme-color-16);
  --wall-1: var(--theme-color-17);
  --wall-2: var(--theme-color-18);
  --wall-3: var(--theme-color-19);
  --shot-shadow: var(--theme-color-20), var(--theme-color-21);
  --mark-bg: var(--theme-color-22);
  --mark-fg: var(--theme-color-23);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); font-size: 0.875em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.mark { width: 22px; height: 22px; flex: none; }

/* ---- top bar ---- */
/* The top bar is a floating capsule of the hero's Liquid Glass, 8px under the window's edge, as wide as
   the page's column. The bar itself holds a fixed 69px, so a menu opening grows the capsule down over the
   page without moving it. */
.topbar { position: sticky; top: 0; z-index: 50; height: 69px; padding: 8px 20px 0; pointer-events: none; }
.topbar-inner { --nav-glass: rgb(246 246 249 / .62); --nav-card: rgb(255 255 255 / .6); --nav-rim: rgb(255 255 255 / .55);
  position: relative; max-width: 1140px; margin: 0 auto; border-radius: 28px; pointer-events: auto;
  background: var(--nav-glass); backdrop-filter: blur(14px) saturate(1.8); -webkit-backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: 0 16px 40px -22px rgba(20,20,30,.45), 0 0 0 .5px rgba(20,20,30,.12), inset 0 0 0 1px var(--nav-rim), inset 0 1px 0 rgb(255 255 255 / .6);
  transition: border-radius .3s ease; }

/* Logo, then links centred on the capsule whatever the sides' widths. */
.topbar-row { height: 56px; padding: 0 12px 0 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.topbar-row > .brand { justify-self: start; }
/* Download, top right on every page (owner, 17 Nov): the site's black button, smaller to sit in the bar. */
.topbar-row > .topbar-dl { justify-self: end; min-height: 0; background: var(--theme-color-40); color: var(--theme-color-41) !important; border: 1px solid var(--theme-color-42); box-shadow: 0 5px 15px #100b2018; font-size: 15px; padding: 10px 22px; justify-content: center; } /* the landing's black pill (.lp .button), a little shorter to sit in the bar */
.topbar-dl-icon { display: none; }
/* Phones: a smaller button and tighter gaps; under 360 px only its arrow shows, in a black circle. */
@media (max-width: 430px) { .topbar-row { gap: 8px; } .topnav { gap: 11px !important; } }
/* Phones: no Download in the top bar (owner, 17 Nov); the hero's button is right under it. */
@media (max-width: 760px) { .topbar-row > .topbar-dl { display: none; } }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
/* The maker's name sits beside the wordmark at the top of the page and fades once you scroll. */
.brand-by { color: var(--text-2); font-weight: 400; font-size: 13px; white-space: nowrap; transition: opacity .3s ease, visibility 0s linear 0s; }
.topbar.is-scrolled .brand-by { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
/* Below this width the maker's name would push the centred links off centre. */
@media (max-width: 960px) { .brand-by { display: none; } }
/* While the names show on a narrow phone, the wordmark makes room for them; the mark stays, and the name is still read out. */
@media (max-width: 430px) { .topbar-inner:not(.is-compact) .topbar-row > .brand > span:not(.brand-by) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .brand-by, .topbar.is-scrolled .brand-by { transition: none; } }
.topnav { display: flex; align-items: center; gap: 28px; font-size: 15px; white-space: nowrap; }
.topnav a { color: var(--text-2); transition: color .2s ease; }
.topnav a:hover, .topnav a.is-open { color: var(--text); text-decoration: none; }
/* With a menu open, the other names step back, as Craft's do. */
.topnav.has-open a:not(.is-open) { color: color-mix(in srgb, var(--text-2) 55%, transparent); }
/* The menus: inside the capsule, under its row. Its height follows the menu shown (site.js), so the glass
   grows and shrinks as one shape; wide cards for the main places, a column of links beside them. */
.topmenus { height: 0; overflow: hidden; transition: height .32s cubic-bezier(.3,.7,.2,1); }
.topbar-inner.is-open { border-radius: 24px; }
.topmenu { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; padding: 2px 10px 10px; }
.topmenu-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.topmenu-links { display: grid; align-content: start; gap: 6px; }
.topmenu-card, .topmenu-link { display: grid; color: var(--text); background: var(--nav-card); border-radius: 16px; box-shadow: inset 0 0 0 .5px var(--nav-rim); transition: background-color .2s ease; }
.topmenu-card { grid-template-columns: 24px minmax(0, 1fr); gap: 6px 10px; align-content: start; align-items: center; padding: 14px 16px 16px; min-height: 92px; }
.topmenu-card span { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.topmenu-link { grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 14px; border-radius: 12px; }
.topmenu-card b, .topmenu-link b { font-size: 14px; font-weight: 600; }
.topmenu-card:hover, .topmenu-link:hover, .topmenu-card:focus-visible, .topmenu-link:focus-visible { text-decoration: none; background: color-mix(in srgb, var(--nav-card), var(--text) 6%); }
.topmenu-icon { display: block; overflow: visible; }
.topmenu-more { padding: 6px 14px; font-size: 13.5px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .topmenus, .topbar-inner, .topnav a { transition: none; } }
.topnav a[aria-current="page"] { color: var(--text); font-weight: 500; }
/* Phones: the names give way to a menu button at the top right (owner, 18 Nov), a pencil-drawn ≡ that
   turns into ✕; its menu opens inside the capsule as the desktop menus do. */
.topbar-menu { display: none; grid-column: 3; justify-self: end; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.topbar-menu:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.topbar-menu .topmenu-icon { width: 24px; height: 24px; }
.topbar-menu-close, .topbar-menu[aria-expanded="true"] .topbar-menu-open { display: none; }
.topbar-menu[aria-expanded="true"] .topbar-menu-close { display: block; }
.topmenu-phone { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 2px 8px 10px; }
.topmenu-phone .topmenu-link { grid-template-columns: minmax(0, 1fr); padding: 13px 16px; }
.topmenu-phone .topmenu-link b { font-size: 17px; font-weight: 500; }
/* site.js sets is-compact once the button works, wherever the hover menus can't open (phones, narrow
   windows, touch tablets); until then, and without script, the names stay. With Download still showing
   (761 px up), it sits before the button. */
.topbar-inner.is-compact .topbar-row { grid-template-columns: 1fr auto auto; }
.topbar-inner.is-compact .topbar-row > .topnav { display: none; }
.topbar-inner.is-compact .topbar-menu { display: inline-flex; }
/* A short screen (a phone on its side) scrolls the menu inside the capsule rather than losing its last rows. */
.topbar-inner.is-compact .topmenus { max-height: calc(100svh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.topmenu-phone .topmenu-link[aria-current="page"] { background: color-mix(in srgb, var(--nav-card), var(--text) 6%); }
.topmenu-phone .topmenu-link[aria-current="page"] b { font-weight: 600; }
.pill, .button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff !important; border-radius: 999px;
  padding: 7px 14px; font-weight: 500; white-space: nowrap;
}
.pill:hover, .button:hover { text-decoration: none; filter: brightness(1.08); }
.button { padding: 11px 20px; font-size: 16px; }
.button.secondary { background: var(--surface); color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--line); }

/* ---- footer ---- */
/* The brand and its line on the left, four columns of links, then a bottom row with the
   copyright and Back to top. One column of brand over two of links on narrow screens. */
/* A dark sheet with rounded corners, set in from the window's edges, as Craft's is.
   Column heads are small capitals over a rule. */
.footer { margin: 120px 16px 16px; border-radius: 32px; overflow: hidden; background: #0e0e13; color: rgb(255 255 255 / .5); font-size: 13px;
  --text: #fff; --text-2: rgb(255 255 255 / .6); --text-3: rgb(255 255 255 / .45); --line: rgb(255 255 255 / .1); }

.footer .brand { color: #fff; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 56px 20px 44px;
  display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 40px 56px;
}
.footer-brand .brand { font-size: 17px; gap: 10px; }
.footer-brand .mark { width: 28px; height: 28px; }
.footer-brand p { margin: 14px 0 0; max-width: 30ch; color: var(--text-2); line-height: 1.5; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.footer-head { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 600 13px/1.3 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
/* On the landing page the footer's content lines up with the page column (1120px). */
.page-landing .footer-inner { max-width: 1160px; }
.page-landing .footer-bottom { max-width: 1120px; }
.footer-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-cols a, .footer-top { color: var(--text-2); }
.footer-cols a:hover, .footer-top:hover { color: var(--text); text-decoration: none; }
/* The rule above the copyright spans the content's width, not the side padding, so it stops short of
   the sheet's rounded edges. */
.footer-bottom {
  width: calc(100% - 40px); max-width: 1140px; margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; font-size: 13px;
}
.footer-bottom p { margin: 0; max-width: 72ch; color: var(--text-2); }
.footer-top { white-space: nowrap; }
/* Badges from directories that list Legato, under the copyright row, on the same column; they wrap as more arrive. */
.footer-badges { width: calc(100% - 40px); max-width: 1140px; margin: -8px auto 0; padding: 0 0 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.page-landing .footer-badges { max-width: 1120px; }
.footer-badges a { display: block; opacity: .75; transition: opacity .15s; }
.footer-badges a:hover, .footer-badges a:focus-visible { opacity: 1; }
.footer-badges img { display: block; height: 52px; width: auto; }
.notfound p a { text-decoration: underline; }
@media (max-width: 900px) {
  .footer { margin: 80px 10px 10px; border-radius: 24px; }
  .footer-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Request AI summary: the assistants' marks, grey until you point at one. */
.footer-ai { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--text-2); font-size: 13px; }
.footer-ai > span:first-child { flex-basis: 100%; color: var(--text); font-weight: 600; }
.footer-ai-marks { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-ai-mark { color: var(--text-2); }
.footer-ai-mark:hover, .footer-ai-mark:focus-visible { color: var(--text); }
.footer-ai-status { font-size: 12.5px; color: var(--text-3); }

/* ---- code blocks ---- */
.code {
  position: relative; background: var(--code-bg); border-radius: 12px;
  margin: 1.1em 0; border: 1px solid var(--line);
}
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; color: var(--code-text); line-height: 1.5; }
.code-lang + .copy + pre, .code:has(.code-lang) pre { padding-top: 34px; }
.code-lang {
  position: absolute; top: 9px; left: 18px; font: 500 11.5px/1 var(--font);
  color: var(--text-3); letter-spacing: 0.02em;
}
.copy {
  position: absolute; top: 6px; right: 6px; font: 500 12px/1 var(--font);
  background: var(--surface); color: var(--text-2); border: 1px solid var(--line);
  border-radius: 7px; padding: 5px 9px; cursor: pointer; opacity: 0; transition: opacity 0.15s;
}
.code:hover .copy, .copy:focus-visible { opacity: 1; }
@media (hover: none) { .copy { opacity: 1; } }

/* ---- prose (docs) ---- */
.prose { max-width: 760px; }
.legal { max-width: 760px; margin: 0 auto; padding: 56px 28px 40px; }
@media (max-width: 640px) { .legal { padding: 24px 20px 32px; } }
/* Works with: one page per service, a docs-style article with an illustration of the page under its lead. */
.works-preview { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 14px; margin: 8px 0 12px; padding: 32px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; }
.works-preview::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 25% 45%, var(--theme-color-106), transparent 65%), radial-gradient(ellipse at 80% 60%, var(--theme-color-107), transparent 65%); mask-image: radial-gradient(ellipse, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse, #000 15%, transparent 70%); pointer-events: none; }
.prose .code pre code.language-prompt { white-space: pre-wrap; overflow-wrap: anywhere; }
/* A service with several pages shows the app with just them (a Works with page, and its card on the Features
   page): up to 740px wide, drawn a touch larger than the hero's when there's room, and as tall as its tallest page, so no page scrolls inside
   it and choosing another never resizes it. Phones close the sidebar (site.js). */
.service-scene { container-type: inline-size; width: min(100%, 740px); margin-inline: auto; }
/* On a plain page there's no wallpaper to tint the glass, so the panel takes the landing stage's solid fills:
   a light grey panel, a darker sidebar and near-white cards, whose edges then read against it. */
.service-scene .app-scene { --glass: var(--app-page); --sidebar-fill: var(--app-sidebar); --card-fill: var(--app-card); --glass-line: var(--app-separator); }

.service-scene .app-scene.app-preview { width: 100%; font-size: min(13.5px, calc(100cqw * 13 / 560)); text-align: start; box-shadow: 0 24px 48px -16px rgba(14,10,40,.35), 0 0 0 .5px rgba(14,10,40,.18); }
.service-scene .app-scene:not([data-sidebar="hidden"]) .app-sidebar-cover, .service-scene .app-scene .app-sidebar { width: 13.08em; }
.service-scene .app-scene .app-scene-pages { flex: 1; width: auto; min-width: 0; }
/* Where even 10px type can't fit the window (site.js), the panel keeps the window's height and a taller page
   scrolls inside it, as a long page does in the app. */
/* Drawn at full size first, a long page's app would shrink to fit a moment after load: it stays unseen
   until site.js has fitted it once (only where scripts run), and nothing in it animates while it fits. */
html.js .service-scene .app-scene:not(.is-fitted) { visibility: hidden; opacity: 0; animation: service-scene-shown 0s linear 2s forwards; }
/* Should site.js never run, the app shows after two seconds unfitted rather than not at all. */
/* opacity too: a page inside sets visibility: visible, which would show through a hidden app. */
@keyframes service-scene-shown { to { visibility: visible; opacity: 1; } }
.service-scene .app-scene.is-fitting, .service-scene .app-scene.is-fitting *, html.js .service-scene .app-scene:not(.is-fitted) * { transition: none !important; }
.service-scene .app-scene.is-capped .app-scene-pages { position: relative; height: var(--pages-height); }
.service-scene .app-scene.is-capped .app-scene-pages > .app-page { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; }
@container (max-width: 480px) {
 .service-scene .app-scene.app-preview { font-size: 11px; }
 .service-scene .app-scene:not([data-sidebar="hidden"]) .app-sidebar-cover, .service-scene .app-scene .app-sidebar { width: 10.6em; }
 .service-scene .app-scene .app-sidebar > * { min-width: 0; }
}
/* A Works with page for several pages opens with the title and answer beside the app, wider than the text
   column (up to 1100px), the app straight on the page with its own shadow. Narrow windows stack them. */
.works-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; align-items: start; margin: 0 calc(50% - min(550px, 50vw - 16px)) 8px; }
.works-hero-copy { align-self: center; }
.works-hero-copy h1 { margin-top: 0; }
.works-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.works-hero .works-preview.is-scene { margin: 0; padding: 0; border: 0; background: none; overflow: visible; }
.works-hero .works-preview.is-scene::before { content: none; }
.works-hero .works-preview.is-scene .service-scene { width: 100%; }
@media (max-width: 1000px) { .works-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-inline: 0; } .works-hero-copy { align-self: start; } }
.prose h1 { font: 700 2.25rem/1.15 var(--font-display); letter-spacing: -.02em; margin: 0 0 0.6em; }
.prose h2 { font: 700 1.45rem/1.25 var(--font-display); letter-spacing: -.01em; margin: 2.2em 0 0.6em; padding-top: 0.2em; }
.prose h3 { font: 600 1.12rem/1.3 var(--font-display); margin: 1.8em 0 0.5em; }
.prose h2, .prose h3 { position: relative; }
.prose .anchor {
  position: absolute; left: -0.95em; color: var(--text-3); opacity: 0; font-weight: 400; text-decoration: none;
}
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.3em; }
.prose :not(pre) > code {
  background: var(--code-bg); border: 1px solid var(--line); border-radius: 5px;
  padding: 0.08em 0.36em; font-size: 0.84em; white-space: nowrap;
}
.prose td :not(pre) > code { white-space: normal; overflow-wrap: break-word; }
.prose blockquote {
  margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 10px 10px 0; color: var(--text);
}
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.table-wrap { overflow-x: auto; margin: 1.1em 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 14px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--text-2); font-size: 0.82rem; background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
/* A table of API requests: the request column takes a fixed share and its URLs wrap; on a phone each row
   stacks, the request on top and the other columns under it with their names as labels. */
.is-requests td:first-child { width: 44%; }
.is-requests td code { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .is-requests table, .is-requests tbody { display: block; }
  .is-requests thead { display: none; }
  .is-requests tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px 18px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .is-requests tr:last-child { border-bottom: 0; }
  .is-requests td, .table-wrap.is-requests td { padding: 0; border: 0; width: auto; }
  .is-requests td:first-child, .is-requests td:last-child { grid-column: 1 / -1; }
  .is-requests td:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 0.78rem; font-weight: 600; color: var(--text-2); }
}

@media (max-width: 440px) {
  .topnav .pill { display: none; }
}

/* ---- landing ---- */
/* The hero's glow: three soft lights behind the headline and the Mac, in the wallpaper's colours, inside the
   hero's frame. It sits where it did against the page (offset by the frame's inset), fading out below the screen. */
.page-landing main { position: relative; overflow: clip; } /* clip, not hidden: hidden makes main a scroll container, which stops the scroll-linked quote fade */
.page-landing .lp-frame-glow {
  position: absolute; left: calc(-1 * var(--frame-gap)); right: calc(-1 * var(--frame-gap)); top: calc(-1 * var(--frame-top)); height: 1200px; pointer-events: none;
  background:
    radial-gradient(900px 560px at 18% -6%, var(--glow-1), transparent 70%),
    radial-gradient(820px 540px at 82% 2%, var(--glow-2), transparent 70%),
    radial-gradient(620px 440px at 80% 58%, var(--glow-3), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
}
.orbs { position: absolute; inset: 0 0 auto 0; height: 1100px; overflow: hidden; pointer-events: none; }
.orbs i { position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(80px); opacity: 0.7; }
.orbs i:first-child { left: -8%; top: 120px; background: var(--glow-2); animation: orb-a 26s ease-in-out infinite alternate; }
.orbs i:last-child { right: -10%; top: 280px; background: var(--glow-1); animation: orb-b 32s ease-in-out infinite alternate; }
@keyframes orb-a { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes orb-b { to { transform: translate(-160px, -60px) scale(0.9); } }
@media (prefers-reduced-motion: reduce) { .orbs i { animation: none; } }
.wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hero { padding: 64px 0 0; }
.hero-text { text-align: center; max-width: 760px; margin: 0 auto; }
.hero h1 { font: 700 clamp(2.4rem, 5.4vw, 4rem)/1.06 var(--font-display); letter-spacing: -.015em; margin: 0 0 20px; text-wrap: balance; }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 34em; margin: 0 auto 28px; text-wrap: balance; }
.hero .fine { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .actions { justify-content: center; }
.fine { font-size: 13px; color: var(--text-3); margin: 0; }
.hero-caption { text-align: center; color: var(--text-2); font-size: 15px; max-width: 46em; margin: 8px auto 0; text-wrap: balance; }

/* The headline names one agent at a time. The terms share one grid cell, so the line keeps the
   widest term's width and nothing else moves; site.js slides them through. */
.rotor { display: inline-grid; grid-template-columns: minmax(0, 1fr); justify-items: center; white-space: nowrap; vertical-align: top; transition: width .5s cubic-bezier(.45,0,.55,1); }
.term { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.2em; }
.term:not(.on) { opacity: 0; transform: translateY(0.45em); pointer-events: none; }
.term.off { transform: translateY(-0.45em); }
/* The outgoing name and the incoming one move together, eased in and out, with no overshoot. */
.js .term { transition: opacity .5s cubic-bezier(.45,0,.55,1), transform .5s cubic-bezier(.45,0,.55,1); }
.term[data-term="muse"] { color: var(--theme-color-24); }
.term[data-term="claude"] { color: var(--theme-color-25); }
/* The agents' marks, as little app-icon tiles. */
svg.hero h1 
/* The menu bar icon (drawn by build.mjs): the hero scene's menu bar and the funnel's. */
.micon { display: block; width: auto; color: var(--text); }
.micon.dim { opacity: 0.45; }

.shot { display: block; border-radius: 16px; box-shadow: var(--shot-shadow); background: var(--surface); }

.shot-missing { padding: 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--text-3); font-size: 14px; }

/* Switchers (hero pages, freshness states, connection tabs). Without JavaScript the buttons
   stay hidden and every panel that isn't marked hidden shows. */
.seg { display: none; background: var(--surface-2); border-radius: 11px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.js .seg { display: inline-flex; }
.seg button {
  font: 500 14px/1 var(--font); color: var(--text-2); background: transparent; border: 0;
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
}
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.switch-panel[hidden] { display: none; }

.section { padding: 72px 0 8px; }
.section-head h2 { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--font-display); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.section-head p { color: var(--text-2); font-size: 1.08rem; max-width: 40em; margin: 0 0 28px; }
.section-more { margin: 24px 0 0; font-size: 0.98rem; }

/* Asking an agent for a page: a neutral chat beside the page it made. */
.section-head p code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 5px; padding: 0.05em 0.35em; font-size: 0.85em; }
.chat-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
.chat { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.msg { display: flex; flex-direction: column; gap: 4px; max-width: 88%; }
.msg .who { font-size: 12px; font-weight: 600; color: var(--text-3); }
.msg p { margin: 0; padding: 10px 14px; border-radius: 16px; line-height: 1.45; }
.msg.you { align-self: flex-end; align-items: flex-end; }
.msg.you p { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.agent p { background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.tool { max-width: 100%; width: 100%; }
.msg.tool details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.msg.tool summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 9px 12px; font-size: 13px; }
.msg.tool summary::-webkit-details-marker { display: none; }
.msg.tool summary::before { content: "▸"; color: var(--text-3); font-size: 11px; transition: transform 0.15s; }
.msg.tool details[open] summary::before { transform: rotate(90deg); }
.tool-label { color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; }
.msg.tool summary code { font-size: 12.5px; }
.tool-arg { color: var(--text-2); }
.tool-ok { margin-left: auto; font-size: 12px; color: var(--text-3); }
.tool-ok::before { content: "✓ "; color: #2f9e52; }
.tool-head { margin: 6px 12px 0; font-size: 12px; font-weight: 600; color: var(--text-3); }
.msg.tool .code { margin: 6px 12px 12px; }
.msg.tool pre { max-height: 300px; font-size: 12px; }
.chat-result { margin: 0; position: relative; border-radius: 18px; background: var(--surface); box-shadow: var(--shot-shadow); }
.chat-result .shot { box-shadow: none; width: 100%; border-radius: 18px; }
/* The sequence (site.js adds .chat-anim when motion is allowed, then .play once in view). */
.chat-anim .msg { opacity: 0; transform: translateY(8px); }
.chat-anim.play .msg { animation: msg-in 0.5s cubic-bezier(.22,.61,.36,1) var(--d) both; }
@keyframes msg-in { to { opacity: 1; transform: none; } }

/* Every agent, one menu bar: the centerpiece. Quiet sources, converging lines, one bright icon. */
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; text-wrap: balance; }
.centerpiece .section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.stage { position: relative; margin: 8px auto 0; max-width: 1100px; }
.sources { list-style: none; margin: 0; padding: 0; position: relative; height: 420px; }
.chip {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 2;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 13.5px; color: var(--text-2);
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line);
}
.chip .ficon { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: transparent; stroke: var(--text-3); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stage-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.stage-lines path { fill: none; stroke: url(#stage-grad); stroke-width: 1.4; }
.stage-lines path.leg-agent { stroke-width: 2.2; }
.stage-lines .g0 { stop-color: var(--text-3); stop-opacity: 0.12; }
.stage-lines .g1 { stop-color: var(--accent); stop-opacity: 0.9; }
.stage-dots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stage-dots i {
  position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; opacity: 0;
  background: var(--accent); box-shadow: 0 0 8px 1px color-mix(in srgb, var(--accent) 60%, transparent);
}
/* The menu bar strip, with the Legato icon at the centre of the composition. */
.mbar {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 22px;
  width: min(620px, 100%); height: 34px; margin: 18px auto 0; padding: 0 16px; border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.mbar-side { flex: 1; display: flex; align-items: center; gap: 16px; color: var(--text-3); }
.mbar-side:first-child { justify-content: flex-end; }
.mbar-time { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.mglyph { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.mglyph .fill { fill: currentColor; stroke: none; }
.mbar-icon { position: relative; display: grid; place-items: center; width: 44px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 28px 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.mbar-icon .micon { height: 22px; width: auto; }
.mbar-icon .pulse { position: absolute; inset: 0; border-radius: 8px; box-shadow: 0 0 0 2px var(--accent); opacity: 0; pointer-events: none; }
.stage-panel { position: relative; z-index: 2; margin: 10px auto 0; width: min(570px, 100%); }
.stage-panel .shot { width: 100%; border-radius: 18px; }
.funnel-note { text-align: center; color: var(--text-3); font-size: 13.5px; max-width: 42em; margin: 28px auto 0; }
/* The lines are drawn by site.js from where the chips sit; without JavaScript the chips, menu bar and panel still compose the picture. */

/* The hero scene: a Mac screen drawn at 1000×600 and scaled to fit (site.js sets --scale). A Safari
   window with the booking page, Muse reading it, a slur drawn from the slot it picked to the Legato
   icon (the mark itself, two notes joined), and the panel opening under it, then the other agents' pages. Only the top of the bezel is drawn; the
   screen's lower third fades into the page, so the wallpaper and the page read as one. Without
   JavaScript or with reduced motion, the finished frame shows. */
.scene { width: 100%; margin: 48px auto 0; }
.mac {
  padding: 10px 10px 0; border-radius: 30px 30px 0 0; background: linear-gradient(#3a3a44, #1a1a20 60%);
  -webkit-mask-image: linear-gradient(#000 64%, transparent 100%); mask-image: linear-gradient(#000 64%, transparent 100%);
}
.mac-screen { position: relative; aspect-ratio: 1000 / 600; overflow: hidden; border-radius: 22px 22px 0 0; background: linear-gradient(160deg, var(--wall-1), var(--wall-2) 52%, var(--wall-3)); }
.js .mac-inner { position: absolute; left: 0; top: 0; width: 1000px; height: 600px; transform-origin: 0 0; transform: scale(var(--scale, 1)); }
/* Without JavaScript nothing can scale the screen, so the parts stack (the phone layout below). */
:root:not(.js) .mac { padding: 0; border-radius: 0; background: none; -webkit-mask-image: none; mask-image: none; }
:root:not(.js) .mac-screen { aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; }
:root:not(.js) .mac-inner { display: grid; gap: 22px; justify-items: center; }
:root:not(.js) .mac-bar { position: static; width: min(460px, 100%); height: 30px; border-radius: 9px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text-2); font-size: 12px; padding: 0 12px; gap: 12px; order: -1; }
:root:not(.js) .mac-bar b, :root:not(.js) .mac-bar > span:not(.mac-right), :root:not(.js) .mac-apple { display: none; }
:root:not(.js) .mock-page { position: static; width: min(480px, 100%); }
:root:not(.js) .scene-agent { position: static; }
:root:not(.js) .scene-panel { position: static; width: min(570px, 100%); }
:root:not(.js) .scene-page:not(.on) { display: none; }
.mac-bar {
  position: absolute; left: 0; top: 0; right: 0; height: 32px; display: flex; align-items: center; gap: 18px; padding: 0 16px;
  font: 500 13px/1 var(--font); color: var(--theme-color-26); background: var(--theme-color-27);
  isolation: isolate; /* the icon capture sits on white (light) or black (dark); the blend modes below remove that against the bar */
}
.mac-bar b { font-weight: 700; }
.mac-apple { width: 15px; height: 15px; fill: currentColor; }
.mac-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mac-right svg { width: 17px; height: 17px; }
.mac-right .mac-battery { width: 26px; height: 13px; }
.mac-icon { display: inline-grid; place-items: center; border-radius: 6px; }
.mac-icon .micon { height: 20px; width: auto; }
.mac-icon.tick { animation: icon-tick 0.6s ease-out; }
@keyframes icon-tick { 35% { transform: scale(1.35); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); } }
.mock-page { position: absolute; left: 36px; top: 62px; width: 470px; margin: 0; border-radius: 12px; overflow: hidden; background: #fbfaf7; color: #2b2721; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 22px 60px rgba(0, 0, 0, 0.28); font-family: Georgia, "Times New Roman", serif; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #ecebe7; border-bottom: 1px solid rgba(0, 0, 0, 0.08); font: 12px/1 var(--font); color: #6d6a63; }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfccc5; }
.mock-url { flex: 1; background: #fff; border-radius: 6px; padding: 5px 10px; }
.mock-body { position: relative; overflow: hidden; padding: 22px 24px 26px; }
.mock-kicker { margin: 0; text-transform: uppercase; letter-spacing: 0.12em; font: 600 11px/1 var(--font); color: #8a6d3b; }
.mock-body h3 { margin: 6px 0 4px; font-size: 1.7rem; font-weight: 600; }
.mock-when { margin: 0 0 16px; color: #6d6a63; font-size: 0.95rem; }
.mock-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-slot {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px;
  border-radius: 8px; background: #f1efe9; border: 1px solid #e4e1d9; font: 500 0.95rem/1.2 var(--font); color: #2b2721;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mock-slot small { font: 11.5px/1 var(--font); color: #8a867d; }
.mock-slot.off { color: #b3afa6; background: transparent; border-style: dashed; text-decoration: line-through; }
.mock-slot.mock-pick { background: #fff; border-color: transparent; outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent); }
.mock-pick em { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); font: 600 11px/1 var(--font); font-style: normal; color: #fff; background: var(--accent); padding: 4px 8px; border-radius: 999px; white-space: nowrap; transition: opacity 0.3s; }
.mock-pick em::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top-color: var(--accent); }
.mock-body h3 + .mock-when { margin-bottom: 30px; }
.mock-fill { margin-top: 16px; display: grid; gap: 7px; }
.mock-fill i { display: block; height: 8px; border-radius: 4px; background: #ebe8e1; }
.mock-fill i:nth-child(2) { width: 82%; }
.mock-fill i:nth-child(3) { width: 64%; }
.mock-scan { position: absolute; left: 0; right: 0; top: -70px; height: 70px; opacity: 0; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--accent) 14%, transparent) 70%, color-mix(in srgb, var(--accent) 70%, transparent)); }
.scene-agent {
  position: absolute; left: 318px; top: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: var(--surface); color: var(--text); font: 500 13px/1 var(--font); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.22); white-space: nowrap;
}
.scene-agent::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.scene-agent b { font-weight: 700; }
.scene-agent span { color: var(--text-2); }
.scene-agent .is-reading { display: none; }
/* The panel is the sidebar (170 pt here) beside the 400 pt page, hung under the icon. */
.scene-panel { position: absolute; top: 38px; left: 520px; width: 460px; }
/* The pages share one grid cell; the one marked .on shows, the rest keep the panel's height. */
.scene-pages { display: grid; align-items: start; }
.scene-page { grid-area: 1 / 1; margin: 0; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 24px 70px rgba(0, 0, 0, 0.32); visibility: hidden; }
.scene-page.on { visibility: visible; }
.scene-page .shot { width: 100%; border-radius: 16px; box-shadow: none; }
/* The legato: site.js draws a tapered slur from the picked slot to the icon in this layer. */
.scene-slur { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: var(--accent); }
.scene-slur ellipse { transform-box: fill-box; transform-origin: center; }
/* The animated states (site.js adds .anim, then .reading, .pick, .sent and .open in turn). */
.scene.anim .scene-agent { opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s; }
.scene.anim.reading .scene-agent, .scene.anim.open .scene-agent { opacity: 1; transform: none; }
.scene.anim .scene-agent .is-reading { display: inline; }
.scene.anim .scene-agent .is-sent { display: none; }
.scene.anim.sent .scene-agent .is-reading { display: none; }
.scene.anim.sent .scene-agent .is-sent { display: inline; }
.scene.anim.reading .mock-scan { animation: scan 1.5s ease-in-out both; }
@keyframes scan { 0% { top: -70px; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.scene.anim .mock-pick { outline-color: transparent; box-shadow: none; }
.scene.anim .mock-pick em { opacity: 0; }
.scene.anim.pick .mock-pick { outline-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent); }
.scene.anim.pick .mock-pick em { opacity: 1; }
.scene.anim.pick.slur .mock-pick em { opacity: 0; }
.scene.anim.pick .mock-slot:not(.off) { border-color: color-mix(in srgb, var(--accent) 50%, #e4e1d9); }
.scene.anim .scene-panel { opacity: 0; transform: translateY(-16px) scale(0.96); transform-origin: 50% 0; transition: opacity 0.4s ease-in, transform 0.4s ease-in; }
.scene.anim.open .scene-panel { opacity: 1; transform: none; transition: opacity 0.5s cubic-bezier(.22,.61,.36,1), transform 0.5s cubic-bezier(.22,.61,.36,1); }
/* Before site.js starts the loop the panel is already hidden, so the first frame never shows an unwashed card. */
.scene-ready .scene:not(.anim) .scene-panel { opacity: 0; transform: translateY(-16px) scale(0.96); }
/* While the other agents' pages show, Muse's badge steps back. */
.scene.anim.others .scene-agent { opacity: 0; transform: translateY(6px); }

/* Everyday examples: a list of eight, one big screenshot at a time. */
.js .everyday .switch { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.js .everyday .switch-panel { grid-column: 2; grid-row: 1; }
.everyday .seg { flex-direction: column; align-items: stretch; background: transparent; padding: 0; gap: 4px; }
.everyday .seg button { text-align: left; padding: 11px 14px; font-size: 15px; border-radius: 10px; }
.everyday .seg button[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
.ev-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.ev-text h3 { margin: 0 0 6px; font-size: 1.3rem; }
.ev-text p { color: var(--text-2); margin: 0 0 10px; }
.ev-panel figure { margin: 0; max-width: 420px; }
.ev-panel .shot { width: 100%; }
.everyday .switch-panel + .switch-panel { margin-top: 40px; }
.js .everyday .switch-panel + .switch-panel { margin-top: 0; }

/* The agents in the centerpiece: brighter than the sources, quieter than the icon. */
.agents { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: calc(420px * 0.88); height: 0; }
.agent {
  position: absolute; left: var(--x); top: 0; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px 7px 9px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow);
}
.agent 
/* The cards: a card each, the real card cut from its explore screenshot, numbered. */
.wgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wcard { display: flex; flex-direction: column; background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 20px; box-shadow: var(--shadow); }
.wcrop {
  position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--surface-2);
  aspect-ratio: var(--aspect); max-height: 150px; margin-bottom: 16px;
}
.wcrop img { position: absolute; left: 0; top: 0; max-width: none; height: auto; }
.wcrop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.wcard .kicker { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.wcard .kicker code { font-size: 12.5px; }
.wcard h3 { margin: 0 0 6px; font: 700 1.1rem/1.25 var(--font-display); letter-spacing: -.01em; }
.wcard p:last-child { margin: 0; color: var(--text-2); font-size: 0.93rem; line-height: 1.45; }
.pills { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text-2); }

/* Freshness: one page in three states. */
.fresh .seg { margin-bottom: 20px; }
.fresh-state { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.fresh-text h3 { margin: 0; font-size: 1.3rem; }
.fresh-text p { color: var(--text-2); margin: 0; max-width: 28em; }
.fresh-state figure { margin: 0; max-width: 570px; }
.fresh-state .shot { width: 100%; }
/* Without JavaScript all three states show, one after another. */
.fresh .switch-panel + .switch-panel { margin-top: 48px; }
.js .fresh .switch-panel + .switch-panel { margin-top: 0; }

.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover::after { color: var(--text); }
/* The sign is two bars: opening, the upright one folds flat and the sign turns a half turn, so + becomes −. */
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; color: var(--text-3);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .44s cubic-bezier(.4,0,.2,1), background-size .44s cubic-bezier(.4,0,.2,1), color .2s ease; }
.faq details.is-open summary::after { transform: rotate(180deg); background-size: 12px 1.5px, 1.5px 0; }
/* Stageshow's Collapse timings: closing, the words dim fast and dissolve while the row closes a beat later;
   opening, the row leads and the words come in as its edge passes them. */
/* An answer's room opens at once and its words fade in, so the page lays out once (owner, Safari, 19 Nov: growing the
   room frame by frame stuttered once the footer's beans and the pricing leaves were showing). */
.faq-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: opacity .24s ease-out; }
.faq details.is-open .faq-body { grid-template-rows: 1fr; opacity: 1; }
.faq-body-inner { min-height: 0; overflow: hidden; }
.faq details p { margin: 0 0 18px; color: var(--text-2); max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after, .faq-body, .faq details.is-open .faq-body { transition: none; } }
.faq code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 5px; padding: 0.05em 0.35em; font-size: 0.85em; }

.beta {
  position: relative; overflow: hidden;
  margin-top: 72px; text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 52px 24px; box-shadow: var(--shadow); scroll-margin-top: 80px;
}
.beta::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; pointer-events: none; background: radial-gradient(closest-side at 30% 40%, var(--glow-1), transparent), radial-gradient(closest-side at 75% 50%, var(--glow-3), transparent); opacity: 0.45; }
.beta > * { position: relative; }
.beta h2 { font: 700 clamp(1.6rem, 2.8vw, 2.1rem)/1.15 var(--font-display); letter-spacing: -.02em; margin: 0 0 12px; }
.beta p { color: var(--text-2); max-width: 34em; margin: 0 auto 24px; }
.beta .actions { justify-content: center; }

@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .chat-demo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .js .everyday .switch { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .js .everyday .switch-panel { grid-column: 1; grid-row: 2; }
  .everyday .seg { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .everyday .seg button { white-space: nowrap; flex: none; }
  .ev-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents { position: static; height: auto; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 0 56px; }
  .agent { position: static; transform: none; }
  /* On narrower screens the sources wrap into a cloud above the menu bar. */
  .sources { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; padding-bottom: 64px; }
  .chip { position: static; transform: none; }
  .chat-result { max-width: 420px; width: 100%; margin: 0 auto; }
  .fresh-state { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .wgrid { grid-template-columns: minmax(0, 1fr); }
  .chat { padding: 16px; }
  .chip { font-size: 12.5px; padding: 5px 10px 5px 6px; }
  .mbar { gap: 12px; padding: 0 10px; }
  .mbar-side { gap: 10px; }
  .msg { max-width: 94%; }
  .js .seg { display: flex; width: 100%; flex-wrap: nowrap; }
  .js .everyday .seg { width: auto; }
  .seg button { flex: 1 1 auto; padding: 8px 6px; font-size: 13px; white-space: nowrap; }
}

.notfound { max-width: 640px; margin: 0 auto; padding: 96px 20px; text-align: center; }
.notfound h1 { font: 700 2.4rem/1.1 var(--font-display); }

/* On a phone the Mac frame would shrink the page to 4px text, so the scene stacks: the menu bar
   strip, the browser window, then the Legato panel. The loop runs the same way. */
@media (max-width: 640px) {
  .scene { margin-top: 36px; }
  .mac { padding: 0; border-radius: 0; background: none; -webkit-mask-image: none; mask-image: none; }
  .mac-screen { aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; }
  .js .mac-inner, .mac-inner { position: static; width: auto; height: auto; transform: none; display: grid; gap: 22px; justify-items: center; }
  .mac-bar { position: static; width: min(460px, 100%); height: 30px; border-radius: 9px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text-2); font-size: 12px; padding: 0 12px; gap: 12px; }
  .mac-bar b, .mac-bar > span:not(.mac-right), .mac-apple { display: none; }
  .mock-page { position: static; width: min(480px, 100%); }
  .scene-agent { position: static; }
  .scene-panel { position: static; width: min(570px, 100%); }
  .mac-bar { order: -1; }
}

/* Landing redesign: one atmospheric canvas, restrained glass, native app captures. */
/* The page is one plain colour (Mist, Bear's off-white) from the very top; the hero's gradient lives in its frame. */
.page-landing { --bg: #f3f5f7; --frame-fill: #f1edfa; }

body.page-landing { background: var(--bg); }
/* The frame starts --frame-top below the window top and --frame-gap in from the sides. The top bar moves down by
   --frame-top and in by --frame-gap, so its pill sits 8 px inside the frame, as Craft's does. */
.page-landing { --frame-gap: 16px; --frame-top: 12px; --frame-r: 32px; --topbar-h: 81px; }
.page-landing .topbar { height: var(--topbar-h); padding: calc(8px + var(--frame-top)) calc(8px + var(--frame-gap)) 0; }

.page-landing main.lp { margin-top: calc(-1 * var(--topbar-h)); padding-top: var(--topbar-h); }
/* The frame: the hero's own box, holding the gradient, the glows and a faint grain (which keeps the gradients from
   banding on large displays), from just under the window's top edge (behind the top bar) to the hero's bottom. */
.lp-frame { position: relative; isolation: isolate; }
.lp-frame > .lp-atmosphere, .lp-frame > .lp-frame-grain { position: absolute; inset: calc(var(--frame-top) - var(--topbar-h)) var(--frame-gap) 0; border-radius: var(--frame-r); overflow: hidden; pointer-events: none; }
.lp-frame .lp-hero { padding-bottom: 48px; }
.page-landing .lp-frame-grain { z-index: -1; opacity: var(--grain, .2); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23n)' opacity='.3' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.lp { position: relative; isolation: isolate; overflow: clip; }
.lp-atmosphere { z-index: -2; background: radial-gradient(ellipse at 12% 8%,var(--theme-color-31),transparent 28%),radial-gradient(ellipse at 96% 28%,var(--theme-color-32),transparent 26%),radial-gradient(ellipse at 10% 70%,var(--theme-color-33),transparent 24%),var(--frame-fill); }
.lp-atmosphere > i { position: absolute; width: 95vw; height: 1000px; border-radius: 45%; filter: blur(90px); opacity: .4; will-change:auto; background: var(--theme-color-34); }
.lp-atmosphere > i:nth-child(1) { top: 100px; left: -35vw; }
.lp-atmosphere > i:nth-child(2) { top: 1400px; right: -45vw; background: var(--theme-color-35); }
.lp-atmosphere > i:nth-child(3) { top: 4100px; left: -50vw; background: var(--theme-color-36); }
/* One glow behind the page instead of three. */
.lp-atmosphere > i:nth-child(n+2) { display: none; }
.lp .wrap { max-width: 1160px; }
/* The top bar's capsule is the landing page's column wide, so its edges line up with what's under it. */
.page-landing .topbar-inner { max-width: 1120px; }
.lp-hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: 48px; padding: 56px 0 24px; }
.lp-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2); margin: 0 0 22px; }
.lp-hero > .lp-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 30px; background: var(--theme-color-37); box-shadow: inset 0 0 0 1px var(--theme-color-38); backdrop-filter: blur(15px); }
.lp-eyebrow > span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #308965; flex: none; }
/* Newsreader Italic (Production Type, OFL; fonts/Newsreader-OFL.txt): only the hero's second line. Latin, wght 400–500,
   opsz 24–72, 75 KB. Georgia Italic stands in while it loads, sized to the same metrics so nothing moves when it arrives. */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-style: italic; font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; size-adjust: 88.96%; ascent-override: 82.62%; descent-override: 29.79%; line-gap-override: 0%; }
.lp-hero-copy { --l2k: 12.975; container-type: inline-size; }
/* Three lines: what it is (the h1), who keeps it current (the rotating name starts the line), where else data comes
   from (both in .lp-hero-sub).
   --l2k was line 2's width in ems with its longest name (line 2 was removed 13 Nov);
   line 2 never wraps, so it shrinks to fit its column. Measure again after changing its words or names. */
.lp-hero h1 { font-size: clamp(34px,3.4vw,46px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; margin: 0; }
.lp-hero-sub { margin: 0 0 32px; color: var(--text); }
.lp-hero-line { display: block; }
.lp-hero-line-1 { text-wrap: balance; }
.lp-hero-line-2 { margin-top: .45em; font: italic 400 clamp(21px,2.5vw,33px) / 1.15 "Newsreader", "Newsreader Fallback", Georgia, serif; letter-spacing: -.01em; }
/* Without container units (Safari before 16) line 2 keeps a plain size and may wrap. */
@supports (width: 1cqi) { .lp-hero-line-2 { white-space: nowrap; font-size: min(clamp(25px,2.5vw,33px), calc(100cqi / var(--l2k))); } }
.lp-hero-line-2 .rotor { vertical-align: baseline; }
.lp-hero-line-3 { margin-top: .45em; font-size: clamp(21px,2.1vw,28px); line-height: 1.25; font-weight: 400; letter-spacing: -.01em; text-wrap: pretty; }
/* Claude's orange measures 2.0–2.3 on the hero's light periwinkle, so the names take the text colour here. */
.lp-hero .term[data-term] { color: inherit; }
.lp-hero .rotor { justify-items: start; }
.lp .lp-hero .actions { justify-content: flex-start; }
/* Under the hero's buttons: which Macs, and the trial (owner, 16 Nov, after the X research: say "Mac" near the top). */
.lp-hero-fine { margin: 14px 0 0; font-size: 15px; color: #52525e; }
.lp .actions { justify-content: center; gap: 25px; }
.lp .button { background: var(--theme-color-40); color: var(--theme-color-41) !important; font-size: 15px; padding: 13px 22px; border: 1px solid var(--theme-color-42); box-shadow: 0 5px 15px #100b2018; justify-content: center; gap: 18px; }
.lp-text-link { font-size: 15px; color: var(--text); }
.lp-fine { font-size: 12px; line-height: 1.5; color: var(--text-2); margin: 18px 0 0; }
.lp-wallpaper { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg,#6381c4,#a791c5 48%,#d4adbc); }

.lp-wallpaper i { position: absolute; height: 160%; width: 100%; border-radius: 45%; transform: rotate(-35deg); box-shadow: inset 20px 20px 80px #ffffff28; animation: lp-wall-drift 20s ease-in-out 2 alternate; }
.lp-wallpaper i:nth-child(1) { background: linear-gradient(90deg,#244da3aa,#8a82cf55); left: -45%; top: -40%; }
.lp-wallpaper i:nth-child(2) { background: linear-gradient(90deg,#c9bff755,#816cba88); left: 8%; top: 30%; animation-delay: -10s; }
.lp-wallpaper i:nth-child(3) { background: linear-gradient(90deg,#e4b5b755,#738fcf66); right: -55%; top: -20%; animation-delay: -6s; }
@keyframes lp-wall-drift { to { transform: translate(25px,-25px) rotate(-20deg); } }

/* Hero: the copy on the left; on the right a stage with a slice of menu bar and the Legato panel
   hanging from its icon. The panel keeps its 570px layout and scales with the stage. */
.lp-stage { --wall-1: #5d77c2; --wall-2: #8a74bd; --wall-3: #c68ca6; --stage-shadow: rgba(20,20,30,.42); --stage-edge: rgba(20,20,30,.14); --scene-fill: rgba(246,246,249,.93); --scene-sidebar: rgba(232,233,240,.9); --scene-card: rgba(255,255,255,.92);
  position: relative; container-type: inline-size; border-radius: 22px; overflow: hidden; padding-bottom: 16px; box-shadow: 0 50px 100px -30px var(--stage-shadow), 0 18px 40px -12px var(--stage-shadow), 0 0 0 1px var(--stage-edge); }

.lp-stage .lp-wallpaper { background: linear-gradient(140deg, var(--wall-1), var(--wall-2) 55%, var(--wall-3)) !important; }
.lp-stage-bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 12px 0 16px; font-size: 11px; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lp-stage-menus { word-spacing: 8px; }
.lp-stage-menus b { margin-right: 6px; }
.lp-stage-status { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lp-stage-glyph { position: relative; display: grid; place-items: center; width: 34px; height: 24px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.24); color: inherit; cursor: pointer; }
.lp-stage-glyph[aria-expanded="false"] { background: none; }
.lp-stage-glyph svg { width: 22px; height: 22px; }
.lp-stage-dot { position: absolute; top: 3px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lp-stage-dot[hidden] { display: none; }
.lp-stage-panel { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 8px 16px 0; transform-origin: 85% 0; transition: opacity .22s, transform .22s; }
.lp-stage-panel.is-closed { opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; }
.lp-stage .app-scene { --glass: var(--scene-fill); --sidebar-fill: var(--scene-sidebar); --card-fill: var(--scene-card); flex: none; width: max-content; font-size: min(13px, calc((100cqw - 34px) * 13 / 570)); box-shadow: 0 28px 56px -14px rgba(14,10,40,.5), 0 0 0 .5px rgba(14,10,40,.18); }
/* The sidebar button hides the sidebar as the app does (AppModel.setSidebar, SidebarCover): over 0.22s,
   ease in and out, the page slides left over the sidebar, which never moves or fades, and the panel
   narrows with it from its right edge. Only the cover's width moves; the panel's width follows it.
   The one button sits over the panel's top-left corner (the app's 16pt inset), so it stays put. */
.app-scene { position: relative; }
.app-scene .app-sidebar-cover { flex: none; display: flex; width: 13.08em; overflow: hidden; transition: width .22s ease-in-out; }
.app-scene .app-sidebar { flex: none; width: 13.08em; }
.app-scene .app-sidebar > * { min-width: 11.98em; }
.app-scene .app-scene-pages { flex: none; width: 30.77em; }
.app-scene[data-sidebar="hidden"] .app-sidebar-cover { width: 0; }
.app-scene .app-topbar { height: 1.4em; box-sizing: content-box; }
.app-scene .app-sidebar-glyph { display: inline-grid; place-items: center; padding: .25em; margin: -.25em; border: 0; border-radius: .4em; background: none; color: inherit; cursor: pointer; }
.app-scene .app-sidebar-glyph:hover, .app-scene .app-pin:hover { background: var(--app-hover); }
.app-scene .app-sidebar-glyph:focus-visible, .app-scene .app-pin:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.app-scene .app-scene-toggle { position: absolute; z-index: 2; left: 1.503em; top: .975em; font: inherit; }
/* The sidebar button's symbol is the same size as the collections' and Keep Open's beside it, as the app
   draws them all (PanelTopRow); its centre stays 28pt (2.154em) in from the panel's edge. */
.app-scene .app-scene-toggle .app-symbol { width: 1.15em; height: 1.15em; }
/* Hidden, the title row makes room for the button, as the app's header does. */
.app-scene .app-page-heading { transition: padding-left .22s ease-in-out; }
.app-scene[data-sidebar="hidden"] .app-page-heading { padding-left: 2.8em; }
/* A link to a page the scene holds opens it; that page's title row then starts with the way back. */
.app-scene [data-page-link][role="link"] { cursor: pointer; }
/* As the app: a card that's a link lights a shade under the pointer and shows → at its top right; a facts line
   that links gets a faint highlight and → after its value. Arrows keep their room while hidden. */
.app-card.is-linked { position: relative; transition: background-color .15s ease; }
.app-scene .app-card.is-linked[role="link"]:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--card-fill), var(--text) 7%); }
.app-go { font-style: normal; font-size: .8em; font-weight: 600; color: var(--text-2); opacity: 0; transition: opacity .15s ease; }
.app-card-go { position: absolute; top: .75em; right: .85em; }
:is(.app-breakdown, .app-pacing, .app-flow).is-linked .app-card-title { padding-right: 1.1em; }
.app-scene .app-card.is-linked[role="link"]:is(:hover, :focus-visible) > .app-card-go { opacity: 1; }
.app-fact-rows.has-links dd { display: flex; justify-content: flex-end; align-items: baseline; gap: .45em; }
.app-fact-rows.has-links .app-go { flex: none; }
.app-fact-rows > div[data-page-link] { margin: 0 -.35em; padding: .05em .35em; border-radius: .35em; transition: background-color .15s ease; }
.app-scene .app-fact-rows > div[data-page-link][role="link"]:is(:hover, :focus-visible) { background: color-mix(in srgb, transparent, var(--text) 7%); }
.app-scene .app-fact-rows > div[data-page-link][role="link"]:is(:hover, :focus-visible) .app-go { opacity: 1; }
.app-scene [data-page-link][role="link"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.app-scene .app-back-wrap { display: inline-flex; align-items: center; gap: .55em; min-width: 0; }
.app-scene .app-back-wrap[hidden] { display: none; }
.app-scene .app-back { display: inline-flex; align-items: center; gap: .2em; padding: .15em .3em; margin: -.15em -.1em; border: 0; border-radius: .4em; background: none; font: inherit; font-size: .94em; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.app-scene .app-back:hover { background: var(--app-hover); }
.app-scene .app-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.app-scene .app-back .app-symbol { width: .9em; height: .9em; filter: grayscale(1) brightness(.55); opacity: .8; }

.app-scene .app-back-divider { width: 1px; height: 1.1em; background: var(--glass-line); }
/* Keep Open, at the title row's end: grey, or the accent's filled pin while the panel's kept open. */
.app-scene .app-pin { display: inline-grid; place-items: center; margin: -.25em -.1em -.25em auto; padding: .25em; border: 0; border-radius: .4em; background: none; cursor: pointer; }
.app-scene .app-pin .app-symbol { width: 1.15em; height: 1.15em; }
.app-scene .app-pin[aria-pressed="false"] .app-symbol { filter: grayscale(1) brightness(.55); opacity: .75; }

/* The hero without a desktop of its own: no wallpaper or frame, just the menu bar icon and clock on the
   page, and the panel opening from them over the site, with its own shadow. */
.lp-stage-float { overflow: visible; border-radius: 0; box-shadow: none; padding-bottom: 0; }
.lp-stage-float .lp-wallpaper, .lp-stage-float .lp-stage-menus { display: none; }
.lp-stage-float .lp-stage-bar { justify-content: flex-end; padding: 0 16px; color: var(--text-2); background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lp-stage-float .lp-stage-glyph { color: var(--text); background: var(--theme-color-94); }
.lp-stage-float .lp-stage-glyph[aria-expanded="false"] { background: none; }
/* The hero's panel keeps its top-left corner where it is, so it narrows from the right when the sidebar
   hides and the sidebar button stays put. In every floating stage the status items sit at the right,
   the Legato icon leading them, as a newer app's does. */
.lp-stage-float .lp-stage-status { gap: 14px; }
.lp-stage-float .lp-stage-status svg.lp-stage-item { width: 15px; height: 15px; flex: none; }
.lp-stage-float .lp-stage-status svg.lp-stage-battery { width: 22px; }
/* The hero's status items sit at the right of the bar, as a Mac's do, ending at the page column's edge,
   and the panel hangs 2pt below the bar, its right edge with theirs, as a panel opened near the screen's
   edge is kept on screen. It opens and closes from Legato's icon. */
[data-hero-stage] .lp-stage-panel { justify-content: flex-start; padding-top: 2px; transform-origin: calc(100% - 172px) 0; }
/* A slice of the menu bar behind them, lighter than the top bar's glass: it fades in over a short run left
   of the panel and stops at the page column's edge, where the top bar ends, fading out there too. */
:is([data-hero-stage],[data-glass-stage]) .lp-stage-bar::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 -72px; background: rgb(255 255 255 / .22); box-shadow: inset 0 -.5px 0 rgb(255 255 255 / .45); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 56px), transparent); }
/* Without the slice (data-bar="clear" on the stage): the icons alone, as macOS 26 draws its menu bar. */
[data-hero-stage][data-bar="clear"] .lp-stage-bar::before { display: none; }

/* A reading that comes in moves its ring with it (site.js, the hero's steps beat). */
[data-hero-stage] .app-ring-value circle { transition: stroke-dasharray .6s ease; }
/* Liquid Glass toward the clear end, as in the Made for Liquid Glass section: the page's colours show
   through, softened, with a bright rim along the top edge. */
.lp-stage-float { --scene-fill: rgb(246 246 249 / .5); --scene-sidebar: rgb(236 237 244 / .32); --scene-card: rgb(255 255 255 / .55); }

.lp-stage-float .app-scene { backdrop-filter: blur(14px) saturate(1.8); -webkit-backdrop-filter: blur(14px) saturate(1.8); border-color: rgb(255 255 255 / .45);
  box-shadow: 0 40px 80px -24px var(--stage-shadow), 0 14px 32px -12px var(--stage-shadow), 0 0 0 .5px var(--stage-edge), inset 0 1px 0 rgb(255 255 255 / .6), inset 0 0 0 .5px rgb(255 255 255 / .25); }

.lp-stage-foot { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 12px 16px 0; }
/* On phones the stage's pause button is far below; while the hero still has something to play, a second
   one sits beside the pricing link. It goes once the hero has finished, and never shows with Reduced Motion. */
.lp-motion-toggle.lp-hero-pause { display: none; }
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
 .js .lp-hero .lp-hero-pause { display: grid; }
 /* Once the hero is done it hides but keeps its place, so nothing moves; a focused one stays until it's left. */
 .js .lp-hero.motion-done .lp-hero-pause:not(:focus) { visibility: hidden; }
}
.lp-motion-toggle { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); color: var(--text-2); cursor: pointer; font-size: 11px; }
.lp-stage-glyph:focus-visible, .lp-motion-toggle:focus-visible, .app-scene .app-sidebar-row:focus-visible, .app-scene .app-section-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* The scene: rows are buttons, pages share one cell, a dot pops in, a card glows when its agent writes. */
.app-scene .app-sidebar-row { width: 100%; border: 1px solid transparent; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.app-scene .app-sidebar-row:not(.selected):hover { background: var(--app-hover); }
.app-scene .app-row-dot { animation: app-dot-in .32s cubic-bezier(.2,.8,.3,1.4); }
.app-scene .app-row-dot[hidden] { display: none !important; }
@keyframes app-dot-in { from { transform: scale(0); } }
.app-scene-pages { flex: 1; min-width: 0; display: grid; }
.app-scene-pages > .app-page { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .22s; }
.app-scene-pages > .app-page.is-shown { opacity: 1; visibility: visible; transition: opacity .22s ease; }
/* The hero panel keeps one height, so switching pages never resizes the hero, and the page shown fills
   it, scrolling as a long page does in the app. Phones keep 37.5em. Scrolling past a page's end carries on down the landing page.
   The Liquid Glass panel is the same app, so it takes the same height rather than its tallest page's. */
:is([data-hero-stage],[data-glass-stage]) .app-scene-pages { position: relative; min-height: 64em; }
/* 64em holds the longest pages a visitor opens from the sidebar (Tesla, Pi-hole, Sleep) whole, with no
   scroll; on a short window the panel runs on below the fold rather than scroll inside. */
/* Beside the headline the hero fills the first screen on its own: at least the window's height under the
   top bar, so the next section starts below the fold, with the headline and the app centred in it, the
   same room above the app's menu bar as under its pause button. */
@media (min-width: 1160px) {
 .lp-hero { min-height: calc(100svh - var(--topbar-h, 69px)); padding: 24px 0; box-sizing: border-box; }
}
@media (max-width: 600px) { :is([data-hero-stage],[data-glass-stage]) .app-scene-pages { min-height: 37.5em; } }
:is([data-hero-stage],[data-glass-stage]) .app-scene-pages > .app-page { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; }
.app-card.is-fresh { animation: app-fresh 2.6s ease-out; }
@keyframes app-fresh { 0%, 40% { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--theme-color-92); } }
@media (max-width: 1159px) {
 .lp-hero { grid-template-columns: minmax(0,1fr); gap: 36px; padding-top: 40px; }
 .lp-stage { width: 100%; max-width: 680px; }
 /* Under the copy the hero's stage is as wide as its panel at full size (570px and its 34px of room),
    centred, so the menu bar and the pause button end at the panel's edge. */
 .lp-stage[data-hero-stage] { max-width: 604px; margin-inline: auto; }
 .lp-stage[data-glass-stage] { max-width: 604px; margin-inline: auto; }
}
/* Phones show the panel with its sidebar closed, as the app does when narrow, so no label drops under 10px. */
@media (max-width: 600px) {
 .lp-hero { padding-top: 28px; gap: 28px; }
 .lp-stage-menus { display: none; }
 .lp-stage-panel { padding: 8px 10px 0; }
 .lp-stage .app-scene { width: 100%; font-size: 12.5px; }
 .lp-stage .app-scene .app-sidebar-cover { width: 30%; }
 .lp-stage .app-scene .app-sidebar { width: 100%; }
 .lp-stage .app-scene .app-sidebar > * { min-width: 0; }
 .lp-stage .app-scene .app-scene-pages { flex: 1; width: auto; min-width: 0; }
 /* The hero has no room to widen: its page keeps the panel's width and slides right under its edge. */
 [data-hero-stage] .app-scene .app-scene-pages { flex: none; width: calc(100cqw - 22px); }
 [data-hero-stage] .lp-stage-bar { padding: 0 10px; }
 /* Today's packages keep one line each: the carrier column goes. */
 [data-hero-stage] [data-card="packages"] .app-list-detail { display: none; }
 .lp-stage.lp-glass-stage .app-scene { font-size: 12.5px; }
 .lp-stage .app-scene:not([data-sidebar="shown"]) .app-sidebar-cover { width: 0; }
 .lp-stage .app-scene:not([data-sidebar="shown"]) .app-page-heading { padding-left: 2.8em; }
}
@media (prefers-reduced-motion: reduce) {
 .lp-stage-panel, .app-scene-pages > .app-page, .app-scene-pages > .app-page.is-shown, .app-scene .app-sidebar-cover, .app-scene .app-page-heading { transition: none !important; }
 .app-scene .app-row-dot, .app-card.is-fresh { animation: none; }
 [data-hero-stage] .app-ring-value circle { transition: none; }
}

/* Scene states the landing page's scripts set: a green row light, a hidden row, a row arriving. */
.app-scene .app-row-dot.ok { background: #31bc60; }
.app-scene .app-sidebar-row[hidden] { display: none; }
@keyframes lp-arrive { from { opacity: 0; transform: translateX(-10px); } }

/* Collections, pages, cards: the panel still on the left, the two ways a card stays current on the
   right, and a wire from each to the card it fills. site.js places the wires and the three marks
   (Collections, Page, Card) from what it measures, so they follow the panel at every size. */
.lp-model-lede { margin: -20px 0 28px; max-width: 34em; font-size: clamp(17px,1.6vw,21px); line-height: 1.5; color: var(--text-2); }
.lp-model-stage { padding: 44px 0; }
/* These two run the text column's width at every size; the hero's 680px cap isn't for them. */
.lp-stage.lp-model-stage { max-width: none; }
.lp-model-art { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(36px, 5.5cqw, 72px); align-items: center; }
.lp-model-panel { container-type: inline-size; min-width: 0; }
.lp-model-stage .app-scene { width: 100%; font-size: min(13px, calc(100cqw * 13 / 560)); }
.lp-model-stage .app-scene .app-sidebar-cover, .lp-model-stage .app-scene .app-sidebar { width: 13.08em; }
.lp-model-stage .app-scene .app-page { min-width: 0; }
/* The page takes what the sidebar leaves, so its cards keep the same margin on both sides. */
.lp-model-stage .app-scene .app-scene-pages { flex: 1; width: auto; min-width: 0; }
/* On a phone the panel keeps a readable size: a narrower sidebar, with room for three collections. */
@container (max-width: 480px) {
 .lp-model-stage .app-scene { font-size: 9.5px; }
 .lp-model-stage .app-scene .app-sidebar-cover, .lp-model-stage .app-scene .app-sidebar { width: 10.6em; }
 .lp-model-stage .app-scene .app-sidebar > * { min-width: 0; }
 .lp-model-stage .app-collection:nth-child(3) { display: none; }
 .lp-model-stage [data-card="list"] .app-list-detail { display: none; }
}
/* The collection icons, as the app's top row draws them: the current one in full colour. */
/* Placed as the app places them (PanelTopRow, CollectionSwitcher), in its points over 13: the first icon's
   centre 58pt in, each 28pt on, the chevron ending 16pt short of the sidebar's edge, all on the sidebar
   button's centre line. */
.app-collections { position: relative; top: -.15em; display: flex; align-items: center; gap: .308em; margin: 0 1.31em 0 2.36em; flex: 1; min-width: 0; }
.app-collection { display: inline-grid; place-items: center; width: 1.846em; height: 1.846em; border-radius: .35em; }
.app-collection .app-symbol { width: 1.15em; height: 1.15em; filter: grayscale(1) brightness(.55); opacity: .5; }
.app-collection.is-current .app-symbol { filter: brightness(0); opacity: .85; }
.app-collection-more { margin-left: auto; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; color: var(--text-2); opacity: .8; }
.app-collection-more svg { width: .8em; height: .8em; }

.app-sidebar-loose { display: grid; }
/* The two sources of a card's values: what Legato asks, and what an agent writes. */
.lp-model-nodes { display: grid; gap: 16px; min-width: 0; }
.lp-model-node { display: grid; justify-items: start; gap: 8px; min-width: 0; padding: 14px; border-radius: 14px; background: var(--scene-fill); box-shadow: 0 18px 36px -18px rgba(14,10,40,.45), 0 0 0 .5px rgba(14,10,40,.14); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); transition: box-shadow .3s ease; }
.lp-model-node { border: 1px solid rgb(255 255 255 / .45); }

.lp-model-node .lp-fetch-chip, .lp-keys-vault-name { transition: box-shadow .3s ease, color .3s ease; }
.lp-model-node.is-lit .lp-fetch-chip { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lp-keys-vault.is-lit .lp-keys-vault-name { color: var(--accent); }
/* Each way's chip carries the key its caption and wire use, so the card names its way on a phone too. */
.lp-fetch-chip .lp-model-key { width: 16px; margin: 0 2px 0 0; }
.lp-model-node pre { margin: 0; max-width: 100%; overflow: hidden; font: 11.5px/1.55 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); white-space: pre-wrap; color: var(--text); }
.lp-model-node pre.is-map { padding-top: 8px; border-top: 1px solid var(--line); width: 100%; }
.lp-model-host { font: 11.5px/1.4 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); color: var(--text-2); overflow-wrap: anywhere; }
.lp-model-path { border-radius: 4px; transition: background-color .3s ease; }
.lp-model-node.is-lit .lp-model-path { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.lp-model-node [data-model-answer].is-new { animation: lp-type .5s ease-out; }
/* The wires: a faint line that's always there, and one bright dash that runs along it once. */
.lp-model-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lp-model-wires path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.lp-model-wires :is([data-model-wire], [data-keys-wire]) { stroke: color-mix(in srgb, var(--accent) 40%, transparent); opacity: .45; transition: opacity .4s ease; }
.lp-model-wires circle { fill: var(--accent); stroke: var(--bg); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .25s ease, transform .25s ease; }
.lp-model-wires circle.is-in { opacity: 1; transform: none; }
.lp-model-wires :is([data-model-wire], [data-keys-wire]).is-check { stroke-dasharray: 4 5; }
.lp-model-wires :is([data-model-wire], [data-keys-wire]).is-in { opacity: 1; }
.lp-model-packet { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: .1 2; stroke-dashoffset: .1; filter: drop-shadow(0 0 4px var(--accent)); }
/* The marks, drawn in turn, then left faint. Collections: an outline round the icons, its tab above the
   panel with a short tick down to it. Page: a wash over the page, its tab in the corner beside Updated.
   Card: an outline, its tab tucked into the top-right corner. No two lines run side by side. */
.lp-model-marks { position: absolute; inset: 0; pointer-events: none; }
.lp-model-mark { position: absolute; border: 1.5px solid var(--accent); border-radius: 9px; opacity: 0; transform: scale(1.02); transition: opacity .35s ease, transform .35s ease, border-color .6s ease, background-color .6s ease; }
.lp-model-mark b { position: absolute; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0.01em; color: #fff; background: var(--accent); white-space: nowrap; box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--accent) 70%, transparent); }
.lp-model-mark[data-model-mark="collections"] b { left: -1.5px; bottom: calc(100% + var(--lift, 6px)); }
.lp-model-mark[data-model-mark="collections"] b::after { content: ""; position: absolute; left: 14px; top: 100%; width: 1.5px; height: calc(var(--lift, 6px) + 1.5px); background: var(--accent); }
.lp-model-mark[data-model-mark="page"] { border: 0; border-radius: 0 13px 13px 0; background: color-mix(in srgb, var(--accent) 9%, transparent); transform: none; }
.lp-model-mark[data-model-mark="page"] b { right: 9px; top: var(--tab-y); transform: translateY(-50%); }
.lp-model-mark[data-model-mark="card"] b { top: -1.5px; right: -1.5px; padding: 1px 8px 2px 9px; border-radius: 0 9px 0 8px; box-shadow: none; }
@container (max-width: 520px) { .lp-model-mark b { padding: 1px 6px; font-size: 10.5px; } .lp-model-mark:is([data-model-mark="card"], [data-model-mark="page"]) b { padding: 0 6px; font-size: 10px; line-height: 1.4; } }
.lp-model-mark.is-in { opacity: 1; transform: none; }
.lp-model-mark b, .lp-model-mark b::after { transition: background-color .6s ease, color .6s ease, box-shadow .6s ease; }
.lp-model-mark.is-settled { border-color: color-mix(in srgb, var(--text-2) 40%, transparent); }
.lp-model-mark.is-settled b { color: var(--bg); background: var(--text-2); box-shadow: none; }
.lp-model-mark.is-settled b::after { background: var(--text-2); }
.lp-model-mark[data-model-mark="page"].is-settled { background: color-mix(in srgb, var(--text) 4%, transparent); }

/* A value that changes rolls: the old leaves upward as the new comes up into the same slot, and the
   new keeps a short tint (site.js roll). clip-path, not overflow, so the line keeps its baseline. */
.lp-roll { display: inline-grid; clip-path: inset(0 -4px); }
.lp-roll > span { grid-area: 1 / 1; }
.lp-roll-out { animation: lp-roll-out .45s cubic-bezier(.4, 0, .2, 1) forwards; }
.lp-roll-in { animation: lp-roll-in .45s cubic-bezier(.4, 0, .2, 1); }
@keyframes lp-roll-out { to { transform: translateY(-90%); opacity: 0; } }
@keyframes lp-roll-in { from { transform: translateY(90%); opacity: 0; } }
.lp-new { margin: 0 -3px; padding: 0 3px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: lp-new 2.4s ease-out forwards; }
@keyframes lp-new { 0%, 35% { background: color-mix(in srgb, var(--accent) 20%, transparent); } 100% { background: transparent; } }
/* In the hero the rolls ease in and out, and the tint is shorter, so each update ends before the next thing moves. */
[data-hero-stage] :is(.lp-roll-out, .lp-roll-in) { animation-timing-function: cubic-bezier(.45,0,.55,1); }
[data-hero-stage] .lp-new { animation-duration: 1.6s; }
[data-hero-stage] [data-card="steps"] svg circle { transition-duration: .5s; transition-timing-function: cubic-bezier(.45,0,.55,1); }
.lp-model-mark[hidden] { display: none; }
/* The two ways, in words, under the picture: a bold lead and its sentence, each key matching its wire and
   its box's name. Pointing at one (or focusing its link) dims the other's box and wire, and lights its wire
   (site.js sets data-way on the stage); the line itself takes the glass the boxes wear. */
.lp-model-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 56px; margin-top: 44px; }
.lp-model-ways p { margin: -22px -26px; padding: 22px 26px; border-radius: 22px; -webkit-user-select: none; user-select: none; font-size: clamp(17px,1.6vw,21px); line-height: 1.5; letter-spacing: 0; color: var(--text-2); transition: background-color .25s ease, box-shadow .25s ease; }
.lp-model-ways p b { color: var(--text); font-weight: 600; }
.lp-model-ways a { white-space: nowrap; font-weight: 500; }
.lp-model-ways p.is-pointed { background: rgb(255 255 255 / .42); box-shadow: 0 24px 50px -28px rgba(20,20,30,.35), 0 0 0 .5px rgba(20,20,30,.12), inset 0 0 0 1px rgb(255 255 255 / .6), inset 0 1px 0 rgb(255 255 255 / .8); }

.lp-model-node .lp-fetch-chip b { margin-left: 5px; font-weight: 400; color: var(--text-2); }
.lp-model-node, .lp-model-wires :is([data-model-wire], circle) { transition: box-shadow .3s ease, opacity .3s ease; }
[data-model-stage][data-way="check"] :is([data-model-node="send"], [data-model-wire="send"], [data-model-dot="send"]),
[data-model-stage][data-way="send"] :is([data-model-node="check"], [data-model-wire="check"], [data-model-dot="check"]) { opacity: .3; }
[data-model-stage][data-way="check"] [data-model-wire="check"], [data-model-stage][data-way="send"] [data-model-wire="send"] { opacity: 1; }
.lp-model-key { display: inline-block; vertical-align: middle; width: 22px; height: 2px; margin: 0 10px 3px 0; background: var(--accent); border-radius: 2px; }
.lp-model-key.is-check { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); }
@container (max-width: 860px) {
 .lp-model-art { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .lp-model-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
 .lp-model-wires { display: none; }
}
@container (max-width: 520px) {
 .lp-model-nodes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
 .lp-model-stage { padding: 28px 0; }
 .lp-model-ways { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; }
 /* The pointed boxes stay inside the gutter instead of hanging 8 px past it. */
 .lp-model-ways p { margin: 0; padding: 16px 0; border-radius: 0; font-size: 17px; }
 .lp-model-lede { margin-top: -16px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
 .lp-model-mark, .lp-model-mark b, .lp-model-node, .lp-model-path, .lp-model-wires :is([data-model-wire], [data-keys-wire], circle), .lp-model-ways p, .lp-keys-ann, .lp-keys-row, .lp-keys-stage .lp-model-wires { transition: none; }
 .lp-new { animation: none; }
 .lp-model-node [data-model-answer].is-new { animation: none; }
}

/* A secret's or an email's line in a node. */
.lp-model-secret { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.lp-model-secret img { opacity: .7; }
.lp-model-secret code { font: 11.5px/1.4 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); }

/* Your keys stay in 1Password: the page's source, Settings → Secrets as the pane draws it, and
   1Password, wired in that order. */
.lp-model-lede code { font: 500 .88em/1 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); padding: 2px 6px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.lp-keys-art { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(28px, 4cqw, 52px); align-items: center; }
.lp-keys-page.is-lit .lp-model-path { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.lp-keys-win { position: relative; min-width: 0; border-radius: 14px; font-size: 13.5px; background: var(--scene-fill); border: 1px solid rgb(255 255 255 / .45); box-shadow: 0 24px 48px -20px rgba(14,10,40,.45), 0 0 0 .5px rgba(14,10,40,.14); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); }
.lp-keys-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.lp-keys-bar b { font-weight: 600; font-size: 13px; }
.lp-keys-lights { display: inline-flex; gap: 6px; }
.lp-keys-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lp-keys-lights i:nth-child(2) { background: #febc2e; } .lp-keys-lights i:nth-child(3) { background: #28c840; }
.lp-keys-body { display: grid; gap: 10px; padding: 0 12px 12px; }
.lp-keys-op { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--scene-card); box-shadow: inset 0 0 0 1px var(--line); }
.lp-keys-op img { opacity: .6; }
.lp-keys-op b { flex: 1; font-weight: 600; }
.lp-keys-button { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 6px; font-size: 12px; background: var(--surface); box-shadow: 0 0 0 .5px var(--line), 0 1px 1px rgba(14,10,40,.06); }
.lp-keys-button svg { width: 9px; height: 9px; }
.lp-keys-list { border-radius: 10px; overflow: hidden; background: var(--scene-card); box-shadow: inset 0 0 0 1px var(--line); }
.lp-keys-head, .lp-keys-row { display: grid; grid-template-columns: 14px 4.4em minmax(0, 1fr) 5.4em 6.6em; gap: 8px; align-items: center; padding: 6px 10px; }
.lp-keys-head { font-size: 11px; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--line); }
.lp-keys-row + .lp-keys-row { border-top: 1px solid var(--line); }
.lp-keys-row b { font-weight: 600; }
.lp-keys-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.lp-keys-row.is-selected { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.lp-keys-ready { width: 14px; height: 14px; }
.lp-keys-ready circle { fill: #31bc60; }
.lp-keys-edit { display: flex; align-items: center; gap: 12px; padding: 5px 10px; border-top: 1px solid var(--line); color: var(--text-2); }
.lp-keys-edit small { margin-left: auto; font-size: 11px; }
/* The row's help tag, as hovering it shows. */
/* The notes either side: what each end adds, in words, with the one string that does it; no card, since
   they explain the window rather than being part of it (Stageshow's annotations). */
.lp-keys-ann { display: grid; gap: 6px; min-width: 0; }
.lp-keys-page { justify-items: end; text-align: right; }
.lp-keys-ann-name { font-size: 15px; font-weight: 600; color: var(--text); transition: color .3s ease; }
.lp-keys-ann code { font: 13px/1.4 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); color: var(--text-2); overflow-wrap: anywhere; }
.lp-keys-ann .lp-model-path { padding: 1px 3px; margin: -1px -3px; border-radius: 4px; transition: background-color .3s ease; }
.lp-keys-fill { display: inline-block; height: .55em; border-radius: 99px; background: color-mix(in srgb, var(--text) 13%, transparent); }
/* Pointing at a line under the picture fades what it isn't about: with 1Password, the Keychain row;
   without it, the notes, the wires and the 1Password row (site.js sets data-way on the stage). */
.lp-keys-ann, .lp-keys-row, .lp-keys-stage .lp-model-wires { transition: opacity .3s ease; }
[data-keys-stage][data-way="with"] [data-keys-local],
[data-keys-stage][data-way="without"] :is([data-keys-page], [data-keys-vault], .lp-model-wires, [data-keys-row]) { opacity: .3; }

/* Stacked, the three are joined by short stems in the wires' colour, in the order the key travels. */
@container (max-width: 860px) {
 .lp-keys-art { grid-template-columns: minmax(0, 1fr); gap: 22px; }
 .lp-keys-art .lp-model-wires { display: none; }
 .lp-keys-win, .lp-keys-vault { position: relative; }
 .lp-keys-page { justify-items: start; text-align: left; }
 :is(.lp-keys-win, .lp-keys-vault)::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 1px); width: 1.5px; height: 20px; background: color-mix(in srgb, var(--accent) 45%, transparent); }
}
/* On a phone the Status column stays (it's what changes) and From goes. */
@container (max-width: 480px) {
 .lp-keys-head, .lp-keys-row { grid-template-columns: 14px 3.8em minmax(0, 1fr) 6.6em; }
 :is(.lp-keys-head, .lp-keys-row) > :nth-child(4) { display: none; }
}

/* The close: one centred line and the next step. */
/* The page ends on one object, as Craft's does: the line and its button in a card on the plain page.
   Room under it so its shadow isn't cut by main's clip. */
.lp-faq-more { margin: 24px 0 0; font-size: 15px; color: var(--text-2); }
.lp-faq-more a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.lp-section.lp-close { position: relative; isolation: isolate; padding-bottom: 64px; }
.lp-close-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 60px 64px; border-radius: 30px;
  /* The Spotlight tile's sky and grain (owner, 16 Nov 2026). */
  background: url(/hero-grain.png) 0 0 / 128px 128px, #a8d2f2; background-blend-mode: soft-light; box-shadow: 0 24px 50px -36px rgb(20 30 60 / .4); }

.lp-close-card { position: relative; overflow: hidden; }
.lp-close-card > :not(.lp-close-doodle) { position: relative; z-index: 1; }
/* The calendar takes the room between the heading and the button, centred in it; on phones, the top corner. */
.lp-close-card > div:first-of-type:not(.lp-close-doodle) { order: 1; } .lp-close-card .button { order: 3; }
.lp-close-doodle { order: 2; flex: 1 1 auto; display: flex; justify-content: center; align-self: stretch; align-items: center; min-width: 0; pointer-events: none; }
.lp-close-doodle .lp-chalk { display: block; width: 170px; height: 132px; transform: rotate(-6deg); }
/* The closing card's chalk keeps live filters; each drawing is its own layer, so an FAQ answer opening above moves a
   finished picture instead of running the filters again on every frame (owner, Safari, 19 Nov). */
.lp-close-doodle .lp-chalk, .lp-close-swash .lp-chalk { will-change: transform; }
/* Phones leave the calendar out (owner, 16 Nov): the heading and the button have the card to themselves. */
@media (max-width: 760px) { .lp-close-doodle { display: none; } }
.lp-close h2 { margin: 0; font-size: clamp(28px,3vw,40px); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; text-wrap: balance; }
.lp-close h2 span { color: var(--text-2); }
.lp-close h2 .lp-close-14 { position: relative; display: inline-block; white-space: nowrap; color: inherit; }
.lp-close-swash { position: absolute; z-index: -1; left: -10px; right: -14px; bottom: -14px; height: 40px; pointer-events: none; }
.lp-close-swash .lp-chalk { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.lp-close-swash .d-swash-wide path { stroke-width: 30px; opacity: .45; }
.lp-close-swash .d-swash-line path { stroke-width: 3px; }
.lp-close-card p { margin: 12px 0 0; font-size: 17px; letter-spacing: 0; color: var(--text-2); }
.lp-close-card .button { flex: none; padding: 15px 28px; font-size: 15px; font-weight: 600; }
@media (max-width: 760px) {
 .lp-close-card { flex-direction: column; align-items: flex-start; padding: 36px 22px; border-radius: 26px; }
 .lp-close-card p { font-size: 15px; }
 .lp-close-card .button { width: 100%; justify-content: center; }
}

/* Encryption: one dark band. The copy and a link to the docs on the left; on the right a page's
   trip, sealed by your agent, unreadable at Legato, opened by your Mac. A packet runs the wires
   while the band is on screen. */
.lp-secure-band { --band: #15131f; --band-text: #f2f1f8; --band-muted: #a9a6bd; --band-line: rgba(255,255,255,.12);
  display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 44px; align-items: center; padding: 56px; border-radius: 28px; background: var(--band); color: var(--band-text); box-shadow: 0 40px 90px -40px rgba(20,14,50,.55); }

.lp-secure-copy .lp-launch-badge { display: inline-block; margin-bottom: 18px; color: #d8cffd; background: rgba(169,150,255,.16); }
.lp-secure-copy h2 { margin: 0 0 28px; font-size: clamp(28px,2.8vw,38px); line-height: 1.12; letter-spacing: -.015em; font-weight: 600; }
.lp-secure-copy h2 span { color: var(--band-muted); }
.lp-secure-copy .lp-text-link { color: var(--band-text); }
.lp-seal { display: grid; grid-template-columns: minmax(0,1fr) 36px minmax(0,1fr) 36px minmax(0,1fr); align-items: start; }
.lp-seal-node { display: grid; gap: 12px; }
.lp-seal-node > p { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.4; color: var(--band-muted); }
.lp-seal-node > p img { flex: none; margin-top: 1px; filter: brightness(1.4); }
.lp-seal-node > p b { color: var(--band-text); font-weight: 600; }
.lp-seal-card { display: grid; gap: 4px; min-height: 108px; padding: 14px; border-radius: 14px; font-size: 13px; line-height: 1.35; }
.lp-seal-card.is-plain { background: #fbfaff; color: #1b1a26; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.lp-seal-card.is-plain > span:last-child { color: #5d5b6c; font-size: 12px; }
.lp-seal-card.is-sealed { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--band-line); color: var(--band-muted); }
.lp-seal-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.lp-seal-card.is-plain .lp-seal-title { color: #5d5b6c; }
.lp-seal-mark { margin-left: auto; }
.lp-seal-card code { display: block; overflow: hidden; white-space: nowrap; text-overflow: clip; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: #b9a8ff; letter-spacing: 0.02em; }
.lp-seal-wire { position: relative; align-self: start; height: 2px; margin-top: 54px; background: repeating-linear-gradient(90deg, var(--band-line) 0 6px, transparent 6px 10px); }
.lp-seal-wire b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #b9a8ff; box-shadow: 0 0 12px #b9a8ff; opacity: 0; }
.lp-seal.is-playing .lp-seal-wire b { animation: lp-packet 6s ease-in-out infinite; }
.lp-seal.is-playing .lp-seal-wire.is-second b { animation-name: lp-packet-2; }
.lp-seal.is-playing .lp-seal-node:first-child .lp-seal-mark { animation: lp-seal-lock 6s ease-out infinite; }
.lp-seal.is-playing .is-service .lp-seal-card { animation: lp-seal-hold 6s ease-in-out infinite; }
.lp-seal.is-playing .lp-seal-node:last-child .lp-seal-card { animation: lp-seal-open 6s ease-in-out infinite; }
.lp.motion-paused .lp-seal * { animation-play-state: paused !important; }
@keyframes lp-packet { 0%, 12% { left: 0; opacity: 0; } 16% { opacity: 1; } 36% { left: calc(100% - 8px); opacity: 1; } 40%, 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes lp-packet-2 { 0%, 54% { left: 0; opacity: 0; } 58% { opacity: 1; } 78% { left: calc(100% - 8px); opacity: 1; } 82%, 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes lp-seal-lock { 0%, 4% { transform: scale(0); } 10%, 100% { transform: none; } }
@keyframes lp-seal-hold { 0%, 38% { box-shadow: inset 0 0 0 1px var(--band-line); } 44%, 52% { box-shadow: inset 0 0 0 1px #b9a8ff, 0 0 0 4px rgba(185,168,255,.15); } 58%, 100% { box-shadow: inset 0 0 0 1px var(--band-line); } }
@keyframes lp-seal-open { 0%, 80% { box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); } 86%, 94% { box-shadow: 0 0 0 4px rgba(185,168,255,.35), 0 18px 40px -20px rgba(0,0,0,.6); } 100% { box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); } }
@media (max-width: 980px) {
 .lp-secure-band { grid-template-columns: minmax(0,1fr); padding: 40px; }
}
@media (max-width: 600px) {
 .lp-secure-band { padding: 32px 22px; border-radius: 22px; }
 .lp-seal { grid-template-columns: minmax(0,1fr); gap: 0; }
 .lp-seal-wire { justify-self: center; width: 2px; height: 32px; margin: 12px 0; background: repeating-linear-gradient(180deg, var(--band-line) 0 6px, transparent 6px 10px); }
 .lp-seal.is-playing .lp-seal-wire b { animation: none; opacity: 0; }
 .lp-seal-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
 .lp-seal * { animation: none !important; }
}

/* Pricing: two cards built the same way (name, one line, price, a small sidebar, ticks), so the
   difference shows: Free's sidebar has two pages marked Pro; Pro's has them all, and a new one arrives
   over a wire from Legato's service. The Yearly/Monthly switch is two radios; :has() picks the price. */
.lp-pricing .lp-lead { align-items: center; }
.lp-interval { display: inline-flex; flex: none; margin: 0; padding: 3px; border: 0; border-radius: 999px; background: var(--theme-color-63); box-shadow: inset 0 0 0 1px var(--theme-color-65); }
.lp-interval label { position: relative; cursor: pointer; }
.lp-interval input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.lp-interval span { display: block; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background .2s, color .2s; }
.lp-interval small { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--accent-text); }
.lp-interval input:checked + span { color: var(--text); background: var(--surface); box-shadow: 0 2px 8px -2px rgba(14,10,40,.25), 0 0 0 .5px rgba(14,10,40,.12); }
.lp-interval input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-plans { --scene-fill: rgba(246,246,249,.96); --scene-sidebar: rgba(232,233,240,.92); --scene-card: #fff; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; align-items: stretch; }

/* The plans sit on the plain page. The recommended plan's edge runs through the Made for Liquid Glass ribbons'
   colours instead of a flat accent. */
.lp-pricing { position: relative; isolation: isolate; }
.lp-plan-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 28px; border-radius: 22px;
  /* The Spotlight tile's sky and grain (owner, 16 Nov 2026). */
  background: url(/hero-grain.png) 0 0 / 128px 128px, #a8d2f2; background-blend-mode: soft-light; box-shadow: 0 24px 50px -36px rgb(20 30 60 / .4); }

/* Craft's pair: a name and one sentence at the top, the price and a pill at the foot, and the plans told
   apart by contrast. Pro is the dark glass, so the colour still shows through. */
.lp-plan-card { min-height: 330px; padding: 34px 36px 36px; }
.lp-plan-name { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.015em; line-height: 1.1; color: var(--text); }
.lp-plan-copy { margin: 14px 0 0; max-width: 22em; font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: -.01em; color: var(--text-2); }
.lp-plan-foot { margin-top: auto; padding-top: 36px; }
.lp-plan-small { margin: 0 0 2px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.lp-plan-card .lp-price { margin: 0; gap: 10px; }
.lp-plan-card .lp-price strong { font-size: 46px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.lp-plan-card .lp-price span { font-size: 17px; color: var(--text-2); }
.lp-plan-buy { margin: 18px 0 0; }
.lp-plan-buy .button { padding: 13px 26px; font-size: 15px; box-shadow: none; }
.lp-plan-card.is-pro { --text: #fff; --text-2: rgb(255 255 255 / .74); --text-3: rgb(255 255 255 / .5);
  background: rgb(14 14 20 / .9); box-shadow: 0 28px 56px -26px rgba(20,12,60,.55), inset 0 0 0 1px rgb(255 255 255 / .1), inset 0 1px 0 rgb(255 255 255 / .14); }
.lp-plan-card.is-pro .button { background: #fff; color: #15151c !important; border-color: transparent; }

.lp-plans-fine { margin: 32px 0 0; text-align: center; font-size: 13px; color: var(--text-2); }
.lp-plans-fine img { vertical-align: -3px; opacity: .8; }
@media (max-width: 900px) {
 .lp-plans { grid-template-columns: minmax(0,1fr); }
 .lp-pricing .lp-lead { display: flex; flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 600px) {
 .lp-plan-card { min-height: 0; padding: 26px 22px 26px; }
 .lp-plan-card .lp-price strong { font-size: 40px; }
}

/* The suite: one lead and five supporting cells (Stageshow's hero and strip): the cards across two thirds
   beside the count, three single parts of the panel, then the keys as a band. Each cell is a line of copy
   and one thing at the panel's real 13px size. */
.lp-lead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 0 32px; }
.lp-lead h2 { margin: 0; max-width: 760px; text-align: left; font-size: clamp(28px,3vw,40px); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
.lp-lead h2 span { color: var(--text-2); }
.lp-lead .lp-motion-toggle { flex: none; margin-bottom: 6px; }
.lp-bento, .lp-routes { --cell-fill: rgba(255,255,255,.6); --cell-line: rgba(255,255,255,.9); --cell-shadow: rgba(20,20,30,.16); --scene-fill: rgba(246,246,249,.96); --scene-sidebar: rgba(232,233,240,.92); --scene-card: #fff; --chip: #1d1b2c; --chip-text: #e9e7f5;}
.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }

.lp-cell { grid-column: span 3; position: relative; display: flex; flex-direction: column; height: 400px; border-radius: 22px; overflow: hidden; background: var(--cell-fill); box-shadow: inset 0 0 0 1px var(--cell-line), 0 24px 50px -32px var(--cell-shadow); }
.lp-cell.is-narrow { grid-column: span 2; height: 360px; }
.lp-suite-grid .lp-cell[data-cell="cards"] { grid-column: span 4; }
.lp-suite-grid .lp-cell[data-cell="types"] { height: 400px; }
.lp-suite-grid .lp-cell[data-cell="keys"] { grid-column: span 6; height: auto; }
.lp-cell-copy { margin: 0; padding: 26px 28px 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
@media (min-width: 1024px) { .lp-cell-copy { font-size: 17px; } }
.lp-cell-copy b { color: var(--text); font-weight: 600; }
.lp-cell-copy a { white-space: nowrap; font-weight: 500; }
.lp-cell-art { position: relative; flex: 1; min-height: 0; margin-top: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.lp-cell .app-preview { --glass: var(--scene-fill); --sidebar-fill: var(--scene-sidebar); --card-fill: var(--scene-card); font-size: 13px; box-shadow: 0 18px 40px -16px rgba(14,10,40,.35), 0 0 0 .5px rgba(14,10,40,.14); }
/* The suite's panels are the hero's Liquid Glass (.lp-stage-float): the same clear fills, blur and bright
   top rim, so a card looks the same here as in the panel above. */
.lp-suite-grid { --scene-fill: rgb(246 246 249 / .5); --scene-sidebar: rgb(236 237 244 / .32); --scene-card: rgb(255 255 255 / .55); --stage-shadow: rgba(20,20,30,.42); --stage-edge: rgba(20,20,30,.14); }

.lp-suite-grid .app-preview { backdrop-filter: blur(14px) saturate(1.8); -webkit-backdrop-filter: blur(14px) saturate(1.8); border-color: rgb(255 255 255 / .45);
  box-shadow: 0 28px 56px -24px var(--stage-shadow), 0 10px 24px -12px var(--stage-shadow), 0 0 0 .5px var(--stage-edge), inset 0 1px 0 rgb(255 255 255 / .6), inset 0 0 0 .5px rgb(255 255 255 / .25); }

.lp-cell .app-scene { position: absolute; left: 28px; top: 0; }
/* Cards */
.lp-suite-cards { position: absolute; left: 28px; right: 28px; top: 0; padding: .7em; }
.lp-cell .app-sparkline svg path, .lp-cell .app-sparkline svg polyline { stroke-dasharray: 1200; stroke-dashoffset: 0; }
.lp-cell .is-drawing.app-sparkline polyline { animation: lp-draw 1.4s ease-out both; }
.lp-cell .is-drawing .app-progress i { animation: lp-fill 1.2s .2s ease-out both; }
.lp-cell .is-drawing .app-gauge-track b { animation: lp-needle 1.1s .3s ease-out both; }
.lp-cell .is-drawing .app-col-bars b { animation: lp-grow .9s .1s ease-out both; transform-origin: bottom; }
.lp-suite-cards [data-card-reel] { position: relative; transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.lp-reel-copy { display: contents; }
@keyframes lp-draw { from { stroke-dashoffset: 1200; } }
@keyframes lp-fill { from { width: 0; } }
@keyframes lp-needle { from { left: 0; } }
@keyframes lp-grow { from { transform: scaleY(0); } }
/* The count: one number at display size, its label close under it. */
/* Every card type, by its docs group: the group in the card-title style, the names as plain text. */
.lp-cell[data-cell="types"] .lp-cell-art { margin-top: 16px; padding: 0 28px 24px; -webkit-mask-image: none; mask-image: none; }
.lp-types { display: grid; gap: 12px; margin: 0; }
.lp-types dt { font-size: 13px; font-weight: 600; color: var(--text-2); }
.lp-types dd { margin: 2px 0 0; font-size: 15px; line-height: 1.4; color: var(--text); }
/* A button, and what it did: the one card, a size up, in the middle of the room under the copy. */
.lp-cell[data-cell="buttons"] .lp-cell-art { display: grid; align-items: start; -webkit-mask-image: none; mask-image: none; padding-bottom: 22px; }
.lp-cell .lp-press { position: relative; margin: 0 28px; padding: .7em; font-size: 15px; }
/* A card opens its detail: two pages in one cell, the one shown slid in, the way back sliding it out. */
.lp-cell .lp-detail { right: 28px; display: grid; padding: .1em .7em .7em; overflow: hidden; }
.lp-detail > .app-page { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(35%); transition: transform .38s cubic-bezier(.3,.7,.2,1), opacity .3s ease, visibility 0s linear .38s; }
.lp-detail > .app-page[data-detail-page="health"] { transform: translateX(-35%); }
.lp-detail > .app-page.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lp-detail .app-card.is-linked.is-hover { background: color-mix(in srgb, var(--card-fill), var(--text) 7%); }
.lp-detail .app-card.is-linked.is-hover > .app-card-go { opacity: 1; }
/* What changed: the page's row with its light, and Page Info's Recent Activity under it. A new entry
   opens its own room, so the ones below move down with it. */
.lp-activity { position: absolute; left: 28px; right: 28px; top: 0; display: grid; gap: .5em; padding: .6em; }
.lp-activity-row { pointer-events: none; }
.lp-light { width: .6em; height: .6em; border-radius: 50%; }
.lp-light[hidden] { display: none; }
.lp-light[data-light="ok"] { background: #31bc60; }
.lp-light[data-light="warning"] { background: #f09b36; }
.lp-light[data-light="critical"] { background: #ec5c67; }
.lp-light[data-light="unknown"] { background: #9096a9; }
.lp-light.is-new { animation: app-dot-in .36s cubic-bezier(.2,.8,.3,1.4); }
.lp-activity-info { display: grid; gap: .7em; padding: .3em .6em; }
.lp-activity-info > strong { font-size: .92em; font-weight: 600; color: var(--text-2); }
.lp-activity-info ul { display: grid; margin: 0; padding: 0; list-style: none; }
.lp-activity-info li { display: grid; grid-template-columns: .6em minmax(0, 1fr) auto; gap: .65em; align-items: baseline; padding-bottom: .75em; overflow: hidden; }
.lp-activity-info li[hidden] { display: none; }
.lp-activity-info li > .lp-light { align-self: start; margin-top: .4em; }
.lp-activity-info li > span > span { display: block; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-activity-info small { display: block; font-size: .8em; color: var(--text-2); }
.lp-activity-info time { font-size: .8em; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-activity-info li.is-new { animation: lp-row-in .5s cubic-bezier(.3,.7,.2,1) both; }
@keyframes lp-row-in { from { max-height: 0; padding-bottom: 0; opacity: 0; } to { max-height: 4em; opacity: 1; } }
@keyframes lp-type { from { opacity: 0; } }
/* Keys: the panel's shortcuts as keycaps, in a band. */
.lp-cell[data-cell="keys"] .lp-cell-art { margin-top: 20px; padding: 0 28px 28px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.lp-shortcuts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; margin: 0; padding: 0; list-style: none; }
.lp-shortcuts li { display: flex; align-items: center; gap: 6px; }
.lp-keys-combo { display: inline-flex; gap: 4px; }
.lp-shortcuts kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 7px; font: 500 15px/1 var(--font); color: var(--text); background: var(--surface); box-shadow: inset 0 -1.5px 0 rgb(14 10 40 / .1), 0 0 0 .5px rgb(14 10 40 / .2), 0 2px 5px -2px rgb(14 10 40 / .25); }
.lp-keys-to { padding: 0 2px; font-size: 15px; color: var(--text-2); }
.lp-keys-what { margin-left: 6px; font-size: 15px; color: var(--text-2); }
/* Narrower, the keys and the button's card come down a size so each stays on one line. */
@media (max-width: 1200px) {
 .lp-shortcuts { gap: 12px 18px; }
 .lp-shortcuts kbd { min-width: 26px; height: 26px; padding: 0 7px; font-size: 13px; border-radius: 6px; }
 .lp-keys-what { margin-left: 4px; font-size: 13px; }
 .lp-cell .lp-press { font-size: 13.5px; }
}
/* Narrower still, while the grid keeps its thirds: the keys wrap from the left, the card comes down to 13px. */
@media (max-width: 1080px) {
 .lp-shortcuts { justify-content: flex-start; }
 .lp-cell .lp-press { font-size: 13px; }
}
@media (max-width: 900px) {
 .lp-lead { display: block; }
 .lp-lead .lp-motion-toggle { display: none; }
 .lp-bento { grid-template-columns: minmax(0,1fr); }
 .lp-cell, .lp-cell.is-narrow, .lp-suite-grid .lp-cell[data-cell] { grid-column: auto; height: 380px; }
 .lp-suite-grid .lp-cell:is([data-cell="types"], [data-cell="keys"], [data-cell="buttons"]) { height: auto; }
 .lp-cell[data-cell="buttons"] .lp-cell-art { padding: 6px 0 30px; }
}
@media (max-width: 600px) {
 .lp-cell, .lp-cell.is-narrow, .lp-suite-grid .lp-cell[data-cell] { height: 360px; }
 .lp-suite-grid .lp-cell:is([data-cell="types"], [data-cell="keys"], [data-cell="buttons"]) { height: auto; }
 .lp-cell-copy { padding: 22px 22px 0; font-size: 15px; }
 .lp-cell .app-scene, .lp-suite-cards, .lp-activity { left: 22px; }
 .lp-suite-cards, .lp-activity, .lp-cell .lp-detail { right: 22px; }
 .lp-cell .lp-press { margin: 0 22px; font-size: 13px; }
 .lp-shortcuts { justify-content: flex-start; }
 .lp-cell[data-cell="types"] .lp-cell-art, .lp-cell[data-cell="keys"] .lp-cell-art { padding-left: 22px; padding-right: 22px; }
 .lp-shortcuts { gap: 14px 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .lp-detail > .app-page { transition: none; }
 .lp-activity-info li.is-new, .lp-light.is-new { animation: none; }
}
/* Room between sections, as Craft's landing page leaves it (about 180–340px from one section's last
   content to the next heading, 230px typically): each section starts 200px below the one before, so a
   section reads as its own scene. */
.lp-section { padding: 96px 0 0; }
.lp-heading { text-align: center; margin: 0 auto 42px; }
.lp-heading h2 { font-size: clamp(34px,4.4vw,54px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
.lp-heading > p:last-child { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 0; }
.lp .lp-monochrome { filter: var(--theme-color-51); }

:root .lp-monochrome { filter: none; }
.lp .switch { max-width: 1000px; margin: 0 auto; text-align: center; }
.lp .seg { background: var(--theme-color-55); padding: 5px; border: 1px solid var(--theme-color-56); border-radius: 30px; margin: 0 auto 25px; justify-content: center; }
.lp .seg button { border-radius: 25px; font-size: 13px; padding: 10px 18px; }
.lp .seg button[aria-selected="true"] { background: var(--theme-color-57); box-shadow: 0 3px 8px #00000008; }
.lp-footer-spacer { width: 21px; }
.lp-center { text-align: center; }
.lp-launch-badge { font-size: 11px; color: var(--theme-color-70); background: var(--theme-color-71); padding: 6px 10px; border-radius: 20px; }
.lp-heading .lp-launch-badge { display: inline-block; margin-bottom: 18px; }
.lp-price { margin: 0; display: flex; align-items: baseline; gap: 9px; }
.lp-price strong { font-size: 68px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.lp-price span { color: var(--text-2); font-size: 13px; }
.lp-renew { margin: 6px 0 25px; }
/* The page's own heading and column; questions and answers share one left edge, at the page's reading sizes. */
.lp-faq .faq { max-width: none; }
.lp-faq .faq summary { font-size: 17px; padding: 22px 32px 22px 0; letter-spacing: -.01em; }
.lp-faq .faq p { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

/* Karajan's line, between the suite and Liquid Glass. It fades in as it scrolls into view and then stays,
   where the browser can tie an animation to scrolling; elsewhere, and with reduced motion, it just shows. */
.lp-quote { margin: 0 auto; padding: 96px 20px 8px; text-align: center; font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.lp-quote blockquote { margin: 0; }
.lp-quote blockquote { text-wrap: balance; }
/* Behind the quote and the playlist, a large pair of beamed notes in the Liquid Glass ribbons' colours,
   blurred until they are only just a note. It sits under the words and fades in with them. */
.lp-quote { position: relative; isolation: isolate; }
.lp-quote::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 40px; width: 500px; height: 500px; margin-left: -250px;
  background: linear-gradient(125deg, #5d7fe0, #8f78d9 45%, #e6a9c8); opacity: .34; transform: rotate(-8deg) scaleX(1.1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-15 -15 130 130%27%3E%3Cfilter id=%27b%27 x=%27-30%%27 y=%27-30%%27 width=%27160%%27 height=%27160%%27%3E%3CfeGaussianBlur stdDeviation=%273.2%27/%3E%3C/filter%3E%3Cg filter=%27url(%23b)%27%3E%3Cellipse cx=%2722%27 cy=%2780%27 rx=%2713%27 ry=%279%27 transform=%27rotate(-22 22 80)%27/%3E%3Cellipse cx=%2772%27 cy=%2770%27 rx=%2713%27 ry=%279%27 transform=%27rotate(-22 72 70)%27/%3E%3Crect x=%2731.5%27 y=%2716%27 width=%273.2%27 height=%2762%27/%3E%3Crect x=%2781.5%27 y=%276%27 width=%273.2%27 height=%2762%27/%3E%3Cpolygon points=%2731.5,16 84.7,6 84.7,17 31.5,27%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-15 -15 130 130%27%3E%3Cfilter id=%27b%27 x=%27-30%%27 y=%27-30%%27 width=%27160%%27 height=%27160%%27%3E%3CfeGaussianBlur stdDeviation=%273.2%27/%3E%3C/filter%3E%3Cg filter=%27url(%23b)%27%3E%3Cellipse cx=%2722%27 cy=%2780%27 rx=%2713%27 ry=%279%27 transform=%27rotate(-22 22 80)%27/%3E%3Cellipse cx=%2772%27 cy=%2770%27 rx=%2713%27 ry=%279%27 transform=%27rotate(-22 72 70)%27/%3E%3Crect x=%2731.5%27 y=%2716%27 width=%273.2%27 height=%2762%27/%3E%3Crect x=%2781.5%27 y=%276%27 width=%273.2%27 height=%2762%27/%3E%3Cpolygon points=%2731.5,16 84.7,6 84.7,17 31.5,27%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }

.lp-quote figcaption { margin-top: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
/* Under it, what legato means and a few pieces played that way: small chips that wrap, quiet enough
   not to pull anyone off the page. */
/* Above the suite: its cells' scrolling reels and app pages run past their cells (clipped, but as
   positioned boxes they would otherwise paint over these links and take their clicks in some browsers). */
.lp-listen { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 22px 20px 0; text-align: center; }
.lp-listen p { margin: 0 0 12px; font-size: 15px; color: var(--text-2); text-wrap: balance; }
.lp-listen p b { color: var(--text); font-weight: 600; }
/* The playlist is a frosted glass pill, like Craft's: a pale see-through fill over the note behind it, a
   bright rim and a soft drop. */
.lp-listen a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-decoration: none;
  background: rgb(255 255 255 / .5); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .75), inset 0 1px 0 rgb(255 255 255 / .95), 0 0 0 .5px rgba(20,20,30,.1), 0 10px 26px -12px rgba(20,20,30,.35);
  transition: background .2s ease, box-shadow .2s ease; }
.lp-listen a:hover { background: rgb(255 255 255 / .68); }
.lp-listen a > span[aria-hidden="true"]:last-of-type { color: var(--text-2); font-size: 12px; font-weight: 500; }

.lp-listen-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media(max-width:600px) {
 .lp-section { padding-top: 64px; }
 .lp-quote { padding-top: 64px; }
 .lp-quote::before { top: 40px; width: 320px; height: 320px; margin-left: -160px; }
}
@media(max-width:600px) {
 .page-landing .topnav { gap: 15px; font-size: 13px; }
 .lp .wrap { padding: 0 20px; }
 .lp-eyebrow { font-size: 10px; }
 .lp .actions { gap: 16px; }
 .lp-text-link { font-size: 13px; }
 .lp-heading { margin-bottom: 30px; }
 .lp-heading h2 { font-size: 36px; }
 .lp-heading > p:last-child { font-size: 14px; }
 .lp .seg button { padding: 9px 11px; font-size: 11px; }
 .lp-faq .faq summary { font-size: 16px; padding: 18px 28px 18px 0; }
}
@media(prefers-reduced-motion:reduce) {
 .lp-atmosphere > i,.lp-wallpaper i { animation: none; will-change: auto; }
}

/* Revision 2: live material illustrations and full-page themes. */
:root { --glass:var(--theme-color-72); --glass-line:var(--theme-color-73); --card-fill:var(--theme-color-74); --sidebar-fill:var(--theme-color-75); }
.lp-heading { margin-bottom:38px; }
.lp-atmosphere { background:radial-gradient(ellipse at 15% 4%,var(--theme-color-77),transparent 26%),radial-gradient(ellipse at 95% 28%,var(--theme-color-78),transparent 30%),radial-gradient(ellipse at 5% 65%,var(--theme-color-79),transparent 23%),var(--bg); }
.lp-atmosphere > i { opacity:.23; }
.lp .wrap { z-index:1; }
.lp-wallpaper { background:linear-gradient(140deg,var(--theme-color-80),var(--theme-color-81) 55%,var(--theme-color-82)) !important; }
.lp-wallpaper i:first-child { background:linear-gradient(90deg,var(--theme-color-83),var(--theme-color-84)); }
.lp-wallpaper i:nth-child(2) { background:linear-gradient(90deg,var(--theme-color-85),var(--theme-color-86)); }
.lp-wallpaper i:nth-child(3) { background:linear-gradient(90deg,var(--theme-color-87),var(--theme-color-88)); }
.lp-heading h2 { margin-bottom:20px; }

/* Recreated interface: transparent materials, crisp foreground content, no baked background. As in the
   app, a click or drag selects no text, except a code card's code (CodeCardView's textSelection). */
.app-preview { -webkit-user-select:none; user-select:none; }
.app-preview .app-code pre { -webkit-user-select:text; user-select:text; }
.app-preview { --glass: var(--app-page); --card-fill: var(--app-card); --sidebar-fill: var(--app-sidebar); --glass-line: var(--app-separator); }
.app-preview { font:13px/1.35 var(--font); text-align:left; color:var(--text); overflow:hidden; border-radius:var(--app-radius-panel); border:1px solid var(--glass-line); background:var(--glass); box-shadow:0 24px 65px #11132b33,inset 0 1px 0 #ffffff25; }
.app-body { display:flex; align-items:stretch; }
.app-sidebar { flex:0 0 29.8%; padding:1em .55em; background:var(--sidebar-fill); }
/* The row over the sidebar, as in the app: the sidebar button (there's no bottom bar). In a scene the
   button lies over the panel's corner instead, and this row keeps its room; a one-page preview has none. */
.app-topbar { display:flex; align-items:center; gap:1.05em; padding:0 .55em .7em; }
.app-topbar .app-symbol, .app-scene-toggle .app-symbol { filter:grayscale(1) brightness(.55); opacity:.75; }

.app-sidebar[hidden] { display:none; }
.app-sidebar-row { display:flex; align-items:center; gap:.5em; border-radius:.6em; padding:.65em .55em; white-space:nowrap; font-size:1em; }
.app-sidebar-row.selected { background:var(--app-selection); border:1px solid transparent; }
.app-sidebar-row > span { overflow:hidden; text-overflow:ellipsis; }
.app-symbol { width:1.4em; height:1.4em; object-fit:contain; flex:none; }
.app-row-dot { width:.45em; height:.45em; border-radius:50%; background:var(--accent); margin-left:auto; flex:none; }
/* The app's sidebar shows no status lights or change dots (25 Nov 2026): the drawings follow it. */
.app-row-dot, .app-scene .app-row-dot { display: none !important; }
.app-row-dot.attention { background:#f68b42; }
/* Sidebar sections: a header row that opens and closes its pages (the Mac's disclosure group). */
.app-sidebar-section { margin-top:.5em; }
.app-section-head { display:flex; align-items:center; gap:.35em; width:100%; padding:.4em .55em; border:0; border-radius:.5em; background:none; font:inherit; font-size:.88em; font-weight:600; color:var(--text-2); text-align:left; white-space:nowrap; cursor:default; }
.app-interactive .app-section-head { cursor:pointer; }
.app-interactive .app-section-head:hover { color:var(--text); background:var(--app-hover); }
.app-section-head > span { overflow:hidden; text-overflow:ellipsis; }
.app-chevron { width:.9em; height:.9em; flex:none; transform:rotate(90deg); transition:transform .22s ease-in-out; }
.app-sidebar-section.is-closed .app-chevron { transform:none; }
.app-section-head .app-row-dot { display:none; }
.app-sidebar-section.is-closed .app-section-head .app-row-dot { display:block; }
.app-section-rows { display:grid; grid-template-rows:1fr; transition:grid-template-rows .22s ease-in-out; }
.app-section-rows > div { min-height:0; overflow:hidden; }
.app-sidebar-section.is-closed .app-section-rows { grid-template-rows:0fr; }
.app-page { flex:1; min-width:0; padding:.75em; }
.app-page-heading { display:flex; align-items:center; gap:.65em; padding:.05em .2em .8em; font-size:1.06em; }
/* Page Info, at the title row's end (PageInfoButton): its own symbol, dimmed like an unpinned pin, or while the
   page's health isn't ok that state's symbol in its colour. Same box either way, so the row never moves. */
.app-page-info { display:inline-grid; place-items:center; flex:none; margin:-.25em -.1em -.25em auto; padding:.25em; }
.app-page-info > .app-item-mask { display:block; width:1.15em; height:1.15em; background:var(--text-2); opacity:.75; }
.app-page-info.is-warning > .app-item-mask { background:#ee9b38; opacity:1; }
.app-page-info.is-critical > .app-item-mask { background:#ef5662; opacity:1; }
.app-page-info.is-unknown > .app-item-mask { background:#8c93a7; opacity:1; }
.app-scene .app-page-info + .app-pin { margin-left:-.1em; }
.app-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6em; }
/* A page's period row under its title (PeriodRowView): the choices at the left, then the arrows, and at the
   right the dates the cards show, or once stepped the way back to now. A small control's size, as the Mac's. */
.app-period { display:flex; align-items:center; gap:.5em; min-height:2.1em; margin:-.35em .1em .7em; font-size:.86em; }
.app-period button { font:inherit; color:inherit; border:0; background:none; padding:0; }
.app-period-seg { display:inline-flex; padding:.14em; border-radius:.55em; background:var(--app-control); }
.app-period-seg button { line-height:1.3; padding:.16em .75em; border-radius:.42em; color:var(--text-2); }
.app-period-seg button[aria-checked="true"] { background:var(--card-fill); color:var(--text); box-shadow:0 1px 2px #0000001f, 0 0 0 .5px #0000000f; }
.app-period-menu { position:relative; display:inline-flex; align-items:center; gap:.4em; padding:.22em .55em; border-radius:.5em; background:var(--app-control); }
.app-period-menu select { position:absolute; inset:0; opacity:0; font:inherit; }
.app-period-menu svg { width:.75em; height:.75em; opacity:.6; }
.app-period-step { display:inline-flex; align-items:center; padding:.12em; border-radius:.5em; background:var(--app-control); }
.app-period-step > button { display:grid; place-items:center; width:1.6em; height:1.6em; border-radius:.35em; }
.app-period-step > button svg { width:.8em; height:.8em; opacity:.75; }
.app-period-step > button[disabled] svg { opacity:.25; }
/* As wide as the longest name the arrows reach, so they never move as the name changes. */
.app-period-step-label { display:inline-grid; text-align:center; font-variant-numeric:tabular-nums; white-space:nowrap; padding:0 .15em; }
.app-period-step-label > span { grid-area:1/1; }
.app-period-step-label > span[aria-hidden] { visibility:hidden; }
.app-period-end { display:inline-grid; justify-items:end; margin-left:auto; min-width:0; }
.app-period-end > * { grid-area:1/1; }
.app-period-dates { color:var(--text-2); font-size:.95em; font-variant-numeric:tabular-nums; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.app-period-dates[hidden], .app-period-now[hidden] { display:block; visibility:hidden; }
.app-period-vs { color:var(--text-3); }
.app-period .app-period-now { color:var(--accent); white-space:nowrap; }
.app-period.no-vs .app-period-vs, .app-period.no-dates .app-period-dates { display:none; }
.js .app-period button:not([disabled]), .js .app-period-menu { cursor:pointer; }
.js .app-period-seg button:not([aria-checked="true"]):hover, .js .app-period-step > button:not([disabled]):hover { color:var(--text); background:var(--app-hover); }
.app-period button:focus-visible, .app-period-menu:focus-within { outline:2px solid var(--accent); outline-offset:1px; }
/* A note under a card, such as "Covers Mar 1 – 12" (PanelView.cardContent). */
.app-card-noted { grid-column:span 2; display:flex; flex-direction:column; gap:4px; min-width:0; }
.app-card-noted.app-half { grid-column:span 1; }
.app-card-note { margin:0; padding:0 4px; font-size:.78em; color:var(--text-2); }
.app-card { padding:.8em .9em; border-radius:var(--app-radius-card); background:var(--card-fill); grid-column:span 2; min-width:0; }
.app-half { grid-column:span 1; }
/* A card's pressable states: only the one shown takes a grid cell. */
.app-card-states { display:contents; }
button.app-button { border:0; font-family:inherit; line-height:inherit; color:inherit; cursor:pointer; } /* the size stays .app-button's */
button.app-button:hover { filter:brightness(.96); }
button.app-button:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.app-muted { color:var(--text-2); }
.app-card small { display:block; font-size:.82em; }
.app-card strong { font-weight:600; }
.app-stat > span { font-size:.85em; display:block; }
.app-stat .app-value { display:block; font-size:1.8em; line-height:1.2; margin:.12em 0; }
.app-status { display:flex; gap:.65em; align-items:flex-start; }
.app-status strong { display:block; }
.app-state { display:grid; place-items:center; width:1.2em; height:1.2em; margin-top:.1em; font-size:.9em; font-weight:700; color:white; border-radius:50%; flex:none; }
.app-state.ok { background:#31bc60; }
.app-state.warning { background:#ee9b38; }
.app-state.critical { background:#ef5662; }
.app-state.unknown, .app-state.off { background:#8c93a7; }
.app-state.info { background:#3a89ff; font-family:Georgia,serif; font-style:italic; }
/* Warnings are a triangle, as exclamationmark.triangle.fill is in the app. */
.app-state.warning { border-radius:0; clip-path:polygon(50% 4%, 100% 96%, 0 96%); padding-top:.2em; font-size:.8em; width:1.5em; height:1.4em; }
.app-card-title { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:.4em 1em; font-size:1em; }
.app-sparkline svg { display:block; width:100%; height:auto; margin:.5em 0 .1em; color:var(--accent); }
.app-sparkline .app-stat-row { justify-content:flex-start; gap:.5em; margin-top:.1em; }
.app-sparkline .app-value { font-size:1.8em; line-height:1.2; }
.app-spark-change { font-size:.72em; font-weight:500; color:var(--text-2); background:var(--theme-color-96, rgb(127 127 127 / .12)); padding:.1em .45em; border-radius:.35em; font-variant-numeric:tabular-nums; }
.app-spark-axis { font-size:9.5px; fill:var(--text-2); font-variant-numeric:tabular-nums; }
.app-spark-grid { stroke:var(--text-2); stroke-opacity:.18; stroke-width:.6; }
.app-spark-head { display:flex; justify-content:space-between; align-items:baseline; gap:1em; }
.app-spark-at { font-size:.8em; white-space:nowrap; }
.app-stat-row > .app-spark-at { margin-left:auto; }
.app-spark-max { stroke:var(--text-2); stroke-opacity:.8; stroke-width:1; stroke-dasharray:3 3; }
/* Two lines (TwoLineSparklineView): the second in orange, each reading named beside its line's dot. */
.app-spark-readings { gap:1.1em; flex-wrap:wrap; }
.app-spark-reading { display:inline-flex; align-items:baseline; gap:.35em; }
.app-spark-reading > i { width:7px; height:7px; border-radius:50%; background:var(--accent); align-self:center; }
.app-spark-line2 > i { background:var(--spark-second, #f5a623); }
.app-spark-second { stroke:var(--spark-second, #f5a623); }
svg .app-spark-gap.app-spark-second-gap { stroke:var(--spark-second, #f5a623); }
.app-spark-end2 { fill:var(--spark-second, #f5a623); }
.app-spark-end1 { fill:currentColor; }
.app-spark-gap { stroke:currentColor; stroke-opacity:.6; stroke-width:1.5; stroke-dasharray:3 4; stroke-linecap:round; }
.app-spark-of { font-size:.86em; margin-left:.35em; }
.app-spark-rule { stroke:var(--text-2); stroke-opacity:.45; stroke-width:1; visibility:hidden; }
.app-sparkline svg[data-spark] { cursor:crosshair; touch-action:pan-y; }
.app-sparkline.is-scrubbing .app-spark-rule { visibility:visible; }
.app-spark-ends { display:flex; justify-content:space-between; gap:1em; font-size:.7em; margin:-.2em 0 .3em; }
/* The cards' one bar (CardBar): 8 points beside 14-point text, .57em, or .67em in rows set at .85em, the same on every card. */
.app-progress { position:relative; height:.57em; background:var(--app-track); border-radius:1em; margin:1em 0 .65em; }
.app-progress i { display:block; height:100%; min-width:3px; max-width:100%; background:var(--accent); border-radius:inherit; }
.app-progress b { position:absolute; top:-.15em; height:calc(100% + .3em); width:2px; margin-left:-1px; border-radius:1px; background:var(--text); }
.app-pace-rows { display:grid; gap:.75em; margin-top:.9em; }
.app-pace-rows .app-progress { margin:.4em 0 0; }
.app-pace-row-head { display:flex; justify-content:space-between; gap:.8em; font-size:.85em; }
.app-pace-row-head > span:first-child { display:flex; align-items:center; gap:.45em; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-pace-row-head span:last-child { color:var(--text-2); font-variant-numeric:tabular-nums; white-space:nowrap; }
.app-pace-chevron { font-style:normal; color:var(--text-2); opacity:.7; }
.app-text { display:flex; gap:.65em; }
:is(.app-text, .app-list).tone-info { --card-fill:var(--theme-color-99); background:var(--card-fill); border:1px solid var(--theme-color-100); }
:is(.app-text, .app-list).tone-warning { --card-fill:var(--theme-color-101); background:var(--card-fill); border:1px solid #e7a72c2b; }
:is(.app-text, .app-list).tone-success { --card-fill:var(--theme-color-102); background:var(--card-fill); border:1px solid #67ce8a27; }
:is(.app-text, .app-list).tone-critical { --card-fill:#ef56621c; background:var(--card-fill); border:1px solid #ef566240; }
.app-text > div { display:flex; flex-direction:column; gap:2px; }
.app-text-label { font-size:.85em; }
.app-link { display:flex; align-items:center; gap:.5em; padding:.5em .85em; border-radius:2em; }
a.app-card { color:inherit; text-decoration:none; }
a.app-card:hover { background:var(--app-card-hover); }
.app-link > small { margin-left:auto; max-width:42%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-table table { width:100%; border-collapse:collapse; font-size:.88em; margin-top:.5em; }
.app-table th { color:var(--text-2); font-weight:400; text-align:left; padding:.25em 0; }
.app-table td { padding:.15em 0; border:0; }
.app-table thead th { border-bottom:1px solid var(--app-separator); }
.app-table .is-num { text-align:right; }
.app-unit { margin-left:.25em; font-size:.62em; font-weight:400; color:var(--text-2); }
.app-stat-row { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.app-list :is(ul, ol) { padding:0; margin:.4em 0 0; list-style:none; }
.app-list li { padding:.15em 0; display:flex; gap:.45em; align-items:baseline; }
.app-list-mark { font-style:normal; color:var(--text-2); min-width:.9em; text-align:right; font-variant-numeric:tabular-nums; }
.app-list-mark.is-check { color:#34a853; font-weight:600; }
.app-list.tone-info .app-list-mark { color:#2f7cf6; font-weight:600; }
.app-list.tone-success .app-list-mark { color:#34a853; font-weight:600; }
.app-list.tone-warning .app-list-mark { color:#d98a00; font-weight:600; }
.app-list.tone-critical .app-list-mark { color:#e5484d; font-weight:600; }
.app-list li > .app-list-text { flex:1; }
/* A row's subtitle: a grey line under its words, one line and cut short; the detail stays beside the first line. */
.app-list li > .app-list-lines { flex:1; min-width:0; display:flex; flex-direction:column; gap:.05em; }
.app-list-sub { font-size:.88em; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-list-copy { font-style:normal; color:var(--text-2); font-size:.85em; margin-left:auto; }
/* Buttons on each row (row_actions): icons at the row's end, each in a place of its own, always shown. */
.app-row-action { display:inline-block; width:1.5em; height:1.5em; border-radius:.35em; background-color:transparent; }
.app-row-action.app-item-mask { background:var(--text-2); -webkit-mask-size:.95em; mask-size:.95em; }
/* Inline formatting in text and list cards, as the app draws it. */
.app-card :is(.app-text, .app-list) code, .app-text code, .app-list code { font:.92em ui-monospace, SFMono-Regular, Menlo, monospace; padding:.05em .3em; border-radius:.3em; background:var(--app-control); }
.app-text a, .app-list a { color:var(--accent); text-decoration:none; }
.app-text-icon { display:inline-grid; place-items:center; width:1.2em; flex:none; align-self:flex-start; margin-top:.1em; }
.app-text-icon .app-symbol { width:1.1em; height:1.1em; }
/* A link card's own icon, in its tone's colour, and a second line under the label. */
/* The symbol image as a mask, filled with the tone's colour (the text colour when it has none). */
.app-link-icon { width:1.1em; height:1.1em; flex:none; background:currentColor; -webkit-mask:var(--symbol) center/contain no-repeat; mask:var(--symbol) center/contain no-repeat; }
.app-link-icon.tone-info { color:#2f7cf6; }
.app-link-icon.tone-success { color:#34a853; }
.app-link-icon.tone-warning { color:#d98a00; }
.app-link-icon.tone-critical { color:#e5484d; }
.app-link-text { display:flex; flex-direction:column; min-width:0; flex:1; }
.app-link-tile { display:flex; align-items:flex-start; gap:.6em; }
.app-link-tile .app-link-icon { width:1.3em; height:1.3em; color:var(--accent); margin-top:.1em; }
.app-link-text > small { font-size:.8em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* A heading: a section title with no card around it, a chevron when it has cards to close. */
.app-card.app-heading { background:none; border:0; box-shadow:none; padding:.5em .25em .1em; display:flex; align-items:baseline; gap:.5em; }
.app-heading > div { display:flex; flex-direction:column; gap:1px; }
.app-heading strong { font-size:1.18em; }
.app-card.app-tabs { background:none; box-shadow:none; padding:0; display:flex; flex-direction:column; gap:.6em; }
.app-card.app-tabs.is-same { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; row-gap:.6em; }
.app-tabs.is-same > [data-tab-panel] { grid-area:2/1; }
.app-tabs.is-same > [data-tab-panel][hidden] { display:grid !important; visibility:hidden; pointer-events:none; }
/* The open tab's name on a soft grey capsule, as the app's TabBar draws it (owner, 23 Nov 2026). */
.app-tab-bar { display:flex; gap:.3em; overflow-x:auto; scrollbar-width:none; }
.app-tab-bar::-webkit-scrollbar { display:none; }
.app-tab-bar button { display:inline-flex; align-items:center; gap:.4em; flex:none; padding:.2em .7em; border:0; border-radius:999px; background:none; font:inherit; font-size:.93em; color:var(--text-2); cursor:pointer; }
.app-tab-bar button[aria-pressed="true"] { background:var(--app-track); color:var(--text); }
.app-tab-bar i { width:.45em; height:.45em; border-radius:50%; background:#f09b36; }
.app-tab-bar i.critical { background:#ec5c67; }
.app-tabs > [hidden] { display:none; }
.app-heading-icon .app-symbol { width:1em; height:1em; }
.app-heading-chevron { margin-left:auto; color:var(--text-2); font-weight:600; }
.app-heading-dot { margin-left:auto; align-self:center; width:.5em; height:.5em; border-radius:50%; flex:none; background:#36b85c; }
.app-heading-dot.warning { background:#f09b36; }.app-heading-dot.critical { background:#ec5c67; }.app-heading-dot.unknown { background:#9096a9; }
.app-heading-dot ~ .app-heading-chevron { margin-left:.15em; }
.app-heading-chevron.is-open { transform:rotate(90deg); }
/* A heading's cards open and close under it over the app's 0.3s (Motion.section), the chevron turning with
   them; site.js steps the height from what it measures, so the cards below move with it. Closed, the cards
   take no room: the wrapper's negative margin takes back the grid's gap, and the gap inside clips away. */
.app-heading-chevron { transition:transform .3s ease-in-out; }
[data-heading-toggle] { cursor:pointer; user-select:none; }
[data-heading-toggle]:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.app-heading-cards { grid-column:span 2; margin-top:-.6em; overflow:hidden; transition:height .3s ease-in-out; }
.app-heading-cards.is-closed { height:0; }
.app-heading-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6em; padding-top:.6em; }
@media (prefers-reduced-motion: reduce) { .app-heading-chevron, .app-heading-cards { transition:none; } }
/* A quote: a bar down the text card's leading edge. */
.app-text.is-quote { box-shadow:inset 3px 0 0 #9aa0aa80; }
/* The code card: label, language, Copy, then the code as written. */
.app-code-head { display:flex; align-items:baseline; gap:.45em; }
.app-code-lang { font:.72em ui-monospace, SFMono-Regular, Menlo, monospace; color:var(--text-2); padding:.05em .45em; border-radius:99px; background:var(--app-control); }
.app-code-copy { margin-left:auto; font-size:.8em; color:var(--text-2); }
.app-code pre { margin:.55em 0 0; padding:.6em .7em; border-radius:.6em; background:var(--app-control); overflow-x:auto; font:.8em/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space:pre; }
.app-code pre code { font:inherit; background:none; padding:0; }
.app-updated { display:flex; align-items:center; gap:.5em; font-size:.85em; color:var(--text-2); padding:.8em .2em 0; }
.app-fleet-items { display:grid; grid-template-columns:repeat(auto-fill,minmax(max(7em,30%),1fr)); gap:.7em .4em; margin-top:1em; }
.app-fleet-items > span { display:flex; gap:.4em; align-items:center; font-size:.8em; white-space:nowrap; }
/* A long name stops at its column with an ellipsis, as the app cuts it, never running into the next. */
.app-fleet-items > span { min-width:0; }
.app-fleet-name { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.app-fleet-items i { width:.55em; height:.55em; background:#36b85c; border-radius:50%; flex:none; }
/* A group's heading across the grid, in a checklist section's type (FleetCardView). */
.app-fleet-items > .app-fleet-group { display:block; grid-column:1 / -1; font-size:.78em; font-weight:600; color:var(--text-2); margin-top:.3em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-fleet-items > .app-fleet-group:first-child { margin-top:0; }
.app-fleet-items + .app-agenda-more { margin-top:.7em; }
.app-fleet-items i.warning { background:#f09b36; }.app-fleet-items i.critical { background:#ec5c67; }.app-fleet-items i.unknown, .app-fleet-items i.off { background:#9096a9; }
/* A strip (StripCardView): one bar per segment across the card, 1px apart until they're too thin, none as the empty track. */
.app-strip-bars { display:grid; grid-template-columns:repeat(var(--segments),minmax(0,1fr)); gap:1px; height:18px; margin-top:.8em; }
.app-strip-bars.is-dense { gap:0; }
.app-strip-bars i { border-radius:1.5px; background:#36b85c; }
.app-strip-bars i.warning { background:#f09b36; }.app-strip-bars i.critical { background:#ec5c67; }.app-strip-bars i.unknown { background:#9096a9; }
.app-strip-bars i.off { background:#9096a9; opacity:.55; }.app-strip-bars i.none { background:var(--text-2); opacity:.15; }
.app-strip-bars i:hover { opacity:1; outline:1px solid var(--text-2); }
.app-strip-ends { display:flex; justify-content:space-between; gap:1em; font-size:.7em; color:var(--text-2); margin-top:.45em; white-space:nowrap; }
/* A heatmap (HeatmapCardView): squares by day in week columns, shaded from the accent; a day with no item is an outline, unlike a 0's grey. */
.app-heatmap-grid { display:block; width:100%; height:auto; margin-top:.7em; overflow:visible; }
.app-heatmap-grid text { font-size:9px; fill:var(--text-2); }
.app-heatmap-grid rect.l0, .app-heatmap-legend i.l0 { fill:var(--text-2); background:var(--text-2); opacity:.22; }
.app-heatmap-grid rect.l1, .app-heatmap-legend i.l1 { fill:var(--accent); background:var(--accent); opacity:.38; }
.app-heatmap-grid rect.l2, .app-heatmap-legend i.l2 { fill:var(--accent); background:var(--accent); opacity:.58; }
.app-heatmap-grid rect.l3, .app-heatmap-legend i.l3 { fill:var(--accent); background:var(--accent); opacity:.8; }
.app-heatmap-grid rect.l4, .app-heatmap-legend i.l4 { fill:var(--accent); background:var(--accent); }
.app-heatmap-grid rect.none { fill:none; stroke:var(--text-2); stroke-opacity:.5; stroke-width:1; }
.app-heatmap-grid rect:hover { stroke:var(--text); stroke-width:1; stroke-opacity:1; opacity:1; }
/* Tiles (TilesCardView): four equal columns; each tile's tint is set inline from its change. */
.app-tile-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.4em; margin-top:.35em; }
.app-tile { display:flex; flex-direction:column; min-width:0; padding:.45em .55em .5em; border-radius:.55em; line-height:1.3; color:inherit; text-decoration:none; background:var(--tile-tint, transparent); box-shadow:inset 0 0 0 .5px color-mix(in srgb, var(--text-2) 30%, transparent); }
.app-tile b { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-tile span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-variant-numeric:tabular-nums; }
.app-tile span.is-wrap { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.app-tile small { font-size:.88em; opacity:.8; font-variant-numeric:tabular-nums; }
.app-tile small.is-heat { opacity:1; font-weight:600; }
.app-scene .app-tile[data-page-link][role="link"]:is(:hover, :focus-visible), a.app-tile:is(:hover, :focus-visible) { box-shadow:inset 0 0 0 .5px color-mix(in srgb, var(--text-2) 30%, transparent), inset 0 0 0 100vmax color-mix(in srgb, transparent, var(--text) 7%); }
.app-heatmap-legend { display:flex; justify-content:flex-end; align-items:center; gap:3px; font-size:.7em; color:var(--text-2); margin-top:.45em; white-space:nowrap; }
.app-heatmap-legend i { width:8px; height:8px; border-radius:1.5px; }
.app-heatmap-legend span:first-child { margin-right:2px; }.app-heatmap-legend span:last-child { margin-left:2px; }
.app-heatmap-empty { font-size:.8em; min-height:5.5em; margin-top:.7em; }
/* One grid for every row, as BarsCardView's Grid: the labels share a column as wide as the longest, so every bar starts in one place. */
.app-bar-rows { display:grid; grid-template-columns:minmax(0,max-content) minmax(0,1fr) max-content; gap:.8em .6em; align-items:center; margin-top:1.2em; font-size:.85em; }
.app-bar-rows > div { display:contents; }
/* As in the app, a long label stays on one line and ends in an ellipsis. */
.app-bar-rows > div > span:first-child { max-width:8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-bar-rows > div > i { position:relative; height:.67em; background:var(--app-track); border-radius:1em; }
.app-bar-rows > div > span:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.app-bar-rows b { height:100%; display:block; min-width:3px; max-width:100%; background:var(--accent); border-radius:1em; }
/* breakdown: the system colours the Mac names */
.app-card { --sw-blue:#007aff; --sw-teal:#30b0c7; --sw-orange:#ff9500; --sw-purple:#6f3fcb; --sw-green:#34c759; --sw-pink:#ff2d55; --sw-yellow:#ffcc00; --sw-red:#ff3b30; --sw-rose:#c36591; --sw-grey:#8e8e93; --sw-blue-text:#0062cc; --sw-teal-text:#0e7c8c; --sw-orange-text:#c2620a; --sw-purple-text:#5b2fb5; --sw-green-text:#1a7f37; --sw-pink-text:#d30f45; --sw-yellow-text:#9a7400; --sw-red-text:#d70015; --sw-rose-text:#a3467a; --sw-grey-text:#6e6e73; }

.app-breakdown .sw-blue { background:var(--sw-blue); } .app-breakdown .sw-teal { background:var(--sw-teal); } .app-breakdown .sw-orange { background:var(--sw-orange); } .app-breakdown .sw-purple { background:var(--sw-purple); }
.app-breakdown .sw-green { background:var(--sw-green); } .app-breakdown .sw-pink { background:var(--sw-pink); } .app-breakdown .sw-yellow { background:var(--sw-yellow); } .app-breakdown .sw-red { background:var(--sw-red); } .app-breakdown .sw-rose { background:var(--sw-rose); } .app-breakdown .sw-grey { background:var(--sw-grey); }
.app-breakdown-bar { position:relative; margin:1em 0 .65em; }
.app-breakdown-bar > div { display:flex; gap:2px; height:.57em; background:var(--app-track); border-radius:1em; overflow:hidden; }
.app-breakdown-bar > div > i { flex-basis:0; min-width:3px; }
.app-breakdown-bar > div > i.is-rest { background:none; min-width:0; }
.app-breakdown-bar b { position:absolute; top:-.25em; height:calc(100% + .5em); width:2px; margin-left:-1px; background:var(--text); border-radius:1px; }
.app-breakdown-legend { display:grid; grid-template-columns:minmax(0,1fr) max-content max-content; gap:.45em .9em; margin-top:.8em; font-size:.85em; }
.app-breakdown-legend > div { display:contents; }
.app-breakdown-legend span:first-child { display:flex; align-items:center; gap:.5em; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-breakdown-legend span:nth-child(n+2) { text-align:right; font-variant-numeric:tabular-nums; }
.app-breakdown-legend i { width:.6em; height:.6em; border-radius:50%; flex:none; }
.app-breakdown-legend .app-bd-dot { width:1.1em; height:1.1em; margin:0 -.25em; flex:none; -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
/* flow (FlowCardView): an SVG in card units, 12px text, labels outside the bars */
.app-flow-chart { display:block; width:100%; height:auto; margin-top:.7em; overflow:visible; }
.app-flow-labels { overflow:hidden; }
.app-flow-chart text { font-size:12px; fill:var(--text); dominant-baseline:middle; font-variant-numeric:tabular-nums; }
.app-flow-chart .app-muted { fill:var(--text-2); }
/* layout rows: a bar per part (BreakdownRowBar), its icon masked so it takes the colour CSS gives it */
.app-breakdown-rows { display:grid; grid-template-columns:minmax(0,max-content) minmax(0,1fr) max-content max-content; gap:.5em .8em; align-items:center; margin-top:.75em; font-size:.85em; }
.app-breakdown-rows > div { display:contents; }
.app-breakdown-rows > div > span:first-child { max-width:8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-breakdown-rows > div > span:nth-child(n+3) { text-align:right; font-variant-numeric:tabular-nums; }
.app-bd-track { position:relative; display:block; height:.67em; border-radius:1em; background:var(--app-track); }
.app-bd-track > b { position:absolute; inset:0 auto 0 0; border-radius:1em; min-width:3px; max-width:100%; }
/* A part's mark before its label in rows, as in the legend. */
.app-breakdown-rows > div > span:first-child { display:flex; align-items:center; gap:.45em; }
.app-breakdown-rows .app-bd-dot { width:1.15em; height:1.15em; flex:none; -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
.app-breakdown-rows > div > span:first-child > i { width:.6em; height:.6em; margin:0 .275em; border-radius:50%; flex:none; }
/* ColumnsCard with values_on_top: each value just above its column. */
.app-col-bars b { position:relative; }
.app-col-bars b em { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); margin-bottom:2px; font-style:normal; font-size:.75em; color:var(--text-2); white-space:nowrap; font-variant-numeric:tabular-nums; }
.app-col-group.is-current > span, .app-col-group.is-current .app-col-bars b em { color:var(--text); font-weight:600; }
/* RangesCard: label, icon, low, a bar on the card's shared scale, high; a dot for now. */
.app-range-rows { display:grid; grid-template-columns:max-content max-content minmax(0,1fr) max-content; gap:.55em .7em; align-items:center; margin-top:.75em; font-size:.9em; font-variant-numeric:tabular-nums; }
.app-range-rows .app-range-info { text-align:right; color:var(--text-2); }
.app-range-rows > div { display:contents; }
.app-range-rows > div > span:nth-last-child(3) { text-align:right; }
.app-range-rows i { position:relative; display:block; height:.63em; background:var(--app-track); border-radius:1em; }
.app-range-rows i b { position:absolute; top:0; bottom:0; border-radius:1em; }
.app-range-rows i em { position:absolute; top:50%; width:.6em; height:.6em; margin:-.3em 0 0 -.3em; border-radius:50%; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.35); }
/* An item's icon at the start of its row: an SF Symbol, or a rounded square standing in for a web icon. */
.app-item-icon { display:inline-block; width:1.05em; height:1.05em; margin-right:.4em; vertical-align:-.15em; flex:0 0 auto; }
.app-item-icon.is-web { border-radius:.25em; background:var(--app-hover); }
/* Card style (docs/design.md): a row's icon is secondary, or the item's own colour; one title style on every card. */
.app-item-mask { background:var(--c, var(--text-2)); -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; text-decoration:none; }
.app-card-label { display:block; font-size:.9em; font-weight:600; color:var(--text-2); }
/* A status card is named like every card; what it says is the bright line under its name. */
.app-status-detail { display:block; color:var(--text); }
/* A title row already sets the title size for its figures; do not scale its label twice. */
.app-card-title .app-card-label { font-size:.9em; }
.app-window .app-card-title .app-value { font-size:2em; line-height:1.1; }
.app-pace-row-head span:last-child em { font-style:normal; color:var(--text); }
.app-col-legend { display:flex; flex-wrap:wrap; gap:.4em 1.1em; margin-top:.5em; font-size:.85em; color:var(--text-2); }
.app-col-head { display:flex; align-items:baseline; justify-content:space-between; gap:.5em; }
.app-col-head .app-col-legend { margin-top:0; justify-content:flex-end; margin-left:auto; }
.app-col-legend span, .app-col-tip span { display:flex; align-items:center; gap:.45em; }
.app-col-legend i, .app-col-tip i { width:.75em; height:.75em; border-radius:.2em; flex:none; }
.app-columns .s0 { background:var(--accent); }
.app-columns .s1 { background:color-mix(in srgb, var(--text-2) 55%, transparent); }
.app-columns .s2 { background:color-mix(in srgb, var(--accent) 45%, transparent); }
.app-col-chart { display:grid; grid-template-columns:max-content minmax(0,1fr); grid-template-rows:7.5em auto; column-gap:.6em; margin-top:.9em; }
.app-col-axis { grid-area:1/1; display:grid; color:var(--text-2); text-align:right; font-variant-numeric:tabular-nums; }
.app-col-axis span { grid-area:1/1; align-self:end; position:relative; height:0; display:flex; align-items:center; justify-content:flex-end; font-size:.75em; }
.app-col-lines { grid-area:1/2; position:relative; pointer-events:none; }
.app-col-lines i { position:absolute; left:0; right:0; height:1px; background:var(--app-separator); }
/* Each period is a column of its bars (as tall as the axis's row, 7.5em) over its label. Flex rather than
   subgrid: Safari placed some groups' subgrid rows apart, so their bars and labels sat higher or lower. */
.app-col-plot { grid-column:2; grid-row:1/3; display:flex; min-width:0; }
.app-col-group { position:relative; flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; border-radius:.4em; outline:none; }
.app-col-bars { display:flex; align-items:flex-end; justify-content:center; gap:2px; width:100%; height:7.5em; flex:none; }
.app-col-bars b { width:min(1.1em, 30%); border-radius:.25em .25em 0 0; min-height:1px; }
/* A stacked column: its parts bottom to top, the top one rounded (ColumnsCard.segments). */
.app-col-bars b.app-col-stack { display:flex; flex-direction:column-reverse; width:min(1.6em, 60%); background:none; border-radius:0; }
.app-col-stack i { display:block; min-height:0; }
.app-col-stack i:last-of-type { border-radius:.25em .25em 0 0; }
.app-col-group > span { padding:.35em 0 .1em; font-size:.75em; color:var(--text-2); }
.app-col-group:hover { background:color-mix(in srgb, var(--text) 6%, transparent); }
.app-col-tip { position:absolute; top:0; left:calc(100% + 4px); z-index:2; display:none; gap:.2em; min-width:max-content; padding:.45em .6em; border-radius:.5em; background:color-mix(in srgb, var(--surface) 94%, transparent); border:1px solid var(--glass-line); box-shadow:0 6px 18px #11132b26; font-size:.8em; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); }
.app-col-group.is-late .app-col-tip { left:auto; right:calc(100% + 4px); }
.app-col-tip strong { font-weight:600; color:var(--text-2); }
.app-col-tip b { margin-left:auto; padding-left:1em; font-weight:600; font-variant-numeric:tabular-nums; }
.app-col-group:hover .app-col-tip { display:grid; }
.app-columns > small { display:block; margin-top:.4em; font-size:.8em; }
@container(max-width:300px) { .app-fleet-items { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.lp.motion-paused .lp-atmosphere > i,.lp.motion-paused .lp-wallpaper i { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) {
 .app-section-rows,.app-chevron { transition:none; }
}

/* Explicit values ensure every surface switches, including older WebKit previews. */
:root{--theme-color-0:#f6f4fb;--theme-color-1:#ffffff;--theme-color-2:#ecebf3;--theme-color-3:#1b1b22;--theme-color-4:#5c5c68;--theme-color-5:#85858f;--theme-color-6:rgba(40, 30, 90, 0.1);--theme-color-7:rgba(96, 150, 255, 0.55);--theme-color-8:rgba(190, 150, 255, 0.5);--theme-color-9:rgba(255, 190, 160, 0.55);--theme-color-10:#0a6cff;--theme-color-11:#0058d6;--theme-color-12:rgba(10, 108, 255, 0.1);--theme-color-13:#f0f0f3;--theme-color-14:#1d1d1f;--theme-color-15:0 1px 2px rgba(30, 20, 80, 0.05);--theme-color-16:0 8px 28px rgba(50, 30, 120, 0.09);--theme-color-17:#c9dcf8;--theme-color-18:#e3d3f6;--theme-color-19:#f9ddd0;--theme-color-20:0 0 0 0.5px rgba(0, 0, 0, 0.16);--theme-color-21:0 12px 40px rgba(0, 0, 0, 0.14);--theme-color-22:#1d1d1f;--theme-color-23:#ffffff;--theme-color-24:#0a66f0;--theme-color-25:#c8663f;--theme-color-26:#1d1d1f;--theme-color-27:rgba(255, 255, 255, 0.55);--theme-color-28:#f4f2fb;--theme-color-29:#f8f6fc99;--theme-color-30:#ffffff80;--theme-color-31:#ddd1ff;--theme-color-32:#d0def8;--theme-color-33:#dcd3f4;--theme-color-34:#bba7f4;--theme-color-35:#9ccaf7;--theme-color-36:#ebbecc;--theme-color-37:#ffffff70;--theme-color-38:#ffffffcf;--theme-color-39:#6c5b99;--theme-color-40:#242333;--theme-color-41:#fff;--theme-color-42:#ffffff26;--theme-color-43:#24232b;--theme-color-44:#30234d30;--theme-color-45:#0003;--theme-color-46:#fff6;--theme-color-47:#fffc;--theme-color-48:#ffffff85;--theme-color-49:#fff;--theme-color-50:#ffffffbb;--theme-color-51:none;--theme-color-52:#242333;--theme-color-53:#ffffffaa;--theme-color-54:#fff;--theme-color-55:#ffffff55;--theme-color-56:#ffffffc0;--theme-color-57:#ffffffd9;--theme-color-58:#ffffff63;--theme-color-59:#fff;--theme-color-60:#ffffff80;--theme-color-61:#ffffff45;--theme-color-62:#ffffffaa;--theme-color-63:#ffffff80;--theme-color-64:#ffffff60;--theme-color-65:#fff;--theme-color-66:#ffffff55;--theme-color-67:#ffffff65;--theme-color-68:#ffffffa0;--theme-color-69:#fff;--theme-color-70:#68558f;--theme-color-71:#b195e51a;--theme-color-72:#fbfaff80;--theme-color-73:#ffffffb8;--theme-color-74:#ffffff4a;--theme-color-75:#b7c0d52d;--theme-color-76:#514b7c;--theme-color-77:#d1c9ee;--theme-color-78:#cbd9eb;--theme-color-79:#e8d4e1;--theme-color-80:#859dd3;--theme-color-81:#b7a3d0;--theme-color-82:#dfbdc6;--theme-color-83:#315baf85;--theme-color-84:#8f8ac85c;--theme-color-85:#e2d4fc50;--theme-color-86:#a893d080;--theme-color-87:#e9b4b960;--theme-color-88:#98b4e055;--theme-color-89:#222436;--theme-color-90:#ffffff38;--theme-color-91:#ffffff60;--theme-color-92:#237cff0a;--theme-color-93:#1959c5;--theme-color-94:#d9e5ff5e;--theme-color-95:#ffffff8c;--theme-color-96:#ffffff8c;--theme-color-97:#ffffff25;--theme-color-98:#1c234017;--theme-color-99:#0b73d814;--theme-color-100:#247be32b;--theme-color-101:#ed96171a;--theme-color-102:#36bd6517;--theme-color-103:#27304b0b;--theme-color-104:#1729480b;--theme-color-105:#ffffff28;--theme-color-106:#a9c9f788;--theme-color-107:#e8bbd37a;--theme-color-108:#faf8ff73;--theme-color-109:#ffffff22;}

/* Personal context flows through the familiar AI apps into Legato. */
.lp-official-agent { object-fit:contain; filter:none!important; border-radius:5px; }

@media(prefers-reduced-motion:reduce) { .lp-hero .term { transition:none; } }

/* Shared site shell: the same materials and rhythm on every route. */
body { --bg:var(--theme-color-28); }
.topnav a[aria-current="page"] { text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:8px; }
/* Plain Porcelain, as every page has been since 15 Nov; the lilac and blue glows here were left on Privacy, Terms and Purchased. */
body:is(.page-docs,.page-explore) { background:var(--bg); }
:where(.page-docs,.page-explore) .button { background:var(--theme-color-40); color:var(--theme-color-41)!important; font-size:14px; padding:13px 22px; gap:20px; border:1px solid var(--theme-color-42); box-shadow:0 5px 15px #100b2018; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
[hidden] { display:none!important; }

/* Shared article, code and table styles. */
.prose { max-width:760px; }
.prose h1 { font-size:clamp(32px,3.2vw,44px); font-weight:700; letter-spacing:-.02em; margin:0 0 24px; line-height:1.12; text-wrap:balance; }
.prose h1 + p { font-size:17px; color:var(--text-2); line-height:1.75; margin-bottom:28px; }
.prose h2 { font-size:24px; letter-spacing:-.025em; font-weight:600; margin-top:48px; scroll-margin-top:100px; }
.prose h3 { font-size:18px; letter-spacing:-.015em; scroll-margin-top:100px; }
.prose p,.prose li { overflow-wrap:anywhere; }
.prose :not(pre)>code { white-space:normal; overflow-wrap:break-word; background:var(--theme-color-103); }
.prose .code pre code { white-space:pre; overflow-wrap:normal; }
.prose blockquote { background:var(--glass); border-color:var(--accent); }
.code { border-radius:14px; background:color-mix(in srgb,var(--code-bg) 65%,transparent); border-color:var(--line); }
.code pre { padding:44px 18px 20px; font-size:13px; }
.code-lang + .copy + pre,.code:has(.code-lang) pre { padding-top:44px; }
.code-lang { top:15px; max-width:calc(100% - 85px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.copy { top:8px; right:8px; padding:7px 10px; opacity:1; border-radius:8px; background:var(--glass); }
.copy:hover { background:var(--surface); color:var(--text); }
.table-wrap { background:var(--glass); border-radius:14px; }
.table-wrap th,.table-wrap thead td { background:var(--theme-color-103); }
.table-wrap th,.table-wrap td { padding:12px 14px; }

/* Explore and Docs share the same navigation and page frame. */
body.reference-page { background:var(--surface); --reference-top:69px; --reference-tabs:55px; }
html:has(.reference-page) { scrollbar-gutter:stable; scroll-padding-top:0; }
.reference-page .footer-inner { max-width:1600px; padding-left:28px; padding-right:28px; }
.reference-page .footer-bottom { width:calc(100% - 56px); max-width:1544px; }
.reference-page .footer-badges { width:calc(100% - 56px); max-width:1544px; }
.reference-page .topbar-inner { max-width:1544px; }
/* Docs and Features keep sticky tabs right under the bar, so the strip around the capsule takes the page's
   colour: the text scrolls under one solid band, not between the capsule and the tabs. */
.reference-page .topbar { background:var(--surface); }
.explore { margin:0; padding:0; }
.reference-tabs { position:sticky; top:var(--reference-top); z-index:20; display:flex; justify-content:center; align-items:stretch; gap:38px; height:var(--reference-tabs); margin:0; border-bottom:1px solid var(--line); background:var(--surface); }
.reference-tabs a { display:flex; align-items:center; border-bottom:2px solid transparent; padding:0 2px; color:var(--text-2); font-size:14px; font-weight:500; white-space:nowrap; }
.reference-tabs a:hover { color:var(--text); text-decoration:none; }
.reference-tabs a[aria-current]:not([aria-current="false"]) { border-bottom-color:var(--text); color:var(--text); }
.reference-shell { max-width:1600px; margin:0 auto; }
.reference-columns { display:grid; grid-template-columns:240px minmax(0,1fr); align-items:start; min-height:calc(100dvh - var(--reference-top) - var(--reference-tabs)); scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs)); }
.js .explore-group:not(.is-active),.js .explore-item:not(.is-active),.js .explore-variant:not(.is-active) { display:none; }
/* Unseen until the inline script at the explorer's end has picked the item the link names, so Safari never
   paints the page's first item first. */
.js .explore:not(.is-selected) .explore-shell { visibility:hidden; }
.reference-sidebar { position:sticky; top:calc(var(--reference-top) + var(--reference-tabs)); height:calc(100dvh - var(--reference-top) - var(--reference-tabs)); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:28px 16px 28px 20px; border-right:1px solid var(--line); }
.reference-nav-section + .reference-nav-section { margin-top:23px; }
.reference-nav-section h2 { padding:0 12px; margin:0 0 7px; font-size:11px; font-weight:600; letter-spacing:0.025em; color:var(--text-3); }
.reference-nav-section a { display:block; padding:7px 12px; min-height:35px; border-radius:7px; color:var(--text-2); font-size:13px; line-height:1.6; }
.reference-nav-section a:hover { text-decoration:none; background:var(--bg); color:var(--text); }
.reference-nav-section a[aria-current="page"] { background:var(--accent-soft); color:var(--accent-text); font-weight:600; }
.reference-sidebar-footer { display:grid; gap:12px; margin:26px 12px 0; border-top:1px solid var(--line); padding-top:18px; font-size:12px; color:var(--text-2); }
.reference-content { min-width:0; padding:40px clamp(24px,3.5vw,56px) 64px; }
.explore-item { scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 24px); }
.explore-item-head { display:flex; justify-content:space-between; align-items:center; gap:28px; margin-bottom:30px; }
.reference-kicker { margin:0 0 12px; font-size:12px; color:var(--text-3); }
.reference-kicker span { margin:0 7px; color:var(--line); }
.explore-title { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.explore-title h2 { margin:0; font-size:clamp(28px,2.5vw,38px); line-height:1.15; font-weight:600; letter-spacing:-.015em; }
.explore-title h2:focus { outline:none; }
.explore-title code { font:12px/1.5 var(--mono); color:var(--text-3); padding:3px 7px; border:1px solid var(--line); border-radius:5px; }
.explore-lead { color:var(--text-2); font-size:15px; line-height:1.65; max-width:660px; margin:14px 0 0; }
.explore-use { width:190px; flex:none; align-self:flex-start; padding-top:30px; }
.page-explore .explore-use .button { display:flex; justify-content:center; width:100%; padding:12px 16px; border-radius:9px; box-shadow:none; gap:14px; cursor:pointer; font-family:inherit; }
.explore-use p { font-size:11px; color:var(--text-3); text-align:center; margin:8px 0 0; }
[data-explore-copy-status] { display:block; font-size:12px; color:var(--text-2); margin-top:8px; }
[data-explore-copy-status]:empty { display:none; }
.reference-picker { display:none; }
.explore-example-picker { display:flex; align-items:center; gap:12px; margin:0 0 18px; font-size:13px; color:var(--text-2); }
.explore-example-picker select,.reference-picker select { min-height:42px; max-width:100%; border:1px solid var(--line); border-radius:8px; padding:8px 34px 8px 12px; background:var(--surface); color:var(--text); font:500 13px/1.4 var(--font); }
.explore-example-count { font-size:12px; color:var(--text-3); }
.explore-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:32px; align-items:start; }
.explore-stage { min-width:0; overflow:hidden; background:var(--bg); border:1px solid var(--line); border-radius:14px; }
.explore-stage-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px 20px; border-bottom:1px solid var(--line); color:var(--text-2); font-size:12px; }
.explore-stage-bar span:last-child { color:var(--text-3); font-size:11px; flex:none; }
.explore-preview { display:grid; place-items:center; position:relative; isolation:isolate; min-width:0; min-height:300px; margin:0; padding:32px 24px; }
.explore-preview::before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(ellipse at 25% 45%,var(--theme-color-106),transparent 65%),radial-gradient(ellipse at 80% 60%,var(--theme-color-107),transparent 65%); mask-image:radial-gradient(ellipse,#000 15%,transparent 70%); -webkit-mask-image:radial-gradient(ellipse,#000 15%,transparent 70%); pointer-events:none; }
.explore-preview-inner { width:min(100%,400px); }
.explore-preview-inner.is-small { width:min(100%,224px); }
.explore-preview-inner.is-wide { width:min(100%,570px); }
.js .explore-preview-inner { position:absolute; left:50%; top:50%; width:400px; transform:translate(-50%,-50%) scale(var(--preview-scale,1)); transform-origin:center; }
.js .explore-preview-inner.is-small { width:224px; }
.js .explore-preview-inner.is-wide { width:570px; }
.explore-preview .app-preview { font-size:14px; box-shadow:0 16px 32px #11132b18,inset 0 1px 0 #ffffff25; }
.explore-card-preview { padding:12px; }
.explore-card-preview .app-card-grid { grid-template-columns:minmax(0,1fr); }
.explore-card-preview .app-half { grid-column:1; }
/* Inside a tabs card, half-width cards pair up as on the Mac. */
.explore-card-preview .app-tabs .app-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.explore-card-preview .app-tabs .app-half { grid-column:span 1; }
.explore-stage-caption { margin:0; padding:12px 20px 16px; text-align:center; font-size:11px; color:var(--text-3); }
.explore-stage-caption span { margin:0 6px; }
.explore-options { border-top:1px solid var(--line); padding:18px 20px 8px; text-align:left; }
.explore-options-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:6px; }
.explore-options h3 { margin:0; font-size:13px; font-weight:600; color:var(--text); }
.explore-options-head p, .explore-options-none { margin:0; font-size:12px; color:var(--text-3); }
.explore-options-none { padding:2px 0 12px; }
.explore-options ul { list-style:none; margin:0; padding:0; }
.explore-option { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 20px; padding:11px 0; border-top:1px solid var(--line); }
.explore-option:first-child { border-top:0; }
.explore-option code { font-size:12px; color:var(--text); background:none; padding:0; }
.explore-option p { margin:2px 0 0; font-size:12.5px; line-height:1.45; color:var(--text-2); }
.explore-option-switch { position:relative; display:inline-block; width:34px; height:20px; flex:none; cursor:pointer; }
.explore-option-switch input { position:absolute; inset:0; margin:0; opacity:0; cursor:pointer; }
.explore-option-switch span { position:absolute; inset:0; border-radius:10px; background:var(--theme-color-6); transition:background .2s; pointer-events:none; }
.explore-option-switch span::after { content:''; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px #0003; transition:transform .2s; }
.explore-option-switch input:checked + span { background:var(--accent); }
.explore-option-switch input:checked + span::after { transform:translateX(14px); }
.explore-option-switch input:focus-visible + span, .explore-option-choice input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
.explore-option-choice { display:inline-flex; flex-wrap:wrap; justify-content:flex-end; gap:2px; padding:2px; border-radius:8px; background:var(--app-control); box-shadow:inset 0 0 0 1px var(--line); }
.explore-option-choice label { position:relative; cursor:pointer; }
.explore-option-choice input { position:absolute; inset:0; margin:0; opacity:0; cursor:pointer; }
.explore-option-choice span { display:block; padding:3px 9px; border-radius:6px; font-size:12px; line-height:1.4; color:var(--text-2); }
.explore-option-choice input:checked + span { background:var(--surface); color:var(--text); box-shadow:0 1px 2px #0002, inset 0 0 0 1px var(--line); }
@media (prefers-reduced-motion: reduce) { .explore-option-switch span, .explore-option-switch span::after { transition:none; } }
.explore-context { padding-top:2px; font-size:13px; line-height:1.7; color:var(--text-2); }
.explore-context section + section { margin-top:24px; }
.explore-context h3 { font-size:13px; color:var(--text); font-weight:600; margin:0 0 7px; }
.explore-context p { margin:0; overflow-wrap:anywhere; }
.explore-reference { display:inline-flex; gap:10px; margin-top:24px; font-size:12px; }
.explore-example-code { margin-top:32px; }
.explore-code-details { border-top:1px solid var(--line); padding:18px 0; scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 16px); }
.explore-code-details > summary { cursor:pointer; font-size:14px; font-weight:500; }
.explore-code-details > summary span { margin-left:12px; font-size:12px; font-weight:400; color:var(--text-3); }
.explore-code-details .code { margin:14px 0 0; }
.explore-code-details pre { max-height:440px; font-size:12px; }
.explore-prompt pre code { white-space:pre-wrap; overflow-wrap:anywhere; }
.explore-copy-hint { font-size:13px; color:var(--text-2); margin:14px 0 0; }
.explore-anchor { display:block; scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 16px); }
.js .explore-nojs-use { display:none; }
html:not(.js) :is(.explore-example-picker,.explore-use button,.explore-use p) { display:none!important; }
/* A card's example (K4): the card on a gradient that hugs it, its examples under it, what it is under
   those; its options in their own panel beside it; the code across the foot. */
.explore-item-head .explore-abilities { margin-top:14px; }
.explore-abilities { list-style:none; margin:16px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; }
.explore-abilities li { display:inline-flex; align-items:center; gap:6px; }
.explore-abilities a { color:var(--text); text-decoration:none; }
.explore-abilities a:hover { color:var(--accent); }
.explore-abilities .is-no { color:var(--text-3); }
.explore-ability-mark { width:15px; height:15px; flex:none; border-radius:50%; background:var(--accent); }
.explore-abilities .is-yes .explore-ability-mark { mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm3.6 5.2a.8.8 0 0 0-1.1.1L7.1 9.4 5.5 7.8a.8.8 0 1 0-1.1 1.1l2.2 2.2a.8.8 0 0 0 1.2 0l3.9-4.8a.8.8 0 0 0-.1-1.1Z'/%3E%3C/svg%3E"); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm3.6 5.2a.8.8 0 0 0-1.1.1L7.1 9.4 5.5 7.8a.8.8 0 1 0-1.1 1.1l2.2 2.2a.8.8 0 0 0 1.2 0l3.9-4.8a.8.8 0 0 0-.1-1.1Z'/%3E%3C/svg%3E"); }
.explore-abilities .is-no .explore-ability-mark { background:none; position:relative; }
.explore-abilities .is-no .explore-ability-mark::after { content:''; position:absolute; left:4px; right:4px; top:6.75px; height:1.5px; border-radius:1px; background:var(--text-3); }
.explore-k4-top { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:20px; align-items:start; }
.explore-k4-main { min-width:0; position:sticky; top:calc(var(--reference-top) + var(--reference-tabs) + 20px); }
.explore-k4-stage { display:grid; place-items:center; border-radius:16px; padding:36px 24px; background:radial-gradient(ellipse at 28% 40%,var(--theme-color-106),transparent 62%),radial-gradient(ellipse at 76% 62%,var(--theme-color-107),transparent 62%),var(--theme-color-98); box-shadow:inset 0 0 0 1px var(--line); }
.js .explore-k4 .explore-preview-inner, .explore-k4 .explore-preview-inner { position:relative; left:auto; top:auto; transform:none; width:100%; max-width:400px; }
.js .explore-k4 .explore-preview-inner.is-small, .explore-k4 .explore-preview-inner.is-small { width:224px; }
.explore-k4 .app-preview { font-size:14px; box-shadow:0 14px 30px #11132b1c,inset 0 1px 0 #ffffff25; }
.explore-k4-about { margin:14px 2px 0; font-size:13px; line-height:1.6; color:var(--text-2); max-width:70ch; }
.explore-k4-source { margin:4px 2px 0; font-size:13px; line-height:1.6; color:var(--text-2); max-width:70ch; }
.explore-k4-source span { font-weight:600; color:var(--text); margin-right:6px; }
/* In the narrow panel a choice goes under its line, so the line keeps its width. */
.explore-k4 .explore-option:has(.explore-option-choice) { grid-template-columns:minmax(0,1fr); }
.explore-k4 .explore-option-choice { justify-self:start; justify-content:flex-start; }
.explore-k4-options { border:1px solid var(--line); border-radius:16px; background:var(--surface); padding:16px 18px 16px; min-width:0; }
.explore-k4 .explore-options { border-top:0; padding:0; }
.explore-k4 .explore-options-head p { display:none; }
.explore-k4 .explore-option p { font-size:12.5px; }
.explore-k4 .explore-reference { margin-top:10px; }
.explore-k4 .explore-code { margin-top:28px; }
.explore-thumbs { display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x proximity; padding:3px 3px 6px; margin:12px -3px 0; scrollbar-width:thin; }
.explore-thumb { position:relative; flex:none; width:172px; display:grid; gap:6px; padding:7px; border:1px solid var(--line); border-radius:12px; background:var(--surface); scroll-snap-align:start; }
.explore-thumb:has([aria-current]) { border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent); }
.explore-thumb:hover { border-color:color-mix(in srgb,var(--accent) 55%,var(--line)); }
.explore-thumb-pic { position:relative; height:88px; overflow:hidden; border-radius:7px; background:var(--app-hover); }
.explore-thumb-card { position:absolute; left:6px; top:6px; width:400px; transform:scale(.39); transform-origin:top left; pointer-events:none; }
.explore-thumb-pic.is-small .explore-thumb-card { width:224px; left:calc(50% - 44px); }
.explore-thumb-card .app-preview { box-shadow:none; font-size:14px; }
.explore-thumb-name { font-size:12.5px; line-height:1.3; color:var(--text); text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.explore-thumb-name::after { content:''; position:absolute; inset:0; border-radius:12px; }
.explore-thumb-name:focus-visible { outline:none; }
.explore-thumb:has(.explore-thumb-name:focus-visible) { outline:2px solid var(--accent); outline-offset:2px; }
html:not(.js) .explore-thumbs { margin:0 0 20px; }
@media(max-width:1180px) { .explore-k4-top { grid-template-columns:minmax(0,1fr) 300px; } }
@media(max-width:980px) {
 .explore-k4-top { grid-template-columns:minmax(0,1fr); gap:16px; }
 .explore-k4-main { position:static; }
 .explore-k4-stage { padding:28px 14px; }
}
.explore-code { position:relative; border-radius:16px; background:var(--app-control); box-shadow:inset 0 0 0 1px var(--line); padding:6px; scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 16px); }
.explore-code-bar { display:flex; justify-content:space-between; align-items:center; padding:0 0 6px; }
.explore-code-tabs { display:flex; gap:2px; }
.explore-code-tabs button { font:inherit; font-size:13px; border:0; background:none; color:var(--text-2); padding:6px 12px; border-radius:8px; cursor:pointer; }
.explore-code-tabs button[aria-selected="true"] { background:var(--surface); color:var(--text); box-shadow:0 1px 2px #0000000f,inset 0 0 0 1px var(--line); }
.explore-code-tabs button:focus-visible, .explore-code-copy:focus-visible, .explore-code-more:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.explore-code-copy { display:inline-flex; align-items:center; gap:6px; height:32px; min-width:32px; justify-content:center; border:0; border-radius:8px; background:none; color:var(--text-2); cursor:pointer; padding:0 7px; font:inherit; font-size:12px; }
.explore-code-copy:hover { color:var(--text); background:var(--surface); }
.explore-code-copy svg { width:18px; height:18px; flex:none; }
.explore-code-copy.is-copied { color:var(--accent); }
.explore-code-status { margin:0; padding:0 10px; font-size:12px; line-height:1.5; color:var(--text-2); }
.explore-code-status:not(:empty) { padding-bottom:8px; }
.explore-code-panel { border-radius:11px; background:var(--surface); box-shadow:0 1px 3px #0000000d,inset 0 0 0 1px var(--line); overflow:hidden; }
.explore-code-panel pre { margin:0; padding:14px 16px; font-size:12px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--code-text, var(--text)); }
.explore-code-panel code { background:none; padding:0; font-size:inherit; }
.explore-code-nojs { display:none; }
.explore-code-more { display:none; }
.js .explore-code-panel:not(.is-on) { display:none; }
.js .explore-code:not(.is-open) .explore-code-panel pre { max-height:13.5em; overflow:hidden; padding-bottom:36px; -webkit-mask-image:linear-gradient(#000 50%,transparent); mask-image:linear-gradient(#000 50%,transparent); }
.js .explore-code.is-open .explore-code-panel pre { max-height:70vh; overflow:auto; }
.js .explore-code-more { display:inline-flex; align-items:center; gap:4px; position:absolute; left:50%; bottom:16px; translate:-50% 0; font:inherit; font-size:12px; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:99px; padding:4px 10px 4px 12px; box-shadow:0 1px 3px #0000001a; cursor:pointer; }
.js .explore-code.is-open .explore-code-more { position:relative; left:auto; bottom:auto; translate:none; margin:8px auto 2px; display:flex; width:max-content; }
.explore-code-more svg { width:14px; height:14px; transition:rotate .2s; }
.explore-code.is-open .explore-code-more svg { rotate:180deg; }
html:not(.js) .explore-code-bar { display:none; }
html:not(.js) .explore-code-nojs { display:block; margin:0; padding:10px 16px 0; font-size:12px; font-weight:600; color:var(--text-2); }
html:not(.js) .explore-code-panel + .explore-code-panel { margin-top:6px; }
@media (prefers-reduced-motion: reduce) { .explore-code-more svg { transition:none; } }
html:not(.js) .explore-item + .explore-item { margin-top:64px; }
html:not(.js) .explore-variant + .explore-variant { margin-top:28px; }
@media(max-width:1100px) {
 .reference-columns { grid-template-columns:215px minmax(0,1fr); }
 .reference-content { padding:30px 28px 48px; }
 .explore-detail-grid { grid-template-columns:minmax(0,1fr); gap:26px; }
 .explore-context { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 28px; }
 .explore-context section + section,.explore-reference { margin-top:0; }
 .explore-item-head { gap:20px; }
 .explore-use { width:176px; }
}
@media(max-width:760px) {
 body.reference-page { --reference-top:62px; --reference-tabs:51px; }
 .reference-page .footer-inner { padding-left:18px; padding-right:18px; }
 .reference-page .footer-bottom { width:calc(100% - 36px); }
 .reference-page .footer-badges { width:calc(100% - 36px); }
 .reference-tabs { gap:30px; }
 .reference-tabs a { font-size:13px; }
 .reference-columns { display:block; }
 .js .reference-sidebar { display:none; }
 html:not(.js) .reference-sidebar { position:static; height:auto; border-right:0; }
 .reference-content { padding:20px 20px 36px; }
 .js .reference-picker { display:flex; flex-direction:column; gap:7px; margin-bottom:28px; font-size:12px; color:var(--text-2); }
 .reference-picker select { width:100%; min-height:44px; }
 .explore-item-head { display:block; margin-bottom:22px; }
 .explore-title h2 { font-size:28px; }
 .explore-lead { font-size:14px; margin-top:12px; }
 .explore-use { width:100%; padding-top:20px; }
 .explore-use p { text-align:left; }
 .explore-use .button { min-height:44px; }
 .explore-example-picker { gap:8px; flex-wrap:wrap; }
 .explore-example-picker select { flex:1; min-width:0; }
 .explore-example-count { display:none; }
 .explore-preview { padding:28px 16px; min-height:240px; }
 .explore-stage-bar { padding:12px 16px; }
 .explore-context { grid-template-columns:minmax(0,1fr); gap:20px; }
 .explore-code-details > summary span { display:none; }
 .explore-code-details pre { max-height:none; }
 .explore-example-code { margin-top:26px; }
}

/* All nineteen card types share the landing page's native-inspired preview materials. */
.app-countdown > span,.app-gauge > span { display:block; font-size:.85em; }
.app-countdown .app-value,.app-gauge .app-value { display:block; font-size:1.8em; font-weight:600; line-height:1.2; margin:.15em 0; }
.app-list-pair { display:flex; justify-content:space-between; gap:1em; }
.app-list-pair > .app-list-detail { text-align:right; color:var(--text-2); }
.app-list-pair.is-link > .app-list-text, .app-list-pair.is-link > .app-list-lines > .app-list-text { text-decoration:underline; text-decoration-color:color-mix(in srgb,currentColor 25%,transparent); text-underline-offset:.2em; }
.app-list-go { font-style:normal; color:var(--text-2); font-size:.85em; }
/* WindowCardView: a quiet track, the window in a pale accent, the part gone in the accent, now a white knob. */
/* MapCard: an illustration of a map (the site fetches no tiles), the pins over it in the accent with their labels. */
.app-map-view { --map-land:#f1eee8; --map-street:#fff; --map-park:#cfe6c6; --map-water:#a9d1ee; position:relative; height:11.5em; margin-top:.55em; border-radius:.6em; overflow:hidden; background:var(--map-land); }

.app-map-view svg { position:absolute; inset:0; width:100%; height:100%; }
.app-map-view .streets path { fill:none; stroke:var(--map-street); vector-effect:non-scaling-stroke; stroke-width:3px; }
.app-map-view .park { fill:var(--map-park); }
.app-map-view .water { fill:var(--map-water); }
.app-map-view .route path { fill:none; stroke:var(--accent); stroke-opacity:.85; vector-effect:non-scaling-stroke; stroke-width:2.5px; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:5 5; }
.app-map-pin { position:absolute; display:flex; flex-direction:column; align-items:center; transform:translate(-50%, -.45em); }
.app-map-pin.has-icon { transform:translate(-50%, -.9em); }
.app-map-pin i { display:grid; place-items:center; width:.9em; height:.9em; border-radius:50%; background:var(--accent); border:2px solid #fff; box-shadow:0 1px 3px rgba(0,0,0,.3); }
.app-map-pin.has-icon i { width:1.8em; height:1.8em; }
.app-map-pin.is-stop { transform:translate(-50%, -50%); }
.app-map-pin.is-stop i { width:.6em; height:.6em; border-width:1.5px; }
.app-map-pin b { width:1em; height:1em; background:#fff; -webkit-mask:var(--icon) center/contain no-repeat; mask:var(--icon) center/contain no-repeat; }
.app-map-pin em { margin-top:.2em; padding:.05em .45em; border-radius:1em; font-style:normal; font-size:.72em; font-weight:600; white-space:nowrap; background:color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter:blur(6px); }
.app-map-view + small { display:block; margin-top:.45em; }
.app-map-empty { display:flex; align-items:center; gap:.4em; margin-top:.4em; }
.app-window-track { position:relative; margin:.65em 0 .45em; }
.app-window-bar { position:relative; height:.57em; border-radius:999px; background:color-mix(in srgb, var(--text) 9%, transparent); overflow:hidden; }
.app-window-bar i { position:absolute; top:0; bottom:0; border-radius:999px; }
.app-window-bar .is-window { background:color-mix(in srgb, var(--accent) 30%, transparent); }
.app-window-bar .is-gone { background:var(--accent); }
.app-window-knob { position:absolute; top:50%; width:1.1em; height:1.1em; border-radius:50%; transform:translate(-50%, -50%); background:#fff; box-shadow:0 0 0 .5px rgba(0,0,0,.18), 0 1px 3px rgba(0,0,0,.28); }
.app-window-times { position:relative; height:1.2em; font-size:.8em; }
.app-window-times span { position:absolute; transform:translateX(-50%); white-space:nowrap; font-variant-numeric:tabular-nums; }
.app-fact-rows { margin:.6em 0 0; display:grid; gap:.45em; }
.app-fact-rows > div { display:grid; grid-template-columns:1fr 2fr; gap:1em; }
.app-fact-rows dt { color:var(--text); }.app-fact-rows.is-muted dt { color:var(--text-2); }.app-fact-rows dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.app-detail { margin-top:.6em; }
.app-rings-row { display:flex; align-items:center; gap:.75em; margin-top:.45em; }
.app-rings-mark { flex:none; display:block; }
.app-rings-row > .app-rings-mark { width:4.3em; height:4.3em; }
.app-rings-figs { display:grid; gap:.2em; font-size:.85em; font-weight:500; font-variant-numeric:tabular-nums; white-space:nowrap; min-width:0; }
.app-rings-figs small { display:inline; font-size:.82em; font-weight:400; }
.app-rings-cal { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:.3em .15em; margin-top:.5em; text-align:center; }
.app-rings-cal > i { font-style:normal; font-size:.72em; color:var(--text-2); }
.app-rings-day { display:grid; justify-items:center; gap:.15em; padding:.2em 0; border-radius:.55em; font-size:.72em; }
.app-rings-day b { font-weight:400; }
.app-rings-day.is-today { box-shadow:inset 0 0 0 1px var(--line); }
.app-rings-day.is-today b { font-weight:600; }
.app-rings-day.is-empty b { color:var(--text-3, var(--text-2)); }
.app-rings-day .app-rings-mark { width:3em; height:3em; }
.app-ring-value { display:flex; gap:.7em; align-items:center; margin:.6em 0; }
.app-ring-value svg { width:3.3em; height:3.3em; flex:none; color:var(--accent); }
.app-ring-value circle { fill:none; stroke:currentColor; stroke-width:5; stroke-linecap:round; }
.app-ring-value .app-ring-track { stroke:var(--app-track); }
.app-ring-value strong { font-size:1.4em; }.app-ring-value small { line-height:1.3; }
.app-gauge-track { height:.57em; background:var(--app-track); position:relative; border-radius:20px; margin:.7em 0; }
.app-gauge-bands { position:absolute; inset:0; border-radius:inherit; overflow:hidden; }
.app-gauge-track i { position:absolute; top:0; bottom:0; background:currentColor; opacity:.4; }
.app-gauge-track b { position:absolute; width:.85em; height:.85em; border-radius:50%; top:50%; transform:translate(-50%,-50%); background:currentColor; border:2px solid var(--surface); box-sizing:border-box; }
/* With no bands the dot is the accent, as in the app. */
.app-gauge-track b.app-gauge-neutral { color:#3a89ff; }
.app-gauge-ok { color:#269e55; }.app-gauge-warning { color:#c17a18; }.app-gauge-critical { color:#df4e5d; }.app-gauge-unknown { color:var(--text-2); }

.app-check-items { padding:0; margin:.65em 0 0; list-style:none; display:grid; gap:.45em; }
.app-check-items:first-child { margin-top:0; }
.app-check-items li, .app-check-row { display:flex; align-items:center; gap:.55em; }
.app-check-row { width:100%; padding:0; border:0; background:none; font:inherit; color:inherit; text-align:left; cursor:pointer; border-radius:4px; }
.app-check-row:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
/* The row's mark, as the Mac draws a checklist's `mark`. check: the circle becomes a filled circle with
   a checkmark, and the text is struck through. fill: a ring around a dot, as in Reminders. square: a
   rounded square that fills with a checkmark. With fill and square, done text only goes light. */
.app-mark { position:relative; display:inline-block; flex:0 0 auto; width:1em; height:1em; border-radius:50%; box-shadow:inset 0 0 0 1.4px var(--text-2); transition:box-shadow .15s ease, background-color .15s ease; }
.app-mark::after { content:""; position:absolute; inset:0; margin:auto; transform:scale(0); transition:transform .18s cubic-bezier(.3,1.5,.6,1); }
.mark-square .app-mark { border-radius:.24em; }
.app-check-items .is-done > .app-mark, .app-check-items .is-done .app-mark { box-shadow:inset 0 0 0 1.4px var(--accent); }
.mark-check .is-done .app-mark, .mark-square .is-done .app-mark { background:var(--accent); }
.mark-check .app-mark::after, .mark-square .app-mark::after { inset:auto; left:.37em; top:.19em; width:.24em; height:.48em; border:solid #fff; border-width:0 .12em .12em 0; transform:rotate(45deg) scale(0); }
.mark-check .is-done .app-mark::after, .mark-square .is-done .app-mark::after { transform:rotate(45deg) scale(1); }
.mark-fill .app-mark::after { width:.56em; height:.56em; border-radius:50%; background:var(--accent); }
.mark-fill .is-done .app-mark::after { transform:scale(1); }
.app-check-items li.is-done { color:var(--text-2); }
.mark-check:not(.is-switch) li.is-done .app-mark + span:not(.app-check-text), .mark-check:not(.is-switch) li.is-done .app-check-text > span { text-decoration:line-through; }
/* A row with a detail line: the mark sits by the text, and the detail goes under it, smaller and light. */
/* A list row's mark is centred on its title and detail, as in the app; a grid tile's sits by the title. */
.app-check-items.is-grid li:has(.app-check-text) > .app-mark { margin-top:.15em; }
.app-check-text { display:grid; gap:.05em; }
/* A day's or section's heading as the app draws it (RowSectionHeading): the rows' colour, a size up from the card's title, close to its rows, and after the first a hairline across the rows. */
.app-list-section, .app-check-items .app-check-section { font-size:.92em; font-weight:600; color:var(--text); margin:.75em 0 -.15em; padding-top:.75em; border-top:1px solid var(--app-separator); }
.app-list-section:first-child, .app-check-items .app-check-section:first-child { margin-top:0; padding-top:0; border-top:0; }
.app-check-badge { display:inline-block; width:1em; height:1em; vertical-align:-.14em; background:var(--accent); -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
.app-check-badge.is-start { margin-right:.25em; }
.app-check-badge.is-end { width:.8em; height:.8em; margin-left:.3em; vertical-align:-.05em; background:var(--text-2); }
.app-check-items .is-done .app-check-badge { background:var(--text-2); }
.app-agenda-more { display:block; margin-top:.3em; padding:0; border:0; background:none; font:inherit; font-size:.9em; color:var(--accent); cursor:pointer; }
.app-agenda-more:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:3px; }
.app-check-items.is-grid { grid-template-columns:1fr 1fr; gap:.4em; }
.app-check-items.is-grid li { padding:.45em .6em; border-radius:8px; background:color-mix(in srgb, var(--text) 5%, transparent); align-items:flex-start; }
.app-check-items.is-grid li.is-done { background:color-mix(in srgb, var(--accent) 14%, transparent); }
.app-check-items.is-switch .app-mark { display:none; }
.app-check-items.is-switch li.is-done { color:inherit; background:color-mix(in srgb, #f5c400 18%, transparent); }
.app-check-items.is-switch li.is-done .app-symbol { filter:none; }
.app-check-items.is-switch li.is-done.is-accent { background:color-mix(in srgb, var(--accent) 16%, transparent); }
.app-switch-icon { --switch-on:#f5c400; flex:none; width:1.15em; height:1.15em; margin-top:.1em; background:var(--text-2); -webkit-mask:var(--symbol) center / contain no-repeat; mask:var(--symbol) center / contain no-repeat; }
li.is-done .app-switch-icon { background:var(--switch-on); }
li.is-done.is-accent .app-switch-icon { background:var(--accent); }
/* A pressable tile: the whole tile is its button, laid out as the tile is. */
.app-check-items.is-grid .app-check-row { align-items:flex-start; gap:inherit; }
.app-check-items.is-grid li:has(> .app-check-row) { padding:0; }
.app-check-items.is-grid .app-check-row { padding:.45em .6em; border-radius:8px; gap:.55em; }
.app-check-items.is-grid .app-check-row:hover { background:color-mix(in srgb, var(--text) 4%, transparent); }
.app-check-text > small { font-size:.85em; color:var(--text-2); }
/* A row a tick acts on (a local page's itemAction): its empty mark is drawn in the accent. */
.app-check-items li.is-checkable .app-mark { box-shadow:inset 0 0 0 1.4px var(--accent); }
@media (prefers-reduced-motion: reduce) { .app-mark, .app-mark::after { transition:none; } }
/* The agenda: a time column, a title over its detail, past rows dimmed, a line at now, and an item's own colour only as a thin leading bar. */
/* A paged list's pager, as the app draws ListPager: one capsule at the end of the title row, like Mail's hover bar. */
.app-list-head { display:flex; align-items:center; justify-content:space-between; gap:.6em; }
.app-list-head .app-card-label { margin:0; }
.app-list-pager { display:flex; width:max-content; margin:0 0 0 auto; align-items:center; gap:.1em; padding:.1em .2em; border-radius:999px; background:var(--app-page); box-shadow:0 0 0 .5px var(--app-separator), 0 .5px 1.5px rgb(0 0 0 / .08); font-size:.85em; color:var(--text-2); font-variant-numeric:tabular-nums; }
.app-list-pager > span { padding:0 .3em; }
.app-list-pager i { display:grid; place-items:center; width:2em; height:1.7em; color:var(--text); }
.app-list-pager i.is-off { color:var(--app-separator); }
.app-list-pager svg { width:.8em; height:.8em; }
/* Rows with an aside (RowColumns): the aside and detail columns keep one width, the words one line. */
ul.has-aside > li { align-items:baseline; gap:.75em; }
ul.has-aside .app-list-text { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
ul.has-aside .app-list-aside { flex:0 0 var(--aside); color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-variant-numeric:tabular-nums; }
ul.has-aside .app-list-detail { flex:0 0 var(--detail); text-align:right; margin-left:0; }
.app-pace-detail .app-pace-aside { flex:0 0 auto; min-width:3.6em; color:var(--text-2); font-variant-numeric:tabular-nums; }
.app-agenda-day { display:block; margin:.85em 0 0; font-size:.92em; font-weight:600; color:var(--text); }
.app-agenda-day ~ .app-agenda-day { margin-top:.75em; padding-top:.75em; border-top:1px solid var(--app-separator); }
.app-agenda-items { padding:0; margin:.5em 0 0; list-style:none; display:grid; gap:.5em; }
.app-agenda-items li { display:flex; align-items:baseline; gap:.6em; position:relative; }
.app-agenda-items.has-bars li:not(.app-agenda-now) { padding-left:.75em; }
.app-agenda-items li[style]::before { content:""; position:absolute; left:0; top:.1em; bottom:.1em; width:3px; border-radius:2px; background:var(--bar); }
.app-agenda-items li.is-past { opacity:.5; }
.app-agenda-time { flex:0 0 5.2em; color:var(--text-2); font-variant-numeric:tabular-nums; white-space:nowrap; }
.app-agenda-what { flex:1; min-width:0; display:grid; }
.app-agenda-what small { font-size:.85em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-agenda-items .app-button { align-self:center; padding:.2em .7em; font-size:.82em; }
.app-agenda-items .app-button.is-join { background:var(--accent); color:#fff; box-shadow:none; }
.app-agenda-items .app-state { align-self:center; margin:0; }
.app-agenda-now { height:1px; background:var(--accent); margin:.1em 0; align-items:center; }
.app-agenda-now::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); margin-left:-1px; }
/* The timeline: agenda's time column and rows, a rail of nodes between them. The newest node is filled, a forecast's dashed, an exception's mark sits in the rail; dashed rail into the forecast and across a quiet spell. */
.app-tl-items { --rail:color-mix(in srgb, var(--text-2) 55%, transparent); --node-y:.68em; padding:0; margin:.5em 0 0; list-style:none; display:grid; }
.app-tl-items > li { display:grid; grid-template-columns:5.2em 14px minmax(0,1fr); column-gap:.6em; align-items:start; }
.app-tl-items.no-times > li { grid-template-columns:14px minmax(0,1fr); }
.app-tl-items .app-agenda-what { padding-bottom:.5em; }
.app-tl-day > span:last-child { padding:.2em 0 .3em; font-size:.92em; font-weight:600; color:var(--text); }
.app-tl-day:not(:first-child) > span:last-child { margin-top:.3em; padding-top:.7em; border-top:1px solid var(--app-separator); }
.app-tl-gap > span:last-child, .app-tl-empty > span:last-child { padding:.05em 0 .55em; font-size:.85em; }
.app-tl-items li.is-past { opacity:.5; }
.app-tl-rail { position:relative; align-self:stretch; }
.app-tl-rail::before, .app-tl-rail::after { content:""; position:absolute; left:6.25px; width:1.5px; }
.app-tl-rail[data-above]::before { top:0; height:calc(var(--node-y) - 7px); }
.app-tl-rail[data-below]::after { top:calc(var(--node-y) + 7px); bottom:0; }
.app-tl-rail[data-through]::before { top:0; bottom:0; }
.app-tl-rail[data-above="solid"]::before, .app-tl-rail[data-below="solid"]::after, .app-tl-rail[data-through="solid"]::before { background:var(--rail); }
.app-tl-rail[data-above="dashed"]::before, .app-tl-rail[data-below="dashed"]::after, .app-tl-rail[data-through="dashed"]::before { background:repeating-linear-gradient(to bottom, var(--rail) 0 3px, transparent 3px 6px); }
.app-tl-rail > i { position:absolute; left:7px; top:var(--node-y); width:7px; height:7px; transform:translate(-50%,-50%); border-radius:50%; box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--text-2) 85%, transparent); }
.app-tl-rail > i.is-current { width:9px; height:9px; background:var(--accent); box-shadow:none; }
.app-tl-rail > i.is-next { width:9px; height:9px; box-shadow:none; border:1.5px dashed var(--accent); box-sizing:border-box; }
.app-tl-rail > .app-state { position:absolute; left:7px; top:var(--node-y); transform:translate(-50%,-50%); width:13px; height:13px; margin:0; font-size:.6em; }
/* The month: a seven-column grid, today filled with the accent, other months' days faint, dots in the items' colours. */
.app-month-name { display:block; margin-top:.1em; }
.app-month-grid { display:grid; grid-template-columns:repeat(7,1fr); margin:.45em 0 .2em; text-align:center; font-variant-numeric:tabular-nums; }
.app-month-week { display:contents; }
.app-month-grid small { font-size:.72em; font-weight:500; color:var(--text-2); padding-bottom:.2em; }
.app-month-grid button { display:grid; justify-items:center; gap:1px; padding:.1em 0; border:0; background:none; font:inherit; color:inherit; cursor:pointer; border-radius:6px; }
.app-month-grid button:focus-visible { outline:2px solid var(--accent); outline-offset:-1px; }
.app-month-grid button[aria-pressed="true"]:not(.is-today) b { background:color-mix(in srgb, var(--text-2) 22%, transparent); }
.app-month-grid b { font-weight:400; width:1.75em; height:1.75em; line-height:1.75em; border-radius:50%; }
.app-month-grid .is-other b { color:var(--text-3); }
.app-month-grid .is-today b { background:var(--accent); color:#fff; font-weight:600; }
.app-month-grid i { display:flex; gap:2px; height:4px; }
.app-month-grid em { width:4px; height:4px; border-radius:50%; background:var(--dot, var(--text-2)); }
.app-month-grid .is-past i { opacity:.5; }

@media(max-width:760px) {
 .page-landing { --frame-gap: 8px; --frame-top: 8px; --frame-r: 24px; --topbar-h: 70px; }
 .topbar { height: 62px; padding: 8px 12px 0; }
 .topbar-row { height: 50px; padding: 0 8px 0 16px; }.topnav { gap:15px; font-size:13px; }
 .prose h1 { font-size:36px; }.prose h1 + p { font-size:16px; }.prose h2 { margin-top:38px; font-size:23px; }.prose .anchor { display:none; }
}
@media(max-width:360px) {
 .topbar { padding: 8px 8px 0; }
 .topbar-row { padding:0 6px 0 12px; gap:8px; }.topnav, .page-landing .topnav { gap:10px; }.brand { font-size:15px; gap:6px; }
}

.app-table th { background:none; }

/* Docs uses the shared frame with a bounded article. A long page lists its sections in a closed menu under
   its title; nothing sits beside the article. */
.docs-main { min-width:0; max-width:980px; font-size:15px; line-height:1.75; scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 24px); }
.docs-main .prose { max-width:none; }
.docs-main .prose :is(p,ul,ol) { max-width:74ch; }
.docs-heading { margin-bottom:32px; }
.docs-heading h1 { margin:0; font-size:clamp(28px,2.5vw,38px); line-height:1.15; font-weight:600; letter-spacing:-.015em; text-wrap:balance; }
.docs-lead { color:var(--text-2); font-size:15px; line-height:1.65; max-width:74ch; margin:14px 0 0; }
.docs-main .prose :is(h2,h3,h4) { scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 24px); }
.docs-main .prose h2 { margin-top:40px; font-size:23px; }
.docs-main .prose h3 { font-size:18px; }
.docs-main .prose > :first-child { margin-top:0; }
.reference-page .code { background:var(--code-bg); border-radius:10px; }
.reference-page .copy { background:var(--surface); box-shadow:none; }
.reference-page .table-wrap { background:var(--surface); border-radius:10px; }
.docs-main .prose blockquote { background:var(--bg); border-radius:0 8px 8px 0; }
.docs-main .prose .docs-example-link { margin:8px 0 20px; font-size:13px; }
.docs-onpage { max-width:760px; margin:22px 0 0; border:1px solid var(--line); border-radius:12px; font-size:13px; }
.docs-onpage summary { display:flex; align-items:center; gap:10px; padding:11px 16px; cursor:pointer; list-style:none; font-weight:600; color:var(--text); }
.docs-onpage summary::-webkit-details-marker { display:none; }
.docs-onpage summary::before { content:''; flex:none; width:6px; height:6px; margin:0 2px 0 1px; border-right:1.5px solid var(--text-3); border-bottom:1.5px solid var(--text-3); transform:rotate(-45deg); transition:transform .15s; }
.docs-onpage[open] summary::before { transform:rotate(45deg); }
.docs-onpage summary span { font-weight:400; color:var(--text-3); }
.docs-toc { columns:3 170px; column-gap:28px; padding:2px 16px 12px 33px; }
.docs-toc a { display:block; break-inside:avoid; padding:5px 0; line-height:1.45; color:var(--text-2); }
.docs-toc a[aria-current="location"] { color:var(--accent-text); font-weight:600; }
.docs-meta { margin-top:32px; }
.md-link { display:inline-flex; gap:8px; padding:7px 11px; border:1px solid var(--line); border-radius:7px; color:var(--text-2); font-size:12px; }
.md-link:hover { text-decoration:none; color:var(--text); border-color:var(--accent); }
.pager { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:28px; }
.pager a { display:flex; flex-direction:column; gap:5px; padding:16px; border:1px solid var(--line); border-radius:9px; font-size:14px; color:var(--text); }
.pager a:hover { text-decoration:none; border-color:var(--accent); }
.pager a span { font-size:12px; color:var(--text-3); }
.pager .next { text-align:right; }
.docs-flow { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:0!important; margin:28px 0; }
.docs-flow li { margin:0!important; padding:16px 10px; border:1px solid var(--line); border-radius:9px; background:var(--bg); }
.docs-flow span { display:block; font-size:14px; font-weight:600; }
.docs-flow small { font-size:12px; color:var(--text-2); }
.docs-map { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0 28px; }
.docs-map section { padding:20px 22px 16px; border:1px solid var(--line); border-radius:12px; }
.docs-main .prose .docs-map h3 { margin:0; font-size:16px; }
.docs-main .prose .docs-map h3 a { color:var(--text); }
.docs-main .prose .docs-map p { margin:6px 0 0; font-size:13px; line-height:1.55; color:var(--text-2); }
.docs-main .prose .docs-map h4 { margin:16px 0 4px; font-size:12px; font-weight:600; color:var(--text-3); }
.docs-main .prose .docs-map ul { list-style:none; margin:0; padding:0; font-size:13.5px; line-height:1.5; }
.docs-main .prose .docs-map li { margin:0; padding:3px 0; }
@media(max-width:760px) {
 .docs-heading h1 { font-size:28px; }
 .docs-lead { font-size:14px; }
 .docs-main { font-size:15px; }
 .docs-heading { margin-bottom:24px; }
 .docs-map { grid-template-columns:1fr; }
 .docs-flow { gap:8px; }
 .docs-flow li { padding:12px 8px; }
 .docs-flow small { font-size:11px; }
 .pager { gap:10px; }
 .pager a { padding:12px; font-size:13px; }
}

/* ---- For developers and tinkerers: local pages, sources and buttons ---- */
/* API examples: a row of cards that scrolls sideways and snaps to each one. Only the track
   scrolls, so the page never does; the cards share the tallest one's height. No autoplay. */
@media (prefers-reduced-motion: no-preference) { .lp-api-track { scroll-behavior: smooth; } }
@media (max-width: 600px) { .lp-api-page { font-size: 11px; padding: 8px; } .lp-api-card { padding: 18px; } .lp-api-page .app-value { font-size: 1.45em; } }
/* A local page's buttons under its card, as the panel draws them. */
.app-buttons { display: flex; flex-wrap: wrap; gap: .45em; margin-top: .75em; flex-basis: 100%; }
/* A card's actions_align: center: the row under it centred, the card's own lines left where they are. */
.app-buttons.is-centered { justify-content: center; }
.app-status:has(> .app-buttons) { flex-wrap: wrap; }
.app-status:has(> .app-buttons) > div:not(.app-buttons) { flex: 1 1 0; min-width: 0; }
.app-status > .app-buttons { margin-left: 1.85em; margin-top: .1em; }
/* A text card's buttons go in a row under its words (CardBackground.chrome), not beside them. */
.app-text:has(> .app-buttons) { flex-wrap: wrap; }
.app-text:has(> .app-buttons) > div:not(.app-buttons) { flex: 1 1 0; min-width: 0; }
.app-text > .app-buttons { flex-direction: row; align-items: center; gap: .45em; margin-top: .2em; }
.app-button { display: inline-flex; align-items: center; gap: .35em; padding: .35em .75em; white-space: nowrap; border-radius: 2em; font-size: .88em; background: var(--app-control); }
.app-button .app-symbol { width: 1.1em; height: 1.1em; }
.app-button[hidden] { display: none; }
/* Buttons in a card's corner (actions_placement: corner): one row of icons at its top right (ActionButtons'
   corner), the card's lines in the rest of the width. */
.app-card.has-corner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6em; align-content: start; }
.app-card.has-corner > :not(.app-buttons) { grid-column: 1; }
/* The corner buttons span the first two rows (a card's mark or label, and its words), never more: spanning
   eight left each empty row's gap in the card, a band of space under its words. */
.app-card.has-corner > .app-buttons.is-corner { grid-column: 2; grid-row: 1 / span 2; align-self: start; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: .3em; margin: 0; }
.app-button.is-icon { padding: .4em .9em; }
/* Beside a card's lines the corner's icons are small, as the app's mini controls are. */
.app-card.has-corner:not(.is-button-row) .app-button.is-icon { padding: .25em .55em; font-size: .8em; }
/* On a list, or a named facts or text card (cornerOverTitle): the buttons share the name's line, which stops
   short of them, and every line below keeps the card's full width. They overhang the line a little rather
   than make it taller, as the app's overlay does. */
.app-card.has-corner.is-over-title > * { grid-column: 1 / -1; }
.app-card.has-corner.is-over-title > :first-child { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-card.has-corner.is-over-title > .app-buttons.is-corner { grid-column: 2; grid-row: 1; align-self: center; margin: -.35em 0; }
.app-text.has-corner.is-over-title > .app-text-head { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: .65em; }
.app-text.has-corner.is-over-title > .app-text-body { margin-top: .15em; }
/* Under its mark's line the words start where the name does, as the app's VStack beside the mark. */
.app-text.has-corner.is-over-title > .app-text-body.is-marked { padding-left: 1.85em; }
.app-text.has-corner.is-over-title .app-text-note { margin-left: auto; }
/* A card of controls (a text card with only its name and buttons): one row, the name then the buttons,
   each icon at one width so thin ones line up with wide ones; "|" parts runs of them. */
.app-card.has-corner.is-button-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .6em; }
.app-card.has-corner.is-button-row > div:not(.app-buttons) { flex: 1 1 auto; min-width: 0; }
.app-card.has-corner.is-button-row > .app-buttons.is-corner { flex: none; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: .35em; margin: 0; }
.app-card.is-button-row .app-button.is-icon { min-width: 2.5em; justify-content: center; padding: .35em .5em; }
.app-button-divider { flex: none; width: 1px; height: 1.3em; margin: 0 .25em; background: currentColor; opacity: .22; }
.app-button.is-menu { gap: .3em; font-variant-numeric: tabular-nums; }
.app-button.is-menu .app-symbol:last-child { width: .75em; height: .75em; opacity: .7; }
.app-text > div:has(> .app-text-head) { flex: 1 1 auto; min-width: 0; }
.app-text-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; }
.app-text-note { white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-button.is-icon .app-symbol { width: 1.2em; height: 1.2em; }
/* Pressed, a button waits for its request with a spinner in its icon's place and can't be pressed again. */
button.app-button:disabled { cursor: default; filter: none; opacity: .75; }
.app-spinner { flex: none; width: .95em; height: .95em; border-radius: 50%; border: .14em solid color-mix(in srgb, currentColor 25%, transparent); border-top-color: currentColor; animation: app-spin .8s linear infinite; }
@keyframes app-spin { to { transform: rotate(1turn); } }
.app-button.is-prominent { background: var(--accent); color: #fff; box-shadow: none; }
/* A bordered button's symbol takes its label's colour, as the Mac draws it. */
.app-button .app-symbol { filter: brightness(0); opacity: .8; }

.app-button.is-prominent .app-symbol, :root .app-button.is-prominent .app-symbol { filter: brightness(0) invert(1); opacity: 1; }

/* JSON colouring for .code blocks (spans from highlightJson in build.mjs). */
/* Keys take the link blue, strings the site's lavender, numbers its warm terracotta, literals its rose. */
:root{--hl-key:#0058d6;--hl-str:#6a44c4;--hl-num:#b5552f;--hl-lit:#b24a78;--hl-punct:#85858f}

.hl-key{color:var(--hl-key)}.hl-str{color:var(--hl-str)}.hl-num{color:var(--hl-num)}.hl-lit{color:var(--hl-lit)}.hl-punct{color:var(--hl-punct)}
.hl-cmt{color:var(--hl-punct);font-style:italic}.hl-var{color:var(--hl-num)}

/* The icons page: each name as a tile with its symbol; a click copies the name. */

/* Liquid Glass: the panel over a vivid desktop, with System Settings' Liquid Glass slider beside it.
   --tint runs from 0 (Clear) to 1 (Tinted); site.js sets it from the slider, and the panel's fills
   and blur follow, as the app's glass follows the setting. */
.lp-glass-stage { --scene-fill: rgb(246 246 249 / calc(.36 + .58 * var(--tint))); --scene-sidebar: rgb(236 237 244 / calc(.18 + .72 * var(--tint))); --scene-card: rgb(255 255 255 / calc(.32 + .6 * var(--tint)));
  --glass-blur: calc(6px + 26px * var(--tint)); --settings-fill: rgba(250,250,251,.97); --settings-row: #fff; --settings-group: rgba(0,0,0,.035); --settings-line: rgba(0,0,0,.08);
  padding-bottom: 0; }

.lp-glass-stage .app-preview { backdrop-filter: blur(var(--glass-blur)) saturate(1.7); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.7); }
/* Ribbons in the site's own colours: wide arcs with crisp edges sweeping behind both windows, so the
   glass has something to blur and bend, and clear and tinted look different. */
.lp-glass-stage { --r1a: #7d97e8; --r1b: #c9b6ee; --r2a: #e6a9c8; --r2b: #f3c6d4; --r3a: #8f78d9; --r3b: #b9a6ee; --r4a: #5d7fe0; --r4b: #8aa6f5; }

.lp-glass-wall { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(140deg, var(--wall-1), var(--wall-2) 55%, var(--wall-3)); }
.lp-glass-wall i { position: absolute; aspect-ratio: 1; border-radius: 50%; animation: lp-glass-drift 22s ease-in-out 2 alternate; }
/* Each ribbon is a ring: clear inside, a band from one colour to the next, clear outside. */
.lp-glass-wall i:nth-child(1) { width: 95%; left: 28%; top: -60%; background: radial-gradient(circle, transparent 52.5%, var(--r1a) 52.6%, var(--r1b) 67.4%, transparent 67.5%); }
.lp-glass-wall i:nth-child(2) { width: 80%; right: -30%; top: -5%; background: radial-gradient(circle, transparent 54.5%, var(--r2a) 54.6%, var(--r2b) 62.4%, transparent 62.5%); animation-delay: -7s; }
.lp-glass-wall i:nth-child(3) { width: 110%; left: -40%; bottom: -90%; background: radial-gradient(circle, transparent 55.5%, var(--r3a) 55.6%, var(--r3b) 63.4%, transparent 63.5%); animation-delay: -14s; }
.lp-glass-wall i:nth-child(4) { width: 60%; left: 48%; top: 30%; background: radial-gradient(circle, transparent 56.5%, var(--r4a) 56.6%, var(--r4b) 64.4%, transparent 64.5%); animation-delay: -3s; }
/* Floating, the ribbons sweep across the page itself, fading out before the section's edges. */
.lp-stage-float .lp-glass-wall { background: none; overflow: visible; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
@keyframes lp-glass-drift { to { transform: rotate(8deg) translate(-2%, 2%); } }
.lp-glass-body { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 8px 16px 32px 32px; }
.lp-glass-panel { padding: 0; }
/* The Appearance window overlaps the panel's lower-left corner, over the sidebar's empty foot, so the
   slider sits beside the cards it changes and the two windows read as one picture. */
.lp-glass-body .lp-glass-settings { justify-self: end; align-self: end; margin: 0 -108px 18px 0; }
/* Only Budget's section is open (build.mjs), so the panel ends near Budget's last card. */
.lp-glass-stage[data-glass-stage] .app-scene-pages { min-height: 42em; }
/* The menu bar's slice starts a short run left of the panel, as the hero's does. */
[data-glass-stage] .lp-stage-bar::before { left: calc(100% - 661px); }
/* Two windows on one desktop: the one last clicked is in front, as on a Mac. */
.lp-glass-settings { position: relative; z-index: 2; }
.lp-glass-body[data-front="settings"] .lp-glass-panel { z-index: 1; }
.lp-glass-body[data-front="panel"] .lp-glass-panel { z-index: 3; }
.lp-glass-toolbar { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.lp-glass-settings.is-dragging .lp-glass-toolbar { cursor: grabbing; }
.lp-glass-settings.is-dragging { box-shadow: 0 34px 70px -20px rgba(14,10,40,.55), 0 0 0 .5px rgba(14,10,40,.18); }
.lp-glass-stage .app-scene { font-size: min(13px, calc((100cqw - 500px) * 13 / 570)); }
/* System Settings' Appearance pane, as macOS draws it: a toolbar with back and forward and the
   pane's name, then one grouped box of rows, each a name on the left and its control on the right. */
.lp-glass-settings { justify-self: center; width: min(100%, 420px); overflow: hidden; border-radius: 16px; background: var(--settings-fill); color: var(--text); font-size: 13px; box-shadow: 0 24px 50px -18px rgba(14,10,40,.45), 0 0 0 .5px rgba(14,10,40,.18); }
.lp-glass-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 4px; }
.lp-glass-toolbar b { font-size: 15px; font-weight: 600; color: var(--text-2); }
.lp-glass-lights { display: flex; gap: 8px; }
.lp-glass-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); }
.lp-glass-lights i:nth-child(2) { background: #febc2e; }
.lp-glass-lights i:nth-child(3) { background: #28c840; }
.lp-glass-nav { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--settings-row); box-shadow: 0 1px 3px rgba(0,0,0,.08), inset 0 0 0 .5px var(--settings-line); color: var(--text); }
.lp-glass-nav svg { width: 8px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-glass-nav svg:last-child { opacity: .35; }
.lp-glass-nav i { width: 1px; height: 14px; background: var(--settings-line); }
.lp-glass-group { margin: 10px 12px 14px; border-radius: 12px; background: var(--settings-group); box-shadow: inset 0 0 0 .5px var(--settings-line); }
.lp-glass-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 14px; padding: 13px 0; }
.lp-glass-row + .lp-glass-row { border-top: 1px solid var(--settings-line); }
.lp-glass-row > span, .lp-glass-row > label { font-size: 13px; }
.lp-glass-slider { display: flex; flex: 1 1 200px; max-width: 240px; align-items: center; gap: 10px; color: var(--text-2); }
.lp-glass-slider svg { flex: none; width: 20px; height: 16px; }
.lp-glass-slider input { flex: 1; min-width: 0; margin: 0; accent-color: var(--accent); cursor: pointer; }
.lp-glass-slider input:disabled { cursor: default; }
.lp-glass-slider input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
/* Narrow: the panel takes the width, the settings window sits under it. */
@container (max-width: 1040px) {
 .lp-glass-body { grid-template-columns: minmax(0,1fr); padding: 8px 16px 24px; gap: 20px; }
 .lp-glass-panel { order: -1; justify-content: flex-start; }
 /* Under the panel, the Appearance window starts at the panel's left edge. */
 .lp-glass-body .lp-glass-settings { justify-self: start; align-self: auto; margin: 0; }
 [data-glass-stage] .lp-stage-bar::before { left: 0; }
 .lp-glass-stage .app-scene { font-size: min(13px, calc((100cqw - 34px) * 13 / 570)); }
 /* The stage is tall here: wider rings, so they still sweep behind the panel. */
 .lp-glass-wall i:nth-child(1) { width: 170%; left: -5%; top: -30%; }
 .lp-glass-wall i:nth-child(2) { width: 130%; right: -75%; top: 20%; }
 .lp-glass-wall i:nth-child(3) { width: 190%; left: -95%; bottom: -60%; }
 .lp-glass-wall i:nth-child(4) { width: 100%; left: 35%; top: 2%; }
}
@media (prefers-reduced-motion: reduce) { .lp-glass-wall i { animation: none; } }
.lp.motion-paused .lp-glass-wall i { animation-play-state: paused; }

/* Built into your Mac: four cells in the suite's grid (.lp-bento), each one moment at the panel's
   13px size, cropped by its cell. Spotlight's field and Notifications' banners float on a desktop
   gradient as macOS draws them; Ask about cards puts a plain chat window over the card it's about. */
.lp-mac { --note-fill: rgba(246,246,250,.86); --note-button: rgba(60,60,80,.1);
  --ctx-fill: rgb(246 246 250 / .86); --chat-fill: rgba(250,250,252,.97); --chat-field: #fff; --wall: linear-gradient(140deg, #5d77c2, #8a74bd 55%, #c68ca6); }

/* The two bentos without filled boxes: each cell is a hairline outline on the page, its picture in clear
   Liquid Glass as in the hero, fading out toward the outline. Connect any API shares the glass, with no outline. */
.lp-bento-float { --scene-fill: rgb(246 246 249 / .5); --scene-sidebar: rgb(236 237 244 / .32); --scene-card: rgb(255 255 255 / .55); --glass-rim: rgb(255 255 255 / .45); }

.lp-bento-float { padding: 12px; margin-left: -12px; margin-right: -12px; border-radius: 30px; background: rgb(255 255 255 / .5); -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 30px 60px -36px rgb(20 20 30 / .25); }
.lp-bento-float .lp-cell { background: rgb(0 0 0 / .035); box-shadow: none; border-radius: 20px; }

@media (max-width: 760px) { .lp-bento-float { padding: 8px; margin-left: -8px; margin-right: -8px; border-radius: 26px; } }
.lp-bento-float .lp-cell-art { -webkit-mask-image: linear-gradient(#000 78%, transparent), linear-gradient(90deg, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(#000 78%, transparent), linear-gradient(90deg, #000 90%, transparent); mask-composite: intersect; }
.lp-bento-float .app-preview { backdrop-filter: blur(14px) saturate(1.8); -webkit-backdrop-filter: blur(14px) saturate(1.8); border-color: var(--glass-rim);
  box-shadow: 0 18px 40px -16px rgba(14,10,40,.35), 0 0 0 .5px rgba(14,10,40,.14), inset 0 1px 0 rgb(255 255 255 / .55); }
.lp-bento-float :is(.lp-mac-spot, .lp-mac-notes) { background: none; }
/* A staggered pair: Calendar over Spotlight on the left, Notifications over Ask on the right, each as tall
   as what it shows, so no two tiles of a row match and each system picture keeps its own width. */
.lp-mac .lp-cell { height: 380px; }
@media (min-width: 901px) {
 .lp-bento.lp-mac { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px 100px 320px; grid-template-areas: "cal notes" "cal ask" "spot ask"; }
 .lp-mac .lp-cell { grid-column: auto; height: auto; }
 /* Each picture fits its tile whole here, so the grid's fade at the foot isn't needed. */
 .lp-mac .lp-cell-art { -webkit-mask-image: none; mask-image: none; }
 .lp-mac .lp-cell[data-cell="shortcuts"] { grid-area: cal; }
 .lp-mac .lp-cell[data-cell="notifications"] { grid-area: notes; }
 .lp-mac .lp-cell[data-cell="discuss"] { grid-area: ask; }
 .lp-mac .lp-cell[data-cell="spotlight"] { grid-area: spot; }
}
/* Narrower, the Notifications line wraps to two, so the first row is taller; Shortcuts keeps its foot close
   and Spotlight takes the room. */
@media (min-width: 901px) and (max-width: 1200px) {
 .lp-bento.lp-mac { grid-template-rows: 250px 90px 360px; }
}
/* Shortcuts: four actions stacked as the editor draws them, Legato's with its mark and the variables as
   blue tokens; the scripting actions (If, End If) on Shortcuts' grey. */
.lp-mac-sc { position: absolute; left: 28px; right: 28px; top: 0; display: grid; gap: 10px; }
.lp-sc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 7px; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: var(--text); background: var(--scene-card); box-shadow: 0 10px 24px -16px rgba(14,10,40,.35), 0 0 0 .5px rgba(14,10,40,.12); }
.lp-sc-act b { font-weight: 500; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 8px; border-radius: 6px; }
.lp-sc-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #1d1b2c; color: #fff; flex: none; }
.lp-sc-icon svg { width: 17px; height: 17px; }
.lp-sc-act.is-script .lp-sc-icon { background: #8e8e93; }
.lp-sc-act.is-script .lp-sc-icon img { filter: brightness(0) invert(1); }
/* End If sits in from If, as the editor indents what's inside. */
.lp-sc-act:nth-child(3) { margin-left: 18px; }
/* Spotlight: the field and its result over the desktop, and the card the result presses. */
.lp-mac-spot, .lp-mac-notes { position: absolute; left: 28px; right: 28px; top: 0; bottom: 0; border-radius: 16px 16px 0 0; background: var(--wall); }
.lp-mac-spot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 22px 0; color: var(--text); }
/* The results hang from the field over the card, as Spotlight's own panel does, so the card sits close
   under the field and is covered only while results show. */
.lp-mac-spot .lp-spot-results { position: absolute; z-index: 3; top: 84px; left: 50%; width: min(calc(100% - 44px), 400px); transform: translateX(-50%); }
.lp-mac-spot > * { width: min(100%, 400px); }
/* macOS 27's Spotlight is Liquid Glass, dark on any wallpaper: a near-black capsule and a
   panel of results beneath it, both see-through with a blur, lit along their edges (brightest at the
   bottom), with no fill behind a row. Searching one app puts that app's token in the field. */
.lp-spot-field, .lp-spot-results { backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8); color: #f4f4f6; }
.lp-spot-field { box-sizing: border-box; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 12px; border-radius: 27px;
  background: linear-gradient(180deg, rgb(0 0 0 / .9), rgb(10 10 12 / .84) 55%, rgb(34 34 38 / .8));
  box-shadow: 0 22px 46px -18px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .07), inset 0 -1.5px 1px -.5px rgb(255 255 255 / .32),
    inset 1.5px 0 1px -1px rgb(255 255 255 / .14), inset -1.5px 0 1px -1px rgb(255 255 255 / .2), inset 0 1px 0 rgb(255 255 255 / .05); }
.lp-spot-scope { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 9px; background: rgb(255 255 255 / .14);
  font: 400 19px/1 var(--font); letter-spacing: -.01em; }
.lp-spot-scope img { width: 22px; height: 22px; border-radius: 5px; }
.lp-spot-type { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; align-self: stretch; overflow: hidden; }
.lp-spot-field input, .lp-spot-measure { font: 400 19px/1 var(--font); letter-spacing: -.01em; }
.lp-spot-field input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; outline: none; color: inherit; caret-color: transparent; }
/* The text up to the insertion point, measured to place the caret (site.js). */
.lp-spot-measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: pre; pointer-events: none; }
/* Spotlight's caret: a white bar a little taller than the text, glowing cool at the top and warm at
   the bottom, blinking about once a second. It holds still while text arrives, as macOS's does. */
.lp-spot-caret { position: absolute; left: 0; top: 50%; width: 2px; height: 25px; margin: -12.5px 0 0 -1px; border-radius: 1px; background: #fff; pointer-events: none;
  animation: lp-spot-blink 1.05s ease-in-out infinite; }
.lp-spot-caret::before { content: ""; position: absolute; inset: -3px -3px; border-radius: 3px; background: linear-gradient(180deg, #b9e2ff, rgb(255 255 255 / .7) 45%, #ffcf7a); filter: blur(4px); opacity: .9; }
.lp-spot-caret.is-hidden { visibility: hidden; }
@keyframes lp-spot-blink { 0%, 60% { opacity: 1; } 70%, 90% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lp-spot-caret { animation: none; } }
.lp-spot-results { box-sizing: border-box; display: grid; gap: 0; padding: 6px; border-radius: 24px;
  background: linear-gradient(180deg, rgb(22 22 26 / .78), rgb(30 30 34 / .72));
  box-shadow: 0 22px 46px -18px rgb(0 0 0 / .5), inset 0 0 0 1px rgb(255 255 255 / .07), inset 0 1px 0 rgb(255 255 255 / .1),
    inset 0 -1.5px 1px -.5px rgb(255 255 255 / .24), inset -1.5px 0 1px -1px rgb(255 255 255 / .16); }
/* With nothing typed the results panel is closed. */
.lp-spot-results.is-empty { visibility: hidden; }
.lp-spot-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 5px 10px; border: 0; border-radius: 16px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lp-spot-row:hover, .lp-spot-row:focus-visible { background: rgb(255 255 255 / .07); }
.lp-spot-row[hidden] { display: none; }
/* The button's own symbol on a pale glass tile, with Legato's icon as a badge at its corner. */
.lp-spot-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(180deg, rgb(238 234 242 / .9), rgb(206 200 214 / .86));
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .5); }
.lp-spot-icon > img:first-child { display: block; width: 34px; height: 34px; padding: 7px; box-sizing: border-box; filter: grayscale(1) brightness(.4); }
.lp-spot-badge { position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 4.5px; box-shadow: 0 0 0 1.5px rgb(24 24 28); }
.lp-spot-row b { font-size: 15px; font-weight: 500; letter-spacing: -.005em; }
.lp-mac-spot-card { margin-top: 6px; padding: .6em; }
/* The Tesla card as the hero's Tesla page draws it: the climate line under the temperature. */
.lp-mac-spot-card .app-stat-row { display: block; }
/* Notifications: one banner at the top right, under a slice of the menu bar, where macOS shows it. */
.lp-mac-notes { padding: 0 14px; }
.lp-notes-bar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; height: 30px; margin: 0 -14px 12px; padding: 0 14px; font-size: 12px; color: var(--text-2); background: rgb(255 255 255 / .34); box-shadow: inset 0 -.5px 0 rgb(255 255 255 / .55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

.lp-notes-bar svg { width: 15px; height: 15px; flex: none; }
.lp-notes-bar svg.lp-stage-battery { width: 22px; }
.lp-notes-glyph { position: relative; display: grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; color: var(--text); }
/* The dot the app puts beside its mark for what you haven't seen: orange for a warning, until the panel opens. */
.lp-notes-glyph::after { content: ""; position: absolute; top: 3px; right: 0; width: 6px; height: 6px; border-radius: 50%; background: #ff9f0a; opacity: 0; transform: scale(.4); transition: opacity .25s ease, transform .25s ease; }
.lp-notes-glyph.is-lit::after { opacity: 1; transform: none; }
.lp-notes-glyph svg { width: 20px; height: 20px; }
.lp-notes { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.lp-note { box-sizing: border-box; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 10px; width: min(100%, 350px); padding: 10px 13px 11px 10px; border-radius: 17px; background: var(--note-fill); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 12px 30px -12px rgba(20,12,60,.45), 0 0 0 .5px rgba(0,0,0,.1); color: var(--text); font-size: 12.5px; line-height: 1.32; text-align: left; }
.lp-note[hidden] { display: none; }
.lp-note.is-new { animation: lp-note-in .5s cubic-bezier(.2,.85,.25,1.08); }
@keyframes lp-note-in { from { opacity: 0; transform: translateX(28px); } }
.lp-note-app { width: 34px; height: 34px; border-radius: 8px; }
.lp-note-text { display: flex; flex-direction: column; min-width: 0; }
.lp-note-head { display: flex; justify-content: space-between; gap: 8px; }
.lp-note-head span { color: var(--text-2); font-size: 11.5px; }
.lp-note-text strong { font-weight: 600; }
.lp-note-actions { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 9px; }
.lp-note-actions span { padding: 5px 8px; border-radius: 9px; background: var(--note-button); text-align: center; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Ask about cards: the card, its menu where it was clicked, and the chat in front. */
.lp-mac-ask { position: absolute; left: 28px; right: 28px; top: 0; bottom: 0; }
.lp-mac-ask-card { width: 68%; padding: .6em; }
.lp-mac-ask [data-card] { cursor: context-menu; }
.lp-mac-ask [data-card]:focus-visible, .lp-mac-ask [data-card].is-pointed { outline: 2px solid var(--accent); outline-offset: 1px; }
.lp-ctx { position: absolute; z-index: 3; min-width: 150px; padding: 5px; border-radius: 10px; background: var(--ctx-fill); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 14px 34px -10px rgba(14,10,40,.45), 0 0 0 .5px rgba(0,0,0,.16); color: var(--text); font-size: 13px; }
.lp-ctx[hidden] { display: none; }
.lp-ctx button { display: block; width: 100%; padding: 4px 10px; border: 0; border-radius: 6px; background: none; font: inherit; color: inherit; text-align: left; white-space: nowrap; cursor: default; }
.lp-ctx button:hover, .lp-ctx button:focus, .lp-ctx button.is-hot { background: var(--accent); color: #fff; outline: none; }
.lp-chat { position: absolute; z-index: 2; right: 0; top: 160px; width: min(300px, 62%); display: flex; flex-direction: column; border-radius: 13px; background: var(--chat-fill); color: var(--text);
  box-shadow: 0 30px 60px -18px rgba(14,10,40,.55), 0 0 0 .5px rgba(14,10,40,.2); font-size: 12.5px; overflow: hidden; transition: opacity .25s, transform .25s; }
.lp-chat.is-closed { opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none; }
.lp-chat-bar { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 11px; border-bottom: .5px solid var(--glass-line); }
.lp-chat-bar b { font-weight: 600; }
.lp-chat-lights { display: flex; gap: 6px; width: 42px; }
.lp-chat-lights i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #febc2e; }
.lp-chat-lights i:first-child { background: #ff5f57; }
.lp-chat-lights i:last-child { background: #28c840; }
.lp-chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px; margin: 10px 10px 6px; padding: 8px 8px 8px 10px; border-radius: 11px; background: var(--chat-field); box-shadow: inset 0 0 0 .5px var(--glass-line); }
.lp-chat-compose textarea { height: 92px; padding: 0; border: 0; resize: none; background: none; color: inherit; font: 12px/1.45 var(--font); outline: none; overflow: hidden; }
.lp-chat-send { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: var(--bg, #fff); }
.lp-chat-send svg { width: 13px; height: 13px; }
.lp-chat-note { margin: 0 11px 9px; color: var(--text-2); font-size: 10.5px; }
.lp-cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 18px; height: 24px; pointer-events: none; transform: translate(var(--x, 0), var(--y, 0)); transition: transform .8s cubic-bezier(.3,.7,.2,1); filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.lp-cursor.is-placed { transition: none; }
.lp-cursor[hidden] { display: none; }
.lp-cursor svg { width: 18px; height: 24px; }
/* Stacked, Shortcuts is as tall as its four actions. */
@media (max-width: 900px) {
 .lp-mac .lp-cell[data-cell="shortcuts"] { height: auto; }
 .lp-mac .lp-cell[data-cell="shortcuts"] .lp-cell-art { -webkit-mask-image: none; mask-image: none; }
 .lp-mac .lp-cell[data-cell="shortcuts"] .lp-mac-sc { position: relative; left: auto; right: auto; margin: 0 28px 28px; }
 .lp-mac .lp-cell[data-cell="discuss"] { height: 460px; }
 .lp-mac .lp-cell[data-cell="spotlight"] { height: 330px; }
 .lp-mac .lp-cell[data-cell="notifications"] { height: 290px; }
}
@media (max-width: 600px) {
 .lp-mac-sc, .lp-mac-spot, .lp-mac-notes, .lp-mac-ask { left: 22px; right: 22px; }
 .lp-mac .lp-cell[data-cell="shortcuts"] .lp-mac-sc { margin: 0 22px 22px; }
 .lp-sc-act { font-size: 13px; }
 .lp-mac-ask-card { width: 100%; }
 .lp-chat { width: 86%; }
}
@media (prefers-reduced-motion: reduce) { .lp-note.is-new { animation: none; } .lp-chat, .lp-cursor { transition: none; } }

/* Two paths onto the bar, drawn like the encryption band's wires: a packet runs each row while it's on
   screen (site.js adds is-playing). The API row stops at Legato's service; the local row goes straight. */
.lp-routes { display: grid; gap: 14px; }
.lp-route { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr); gap: 40px; align-items: center; padding: 30px 34px; border-radius: 24px; background: var(--cell-fill); box-shadow: inset 0 0 0 1px var(--cell-line), 0 24px 50px -32px var(--cell-shadow); }
.lp-route-head h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.lp-route-head p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.lp-route-head .lp-text-link { color: var(--text); }
.lp-route-flow { --route-accent: #8a74bd; display: grid; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr); align-items: start; }
.lp-route-node { display: grid; gap: 10px; min-width: 0; }
.lp-route-node.is-mac { grid-column: 5; }
.lp-route-node > p { display: flex; gap: 7px; align-items: flex-start; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
.lp-route-node > p img { flex: none; margin-top: 1px; opacity: .75; }
.lp-route-node > p b { color: var(--text); font-weight: 600; }
.lp-route-card { display: flex; align-items: center; gap: 9px; min-height: 64px; padding: 12px 13px; border-radius: 14px; font-size: 13px; line-height: 1.35; }
.lp-route-card strong { display: block; font-weight: 600; }
.lp-route-card small { display: block; color: var(--text-2); font-size: 12px; }
.lp-route-card.is-source { display: grid; align-content: center; gap: 2px; background: var(--chip); color: var(--chip-text); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: 0 14px 30px -18px rgba(14,10,40,.6); }
.lp-route-card.is-source span { color: #a9a6bd; }
.lp-route-card.is-source code { color: #b9a8ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-route-card.is-service { box-shadow: inset 0 0 0 1px var(--line); background: var(--cell-fill); }
.lp-route-card.is-service img { flex: none; opacity: .8; }
.lp-route-card.is-page { background: var(--scene-card); box-shadow: 0 14px 30px -18px rgba(14,10,40,.4), 0 0 0 .5px rgba(14,10,40,.12); }
.lp-route-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2fb35b; box-shadow: 0 0 0 3px rgba(47,179,91,.18); }
.lp-route-wire { position: relative; align-self: start; height: 2px; margin-top: 32px; background: repeating-linear-gradient(90deg, rgba(138,116,189,.5) 0 6px, transparent 6px 10px); }
.lp-route-wire.is-direct { grid-column: 2 / 5; }
.lp-route-wire.is-direct span { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); white-space: nowrap; padding: 3px 11px; border-radius: 999px; font-size: 12px; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lp-route-wire b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--route-accent); box-shadow: 0 0 10px var(--route-accent); opacity: 0; }
.lp-routes.is-playing [data-route="api"] .lp-route-wire b { animation: lp-packet 6s ease-in-out infinite; }
.lp-routes.is-playing [data-route="api"] .lp-route-wire.is-second b { animation-name: lp-packet-2; }
.lp-routes.is-playing [data-route="api"] .is-service { animation: lp-route-hold 6s ease-in-out infinite; }
.lp-routes.is-playing [data-route="api"] .is-page { animation: lp-route-arrive-late 6s ease-in-out infinite; }
.lp-routes.is-playing [data-route="local"] .lp-route-wire b { animation: lp-packet 6s ease-in-out infinite; }
.lp-routes.is-playing [data-route="local"] .is-page { animation: lp-route-arrive 6s ease-in-out infinite; }
.lp.motion-paused .lp-routes * { animation-play-state: paused !important; }
@keyframes lp-route-hold { 0%, 38% { box-shadow: inset 0 0 0 1px var(--line); } 44%, 52% { box-shadow: inset 0 0 0 1px var(--route-accent), 0 0 0 4px rgba(138,116,189,.16); } 58%, 100% { box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes lp-route-arrive { 0%, 36% { transform: none; } 42% { transform: scale(1.04); } 50%, 100% { transform: none; } }
@keyframes lp-route-arrive-late { 0%, 78% { transform: none; } 84% { transform: scale(1.04); } 92%, 100% { transform: none; } }
@media (max-width: 980px) { .lp-route { grid-template-columns: minmax(0,1fr); gap: 24px; } }
@media (max-width: 600px) {
 .lp-route { padding: 24px 18px; border-radius: 22px; }
 .lp-route-flow { grid-template-columns: minmax(0,1fr); }
 .lp-route-node.is-mac, .lp-route-wire.is-direct { grid-column: auto; }
 .lp-route-wire { justify-self: center; width: 2px; height: 28px; margin: 10px 0; background: repeating-linear-gradient(180deg, rgba(138,116,189,.5) 0 6px, transparent 6px 10px); }
 .lp-route-wire.is-direct { height: 52px; }
 .lp-route-wire.is-direct span { left: 50%; top: 50%; transform: translate(-50%, -50%); }
 .lp-routes.is-playing .lp-route-wire b { animation: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .lp-routes * { animation: none !important; } }

/* A chip on a figure: an interval, a sender, a page. */
.lp-fetch-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lp-fetch-chip img { opacity: .75; }

/* Four feature categories stay visible on small phones without widening the page. */
@media (max-width:420px) {
 .explore-index { gap:12px; }
 .explore-index a { font-size:12px; }
}

/* Pacing records are disclosures, independent of links in individual lines. */
.app-pace-disclosure > summary { list-style:none; cursor:pointer; }
.app-pace-disclosure > summary::-webkit-details-marker { display:none; }
.app-pace-disclosure[open] > summary .app-pace-chevron { transform:rotate(90deg); }
.app-pace-details { padding:.5em 0 0 .85em; font-size:.8em; }
.app-pace-detail { display:flex; align-items:baseline; gap:.6em; padding:.2em 0; color:inherit; text-decoration:none; }
.app-pace-detail > span { min-width:0; overflow-wrap:anywhere; }
.app-pace-detail > small { margin-left:auto; text-align:right; color:var(--text-2); font-size:1em; font-variant-numeric:tabular-nums; }
.app-pace-more > summary { cursor:pointer; color:var(--text-2); padding:.3em 0; }
.app-pace-detail:focus-visible, .app-pace-disclosure summary:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

/* A picture in the docs. */
.docs-figure { margin: 1.5em 0 1.7em; }
.docs-figure img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 .5px var(--line); }
/* A drawing of the panel that brings its own edge and shadow (a film's still): no frame of its own, at its own size. */
.docs-figure img.is-drawing { width: auto; max-width: 100%; margin: 0 auto; border-radius: 0; box-shadow: none; }

.docs-figure figcaption { margin-top: .7em; font-size: .9em; color: var(--text-2); }

/* Rows with more (PacingCardView rows): a grey subtitle and state on the title line, a detail line with the
   figure at its end, a thumbnail as tall as the row's words; and the shelf (ShelfCardBody). The subtitle is cut
   first, then the label; the state and figure keep their width. Thumbnails keep their own colours (media). */
.app-pace-sub { color:var(--text-2); min-width:0; overflow:hidden; text-overflow:ellipsis; }
.app-pace-state { color:var(--text-2); white-space:nowrap; flex:none; }
.app-pace-right { display:flex; gap:.8em; flex:none; }
.app-pace-right > span:last-child { color:var(--text-2); font-variant-numeric:tabular-nums; white-space:nowrap; }
.app-pace-right > span:last-child em { font-style:normal; color:var(--text); }
.app-pace-row-detail { display:flex; justify-content:space-between; gap:.8em; margin-top:.3em; font-size:.75em; color:var(--text-2); }
.app-pace-row-detail > span:first-child { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-pace-row-detail > span:last-child { white-space:nowrap; font-variant-numeric:tabular-nums; flex:none; }
.app-pace-row-detail em { font-style:normal; }
.app-pace-link { display:block; color:inherit; text-decoration:none; }
.app-pace-row { display:grid; grid-template-columns:minmax(0,1fr); gap:.6em; align-items:center; }
.app-pace-row.has-thumb { --thumb-h:2.1em; --thumb-col:calc(var(--thumb-h) * 2 / 3); grid-template-columns:var(--thumb-col) minmax(0,1fr); }
.app-pace-rows.has-detail .app-pace-row.has-thumb { --thumb-h:3.3em; }
.app-pace-row.has-thumb.is-square { --thumb-col:var(--thumb-h); }
.app-pace-row.has-thumb.is-wide { --thumb-col:calc(var(--thumb-h) * 16 / 9); }
.app-pace-row-body { min-width:0; }
.app-pace-row > .app-thumb { height:var(--thumb-h); justify-self:start; }
.app-thumb { display:inline-flex; align-items:center; justify-content:center; flex:none; overflow:hidden; border-radius:4px; background:var(--app-hover); aspect-ratio:2/3; }
.app-thumb.is-square { aspect-ratio:1; }
.app-thumb.is-wide { aspect-ratio:16/9; }
.app-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.app-thumb .app-item-icon { margin:0; }
.app-list :is(ul, ol).has-thumbs li { align-items:center; }
/* With a subtitle the thumbnail stays by the first line, as the Mac draws it. */
.app-list :is(ul, ol).has-thumbs li:has(> .app-list-lines) { align-items:flex-start; }
.app-list .has-thumbs .app-thumb { height:1.25em; }
.app-row-trail { display:inline-flex; gap:.35em; align-items:center; justify-self:end; margin-left:auto; }
/* Over the row's detail (row_actions_place: detail), on the one row a fixture marks lit: drawn over the row's end, the row laid out as it is without them. */
.app-list li:has(> .app-row-trail.is-over-detail) { position:relative; }
.app-list li:has(> .app-row-trail.is-over-detail) > :is(.app-list-detail, .app-list-go) { opacity:0; }
.app-row-trail.is-over-detail { position:absolute; right:0; top:calc(.15em + .5lh); transform:translateY(-50%); margin:0; gap:.15em; padding:.05em .25em; border-radius:999px; background:var(--app-page, #fff); box-shadow:inset 0 0 0 .5px var(--app-separator), 0 .5px 1.5px rgb(20 30 60 / .08); }
/* As Mail's hover actions: a "|" between two groups of row buttons is a thin upright line. */
.app-row-divider { display:inline-block; width:1px; height:.95em; margin:0 .2em; background:var(--app-separator); align-self:center; }
/* Row buttons at the end of a pacing row's title line, at the size they have on a list row (the line is .85em),
   so the bar and the detail line run the row's width. The line keeps its height: the icons overhang it evenly. */
.app-pace-end { display:flex; align-items:center; gap:.8em; flex:none; }
.app-pace-end > .app-row-trail { font-size:calc(1em / .85); margin:-.3em 0; }
.app-pace-end > .app-pace-state { color:var(--text-2); }
.app-pace-end > span:not(.app-pace-state, .app-row-trail) { color:var(--text-2); font-variant-numeric:tabular-nums; white-space:nowrap; }
.app-pace-end > span em { font-style:normal; color:var(--text); }
/* A list row with buttons and a grey line: the words, detail and buttons on the first line, the grey line under all of them. */
.app-list-first { display:flex; align-items:baseline; gap:1em; min-width:0; }
.app-list-first > .app-list-text { flex:1; min-width:0; }
.app-list-first > .app-list-detail { text-align:right; color:var(--text-2); white-space:nowrap; }
.app-list-first > .app-row-trail { margin-left:0; }
/* Centred on the row's first line and never making it taller: the Mac draws them over the line's end. */
:is(.app-list li, .app-list-first) > .app-row-trail:not(.is-over-detail) { align-self:center; margin-block:-.3em; }
.app-shelf { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:.75em .5em; margin-top:.5em; align-items:start; }
/* A linked tile keeps the card's text colour, as the app draws it: .app-list a would turn it the link colour. */
.app-shelf-tile, .app-list a.app-shelf-tile { display:flex; flex-direction:column; gap:.15em; min-width:0; color:inherit; text-decoration:none; }
.app-shelf-tile .app-thumb { width:100%; border-radius:6px; margin-bottom:.25em; }
.app-shelf-text { font-size:.85em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-shelf-detail { font-size:.75em; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* List chips share the panel's quiet fills and wrap within the card. */
.app-chips { display:flex; flex-wrap:wrap; gap:6px; }
.app-card-label + .app-chips { margin-top:6px; }
.app-chip { display:inline-flex; align-items:center; gap:4px; min-width:0; max-width:100%; box-sizing:border-box; padding:4px 8px; border-radius:999px; background:color-mix(in srgb, var(--text-2) 12%, transparent); color:var(--text); font-size:.85em; text-decoration:none; }
.app-chip .app-item-icon { margin:0; flex:none; width:12px; height:12px; }
.app-chip-text { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.app-chip:is(a, [role="link"]):is(:hover, :focus-visible) { background:color-mix(in srgb, var(--text-2) 20%, transparent); }

/* Docs: the row of tabs under the bar picks a part of the docs, and the sidebar lists that part's pages
   in groups. The tabs start where the sidebar's words start. */
.docs-tabs { justify-content:flex-start; gap:30px; padding-inline:max(32px,calc((100% - 1600px) / 2 + 32px)); overflow-x:auto; scrollbar-width:none; }
.docs-tabs::-webkit-scrollbar { display:none; }
.docs-tabs a[aria-current]:not([aria-current="false"]) { border-bottom-color:var(--accent); font-weight:600; }
.docs.reference-columns { grid-template-columns:272px minmax(0,1fr); }
.docs-sidebar { padding:32px 20px 48px; }
.docs-sidebar .reference-nav-section + .reference-nav-section { margin-top:30px; }
.docs-sidebar .reference-nav-section h2 { margin:0 0 8px; font-size:13px; font-weight:600; letter-spacing:0; color:var(--text); }
.docs-sidebar .reference-nav-section a { margin:2px 0; padding:7px 12px; min-height:0; border-radius:8px; font-size:14px; line-height:1.45; }
.docs-menu-toggle { display:none; }
.docs-card-example { margin:20px 0 26px; padding:28px; border-radius:14px; background:var(--bg); display:flex; justify-content:center; }
.docs-card-example .docs-preview { width:min(100%,400px); padding:.7em; box-shadow:0 10px 30px -12px #11132b33,inset 0 1px 0 #ffffff25; }
/* A figure in steps: the page file on the left, what Legato makes of it on the right. */
.docs-steps { padding:22px 24px 18px; border-radius:14px; background:var(--bg); }
.docs-main .prose .docs-steps ol { list-style:none; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:18px; margin:0; padding:0; max-width:none; counter-reset:step; }
.docs-main .prose .docs-steps li { margin:0; min-width:0; counter-increment:step; }
.docs-main .prose .docs-steps.is-wide-first ol { grid-auto-flow:row; grid-template-columns:minmax(0,1.75fr) minmax(0,1fr); }
.docs-steps-title { display:flex; align-items:center; gap:8px; margin:0 0 10px!important; font-size:12.5px; font-weight:600; line-height:1.3; }
.docs-steps-title::before { content:counter(step); flex:none; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--accent-soft); color:var(--accent-text); font-size:11px; }
.docs-steps-code { margin:0; padding:12px 13px; border-radius:10px; border:1px solid var(--line); background:var(--surface); font:11.5px/1.6 var(--mono); white-space:pre; overflow-x:auto; color:var(--text-2); }
.docs-steps-file { margin:12px 0 6px!important; font:11.5px/1.4 var(--mono); color:var(--text-3); }
.docs-steps-title + .docs-steps-file { margin-top:0!important; }
.docs-steps-code mark { background:var(--accent-soft); color:var(--accent-text); border-radius:4px; padding:1px 3px; font-weight:600; }
.docs-steps .docs-preview { padding:.6em; box-shadow:0 10px 30px -14px #11132b33,inset 0 1px 0 #ffffff25; }
.docs-steps .docs-preview-grid { grid-template-columns:1fr; }
.docs-steps figcaption,.docs-figure figcaption { margin-top:14px; font-size:13px; line-height:1.55; color:var(--text-2); }
/* Links to other pages, each with a line about it. */
.docs-main .prose .docs-links { list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0 8px; padding:0; max-width:none; }
.docs-main .prose .docs-links li { margin:0; position:relative; padding:15px 17px 14px; border:1px solid var(--line); border-radius:11px; font-size:13px; line-height:1.55; color:var(--text-2); transition:border-color .15s; }
.docs-links li:hover { border-color:var(--accent); }
.docs-links a { display:block; margin-bottom:3px; color:var(--text); font-size:14.5px; font-weight:600; }
.docs-links a::after { content:''; position:absolute; inset:0; border-radius:11px; }
.docs-links a:hover { text-decoration:none; }
.docs-links span { display:block; }
@media(max-width:900px) {
 .docs-main .prose .docs-steps ol,.docs-main .prose .docs-steps.is-wide-first ol { grid-auto-flow:row; grid-template-columns:minmax(0,1fr); }
 .docs-main .prose .docs-links { grid-template-columns:1fr; }
}
.docs-kicker { margin:0 0 10px; font-size:13px; font-weight:600; color:var(--accent-text); }
.docs-title { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.docs-copy { flex:none; margin-top:6px; padding:7px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--text-2); font:500 12px/1.4 var(--font); cursor:pointer; }
.docs-copy:hover { color:var(--text); border-color:var(--accent); }
@media(max-width:1100px) { .docs.reference-columns { grid-template-columns:232px minmax(0,1fr); } }
@media(max-width:800px) {
 /* On a phone the tabs scroll sideways and leave with the page; the button under them stays, says where
    you are and opens the current tab's pages. */
 .docs-tabs { position:static; gap:24px; padding-inline:20px; }
 .docs.reference-columns { display:block; }
 .js .docs-menu-toggle:not([hidden]) { position:sticky; top:var(--reference-top); z-index:19; display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:0 20px; border:0; border-bottom:1px solid var(--line); background:var(--surface); color:var(--text); font:500 13px/1.4 var(--font); text-align:left; cursor:pointer; }
 .docs-menu-icon { flex:none; width:16px; height:10px; border-block:1.5px solid currentColor; }
 .docs-menu-tab { color:var(--text-2); }
 .docs-menu-tab::after { content:'›'; margin-left:10px; color:var(--text-3); }
 .docs-menu-page { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-weight:600; }
 .docs-sidebar { position:static; height:auto; padding:20px 12px 24px; border-right:0; border-bottom:1px solid var(--line); }
 .js .docs-sidebar { display:none; }
 .js .docs-sidebar.is-open { display:block; position:sticky; top:calc(var(--reference-top) + 48px); z-index:18; max-height:calc(100dvh - var(--reference-top) - 48px); overflow-y:auto; background:var(--surface); }
 .docs-copy { display:none; }
}

/* Services: the directory and each service's page sit in the docs frame, with the categories in the sidebar.
   The picture of the page stands on the plain page beside the service's name. */
.reference-nav-section a:has(.reference-count) { display:flex; justify-content:space-between; gap:12px; }
.reference-count { color:var(--text-3); font-size:12px; font-weight:400; }
.docs-main.services-index { max-width:980px; }
.services-index .docs-lead + .docs-lead { margin-top:8px; }
.services-search { margin:22px 0 0; }
.services-search input { width:min(100%,420px); padding:10px 14px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--text); font:400 14px/1.4 var(--font); }
.services-search input:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.services-group { margin-top:36px; scroll-margin-top:calc(var(--reference-top) + var(--reference-tabs) + 24px); }
.services-group h2 { margin:0 0 8px; font-size:19px; font-weight:600; letter-spacing:-.015em; }
.services-list { list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:36px; margin:0; padding:0; }
.services-list a { display:grid; grid-template-columns:18px minmax(0,1fr); align-content:start; gap:2px 14px; height:100%; padding:14px 0; border-top:1px solid var(--line); color:var(--text); }
.services-list a:hover { text-decoration:none; }
.services-list a:hover strong { color:var(--accent-text); }
.services-icon { grid-row:1 / span 2; width:18px; height:18px; margin-top:3px; background:var(--text-2); -webkit-mask:var(--symbol) center / contain no-repeat; mask:var(--symbol) center / contain no-repeat; }
.services-list strong { font-size:15px; font-weight:600; line-height:1.5; }
.services-list a > span:last-child { grid-column:2; font-size:13.5px; line-height:1.5; color:var(--text-2); }
.services-none { margin:32px 0 0; color:var(--text-2); }
@media(max-width:900px) { .services-list { grid-template-columns:minmax(0,1fr); } }

.docs-main.service-page { max-width:1080px; container-type:inline-size; }
.service-hero.works-hero { grid-template-columns:minmax(0,1fr); gap:28px; margin:0 0 30px; }
.service-hero .works-hero-copy { align-self:start; }
.service-hero .docs-kicker a { color:inherit; }
.service-hero .works-hero-actions { margin:22px 0 0; font-size:14px; }
/* More templates on one guide (Notion's database pages): a plain line of links under the button, no pills. */
.works-hero-more { flex-basis:100%; color:var(--text-2); }
.service-hero.works-hero .works-preview.is-scene .service-scene { width:min(100%,600px); margin-inline:0; }
/* The page's sections as a tab row, after the docs and Features sub-navigation (owner, 15 Nov 2026; outlined
   pills were against the no-pills rule): grey text on a hairline, the section in view in the text colour
   and underlined (site.js marks it, as it does the docs' contents). It never wraps: on a narrow phone
   the row scrolls sideways inside itself, never the page. */
.service-jump { display:flex; gap:32px; margin:0 0 32px; box-shadow:inset 0 -1px var(--line); overflow-x:auto; scrollbar-width:none; }
.service-jump::-webkit-scrollbar { display:none; }
.service-jump a { flex:none; padding:0 2px 12px; border-bottom:2px solid transparent; font-size:14px; font-weight:500; color:var(--text-2); white-space:nowrap; }
.service-jump a:hover { text-decoration:none; color:var(--text); }
.service-jump a[aria-current] { color:var(--text); border-bottom-color:var(--text); }
@media (max-width:760px) { .service-jump { gap:24px; padding-right:28px; -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); } .service-jump a { font-size:13px; } }
.service-page .prose h2 { margin-top:52px; }
.service-count { margin-left:4px; padding:1px 8px; border-radius:999px; background:var(--bg); color:var(--text-2); font:500 12px/1.6 var(--font); letter-spacing:0; }
/* What you'll see, when a service has several pages: a card for each page. */
.service-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); align-items:start; gap:16px; margin:20px 0; }
/* Four pages sit two and two, never three and one. */
.service-cards:has(> :nth-child(4):last-child) { grid-template-columns:repeat(auto-fit,minmax(min(100%,max(340px,34%)),1fr)); }
.service-card,.service-panel,.service-question { min-width:0; border:1px solid var(--line); border-radius:14px; }
.service-card { padding:20px 22px 16px; }
.docs-main .prose :is(.service-card,.service-panel,.service-question) h3 { margin:0 0 8px; font-size:15.5px; line-height:1.4; }
.docs-main .prose :is(.service-card,.service-question) :is(p,ul,ol) { max-width:none; font-size:14px; line-height:1.65; }
.docs-main .prose :is(.service-card,.service-panel,.service-question) > :last-child { margin-bottom:0; }
/* A line that leads into a list is quieter than the list; a page said in one sentence is the card's words. */
.service-card > p { margin:0 0 8px; }
.service-card > p:not(:last-child) { color:var(--text-2); }
.service-card > ul { margin:0; }
/* How it connects: each request on its own row, so a long address wraps and nothing scrolls sideways. */
.service-requests { margin:24px 0; }
.docs-main .prose .service-requests h3 { margin:0 0 10px; font-size:15px; }
.docs-main .prose .service-request-list { list-style:none; max-width:none; margin:0; padding:0; border:1px solid var(--line); border-radius:12px; }
.docs-main .prose .service-request { display:grid; grid-template-columns:52px minmax(0,1fr) minmax(0,170px); gap:3px 14px; align-items:start; margin:0; padding:12px 16px; font-size:13.5px; line-height:1.55; }
.service-request + .service-request { border-top:1px solid var(--line); }
.service-method { grid-row:1 / span 2; justify-self:start; padding:0 7px; border-radius:6px; background:var(--bg); color:var(--text-2); font:600 10.5px/22px var(--mono); }
.service-method:not([data-method="GET"]) { background:var(--accent-soft); color:var(--accent-text); }
.docs-main .prose .service-request > code,.service-request-plain { grid-column:2; padding:0; border:0; background:none; font-size:12.5px; line-height:22px; color:var(--text); overflow-wrap:anywhere; }
.docs-main .prose .service-request p { max-width:none; margin:0; }
.docs-main .prose .service-request-what { grid-column:2; color:var(--text-2); }
.docs-main .prose .service-request-when { grid-column:3; grid-row:1 / span 2; display:grid; gap:1px; font-size:12.5px; line-height:22px; color:var(--text-2); }
.docs-main .prose .service-request-when strong { font-weight:600; color:var(--text); }
.service-more,.service-json { margin:14px 0 0; border:1px solid var(--line); border-radius:12px; }
:is(.service-more,.service-json) > summary { display:flex; align-items:center; gap:6px; padding:11px 16px; cursor:pointer; list-style:none; font-size:14px; font-weight:600; }
:is(.service-more,.service-json) > summary::-webkit-details-marker { display:none; }
:is(.service-more,.service-json) > summary::before { content:''; flex:none; width:6px; height:6px; margin:0 6px 0 1px; border-right:1.5px solid var(--text-3); border-bottom:1.5px solid var(--text-3); transform:rotate(-45deg); transition:transform .15s; }
:is(.service-more,.service-json)[open] > summary::before { transform:rotate(45deg); }
.docs-main .prose .service-more .service-request-list { border-width:1px 0 0; border-radius:0; }
.service-json .code { margin:0; border-radius:0 0 11px 11px; }
.service-json .code pre { max-height:440px; overflow:auto; }
/* Set it up: the steps, with the prompt and the downloads beside them where there's room. */
.service-setup { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; margin-top:16px; }
.service-steps > :first-child { margin-top:0; }
.service-side { display:grid; gap:16px; min-width:0; }
.service-panel { padding:18px 20px; }
.service-panel .code pre { max-height:280px; overflow:auto; }
.service-download { display:inline-flex; padding:8px 14px; border:1px solid var(--line); border-radius:8px; font-size:13.5px; font-weight:500; color:var(--text); }
.service-download:hover { text-decoration:none; border-color:var(--accent); }
.service-questions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)); gap:16px; margin-top:16px; }
.service-question { padding:18px 20px; }
.docs-main .prose .service-question :is(p,li) { color:var(--text-2); }
/* How the pages were checked, and whose marks the names are: a note at the foot. */
.service-note { margin:52px 0 0; padding-top:20px; border-top:1px solid var(--line); }
.docs-main .prose .service-note p { max-width:84ch; margin:0 0 8px; font-size:13px; line-height:1.6; color:var(--text-3); }
@container (min-width:840px) {
 .service-hero.works-hero { grid-template-columns:minmax(0,1fr) minmax(0,min(500px,47%)); gap:44px; }
 .service-hero.works-hero .works-preview.is-scene .service-scene { width:100%; }
 /* Beside the app, the copy sits at the app's middle. A tall app (Portainer's) is cut a screen tall and
    fades at its foot, so the Install button and the section links stay in the first screen. */
 .service-hero .works-hero-copy { align-self:center; }
 .service-hero > .works-preview { max-height:min(620px, calc(100dvh - 150px)); overflow:hidden; }
 .service-hero > .works-preview[data-cut] { -webkit-mask-image:linear-gradient(#000 calc(100% - 130px), transparent); mask-image:linear-gradient(#000 calc(100% - 130px), transparent); }
 .service-setup { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:36px; align-items:start; }
}
@container (max-width:620px) {
 .docs-main .prose .service-request { grid-template-columns:52px minmax(0,1fr); }
 .docs-main .prose .service-request-when { grid-column:2; grid-row:auto; display:block; }
 .docs-main .prose .service-request-when strong::after { content:' · '; font-weight:400; color:var(--text-3); }
}

/* Services have no row of tabs (Services is in the top bar): nothing to clear under the bar. */
body.reference-page.page-works { --reference-tabs:0px; }

/* Phones: one alignment. The quote, Listen, the skill line and the pricing fine print sit on the gutter with
   everything else instead of centring between left-aligned sections. Prose stays under 65 characters a line. */
.lp .faq p { max-width: 65ch; }
.lp .faq summary { font-size: 17px; }
@media (max-width: 760px) {
 .lp-hero { gap: 32px; }
 .lp-lead { margin-bottom: 24px; }
 .lp-quote, .lp-listen, .lp-listen p, .lp-plans-fine { text-align: left; }
 .lp-quote, .lp-listen { padding-left: 0; padding-right: 0; }
 .lp-listen-links { justify-content: flex-start; }
 /* The footer is a card like the others: on the 20 px gutter, its text 22 px in, 64 px below the last section. */
 .footer { margin: 64px 20px 20px; }
 .footer-inner, .reference-page .footer-inner { padding-left: 22px; padding-right: 22px; }
}

/* The landing's secondary text and links sit on lavender, where #5c5c68 drops to about 4.1:1 and the link blue to 4.35.
   Deeper ones there (#52525e: 4.75:1 on the darkest lavender behind text; #004cbd) in light mode only. Set on the
   landing's own text blocks, never on the app previews, which keep the app's colours. */
:root .lp :is(.lp-hero-copy, .lp-lead, .lp-model-lede, .lp-model-ways, .lp-cell-copy, .lp-types, .lp-shortcuts, .lp-quote, .lp-listen, .lp-plans, .lp-plans-fine, .lp-faq, .lp-close) { --text-2: #52525e; --accent-text: #004cbd; }

/* Two spots the sweep found: the fine print's link on lavender (light), and the Lifetime card's grey over the
   pricing glow (dark), where the card is half see-through. */
:root .lp-plans-fine a { color: #004cbd; }

/* ---- Landing: feature rows, their edge shapes and Lilac (13 Nov 2026) ---- */
/* Feature rows: one idea each, its picture layered fragments of the real panel; then "Also in Legato". */
.lp-row-pic.lp-bento, .lp-more-cards.lp-bento { display: block; padding: 0; margin: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
.lp-rows { display: grid; gap: 96px; }
.lp-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.lp-row.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-row.is-flip .lp-row-copy { order: 2; }
.lp-row-copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
.lp-row-copy p { margin: 0; max-width: 30em; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--text-2); }
.lp-row-copy .lp-row-links { margin-top: 16px; display: flex; gap: 20px; font-size: 17px; font-weight: 500; }
/* The picture: the real cells, without their own surface, so only the app's glass shows. */
.lp-row-pic { position: relative; min-height: 360px; }
.lp-row-pic .lp-cell, .lp-more-cards .lp-cell { background: none !important; box-shadow: none !important; border-radius: 0; overflow: visible; }
.lp-row-pic .lp-cell-copy { display: none; }
.lp-row-pic .lp-cell-art { margin: 0; -webkit-mask-image: none !important; mask-image: none !important; overflow: visible; }
.lp-row-pic .lp-cell.is-first { position: relative; width: 82%; height: 360px; }
.lp-row-pic .lp-cell.is-second { position: absolute; right: 0; bottom: -36px; width: 52%; height: 300px; z-index: 2; }
.lp-row.is-flip .lp-row-pic .lp-cell.is-first { margin-left: auto; }
.lp-row.is-flip .lp-row-pic .lp-cell.is-second { right: auto; left: 0; }
.lp-row-pic .lp-cell .app-preview { box-shadow: 0 30px 60px -30px rgb(20 20 30 / .35), 0 0 0 .5px rgb(20 20 30 / .12) !important; }
.lp-row-pic[data-pic="discuss"] .lp-cell.is-first { width: 100%; height: 440px; }
.lp-row-pic[data-pic="buttons spotlight"] .lp-cell.is-first { height: 200px; margin-top: 40px; }
.lp-row-pic[data-pic="buttons spotlight"] .lp-cell.is-second { bottom: 0; height: 260px; }
.lp-row-pic[data-pic="activity notifications"] .lp-cell.is-second { top: -24px; bottom: auto; height: 220px; }

/* And so much more: a list with an icon, a lead-in and a line each, beside picture cards. */
.lp-more-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.lp-more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.lp-more-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.lp-more-list i { width: 22px; height: 22px; margin-top: 3px; background: var(--text-2); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.lp-more-list p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.lp-more-list b { color: var(--text); font-weight: 600; }
.lp-more-cards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-more-cards .lp-cell { height: auto !important; min-height: 0; padding-bottom: 8px; border-radius: 20px !important; background: rgb(255 255 255 / .55) !important; -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 24px 48px -32px rgb(20 20 30 / .2) !important; overflow: hidden; }
.lp-more-cards .lp-cell[data-cell="keys"] { grid-column: 1 / -1; }
.lp-more-cards .lp-cell[data-cell="shortcuts"] .lp-cell-art { min-height: 260px; }

.page-landing .lp-row-copy h2 { font-weight: 600; }

/* Phones: the friendlier picture, the first fragment only, the copy above it, everything on the 20 px gutter. */
@media (max-width: 760px) {
  .lp-rows { gap: 64px; }
  .lp-row, .lp-row.is-flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lp-row.is-flip .lp-row-copy { order: 0; }
  .lp-row-pic { min-height: 0; }
  .lp-row-pic .lp-cell.is-second { display: none; }
  .lp-row-pic .lp-cell.is-first { width: 100%; height: 300px; margin: 0; }
  .lp-row-pic[data-pic="discuss"] .lp-cell.is-first { height: 420px; }
  .lp-row-pic[data-pic="buttons spotlight"] .lp-cell.is-first { height: 140px; margin-top: 0; }
  .lp-more-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-more-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Each fragment is a bounded window: the preview stops at its picture's height (the cards reel scrolls inside it,
   as it did in its cell), so nothing spills into the next row. */
.lp-row-pic .lp-cell { display: flex; flex-direction: column; }
.lp-row-pic .lp-cell-art { position: relative; flex: 1; min-height: 0; }
.lp-row-pic .lp-cell-art > .app-preview, .lp-row-pic .lp-cell-art > .app-scene, .lp-row-pic .lp-cell-art > div { max-height: 100%; }
.lp-row-pic .lp-cell-art > .app-preview { overflow: hidden; }
.lp-row-pic .lp-suite-cards { left: 0 !important; right: 0 !important; bottom: 0; }
.lp-row-pic .lp-cell .app-scene { left: 0 !important; right: 0 !important; }
/* Overlapping fragments read better as near-solid glass: less of the one behind shows through. */
.lp-row-pic { --scene-fill: rgb(246 246 249 / .94); --scene-sidebar: rgb(236 237 244 / .9); --scene-card: #fff; }

.lp-row-pic[data-pic="buttons spotlight"] .lp-cell.is-first { margin-top: 0; }
.lp-row-pic[data-pic="buttons spotlight"] .lp-cell.is-second { bottom: -70px; }
/* The picture cards show their whole content, and sit above the next section's ribbons. */
.lp-more { position: relative; z-index: 1; }
.lp-more-cards .lp-cell { display: flex; flex-direction: column; }
.lp-more-cards .lp-cell-art { flex: none; overflow: visible; -webkit-mask-image: none !important; mask-image: none !important; }
.lp-more-cards .lp-cell[data-cell="shortcuts"] .lp-cell-art { min-height: 0; padding: 0 22px 16px; }
.lp-more-cards .lp-cell[data-cell="shortcuts"] .lp-mac-sc, .lp-more-cards .lp-cell[data-cell="shortcuts"] .lp-cell-art > * { position: static; }
/* The borrowed .lp-mac class brings the old bento's fixed rows and areas; the list cards size to their content. */
.lp-more-cards.lp-bento.lp-mac { grid-template-rows: none !important; grid-template-areas: none !important; grid-auto-rows: auto; }
.lp-more-cards .lp-cell { grid-area: auto !important; }
.lp-more-cards .lp-cell[data-cell="keys"] { grid-column: 1 / -1 !important; }
/* The old sheet's fill must not come back behind the pictures. */
.lp-row-pic.lp-bento, .lp-more-cards.lp-bento { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* The new copy sits on lavender like the rest of the landing: the same deeper grey and link blue in light mode. */
:root .lp :is(.lp-rows, .lp-more) { --text-2: #52525e; --accent-text: #004cbd; }

.lp-more-list a b { color: var(--accent-text); }

/* Each row's colour comes in from the page edge on its picture's side, in a different shape per row
   (a blob, a wide rounded form, a circle, a wave), instead of one oval floating behind every picture. */
.page-landing .lp-row-pic::before { display: none; }
.page-landing .lp-row { position: relative; isolation: isolate; }
.page-landing .lp-row::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: -72px; bottom: -72px; width: min(60vw, 900px);
  background: var(--row-tint);
  -webkit-mask: var(--shape) center / 100% 100% no-repeat; mask: var(--shape) center / 100% 100% no-repeat;
}
/* The row is centred in the page, so 50% - 50vw is the page edge on either side. */
.page-landing .lp-row:not(.is-flip)::before { right: calc(50% - 50vw); }
.page-landing .lp-row.is-flip::before { left: calc(50% - 50vw); }
/* 1: a soft blob in from the right. */
.page-landing .lp-row[data-row="cards"] { --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 6C72 -2 44 4 28 20C10 38 2 62 14 80C28 100 62 102 100 94Z'/%3E%3C/svg%3E"); }
/* 2: a wide rounded form in from the left, lower and flatter. */
.page-landing .lp-row[data-row="act"]::before { top: -20px; bottom: -110px; width: min(66vw, 980px); }
.page-landing .lp-row[data-row="act"] { --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 22C26 8 58 6 80 20C98 32 102 58 88 76C72 96 36 100 0 92Z'/%3E%3C/svg%3E"); }
/* 3: a large circle running off the right edge; never wider than the room it has (70vw), so its left side stays round at any width. */
.page-landing .lp-row[data-row="changes"]::before { top: -110px; bottom: -110px; width: min(52vw, 760px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/svg%3E") right -18vw center / auto min(100%, 70vw) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/svg%3E") right -18vw center / auto min(100%, 70vw) no-repeat; }
/* 4: a wave-topped form in from the left. */
.page-landing .lp-row[data-row="ask"]::before { top: -40px; bottom: -90px; }
.page-landing .lp-row[data-row="ask"] { --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 20C16 6 34 26 54 16C74 6 88 18 96 30C102 56 94 82 72 92C46 104 20 98 0 90Z'/%3E%3C/svg%3E"); }

/* Phones: the shape hangs off the picture itself, 20 px above it (the copy ends 24 px above) and 40 px below,
   so it follows the picture's height and never reaches the copy. It still runs in from the page edge on the same side. */
@media (max-width: 760px) {
  .page-landing .lp-row::before { display: none; }
  .page-landing .lp-row-pic::before, .page-landing .lp-row.is-flip .lp-row-pic::before {
    display: block; content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -20px auto -40px auto; width: 92vw;
    border-radius: 0; background: var(--row-tint);
    -webkit-mask: var(--shape) center / 100% 100% no-repeat; mask: var(--shape) center / 100% 100% no-repeat; }
  .page-landing .lp-row:not(.is-flip) .lp-row-pic::before { right: calc(50% - 50vw); }
  .page-landing .lp-row.is-flip .lp-row-pic::before { left: calc(50% - 50vw); }
  /* The circle keeps its round shape: as tall as the box but never wider than the screen, so its left side stays whole, running off the right edge. */
  .page-landing .lp-row[data-row="changes"] .lp-row-pic::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/svg%3E") right -14vw center / auto min(100%, 100vw) no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/svg%3E") right -14vw center / auto min(100%, 100vw) no-repeat; }
}

/* Lilac: each row's shape in one of the hero's colours (lavender, periwinkle, rose, lilac grey). */
.page-landing .lp-row { --tint-a: .45; }

.page-landing .lp-row[data-row="cards"] { --row-tint: rgb(196 182 246 / var(--tint-a)); }
.page-landing .lp-row[data-row="act"] { --row-tint: rgb(168 190 242 / var(--tint-a)); }
.page-landing .lp-row[data-row="changes"] { --row-tint: rgb(238 188 206 / var(--tint-a)); }
.page-landing .lp-row[data-row="ask"] { --row-tint: rgb(214 203 232 / var(--tint-a)); }
/* Lilac's glows (periwinkle and rose, where other pages have blue and peach). --glow-* resolve on :root, so the
   landing sets them here. */
.page-landing { --glow-1: rgba(150, 160, 255, .5); --glow-3: rgba(240, 180, 200, .5); }

/* The rows have no heading of their own, so their pause button sits above the first row, at the column's right. */
.lp-rows { position: relative; }
.lp-rows > .lp-rows-pause { position: absolute; top: -48px; right: 0; }
/* The narrowest phones (the site's own 360 px step): the top bar's pill sits 6 px inside the frame so it still fits. */
@media (max-width: 360px) { .page-landing .topbar { padding-left: calc(6px + var(--frame-gap)); padding-right: calc(6px + var(--frame-gap)); } }

/* ---- Hero frame: a soft blue with a paper grain (13 Nov 2026) ----
   Flat, no gradient, no shapes, no glow: the panel's glass (a blur of what's behind it) takes the blue on by itself,
   and nothing behind the headline competes with it. The grain is a 256 px tile of noise laid over the blue with
   soft-light, so it reads as paper rather than as a pattern. The rows under the hero go neutral to match. */
.page-landing { --frame-fill: #a8c7f7; --grain: .1; }
.page-landing .lp-frame > .lp-atmosphere { background: url(/hero-grain.png) 0 0 / 128px 128px, var(--frame-fill); background-blend-mode: soft-light; }
.page-landing .lp-frame > .lp-atmosphere > i, .page-landing .lp-frame-glow { display: none; }
.page-landing .lp-row[data-row] { --row-tint: rgb(29 29 31 / .045); }
/* The hero is the headline and the buttons (13 Nov): its sub-headline and the rotating names are gone, so the h1
   keeps the space the sub-headline left before the buttons. */
.lp-hero h1 { margin: 0 0 32px; }

/* ---- Hero after Bear (13 Nov 2026): a centred headline and buttons, then three real cards as overlapping
   fragments, one for each thing the headline names (build.mjs heroFrags). No app panel in the hero. The fragments
   are solid white, as Bear's are, so they sit right on the blue; slightly turned, Today in front. ---- */
.page-landing .lp-hero { display: block; min-height: 0; text-align: center; padding-top: clamp(40px, 5.5vw, 76px); }
.page-landing .lp-hero-copy { max-width: 820px; margin: 0 auto; }
.page-landing .lp-hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; margin: 0 0 30px; }
.page-landing .lp .lp-hero .actions { justify-content: center; }
/* "your" in the headline (owner, 16 Nov, r52 B): each one in Newsreader Italic, a touch larger than the bold
   around it, so the word leads the line. 1.02em on phones keeps the headline at three lines. */
.page-landing .lp-hero h1 .lp-your { font: italic 500 1.1em/1 "Newsreader", "Newsreader Fallback", Georgia, serif; letter-spacing: -.01em; padding-right: .04em; }
@media (max-width: 760px) { .page-landing .lp-hero h1 .lp-your { font-size: 1.02em; } }
.lp-frags { position: relative; max-width: 1080px; margin: 24px auto 0; height: clamp(430px, 36vw, 480px); text-align: start; }
.lp-frags-in { position: absolute; inset: 0; }
.lp-frag { position: absolute; border-radius: 16px; overflow: hidden; padding: 0 12px 12px; font-size: 13px;
  background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0;
  box-shadow: 0 30px 60px -28px rgb(20 30 60 / .38), 0 0 0 .5px rgb(20 30 60 / .12); --card-fill: var(--app-card); --glass: #fff; }
.lp-frag .app-card-grid { gap: 8px; }
.lp-frag-head { display: flex; align-items: center; gap: 8px; padding: 13px 4px 11px; font: 600 14px/1 -apple-system, system-ui, sans-serif; color: var(--text); }
.lp-frag-head img { width: 16px; height: 16px; }
/* The drawings' symbols in pencil (navIcon): their own size, never squeezed. */
.pen-sym { flex: none; width: 16px; height: 16px; }
.pen-sym.pen-row { width: 18px; height: 18px; margin-right: 2px; }
/* A cascade you can shuffle (owner, 17 Nov, 5 from view/r65-hero): three straight windows stepping down from the menu
   bar, back to front; site.js moves them between the three places (data-slot). A click on a card behind brings it
   to the front, a click on the front one sends it to the back; on phones a sideways swipe flips through. They move
   by transform alone. Decorative: hidden from assistive tech, their own controls inert. */
.lp-frags-in { container-type: size; }
.lp-frags .lp-frag { --x: 0cqw; --y: 0cqh; left: 6%; right: auto; top: 8%; width: 36%; transform: translate(var(--x), var(--y)); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .55s cubic-bezier(.3,.7,.2,1), box-shadow .55s ease; will-change: transform; z-index: 1; }
.lp-frags .lp-frag[data-slot="1"], .lp-frags .lp-frag-agents:not([data-slot]) { --x: 26cqw; --y: 7cqh; z-index: 2; }
.lp-frags .lp-frag[data-slot="2"], .lp-frags .lp-frag-day:not([data-slot]) { --x: 52cqw; --y: 14cqh; z-index: 3; box-shadow: 0 34px 64px -28px rgb(20 30 60 / .5), 0 0 0 .5px rgb(20 30 60 / .12); }
.lp-frags .lp-frag[data-slot="0"] { --x: 0cqw; --y: 0cqh; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .lp-frags .lp-frag { transition: none; } }
/* Tap Legato's icon in the hero's menu bar (owner, 17 Nov): the cards are pulled into it one after another, shrinking
   toward the icon, and come back out on the next tap; with them gone a spilled coffee cup is drawn in chalk. site.js
   sets each card's way to the icon (--sx, --sy) and the order. Transform and opacity only. */
.lp-frag-glyph { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s ease; }
.lp-frags.is-in .lp-frag-glyph { background: rgb(29 29 31 / .16); }
.lp-frags .lp-frag { opacity: 1; transition: transform .55s cubic-bezier(.3,.7,.2,1), opacity .4s ease, box-shadow .55s ease; transition-delay: var(--d, 0s); }
.lp-frags.is-in .lp-frag { transform: translate(calc(var(--x) + var(--sx, 0px)), calc(var(--y) + var(--sy, 0px))) scale(.04); opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.55,0,.85,.35), opacity .35s ease .25s; transition-delay: var(--d, 0s), calc(var(--d, 0s) + .25s); }
.lp-frags.is-in .lp-shuffle-hint { opacity: 0; }
.lp-spill { position: absolute; left: 50%; top: 22%; width: min(340px, 78%); transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.lp-spill .lp-chalk { display: block; width: 100%; height: auto; }
.lp-frags.is-in .lp-spill { opacity: 1; transition-delay: .7s; }
@media (prefers-reduced-motion: reduce) { .lp-frags.is-in .lp-frag, .lp-frags .lp-frag { transition-duration: .01s; transition-delay: 0s; } .lp-spill { transition: none; } }
/* The hint (owner, 17 Nov, a from view/r65-hero): "tap to shuffle" in the hand lettering, white, under the back
   card with a curled arrow up at it, on phones too (tapping works there; a swipe also does); it fades for good after
   the first tap or swipe. */
.lp-shuffle-hint { position: absolute; z-index: 4; left: 10%; top: 76%; display: flex; align-items: flex-end; pointer-events: none; rotate: -4deg; transition: opacity .6s ease; }
.lp-shuffle-hint svg { width: 46px; height: 34px; margin-right: 2px; }
.lp-shuffle-word { font: 400 26px/1 "Bradley Hand", Noteworthy, "Segoe Print", cursive; color: #fff; white-space: nowrap; }
.lp-frags.is-shuffled .lp-shuffle-hint { opacity: 0; }
/* The menu bar slice over Today: Legato's icon, Wi-Fi, battery and the clock. */
.lp-frag-bar { position: absolute; z-index: 4; left: auto; right: 8%; top: 1%; transform: none; display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 14px; white-space: nowrap;
  border-radius: 10px; background: rgb(255 255 255 / .85); box-shadow: 0 10px 24px -14px rgb(20 30 60 / .35), 0 0 0 .5px rgb(20 30 60 / .12); font-size: 11.5px; color: var(--text); }
.lp-frag-bar svg { width: 15px; height: 15px; } .lp-frag-bar .lp-frag-battery { width: 22px; height: 11px; }
.lp-frag-glyph { display: grid; place-items: center; padding: 3px 6px; border-radius: 6px; background: rgb(29 29 31 / .08); }
.lp-frag-glyph svg { width: 18px; height: 18px; }
/* Phones: the cascade tightens and the hint says swipe. */
@media (max-width: 760px) {
  /* The buttons and their fine print sit midway between the headline and the menu bar slice, 52 px each side
     (owner, 17 Nov; it was 80 above and 24 below). */
  .page-landing .lp-hero .actions { margin-top: 52px; } .lp-frags { height: 560px; margin-top: -2px; }
  .lp-frags .lp-frag { left: 2.5%; width: 78%; top: 12%; touch-action: pan-y; } /* the stack (78% plus 17% of steps) centred (owner, 17 Nov) */
  .lp-frags .lp-frag[data-slot="1"], .lp-frags .lp-frag-agents:not([data-slot]) { --x: 9cqw; --y: 6cqh; } .lp-frags .lp-frag[data-slot="2"], .lp-frags .lp-frag-day:not([data-slot]) { --x: 17cqw; --y: 12cqh; }
  .lp-frag-bar { left: 50%; right: auto; top: 4%; transform: translateX(-50%); }
  .lp-shuffle-hint svg { width: 38px; height: 28px; } .lp-shuffle-word { font-size: 21px; }
}

/* ---- Get on the bar (14 Nov 2026), after Craft's Organize section. A centred kicker, headline and lede, then three tinted
   tiles, each with its title, one line and an overlapping fragment that runs off the tile's bottom. */
.lp-bar { text-align: center; }
.lp-bar h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.lp-bar-lede { max-width: 620px; margin: 18px auto 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; color: var(--text-2); text-wrap: balance; }
.lp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 56px auto 0; }
.lp-tile { position: relative; overflow: hidden; height: 500px; border-radius: 28px; padding: 40px 28px 0;
  background: url(/hero-grain.png) 0 0 / 128px 128px, var(--tile); background-blend-mode: soft-light; }
.lp-tile-read { --tile: #a8d2f2; } .lp-tile-agent { --tile: #d8d1f3; } .lp-tile h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.015em; font-weight: 700; }
.lp-tile > p { max-width: 280px; margin: 10px auto 0; font-size: 17px; line-height: 1.35; color: var(--text); opacity: .78; text-wrap: balance; }
.lp-tile-art { position: absolute; inset: 210px 0 0; text-align: start; }

/* Fragments: white panels and dark terminals, slightly turned, overlapping, running off the tile's bottom. */
.lp-tfrag { position: absolute; border-radius: 14px; overflow: hidden; padding: 0 10px 10px; font-size: 12.5px; background: #fff; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 24px 50px -24px rgb(20 30 60 / .4), 0 0 0 .5px rgb(20 30 60 / .12); --card-fill: var(--app-card); }
.lp-tfrag .app-card-grid { gap: 8px; }
.lp-tterm { position: absolute; border-radius: 12px; overflow: hidden; background: #1b1b20; color: #e8e8ee; box-shadow: 0 24px 50px -22px rgb(20 20 30 / .5);
  font: 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace; }
.lp-tterm .lp-tterm-head { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: rgb(255 255 255 / .05); color: rgb(255 255 255 / .45); font-size: 11px; }
.lp-tterm .lp-tterm-head i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .18); } .lp-tterm .lp-tterm-head span { margin-left: 6px; }
.lp-tterm pre { margin: 0; padding: 11px 13px 13px; white-space: pre; }
.lp-tterm .p { color: #7fb0ff; } .lp-tterm .m { color: rgb(255 255 255 / .5); } .lp-tterm .ok { color: #5fd38d; }

.lp-tile-read .lp-tf-main { left: 12%; right: 12%; top: 56px; transform: rotate(-2deg); }
.lp-tsource { position: absolute; left: 14%; top: 4px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff;
  box-shadow: 0 16px 34px -18px rgb(20 30 60 / .4), 0 0 0 .5px rgb(20 30 60 / .12); transform: rotate(2.5deg); z-index: 2; font-size: 12.5px; }
.lp-tsource img { width: 18px; height: 18px; } .lp-tsource span { display: grid; gap: 2px; } .lp-tsource code { font: 11.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text-2); }

.lp-tile-agent .lp-tf-back { left: 6%; width: 104%; top: 0; transform: rotate(-2.5deg); }
.lp-tile-agent .lp-tf-front { left: 16%; right: 10%; top: 132px; transform: rotate(2deg); z-index: 2; }
.lp-tile-agent .lp-tile-art { inset: 176px 0 0; } @media (max-width: 1100px) { .lp-tile-agent .lp-tile-art { inset: 156px 0 0; } }
/* The terminal is a Claude Code session (site.js plays it): its newest line sits at the bottom of what shows above
   the Release page, older lines go off the top, as a terminal scrolls. */
.lp-tile-agent .lp-tterm pre { height: 88px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; white-space: normal; padding-bottom: 8px; }
.cc-log { display: flex; flex-direction: column; justify-content: flex-end; }
.cc-l { display: block; white-space: pre-wrap; padding-left: 2ch; text-indent: -2ch; }
.cc-you { color: rgb(255 255 255 / .55); } .cc-res { color: rgb(255 255 255 / .55); } .cc-say { color: #e8e8ee; }
.cc-l > i { font-style: normal; color: #5fd38d; } .cc-say > i { color: #e8e8ee; }
.cc-spin { color: #e3a183; } .cc-spin > i { font-style: normal; display: inline-block; width: 1.4ch; }
.cc-caret { display: inline-block; width: .6em; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: rgb(255 255 255 / .7); animation: cc-blink 1.1s steps(1) infinite; }
@keyframes cc-blink { 50% { opacity: 0; } }
.cc-l.is-new { animation: cc-in .3s ease-out; } @keyframes cc-in { from { opacity: 0; } }


@media (max-width: 1100px) { .lp-tiles { gap: 16px; } .lp-tile { height: 470px; padding: 32px 20px 0; } .lp-tile-art { inset: 200px 0 0; } .lp-tterm { font-size: 11px; } }
@media (max-width: 860px) { .lp-tiles { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } .lp-tile { height: 420px; } .lp-tile-art { inset: 170px 0 0; } }
/* Phones: the Release page comes up into view, with room for the terminal's last lines above it; Legato reads'
   GitHub page comes up the same way, so both tiles are as tall and show their whole page. */
@media (max-width: 860px) { .lp-tile-agent { height: 490px; } .lp-tile-agent .lp-tile-art { inset: 160px 0 0; } .lp-tile-agent .lp-tf-front { top: 148px; left: 10%; right: 8%; }
  .lp-tile-agent .lp-tf-back { left: 4%; width: 100%; } .lp-tile-agent .lp-tterm pre { height: 104px; }
  .lp-tile-read { height: 490px; } .lp-tile-read .lp-tile-art { inset: 118px 0 0; } }
@media (max-width: 360px) { .lp-tile-read .lp-tile-art { inset: 146px 0 0; } }

/* Templates (14 Nov 2026): words on the plain page, the services' marks faint behind them in use-case groups; the
   middle stays clear for the words. Phones swap the field for two bands of marks above and below the words. */
.lp-tpl { position: relative; max-width: 1180px; min-height: 560px; margin: 88px auto 0; display: grid; place-items: center; }
.lp-tpl-field { position: absolute; inset: 0; pointer-events: none; }
.lp-tpl-copy { position: relative; max-width: 620px; padding: 40px 24px; text-align: center; }
.lp-tpl-title { margin: 0; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
.lp-tpl-text { margin: 18px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--text); text-wrap: balance; }
.lp-tpl-count { margin: 18px 0 0; font-size: 15px; color: #3a3a44; }
.lp-tpl-count a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(29 29 31 / .35); }
/* Narrower screens: the words take a narrower column so the groups keep their room around them. */
@media (min-width: 761px) and (max-width: 1100px) { .lp-tpl-title { font-size: clamp(30px, 3.6vw, 40px); } }
@media (max-width: 760px) {
  .lp-tpl { min-height: 0; display: block; margin-top: 64px; }
  .lp-tpl-field { display: none; }
  .lp-tpl-copy { padding: 28px 0; }
}
/* Phones: the section's two short lines stay at two lines or fewer (centred text must be short). */
@media (max-width: 430px) { .lp-bar-lede { font-size: 15px; max-width: none; text-wrap: pretty; } .lp-bar { padding-inline: 0; } }

/* ---- 1Password (14 Nov 2026): the section in a blue panel like the hero's, white cards inside, after Craft's Imagine panel. */
.op-panel { max-width: 1180px; margin: 0 auto; border-radius: 32px; padding: clamp(32px, 5vw, 64px);
  background: url(/hero-grain.png) 0 0 / 128px 128px, #a8d2f2; background-blend-mode: soft-light; }
.op-head { text-align: center; max-width: 680px; margin: 0 auto; }
.op-kicker { margin: 0 0 14px; font: 600 13px/1 -apple-system, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #3a3a44; }
.op-title { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.op-lede { margin: 16px auto 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: #1d1d1f; text-wrap: balance; }
.op-more { margin-top: 22px; }
.op-card { border-radius: 20px; background: #fff; padding: 22px 24px; box-shadow: 0 1px 2px rgb(20 30 60 / .06), 0 18px 40px -26px rgb(20 30 60 / .35); text-align: start; }
.op-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 18px; letter-spacing: -.01em; }
/* The cards' pencil icons (15 Nov, from view/r44), the size of Runs on your Mac's. */
.op-pen { display: block; flex: none; width: 40px; height: 40px; overflow: visible; }
.op-note { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.op-note b { color: var(--text); }
  .op code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; }

/* Concept 1: four cards. */
.op-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.op-token { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--app-card); font-size: 14px; }
.op-token code { color: var(--text-2); letter-spacing: .04em; }
.op-refs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.op-refs li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; background: var(--app-card); font-size: 13.5px; color: var(--text-2); }
.op-refs code { color: var(--text); }
.op-ok { display: inline-flex; align-items: center; gap: 6px; color: #1a7f37; font-weight: 500; }
.op-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fb35a; }
.op-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.op-logos img { width: 30px; height: 30px; opacity: .8; }
.op-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }



@media (max-width: 860px) {
  .op-grid { grid-template-columns: minmax(0, 1fr); }
        .op-panel { border-radius: 24px; }
}
.op { display: block; width: 100%; margin: 96px auto 0; padding: 0; }
.op .op-panel { width: 100%; box-sizing: border-box; }
.op { position: relative; z-index: 2; margin-bottom: 72px; }
@media (max-width: 430px) { .op-token { flex-direction: column; align-items: flex-start; gap: 4px; } .op-refs code { word-break: break-all; } }
/* Phones: the panel sits inside the 20 px gutter as a rounded box, like Get on the bar's tiles (owner, 16 Nov; it ran
   edge to edge before); the grey rows inside the cards drop their own boxes so nothing adds another edge. */
@media (max-width: 760px) {
  .op .op-panel { border-radius: 28px; padding: 40px 20px; }
  .op-card { padding: 20px 22px; border-radius: 16px; }
  .op-token, .op-refs li { padding: 0; background: none; border-radius: 0; }
  .op-refs { gap: 14px; }
}
.op-fine { max-width: 640px; margin: 28px auto 0; font-size: 14px; line-height: 1.45; color: #1d1d1f; text-align: center; text-wrap: balance; }
.op-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* The feature rows have no shapes behind them (owner, 14 Nov: moving away from Bear's edge shapes). */
.page-landing .lp-row::before, .page-landing .lp-row .lp-row-pic::before, .page-landing .lp-row.is-flip .lp-row-pic::before { content: none; display: none; }

/* ---- The landing from 14 Nov 2026 (legato-site-design, "The landing, top to bottom"). ---- */
/* Porcelain, a near-neutral page for the app's cool cards and the sections' tints; Craft's rhythm between sections. */
body.page-landing, .page-landing { --bg: #f7f7f5; }
.page-landing { --gap: clamp(120px, 15vw, 220px); }
.page-landing .lp-section.lp-bar { padding-top: var(--gap); }
.page-landing .lp-tpl { margin-top: clamp(96px, 10vw, 150px); }
.page-landing .op { margin: var(--gap) auto 0; }
.page-landing :is(.kc, .qt, .hs, .mc, .lc, .wl) { position: relative; z-index: 2; max-width: 1180px; margin: var(--gap) auto 0; }
.page-landing .lp-section.lp-pricing { padding-top: var(--gap); }
.page-landing .lp-section.lp-faq { padding-top: clamp(96px, 10vw, 160px); }
/* The quote opens History, so it sits nearer History than the wall. */
.page-landing .qt + .hs { margin-top: calc(var(--gap) * .65); }
.kc-title, .hs-title, .mc-title, .lc-title { margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.kc-title, .mc-title { font-size: clamp(34px, 4.4vw, 56px); }
.hs-title, .lc-title { font-size: clamp(32px, 3.4vw, 46px); }
.kc-lede, .hs-lede, .lc-lede { margin: 16px 0 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.45; color: var(--text-2); }

/* A card for everything: four hand-picked columns of real cards, fading out at the bottom. */
.kc { text-align: center; }
.kc-head { max-width: 680px; margin: 0 auto; position: relative; }
/* A designer's markup round the heading (owner, 17 Nov): a corner under a loupe on the left, the whole card measured
   on the right, in grey pencil; not on phones. */
.kc-spec { position: absolute; top: 50%; translate: 0 -50%; width: 230px; pointer-events: none; }
.kc-spec > svg { display: block; width: 100%; height: auto; overflow: visible; }
.kc-spec.is-l { right: calc(100% + 24px); rotate: -4deg; } .kc-spec.is-r { left: calc(100% + 24px); width: 270px; rotate: 4deg; }
.kc-hand { position: absolute; translate: -50% -50%; font: 400 15px/1 "Bradley Hand", Noteworthy, "Segoe Print", cursive; color: #6b7282; white-space: nowrap; }
.kc-hand.is-name { font-size: 14px; opacity: .85; }
@media (max-width: 1100px) { .kc-spec { width: 150px; } .kc-spec.is-r { width: 176px; } .kc-spec.is-l { right: calc(100% + 6px); } .kc-spec.is-r { left: calc(100% + 6px); } .kc-hand { font-size: 11px; } .kc-hand.is-name { display: none; } }
@media (max-width: 999px) { .kc-spec { display: none; } } /* phones (owner, 17 Nov) and narrow tablets, where they'd run off the edges: the heading stands alone */
.kc-lede { margin-inline: auto; text-wrap: balance; }
.kc-links { margin: 18px 0 0; }
/* All 29 on one plane, turned as a whole, faded on all four sides by the section’s edges (r49 F). The plane is still; site.js updates its values. */
.kc-planebox { position: relative; height: 620px; max-width: 1360px; margin: 48px auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect; }
.kc-plane { --tx: -55%; --ty: 0px; position: absolute; left: 50%; top: 0; width: 1860px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; align-items: start; text-align: start;
  transform-origin: 50% 0; transform: translate(var(--tx), var(--ty)) scale(1, .6157) rotate(-32deg); } /* = rotateX(52deg) rotateZ(-32deg) with no perspective, kept 2D */
.kc-col { display: grid; gap: 28px; min-width: 0; }
.kc-col:nth-child(even) { margin-top: 72px; }
.kc-plane .kc-tile { font-size: 13px; padding: 12px; overflow: hidden; } .kc-plane pre { overflow: hidden; }
@media (max-width: 1100px) { .kc-plane { --tx: -62%; } }
.kc-tile, .hs-card { border-radius: 16px; padding: 10px; background: #fff; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 12.5px; --card-fill: var(--app-card);
  box-shadow: 0 1px 2px rgb(20 30 60 / .06), 0 18px 40px -26px rgb(20 30 60 / .35); }
.kc-tile .app-card-grid, .hs-card .app-card-grid { display: block; }
.kc-tile .app-card, .hs-card .app-card { width: 100%; margin: 0; }

/* The quote: large, left-aligned, in the Mac's own serif, the opening mark hanging into the margin. */
.qt { text-align: start; }
.qt .lp-quote { padding: 0; margin: 0; max-width: 980px; text-align: start; }
.qt .lp-quote::before { content: none; display: none; }
.qt .lp-quote blockquote { font-family: ui-serif, "New York", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.01em; text-indent: -.42em; text-wrap: balance; }
.qt .lp-quote figcaption { margin-top: 18px; font-size: 18px; }
.qt .lp-listen { max-width: none; margin: 10px 0 0; padding: 0; text-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } /* the listen doodle under Karajan's name, the definition under it (owner, 17 Nov) */
.qt .lp-listen p { margin: 0; font-size: 16px; } .lp-listen-br { display: none; }
.qt .lp-listen-links { justify-content: flex-start; }
/* Craft's frosted glass pill (owner, 16 Nov, from their recording): white at 40% over whatever is behind it,
   blurred; a 1 px rim of soft white, a little brighter along the top; a wide, faint shadow tinted by the page.
   Hover is a soft light that follows the pointer (--gx/--gy from site.js), never a flat wash over the whole
   pill. Browse the templates and How it works wear it (See every card and the Download buttons are the black button).
   Hover changes nothing but the light's strength (--glow, a registered number, so it eases without an
   opacity animation): Safari moved the words half a pixel and drew them lighter while the shadow grew and
   the light faded by opacity, so the pill's paint area and its layers stay exactly the same (owner's
   recordings, 16 Nov). */
@property --glow { syntax: "<number>"; inherits: false; initial-value: 0; }
.qt .lp-listen a, a.glass-pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-decoration: none;
  --glow: 0; transition: --glow .35s ease;
  background: radial-gradient(90px 60px at var(--gx, 70%) var(--gy, 70%), rgb(255 255 255 / calc(.38 * var(--glow))), rgb(255 255 255 / 0) 70%),
    linear-gradient(110deg, rgb(255 255 255 / .36), rgb(255 255 255 / .44) 60%, rgb(255 255 255 / .4));
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5), inset 0 1px 0 rgb(255 255 255 / .35), 0 12px 26px -12px rgb(20 40 30 / .28), 0 2px 6px -3px rgb(20 40 30 / .12); }
a.glass-pill:hover, a.glass-pill:focus-visible { --glow: 1; }
/* The Playlist button is black (owner, 16 Nov): the landing's dark button colour, the same pill and pointer light. */
.qt .lp-listen a.lp-listen-link, a.glass-pill.lp-listen-link { color: #fff;
  background: radial-gradient(90px 60px at var(--gx, 70%) var(--gy, 70%), rgb(255 255 255 / calc(.16 * var(--glow))), rgb(255 255 255 / 0) 70%), var(--theme-color-40);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--theme-color-42), 0 5px 15px #100b2018; }
/* The playlist link is a pencil doodle (owner, 17 Nov): a staff, four notes under one slur, "listen ↗" by hand, in place
   of the black Playlist pill; the definition stays beside it as text. The pill's styles are undone here. Hover darkens
   the pencil and draws a line under "listen". */
.qt .lp-listen a.lp-listen-doodle { all: unset; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #6b7282; transition: color .2s ease; border-radius: 10px; }
.qt .lp-listen a.lp-listen-doodle:hover, .qt .lp-listen a.lp-listen-doodle:focus-visible { color: #3f4552; }
.qt .lp-listen a.lp-listen-doodle:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.lp-ld-staff { display: block; width: 200px; height: 122px; overflow: visible; }
.lp-ld-word { position: relative; display: inline-flex; align-items: flex-start; gap: 2px; }
.lp-ld-hand { font: 400 27px/1 "Bradley Hand", Noteworthy, "Segoe Print", cursive; white-space: nowrap; }
.lp-ld-ne { width: 15px; height: 15px; margin-top: 2px; overflow: visible; }
.lp-ld-ul { position: absolute; left: 0; bottom: -10px; width: 100%; height: 8px; overflow: visible; opacity: 0; transition: opacity .2s ease; }
a.lp-listen-doodle:hover .lp-ld-ul, a.lp-listen-doodle:focus-visible .lp-ld-ul { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .qt .lp-listen a.lp-listen-doodle, .lp-ld-ul { transition: none; } }
.lp-tpl-more { margin: 22px 0 0; }

/* History: a lilac panel, words on the left, three cards stacked on the right. */
.hs-panel { display: grid; grid-template-areas: "head board"; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start;
  border-radius: 32px; padding: clamp(36px, 5vw, 64px); background: url(/hero-grain.png) 0 0 / 128px 128px, #a8c7f7; background-blend-mode: soft-light; }
.hs-head { grid-area: head; padding-top: 8px; } .hs-board { grid-area: board; }
.hs-lede { color: #2c2c30; text-wrap: pretty; }
.hs-board { display: grid; gap: 18px; }
.hs-card { border-radius: 18px; padding: 12px; font-size: 15px; }
.hs-card.is-strip { font-size: 17px; }
.hs-card .app-fact-rows dt { white-space: nowrap; }

/* Works with the rest of your Mac: three tinted tiles, fragments rising from the bottom edge. */
.mc { text-align: center; }
.mc-title { margin-bottom: 56px; }
.mc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mc-tile { position: relative; overflow: hidden; height: 500px; border-radius: 28px; padding: 40px 32px 0;
  background: url(/hero-grain.png) 0 0 / 128px 128px, var(--tint); background-blend-mode: soft-light; box-shadow: 0 24px 50px -36px rgb(20 30 60 / .4); }
.mc-tile.is-notifications { --tint: #d8d1f3; } .mc-tile.is-spotlight { --tint: #a8d2f2; } .mc-tile.is-shortcuts { --tint: #c4e7c4; }
.mc-tile h3 { margin: 0; font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -.02em; font-weight: 700; color: #1d1d1f; }
.mc-tile p { margin: 12px auto 0; max-width: 300px; font-size: 18px; line-height: 1.4; color: #2c2c30; text-wrap: balance; }
.mc-art { position: absolute; inset: auto 0 0; height: 270px; text-align: start; }
.mc-frag { position: absolute; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgb(20 30 60 / .08), 0 24px 44px -24px rgb(20 30 60 / .45); }
.mc-note { width: auto; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; font-size: 14px; padding: 14px 16px 15px 12px; --note-button: #eef1f6; }
.mc-spot .lp-spot-field { height: 46px; gap: 12px; padding: 0 16px 0 12px; background: #f2f3f6; box-shadow: none; }
.mc-scope img { display: block; width: 24px; height: 24px; border-radius: 6px; }
.mc-typed { font-size: 18px; color: #1d1d1f; }
.mc-spot-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 10px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, #fff); }
.mc-spot-row.is-plain { background: none; margin-top: 2px; }
.mc-spot-row b { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-spot-row .lp-spot-icon img { display: block; }
.mc-sc2 { padding: 14px; background: #f6f7f9; }
.mc-sc2 .lp-mac-sc { position: static; inset: auto; transform: none; width: auto; display: grid; gap: 8px; }
.mc-sc2 .lp-sc-act { font-size: 13px; padding: 9px 12px; background: #fff; box-shadow: 0 0 0 .5px rgb(14 10 40 / .12); margin-left: 0; }
.mc-sc-head { display: flex; align-items: center; gap: 10px; margin: 2px 4px 12px; font-size: 16px; font-weight: 600; color: #1d1d1f; }
.mc-sc-glyph { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #1f74b3; } .mc-sc-glyph img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* Runs on your Mac: plain on the page, words on the left, four facts on the right. */
.lc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }

.lc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
.lc-fact { padding-top: 0; }
.lc-fact h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; letter-spacing: -.01em; }
/* The facts' pencil drawings (15 Nov, from view/r43), beside each title; no hairlines between the facts. */
.lc-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; }
.lc-pen { display: block; width: 40px; height: 40px; overflow: visible; }
.lc-fact p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--text-2); }

@media (max-width: 1100px) { .mc-row { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } .mc-tile { height: 440px; } }
@media (max-width: 900px) {
  .hs-panel { grid-template-areas: "head" "board"; grid-template-columns: minmax(0, 1fr); } .hs-board { margin-top: 32px; }
  .lc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .page-landing { --gap: 104px; }
  .kc-planebox { height: 460px; margin-top: 32px; } .kc-plane { --tx: -64%; --ty: 20px; width: 1240px; gap: 16px; --kc-wide: 1.2fr; } .kc-col { gap: 16px; } .kc-col:nth-child(even) { margin-top: 44px; }
  /* The watchlist's twelve tiles keep every price whole in the phone plane's column: tighter padding and gaps,
     not a wider column (that pushed the line’s cards out of the crop). Selected by the tile’s kind, so the baked share images stay current. */
  .kc-plane .kc-tile[data-kind="tiles"] { font-size: 10px; padding: 6px; } .kc-plane .kc-tile[data-kind="tiles"] > * > * > div { gap: 2px; }
  .kc-plane .kc-tile[data-kind="tiles"] > * > * > div > * { padding: .35em .25em .4em; }
  .kc-plane .kc-tile { font-size: 10.5px; padding: 8px; }
  .kc-tile { font-size: 11px; padding: 8px; }
  .qt .lp-quote blockquote { font-size: 34px; text-indent: -.38em; padding-left: .38em; } .qt .lp-listen { align-items: flex-start; gap: 6px; }
  /* Phones: the definition breaks after "smoothly," and the listen doodle follows it, a little smaller. */
  .qt .lp-listen p { font-size: 15px; } .qt .lp-listen-br { display: inline; }
  .lp-ld-staff { width: 168px; height: 102px; } .lp-ld-hand { font-size: 24px; }
  .hs-panel { border-radius: 28px; padding: 40px 20px; } .hs-card, .hs-card.is-strip { font-size: 13px; } .hs-card.is-facts { display: none; }
  .mc-art { height: 230px; } .mc-tile { height: 400px; padding: 32px 22px 0; border-radius: 24px; } .mc-tile h3 { font-size: 26px; } .mc-tile p { font-size: 16px; } .mc-sc-head { margin-bottom: 8px; }
}
@media (max-width: 560px) { .lc-facts { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 360px) { .mc-tile { text-align: left; } .mc-tile p { margin-left: 0; } }


/* The hero (14 Nov 2026): taller, so the frame always reaches the fold and Get on the bar starts below it; on tall
   windows it stops 56 px short of the bottom so a strip of the page shows. The content centres in the extra height. */
.page-landing .lp-hero { min-height: calc(100svh - var(--topbar-h, 81px) - 56px); padding-bottom: 48px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.page-landing .lp-hero-copy { flex: none; width: 100%; min-height: 0; height: auto; } .page-landing .lp-frags { flex: none; width: 100%; }
.page-landing .lp-frame .wrap { position: relative; z-index: 1; }
/* Blueprint grids: two entries over the hero's blue, from the top-left and bottom-right corners, fading toward the
   middle and kept clear of the nav, the words, the buttons and the cards (site.js draws them). */
.lp-hgrid { position: absolute; z-index: 0; pointer-events: none; overflow: hidden; border-radius: 32px; }
.lp-hgrid img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Chalk drawings in the Get on the bar tiles' corners. */
.lp-chalk { position: absolute; z-index: 1; pointer-events: none; overflow: visible; }
.lp-chalk-mag { left: 26px; top: 22px; width: 74px; rotate: -8deg; transform-origin: 39% 38%; }
.lp-chalk-plane { right: 22px; top: 22px; width: 140px; }
@media (max-width: 1100px) { .lp-chalk-mag { width: 50px; left: 16px; top: 18px; } .lp-chalk-plane { width: 118px; right: 10px; top: 10px; } }
@media (max-width: 760px) { .lp-hgrid { border-radius: 24px; } .lp-chalk-mag { width: 54px; left: 14px; top: 22px; } .lp-chalk-plane { width: 92px; right: 8px; top: 8px; } }
/* The 1Password panel's chalk key (top-left) and vault (top-right). */
.op-panel { position: relative; }
.lp-chalk-key { left: 5%; top: 56px; width: 170px; rotate: -14deg; }
.lp-chalk-vault { right: 7.8%; top: 48px; width: 112px; rotate: 10deg; }
/* The key and the vault sit in the panel's top corners. The wrapper round "So do we" is no box. */
.op-sodo { display: contents; }
/* Phones: no key or vault (owner, 17 Nov: beside the heading they made it render oddly); the heading stands alone. */
@media (max-width: 760px) { .op-sodo .lp-chalk { display: none; } }
}

/* 14 Nov, late: History's words centred against its cards, the small print centred under both, like 1Password's. */
.hs-panel { grid-template-areas: "head board"; align-items: center; }
.hs-head { padding-top: 0; }
@media (max-width: 900px) { .hs-panel { grid-template-areas: "head" "board"; } }
/* Pricing: both plans solid, with the cards' neutral shadow; no glass, no violet glow. */
.lp-plan-card { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 2px rgb(20 30 60 / .06), 0 18px 40px -26px rgb(20 30 60 / .35); }
.lp-plan-card.is-pro { background: #16161c; box-shadow: 0 1px 2px rgb(20 30 60 / .08), 0 18px 40px -26px rgb(20 30 60 / .45); }
/* Fall leaves (owner, 18 Nov, view/r68-fall-leaves): a pencil maple bough comes in from off Pro's top right; leaves
   let go of it and the wind carries them across into Lifetime, or they fall straight down in Pro, and pile up along
   the cards' bottoms. Each card holds its own copy of every leaf in its own ink (white over Pro, pencil grey over
   Lifetime), laid over the pair of cards and cut to the card, so a leaf changes as it crosses. Every leaf and the
   bough are baked pictures in boxes moved by transform (site.js sets their size and place, and moves them). */
.lp-plan-card.has-leaves { position: relative; overflow: hidden; isolation: isolate; }
.lp-plan-card.has-leaves > :not(.lp-leaves, .lp-bough, style) { position: relative; z-index: 1; }
.lp-bough { position: absolute; top: var(--tree-y, 0); right: 0; width: var(--tree-w, 0); z-index: 0; pointer-events: none; transform-origin: 100% 0; will-change: transform; }
.lp-bough img { display: block; width: 100%; height: auto; }
.lp-bough .lp-bough-top, .lp-bough.is-top .lp-bough-wide { display: none; }
.lp-bough.is-top .lp-bough-top { display: block; }
.lp-leaves { position: absolute; left: var(--ox, 0); top: var(--oy, 0); width: var(--pw, 100%); height: var(--ph, 100%); z-index: 0; pointer-events: none; }
.lp-leaves .leaf { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; opacity: 0; background: center / 100% 100% no-repeat; will-change: transform, opacity; }
.lp-leaves .leaf.landed { will-change: auto; }
@media (prefers-reduced-motion: reduce) { .lp-leaves .leaf, .lp-bough { will-change: auto; } }
.lp-leaves .leaf.s1, .lp-leaves .leaf.s3 { width: 37px; height: 37px; left: -18.5px; top: -18.5px; }
@media (max-width: 760px) { .lp-leaves .leaf { width: 27px; height: 27px; left: -13.5px; top: -13.5px; } .lp-leaves .leaf.s1, .lp-leaves .leaf.s3 { width: 30px; height: 30px; left: -15px; top: -15px; } }
/* History's chalk (owner, 15 Nov, A from view/r51): the trail back to the clock fills the open column above the words;
   below 900 px, where the panel stacks, the small rewind clock sits in the panel's top-right corner instead. */
.hs-head .lp-chalk-trail { position: relative; display: block; width: min(100%, 400px); height: auto; margin: 0 0 40px -8px; rotate: -3deg; }
.hs-word { white-space: nowrap; }
.hs-title .lp-chalk-rewind { display: none; }
@media (max-width: 900px) {
  .hs-head .lp-chalk-trail { display: none; }
  /* The rewind clock sits in the panel's top-right corner, clear of the words (owner, 16 Nov: beside "history" it
     looked cramped). */
  .hs-panel { position: relative; }
  .hs-title .lp-chalk-rewind { position: absolute; display: block; top: 12px; right: 14px; width: 50px; height: 50px; margin: 0; rotate: -8deg; }
  .hs-word::after { content: "\A"; white-space: pre; }
}

/* The sea behind the macOS tiles (14 Nov 2026): one picture, each tile its slice. Side by side, the picture spans the
   row (three tiles and two 22 px gaps); stacked, it spans three tile widths. The fragments sit lower to give it room. */
.mc-sea { position: absolute; top: 0; height: 100%; width: calc(300% + 44px); left: calc(var(--i) * -1 * (100% + 22px)); z-index: 0; pointer-events: none; overflow: hidden; }
.mc-sea > :is(svg, img), .mc-sea-drift > :is(svg, img) { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The clouds' picture is twice the sea's width, a second copy of the bank to the left; half its width is one pass. */
.mc-sea-drift { position: absolute; top: 0; left: -100%; width: 200%; height: 100%; }
.mc-tile > h3, .mc-tile > p { position: relative; z-index: 2; }
.mc-tile .mc-art { z-index: 1; height: 214px; } /* low enough that the sun and the boat show above the pieces (owner, 17 Nov) */
@keyframes mc-sea-drift { from { transform: translateX(0); } to { transform: translateX(50%); } }
.mc-sea-drift { animation: mc-sea-drift 120s linear infinite; }
@media (prefers-reduced-motion: reduce) { .mc-sea-drift { animation: none; } }
@media (max-width: 1100px) { .mc-sea { width: 300%; left: calc(var(--i) * -100%); } }
/* On phones the tiles' words sit lower in the scene; the sea starts 16 px down (26 at 360 and under, where the words wrap to three lines) so the Shortcuts boat's mast stays clear
   of them (its tip reached the second line, under 4.5:1, when no cloud happened to cover it). */
@media (max-width: 760px) { .mc-sea { top: 16px; } }
@media (max-width: 360px) { .mc-sea { top: 26px; } }
@media (max-width: 760px) { .mc-tile .mc-art { height: 160px; } }

/* Templates (14 Nov 2026): a green panel painted like the sea, the words at the top, the train along the bottom.
   The panel keeps 280 px under the words for the train and its smoke (230 on phones), so they never meet. */
.page-landing .lp-tpl { display: block; min-height: 0; overflow: hidden; border-radius: 32px; padding: 72px 24px 280px; text-align: center;
  background: url(/hero-grain.png) 0 0 / 128px 128px, #c4e7c4; background-blend-mode: soft-light; }
.lp-tpl .lp-tpl-field { position: absolute; inset: 0; mask: none; -webkit-mask: none; overflow: hidden; }
/* The scene is cut to the panel like preserveAspectRatio "xMidYMax slice": a stage the size of the drawing, at least
   as wide as the panel, standing on its bottom edge. Moving parts are HTML boxes the compositor slides. */
.lp-tpl-scene { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.lp-tpl-stage { position: absolute; left: 50%; bottom: 0; translate: -50% 0; }
.lp-tpl-stage > :is(svg, img), .lp-tpl-train, .lp-tpl-train > :is(svg, img), .lp-tpl-drift > :is(svg, img) { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-tpl-drift { position: absolute; top: 0; left: -100%; width: 200%; height: 100%; }
/* The puffs share one opacity, as the old smoke group did, so where they overlap they don't build up. */
.lp-tpl-smoke-set { position: absolute; inset: 0; opacity: .9; }
.lp-tpl-steam { position: absolute; left: 0; top: 0; aspect-ratio: 2; transform-origin: 50% 75%; }
.lp-tpl-steam > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lp-tpl-scene.is-narrow { display: none; }
/* The forest's crowns (owner, 18 Nov): each its own baked picture in a box over its trunk, still (the sway made Safari's
   scrolling very slow; the owner preferred them still). Mirrored ones turn the picture inside the box. */
.lp-tpl-tree { position: absolute; transform-origin: 50% 88%; }
.lp-tpl-tree img { display: block; width: 100%; height: 100%; }
.lp-tpl-tree img.is-flip { transform: scaleX(-1); }
.lp-tpl .lp-tpl-copy { position: relative; z-index: 1; margin: 0 auto; padding: 0; }
.lp-tpl .lp-tpl-count { color: #2c2c30; }
@media (max-width: 760px) {
  .page-landing .lp-tpl { border-radius: 28px; padding: 44px 20px 230px; }
  .lp-tpl .lp-tpl-field { display: block; } .lp-tpl-scene.is-wide { display: none; } .lp-tpl-scene.is-narrow { display: block; }
}

/* The templates panel's sky clouds drift like the sea's: one pass every 120 s, left to right, still under Reduce Motion. */
@keyframes lp-tpl-drift { to { transform: translateX(50%); } }
.lp-tpl-drift { animation: lp-tpl-drift 120s linear infinite; }
@media (prefers-reduced-motion: reduce) { .lp-tpl-drift { animation: none; } }
/* The train comes in from the left, crosses at about 28 px a second, leaves on the right, and comes round again. */
@keyframes lp-tpl-train { from { transform: translateX(var(--from)); } to { transform: translateX(var(--to)); } }
.lp-tpl-train { animation: lp-tpl-train 100s linear infinite; }
/* Steam: each puff from the chimney, swelling, drifting back and up, thinning away; staggered so the trail is continuous. */
@keyframes lp-tpl-steam { 0% { transform: var(--from) scale(.25); opacity: 0; } 12% { opacity: 1; }
  60% { opacity: .7; } 100% { transform: var(--end) scale(var(--es)); opacity: 0; } }
.lp-tpl-steam { animation: lp-tpl-steam 4.6s cubic-bezier(.25, .6, .4, 1) infinite; }
@media (prefers-reduced-motion: reduce) { .lp-tpl-train, .lp-tpl-steam { animation: none !important; } }
/* Until it's seen the train has no animation (a paused one kept Chrome busy every frame, 15 Nov) and stands where its
   run starts (--start), so starting it is seamless. */
@media (prefers-reduced-motion: no-preference) { .lp-tpl[data-wait] .lp-tpl-train { animation: none; transform: translateX(var(--start)); } }
/* The moving pictures are always their own GPU layers, drawn once and slid by the compositor. */
.lp-tpl-drift, .lp-tpl-train, .lp-tpl-steam, .mc-sea-drift { will-change: transform; }
/* The rain easter egg (site.js, build.mjs tplRain): tap a sky cloud and it rains under it for good. The rain layer
   slides in step with the sky and falls at a quarter of its strength behind the words (--hx/--hy/--hw/--hh from
   site.js; cutting it away there left a gap under the cloud, owner, 17 Nov); the drops fall by transform. Reduce
   Motion leaves the drops still. */
.lp-tpl-cloudhit { position: absolute; pointer-events: auto; border-radius: 40%; -webkit-tap-highlight-color: transparent; }
.lp-tpl-rainmask { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(rgb(0 0 0 / .75) 0 0); -webkit-mask-size: 100% 100%, var(--hw, 0) var(--hh, 0); -webkit-mask-position: 0 0, var(--hx, 0) var(--hy, 0); -webkit-mask-repeat: no-repeat; -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(rgb(0 0 0 / .75) 0 0); mask-size: 100% 100%, var(--hw, 0) var(--hh, 0); mask-position: 0 0, var(--hx, 0) var(--hy, 0); mask-repeat: no-repeat; mask-composite: exclude; }
.lp-tpl-raindrift { position: absolute; top: 0; left: -100%; width: 200%; height: 100%; animation: lp-tpl-drift 120s linear infinite; will-change: transform; }
.lp-tpl-rain { position: absolute; overflow: hidden; opacity: 0; transition: opacity .8s ease;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 62%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 62%, transparent); }
.lp-tpl-rain.is-raining { opacity: 1; }
.lp-tpl-drops { position: absolute; left: 0; top: -100%; width: 100%; height: 200%; }
.lp-tpl-drops > svg { display: block; width: 100%; height: 100%; }
.lp-tpl-rain.is-raining .lp-tpl-drops { animation: lp-tpl-rain .9s linear infinite; will-change: transform; }
@keyframes lp-tpl-rain { from { transform: translateY(0); } to { transform: translateY(50%); } }
@media (prefers-reduced-motion: reduce) { .lp-tpl-raindrift, .lp-tpl-rain.is-raining .lp-tpl-drops { animation: none; } }

/* The templates panel is its own section, after the card wall (owner, 14 Nov). */
.page-landing .lp-tpl-sec { padding-top: 0; }
.page-landing .lp-tpl-sec .lp-tpl { margin-top: var(--gap); }

/* The Mac tiles' pieces are macOS glass (owner, 17 Nov, A from view/r63-glass, after their own screenshots): a live blur
   of the sea behind each, a light fill for Notification Center's banners and the Shortcuts editor, Spotlight's dark
   field with a Legato chip and its results in a grey glass list. The blur is the compositor's; Safari is the check. */
.mc-tile .mc-frag.mc-n1, .mc-tile .mc-frag.mc-n2, .mc-tile .mc-frag.mc-spotf { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mc-tile .mc-note { background: rgb(246 246 248 / .62); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), inset 0 1px 0 rgb(255 255 255 / .8), 0 0 0 .5px rgb(20 20 40 / .12), 0 14px 30px -14px rgb(20 20 40 / .35); }
/* Straight, as macOS shows them (owner, 17 Nov, A from view/r64-mac-tiles): no tilt, macOS's own widths, centred, every
   tile's first piece at the same height and running off the bottom only. Notifications stack newest on top: Uptime,
   an older one peeking under it, then Deploys from 2m ago. */
.mc-tile .mc-frag { left: 50%; right: auto; top: 0; transform: translateX(-50%); }
.mc-tile .mc-n1, .mc-tile .mc-n2, .mc-tile .mc-n3, .mc-tile .mc-n4 { width: min(344px, calc(100% - 32px)); }
.mc-tile .mc-n1 { z-index: 2; }
.mc-tile .mc-n2 { z-index: 1; transform: translateX(-50%) translateY(14px) scale(.94); }
.mc-tile .mc-n2 .mc-note { opacity: .85; } .mc-tile .mc-n2 .mc-note > * { visibility: hidden; }
.mc-tile .mc-n3 { z-index: 3; transform: translateX(-50%) translateY(112px); background: none; box-shadow: none; }
.mc-tile .mc-n4 { z-index: 3; transform: translateX(-50%) translateY(212px); background: none; box-shadow: none; }
/* Every tile's pieces run off its bottom edge, as Shortcuts' editor does (owner, 17 Nov): a third banner under the
   stack, Spotlight's full list of the Tesla page's climate buttons. */
.mc-tile .mc-spotf { width: min(340px, calc(100% - 32px)); }
.mc-tile .mc-sc2 { width: min(360px, calc(100% - 28px)); }
.mc-tile .mc-spotf { padding: 0; }
.mc-tile .mc-spot .lp-spot-field { height: 52px; gap: 12px; padding: 0 18px 0 8px; border-radius: 26px; color: #fff; background: rgb(22 22 24 / .84); backdrop-filter: blur(24px) saturate(.6); -webkit-backdrop-filter: blur(24px) saturate(.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .22), 0 16px 30px -16px rgb(10 10 20 / .5); }
.mc-tile .mc-scope { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 9px; background: rgb(255 255 255 / .16); font-size: 15px; font-weight: 500; color: #fff; }
.mc-tile .mc-scope img { width: 20px; height: 20px; border-radius: 5px; }
.mc-tile .mc-typed { color: #fff; }
.mc-spot-list { margin-top: 8px; padding: 6px; border-radius: 24px; background: rgb(116 116 122 / .78); backdrop-filter: blur(24px) saturate(.6); -webkit-backdrop-filter: blur(24px) saturate(.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), inset 0 1px 0 rgb(255 255 255 / .3), 0 16px 30px -16px rgb(10 10 20 / .5); }
.mc-tile .mc-spot-row { margin: 0; padding: 8px 12px 8px 8px; border-radius: 22px; background: none; color: #fff; }
.mc-tile .mc-spot-row:not(.is-plain) { background: rgb(255 255 255 / .18); }
.mc-tile .mc-spot-row b { color: #fff; }
.mc-tile .mc-spot-row .lp-spot-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .15); }
.mc-tile .mc-spot-row .lp-spot-icon > img:first-child { width: 24px; height: 24px; padding: 0; filter: grayscale(1); opacity: .62; }
.mc-badge { position: absolute; right: -5px; bottom: -5px; width: 17px; height: 17px; --mark-bg: #1d1d1f; --mark-fg: #fff; }
.mc-badge svg { display: block; width: 100%; height: 100%; } .mc-badge svg rect { stroke: rgb(255 255 255 / .9); stroke-width: 3; }
.mc-tile .mc-sc2 { background: rgb(246 246 248 / .6); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), inset 0 1px 0 rgb(255 255 255 / .8), 0 0 0 .5px rgb(20 20 40 / .12), 0 18px 36px -18px rgb(20 20 40 / .4); }
.mc-tile .mc-sc2 .lp-sc-act { background: rgb(255 255 255 / .78); }

/* ---- Porcelain everywhere (owner, 15 Nov 2026) ----
   Every page sits on the landing's Porcelain. The app drawings (a service page's panel, the docs' card
   examples, the Features stage) sit right on it: each brings its own white panel and shadow, so a tile
   round it would be a box round a box (owner). Only text boxes keep a white fill (the docs' numbered
   steps and quotes), which would otherwise vanish into the page. A blue frame on every service page and
   white tiles were tried with Pi-hole and dropped. The tints and grain stay the landing's own. */
body { --bg: #f7f7f5; }
body.reference-page, .reference-page .topbar, .reference-tabs, .js .docs-menu-toggle:not([hidden]), .js .docs-sidebar.is-open { background: var(--bg); }
.docs-card-example { background: none; }
.docs-steps { background: var(--surface); border-radius: 20px; }
.docs-main .prose blockquote { background: var(--surface); }
.explore-k4-stage { background: none; border: 0; box-shadow: none; }

/* Get on the bar's title in a menu bar drawn in pencil (15 Nov, from view/r40 A1). The bar and its icons are drawn by
   site.js over the placeholders; without script the icons show plain in pencil grey and the bar has no outline. */
/* The title sits in the bar's middle (owner, 16 Nov), Legato's mark at the left and the extras at the right. */
.gb { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 2vw, 26px); width: min(100%, 980px); margin: 0 auto; padding: 0 clamp(18px, 2.4vw, 30px); height: clamp(74px, 8vw, 108px); box-sizing: border-box; color: #7d8494; }
.gb h2 { position: relative; margin: 0; white-space: nowrap; color: var(--text); }
.gb-glyph { position: relative; flex: none; justify-self: start; display: grid; place-items: center; width: clamp(44px, 4.6vw, 60px); height: clamp(36px, 3.8vw, 48px); }
.gb-glyph svg { width: 78%; height: auto; }
.gb-right { position: relative; justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); white-space: nowrap; font: 500 clamp(17px, 1.7vw, 22px)/1 var(--font); }
.gb-right svg { width: clamp(22px, 2.2vw, 28px); height: auto; }
.gb-right .gb-batt { width: clamp(34px, 3.2vw, 42px); }
.gb-time { color: #6b7180; }
.gb.is-drawn .gb-glyph, .gb.is-drawn .gb-wifi, .gb.is-drawn .gb-batt { color: transparent; }
.gb-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lp-bar .gb + .lp-bar-lede { margin-top: 26px; }
@media (max-width: 760px) {
  .gb { height: 64px; gap: 12px; padding: 0 14px; } .gb .gb-wifi, .gb .gb-time { display: none; }
  .gb h2 { font-size: 30px; } .gb-glyph { width: 38px; height: 32px; }
}

/* Pages like ours (15 Nov 2026, C3 from view/r41): the page design skill, small, above 1Password. Its heading is the
   templates panel's size. On the right, the docs' Budget page and the skill's review of it, overlapping. */
.page-landing .pd { position: relative; z-index: 2; max-width: 1100px; margin: var(--gap) auto 0; }
/* More in the app: the heading and the download beside the Welcome page, drawn on the Porcelain. Stacked and
   centred below 800 px. */
.wl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.wl-words h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; white-space: nowrap; }
.wl-lede { margin: 14px 0 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.45; color: var(--text-2); text-wrap: balance; }
.wl-art { justify-self: end; width: min(100%, 520px); }
/* The line as a handwritten list of three pencil sketches, each named beside it (owner, 17 Nov, B2 from view/r56), on
   a notebook: faint ruled lines, a margin line and a pencil resting by it (3 from view/r57). The hand is the system's own
   handwriting faces, as Pages like ours' doodle. */
.wl { position: relative; }
.wl-note { position: relative; display: inline-block; margin-top: 20px; padding: 10px 0 10px 34px; }
.wl-rules { position: absolute; left: 0; top: 0; width: 320px; height: 100%; overflow: visible; }
.wl-pencil { position: absolute; left: 262px; bottom: -52px; width: 120px; height: 120px; overflow: visible; }
.wl-sketches { position: relative; display: flex; flex-direction: column; gap: 8px; }
.wl-sketches figure { margin: 0; display: flex; align-items: center; gap: 12px; }
.wl-sk { width: 50px; height: 50px; flex: none; }
.wl-hand { font: 400 25px/1 "Bradley Hand", Noteworthy, "Segoe Print", cursive; color: #6b7282; white-space: nowrap; }

.wl-panel { padding: 10px 14px 14px; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgb(20 30 60 / .06), 0 24px 56px -30px rgb(20 30 60 / .42); font-size: 15px; }
.wl-bar { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 8px; }
.wl-bar img { width: 16px; height: 16px; filter: grayscale(1) brightness(.25); }
.wl-bar strong { font-size: 15px; } .wl-bar i { flex: 1; } .wl-chev img { width: 11px; height: 11px; opacity: .55; }
.wl-cover { position: relative; overflow: hidden; height: 236px; padding: 16px 16px 0; border-radius: 14px; background: url(/hero-grain.png) 0 0 / 128px 128px, #a8c7f7; background-blend-mode: soft-light; }
.wl-cover-title { display: flex; align-items: center; gap: 12px; }
.wl-cover-title img { width: 34px; height: 34px; border-radius: 8px; }
.wl-cover-title strong { font-size: 27px; letter-spacing: -.01em; }
.wl-cover p { margin: 10px 0 0; font-size: 17px; color: #1d1d1f; }
.wl-pic { position: absolute; left: 12px; right: 12px; bottom: -36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wl-frag { border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(20 30 60 / .08), 0 12px 24px -16px rgb(20 30 60 / .35); font-size: 12px; height: 124px; overflow: hidden; }
.wl-frag-1 { rotate: -1.5deg; translate: 0 4px; } .wl-frag-2 { rotate: 1.5deg; translate: 0 14px; }
.wl-list { margin-top: 12px; }
/* Rows answer a pointer as the panel's do (the hover tint is the shared token's value): the row's grey fades in, its
   words lean in a little and its pencil symbol draws itself again. Not on touch screens. The panel holds no links,
   so it isn't inert (inert would stop the pointer reaching the rows). */
.wl-list li { margin-inline: -8px; padding-inline: 8px; border-radius: 8px; cursor: default; transition: background-color .18s ease; }
.wl-list li > span { transition: translate .25s cubic-bezier(.3, 1.3, .5, 1); }
@media (hover: hover) {
  .wl-list li:hover { background-color: rgb(0 0 0 / .04); }
  .wl-list li:hover > span { translate: 3px 0; }
  .wl-list li:hover .pen-row path { stroke-dasharray: var(--len); animation: wl-draw .55s ease-out both; }
}
@keyframes wl-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .wl-list li > span { transition: none; } .wl-list li:hover > span { translate: none; } .wl-list li:hover .pen-row path { animation: none; } }
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
@media (max-width: 800px) { .wl-sketches figure { width: 210px; } .wl-note { margin-bottom: 34px; } .wl-rules { width: 100%; } .wl-pencil { left: auto; right: -20px; bottom: -70px; } }
@media (max-width: 800px) { .wl { grid-template-columns: minmax(0, 1fr); gap: 48px; justify-items: center; text-align: center; } .wl-actions { justify-content: center; } .wl-art { justify-self: center; text-align: left; } }
@media (max-width: 640px) { .wl-words h2 { font-size: min(32px, 7.6vw); } .wl-cover { height: 196px; } .wl-cover-title strong { font-size: 21px; } .wl-frag { font-size: 10px; } }

.pd-in { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 48px; align-items: center; }
.pd h2 { margin: 0; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
.pd-lede { margin: 14px 0 0; max-width: 420px; font-size: 17px; line-height: 1.45; color: #52525e; text-wrap: pretty; }
.pd-cmd { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 6px 6px 6px 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(20 30 60 / .06), 0 14px 32px -22px rgb(20 30 60 / .35); }
.pd-cmd code { font: 14px ui-monospace, "SF Mono", Menlo, monospace; color: #1d1d1f; }
.pd-copy { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: #1d1d1f; color: #fff; cursor: pointer; }
.pd-copy:focus-visible { outline: 2px solid #004cbd; outline-offset: 2px; }
.pd-fine { margin: 12px 0 0; font-size: 15px; color: #52525e; }
.pd-fine a { color: #004cbd; text-decoration: underline; text-underline-offset: 3px; }
.pd-art { position: relative; height: 470px; }
.pd-page { position: absolute; left: 24px; top: 0; width: 280px; padding: 0 10px 10px; border: 0; border-radius: 16px; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 2px rgb(20 30 60 / .06), 0 18px 40px -26px rgb(20 30 60 / .35); font-size: 12.5px; rotate: -1.5deg; --card-fill: var(--app-card); }
/* The terminal and, above it, "Stop walls of text" in pencil with an eraser rubbing out lines of text (owner, 17 Nov).
   The words use the system's own handwriting faces (Bradley Hand, Noteworthy, Segoe Print), never a web font. */
.pd-termwrap { position: absolute; right: 0; bottom: 0; width: min(350px, 58%); rotate: .8deg; }
.pd-doodle { position: absolute; right: 6px; bottom: calc(100% + 4px); display: flex; align-items: flex-end; gap: 4px; pointer-events: none; rotate: -3deg; }
.pd-scrawl { font: 400 30px/1 "Bradley Hand", Noteworthy, "Segoe Print", cursive; color: #6b7282; white-space: nowrap; padding-bottom: 14px; }
.pd-eraser { width: 96px; height: 96px; flex: none; }
@media (min-width: 761px) and (max-width: 1100px) { .pd-doodle { flex-direction: column-reverse; align-items: flex-end; gap: 0; } .pd-scrawl { font-size: 26px; padding-bottom: 6px; } .pd-eraser { width: 72px; height: 72px; margin-right: 18px; } }
.pd-term { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #1b1b20; color: #e8e8ee; box-shadow: 0 20px 44px -22px rgb(20 20 30 / .5); font: 12.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; }
.pd-term-head { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: rgb(255 255 255 / .05); color: rgb(255 255 255 / .45); font-size: 11px; }
.pd-term-head i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .18); } .pd-term-head span { margin-left: 6px; }
.pd-body { padding: 12px 14px 14px; } .pd-body p { margin: 0; } .pd-rv + p { margin-top: 10px; }
.pd-dim { color: rgb(255 255 255 / .5); }
.pd-rv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; margin: 10px 0 0; }
.pd-rv dt, .pd-rv dd { margin: 0; } .pd-rv dd { color: rgb(255 255 255 / .78); }
.pd-n { color: #b6bccb; } .pd-id { color: #7fb0ff; }
.pd-g { display: block; margin-bottom: 2px; color: #e8e8ee; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 3px; }
.pd-mark { position: absolute; width: 30px; height: 30px; overflow: visible; pointer-events: none; }
@media (max-width: 900px) { .pd-in { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (min-width: 761px) and (max-width: 1100px) { .pd h2 { font-size: clamp(30px, 3.6vw, 40px); } }
@media (max-width: 760px) {
  .page-landing .pd { margin-top: 104px; } .pd h2 { font-size: 32px; } .pd-lede { max-width: none; }
  .pd-cmd { display: flex; } .pd-cmd code { font-size: 13px; white-space: normal; line-height: 1.45; }
  .pd-art { height: auto; display: grid; } .pd-page { position: relative; left: 0; width: 82%; margin-left: 24px; }
  .pd-termwrap { position: relative; width: 100%; margin-top: 94px; rotate: 0deg; } .pd-term { font-size: 11px; } .pd-doodle { right: 0; } .pd-scrawl { font-size: 24px; } .pd-eraser { width: 72px; height: 72px; }
}

/* Oops! All coffee beans: the footer's hidden room (BEANS in build.mjs, site.js opens it). Closed, it takes no space;
   scrolling past the end of the page opens it and drops the beans in, the bottom ones first. */
.beans { height: var(--beans-h, 0px); overflow: hidden; }
/* A pull on a phone opens the room in one go, eased (site.js); a wheel grows it frame by frame, so no easing there. */
.beans.glide { transition: height .25s ease-out; }
.beans-in { display: grid; justify-items: center; gap: 10px; padding: 24px 20px 40px; }
.beans-heap { position: relative; width: min(100%, 620px); aspect-ratio: 620 / 140; will-change: transform; } /* one layer: a page moving above it moves the heap, not 155 beans */
.beans-line { margin: 0; font-size: 13px; color: rgb(255 255 255 / .45); opacity: var(--beans-line, 0); transition: opacity .4s ease; }
/* Each bean is a box with its own picture (build.mjs BEAN_CSS), so the drop is a plain transform. */
.bean { position: absolute; aspect-ratio: 30 / 22; background: center / 100% 100% no-repeat; transform: translateY(-120px) rotate(calc(var(--r) - 40deg)); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1), opacity .2s ease; }
.bean.in { transform: rotate(var(--r)); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .beans, .bean, .beans-line { transition: none; } }
/* The card plane's updates (site.js) ease in and out, with no tint after: the tint repainted the masked
   plane on every frame (about 13% of the main thread against under 3% for the roll alone, 17 Nov). */
.kc-plane :is(.lp-roll-out, .lp-roll-in) { animation-timing-function: cubic-bezier(.45,0,.55,1); }
.kc-plane .lp-new { animation: none; }
/* The card that just updated wears a blue edge (site.js, owner 17 Nov) that grows in and thins away, fading as
   it goes, on a layer that stays (is-live, the seven cards that light). Fading a thin line by opacity alone
   either read as popping off (under a second) or left a pale outline hanging (a long tail), on an iPhone. */
.kc-plane .kc-tile { position: relative; }
.kc-plane .kc-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent);
  transition: opacity .7s cubic-bezier(.4,0,.6,1), box-shadow .7s cubic-bezier(.4,0,.6,1); }
.kc-plane .kc-tile.is-live::after { will-change: opacity; }
.kc-plane .kc-tile.is-lit::after { opacity: 1; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: opacity .45s cubic-bezier(.2,0,.3,1), box-shadow .45s cubic-bezier(.2,0,.3,1); }

/* The changelog (owner, 18 Nov, S1 and F1 from reports/changelog-2026-11-18): each version a row, its number, day and
   an optional word in a 200 px margin that stays in view beside the notes, stacked on phones. A group of icon lines is
   a two-column grid of 40 px pencil icons beside a title and a line, as Runs on your Mac sets them. */
.cl { max-width: 1040px; margin: 0 auto; padding: 56px 28px 64px; }
.cl-intro { margin-left: 220px; }
.cl-intro h1 { margin-top: 0; }
.cl-release { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 20px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.cl-side { position: sticky; top: 96px; align-self: start; }
.cl-side h2 { margin: 0; padding: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
.cl-side h2 a { color: inherit; text-decoration: none; }
.cl-side p { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }
.cl-side .cl-label { margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--text); }
.cl-notes > :first-child { margin-top: 0; }
.cl-notes .cl-summary, .cl-notes > p:first-child { font-size: 17px; }
.cl-notes h3 { margin: 28px 0 8px; font-size: 17px; letter-spacing: 0; }
.cl-notes h3.cl-group { display: flex; align-items: center; gap: 12px; margin: 32px 0 16px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.cl-notes h3.cl-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.cl-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.cl-item h4 { margin: 0 0 2px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.cl-item p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.cl-pen { display: block; }
@media (max-width: 760px) {
  .cl { padding: 24px 20px 40px; }
  .cl-intro { margin-left: 0; }
  .cl-release { grid-template-columns: 1fr; gap: 12px; }
  .cl-side { position: static; }
  .cl-grid { grid-template-columns: 1fr; gap: 20px; }
}
