/* The two typefaces are served by the site itself (SIL Open Font License), so no outside request is needed. */
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dmsans-latin.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
/* sleek.css — the Black Label site standard, v1 (November 2026).
 * One kit, every site. A site supplies only its theme tokens (see build.mjs):
 *   --bg --bg2 --ink --ink2 --accent --accent2 --btn --on-btn --p1 --p2 --p3
 *   --stage --stage-ink --fd --fb --dw --r --key --key-s --vig --grain-o
 * Springs (--sp-*, --d-*) are solved at build time and baked into each page.
 * Every motion here has a Reduce Motion fallback at the bottom of this file. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--fb); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --line2: color-mix(in srgb, var(--ink) 6%, transparent);
  --rim: color-mix(in srgb, var(--ink) 24%, transparent);
  --tint: color-mix(in srgb, var(--ink) 7%, transparent);
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.165, .84, .44, 1);
  --ease2: cubic-bezier(.22, 1, .36, 1);
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--fd); font-weight: var(--dw); letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); transition: top .2s var(--ease), transform .2s var(--ease); }
.skip:focus { top: 12px; }
.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.eyebrow { font: 500 12px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.06; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink2); max-width: 56ch; }
.metal { background: var(--metal, linear-gradient(var(--accent), var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Materials: device-resolution grain, key light, vignette ─────────────── */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body::before { z-index: 60; background-image: url(grain.png); background-size: 120px; opacity: var(--grain-o, .4); mix-blend-mode: overlay; }
body::after { z-index: 59; background:
  radial-gradient(120% 60% at 50% -12%, color-mix(in srgb, var(--key, #fff) var(--key-s, 0%), transparent), transparent 62%),
  radial-gradient(150% 120% at 50% 45%, transparent 58%, rgb(0 0 0 / var(--vig, 0)) 100%); }

/* An engraved plate: an outer rim that catches light at the top, and a second rule just inside. */
.plate { position: relative; border-radius: var(--r); background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim), 0 40px 90px -50px rgb(0 0 0 / .55); }
.plate::after { content: ""; position: absolute; inset: 5px; border-radius: calc(var(--r) - 5px); box-shadow: inset 0 0 0 1px var(--line2); pointer-events: none; }

/* ── Controls: pills ─────────────────────────────────────────────────────── */
/* .try-primary is a storefront's primary hero action kept in the exact markup its Worker looks for
   (see heroMarker in build.mjs); it is a primary pill like .b.b--p. */
.b, .try-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--fb); letter-spacing: .01em; text-decoration: none; white-space: nowrap; color: var(--ink); background: var(--tint);
  transition: transform .15s ease-out, background-color .15s ease-out, box-shadow .15s ease-out; }
.b:hover, .try-primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--ink) 13%, transparent); }
.b:active, .try-primary:active { transform: scale(.97); }
.b--p, .try-primary { background: var(--btn); color: var(--on-btn); box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), 0 10px 30px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.b--p:hover, .try-primary:hover { background: var(--btn); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 16px 40px -14px color-mix(in srgb, var(--accent) 90%, transparent); }
.b--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.b i, .try-primary i { font-style: normal; transition: transform .2s var(--ease); }
.b:hover i, .try-primary:hover i { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font: 500 14px/1 var(--fb); color: var(--ink); background: var(--tint); border: 0; cursor: pointer; text-decoration: none;
  transition: transform .15s ease-out, background-color .15s ease-out, color .15s ease-out; }
.chip:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--ink) 13%, transparent); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: transform var(--d-snappy) var(--sp-snappy), background-color .3s var(--ease); }
.nav.is-away { transform: translateY(-110%); }
.nav.is-solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line2); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 18px/1 var(--fd); letter-spacing: -.01em; }
.brand img, .brand svg { width: 26px; height: 26px; object-fit: contain; }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--ink2); transition: color .15s ease-out, background-color .15s ease-out, transform .15s ease-out; }
.nav__links a:hover { color: var(--ink); background: var(--tint); }
.nav__cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; place-items: center; }
.nav__menu span { width: 16px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.sheet { position: fixed; inset: 0; z-index: 39; padding: 96px var(--gut) 32px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: grid; align-content: start; gap: 6px; transform: translateY(-104%); visibility: hidden; transition: transform var(--d-settle) var(--sp-settle), visibility 0s .6s; }
.sheet.is-open { transform: none; visibility: visible; transition: transform var(--d-settle) var(--sp-settle), visibility 0s; }
.sheet a { font: var(--dw) 30px/1.2 var(--fd); letter-spacing: -.02em; text-decoration: none; padding: 10px 0; box-shadow: 0 1px 0 var(--line2); }
.note { display: flex; justify-content: center; }
.note__in { display: inline-flex; align-items: center; gap: 12px; margin-top: 76px; padding: 6px 8px 6px 6px; border-radius: 999px; background: var(--tint); font-size: 14px; }
.note__tag { padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 11px/1 var(--fb); letter-spacing: .08em; }
.note a { font-weight: 500; text-decoration: none; padding-right: 10px; }
.note button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--ink2); cursor: pointer; font-size: 16px; }

