/* Proto and the design kit: only what the starter doesn't already have. Tokens come from liquix.css. */
:root { --mono: ui-monospace, "SF Mono", Menlo, monospace; --well: #f5f5f7; --sub: #5e5e63; --strike: #c4001a;
  --nav-bg: rgba(250, 250, 252, .78); --nav-line: rgba(0, 0, 0, .12); }
[data-theme="dark"] { --strike: #ff6369; --sub: #a1a1a6; --well: #2c2c2e;
  --nav-bg: rgba(22, 22, 23, .78); --nav-line: rgba(255, 255, 255, .14); }

/* ---------- The kit's local nav (parts.css), as drawn: a solid bar above the page, never over the hero ---------- */
.localnav { background: color-mix(in srgb, var(--page) 80%, transparent); }
.hero-stack { padding-top: 56px; }
/* The theme switch: a round button at the bottom right, as on the kit's parts page. */
.theme.corner { position: fixed; right: 16px; bottom: 16px; z-index: 95; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pill); color: var(--ink); display: grid; place-items: center; }
.theme.corner .ico { width: 20px; height: 20px; }

/* ---------- Hero: Proto on its Mac takes the stage ---------- */
.hero { height: auto; min-height: 100svh; }
.hero-stack { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 104px 24px 56px; color: var(--title-ink); }
.hero-stack .app-icon { width: clamp(128px, 11vw, 176px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.hero-stack h1 { margin: 16px 0 0; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.hero-stack h1 span { display: block; }
.hero-sub { margin: 18px 0 0; max-width: 34ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.hero-stack .hero-mac { width: min(1180px, 100%); height: auto; margin-top: clamp(28px, 4vw, 48px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .25)); }

/* ---------- Bento tiles from Proto ---------- */
/* A whole piece of Proto, shrunk to fit and set low in the tile, so the label sits clear above it. */
.board .tile.crop:not(.shot):not(.plain) > img:not(.hero-icon) { inset: auto; left: calc(var(--u) * 16); right: calc(var(--u) * 16); bottom: calc(var(--u) * 16);
  top: calc(var(--u) * 60); width: calc(100% - var(--u) * 32); height: calc(100% - var(--u) * 76);
  object-fit: contain; object-position: center bottom; border-radius: calc(var(--u) * 12); }
.hero-tile .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tile .hero-icon { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .22)); }
.tile .label, .tile .caption { overflow-wrap: anywhere; hyphens: auto; }

/* ---------- The reader: name the task, its guides light up ---------- */
.reader { padding: 40px clamp(20px, 4vw, 56px) 34px; display: flex; flex-direction: column; align-items: center; gap: 30px; min-height: 560px; }
.tasks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1060px; }
.task { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .35s var(--hover), color .35s var(--hover), filter .4s var(--hover), transform .5s var(--hover); }
[data-theme="dark"] .task { color: #fff; }
.task:hover { filter: brightness(1.04); }
.task:active { transform: scale(.98); transition-duration: .15s; }
.task[aria-checked="true"] { background: var(--capsule); color: #1d1d1f; }
.guides { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; }
.guide { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--chip); color: var(--ink); font: 500 14px/1 var(--mono); letter-spacing: -.01em;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: opacity .5s var(--hover), background-color .45s var(--hover), color .45s var(--hover); }
[data-theme="dark"] .guide { color: #fff; }
.guide .n { display: none; font: 700 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; font-variant-numeric: tabular-nums; color: rgba(0, 0, 0, .45); }
.reader.picked .guide { opacity: .34; }
.reader.picked .guide.on { opacity: 1; background: var(--capsule); color: #1d1d1f; }
.guide.on .n { display: inline; }
.tally { margin: auto 0 0; font-size: 19px; font-weight: 600; color: var(--title-ink); text-align: center; min-height: 1.4em; }

/* ---------- Viewer stage: the real output of each check ---------- */
.stage > .out { position: absolute; top: 50%; left: 68%; width: min(46%, 600px); translate: -50% -50%; margin: 0;
  padding: 26px 30px; border-radius: 24px; background: var(--chip); color: var(--ink);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  font: 500 14px/1.65 var(--mono); white-space: pre; overflow: hidden; opacity: 0; transition: opacity .2s var(--inout); }
[data-theme="dark"] .stage > .out { color: #fff; }
.stage > .out.on { opacity: 1; }
.out b { font-weight: 600; opacity: .55; }
.out .ok { color: #1f9d48; font-weight: 700; }
[data-theme="dark"] .out .ok { color: #4cd964; }
.out .no { color: var(--strike); font-weight: 700; }

/* ---------- Get it: the one page button, in ink on the plain page ---------- */
.get { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 140px 24px 40px; }
.get-icon { width: 96px; height: 96px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.get h2 { margin: 20px 0 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.get > p { margin: 12px 0 0; font-size: clamp(18px, 1.5vw, 21px); color: var(--sub); }
.get-fine { font-size: 14px !important; margin-top: 18px !important; }
/* The install capsule opens into the command, the way the waitlist capsule opens into a field. */
.capsule.install { width: 320px; padding: 0; overflow: hidden; }
.capsule.install.ink { background: var(--ink); color: var(--page); }
.capsule.install.ink .c-open, .capsule.install.ink .c-done, .capsule.install.ink .c-open .ico { color: var(--page); }
.capsule.install.open, .capsule.install.done { width: min(640px, 100%); }
.c-cmd { position: absolute; left: 26px; right: 66px; inset-block: 0; display: flex; align-items: center; overflow: hidden;
  white-space: nowrap; font: 500 15px/1 var(--mono); letter-spacing: 0; color: var(--page); opacity: 0;
  -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent);
  transition: opacity .3s var(--ease) .15s; user-select: all; }
.open .c-cmd { opacity: 1; }
.done .c-cmd, .done .c-send { opacity: 0; pointer-events: none; }
.capsule.install.ink .c-send { background: var(--page); color: var(--ink); }
.c-send .ico { width: 20px; height: 20px; }
.capsule.install .c-done { font-size: 19px; }
.capsule.install .c-done .ico { color: #34c759; }

.foot { padding: 60px 20px 60px; }
.maker { background: var(--well); }

@media (max-width: 733px) {
  .hero-stack { padding: 40px 18px 40px; }
  .capsule.install { width: min(290px, 100%); height: 56px; }
  .capsule.install.open, .capsule.install.done { width: 100%; }
  .c-cmd { font-size: 13px; }
  .reader { padding: 26px 14px; gap: 22px; min-height: 0; }
  .tasks { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; padding-bottom: 4px; }
  .task { flex: none; }
  .guide { height: 34px; padding: 0 12px; font-size: 12px; }
  .reader.picked .guide:not(.on) { display: none; }
  .stage > .out { top: 34%; left: 50%; width: calc(100% - 40px); font-size: 11px; padding: 18px 20px; }
  .get { padding-top: 100px; }
}

/* A word longer than the screen wraps instead of pushing the page sideways. */
h1, h2, h3, p, .label, .caption, .task, .guide { overflow-wrap: anywhere; }

/* A tile whose picture is a wider view (Owen's crop in Proto): it fills the space under the label,
   inset 14 at the sides and 12 at the foot, every corner rounded. */
.board .tile.crop.fill:not(.shot):not(.plain) > img:not(.hero-icon) { left: calc(var(--u) * 14); right: calc(var(--u) * 14); top: calc(var(--u) * 62);
  bottom: calc(var(--u) * 12); width: calc(100% - var(--u) * 28); height: calc(100% - var(--u) * 74);
  object-fit: cover; object-position: center; border-radius: calc(var(--u) * 22); }
.board .tile.crop.fill.s-lt:not(.shot):not(.plain) > img:not(.hero-icon) { border-radius: calc(var(--u) * 15); object-position: center top; }
.board .tile.crop.fill.s-rm:not(.shot):not(.plain) > img:not(.hero-icon) { border-radius: calc(var(--u) * 15); object-position: center top; }


/* ---------- The board, shorter so it fits a laptop screen whole (1191 × 640 units) ---------- */

.board { aspect-ratio: 1191 / 640; }
.s-lt { left: 0; top: 0; width: calc(var(--u) * 330); height: calc(var(--u) * 314); }
.s-lm { left: 0; top: calc(var(--u) * 326); width: calc(var(--u) * 330); height: calc(var(--u) * 314); }
.s-mn { left: calc(var(--u) * 342); top: 0; width: calc(var(--u) * 160); height: calc(var(--u) * 150); }
.s-mw { left: calc(var(--u) * 514); top: 0; width: calc(var(--u) * 335); height: calc(var(--u) * 150); }
.s-hero { left: calc(var(--u) * 342); top: calc(var(--u) * 162); width: calc(var(--u) * 507); height: calc(var(--u) * 308); }
.s-hf { left: calc(var(--u) * 342); top: calc(var(--u) * 470); width: calc(var(--u) * 507); height: calc(var(--u) * 170); }
.s-rt { left: calc(var(--u) * 861); top: 0; width: calc(var(--u) * 330); height: calc(var(--u) * 314); }
.s-rm { left: calc(var(--u) * 861); top: calc(var(--u) * 326); width: calc(var(--u) * 330); height: calc(var(--u) * 314); }
.s-mn .sym, .s-mw .sym { height: calc(var(--u) * 52); }
.s-mn .caption { font-size: calc(var(--u) * 19); }
.s-mw .caption { max-width: 20ch; }
.hero-icon { width: calc(var(--u) * 132); }
.love-title, .love-by { font-size: calc(var(--u) * 34); }
.pfp { width: calc(var(--u) * 60); height: calc(var(--u) * 60); }

@media (max-width: 733px) {
  .bento { width: calc(100% - 28px); }
  .board { aspect-ratio: auto; }
  .board .s-mn { aspect-ratio: 1; } .board .s-mw { aspect-ratio: 1; grid-column: span 1; }
  .board .s-hero { aspect-ratio: 507 / 308; } .board .s-hf { aspect-ratio: 507 / 170; }
  .board .s-lt, .board .s-lm, .board .s-rt, .board .s-rm { grid-column: span 1; aspect-ratio: 330 / 314; }
}
.board .tile.crop.fill.s-lm:not(.shot):not(.plain) > img:not(.hero-icon) { object-position: right center; border-radius: calc(var(--u) * 15); }
.tile.plain .caption { text-wrap: balance; }
/* Staggered sides: each column has one tall tile (a near-square crop) and one short one. */
.s-lt { top: 0; height: calc(var(--u) * 386); }
.s-lm { top: calc(var(--u) * 398); height: calc(var(--u) * 242); }
.s-rt { top: 0; height: calc(var(--u) * 242); }
.s-rm { top: calc(var(--u) * 254); height: calc(var(--u) * 386); }
/* The Hover crop is anchored to the window's right edge and foot, so if a tile shape cuts it, the panel edge stays. */
.board .tile.crop.fill.s-lm:not(.shot):not(.plain) > img:not(.hero-icon) { object-position: right bottom; }
@media (max-width: 733px) {
  .board .s-lt, .board .s-rm { aspect-ratio: 330 / 386; }
  .board .s-lm, .board .s-rt { aspect-ratio: 330 / 242; }
}

/* ---------- Bento symbols: real SF Symbols that move on hover (symbol-motion.js) ---------- */
.tile.plain svg.sym { height: calc(var(--u) * 52); width: auto; }
.tile.plain.s-mw svg.sym { color: var(--ink); }

/* ---------- What's in the kit: the kit's flip cards, each front showing the part working ---------- */
.kit-cards { width: min(1260px, 87.5vw); margin: 0 auto; padding: 120px 0 40px; }
.kit-cards .title { font: 600 48px/52px -apple-system, "SF Pro Display", sans-serif; letter-spacing: -.003em; margin: 0 0 48px; color: var(--ink); }
.face .eyebrow { margin: 0; font-size: 17px; color: var(--ink); }
.face h3 { margin-bottom: 0; color: var(--ink); }
.face .pic { position: relative; height: 52%; flex: none; display: grid; place-items: center; background: var(--well); }
.live-parts { background: #000; }
.live-parts .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-parts .tray { inset: 0; transform: scale(.78); }
.live-syms { grid-template-columns: repeat(2, auto); gap: 28px 44px; align-content: center; justify-content: center; }
.live-syms svg.sym { height: 52px; width: auto; color: var(--ink); }
.live-words { padding: 22px; align-content: center; gap: 10px; text-align: left; }
.live-words .before { font-size: 16px; } .live-words .after { font-size: 20px; }
.live-out { place-items: center start; padding: 22px; }
.live-out pre { margin: 0; font: 500 13px/1.7 var(--mono); color: var(--ink); white-space: pre; }
.live-out b { font-weight: 500; color: var(--sub); }
.live-out .ok { color: #1f9d48; font-weight: 700; } [data-theme="dark"] .live-out .ok { color: #4cd964; }
@media (max-width: 733px) { .kit-cards { width: calc(100% - 28px); padding-top: 80px; } .kit-cards .title { font-size: 36px; line-height: 40px; } }

/* The live parts on the Patterns card: the real capsule, dot bar and play button, at card size. */
.live-parts .tray { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transform: none; }
.demo-capsule { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--capsule); color: #1d1d1f; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.demo-capsule .ico { width: 19px; height: 19px; }
.demo-row { display: flex; gap: 12px; }
.demo-dots { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-radius: 22px; background: var(--ctl);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
/* The dot that's playing stretches into a pill and fills; when it's full the next one takes over,
   the old pill shrinking back as the new one stretches (the gallery's glide curve). */
.demo-dots i { position: relative; width: 7px; height: 7px; border-radius: 4px; background: var(--dot); overflow: hidden; transition: width .9s cubic-bezier(.21,.06,.18,1); }
.demo-dots i.on { width: 36px; }
.demo-dots b { position: absolute; inset: 0; border-radius: inherit; background: var(--dot-on); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; transition: opacity .3s ease; }
.demo-dots i.on b { opacity: 1; animation: fill 3.8s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--ctl);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.demo-round .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) { .demo-dots b { animation: none; transform: scaleX(.6); } }
.face .pic { background: #e8e8ed; }
[data-theme="dark"] .face .pic { background: #2c2c2e; }
.intro p:last-child:not(.eyebrow) { max-width: 36em; margin-inline: auto; text-wrap: balance; }
.tile.plain.s-mw svg.sym { height: calc(var(--u) * 38); }
.tile.plain.s-mn svg.sym { height: calc(var(--u) * 48); }
.s-mw .caption, .s-mn .caption { font-size: calc(var(--u) * 19); }
.board .tile.crop.fill.s-lm:not(.shot):not(.plain) > img:not(.hero-icon) { object-position: center bottom; }

/* Cards play the wallpaper video behind their picture. */
.card-media > video.cardwall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tile video.wall, .live-parts video.wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- maccontrol: words and the real read-out side by side (kit part: split) ---------- */
.mc { width: min(1260px, 87.5vw); margin: 0 auto; padding: 140px 0 40px; display: grid; grid-template-columns: 1fr 1.75fr; gap: 56px; align-items: center; }
.mc-words { min-width: 0; }
.mc-icon { width: 96px; height: 96px; }
.mc .eyebrow { margin: 18px 0 0; font-size: 19px; font-weight: 600; color: var(--sub); }
.mc h2 { margin: 6px 0 0; font: 600 48px/52px -apple-system, "SF Pro Display", sans-serif; letter-spacing: -.003em; color: var(--ink); text-wrap: balance; }
.mc-lede { margin: 18px 0 0; max-width: 34ch; font-size: 21px; line-height: 29px; color: var(--sub); }
.mc-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 36em; }
.mc-points .lead-sentence { font-size: 17px; line-height: 24px; font-weight: 400; }
.mc-shot { position: relative; margin: 0; min-width: 0; }
.mc-shot > img { width: 100%; height: auto; border-radius: 22px; display: block; }
.mc-out { position: absolute; right: -14px; bottom: 54px; margin: 0; padding: 18px 20px; border-radius: 18px; background: rgb(28 28 30 / .86);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #f5f5f7; font: 500 12.5px/1.65 var(--mono); white-space: pre; box-shadow: 0 20px 40px rgb(0 0 0 / .25); }
.mc-out b { color: #4cd964; font-weight: 600; }
.mc-shot figcaption { margin-top: 14px; font-size: 14px; color: var(--sub); }
@media (max-width: 900px) { .mc { grid-template-columns: 1fr; gap: 32px; padding-top: 100px; } .mc h2 { font-size: 36px; line-height: 40px; } .mc-out { position: static; margin-top: 12px; white-space: pre-wrap; } }

/* ---------- Taste: the eval record and what the agent built ---------- */
.taste { width: min(1260px, 87.5vw); margin: 0 auto; padding-bottom: 20px; }
.taste-intro { padding-left: 0; padding-right: 0; }
.taste-log { list-style: none; margin: 0 auto 48px; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.taste-log li { min-width: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.taste-log .ver { display: block; font-size: 14px; font-weight: 600; color: var(--sub); margin-bottom: 8px; }
.taste-log .lead-sentence { font-size: 17px; line-height: 24px; font-weight: 400; display: block; }
.taste .media-card { min-height: 420px; }
.taste .media-card img { object-position: center top; }
@media (max-width: 760px) { .taste-log { grid-template-columns: 1fr; gap: 20px; } .taste { width: calc(100% - 28px); } }
.mc-out { bottom: -44px; right: -18px; }
.mc-shot figcaption { margin-top: 18px; max-width: 48%; }
@media (max-width: 900px) { .mc-shot figcaption { max-width: none; } }

/* =====================================================================
   One column, one rhythm. Every section shares the board's width and edges.
   ===================================================================== */
:root { --col: min(1191px, 100% - 48px); --gap-section: 160px; }
.bento, .kit-cards, .mc, .taste, .panel, .get { width: var(--col); margin-left: auto; margin-right: auto; }
.intro { padding: var(--gap-section) 0 56px; width: var(--col); margin: 0 auto; }
.intro h2 { color: var(--ink); }
.intro p:last-child:not(.eyebrow) { max-width: 34em; }
.mc { padding: var(--gap-section) 0 0; }
.kit-cards { padding: 0; }
.kit-cards .title { margin: var(--gap-section) 0 40px; }
.taste .media-grid { margin-top: 56px; }
.get { padding: var(--gap-section) 0 40px; }
.foot { padding: 72px 20px 80px; }
.panel { border-radius: 30px; }

/* ---------- Hero: the three, side by side ---------- */
.trio { display: flex; align-items: center; justify-content: center; gap: 18px; }
.trio .app-icon { width: clamp(84px, 7.6vw, 120px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.trio .x { font-size: 28px; font-weight: 300; color: var(--title-ink); opacity: .7; }
.trio .cmd { display: inline-flex; align-items: center; height: clamp(56px, 4.8vw, 72px); padding: 0 26px; border-radius: 999px;
  background: var(--capsule); color: #1d1d1f; font: 600 clamp(22px, 2vw, 30px)/1 var(--mono); letter-spacing: -.02em; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.hero-sub { max-width: 30ch; }

/* ---------- The board: three bands, 1191 × 1424 units ---------- */
.bento { width: var(--col); }
.board { aspect-ratio: 1191 / 1424; }
.s-ml  { left: 0; top: calc(var(--u) * 652); width: calc(var(--u) * 330); height: calc(var(--u) * 380); }
.s-mm  { left: calc(var(--u) * 342); top: calc(var(--u) * 652); width: calc(var(--u) * 507); height: calc(var(--u) * 380); }
.s-mrt { left: calc(var(--u) * 861); top: calc(var(--u) * 652); width: calc(var(--u) * 330); height: calc(var(--u) * 184); }
.s-mrb { left: calc(var(--u) * 861); top: calc(var(--u) * 848); width: calc(var(--u) * 330); height: calc(var(--u) * 184); }
.s-dl  { left: 0; top: calc(var(--u) * 1044); width: calc(var(--u) * 330); height: calc(var(--u) * 380); }
.s-dm1 { left: calc(var(--u) * 342); top: calc(var(--u) * 1044); width: calc(var(--u) * 247); height: calc(var(--u) * 184); }
.s-dm2 { left: calc(var(--u) * 601); top: calc(var(--u) * 1044); width: calc(var(--u) * 248); height: calc(var(--u) * 184); }
.s-dm3 { left: calc(var(--u) * 342); top: calc(var(--u) * 1240); width: calc(var(--u) * 507); height: calc(var(--u) * 184); }
.s-dr  { left: calc(var(--u) * 861); top: calc(var(--u) * 1044); width: calc(var(--u) * 330); height: calc(var(--u) * 380); }

/* Brand tiles open each band: the product's icon or command, its name, one line. */
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 6); }
.brand-icon { width: calc(var(--u) * 132); height: auto; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .2)); margin-bottom: calc(var(--u) * 10); }
.brand-name { font-size: calc(var(--u) * 36); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { font-size: calc(var(--u) * 21); font-weight: 600; color: var(--sub); }
.brand-cmd { font: 600 calc(var(--u) * 46)/1 var(--mono); letter-spacing: -.03em; color: var(--ink); margin-bottom: calc(var(--u) * 10); }
.pointer-tile { background: #888; }
.pointer-tile > img { position: absolute; left: 50%; top: 58%; width: 80%; height: auto; translate: -50% -50%; }
.pointer-tile .label { color: #fff !important; text-shadow: none; }
.live-syms-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 18); }
.live-syms-tile .syms { display: grid; grid-template-columns: repeat(4, auto); gap: calc(var(--u) * 22); }
.live-syms-tile svg.sym { height: calc(var(--u) * 36); width: auto; color: var(--ink); }
.live-syms-tile .caption, .s-dm2 .caption, .s-mrb .caption { font-size: calc(var(--u) * 19); font-weight: 600; letter-spacing: -.3px; }
.s-mrb svg.sym, .s-dm2 svg.sym { height: calc(var(--u) * 44); width: auto; color: var(--ink); }
.words-tile { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 8); padding: 0 calc(var(--u) * 40); text-align: left; }
.words-tile .before { font-size: calc(var(--u) * 17); line-height: 1.35; }
.words-tile .after { font-size: calc(var(--u) * 23); line-height: 1.25; font-weight: 600; }
.card-media .card-cmd { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 18px 34px; border-radius: 999px;
  background: var(--capsule); color: #1d1d1f; font: 600 44px/1 var(--mono); letter-spacing: -.03em; }

/* A flat window shot in the gallery: no Mac frame, rounded like a window. */
.slide > img.flat { border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); height: calc(100% - 290px); margin-bottom: 140px; }

/* Bottom: three things /design does, then what an agent built with it. */
.taste-log { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.taste-log li { padding-top: 22px; }

@media (max-width: 733px) {
  :root { --col: calc(100% - 28px); --gap-section: 104px; }
  .trio { gap: 10px; } .trio .app-icon { width: 64px; } .trio .cmd { height: 48px; padding: 0 16px; font-size: 19px; } .trio .x { font-size: 20px; }
  .board .s-ml, .board .s-dl { grid-column: span 2; aspect-ratio: 507 / 300; }
  .board .s-ml { order: 9; } .board .s-mm { order: 10; grid-column: span 2; aspect-ratio: 507 / 380; }
  .board .s-mrt { order: 11; aspect-ratio: 1; } .board .s-mrb { order: 12; aspect-ratio: 1; }
  .board .s-dl { order: 13; } .board .s-dm1 { order: 14; grid-column: span 2; aspect-ratio: 507 / 184; }
  .board .s-dm2 { order: 15; aspect-ratio: 1; } .board .s-dr { order: 16; aspect-ratio: 1; }
  .board .s-dm3 { order: 17; grid-column: span 2; aspect-ratio: 507 / 220; }
  .taste-log { grid-template-columns: 1fr; }
  .slide > img.flat { height: auto; width: 92%; margin-bottom: 110px; }
}
/* The starter fills every tile picture; these two keep their own size and place. */
.board .tile.brand-tile > img.brand-icon { position: static; inset: auto; width: calc(var(--u) * 132); height: auto; object-fit: contain; }
.board .tile.pointer-tile:not(.shot):not(.plain) > img:not(.hero-icon) { position: absolute; inset: auto; left: 50%; top: 60%; width: 78%; height: auto; translate: -50% -50%; object-fit: contain; }
.words-tile .after { text-wrap: balance; }
.hero-sub { max-width: 38ch; }
@media (max-width: 733px) { .board { aspect-ratio: auto; } .localnav strong { font-size: 16px; } .localnav small { display: none; } }

/* ---------- What /design does: the kit's feature row, each demo live on the stage ---------- */
.kit-feats { width: var(--col); margin: 0 auto; }
.kit-feats .title { margin: var(--gap-section) 0 48px; text-align: center; color: var(--ink); }
.kit-feats .feature-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kit-feats .lead-sentence { font-size: 17px; line-height: 24px; font-weight: 400; }
.kit-feats .feature-row svg.sym { height: 40px; color: var(--ink); }
.feature-stage { background: var(--well); }
.feature-stage > .fs { display: grid; place-items: center; }
.fs-icons { grid-template-columns: repeat(4, auto); justify-content: center; align-content: center; gap: 64px; }
.fs-icons svg.sym { height: 84px; width: auto; color: var(--ink); }
.fs-parts { background: #000; }
.fs-parts .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-parts .tray { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transform: scale(1.3); }
.fs-words { align-content: center; justify-items: start; gap: 18px; padding: 0 12%; }
.fs-words .before { font-size: 24px; line-height: 1.4; } .fs-words .after { font-size: 36px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
.fs-guides { display: flex !important; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; padding: 0 10%; }
.fs-guides span { height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--tile); color: var(--sub); opacity: .5; font: 500 16px/1 var(--mono); }
.fs-guides span.on { opacity: 1; background: var(--ink); color: var(--page); }
img.fs { object-fit: contain !important; padding: 4% 6%; }
.fs-out pre { margin: 0; font: 500 22px/1.7 var(--mono); color: var(--ink); white-space: pre; }
.fs-out b { font-weight: 500; color: var(--sub); } .fs-out .ok { color: #1f9d48; font-weight: 700; } [data-theme="dark"] .fs-out .ok { color: #4cd964; }
@media (max-width: 860px) { .kit-feats .feature-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 733px) { .kit-feats .feature-row { grid-template-columns: 1fr; gap: 28px; } .fs-icons { gap: 28px; } .fs-icons svg.sym { height: 48px; }
  .fs-parts .tray { transform: scale(.78); } .fs-words .before { font-size: 15px; } .fs-words .after { font-size: 21px; } .fs-guides span { height: 32px; font-size: 12px; padding: 0 12px; } .fs-out pre { font-size: 14px; } }

/* A window shot in a card: on the plain card colour, rounded and lifted like a window, never pasted on the wallpaper. */
.card-media.flat-media { background: var(--well); }
.card-media.flat-media > img.on-wall { inset: 36px 44px 84px; width: calc(100% - 88px); height: calc(100% - 120px); object-fit: contain;
  border-radius: 14px; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .28)); }
.card-media.flat-media > img.on-wall { inset: auto; left: 50%; top: 45%; translate: -50% -50%; width: auto; height: auto;
  max-width: calc(100% - 96px); max-height: calc(100% - 150px); object-fit: fill; }
.card:has(.flat-media) .expand { color: var(--ink); text-shadow: none; }

/* Every text and icon tile keeps the same inner margin as the picture tiles (about 28 units), so nothing runs to the edge. */
.board .tile.plain, .board .tile.live-syms-tile, .board .tile.brand-tile { padding: calc(var(--u) * 28); }
.live-syms-tile .syms { gap: calc(var(--u) * 26); }
.live-syms-tile svg.sym { height: calc(var(--u) * 30); }
.words-tile { padding: 0 calc(var(--u) * 44); }
.live-syms-tile .syms { gap: calc(var(--u) * 20); }
.live-syms-tile svg.sym { height: calc(var(--u) * 26); }
.board .tile.crop.fill.s-dr:not(.shot):not(.plain) > img:not(.hero-icon) { object-position: 40% center; }
.taste .media-card img { object-position: center; }
/* Bottom examples: each picture whole, rounded, with its caption under it, never over busy UI. */
.taste .media-grid { align-items: start; }
.taste .media-card { min-height: 0; clip-path: none; background: none; overflow: visible; border-radius: 0; }
.taste .media-card img { position: static; width: 100%; height: auto; object-fit: contain; border-radius: 28px; }
.taste .media-card figcaption { position: static; padding: 18px 4px 0; background: none; color: var(--sub); font-size: 17px; line-height: 24px; }
.taste .media-card figcaption strong { color: var(--ink); }

/* The suite tile: the three marks side by side on the wallpaper. */
.suite { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 16); margin-bottom: calc(var(--u) * 18); }
.board .tile .suite-icon { position: static; width: calc(var(--u) * 96); height: auto; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.22)); }
.suite-cmd { display: inline-flex; align-items: center; height: calc(var(--u) * 58); padding: 0 calc(var(--u) * 20); border-radius: 999px;
  background: var(--capsule); color: #1d1d1f; font: 600 calc(var(--u) * 24)/1 var(--mono); box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.hero-tile .hero-name { font-size: calc(var(--u) * 34); }
.hero-tile .hero-sub { font-size: calc(var(--u) * 20); font-weight: 600; }
.hero-stack h1 { font-size: clamp(38px, 5vw, 76px); }

.get-trio { gap: 14px; margin-bottom: 6px; }
.get-trio .app-icon { width: 84px; }
.get-trio .cmd { height: 60px; font-size: 24px; padding: 0 22px; background: var(--ink); color: var(--page); box-shadow: none; }
.hero-sub { text-shadow: 0 1px 14px color-mix(in srgb, var(--page) 55%, transparent); }
@media (max-width: 733px) { .get-trio .app-icon { width: 60px; } .get-trio .cmd { height: 44px; font-size: 18px; padding: 0 14px; } }
.kit-feats .title { font: 700 clamp(40px, 4.4vw, 60px)/1.1 -apple-system, "SF Pro Display", sans-serif; letter-spacing: -.02em; }
/* Gallery: the Mac sits clear of the words above it and the controls below it. */
@media (min-width: 734px) {
  .gallery { height: 760px; }
  .slide-copy { padding: 52px 56px 0; }
  .slide > img { height: calc(100% - 330px); margin: auto auto 128px; }
  .slide > img.flat { height: calc(100% - 360px); margin-bottom: 140px; }
}

/* Replay: a frosted round button in the stage's corner, shown once the demo has played. */
.feature-stage .replay { position: absolute; z-index: 3; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: color-mix(in srgb, var(--tile) 72%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0,0,0,.12);
  opacity: 0; scale: .6; pointer-events: none; transition: opacity .3s var(--ease), scale .5s var(--pop), transform .45s var(--hover); }
.feature-stage .replay.show { opacity: 1; scale: 1; pointer-events: auto; }
.feature-stage .replay:hover { transform: scale(1.06); }
.feature-stage .replay:active { transform: scale(.94); transition-duration: .15s; }
.feature-stage .replay svg { width: 22px; height: 22px; }

.stage-wrap { position: relative; }
.stage-wrap .feature-stage { margin-bottom: 48px; }
.stage-wrap > .replay { position: absolute; z-index: 3; right: calc((100% - min(860px, 100%)) / 2 + 20px); bottom: 68px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: color-mix(in srgb, var(--tile) 72%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0,0,0,.12);
  opacity: 0; scale: .6; pointer-events: none; transition: opacity .3s var(--ease), scale .5s var(--pop), transform .45s var(--hover); }
.stage-wrap > .replay.show { opacity: 1; scale: 1; pointer-events: auto; }
.stage-wrap > .replay:hover { transform: scale(1.06); }
.stage-wrap > .replay:active { transform: scale(.94); transition-duration: .15s; }
.stage-wrap > .replay svg { width: 22px; height: 22px; }
/* App icons carry their own edge; a CSS drop shadow renders as a grey box in Safari. */
.trio .app-icon, .get-trio .app-icon, .brand-icon, .board .tile .suite-icon, .hero-tile .hero-icon, .mc-icon { filter: none !important; }
/* A smaller stage: the demo is a preview, not the main event. */
.kit-feats .feature-stage { width: min(680px, 100%); aspect-ratio: 16 / 9; }
.stage-wrap > .replay { right: calc((100% - min(680px, 100%)) / 2 + 16px); bottom: 64px; width: 42px; height: 42px; }
.fs-icons { gap: 44px; } .fs-icons svg.sym { height: 60px; }
.fs-words .before { font-size: 19px; } .fs-words .after { font-size: 28px; }
.fs-guides span { height: 36px; font-size: 13px; padding: 0 14px; } .fs-guides { gap: 9px; }
.fs-out pre { font-size: 17px; }
.fs-parts .tray { transform: scale(1.05); }
/* Window shots in cards sit on the moving wallpaper, like every other card. */
.card-media.flat-media { background: #000; }
.card-media.flat-media > img.on-wall { filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .4)); }
.card:has(.flat-media) .expand { color: rgba(255,255,255,.92); text-shadow: 0 1px 5px rgba(0,0,0,.55); }

/* Replay sits in the stage's corner, concentric with it: 44 pt round, 14 pt in from a 28 pt corner. */
.feature-stage > .replay { position: absolute; inset: auto 14px 14px auto; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 2px 10px rgba(0,0,0,.12);
  opacity: 0; scale: .6; pointer-events: none; transition: opacity .3s var(--ease), scale .5s var(--pop), transform .45s var(--hover); }
[data-theme="dark"] .feature-stage > .replay { background: rgba(72, 72, 76, .72); box-shadow: none; }
.feature-stage > .replay.show { opacity: 1; scale: 1; pointer-events: auto; }
.feature-stage > .replay:hover { transform: scale(1.06); }
.feature-stage > .replay:active { transform: scale(.94); transition-duration: .15s; }
.feature-stage > .replay svg { width: 20px; height: 20px; }
.card-media.mac-media { background: #000; }
.card-media.mac-media > img.on-wall { border-radius: 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.mc-shot > img { border-radius: 0; }
.mc-out { bottom: -24px; }

/* ---------- Review fixes (2026-11-27) ---------- */
:root { --grey: #5e5e63; }
.localnav .pill, [data-theme="dark"] .localnav .pill { background: #0071e3; }
.pointer-tile { background: #636366; }
/* Phones: the theme switch sits in the nav, never floating over the page. */
.nav-theme { display: none; }
@media (max-width: 760px) {
  .theme.corner { display: none; }
  .localnav .nav-theme { display: grid; place-items: center; width: 36px; height: 36px; min-width: 0; min-height: 0; color: var(--ink); opacity: .88; }
  .localnav .nav-theme .ico { width: 18px; height: 18px; }
}
/* Printing or a full-page capture shows everything, not the pre-reveal state. */
@media print { [data-reveal], .tile, .feature-row li, .pills > li { opacity: 1 !important; transform: none !important; } .localnav, .theme { display: none !important; } }
/* Type: headlines 600, ledes and body 400. */
.hero-stack h1, .intro h2, .kit-feats .title, .mc h2, .get h2, .slide-copy h3, .card-body h2, .brand-name, .hero-tile .hero-name, .tile .big, .tile.quote .said { font-weight: 600; }
.hero-sub, .slide-copy p, .intro p:last-child:not(.eyebrow), .mc-lede, .get > p, .hero-tile .hero-sub, .brand-sub { font-weight: 400; }
[data-theme="dark"] { --grey: #a1a1a6; }

/* ---------- Get started: two steps, the plugin commands and the app ---------- */
.get-steps { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; width: min(1000px, 100%); margin-top: 40px; text-align: left; }
.get-step { display: flex; gap: 18px; padding: 28px; border-radius: 28px; background: var(--tile); min-width: 0; }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--board); font-weight: 600; font-size: 15px; color: var(--ink); }
.step-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.step-body b { font-size: 19px; font-weight: 600; color: var(--ink); }
.step-body > span { font-size: 15px; color: var(--grey); }
.term { margin-top: 16px; display: flex; align-items: flex-start; gap: 12px; padding: 16px 16px 16px 20px; border-radius: 18px; background: #1d1d1f; }
.term code { flex: 1; min-width: 0; display: grid; gap: 6px; font: 500 14px/1.45 var(--mono); color: #f5f5f7; overflow-x: auto; }
.t-line { white-space: nowrap; } .t-line::before { content: "› "; color: #8e8e93; }
.t-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #f5f5f7; font-size: 13px; font-weight: 600;
  transition: filter .4s var(--hover), transform .5s var(--hover), background-color .3s var(--ease); }
.t-copy:hover { filter: brightness(1.15); } .t-copy:active { transform: scale(.98); transition-duration: .15s; }
.t-copy .ico { width: 15px; height: 15px; } .t-copy.done { background: #34c759; }
.capsule.install.dl { width: auto; height: 50px; padding: 0 24px 0 20px; margin-top: 16px; align-self: flex-start; font-size: 17px; gap: 8px; }
.capsule.install.dl .ico { width: 19px; height: 19px; color: var(--page); }
@media (max-width: 860px) { .get-steps { grid-template-columns: 1fr; } }
@media (max-width: 733px) { .get-step { padding: 20px; gap: 14px; } .term code { font-size: 12px; } }
.step-k { font-size: 13px; font-weight: 600; color: var(--grey); margin-bottom: 2px; }
.get-step { padding: 28px 30px; }
/* Commands never get cut: they wrap, and Copy sits under them. */
.term { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 18px 14px 20px; }
.term code { overflow: visible; }
.t-line { white-space: normal; overflow-wrap: anywhere; padding-left: 1.1em; text-indent: -1.1em; }
.t-copy { align-self: flex-end; }
[data-theme="dark"] .term { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

/* ---------- Inspector fixes (2026-11-27) ---------- */
.guide.on .n { color: rgba(0, 0, 0, .62); }
.love-title, .love-by { font-weight: 600; }
.tally { font-weight: 400; }
.capsule.install.dl { transition: filter .4s var(--hover), transform .5s var(--hover); }
/* Labels never closer than 16 px to a tile's edge. */
.board .tile .label { padding-inline: max(16px, calc(var(--u) * 20)); }
@media (max-width: 760px) {
  /* Tap targets: 44 pt even where the control is drawn smaller. */
  .localnav .pill { position: relative; }
  .localnav .pill::after, .t-copy::after { content: ""; position: absolute; inset: -10px -4px; }
  .t-copy { position: relative; }
  .dot::before { inset: -18px -8px; }
  .board .tile .label { font-size: 15px; }
}
.span-6 { grid-column: span 6; }
@media (max-width: 760px) { .span-6 { grid-column: span 12; } }
.get-steps { grid-template-columns: 1fr 1fr; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dl-row .capsule.install.dl { margin-top: 0; }
.get-fine a { color: inherit; }
.term { flex-direction: row; align-items: center; }
.t-copy { align-self: center; }
.get-steps { grid-template-columns: 1.2fr 1fr; }
.t-line { white-space: nowrap; overflow-wrap: normal; padding-left: 0; text-indent: 0; }
.term code { overflow-x: auto; scrollbar-width: none; }
@media (max-width: 860px) { .get-steps { grid-template-columns: 1fr; } }
@media (max-width: 733px) { .term code { font-size: 13px; } }
@media (max-width: 733px) { .term { flex-direction: column; align-items: stretch; } .t-copy { align-self: flex-end; } .term code { font-size: 12.5px; } }
@media (max-width: 733px) { .term code { font-size: 11.5px; } .term { padding: 16px 14px 12px 16px; } .t-line::before { content: ""; } }
/* Eight features: four to a row. */
.kit-feats .feature-row { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
@media (max-width: 1100px) { .kit-feats .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 733px) { .kit-feats .feature-row { grid-template-columns: 1fr; } }
/* Frame Studio: the bare screenshot, then the framed Mac settles in over it. */
.fs-frame img { position: absolute; inset: 6% 8%; width: 84%; height: 88%; object-fit: contain; }
.fs-frame .raw { border-radius: 8px; transition: opacity .5s ease .7s, transform .9s cubic-bezier(.22,1,.36,1) .5s; }
.fs-frame .framed { opacity: 0; transform: scale(1.06); transition: opacity .6s ease .7s, transform .9s cubic-bezier(.22,1,.36,1) .6s; }
.fs-frame.is-on .raw { opacity: 0; transform: scale(.94); }
.fs-frame.is-on .framed { opacity: 1; transform: none; }
img.fs.fs-insp { object-fit: cover !important; padding: 0; }
@media (prefers-reduced-motion: reduce) { .fs-frame .raw { opacity: 0; } .fs-frame .framed { opacity: 1; transform: none; } }
/* Guide icons from the kit: each guide's own, light and dark; no ring or radius on the img, it carries its own shape. */
.guide { gap: 10px; padding-left: 7px; }
.g-ico { width: 28px; height: 28px; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
.kit-ico { width: 1.25em; height: 1.25em; margin-right: .35em; vertical-align: -.25em; }
.trio .cmd, .suite-cmd { gap: 0; }
.brand-kit-ico { position: static !important; width: calc(var(--u) * 104) !important; height: auto !important; margin-bottom: calc(var(--u) * 14); filter: drop-shadow(0 8px 18px rgba(0,0,0,.2)); }
@media (max-width: 733px) { .g-ico { width: 22px; height: 22px; } .guide { padding-left: 6px; } }

/* Credited guides from other authors: the author in small grey before the name. */
.guide .by { font: 600 11px/1 -apple-system, sans-serif; letter-spacing: .01em; color: currentColor; opacity: .55; margin-right: 6px; }
.guide .by::after { content: " /"; }
.get-fine { max-width: 46em; margin-inline: auto; text-wrap: balance; }
/* Two commands: one step per row, so each command shows whole. */
.get-steps { grid-template-columns: 1fr; width: min(760px, 100%); }
@media (max-width: 733px) { .t-line { white-space: normal; overflow-wrap: anywhere; } .term code { font-size: 12.5px; } }


/* ---------- Guides as icons: the name shows on hover or focus; the step number is a badge ---------- */
.guides { gap: 14px; max-width: 920px; }
.guide { position: relative; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 14px;
  background: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; cursor: default; outline: none; }
.guide .g-ico { width: 52px; height: 52px; transition: transform .45s var(--hover), opacity .5s var(--hover), filter .5s var(--hover); }
.reader.picked .guide { opacity: 1; }
.reader.picked .guide:not(.on) .g-ico { opacity: .28; filter: saturate(.4) drop-shadow(0 1px 2px rgba(0,0,0,.18)); transform: scale(.86); }
.guide:hover .g-ico, .guide:focus-visible .g-ico { transform: scale(1.06); opacity: 1 !important; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)) !important; }
.guide .n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: none;
  place-items: center; font: 700 11px/20px -apple-system, sans-serif; text-align: center; color: #1d1d1f; background: var(--capsule);
  box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.guide.on .n { display: block; }
.g-name { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px; z-index: 5; white-space: nowrap; pointer-events: none;
  padding: 7px 12px; border-radius: 10px; background: rgba(29,29,31,.92); color: #f5f5f7; font: 500 13px/1 var(--mono);
  opacity: 0; transition: opacity .18s ease, translate .25s var(--hover); }
.g-name .by { color: #f5f5f7; opacity: .6; font: 600 11px/1 -apple-system, sans-serif; }
.guide:hover .g-name, .guide:focus-visible .g-name, .guide:focus .g-name { opacity: 1; translate: -50% 0; }
@media (max-width: 733px) { .guide { width: 44px; height: 44px; } .guide .g-ico { width: 40px; height: 40px; } .guides { gap: 10px; }
  .reader.picked .guide:not(.on) { display: flex; } }

/* Placeholders, written into the page by tools/lqip.py: a picture is its own blurred copy until it loads. */
img[style*="--lq-l"] { background: var(--lq-l) center / cover no-repeat; }
[data-theme="dark"] img[style*="--lq-l"] { background-image: var(--lq-d); }
/* A picture that hasn't arrived never shows its alt text or a broken-image box. */
img { color: transparent; }
img:not([src]) { visibility: hidden; }
.t-line { white-space: normal; overflow-wrap: anywhere; }
.term code { overflow: visible; }
