/* Product-specific styles. Loaded after base.css. Keep the slot values in sync with DESIGN.md. */
:root {
  --wall-glow-1: #e4efff;
  --wall-glow-2: #bcd5fa;
  --wall-top: #a7c6f1;
  --wall-mid: #2e6bd3;
  --wall-bottom: #0e1f45;
  --accent: #9cc3ff;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  /* dark-mode system blue: the app's default accent for zones and selection */
  --zone: 10, 132, 255;
}

.brand img { display: block; }
.mark-big img { width: 46px; height: 46px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* inline keycaps in copy */
kbd { font: 500 .86em/1 var(--body); padding: 2px 6px; border-radius: 5px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .1); white-space: nowrap; }

/* =====================================================================
   Desktop inside .screen
   ===================================================================== */
.screen { font-family: var(--mac); color: #1d1d1f; user-select: none; -webkit-user-select: none; }
.screen:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.menubar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; font: 500 13.5px var(--mac); color: #1d1d1f; }
.menubar .left { display: flex; gap: 20px; align-items: center; }
.menubar .left b { font-weight: 700; }
.menubar .right { display: flex; gap: 6px; align-items: center; }
.mb-item { height: 22px; padding: 0 7px; border-radius: 6px; display: grid; place-items: center; }
.mb-item.on { background: rgba(255, 255, 255, .42); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5); }
.mb-item svg { display: block; }

.screen > .desk { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; }

/* ---- app windows ---- */
.win { position: absolute; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 24px 60px -10px rgba(0, 0, 0, .45);
  transition: left .5s var(--ease), top .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s, box-shadow .2s; }