/* ── Hero: the field of light ────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; isolation: isolate; overflow: clip; }
.hero__field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__body { display: grid; place-items: center; text-align: center; padding: 24px var(--gut) clamp(72px, 12vh, 140px); }
.hero__in { display: grid; justify-items: center; gap: 26px; max-width: 980px; }
.hero__in::before { content: ""; position: absolute; z-index: -1; width: min(1100px, 100vw); height: 62vh; background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 92%, transparent) 40%, transparent); pointer-events: none; }
.lockup { display: inline-flex; align-items: center; gap: 12px; font: 500 22px/1 var(--fd); letter-spacing: -.01em; }
.lockup img, .lockup svg { width: 34px; height: 34px; object-fit: contain; }
.hero h1 { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.03em; }
.hero .lead { text-align: center; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__fine { font-size: 14px; color: var(--ink2); }
.hl { padding: .08em .28em .14em; margin-inline: -.1em; border-radius: .2em; color: var(--accent2); background: color-mix(in srgb, var(--accent) 16%, transparent); box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Type-on: characters appear at once, a caret rides the last one. */
.typed { position: relative; }
.typed .hl { transition: background-color .6s var(--ease), color .6s var(--ease); }
.js [data-typed]:not(.done) .hl { background-color: transparent; }
.typed .c { opacity: 0; }
.typed .c.on { opacity: 1; }
.typed .w { display: inline-block; white-space: nowrap; }
.caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--accent); border-radius: 2px; animation: caret 1s steps(2, jump-none) infinite; }
.caret.gone { transform: scaleY(0); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
@keyframes caret { 0% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(.96); } }

/* Words rise six pixels and flash the accent as they land. */
.rise .w { display: inline-block; opacity: 0; transform: translateY(6px); }
.rise.in .w { opacity: 1; transform: none; animation: flash .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes flash { 0% { opacity: 0; color: var(--accent2); transform: translateY(6px); } 12% { opacity: 1; } 100% { opacity: 1; color: inherit; transform: none; } }
/* Characters of a paragraph light as you reach it. */
.lit .c { opacity: .16; transition: opacity .1s var(--ease) calc(var(--i) * 5ms), transform .1s var(--ease) calc(var(--i) * 5ms); }
.lit.in .c { opacity: 1; }
.js .up { opacity: 0; transform: translateY(30px); }
.js .up.in { opacity: 1; transform: none; transition: opacity .6s var(--ease2) calc(var(--i, 0) * 100ms), transform .6s var(--ease2) calc(var(--i, 0) * 100ms); }

/* ── Stage: one enormous rounded room that scales up as you arrive ────────── */
.stage-sec { padding-inline: var(--gut); }
.stage { position: relative; min-height: min(82vh, 860px); border-radius: clamp(20px, 2.6vw, 36px); background: var(--stage); color: var(--stage-ink); overflow: hidden; isolation: isolate;
  transform: scale(var(--s, 1)); transform-origin: 50% 0; will-change: transform; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stage-ink) 10%, transparent), inset 0 1px 0 color-mix(in srgb, var(--stage-ink) 22%, transparent); }
.stage { --btn: var(--stage-btn); --on-btn: var(--stage-on-btn); --accent: var(--stage-accent); --accent2: var(--stage-accent2); }
.stage { --ink: var(--stage-ink); --ink2: color-mix(in srgb, var(--stage-ink) 64%, transparent); --bg: var(--stage); --bg2: color-mix(in srgb, var(--stage-ink) 7%, var(--stage));
  --line: color-mix(in srgb, var(--ink) 12%, transparent); --line2: color-mix(in srgb, var(--ink) 6%, transparent); --rim: color-mix(in srgb, var(--ink) 24%, transparent); --tint: color-mix(in srgb, var(--ink) 8%, transparent); }
.stage__in { width: min(760px, 100%); padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 40px); display: grid; gap: 22px; justify-items: center; text-align: center; }
.stage__label { position: absolute; left: 22px; bottom: 18px; font-size: 13px; color: var(--ink2); }

/* Folded light: a blurred, morphing body, and hard creases for the close. */
.glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.glow b { position: absolute; left: 50%; top: 50%; width: 78%; height: 86%; translate: -50% -46%; overflow: hidden; filter: blur(110px); opacity: var(--glow-o, .5);
  animation: morph 7.3s ease-in-out infinite, breathe 9.5s ease-in-out infinite; }
