/* It's Better With AI: site styles ("Studio" design, 2026-11-30).
   One dark space end to end: Instrument Serif headlines, Geist text, Geist Mono labels, one yellow accent,
   and a moving wall of clips from Dan's videos. Built by build/build.py; clips and posters live in build/media. */

:root {
  --bg: #0a0a0b;
  --bg1: #111113;
  --bg2: #18181b;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --line3: rgba(255, 255, 255, .24);
  --tx: #f4f2ed;
  --tx2: #bdb9b0;
  --tx3: #a6a399;
  --read: #dedad2;
  --y: #ffe36e;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1320px;
  --g: 40px;
  --sec: 168px;
  --appbar-h: 3.125rem;
  --bleed: max(0px, (100vw - var(--max)) / 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(110px + var(--appbar-h)); }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--sans); font-size: 1.125rem; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
.prose, .panel .bd, .pcard .bd { overflow-wrap: anywhere; }
::selection { background: var(--y); color: #000; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--g); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--y); color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
body::after { content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.028em; font-size: clamp(58px, 7.3vw, 122px); line-height: .9; margin: 0; }
.display em, .h2 em, .big em { font-style: italic; color: var(--y); padding-right: .04em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.8vw, 72px); line-height: .96; letter-spacing: -.02em; margin: 0; }
.sub { color: var(--tx2); font-size: 1.125rem; line-height: 1.55; max-width: 520px; margin: 14px 0 0; }
.kick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.9375rem; color: var(--tx3); }
.kick .f { display: inline-flex; align-items: center; gap: 8px; color: var(--tx); font-weight: 500; }
.kick .f::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--y); }
.kick .s::before { content: "·"; margin-right: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 3.375rem; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 550; font-size: 1rem; line-height: 1.4; text-align: center; white-space: normal; transition: transform .5s var(--ease), background .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--tx); color: #0a0a0b; }
.btn-primary:hover { transform: translateY(-2px); background: #fff; }
.btn-ghost { border: 1px solid var(--line2); background: rgba(255, 255, 255, .025); }
.btn-ghost:hover { border-color: var(--line3); background: rgba(255, 255, 255, .06); }
.btn-round { width: 54px; padding: 0; justify-content: center; }
.btn-y { background: var(--y); color: #111; }
.btn-y:hover { transform: translateY(-2px); background: #ffeb94; }
.more { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; font-size: 1rem; font-weight: 500; color: var(--tx); white-space: normal; padding: 10px 0; transition: gap .5s var(--ease), color .2s; }
.more svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.more:hover { gap: 14px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; height: 78px; margin-bottom: -78px; pointer-events: none; }
.appbar { position: relative; z-index: 61; display: flex; min-height: 3.125rem; background: #edcd83; border-bottom: 1px solid #d1b26a; color: #49391c; font-size: .9375rem; line-height: 1.4; }
.appbar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 20px; width: 100%; max-width: var(--max); margin-inline: auto; padding: 4px var(--g); }
.appbar-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.appbar-icon { flex: none; width: 32px; height: 32px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(36, 28, 15, .16); }
.appbar-copy { min-width: 0; }
.appbar b { color: #241c0f; font-weight: 600; }
.appbar-store { flex: none; width: auto; height: 40px; }
.appbar:hover { background: #f2d58e; }
.appbar:focus-visible { outline-color: #241c0f; outline-offset: -3px; border-radius: 0; }
.nav .wrap { container: site-nav / inline-size; padding-inline: calc(var(--g) - 14px); padding-top: 14px; font-size: 1rem; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 6px 10px 6px 20px; border-radius: 999px; background: rgba(16, 16, 18, .94); border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .6); transition: background .4s, border-color .4s; }
.scrolled .pill { background: rgba(16, 16, 18, .98); border-color: var(--line2); }
.wm { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 23px; letter-spacing: -.01em; white-space: nowrap; line-height: 1; }
.wm img { width: 27px; height: auto; margin-top: -2px; }
.wm em { font-style: italic; color: var(--y); }
.nav .wm { min-width: 0; }
.nav .wm img { flex: none; }
.nav .wm span { overflow: hidden; text-overflow: ellipsis; }
.navlinks { display: none; flex: none; align-items: center; gap: 2px; margin-left: 16px; white-space: nowrap; }
.navlinks a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 999px; font-size: 1rem; line-height: 1.25; color: var(--tx2); transition: color .2s, background .2s; }
.navlinks a:hover, .navlinks a[aria-current] { color: var(--tx); background: rgba(255, 255, 255, .06); }
.nav-act { margin-left: auto; display: flex; flex: none; align-items: center; gap: 8px; white-space: nowrap; }
.kbtn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 15px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--tx2); font-size: 1rem; line-height: 1.4; transition: border-color .2s, color .2s; }
.kbtn:hover { color: var(--tx); border-color: var(--line2); }
.kbtn svg { width: 16px; height: 16px; }
kbd { font-family: var(--mono); font-size: 0.875rem; padding: 3px 7px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: var(--tx2); border: 1px solid var(--line); }
.nbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 17px; border-radius: 999px; background: var(--tx); color: #0a0a0b; font-weight: 600; font-size: 1rem; line-height: 1.4; transition: transform .4s var(--ease); }
.nbtn:hover { transform: translateY(-1px); }
.nbtn svg { width: 16px; height: 16px; }
.mbtn { display: grid; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); place-items: center; }
.mnav { position: fixed; inset: 0; z-index: 55; background: rgba(10, 10, 11, .97); display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto; padding: calc(110px + var(--appbar-h)) var(--g) 40px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav > a { font-family: var(--serif); font-size: 44px; line-height: 1.12; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mnav > a[aria-current] { color: var(--y); }
.mnav .soc { margin-top: 30px; }

/* ---------- hero (kept) ---------- */
.hero { position: relative; isolation: isolate; padding: 150px 0 24px; overflow: clip; }
.hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 1200px; height: 1200px; left: -360px; top: -520px; background: radial-gradient(closest-side, rgba(255, 227, 110, .17), rgba(255, 227, 110, .05) 48%, transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px; mask-image: radial-gradient(ellipse 70% 60% at 25% 35%, #000 10%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 25% 35%, #000 10%, transparent 72%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5.6fr) minmax(0, 6.4fr); gap: 32px; align-items: center; min-height: 700px; }
.hero-copy { position: relative; z-index: 2; padding-block: 24px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 34px; color: var(--tx2); font-family: var(--mono); font-size: 0.875rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 14px 2px rgba(255, 227, 110, .55); }
.hero .display { margin-bottom: 34px; }
.lede { font-size: 1.1875rem; line-height: 1.62; color: var(--tx2); max-width: 500px; margin: 0 0 42px; }
.lede b { color: var(--tx); font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.wall { position: relative; height: 800px; margin-right: calc(-1 * (var(--g) + var(--bleed))); }
.wall-mask { position: absolute; inset: 0; perspective: 1700px; overflow: hidden; mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 100%); mask-composite: intersect; -webkit-mask-composite: source-in; }
.wall-in { position: absolute; top: -22%; bottom: -22%; left: 6%; right: -12%; display: flex; gap: 18px; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-17deg) rotateZ(6deg); }
.col { position: relative; flex: none; width: 204px; height: 100%; }
.col:nth-child(2) { margin-top: 90px; }
.col:nth-child(4) { margin-top: 140px; }
.tile { display: block; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); }
.wall-active .tile { will-change: transform; }
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; }
.tile video { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.tile video.playing { opacity: 1; }
.tile .lab { position: absolute; z-index: 1; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; max-width: calc(100% - 20px); padding: 4px 8px; border-radius: 14px; white-space: normal; font-size: .875rem; font-weight: 500; line-height: 1.3; background: rgba(10, 10, 11, .94); }
.tile .lab::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--y); }
.wall-tag { position: absolute; right: calc(var(--g) + var(--bleed) + 4px); bottom: 26px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: rgba(12, 12, 14, .94); border: 1px solid var(--line2); font-size: .9375rem; font-weight: 500; transition: border-color .25s; }
.wall-tag:hover { border-color: var(--y); }
.wall-tag svg { width: 14px; height: 14px; }

/* ---------- finder (replaces the stats + ticker) ---------- */
.finder { padding-top: 40px; }
.finder-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finder h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.015em; margin: 0; }
.finder h2 span { color: var(--tx3); }
.fbox { display: flex; align-items: center; gap: 14px; width: 100%; height: 66px; padding: 0 12px 0 22px; border-radius: 999px; background: var(--bg1); border: 1px solid var(--line2); color: var(--tx3); font-size: 1.0625rem; text-align: left; transition: border-color .25s, background .25s; }
.fbox:hover { border-color: var(--line3); background: var(--bg2); }
.fbox svg { width: 20px; height: 20px; color: var(--tx2); }
.fbox span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbox kbd { font-size: 0.875rem; padding: 5px 9px; }
.pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pop .l { font-size: 0.9375rem; color: var(--tx3); margin-right: 6px; }
.pop button { height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line2); font-size: 1rem; color: var(--tx2); transition: color .2s, border-color .2s, background .2s; }
.pop button:hover { color: var(--tx); border-color: var(--line3); background: rgba(255, 255, 255, .04); }