.win.dragging { transition: width .3s var(--ease), height .3s var(--ease), box-shadow .2s; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 34px 80px -12px rgba(0, 0, 0, .55); }
.desk.instant .win { transition: none; }
.win.hidden { opacity: 0; pointer-events: none; }
.tb { height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; cursor: grab; touch-action: none; font: 600 12.5px var(--mac); }
.win.dragging .tb { cursor: grabbing; }
.tb i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: rgba(128, 128, 132, .45); }
.win.focus .tb i:nth-child(1), .mz .tb i:nth-child(1) { background: #ff5f57; }
.win.focus .tb i:nth-child(2), .mz .tb i:nth-child(2) { background: #febc2e; }
.win.focus .tb i:nth-child(3), .mz .tb i:nth-child(3) { background: #28c840; }
.tb .t { flex: 1; text-align: center; margin-right: 52px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-body { flex: 1; min-height: 0; overflow: hidden; }

.w-code { background: #1f2024; color: #d8dae0; }
.w-code .tb { background: #2a2b30; color: rgba(255, 255, 255, .78); border-bottom: 1px solid rgba(0, 0, 0, .45); }
.w-code pre { margin: 0; padding: 14px 0; font: 12.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; counter-reset: ln; }
.w-code pre span.l { display: block; padding-left: 52px; position: relative; }
.w-code pre span.l::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 34px; text-align: right; color: rgba(255, 255, 255, .25); }
.k { color: #fc5fa3; } .ty { color: #5dd8ff; } .s { color: #fc6a5d; } .c { color: #8a96a3; } .n { color: #d0bf69; } .f { color: #67b7a4; }

.w-web { background: #fff; color: #1d1d1f; }
.w-web .tb { background: #f4f4f5; border-bottom: 1px solid rgba(0, 0, 0, .1); height: 40px; }
.w-web .url { flex: 1; max-width: 300px; margin: 0 auto; height: 24px; border-radius: 7px; background: rgba(0, 0, 0, .06); display: grid; place-items: center; font: 500 12px var(--mac); color: rgba(0, 0, 0, .7); overflow: hidden; white-space: nowrap; }
.w-web .page { padding: 22px 26px; }
.w-web .page small { display: block; font: 500 11px var(--mac); color: rgba(0, 0, 0, .5); }
.w-web .page .h { display: block; font: 700 22px/1.15 var(--mac); letter-spacing: -.01em; margin: 6px 0 10px; }
.w-web .page p { font: 13px/1.55 var(--mac); color: rgba(0, 0, 0, .7); margin-bottom: 10px; max-width: 34em; }
.w-web .page ul { font: 13px/1.55 var(--mac); color: rgba(0, 0, 0, .7); padding-left: 18px; }

.w-term { background: #16171b; color: #d6d6d6; }
.w-term .tb { background: #232428; color: rgba(255, 255, 255, .7); border-bottom: 1px solid rgba(0, 0, 0, .5); }
.w-term pre { margin: 0; padding: 12px 14px; font: 12.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; }
.w-term .p { color: #5fd7a7; } .w-term .dim { color: rgba(255, 255, 255, .45); }
.w-term .cur { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: rgba(255, 255, 255, .7); }

/* ---- zone overlay (ZoneOverlayView.swift) ---- */
.zones { position: absolute; inset: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .16s; }
.zones.show { opacity: 1; }
.zone { position: absolute; border-radius: 14px; display: grid; place-items: center; scale: .975;
  background: rgba(var(--zone), .12); box-shadow: inset 0 0 0 2px rgba(var(--zone), .55);
  transition: background .12s, box-shadow .12s, scale .26s var(--spring); }
.zones:not(.show) .zone { scale: .92; }
.zone b { font: 600 64px/1 var(--round); color: rgba(255, 255, 255, .6); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.zone.hot, .zone.sel { scale: 1; background: rgba(var(--zone), .3); box-shadow: inset 0 0 0 3px rgba(var(--zone), .95); }
.zone.sel { background: rgba(var(--zone), .35); }
.zone.hot b, .zone.sel b { color: rgba(255, 255, 255, .95); }
.zone .ok { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgb(var(--zone)); display: none; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.zone.sel .ok { display: grid; }
.union { position: absolute; border-radius: 18px; box-shadow: inset 0 0 0 5px rgb(var(--zone)), 0 2px 16px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .12s; }
.union.show { opacity: 1; }

/* ---- fake pointer and keycaps for the demo ---- */
.cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 26px; pointer-events: none; opacity: 0;
  transition: transform var(--t, .7s) var(--ease), opacity .2s; }
.cursor.show { opacity: 1; }
.cursor.press svg { scale: .9; transform-origin: 4px 4px; }
.screen .keys { position: absolute; z-index: 25; left: 50%; bottom: 22px; transform: translate(-50%, 12px); display: flex; gap: 8px; opacity: 0; transition: .25s var(--ease); pointer-events: none; }
.screen .keys.show { opacity: 1; transform: translate(-50%, 0); }
.screen .keys kbd { min-width: 52px; height: 52px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; font: 500 21px var(--mac); color: #1d1d1f;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08), 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform .1s; }
.screen .keys kbd.down { transform: translateY(2px) scale(.97); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08), 0 6px 14px -8px rgba(0, 0, 0, .35); }
.screen .keys span { align-self: center; padding: 0 6px; font: 500 15px var(--mac); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }

/* ---- MacZones layout editor window (LayoutEditorView.swift) ---- */
.mz { position: absolute; z-index: 2000; left: 8.5%; top: 6.5%; width: 83%; height: 87%; border-radius: 14px; overflow: hidden;
  display: grid; grid-template-rows: 32px 50px minmax(0, 1fr); background: #1e1e20; color: rgba(255, 255, 255, .9); font: 13px/1.3 var(--mac);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), inset 0 0 0 .5px rgba(255, 255, 255, .12), 0 30px 70px -12px rgba(0, 0, 0, .55);
  transition: opacity .3s var(--ease), transform .35s var(--ease); }
.mz[hidden] { display: grid; opacity: 0; transform: scale(.96); pointer-events: none; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.mz .tb { cursor: default; background: #2a2a2d; color: rgba(255, 255, 255, .5); font-weight: 600; }
.mz .tb .t { text-align: left; margin: 0 0 0 8px; }
.mz-head { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); position: relative; }
.mz-head img { width: 26px; height: 26px; border-radius: 6px; }
.mz-head b { display: block; font-size: 14px; }
.mz-head small { display: block; font-size: 10.5px; color: rgba(235, 235, 245, .5); }
.mz-seg { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .07); }
.mz-seg span { padding: 4px 14px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.mz-seg span.on { background: linear-gradient(180deg, #2f8cff, #0a74ff); color: #fff; }
.mz-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 0; }
.mz-side { border-right: 1px solid rgba(255, 255, 255, .07); background: #232326; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.mz-side .h { display: flex; align-items: center; gap: 6px; padding: 0 4px; font-weight: 700; }
.mz-side .h em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 9px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); }
.mz-side .h i { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: rgb(var(--zone)); display: grid; place-items: center; color: #fff; font: 600 15px/1 var(--mac); font-style: normal; }
.mz-card { border-radius: 12px; padding: 9px 10px; background: rgba(var(--zone), .1); box-shadow: inset 0 0 0 1.5px rgb(var(--zone)), 0 2px 8px rgba(var(--zone), .2); }
.mz-card b { display: block; font-size: 12.5px; }
.mz-card small { display: block; font-size: 10.5px; color: rgba(235, 235, 245, .55); margin-bottom: 7px; }
.mz-card .mini { position: relative; aspect-ratio: 16 / 10; }
.mz-card .mini span { position: absolute; border-radius: 3px; background: rgba(var(--zone), .28); box-shadow: inset 0 0 0 1px rgba(var(--zone), .8); }
.mz-main { display: grid; grid-template-rows: auto auto minmax(0, 1fr) 38px 42px; min-width: 0; min-height: 0; }
.mz-title { padding: 12px 16px 8px; }
.mz-title small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: rgba(235, 235, 245, .45); }
.mz-title b { font-size: 19px; font-weight: 700; }
.mz-tpls { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mz-tpls::-webkit-scrollbar { display: none; }
.mz-tpls button { flex: none; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .1); font: 600 12px var(--mac); color: rgba(255, 255, 255, .88); transition: background .15s; }
.mz-tpls button:hover { background: rgba(255, 255, 255, .11); }
.mz-tpls button[aria-pressed=true] { background: rgba(var(--zone), .22); box-shadow: inset 0 0 0 1px rgba(var(--zone), .9); }
.mz-tpls button:focus-visible { outline: 2px solid rgb(var(--zone)); outline-offset: 1px; }
.mz-tpls .ic { position: relative; width: 18px; height: 12px; }
.mz-tpls .ic span { position: absolute; border-radius: 1.5px; background: rgb(var(--zone)); opacity: .9; }
.mz-canvas { position: relative; display: grid; place-items: center; padding: 16px 22px; min-height: 0; container-type: size;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) .8px, transparent 1.2px) 0 0 / 28px 28px, #151517; }
.board { position: relative; width: min(100cqw, 100cqh * 1.71); height: min(100cqh, 100cqw / 1.71); }
.ez { position: absolute; border-radius: 10px; background: rgba(var(--zone), .1); box-shadow: inset 0 0 0 1px rgba(var(--zone), .75); display: grid; place-items: center; text-align: center; overflow: hidden; }
.ez .num { position: absolute; top: 7px; left: 7px; width: 18px; height: 18px; border-radius: 50%; background: rgb(var(--zone)); color: #fff; display: grid; place-items: center; font: 700 10.5px var(--round); }
.ez .lbl { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.ez .lbl b { display: block; font-size: 11.5px; }
.ez .lbl small { display: block; font: 500 10px var(--round); color: rgba(235, 235, 245, .6); }
.seam { position: absolute; z-index: 2; touch-action: none; display: grid; place-items: center; }
.seam.v { width: 14px; margin-left: -7px; cursor: col-resize; }
.seam.h { height: 14px; margin-top: -7px; cursor: row-resize; }
.seam i { border-radius: 3px; background: #fff; opacity: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); transition: opacity .15s; }
.seam.v i { width: 4px; height: min(42px, 40%); }
.seam.h i { height: 4px; width: min(42px, 40%); }
.seam:hover i, .seam.on i, .mz-canvas.hint .seam i { opacity: .9; }
.mz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11.5px; color: rgba(235, 235, 245, .5); }
.mz-foot span:first-child { flex: none; padding: 4px 10px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); font-weight: 600; }
.mz-foot span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mz-apply { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .07); background: #232326; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: rgba(235, 235, 245, .45); }
.mz-apply .disp { display: flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .85); }
.mz-apply .disp i { width: 15px; height: 15px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font: 700 9px var(--mac); font-style: normal; }
.mz-apply .done { margin-left: auto; padding: 5px 14px; border-radius: 7px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; letter-spacing: 0; color: #fff; }

/* ---- compact stage (phones) ---- */
.screen.compact .menubar .left span, .screen.compact .mb-item.hide-sm { display: none; }
.screen.compact .zone b { font-size: 44px; }
.screen.compact .mz { left: 8px; top: 8px; width: calc(100% - 16px); height: calc(100% - 16px); grid-template-rows: 32px minmax(0, 1fr); }
.screen.compact .mz-head, .screen.compact .mz-side, .screen.compact .mz-foot { display: none; }
.screen.compact .mz-body { grid-template-columns: minmax(0, 1fr); }
.screen.compact .mz-main { grid-template-rows: auto auto minmax(0, 1fr) 42px; }
.screen.compact .mz-apply .disp { display: none; }
.screen.compact .keys { bottom: 16px; }
.screen.compact .keys kbd { min-width: 44px; height: 44px; font-size: 18px; }
.screen.compact .w-code pre span.l { padding-left: 14px; }
.screen.compact .w-code pre span.l::before { display: none; }

/* =====================================================================
   Feature-card fragments
   ===================================================================== */
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; font: 13px var(--mac); }
.setrow + .setrow { border-top: 1px solid rgba(0, 0, 0, .07); }
.setrow .kc kbd { font-family: var(--mac); }
.kc .w { align-self: center; font: 12px var(--mac); color: rgba(0, 0, 0, .55); padding-left: 2px; }

.frag { font: 13px/1.35 var(--mac); color: #1d1d1f; }
.frag .fh { font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.frag small { color: rgba(0, 0, 0, .55); font-size: 11px; }

.prof { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08); }
.prof + .prof { margin-top: 8px; }
.prof .top { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.prof .pill { margin-left: auto; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 9px; background: #0066d6; color: #fff; }
.prof .bind { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 12px; color: rgba(0, 0, 0, .7); }
.prof .bind svg { flex: none; color: rgba(0, 0, 0, .5); }
.prof .pop { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 1px 1px rgba(0, 0, 0, .06); font-weight: 500; color: #1d1d1f; white-space: nowrap; }
.prof .pop::after { content: "⌄"; margin-left: 5px; color: rgba(0, 0, 0, .45); }

.scene-row { display: flex; align-items: center; gap: 10px; padding: 4px 0 12px; }
.scene-row .ic { width: 30px; height: 30px; border-radius: 8px; background: rgba(0, 122, 255, .12); color: #007aff; display: grid; place-items: center; flex: none; }
.scene-row div { min-width: 0; }
.scene-row b { display: block; font-size: 13px; }
.scene-row small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac-btn { margin-left: auto; flex: none; padding: 3px 12px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 1px 1px rgba(0, 0, 0, .08); font: 500 12.5px var(--mac); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0 14px; border-top: 1px solid rgba(0, 0, 0, .07); }
.toggle-row small { display: block; margin-top: 2px; }
.sw { flex: none; width: 38px; height: 22px; border-radius: 11px; background: rgba(0, 0, 0, .14); position: relative; cursor: pointer; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.sw[aria-checked=true] { background: #34c759; }
.sw[aria-checked=true]::after { transform: translateX(16px); }
.sw:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }

.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpl { text-align: center; font: 600 11.5px var(--mac); }
.tpl .th { position: relative; aspect-ratio: 16 / 10; border-radius: 7px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1); margin-bottom: 5px; }
.tpl .th span { position: absolute; border-radius: 3px; background: rgba(0, 122, 255, .2); box-shadow: inset 0 0 0 1px rgba(0, 122, 255, .7); }
.tpl.on .th { box-shadow: inset 0 0 0 1.5px #007aff; }

.rule { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.rule + .rule { border-top: 1px solid rgba(0, 0, 0, .07); }
.rule .app { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; color: #fff; font: 700 12px var(--mac); }
.rule div { min-width: 0; }
.rule b { display: block; font-size: 13px; }
.rule .pop { margin-left: auto; flex: none; padding: 2px 8px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 1px 1px rgba(0, 0, 0, .06); font-size: 12px; white-space: nowrap; }
.rule .pop::after { content: "⌄"; margin-left: 5px; color: rgba(0, 0, 0, .45); }

/* =====================================================================
   Subpages: the older page-intro / release / download-cta markup,
   restyled into the house simple-page and article look.
   ===================================================================== */
.simple-page .wrap { max-width: none; margin: 0; padding: 0; }
.simple-page .brand img { width: 26px; height: 26px; }
.page-intro .lede { font-size: 19px; }
.simple-page .fine { font-size: 14px; color: var(--faint); margin-top: 14px; }
.simple-page .fine a, .simple-page .lede a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.release { padding-top: 32px; margin-top: 40px; border-top: 1px solid var(--line); }
.release__meta { margin-bottom: 16px; }
.release__head { font: inherit; }
.release__head > span { display: block; }
.release__version { font: 600 22px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.release__date, .release__tag, .simple-page .release__date, .simple-page .release__tag { margin: 4px 0 0; font-size: 14px; color: var(--faint); }
.simple-page .release__tag--major { color: var(--ink); font-weight: 600; }
.release__body { max-width: 680px; min-width: 0; color: var(--soft); font-size: 17px; line-height: 1.55; }
.release:has(.table-wrap) .release__body { max-width: none; }
.release__body p, .release__body ul { margin: 0 0 14px; }
.release__body .release__lede { color: var(--ink); }
.release__body strong { color: var(--ink); font-weight: 600; }
.release__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.release__body code { font: 14px var(--mono); background: var(--card); padding: 1px 5px; border-radius: 5px; color: var(--ink); }
.release__body ul { list-style: none; }
.release__body ul li { position: relative; padding-left: 20px; }
.release__body ul li + li { margin-top: 8px; }
.release__body ul li::before { content: ""; position: absolute; left: 3px; top: .78em; width: 7px; height: 1.5px; border-radius: 1px; background: var(--faint); }
.release__body h3 { font: 600 17px/1.4 var(--body); color: var(--ink); margin: 24px 0 6px; }
.release__body h3:first-child { margin-top: 0; }
.changeset { margin-top: 24px; }
.release__body > .changeset:first-child { margin-top: 0; }
.changeset__title { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font: 600 16px var(--body); color: var(--ink); }
.changeset__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--faint); }
.changeset__dot--new { background: var(--ink); }
.changeset__dot--improved { background: var(--soft); }

.table-wrap { overflow-x: auto; margin: 4px 0 8px; }
.release__body .compare { width: 100%; min-width: 560px; font-size: 15px; }
.compare td, .compare th { line-height: 1.45; }
.compare kbd { font-size: 12px; }
.compare a { color: inherit; }

.sketches { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; margin: 20px 0 24px; }
.sketch__screen { position: relative; aspect-ratio: 21 / 9; border-radius: 10px; overflow: hidden;
  background: radial-gradient(70% 80% at 15% 0%, var(--wall-glow-1), transparent 70%), radial-gradient(60% 70% at 85% 10%, var(--wall-glow-2), transparent 70%), linear-gradient(170deg, var(--wall-top), var(--wall-mid) 55%, var(--wall-bottom)); }
.sketch__screen--32x9 { aspect-ratio: 32 / 9; }
.sketch__screen--16x10 { aspect-ratio: 16 / 10; }
.sketch__zone { position: absolute; display: grid; place-items: center; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  font: 600 11px/1.2 var(--mac); color: #1d1d1f; text-align: center; }
.sketch__zone::before { content: ""; position: absolute; inset: 3px; border-radius: 5px; background: rgba(255, 255, 255, .74); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.sketch__zone span { position: relative; max-width: 100%; overflow: hidden; padding: 0 4px; }
.sketch figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.sketch figcaption strong { display: block; color: var(--ink); }

.page-shot { margin: 20px 0 24px; }
.page-shot__frame { position: relative; overflow: hidden; aspect-ratio: 1670 / 1184; border-radius: 16px; background: #1e1e1e; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 12px 30px -10px rgba(0, 0, 0, .18); }
.page-shot__frame img { position: absolute; max-width: none; height: auto; width: 107.784%; left: -3.892%; top: -4.307%; }
.page-shot figcaption { margin-top: 10px; font-size: 14px; color: var(--faint); }

.simple-page .download-cta { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.download-cta h2 { font: 700 clamp(30px, 4vw, 40px)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.simple-page .download-cta .lede { margin-top: 12px; }
.download-cta .ctas { margin-top: 24px; }

.recover__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.recover__input { flex: 1 1 240px; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); font: 16px var(--body); color: var(--ink); }
.recover__input::placeholder { color: var(--faint); }
.recover__input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.recover__form .btn:disabled { opacity: .6; cursor: progress; }
.recover__status { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--card); font-size: 15px; color: var(--ink); }
.recover__status[hidden] { display: none; }

footer .wrap > span { padding-right: 24px; }
@media (max-width: 960px) {
  footer .wrap { flex-direction: column; justify-content: center; gap: 6px; height: auto; padding-top: 24px; padding-bottom: 24px; text-align: center; }
  footer .wrap > span { padding: 0; }
  footer nav { flex-wrap: wrap; justify-content: center; gap: 0 22px; }
}
@media (max-width: 720px) {
  .sketches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .sketch figcaption { font-size: 14px; }
  .sketch__zone { font-size: 10px; }
  .release__body { font-size: 16px; }
  .release__body .compare:not(:has(thead th:nth-child(5))) { min-width: 0; font-size: 14px; }
  .simple-page { padding-top: 48px; }
  .simple-page .brand { margin-bottom: 36px; }
}

/* base.css .legal adds its own h2 margin and list indent; the release markup already spaces these. */
.legal .release__head { margin: 0; }
.legal .release__body ul { padding-left: 0; }

/* Focus Mode card: FocusModeController dims everything but the focused window (default .45 black). */
.focus-demo { position: relative; width: 100%; max-width: 440px; height: 176px; }
.focus-demo .fw { position: absolute; border-radius: 9px 9px 0 0; background: #fff; padding: 9px 10px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 14px 30px -10px rgba(0, 0, 0, .4); }
.focus-demo .fw.dark { background: #1f2024; }
.focus-demo .fw i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; background: rgba(128, 128, 132, .5); }
.focus-demo .fw.on i:nth-of-type(1) { background: #ff5f57; } .focus-demo .fw.on i:nth-of-type(2) { background: #febc2e; } .focus-demo .fw.on i:nth-of-type(3) { background: #28c840; }
.focus-demo .fw span { display: block; height: 5px; border-radius: 3px; margin-top: 9px; background: rgba(0, 0, 0, .12); }
.focus-demo .fw.dark span { background: rgba(255, 255, 255, .16); }
.card .vis:has(.focus-demo) { overflow: hidden; }
/* The focused window casts the dim over the whole desktop, wallpaper included, like the real overlay. */
.focus-demo .fw.on { z-index: 2; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 0 0 100vmax rgba(0, 0, 0, .45); }

/* Resize card: the live handle on the seam between two snapped windows (Settings → Resize handles). */
.resize-demo { position: relative; width: 100%; max-width: 440px; height: 176px; }
.focus-demo .fw, .resize-demo .fw { position: absolute; border-radius: 9px 9px 0 0; background: #fff; padding: 9px 10px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 14px 30px -10px rgba(0, 0, 0, .4); }
.resize-demo .fw.dark { background: #1f2024; }
.resize-demo .fw i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; background: rgba(128, 128, 132, .5); }
.resize-demo .fw span { display: block; height: 5px; border-radius: 3px; margin-top: 9px; background: rgba(0, 0, 0, .12); }
.resize-demo .fw.dark span { background: rgba(255, 255, 255, .16); }
.resize-demo .handle { position: absolute; top: 38%; width: 0; display: grid; place-items: center; }
.resize-demo .handle b { width: 6px; height: 54px; border-radius: 3px; background: rgb(var(--zone)); box-shadow: 0 0 0 1.5px #fff, 0 2px 8px rgba(0, 0, 0, .35); }
.resize-demo .handle svg { position: absolute; top: 64px; left: -13px; }

/* Maker credit beside the brand: the blipYard wordmark (800, tight, round baseline dot, as on blipyard.app), in Faint. */
.brand-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.by { display: flex; align-items: baseline; gap: 4px; padding-top: 2px; font-size: 14px; color: var(--faint); white-space: nowrap; transition: color .15s; }
.by b { display: flex; align-items: baseline; font-size: 16px; font-weight: 800; letter-spacing: -.045em; }
.by i { width: .34em; height: .34em; margin-left: .1em; border-radius: 50%; background: currentColor; }
.by:hover { color: var(--ink); }
.by:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.nav .wrap { gap: 12px; }
@media (max-width: 359px) { .nav .by { display: none; } }

/* Footer credit uses the same wordmark, a step smaller, inside the sentence. */
footer .credit { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; }
footer .by { padding: 0; font-size: 14px; }
footer .by b { font-size: 15px; }
@media (max-width: 960px) { footer .credit { justify-content: center; } }

/* Cookie consent banner (EU/UK visitors). Card Grey tile with a hairline ring, no
   shadow, per the Flat Chrome Rule. Stays below the Paddle overlay. */
.consent { position: fixed; z-index: 100; left: 18px; bottom: 18px; width: 340px; padding: 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); animation: consent-in .5s var(--ease); }
.consent p { font-size: 14.5px; line-height: 1.45; color: var(--soft); margin: 0 0 14px; }
.consent p b { color: var(--ink); font-weight: 600; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent-acts { display: flex; gap: 8px; }
.consent-acts .btn { flex: 1; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 720px) { .consent { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