.glow b::before { content: ""; position: absolute; inset: -150%; rotate: -36deg; background: repeating-linear-gradient(var(--p1) 0, var(--p2) 18%, var(--p3) 34%, var(--p2) 52%, var(--p1) 70%); animation: strip 90s linear infinite; }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; } 50% { border-radius: 58% 42% 44% 56% / 55% 58% 42% 45%; } }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }
@keyframes strip { to { transform: translateY(33%); } }
.fold { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--p2); }
.fold i { position: absolute; inset: -12%; animation: drift 14s ease-in-out infinite alternate; }
.fold i:nth-child(1) { background: linear-gradient(118deg, var(--p1), color-mix(in srgb, var(--p1) 46%, #000)); clip-path: polygon(0 0, 46% 0, 22% 100%, 0 100%); }
.fold i:nth-child(2) { background: linear-gradient(200deg, color-mix(in srgb, var(--p2) 80%, #fff), var(--p2) 55%, color-mix(in srgb, var(--p2) 54%, #000)); clip-path: polygon(46% 0, 78% 0, 54% 100%, 22% 100%); animation-duration: 17s; animation-direction: alternate-reverse; }
.fold i:nth-child(3) { background: linear-gradient(140deg, color-mix(in srgb, var(--p3) 62%, #000), var(--p3)); clip-path: polygon(78% 0, 100% 0, 100% 100%, 54% 100%); animation-duration: 19s; }
.fold i:nth-child(4) { background: linear-gradient(90deg, transparent 40%, rgb(255 255 255 / .2) 50%, transparent 60%); clip-path: polygon(40% 0, 52% 0, 28% 100%, 16% 100%); mix-blend-mode: overlay; }
@keyframes drift { 0% { transform: translate(-3%, 2%) scale(1.02) rotate(-.6deg); } 100% { transform: translate(4%, -2%) scale(1.08) rotate(.8deg); } }

/* ── Composer: ask, and watch a recorded answer type itself ──────────────── */
.ask { width: 100%; display: grid; gap: 18px; justify-items: center; }
.ask__hi { font: 300 clamp(26px, 3.4vw, 40px)/1.15 var(--fd); letter-spacing: -.02em; }
.ask__bar { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 8px 8px 24px; border-radius: 32px; background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim), 0 2px 8px -2px rgb(0 0 0 / .16); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.ask__bar:focus-within { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent); transform: translateY(-1px); }
.ask__bar input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 17px/1.3 var(--fb); outline: 0; }
.ask__bar input::placeholder { color: var(--ink2); }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ask__log { width: 100%; display: grid; gap: 10px; text-align: left; max-height: 280px; overflow: auto; }
.ask__log:empty { display: none; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; background: var(--tint); animation: land var(--d-deal) var(--sp-deal) both; }
.msg--you { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.msg--them { border-bottom-left-radius: 6px; }
.msg small { display: block; margin-top: 6px; color: var(--ink2); font-size: 13px; }
.msg a { color: var(--accent2); }
@keyframes land { 0% { opacity: 0; transform: translateY(16px) scale(.96); } 100% { opacity: 1; transform: none; } }

/* ── The line of marks: a travelling wave, pulled sideways by the scroll ──── */
.wave { overflow: clip; padding-block: 44px; }
.wave__row { display: flex; gap: 14px; width: max-content; transform: translateX(var(--x, 0px)); will-change: transform; padding-inline: var(--gut); }
.wave__row > * { flex: none; transform: translateY(var(--y, 0px)); will-change: transform; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--bg2); font-size: 15px; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim); }
.wave__row b { font-weight: 500; color: var(--accent2); }

/* ── Statement and heads ─────────────────────────────────────────────────── */
.say { font: var(--dw) clamp(26px, 3.6vw, 52px)/1.12 var(--fd); letter-spacing: -.025em; max-width: min(1000px, 100%); text-wrap: pretty; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 72px); }
.head--c { justify-items: center; text-align: center; }

/* ── Explorer: copy holds still, the work scrolls past it ────────────────── */
.xp__item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: start; padding-block: clamp(20px, 3vw, 44px); }
.xp__copy { position: sticky; top: 30vh; display: grid; gap: 14px; padding-bottom: 12vh; }
.xp__copy h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; }
.xp__copy p { color: var(--ink2); max-width: 38ch; }
.xp__copy a { justify-self: start; }
.media { position: relative; border-radius: clamp(18px, 2vw, 28px); min-height: clamp(320px, 46vw, 620px); display: grid; place-items: center; padding: clamp(18px, 3.4vw, 48px); isolation: isolate; overflow: hidden; background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim); }
.media::before { content: ""; position: absolute; inset: 14% 10% 6%; z-index: -1; border-radius: 40%; filter: blur(60px); opacity: .5;
  background: conic-gradient(from var(--a, 200deg), var(--p1), var(--p2), var(--p3), var(--p1)); animation: breathe 9.5s ease-in-out infinite; }
.media img { border-radius: 14px; width: 100%; height: auto; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .6), inset 0 0 0 1px var(--line); }
.media--bleed { padding: 0; }
.media--bleed img { border-radius: 0; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* A product surface drawn in the page: a sheet with rows. */
.surf { width: min(520px, 100%); border-radius: 18px; background: var(--bg); color: var(--ink); text-align: left; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim), 0 40px 80px -40px rgb(0 0 0 / .6); }
.surf__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; box-shadow: 0 1px 0 var(--line2); font-size: 13px; color: var(--ink2); }
.surf__bar::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 14px 0 0 var(--line), 28px 0 0 var(--line); margin-right: 30px; }
.surf__body { padding: 18px 20px 20px; display: grid; gap: 12px; }
.surf__title { font: var(--dw) 20px/1.2 var(--fd); letter-spacing: -.01em; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; box-shadow: 0 1px 0 var(--line2); font-size: 15px; }
.row span:first-child { color: var(--ink2); }
.row span:last-child { text-align: right; }
.row:last-child { box-shadow: none; }
.surf__foot { font-size: 13px; color: var(--ink2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 5px 10px; border-radius: 999px; background: var(--tint); font-size: 13px; }
.big { font: var(--dw) clamp(54px, 9vw, 128px)/.95 var(--fd); letter-spacing: -.04em; text-align: center; }
.big small { display: block; margin-top: 14px; font: 400 16px/1.4 var(--fb); letter-spacing: 0; color: var(--ink2); }
.bars { width: min(460px, 100%); display: grid; gap: 14px; text-align: left; }
.bar { display: grid; gap: 6px; font-size: 14px; }
.bar div { display: flex; justify-content: space-between; color: var(--ink2); }
.bar i { display: block; height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.bar i::after { content: ""; display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--btn); transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--d-settle) var(--sp-settle) calc(var(--i, 0) * 90ms); }
.in .bar i::after { transform: none; }