/* ---------- sections ---------- */
.sec { padding-top: var(--sec); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }

/* image frames */
.img { position: relative; overflow: hidden; border-radius: 20px; background: var(--bg2); isolation: isolate; }
.img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); pointer-events: none; }
.img > img, .img > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a:hover .img > img, a:hover .img > video { transform: scale(1.04); }
.img.framed { background: radial-gradient(120% 120% at 80% -10%, color-mix(in oklab, var(--hue, var(--y)) 26%, transparent), transparent 62%), linear-gradient(170deg, #1a1a1d, #0f0f11); }
.img.framed > img { inset: 22px 24px auto 24px; width: calc(100% - 48px); height: calc(100% - 22px); object-position: top left; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .6); }
a:hover .img.framed > img { transform: translateY(-4px); }
.img.type { display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px 24px; background: radial-gradient(100% 90% at 92% 0%, color-mix(in oklab, var(--hue, var(--y)) 34%, transparent), transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(255, 255, 255, .035), transparent 70%), linear-gradient(170deg, #1c1c1f, #0e0e10); }
.img.type::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 34px 34px; background-position: -1px -1px; mask-image: radial-gradient(ellipse 85% 80% at 88% 8%, #000 5%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 85% 80% at 88% 8%, #000 5%, transparent 72%); }
.img.type .mk { width: 28px; height: 28px; background: url("../img/robot.png") center / contain no-repeat; opacity: .92; }
.img.type b { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 3.5vw, 58px); line-height: .92; letter-spacing: -.02em; text-wrap: balance; }

/* latest: lead + list */
.latest { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lead .img { aspect-ratio: 16 / 10; border-radius: 26px; }
.lead .kick { margin-top: 26px; }
.lead h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 3.7vw, 58px); line-height: .98; letter-spacing: -.02em; margin: 14px 0 16px; text-wrap: balance; transition: color .2s; }
.lead p { color: var(--tx2); font-size: 1.125rem; line-height: 1.6; margin: 0; max-width: 620px; }
.lead:hover h3 { color: #fff; }
.list { display: flex; flex-direction: column; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 24px; align-items: center; padding: 27px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 6px; }
.item h3 { font-size: 1.3125rem; font-weight: 500; line-height: 1.32; letter-spacing: -.016em; margin: 11px 0 0; text-wrap: pretty; transition: color .2s; }
.item:hover h3 { color: #fff; }
.item > svg { width: 18px; height: 18px; color: var(--tx3); transition: color .25s, transform .5s var(--ease); }
.item:hover > svg { color: var(--y); transform: translateX(4px); }
.feat { position: absolute; z-index: 2; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: rgba(10, 10, 11, .94); border: 1px solid var(--line2); font-size: .875rem; font-weight: 500; line-height: 1.3; }
.feat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--y); }

/* topic tiles with live clips */
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.tt { position: relative; display: block; overflow: hidden; border-radius: 26px; background: var(--bg2); isolation: isolate; }
.tt.lg { grid-column: span 2; grid-row: span 2; }
.tt > video, .tt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.74) saturate(1.05); transition: filter .7s var(--ease), transform 1.6s var(--ease); }
.tt::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(to top, rgba(8, 8, 9, .96) 0%, rgba(8, 8, 9, .62) 38%, rgba(8, 8, 9, .1) 72%, transparent 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); pointer-events: none; }
.tt .lab { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.tt .nm { display: block; font-family: var(--serif); font-size: 42px; line-height: .95; letter-spacing: -.02em; }
.tt.lg .nm { font-size: clamp(56px, 5vw, 80px); }
.tt .ds { display: block; margin-top: 10px; font-size: 1rem; color: var(--tx2); line-height: 1.45; }
.tt .go { position: absolute; z-index: 2; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .5); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, color .3s, transform .6s var(--ease), border-color .3s; }
.tt .go svg { width: 18px; height: 18px; }
.tt:hover > video, .tt:hover > img { filter: brightness(.95) saturate(1.1); transform: scale(1.04); }
.tt:hover .go { background: var(--y); color: #000; border-color: var(--y); transform: rotate(-45deg); }
.tt-wave { background: radial-gradient(70% 80% at 62% 34%, rgba(255, 227, 110, .17), transparent 70%), linear-gradient(160deg, #1b1b1e, #0b0b0c); }
.wave { position: absolute; left: 26px; right: 26px; top: 12%; height: 48%; display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.wave i { flex: 1 1 0; max-width: 5px; height: calc(var(--h) * 1%); border-radius: 3px; background: linear-gradient(to top, rgba(255, 227, 110, .25), var(--y) 55%, #fff6cc); transform-origin: 50% 50%; animation: wv 1.5s cubic-bezier(.45, 0, .55, 1) infinite alternate; animation-delay: calc(var(--k) * -110ms); }
@keyframes wv { from { transform: scaleY(.28); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
.tt-wave:hover .wave i { animation-duration: .9s; }

/* cards (no boxes) */
.card { display: block; }
.card .img { aspect-ratio: 4 / 3; }
.card .kick { margin-top: 18px; font-size: 0.9375rem; }
.card h3 { font-size: 1.21875rem; font-weight: 550; line-height: 1.3; letter-spacing: -.012em; margin: 10px 0 0; text-wrap: pretty; transition: color .2s; }
.card:hover h3 { color: #fff; text-decoration: underline; text-decoration-color: var(--line3); text-underline-offset: 4px; }
.railbar { display: flex; gap: 10px; }
.rbtn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; transition: border-color .25s, background .25s, opacity .25s; }
.rbtn:hover { border-color: var(--line3); background: rgba(255, 255, 255, .05); }
.rbtn[disabled] { opacity: .3; cursor: default; }
.rbtn.prev svg { transform: rotate(180deg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 340px; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px calc(var(--g) + var(--bleed)) 10px; margin-inline: calc(-1 * (var(--g) + var(--bleed))); scroll-padding-inline: calc(var(--g) + var(--bleed)); }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* prompts: tabs + one panel */
.pv { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: 72px; align-items: start; }
.ptabs { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--line); }
.ptab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-align: left; font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--tx3); transition: color .25s, padding .5s var(--ease); }
.ptab svg { width: 18px; height: 18px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.ptab:hover { color: var(--tx2); }
.ptab[aria-selected="true"] { color: var(--tx); padding-left: 10px; }
.ptab[aria-selected="true"] svg { opacity: 1; transform: none; color: var(--y); }
.panel { position: relative; border-radius: 28px; background: linear-gradient(180deg, #19191c, #111113); border: 1px solid var(--line2); overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.panel .hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 18px 28px; border-bottom: 1px solid var(--line); }
.panel .hd span { font-size: 0.9375rem; color: var(--tx3); }
.panel .hd b { color: var(--tx); font-weight: 550; }
.panel .bd { padding: 30px 32px 34px; font-family: var(--mono); font-size: 1.125rem; line-height: 1.8; color: var(--read); min-height: 300px; }
.panel .bd p { margin: 0; }
.panel .bd[hidden] { display: none; }
.copy { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 2.75rem; padding: .5rem 1rem; border-radius: 999px; background: var(--y); color: #111; font-size: 1rem; font-weight: 600; line-height: 1.4; white-space: normal; transition: transform .4s var(--ease); }
.panel .hd, .pcard .hd { flex-wrap: wrap; }
.copy:hover { transform: translateY(-1px); }
.copy svg { width: 15px; height: 15px; }

/* closing: follow along over a quiet wall */
.end { position: relative; margin-top: var(--sec); padding: 140px 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.end .wall { position: absolute; inset: 0; height: auto; margin: 0; z-index: -1; opacity: .5; }
.end .wall-mask { mask-image: radial-gradient(ellipse 46% 60% at 50% 50%, transparent 25%, #000 80%), linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 46% 60% at 50% 50%, transparent 25%, #000 80%), linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); mask-composite: intersect; -webkit-mask-composite: source-in; }
.end .wall-in { left: -10%; right: -10%; justify-content: center; transform: rotateX(18deg) rotateZ(-5deg); }
.end .col { width: 180px; }
.end-in { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.end-in::before { content: ""; position: absolute; z-index: -1; inset: -90px -120px; background: radial-gradient(closest-side, rgba(10, 10, 11, .94), rgba(10, 10, 11, .7) 55%, transparent); pointer-events: none; }
.end-in img.rb { width: 54px; margin: 0 auto 28px; }
.big { font-family: var(--serif); font-weight: 400; font-size: clamp(76px, 11vw, 196px); line-height: .84; letter-spacing: -.035em; margin: 0; }
.end .sub { margin: 28px auto 0; max-width: 540px; font-size: 1.125rem; }
.end .ctas { justify-content: center; margin-top: 40px; }

/* footer */
.ft { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft p { color: var(--tx2); max-width: 340px; line-height: 1.6; margin: 18px 0 24px; }
.ft h4 { margin: 6px 0 18px; color: var(--tx); font-weight: 600; font-size: 1rem; }
.ft .col2 a { display: block; padding: 6px 0; color: var(--tx2); transition: color .2s; }
.ft .col2 a:hover { color: var(--tx); }
.soc { display: flex; gap: 8px; }
.soc a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--tx2); transition: color .2s, border-color .2s; }
.soc a:hover { color: var(--tx); border-color: var(--line3); }
.soc svg { width: 17px; height: 17px; }
.ft-mark { font-family: var(--serif); font-size: min(16.1vw, 230px); line-height: .78; letter-spacing: -.04em; white-space: nowrap; margin: 110px 0 0; padding-bottom: .1em; background: linear-gradient(180deg, var(--tx) 25%, rgba(244, 242, 237, .05) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.ft-mark em { font-style: italic; padding-right: .05em; }
.ft-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 34px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--tx3); }
.ft-bot a:hover { color: var(--tx); }

/* search */
.sk { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 14vh 16px 16px; background: rgba(5, 5, 6, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sk.on { opacity: 1; visibility: visible; }
.skbox { width: min(660px, 100%); background: #131315; border: 1px solid var(--line2); border-radius: 24px; overflow: hidden; box-shadow: 0 50px 120px rgba(0, 0, 0, .7); transform: translateY(10px) scale(.98); transition: transform .45s var(--ease); }
.sk.on .skbox { transform: none; }
.skin { display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.skin svg { color: var(--tx3); }
.skin input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 1.125rem; }
.skin input::placeholder { color: var(--tx3); }
.skres { max-height: 56vh; overflow: auto; padding: 8px; }
.skres a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; color: var(--tx2); }
.skres a b { color: var(--tx); font-weight: 500; }
.skres a.on { background: rgba(255, 255, 255, .06); }
.skres .f { font-size: 0.875rem; color: var(--y); }
.skempty { padding: 28px 18px; color: var(--tx3); text-align: center; }

/* reveal */
.js [data-r] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em 0; margin-bottom: -.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i) * 52ms + 120ms); }
.js [data-split].go .w > span { transform: none; }

/* =================== article: video up top, contents on the side =================== */
.progress { position: fixed; left: 0; top: var(--appbar-h); z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--y); }
.awrap { max-width: calc(1100px + 2 * var(--g)); }
.ahead { position: relative; isolation: isolate; padding: 148px 0 88px; overflow-x: clip; }
.ahead::before { content: ""; position: absolute; z-index: -1; right: -260px; top: -440px; width: 1200px; height: 1200px; background: radial-gradient(closest-side, rgba(255, 227, 110, .12), rgba(255, 227, 110, .03) 50%, transparent 72%); pointer-events: none; }
.ah-grid { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 88px; align-items: center; }
.ah-copy { min-width: 0; }
.ahead .kick { font-size: 0.9375rem; }
.ahead h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 5.5vw, 84px); line-height: .95; letter-spacing: -.026em; margin: 22px 0 26px; text-wrap: balance; }
.ahead .dek { font-size: 1.25rem; line-height: 1.55; color: var(--tx2); max-width: 600px; margin: 0 0 30px; text-wrap: pretty; }
.byline { display: inline-flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: var(--tx3); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--tx); font-weight: 550; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 44px 0 0; border-block: 1px solid var(--line); }
.spec div { min-width: 0; padding: 17px 16px 18px; border-left: 1px solid var(--line); }
.spec div:first-child { border-left: 0; padding-left: 0; }
.spec dt { font-family: var(--mono); font-size: 0.875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.spec dd { margin: 7px 0 0; font-size: 1rem; line-height: 1.35; color: var(--tx); }
.ah-vid { position: relative; margin: 0; }
.ah-vid::before { content: ""; position: absolute; z-index: -1; inset: 8% -24%; background: radial-gradient(closest-side, rgba(255, 227, 110, .2), transparent 75%); pointer-events: none; }
.vframe { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 30px; background: #000; border: 1px solid var(--line2); box-shadow: 0 70px 120px -50px rgba(0, 0, 0, .95); isolation: isolate; }
.vframe video, .vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.vframe:hover video, .vframe:hover img { transform: scale(1.03); }
.vframe .badge { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 30px; max-width: calc(100% - 28px); padding: 4px 10px; border-radius: 14px; background: rgba(10, 10, 11, .94); font-size: .875rem; font-weight: 500; line-height: 1.3; }
.vframe .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--y); }
.vframe .play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .42); border: 1px solid rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 44px rgba(0, 0, 0, .4); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.vframe:hover .play { background: var(--y); color: #000; border-color: var(--y); }
.vframe .play svg { width: 24px; height: 24px; margin-left: 3px; }
.vframe:hover .play { transform: scale(1.08); }
.ah-vid figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 0 4px; font-size: 0.9375rem; color: var(--tx3); }
.ah-vid figcaption a { display: inline-flex; align-items: center; gap: 7px; color: var(--tx); font-weight: 500; transition: color .2s; }
.ah-vid figcaption a:hover { color: var(--y); }
.ah-vid figcaption svg { width: 13px; height: 13px; }

.abody { display: grid; grid-template-columns: minmax(0, 700px) 252px; justify-content: space-between; gap: 64px; }
.article { min-width: 0; }
.arail-in { position: sticky; top: calc(108px + var(--appbar-h)); max-height: calc(100vh - 124px - var(--appbar-h)); display: flex; flex-direction: column; }
/* only the contents list scrolls (when the screen is short); the tool card below it always stays whole */
.rtoc { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; overscroll-behavior: contain; }
.arail-in > .rcta { flex: none; }
@media (max-height: 820px) { .arail-in > .rcta p { display: none; } .arail-in > .rcta { margin-top: 20px; } }
.rl { margin: 0 0 16px; font-family: var(--mono); font-size: 0.875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.otp { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line2); }
.otp a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; font-size: 1rem; line-height: 1.4; color: var(--tx3); transition: color .25s, border-color .25s; }
.otp a:hover { color: var(--tx2); }
.otp a[aria-current="true"] { color: var(--tx); border-left-color: var(--y); }
.rcta { margin-top: 28px; padding: 20px 20px 18px; border-radius: 22px; background: var(--bg1); border: 1px solid var(--line); }
.rcta .rl { margin: 0 0 12px; font-size: 0.875rem; line-height: 1.4; color: var(--tx3); }
.rcta b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.rcta p { margin: 8px 0 18px; font-size: 1rem; line-height: 1.5; color: var(--tx2); }
.rcta .btn { width: 100%; justify-content: center; font-size: 1rem; }
.rcta small, .acta small { display: block; margin-top: 8px; font-size: 0.875rem; line-height: 1.4; color: var(--tx3); text-align: center; }
.rcta .chips2 { gap: 8px; }
.rcta .chips2 a { height: 38px; padding: 0 14px; font-size: 1rem; }
.acta { display: none; }

.lead-fig { margin: 0 0 56px; }
.lead-fig .img { aspect-ratio: 16 / 10; border-radius: 22px; }
.lead-fig figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--tx3); }
.toc { display: none; margin: 0 0 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 1rem; color: var(--tx2); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0 0 18px; padding: 0; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 4px; padding: 7px 0; font-size: 1rem; line-height: 1.4; color: var(--tx2); transition: color .2s; }
.toc a span:first-child { color: var(--tx3); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--tx); }

.prose { font-size: 1.25rem; line-height: 1.78; color: var(--read); }
.prose > p:first-of-type { font-size: 1.375rem; line-height: 1.6; color: var(--tx); }
.prose p { margin: 0 0 26px; }
.prose ul, .prose ol { margin: 0 0 26px; padding-left: 24px; }
.prose li { margin: 9px 0; padding-left: 4px; }
.prose li::marker { color: var(--tx3); }
.prose strong { color: var(--tx); font-weight: 600; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.018em; color: var(--tx); margin: 96px 0 26px; scroll-margin-top: 110px; text-wrap: balance; }
.prose h3 { font-size: 23px; font-weight: 600; line-height: 1.28; letter-spacing: -.015em; color: var(--tx); margin: 48px 0 14px; }
.prose a { color: var(--tx); text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 227, 110, .55); text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.prose a:hover { text-decoration-color: var(--y); color: #fff; }
.prose img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); margin: 14px 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; margin: 64px 0 16px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.step .n { font-family: var(--serif); font-size: 56px; line-height: .8; color: var(--y); letter-spacing: -.02em; }
.step h3 { margin: 0; }
.tip { border-radius: 22px; background: var(--bg1); border: 1px solid var(--line); padding: 26px 30px 6px; margin: 10px 0 40px; }
.tip .k { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--tx); font-weight: 550; margin: 0 0 12px; }
.tip .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(255, 227, 110, .18); }
.tip p { font-size: 1.125rem; line-height: 1.68; margin-bottom: 20px; }
.pcard { border-radius: 24px; overflow: hidden; margin: 16px 0 44px; background: linear-gradient(180deg, #19191c, #111113); border: 1px solid var(--line2); }
.pcard .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--tx3); }
.pcard .hd b { color: var(--tx); font-weight: 550; }
.pcard .bd { padding: 24px 28px 8px; font-family: var(--mono); font-size: 1.0625rem; line-height: 1.8; color: var(--read); }
.pcard .bd p { margin: 0 0 18px; }
.tldr { border-radius: 26px; background: var(--bg1); border: 1px solid var(--line2); padding: 34px 38px 16px; margin: 0 0 64px; }
.tldr h2 { margin: 0 0 22px !important; font-size: 40px !important; }
.tldr ul { list-style: none; padding: 0; margin: 0; }
.tldr li { position: relative; padding-left: 30px; margin: 0 0 16px; font-size: 1.125rem; line-height: 1.6; }
.tldr li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(255, 227, 110, .16); }
.vidfig { margin: 0 0 56px; }
.vidfig a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; }
.vidfig a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.vidfig a:hover img { transform: scale(1.03); }
.vidfig .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--y); color: #000; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); transition: transform .5s var(--ease); }
.vidfig a:hover .play { transform: scale(1.08); }
.vidfig .play svg { width: 28px; height: 28px; margin-left: 4px; }
.vidfig figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--tx3); }
.chips2 { display: flex; flex-wrap: wrap; gap: 10px; }
.chips2 a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); font-size: 1rem; text-decoration: none; color: var(--tx); transition: border-color .2s; }
.chips2 a:hover { border-color: var(--y); }
.chips2 a span { font-size: 0.875rem; color: var(--tx3); }
.ment { display: none; margin-top: 80px; }
.ment h4 { margin: 0 0 16px; font-size: 0.9375rem; font-weight: 500; color: var(--tx3); }
.signoff { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 96px; padding-top: 34px; border-top: 1px solid var(--line); }
.signoff img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.signoff b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.signoff p { margin: 6px 0 0; font-size: 1.125rem; color: var(--tx2); line-height: 1.55; }
.signoff .soc { margin-top: 14px; }
.keep .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