/* ── Lanes: a list on the left that counts down, the work on the right ───── */
.lanes { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.lanes__list { display: grid; align-content: start; }
.lane { position: relative; text-align: left; border: 0; background: transparent; color: var(--ink2); cursor: pointer; padding: 16px 0; font: 400 15px/1.3 var(--fb); box-shadow: 0 1px 0 var(--line); display: grid; transition: color .2s var(--ease), transform .2s var(--ease); }
.lane:hover { color: var(--ink); transform: translateX(3px); }
.lane b { font: var(--dw) 15px/1.3 var(--fb); }
.lane[aria-selected="true"] { color: var(--ink); cursor: default; transform: none; }
.lane[aria-selected="true"] b { font: var(--dw) 22px/1.2 var(--fd); letter-spacing: -.01em; }
.lane span { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-settle) var(--sp-settle); color: var(--ink2); }
.lane span > em { overflow: hidden; font-style: normal; }
.lane[aria-selected="true"] span { grid-template-rows: 1fr; }
.lane[aria-selected="true"] span > em { padding-top: 8px; }
.lane::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.lane[aria-selected="true"].run::after { animation: count var(--dwell, 7s) linear infinite; }
.lanes.hold .lane.run::after { animation-play-state: paused; }
@keyframes count { 0%, 33.33% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.lanes__view { position: relative; }
.pane { display: none; height: 100%; }
.pane.on { display: grid; animation: pane .5s var(--ease2) both; }
@keyframes pane { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
.pills { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line2); }

/* ── Fan: a hand of work, held open ──────────────────────────────────────── */
.fan { display: flex; justify-content: center; padding: 30px var(--gut) 10px; }
.fan__card { flex: none; width: clamp(180px, 20vw, 270px); aspect-ratio: 4 / 5; margin-inline: clamp(-46px, -3vw, -18px); border-radius: 18px; overflow: hidden; position: relative; text-decoration: none; color: #fff; background: var(--bg2);
  transform: translateY(calc(var(--k) * var(--k) * 9px)) rotate(calc(var(--k) * 5deg)); transform-origin: 50% 120%;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / .7); transition: transform var(--d-deal) var(--sp-deal) calc(var(--o, 0) * 70ms), box-shadow .3s var(--ease); }
.fan__card:hover, .fan__card:focus-visible { transform: translateY(-26px) rotate(calc(var(--k) * 2deg)) scale(1.04); z-index: 3; transition-delay: 0s; box-shadow: inset 0 0 0 1px var(--rim), 0 50px 80px -30px rgb(0 0 0 / .8); }
.fan__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan__card div { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .78)); display: grid; gap: 4px; }
.fan__card small { font-size: 12px; opacity: .8; letter-spacing: .04em; }
.fan__card b { font: 500 17px/1.2 var(--fd); }
.js .fan.deal .fan__card { opacity: 0; transform: translateY(160px) rotate(calc(var(--k) * 14deg)); }

/* ── Slider: drag it ─────────────────────────────────────────────────────── */
.sl { overflow: clip; }
.sl__track { display: flex; gap: 24px; touch-action: pan-y; cursor: grab; user-select: none; will-change: transform; padding-inline: var(--gut); }
.sl__track.drag { cursor: grabbing; }
.sl__slide { flex: none; width: min(78vw, 720px); border-radius: clamp(18px, 2vw, 28px); overflow: hidden; position: relative; aspect-ratio: 16 / 10; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); opacity: .5; transform: scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.sl__slide.on { opacity: 1; transform: none; }
.sl__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sl__cap { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgb(0 0 0 / .72)); color: #fff; display: grid; gap: 4px; }
.sl__cap b { font: 500 clamp(20px, 2.4vw, 30px)/1.1 var(--fd); letter-spacing: -.02em; }
.sl__nav { display: flex; gap: 8px; align-items: center; padding: 20px var(--gut) 0; }
.rnd { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); cursor: pointer; font-size: 18px; transition: transform .15s ease-out, background-color .15s ease-out; }
.rnd:hover { transform: scale(1.06); background: color-mix(in srgb, var(--ink) 14%, transparent); }
.rnd:disabled { opacity: .35; cursor: default; transform: none; }
.tip { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 13px/1 var(--fb); translate: -50% -50%; transform: translate(var(--x, 0), var(--y, 0)) scale(var(--s, 0)); opacity: var(--s, 0); }