/* =================== responsive =================== */
/* Keep room for the labels as text grows inside the width-capped header. */
@media (min-width: 1201px) {
  @container site-nav (min-width: calc(29em + 530px)) {
    .navlinks { display: flex; }
    .mbtn { display: none; }
    .kbtn span, .kbtn kbd { display: none; }
    .kbtn { width: 44px; justify-content: center; padding: 0; }
  }
}
@media (min-width: 1341px) {
  @container site-nav (min-width: calc(34em + 548px)) {
    .kbtn span, .kbtn kbd { display: block; }
    .kbtn { width: auto; justify-content: flex-start; padding: 6px 8px 6px 15px; }
  }
}
@media (max-width: 1200px) { :root { --g: 32px; --sec: 136px; } }
@media (max-width: 1100px) {
  .abody { grid-template-columns: minmax(0, 1fr); max-width: calc(740px + 2 * var(--g)); }
  .arail { display: none; }
  .toc, .ment { display: block; }
  .acta { display: block; margin: 0 0 48px; }
  .acta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 1060px) {
  .hero { padding-top: 128px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  .hero-copy { padding-block: 0; }
  .display { font-size: clamp(56px, 10.5vw, 104px); }
  .lede { max-width: 620px; }
  .wall { height: 600px; margin-inline: calc(-1 * (var(--g) + var(--bleed))); margin-top: 24px; }
  .wall-mask { mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .wall-in { left: -6%; right: -6%; justify-content: center; transform: rotateX(12deg) rotateZ(5deg); }
  .col { width: 176px; }
  .wall-tag { bottom: 16px; }
  .finder-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .latest { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .tt.lg { grid-column: span 2; grid-row: span 2; }
  .pv { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ptabs { flex-direction: row; overflow-x: auto; gap: 8px; border: 0; margin-top: 28px; scrollbar-width: none; }
  .ptab { flex: none; padding: 0 18px; height: 46px; border: 1px solid var(--line2); border-radius: 999px; font-family: var(--sans); font-size: 1rem; }
  .ptab svg { display: none; }
  .ptab[aria-selected="true"] { padding-left: 18px; background: var(--tx); color: #0a0a0b; border-color: var(--tx); }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-grid > :first-child { grid-column: span 2; }
  .ahead { padding: 132px 0 56px; }
  .ah-grid { grid-template-columns: 150px minmax(0, 1fr); gap: 0 24px; max-width: calc(740px + 2 * var(--g)); }
  .ah-grid > .ah-copy { display: contents; }
  .ah-grid > .ah-copy > * { grid-column: 1 / -1; }
  .ah-grid .byline { margin-bottom: 36px; }
  .ah-grid .spec { grid-column: 2; grid-row: 5; align-self: center; margin: 0; grid-template-columns: minmax(0, 1fr); padding: 2px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg1); }
  .ah-grid .spec div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 0; border-left: 0; border-top: 1px solid var(--line); }
  .ah-grid .spec div:first-child { border-top: 0; }
  .ah-grid .spec dd { margin: 0; text-align: right; }
  .ah-vid { grid-column: 1; grid-row: 5; }
  .ah-vid::before, .ah-vid figcaption { display: none; }
  .vframe { border-radius: 20px; box-shadow: none; }
  .vframe .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .vframe .play svg { width: 18px; height: 18px; }
  .keep .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keep .grid3 > :last-child { display: none; }
}
@media (max-width: 720px) {
  :root { --g: 20px; --sec: 104px; }
  .appbar-inner { gap: 6px 10px; padding: 4px 16px; }
  .appbar-identity { gap: 8px; }
  .appbar-icon { width: 30px; height: 30px; }
  .appbar-copy { text-align: center; }
  .appbar b { font-size: .9375rem; line-height: 1.2; white-space: nowrap; }
  .appbar-detail { display: none; }
  .nav { height: 70px; margin-bottom: -70px; }
  .nav .wrap { padding-inline: 10px; padding-top: 10px; }
  .pill { min-height: 60px; padding: 6px 8px 6px 16px; }
  .wm { font-size: 1.25rem; gap: 8px; }
  .wm img { width: 23px; }
  .kbtn { width: 44px; padding: 0; justify-content: center; }
  .kbtn span, .kbtn kbd, .nbtn { display: none; }
  .hero { padding: 112px 0 8px; }
  .eyebrow { margin-bottom: 24px; font-size: 0.875rem; }
  .display { font-size: clamp(50px, 14.2vw, 76px); line-height: .92; }
  .hero .display { margin-bottom: 26px; }
  .lede { font-size: 1.09375rem; margin-bottom: 30px; }
  .ctas { gap: 10px; }
  .ctas .btn-primary { flex: 1 1 100%; justify-content: center; }
  .ctas .btn-ghost:not(.btn-round) { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 16px; }
  .wall { height: 470px; margin-top: 18px; }
  .wall-in { gap: 12px; left: -20%; right: -20%; }
  .col { width: 138px; }
  .col:nth-child(2) { margin-top: 60px; }
  .col:nth-child(4) { margin-top: 90px; }
  .tile { border-radius: 16px; }
  .tile .lab { left: 7px; bottom: 7px; max-width: calc(100% - 14px); }
  .wall-tag { bottom: 16px; height: 36px; font-size: 0.9375rem; }
  .finder { padding-top: 24px; }
  .finder-in { padding: 28px 0; }
  .finder h2 { font-size: 30px; }
  .fbox { height: 58px; font-size: 1rem; padding-left: 18px; }
  .fbox kbd { display: none; }
  .sh { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .h2 { font-size: clamp(42px, 12vw, 58px); }
  .lead .img { border-radius: 20px; }
  .lead h3 { font-size: 38px; }
  .item { gap: 16px; padding: 22px 0; }
  .item h3 { font-size: 1.125rem; }
  .feat { left: 12px; top: 12px; }
  .tgrid { grid-auto-rows: 168px; gap: 12px; }
  .tt { border-radius: 20px; }
  .tt .lab { left: 18px; right: 18px; bottom: 16px; }
  .tt .nm { font-size: 30px; }
  .tt.lg .nm { font-size: 48px; }
  .tt .ds { display: none; }
  .tt.lg .ds { display: block; font-size: 1rem; }
  .tt .go { width: 36px; height: 36px; right: 12px; top: 12px; }
  .wave { left: 18px; right: 18px; gap: 2px; top: 14%; height: 44%; }
  .rail { grid-auto-columns: 78vw; gap: 16px; }
  .railbar { display: none; }
  .ptab { font-size: 1rem; height: 42px; padding: 0 15px; }
  .panel { border-radius: 22px; }
  .panel .hd { padding: 14px 14px 14px 20px; }
  .panel .hd span { display: none; }
  .panel .bd { padding: 22px 22px 26px; font-size: 1.125rem; min-height: 0; }
  .end { padding: 104px 0; }
  .big { font-size: clamp(64px, 19vw, 110px); }
  .end .col { width: 120px; }
  .end-in::before { inset: -70px -40px; }
  .end .ctas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .end .ctas .btn { justify-content: center; padding: 0 14px; }
  .end .ctas .btn-y { grid-column: span 2; }
  .ft-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .ft-mark { margin-top: 72px; }
  .ahead { padding: 112px 0 40px; }
  .ahead h1 { font-size: clamp(42px, 11.4vw, 60px); margin: 18px 0 20px; }
  .ahead .dek { font-size: 1.125rem; margin-bottom: 24px; }
  .byline { font-size: 0.9375rem; }
  .ah-grid .byline { margin-bottom: 30px; }
  .ah-grid { grid-template-columns: 108px minmax(0, 1fr); gap: 0 14px; }
  .ah-grid .spec { padding: 0 14px; border-radius: 18px; }
  .ah-grid .spec div { display: block; padding: 10px 0; }
  .ah-grid .spec dt { font-size: 0.875rem; letter-spacing: .1em; }
  .ah-grid .spec dd { font-size: 1rem; margin-top: 6px; text-align: left; overflow-wrap: anywhere; }
  .ahead.solo .spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ahead.solo .spec div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ahead.solo .spec div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vframe { border-radius: 16px; }
  .vframe .badge { left: 7px; top: 7px; max-width: calc(100% - 14px); padding-inline: 8px; gap: 5px; }
  .vframe .play { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .vframe .play svg { width: 15px; height: 15px; margin-left: 2px; }
  .acta { margin-bottom: 40px; }
  .lead-fig .img { border-radius: 18px; }
  .toc ol { columns: 1; }
  .prose { font-size: 1.125rem; }
  .prose > p:first-of-type { font-size: 1.21875rem; }
  .prose h2 { margin-top: 76px; }
  .step { grid-template-columns: 46px minmax(0, 1fr); margin-top: 52px; }
  .step .n { font-size: 42px; }
  .pcard .bd { padding: 20px 20px 6px; font-size: 1.0625rem; }
  .pcard .hd { padding-left: 18px; }
  .tldr { padding: 26px 22px 10px; border-radius: 22px; }
  .tldr h2 { font-size: 32px !important; }
  .tldr li { font-size: 1.125rem; }
  .keep .grid3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .keep .grid3 > :last-child { display: block; }
}
@media (max-width: 420px) {
  .hero .ctas { justify-content: center; }
  .hero .ctas .btn-ghost:not(.btn-round) { flex-basis: 100%; }
}
@media (max-height: 860px) and (min-width: 1101px) {
  .arail-in { top: calc(96px + var(--appbar-h)); max-height: calc(100vh - 108px - var(--appbar-h)); }
  .otp a { padding-block: 5px; font-size: 1rem; }
  .rcta { margin-top: 22px; padding: 16px 18px; }
  .rcta p:not(.rl) { display: none; }
  .rcta b { margin-bottom: 14px; font-size: 26px; }
  .ahead { padding-top: 128px; }
  .ah-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-r], .js [data-split] .w > span { opacity: 1; transform: none; }
}

/* =================== real-site additions =================== */
/* if site.js never runs (blocked or failed), the inline head script shows everything after 2.5s */
.nojsfx [data-r] { opacity: 1 !important; transform: none !important; }
.nojsfx [data-split] .w > span { transform: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kick a { transition: color .2s; }
.kick a:hover { color: var(--y); }

/* hero: visitors from the link in bio still need the links page */
.eyebrow.eyelink { display: inline-flex; height: 38px; padding: 0 14px 0 13px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--tx); transition: border-color .25s, background .25s; }
.eyebrow.eyelink svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.eyebrow.eyelink:hover { border-color: var(--y); background: rgba(255, 227, 110, .06); }
.eyebrow.eyelink:hover svg { transform: translateX(3px); }
.finder .more { margin-top: 10px; font-size: 1rem; color: var(--tx2); }
.finder .more:hover { color: var(--tx); }

/* listing pages: /blog/, topics, formats */
.lhead { position: relative; isolation: isolate; padding: 156px 0 60px; overflow-x: clip; }
.lhead::before, .shead::before { content: ""; position: absolute; z-index: -1; left: -300px; top: -520px; width: 1200px; height: 1200px; background: radial-gradient(closest-side, rgba(255, 227, 110, .13), rgba(255, 227, 110, .03) 50%, transparent 72%); pointer-events: none; }
.lh1 { font-family: var(--serif); font-weight: 400; font-size: clamp(60px, 7.2vw, 116px); line-height: .92; letter-spacing: -.028em; margin: 0; text-wrap: balance; }
.lsub { color: var(--tx2); font-size: 1.1875rem; line-height: 1.6; max-width: 640px; margin: 24px 0 0; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); font-size: 1rem; color: var(--tx2); white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.chips a span { font-size: 0.875rem; color: var(--tx3); font-variant-numeric: tabular-nums; }
.chips a:hover { color: var(--tx); border-color: var(--line3); }
.chips a[aria-current="page"] { background: var(--tx); color: #0a0a0b; border-color: var(--tx); }
.chips a[aria-current="page"] span { color: #494843; }
.chips .sep { flex: none; width: 1px; height: 22px; margin: 0 6px; background: var(--line2); }
.lead-h { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: center; margin: 0 0 96px; }
.lead-h .img { aspect-ratio: 16 / 10; border-radius: 26px; }
.lead-h .kick { margin-top: 0; }
.lgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

/* simple pages: about, apps, legal, forms, thanks, 404 */
.shead { position: relative; isolation: isolate; padding: 156px 0 44px; overflow-x: clip; }
.narrow { max-width: calc(760px + 2 * var(--g)); }
.sh1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6vw, 88px); line-height: .95; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.slede { color: var(--tx2); font-size: 1.1875rem; line-height: 1.6; margin: 22px 0 0; max-width: 620px; text-wrap: pretty; }
.sbody { padding-bottom: 24px; }
.center { text-align: center; }
.center .slede { margin-inline: auto; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.center .btnrow { justify-content: center; }
.about-head .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 0 28px; border: 1px solid var(--line2); }
.about .soc { margin-top: 40px; }
.prose.legal { font-size: 1.125rem; line-height: 1.7; }
.prose.legal > p:first-of-type { font-size: inherit; line-height: inherit; color: var(--read); }
.prose .notice { border: 1px solid rgba(255, 130, 110, .45); background: rgba(255, 90, 70, .07); border-radius: 16px; padding: 4px 20px; margin: 20px 0; }
.prose .contact { border: 1px solid var(--line2); background: var(--bg1); border-radius: 16px; padding: 4px 20px; margin: 20px 0; }
.prose .contact strong { display: block; }
.applinks { display: grid; gap: 12px; margin-top: 32px; }

/* forms */
.form { display: grid; gap: 18px; margin-top: 8px; }
.form label { display: grid; gap: 8px; font-size: 1rem; font-weight: 500; color: var(--tx); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg1); color: var(--tx); font: inherit; font-size: 1rem; font-weight: 400; transition: border-color .2s; }
.form input::placeholder, .form textarea::placeholder { color: var(--tx3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--y); }
.form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23aaa79f'%3E%3Cpath d='m12 15.4-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.form input[type="file"] { padding: 12px; }
.form fieldset { display: grid; gap: 16px; margin: 0; padding: 16px 18px 20px; border: 1px dashed var(--line2); border-radius: 18px; }
.form legend { padding: 0 6px; font-size: 0.9375rem; color: var(--tx3); }
.form label.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--tx2); }
.form label.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--y); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .error { color: #ff8a80; font-weight: 500; }
.form button { justify-self: start; }

/* links page (link in bio) */
.lp { max-width: 640px; margin: 0 auto; padding: 136px var(--g) 30px; text-align: center; }
.lp .avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 1px solid var(--line2); box-shadow: 0 0 0 6px rgba(255, 255, 255, .03); }
.lp .name { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--serif); font-size: 36px; line-height: 1; }
.lp .name img { width: 20px; height: 20px; }
.lp .tagline { margin: 12px 0 22px; color: var(--tx2); font-size: 1.125rem; }
.lp .soc { justify-content: center; margin-bottom: 30px; }
.search { position: sticky; top: calc(88px + var(--appbar-h)); z-index: 5; display: flex; align-items: center; margin: 0 0 14px; }
.search[hidden] { display: none; }
.search svg { position: absolute; left: 20px; width: 20px; height: 20px; color: var(--tx3); pointer-events: none; }
.search input { width: 100%; height: 60px; padding: 0 54px 0 52px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(17, 17, 19, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--tx); font-size: 1rem; -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--y); }
.search input::placeholder { color: var(--tx3); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search .clear { position: absolute; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--tx); font-size: 1.375rem; line-height: 1; }
.search .clear[hidden] { display: none; }
.status { margin: 0 0 10px; font-size: 0.9375rem; color: var(--tx3); }
.status:empty { display: none; }
.none { margin: 0 0 14px; padding: 18px; border: 1px dashed var(--line2); border-radius: 18px; color: var(--tx2); }
.none[hidden] { display: none; }
.links { display: flex; flex-direction: column; gap: 12px; }
.lbtn { display: block; padding: 18px 22px; border-radius: 20px; border: 1px solid var(--line2); background: var(--bg1); color: var(--tx); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; text-align: center; transition: border-color .2s, background .2s, transform .4s var(--ease); }
.lbtn:hover { border-color: var(--line3); background: var(--bg2); transform: translateY(-1px); }
.lbtn.featured { background: var(--y); border-color: var(--y); color: #111; font-weight: 600; }
.lbtn.featured:hover { background: #ffeb94; }
.lapp { padding: 24px 26px; margin-bottom: 6px; text-align: left; color: #17160f; background: var(--y); border-color: var(--y); box-shadow: 0 10px 40px -18px rgba(255, 227, 110, .35); }
.lapp:hover { color: #17160f; background: #ffeb94; border-color: #ffeb94; transform: translateY(-2px); }
.lapp:focus-visible { outline-offset: 5px; }
.lapp-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-family: var(--mono); font-size: 0.875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.lapp-label > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.lapp-label svg { width: 13px; height: 13px; }
.lapp-identity { display: flex; align-items: center; gap: 18px; }
.lapp-icon { flex: none; width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(23, 22, 15, .12), 0 6px 16px rgba(23, 22, 15, .12); }
.lapp-title { display: block; min-width: 0; font-family: var(--serif); font-size: clamp(34px, 8vw, 46px); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; overflow-wrap: anywhere; }
.lapp-description { display: block; max-width: 430px; margin-top: 18px; font-size: 1rem; font-weight: 400; line-height: 1.55; color: #494022; }
.lapp-download { display: block; width: fit-content; max-width: 100%; margin-top: 22px; }
.lapp-store { display: block; height: 44px; width: auto; max-width: 100%; }
.lapp-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; border-radius: 999px; background: #17160f; color: #fff8db; font-size: 1rem; font-weight: 550; line-height: 1.4; }
.lbtn[hidden] { display: none; }
.js .links:not(.all):not(.searching) .older { display: none; }
.links.searching { min-height: 70vh; }
.morebtn { width: 100%; margin-top: 12px; padding: 16px; border-radius: 20px; border: 1px dashed var(--line2); color: var(--tx2); font-size: 1rem; }
.morebtn:hover { color: var(--tx); border-color: var(--line3); }
.morebtn[hidden] { display: none; }
.lp > .more { margin-top: 26px; }

/* post extras */
.disclosure { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 36px; padding: 16px 18px; border-radius: 16px; background: var(--bg1); border: 1px solid var(--line); color: var(--tx2); font-size: 1rem; line-height: 1.55; }
.newer { margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--y); color: var(--tx2); font-size: 1.0625rem; line-height: 1.55; }
.newer a { color: var(--tx); font-weight: 600; }
.disclosure::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--y); }
.tested { margin: 0 0 36px; padding: 18px 20px; border-radius: 16px; background: var(--bg1); border: 1px solid var(--line2); color: var(--tx2); font-size: 1.125rem; line-height: 1.6; }
.tested strong { color: var(--tx); }
.prose figure { margin: 30px 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--tx3); text-align: center; }
.prose video { width: 100%; height: auto; border-radius: 18px; }
.prose iframe { margin: 10px 0 26px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.prose h4 { font-size: 1.1875rem; font-weight: 600; color: var(--tx); margin: 36px 0 10px; }
.prose code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--tx); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 8px 0 32px; font-size: 1.125rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--tx); font-weight: 600; }
/* simple horizontal bar charts in post bodies: <figure class="chart">, colors validated on --bg1 (dataviz validator) */
.prose .chart { --c1: #c98500; --c2: #3987e5; --cn: #7d7a72; margin: 34px 0; padding: 22px 22px 16px; border: 1px solid var(--line2); border-radius: 18px; background: var(--bg1); }
.prose .chart .ch-t { margin: 0; color: var(--tx); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; text-align: left; }
.prose .chart .ch-s { margin: 4px 0 20px; color: var(--tx3); font-size: 0.9375rem; line-height: 1.45; }
.ch-rows { display: grid; grid-template-columns: minmax(6.5rem, max-content) minmax(0, 1fr) 3.4rem; column-gap: 14px; row-gap: 12px; align-items: center; }
.ch-g { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--tx); font-size: 0.9375rem; font-weight: 600; }
.ch-g::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--k, var(--c1)); }
.ch-l { color: var(--tx2); font-size: 0.9375rem; line-height: 1.3; }
.ch-track { position: relative; height: 20px; border-left: 1px solid var(--line2); }
.ch-bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--k, var(--c1)); border-radius: 0 4px 4px 0; }
.ch-track.ref::after { content: ""; position: absolute; left: 50%; top: -7px; bottom: -7px; width: 1px; background: var(--tx3); }
.ch-n { color: var(--tx); font-size: 0.9375rem; font-variant-numeric: tabular-nums; text-align: right; }
.ch-ticks { position: relative; height: 20px; color: var(--tx3); font-size: 0.875rem; }
.ch-ticks span { position: absolute; top: 0; left: var(--at); transform: translateX(-50%); white-space: nowrap; }
.ch-ticks span:first-child { transform: none; }
.ch-ticks span:last-child { transform: translateX(-100%); }
@media (max-width: 600px) {
  .prose .chart { padding: 18px 16px 14px; }
  .ch-rows { grid-template-columns: minmax(0, 1fr) 3.4rem; row-gap: 6px; }
  .ch-l { grid-column: 1 / -1; margin-top: 6px; }
  .ch-sp { display: none; }
  .ch-ticks { margin-top: 6px; }
}
.prose .chart .ch-note { margin: 12px 0 0; color: var(--tx3); font-size: 0.875rem; line-height: 1.5; }
.prose .yt-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--bg1); border: 1px solid var(--line2); }
.prose .yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; }
.prose .shot img { border: 1px solid var(--line2); border-radius: 14px; }
.prose .yt figcaption, .prose .shot figcaption { text-align: left; }
.prose table.k1 td:first-child, .prose table.k1 th:first-child { white-space: nowrap; }
.prose .tbl-note { margin-top: -18px; font-size: 0.9375rem; color: var(--tx3); }
.prose .pair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 12px; }
.prose .pair figure { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line2); border-radius: 16px; background: var(--bg1); }
.prose .pair img { display: block; width: 100%; height: auto; margin: 0; border: 0; border-radius: 0; }
.prose .pair figcaption { margin: 0; padding: 10px 12px; color: var(--tx); font-size: 0.9375rem; text-align: left; }
.transcript { margin: 56px 0 0; border: 1px solid var(--line); border-radius: 18px; background: var(--bg1); }
.transcript summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--tx); }
.transcript p { margin: 0 22px 16px; font-size: 1.0625rem; color: var(--tx2); }
.sources { margin: 44px 0 0; }
.sources h2 { font-size: 30px !important; margin: 0 0 14px !important; }
.sources > p { margin: 0 0 12px; font-size: 1rem; color: var(--tx3); }
.sources ol { margin: 0; padding-left: 22px; font-size: 1rem; line-height: 1.6; color: var(--tx2); }
.sources li { margin: 0 0 8px; }
.sources span { color: var(--tx3); }
@media (max-width: 560px) { .prose .pair { gap: 7px; } .prose .pair figcaption { padding: 8px; font-size: 0.875rem; } }
.prose blockquote.pull { margin: 44px 0; padding: 0 0 0 26px; border-left: 2px solid var(--y); font-family: var(--serif); font-size: 31px; line-height: 1.2; color: var(--tx); }
.prose blockquote.pull p { margin: 0; }
.pcard .bd pre { margin: 0 0 18px; white-space: pre-wrap; font: inherit; }
.pcard .bd p:last-child, .pcard .bd pre:last-child { margin-bottom: 18px; }
.pcard.full { margin-top: 4px; }
.pcard.full .bd { padding: 30px 32px 14px; font-size: 1.125rem; }