/* ── Two doors ───────────────────────────────────────────────────────────── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { position: relative; min-height: clamp(320px, 38vw, 480px); border-radius: clamp(18px, 2vw, 28px); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 32px; text-decoration: none; background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim); transition: transform var(--d-snappy) var(--sp-snappy), box-shadow .3s var(--ease); }
.door:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rim), 0 40px 80px -50px rgb(0 0 0 / .6); }
.door canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.door__in { display: grid; gap: 10px; justify-items: center; padding: 26px 30px; border-radius: 28px; background: radial-gradient(closest-side, color-mix(in srgb, var(--bg2) 94%, transparent) 62%, transparent); }
.door__in h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; }
.door__in p { color: var(--ink2); max-width: 32ch; }

/* ── Stats, plans, questions ─────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 26px 22px; box-shadow: -1px 0 0 var(--line); display: grid; gap: 6px; }
.stat b { font: var(--dw) clamp(34px, 4vw, 56px)/1 var(--fd); letter-spacing: -.03em; }
.stat span { color: var(--ink2); font-size: 15px; }
.plans { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; padding: 6px var(--gut) 22px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.plan { scroll-snap-align: start; padding: 24px 22px; display: grid; gap: 14px; align-content: start; transition: transform var(--d-snappy) var(--sp-snappy); }
.plan:hover { transform: translateY(-4px); }
.plan.is-top { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), inset 0 1px 0 var(--accent2), 0 40px 90px -50px color-mix(in srgb, var(--accent) 80%, #000); }
.plan h3 { font-size: 20px; }
.plan__price { font: var(--dw) 40px/1 var(--fd); letter-spacing: -.03em; }
.plan__price small { font: 400 14px/1 var(--fb); color: var(--ink2); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink2); }
.plan li::before { content: "—"; margin-right: 8px; color: var(--accent2); }
.plan .b { margin-top: auto; }
.faq { display: grid; max-width: 860px; margin-inline: auto; }
.q { box-shadow: 0 1px 0 var(--line); }
.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: var(--dw) clamp(18px, 1.7vw, 22px)/1.3 var(--fd); letter-spacing: -.01em; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font: 400 18px/1 var(--fb); transition: transform var(--d-flip) var(--sp-flip), background-color .2s var(--ease); }
.q[open] summary::after { transform: rotate(135deg); background: var(--ink); color: var(--bg); }
.q p { color: var(--ink2); padding: 0 50px 24px 0; max-width: 70ch; animation: pane .45s var(--ease2) both; }

/* ── Interactive pieces ──────────────────────────────────────────────────── */
.ab { width: 100%; display: grid; gap: 18px; justify-items: center; }
.ab canvas { width: 100%; height: 200px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.ab__read { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--ink2); }
.ab__read b { display: block; font: var(--dw) 26px/1.1 var(--fd); color: var(--ink); letter-spacing: -.02em; }
.rooms { width: 100%; display: grid; gap: 18px; justify-items: center; }
.rooms__plan { width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 130px 110px; gap: 10px; }
.room { border: 0; border-radius: 16px; cursor: pointer; text-align: left; padding: 16px; color: var(--ink); font: 500 15px/1.2 var(--fb); position: relative; overflow: hidden; background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim); transition: transform .15s ease-out, background-color .5s var(--ease), box-shadow .5s var(--ease); }
.room:first-child { grid-row: span 2; }
.room:active { transform: scale(.98); }
.room small { display: block; margin-top: 4px; color: var(--ink2); font-weight: 400; }
.room::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent2) 60%, transparent), transparent); transform: scale(.2); opacity: 0; transition: transform var(--d-settle) var(--sp-settle), opacity .4s var(--ease); }
.room[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 16%, var(--bg2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 var(--accent2); }
.room[aria-pressed="true"]::before { transform: none; opacity: .5; }
.deck { position: relative; width: min(340px, 86vw); height: 420px; }
.card { position: absolute; inset: 0; border-radius: 22px; padding: 22px; display: grid; align-content: end; gap: 8px; text-align: left; background: var(--bg2); color: var(--ink); cursor: grab; touch-action: pan-y; user-select: none; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--rim), 0 30px 60px -30px rgb(0 0 0 / .7);
  transform: translate(var(--dx, 0px), calc(var(--n) * 10px)) rotate(var(--rot, 0deg)) scale(calc(1 - var(--n) * .045)); transition: transform var(--d-deal) var(--sp-deal); }
.card.drag { transition: none; cursor: grabbing; }
.card::before { content: ""; position: absolute; inset: 0 0 42% 0; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 34%, var(--bg2)), var(--bg2)); z-index: -1; }
.card h3 { font-size: 22px; }
.card p { color: var(--ink2); font-size: 15px; }
.card em { position: absolute; top: 18px; left: 18px; font: 600 11px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; font-style: normal; padding: 6px 10px; border-radius: 999px; background: var(--tint); }
.deck__keys { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }

/* ── Close and footer ────────────────────────────────────────────────────── */
.close { position: relative; border-radius: clamp(20px, 2.6vw, 36px); overflow: hidden; isolation: isolate; padding: clamp(48px, 8vw, 110px) var(--gut); display: grid; gap: 22px; justify-items: center; text-align: center; color: var(--close-ink); }
.close h2 { font-size: clamp(32px, 5vw, 68px); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; }
.close p { max-width: 52ch; opacity: .9; }
.close .b { color: var(--close-ink); background: color-mix(in srgb, var(--close-ink) 16%, transparent); }
.close .b--p { background: var(--close-ink); color: var(--close-bg); box-shadow: 0 16px 40px -18px rgb(0 0 0 / .6); }
.foot { padding: 64px 0 44px; }
.foot__top { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; padding-bottom: 40px; }
.foot__top h3 { font: 500 14px/1 var(--fb); color: var(--ink2); letter-spacing: 0; margin-bottom: 14px; }
.foot__top ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.foot__top a { text-decoration: none; transition: color .15s ease-out, transform .15s ease-out; display: inline-block; }
.foot__top a:hover { color: var(--accent2); transform: translateX(2px); }
.mark { font: var(--dw) clamp(64px, 17.4vw, 300px)/.86 var(--fd); letter-spacing: -.05em; white-space: nowrap; display: flex; justify-content: center; padding: .12em 0 .16em; overflow: clip; }
.mark span { display: inline-block; transform: translateY(calc((1 - var(--t, 1)) * 62%)) rotate(calc((1 - var(--t, 1)) * var(--tw, 3deg))); transform-origin: 50% 100%; will-change: transform; }
.mark span > i { display: inline-block; font-style: normal; animation: bob calc(2.2s + var(--i) * .25s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.35s); }
@keyframes bob { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-4px) rotate(calc(var(--tw, 3deg) * .4)); } }
.foot__base { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; padding: 22px 0 28px; font-size: 14px; color: var(--ink2); box-shadow: 0 -1px 0 var(--line); }
.foot__base a { text-decoration: none; }
.local { position: fixed; left: 12px; bottom: 12px; z-index: 55; font: 500 12px/1 var(--fb); padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--ink2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }

/* ── Small screens ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav__links, .nav__cta .b:not(.b--p) { display: none; }
  .nav__menu { display: grid; }
  .cols, .duo, .lanes { grid-template-columns: 1fr; }
  .xp__item { grid-template-columns: 1fr; gap: 18px; }
  .xp__copy { position: static; padding-bottom: 0; }
  .lanes__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .lane span { display: none; }
  .lane[aria-selected="true"] b { font: var(--dw) 16px/1.3 var(--fb); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .fan { justify-content: flex-start; overflow-x: auto; padding: 44px 44px 24px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan__card { width: 168px; margin-inline: -18px; scroll-snap-align: center; transform: translateY(calc(var(--k) * var(--k) * 4px)) rotate(calc(var(--k) * 2.4deg)); }
  .rooms__plan { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 104px); }
  .stage { min-height: 70vh; }
  .stat { box-shadow: 0 -1px 0 var(--line); }
  .note__in > span:not(.note__tag) { display: none; }
  .nav__in { gap: 12px; }
  .brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
}
@media (max-width: 560px) {
  .nav__cta .b--p { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .foot__top { grid-template-columns: 1fr; }
}

/* ── Reduce Motion: everything arrives, nothing travels ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .typed .c, .rise .w, .lit .c, .up, .fan.deal .fan__card { opacity: 1 !important; transform: none !important; }
  .stage, .mark span { transform: none; }
  .caret { display: none; }
}

/* ── v1.1: black and white, and everything answers the pointer ───────────── */
.dim { color: var(--ink2); }
.hero--m h1 { font-size: clamp(32px, 4.7vw, 66px); line-height: 1.05; max-width: 21ch; }
.prox .c { display: inline-block; transform: translateY(calc(var(--g, 0) * -4px)) scale(calc(1 + var(--g, 0) * .05)); }
.prox .dim .c { color: color-mix(in srgb, var(--ink) calc(var(--g, 0) * 100%), var(--ink2)); }
.wave__row > * { transform: translateY(var(--y, 0px)) scale(var(--z, 1)); }
.mark span { transform: translateY(calc((1 - var(--t, 1)) * 62% - var(--h, 0) * 7%)) rotate(calc((1 - var(--t, 1)) * var(--tw, 3deg))); }
.media::before { opacity: var(--halo-o, .5); }
/* A light follows the pointer across every surface. */
.media, .plate, .door { background-image: radial-gradient(460px circle at var(--sx, -999px) var(--sy, -999px), color-mix(in srgb, var(--ink) 11%, transparent), transparent 62%); }
/* And the thing on the surface tilts toward it. */
.media:not(.media--bleed) > * { transform: perspective(1000px) rotateX(calc(var(--ty, 0) * -5deg)) rotateY(calc(var(--tx, 0) * 6deg)); transition: transform .6s var(--ease2); }
.nav__links { position: relative; }
.nav__links a { position: relative; }
.nav__pill { position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; width: var(--w, 0px); border-radius: 999px; background: var(--tint); pointer-events: none;
  transform: translateX(var(--x, 0px)); opacity: var(--o, 0); transition: transform var(--d-snappy) var(--sp-snappy), width var(--d-snappy) var(--sp-snappy), opacity .2s var(--ease); }
.nav__pill ~ a:hover { background: transparent; }
.nav__mode { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: var(--tint); display: grid; place-items: center;
  transition: transform var(--d-flip) var(--sp-flip), background-color .15s ease-out; }