@media (max-width: 1060px) {
  .lead-h { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 72px; }
  .lgrid, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lhead { padding: 116px 0 44px; }
  .lh1 { font-size: clamp(54px, 15vw, 80px); }
  .lsub, .slede { font-size: 1.125rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 32px calc(-1 * var(--g)) 0; padding: 0 var(--g) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .lgrid, .grid3 { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .shead { padding: 116px 0 32px; }
  .sh1 { font-size: clamp(46px, 12.5vw, 64px); }
  .lp { padding-top: 108px; }
  .lapp { padding: 22px; }
  .lapp-identity { gap: 14px; }
  .lapp-icon { width: 48px; height: 48px; border-radius: 11px; }
  .lapp-title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .lapp-description { font-size: 1rem; }
  .search { top: calc(76px + var(--appbar-h)); }
  .pcard.full .bd { padding: 22px 20px 8px; font-size: 1.125rem; }
  .prose blockquote.pull { font-size: 26px; }
}

/* article header without a video, opening "Try X here" lines */
.ahead.solo .ah-copy { max-width: 900px; }
.prose > p.tryline { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 30px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--tx2); font-size: 1rem; line-height: 1.4; }
.prose > p.tryline + p { font-size: 1.375rem; line-height: 1.6; color: var(--tx); }
@media (max-width: 720px) { .prose > p.tryline + p { font-size: 1.21875rem; } }

/* the error page that functions/api/contact.js renders still uses the old class names */
main > .post { max-width: 640px; margin: 0 auto; padding: 150px 20px 100px; }
.post.center { text-align: center; }
.post h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: 1; margin: 0 0 18px; }
.post .lede { margin: 0 auto 28px; }
.post .btn { border: 1px solid var(--line2); }

/* plain covers: the tool name grows with the card */
.img.type { container-type: inline-size; }
.img.type b { font-size: clamp(32px, 12.5cqw, 124px); }

/* the search input's blur makes it a layer of its own, so lift the icon and clear button above it */
.search svg, .search .clear { z-index: 1; }
@media (max-width: 720px) { .pcard .hd .nt { display: none; } }