.nav__mode::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav__mode[aria-pressed="true"] { transform: rotate(180deg); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* ── v1.2: real screens, phone care ──────────────────────────────────────── */
.media picture { display: block; width: 100%; }
.only-phone { display: none; }
.local { opacity: .86; }
@media (max-width: 560px) {
  .only-desk { display: none; }
  .only-phone { display: inline-flex; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .hero__cta .b--p { flex: 1 1 100%; }
  .hero__cta .b:not(.b--p) { flex: 1 1 auto; }
  .local { font-size: 11px; padding: 6px 10px; left: 50%; translate: -50% 0; bottom: 8px; white-space: nowrap; }
  .media { min-height: 0; padding: 12px; }
  .media img { border-radius: 12px; }
}
/* Fingers need 44px. */
@media (pointer: coarse) {
  .chip, .b--sm, .rnd { min-height: 44px; }
  .nav__mode { width: 44px; height: 44px; }
  .note button { width: 44px; height: 44px; }
  .note__in { padding-block: 2px; }
  .q summary { padding-block: 24px; }
}

/* ── v1.3: glisten — a light crosses the words, letter by letter, then rests ── */
:root { --sheen-base: color-mix(in srgb, var(--ink) 80%, var(--ink2)); --sheen-peak: var(--ink); --sheen-glow: color-mix(in srgb, var(--ink) 75%, transparent); }
:root[data-scheme="light"] { --sheen-base: var(--ink); --sheen-peak: #b4b4bd; --sheen-glow: transparent; }
.glisten .c { color: var(--sheen-base); }
.typed.done .glisten .c { animation: glisten 4.6s ease-in-out infinite; animation-delay: calc(.35s + var(--i) * 40ms); }
@keyframes glisten {
  0%, 17%, 100% { color: var(--sheen-base); text-shadow: 0 0 0 transparent; }
  7% { color: var(--sheen-peak); text-shadow: 0 0 .32em var(--sheen-glow), 0 0 .06em var(--sheen-peak); }
}
@media (prefers-reduced-motion: reduce) { .glisten .c { color: var(--ink); } }

/* The glow behind a stage may carry its own colours (--g1..3); otherwise it uses the field's. */
.glow b::before { background: repeating-linear-gradient(var(--g1, var(--p1)) 0, var(--g2, var(--p2)) 18%, var(--g3, var(--p3)) 34%, var(--g2, var(--p2)) 52%, var(--g1, var(--p1)) 70%); }

/* ── v1.4: neon pulse — the glow behind the prompt beats, and the prompt's rim beats with it ── */
.stage--pulse .glow b { animation: morph 7.3s ease-in-out infinite, pulse 2.8s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: calc(var(--glow-o, .5) * .5); scale: .93; }
  50% { opacity: calc(var(--glow-o, .5) * 1.35); scale: 1.1; }
}
.stage--pulse .ask__bar { animation: neon 2.8s ease-in-out infinite; }
@keyframes neon {
  0%, 100% { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g1) 22%, transparent), 0 0 18px -8px color-mix(in srgb, var(--g1) 30%, transparent); }
  50% { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g1) 62%, transparent), 0 0 42px -6px color-mix(in srgb, var(--g1) 70%, transparent); }
}
.stage--pulse .ask__bar:focus-within { animation: none; box-shadow: inset 0 0 0 1px var(--g1), 0 0 0 5px color-mix(in srgb, var(--g1) 22%, transparent), 0 0 46px -6px color-mix(in srgb, var(--g1) 75%, transparent); }

/* ── v1.6: live checkout forms inside the plan cards ─────────────────────── */
.plan-buy { display: grid; gap: 8px; margin-top: auto; }
.plan-buy .b { width: 100%; }
.plan-buy .hero__fine { font-size: 12px; line-height: 1.45; }
.checkout-status:empty { display: none; }
.b:disabled { opacity: .6; cursor: progress; transform: none; }
.bill { display: grid; gap: 10px; justify-items: center; text-align: center; margin: -24px 0 30px; }
.chip small { font-size: 11px; opacity: .75; }
.plan__price strong { font-weight: inherit; }

/* ── v1.7: five tiers across, usage pricing beneath ──────────────────────── */
.plans { width: min(1280px, 100%); margin-inline: auto; grid-auto-columns: minmax(212px, 1fr); }
.usage { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; padding: 24px 26px; margin-top: 2px; }
.usage h3 { font-size: 22px; margin-top: 8px; }
.usage ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--ink2); font-size: 15px; }
.usage .plan-buy { grid-auto-flow: column; align-items: center; margin: 0; }
.usage .plan-buy .b { width: auto; }
.usage .checkout-status { grid-column: 1 / -1; }
@media (max-width: 560px) { .usage .plan-buy { grid-auto-flow: row; width: 100%; } .usage .plan-buy .b { width: 100%; } }

/* ── v1.8: every finger target reaches 44px, on narrow screens as well as touch ones ── */
@media (pointer: coarse), (max-width: 560px) {
  .chip, .b, .b--sm, .rnd { min-height: 44px; }
  .brand, .note__in a, .foot__top a, .foot__base a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot__top ul { gap: 0; }
  .foot__base { gap: 0 24px; }
}
/* A fanned card may lean past the edge on mid-width screens; clip it there instead of widening the page. */
@media (min-width: 861px) { .fan { overflow-x: clip; } }

/* The App Store badge, at Apple's own proportions, on both papers. */
.store { display: inline-flex; align-items: center; min-height: 44px; border-radius: 9px; line-height: 0; }
.store img { display: block; width: 132px; height: 44px; }
.store:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.door__in .store { margin-top: 10px; justify-self: center; }
.door__more { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink2); font-size: 15px; }
@media (max-width: 560px) { .hero__cta .store { flex: 1 1 100%; justify-content: center; } }

/* ── tools: the room holds a site's own working browser tools, as tabs (v1.9, December 2026) ───── */
.stage--tools { min-height: 0; }
.stage--tools .stage__in { width: min(1080px, 100%); padding-bottom: clamp(56px, 6vw, 80px); }
.tools .head { margin-bottom: 4px; }
.tools__tabs { flex-wrap: wrap; justify-content: center; border-radius: 28px; }
.tools__tabs .chip { min-height: 48px; padding: 0 18px; flex-direction: column; justify-content: center; gap: 3px; line-height: 1.1; }
.tools__tabs .chip small { font-size: 12px; font-weight: 400; opacity: .62; }
.tools__tabs .chip:disabled { cursor: default; opacity: .8; transform: none; }
.tools__panel { width: 100%; display: grid; gap: 16px; text-align: left; animation: pane .45s var(--ease2) both; }
.tools__panel[hidden] { display: none; }
.tools__ctx { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; font-size: 15px; color: var(--ink2); }
.tools__ctx a, .tools__panel .hero__fine a { color: var(--ink); text-underline-offset: 3px; }
.tools__frame { width: 100%; min-height: 420px; border: 0; border-radius: calc(var(--r) + 4px); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.tools__head { display: grid; gap: 6px; }
.tools__head h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.tools__head p { color: var(--ink2); }
.tools__badge { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; color: var(--ink2); }
.tools__cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.tools__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tools__form label { display: grid; gap: 8px; font-size: 14px; color: var(--ink2); }
.tools__form label.wide { grid-column: 1 / -1; }
.tools__form input, .tools__form textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 16px; background: var(--bg2); color: var(--ink); font: 400 16px/1.4 var(--fb);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s ease-out; resize: vertical; }
.tools__form input::placeholder, .tools__form textarea::placeholder { color: color-mix(in srgb, var(--ink2) 80%, transparent); }
.tools__form input:focus-visible, .tools__form textarea:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 5px var(--tint); border-radius: 16px; }
.tools__form .b { justify-self: start; }
.tools__err { grid-column: 1 / -1; min-height: 1.2em; font-size: 14px; color: var(--ink); }
.tools__err:empty { display: none; }
.tools__out { display: grid; gap: 12px; padding: 20px; border-radius: calc(var(--r) + 4px); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.tools__out pre { margin: 0; min-height: 220px; max-height: 420px; overflow: auto; white-space: pre-wrap; font: 400 14px/1.55 var(--fb); color: var(--ink); }
.tools__out .b { justify-self: start; }
.tools__out .b:disabled { opacity: .45; cursor: default; transform: none; }
.tools__reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tools__reads a { display: grid; gap: 10px; align-content: start; padding: 22px; text-decoration: none; transition: transform var(--d-snappy) var(--sp-snappy); }
.tools__reads a:hover { transform: translateY(-4px); }
.tools__reads small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.tools__reads b { font: var(--dw) 20px/1.2 var(--fd); letter-spacing: -.01em; }
.tools__reads span { color: var(--ink2); font-size: 15px; }
.tools__reads em { font-style: normal; font-size: 14px; margin-top: 6px; }

/* ── apps: one card per product, with its price and platforms ───────────── */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 8px; }
.app { padding: 26px 24px; display: grid; gap: 10px; align-content: start; transition: transform var(--d-snappy) var(--sp-snappy); }
.app:hover { transform: translateY(-4px); }
.app h3 { font-size: 26px; line-height: 1.05; }
.app__price { font: 600 15px/1.2 var(--fb); }
.app__pitch { font: var(--dw) 18px/1.3 var(--fd); letter-spacing: -.01em; margin-top: 6px; }
.app__body { color: var(--ink2); font-size: 15px; }
.app__plat { font-size: 13px; color: var(--ink2); padding-top: 10px; box-shadow: 0 -1px 0 var(--line2); margin-top: 4px; }
.app__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 6px; }
.app__more { font-size: 14px; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.app__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.apps__fine { text-align: center; max-width: 72ch; margin: 22px auto 0; }

/* ── dock: slots that receive what a site's Workers add to every page (see dock() in sleek.js) ─── */
.dock:empty { display: none; }
.dock--top { display: grid; justify-items: center; gap: 8px; padding: 76px var(--gut) 0; }
.dock--foot { display: flex; align-items: center; }
.dock--more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-block: 0 clamp(48px, 7vw, 96px); }

@media (max-width: 860px) {
  .tools__cols { grid-template-columns: 1fr; }
  .tools__reads { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tools__form { grid-template-columns: 1fr; }
  .tools__tabs { border-radius: 22px; }
  .tools__tabs .chip { flex: 1 1 100%; }
  .tools__frame { min-height: 360px; }
  .dock--top { padding-top: 72px; }
}
@media (max-width: 760px) { .dock--more { grid-template-columns: 1fr; } }
