/* Riti landing, "Unbound" (approved prototype prototype/ui/unbound/landing.css, ported to the strict APP CSP:
   no inline style attributes; colours are classes or CSSOM custom properties set by landing.js). A live showcase: the hero is a real page that becomes seven formats.
   Fonts (OFL, local): Bricolage Grotesque variable (wght 200–800, wdth 75–100, opsz 12–96) for display;
   Instrument Sans (latin + latin-ext, has ₹) for UI and body; IBM Plex Mono for codes and URLs. */

@font-face { font-family: 'Bricolage'; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url(fonts/bricolage.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2212; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap;
  src: url(/static/ds/v1/fonts/instrument-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap;
  src: url(/static/ds/v1/fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url(/static/ui/v1/fonts/plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 500; font-display: swap; src: url(/static/ui/v1/fonts/plex-mono-500.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --display: 'Bricolage', 'Instrument Sans', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, monospace;

  --bg: #ffffff; --bg-2: #f6f6f4; --bg-3: #eeeeeb; --lift: #ffffff;
  --ink: #0b0b0c; --ink-2: #45454a; --ink-3: #5f5f66; --line: #e6e6e3; --line-2: #d3d3cf;
  --shadow: 0 1px 2px rgba(11,11,12,.06), 0 8px 24px rgba(11,11,12,.08);
  --shadow-lg: 0 2px 6px rgba(11,11,12,.06), 0 24px 60px rgba(11,11,12,.14);
  --primary: #1d3fd8; --on-primary: #ffffff;

  /* formats (from the purpose map): a colour per job */
  --f-page: #2b58d6; --f-deck: #c2410c; --f-sheet: #0d7a48; --f-plan: #7a35e6; --f-tracker: #b3205a; --f-card: #9a5b00; --f-gallery: #0b6f86;
  /* sharing levels */
  --l-every: #c8341f; --l-code: #a15c00; --l-conn: #0d7a48; --l-ccode: #6b3fd1; --l-me: #3a4556;
  --good: #0d7a48; --warn: #a15c00; --bad: #c8341f;
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-xl: 32px;
  --gutter: clamp(16px, 4vw, 48px);
  --wide: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0b0c; --bg-2: #141416; --bg-3: #1c1c1f; --lift: #17171a;
  --ink: #f3f3f1; --ink-2: #c4c4c0; --ink-3: #a3a39e; --line: #26262a; --line-2: #36363b;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.4); --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.6);
  --primary: #8ea2ff; --on-primary: #0b0b0c;
  --f-page: #8fb0ff; --f-deck: #ff9a66; --f-sheet: #6fd6a0; --f-plan: #c4a1ff; --f-tracker: #ff8fb6; --f-card: #f2c25a; --f-gallery: #67d3e6;
  --l-every: #ff8a76; --l-code: #f2b84b; --l-conn: #6fd6a0; --l-ccode: #b9a0ff; --l-me: #a8b6cc;
  --good: #6fd6a0; --warn: #f2b84b; --bad: #ff8a76;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) {
  color-scheme: dark;
  --bg: #0b0b0c; --bg-2: #141416; --bg-3: #1c1c1f; --lift: #17171a;
  --ink: #f3f3f1; --ink-2: #c4c4c0; --ink-3: #a3a39e; --line: #26262a; --line-2: #36363b;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.4); --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.6);
  --primary: #8ea2ff; --on-primary: #0b0b0c;
  --f-page: #8fb0ff; --f-deck: #ff9a66; --f-sheet: #6fd6a0; --f-plan: #c4a1ff; --f-tracker: #ff8fb6; --f-card: #f2c25a; --f-gallery: #67d3e6;
  --l-every: #ff8a76; --l-code: #f2b84b; --l-conn: #6fd6a0; --l-ccode: #b9a0ff; --l-me: #a8b6cc;
  --good: #6fd6a0; --warn: #f2b84b; --bad: #ff8a76;
} }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; } /* clip, not hidden: hidden makes body a scroll container and the view() reveal timelines stop (audit #14) */
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -0.18em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -120px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--primary); color: var(--on-primary); transition: transform .15s var(--ease), box-shadow .15s, background-color .15s; }
.btn:hover { box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn.lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo-mark { display: grid; grid-template-columns: repeat(4, 5px); gap: 2px; }
.logo-mark i { width: 5px; height: 5px; border-radius: 1.5px; background: var(--c); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 560px) { .top nav .hide-sm { display: none; } .top nav { gap: 14px; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(36px, 7vh, 88px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
@media (max-width: 1000px) { .hero-top { grid-template-columns: 1fr; } }
.nw { white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.25 var(--sans); color: var(--ink-2); padding: 7px 12px 7px 14px; border-radius: 999px; background: var(--bg-2); } /* the Beta pill moved out: one Beta on the first screen (audit #16) */
.eyebrow b { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11.5px; letter-spacing: .02em; }
.h-display { font-family: var(--display); font-weight: 720; font-stretch: 88%; font-variation-settings: 'opsz' 96;
  font-size: clamp(46px, 3vw + 34px, 112px); line-height: .94; letter-spacing: -0.035em; margin-top: 24px; max-width: 12ch; }
.h-display .shape { display: inline-block; color: var(--fc, var(--f-page)); font-stretch: 100%; transition: color .35s var(--ease), font-stretch .5s var(--ease), font-weight .5s var(--ease); }
.h-display .shape.pulse { animation: stretch .9s var(--ease); }
@keyframes stretch { 0% { font-stretch: 75%; font-weight: 800; } 55% { font-stretch: 100%; font-weight: 600; } 100% { font-stretch: 100%; font-weight: 720; } }
.lede { margin-top: 0; max-width: 37rem; font-size: clamp(18px, .4vw + 16px, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.hero-cta .hint { font-size: 14px; color: var(--ink-3); }
kbd { font: 500 12px/1 var(--mono); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--bg); color: var(--ink-2); }

/* ---------- the stage ---------- */
.stage-wrap { margin-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
.strip { display: grid; gap: 4px; position: sticky; top: 84px; }
.strip-h { font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px 12px; }
.fmt { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; overflow: hidden;
  transition: background-color .15s; }
.fmt:hover { background: var(--bg-2); }
.fmt:focus-visible { outline: 2px solid var(--c); outline-offset: 0; }
.fmt .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); transition: transform .3s var(--ease), border-radius .3s; }
.fmt b { font-weight: 600; font-size: 15.5px; }
.fmt .job { grid-column: 2 / 4; font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.fmt kbd { font-size: 11px; }
.fmt[aria-pressed='true'] { background: color-mix(in srgb, var(--c) 9%, var(--bg)); }
.fmt[aria-pressed='true'] .dot { transform: scale(1.25) rotate(45deg); border-radius: 2px; }
.fmt[aria-pressed='true'] b { color: var(--c); }
.fmt .timer { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--c); transform-origin: left; transform: scaleX(0); opacity: 0; }
.touring .fmt[aria-pressed='true'] .timer { opacity: .55; animation: timer var(--tour, 6s) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }
.tour-ctl { margin: 14px 0 0 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.tour-ctl button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); padding: 4px 8px; margin-left: -8px; border-radius: 6px; }
.tour-ctl button:hover { background: var(--bg-2); color: var(--ink); }
.tour-ctl button:focus-visible { outline: 2px solid var(--primary); }

.frame { border-radius: var(--r-l); background: var(--lift); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); overflow: hidden; view-transition-name: frame; }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.frame-bar .av { width: 22px; height: 22px; font-size: 10px; }
.frame-bar .who { font-weight: 600; color: var(--ink); }
.frame-bar .url { font: 400 12.5px/1 var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.frame-bar .lvl { margin-left: auto; flex: none; }
.frame-bar .fmt-name { flex: none; font: 600 12px/1 var(--sans); padding: 5px 8px; border-radius: 999px; color: var(--fc); background: color-mix(in srgb, var(--fc) 11%, transparent); view-transition-name: fmt-name; }
.view { position: relative; height: 560px; overflow: hidden; }
.frame-foot { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.frame-foot b { font: 700 14px/1 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.frame-foot .mk { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; color: var(--ink); font-weight: 600; }

.av { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; flex: none; font: 700 12px/1 var(--sans); color: #fff; background: var(--c, #3a4556); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font: 600 12.5px/1 var(--sans); white-space: nowrap;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent); }
.chip .ic { width: 14px; height: 14px; }

/* shared morphing names */
.vt-title { view-transition-name: doc-title; }
.vt-budget { view-transition-name: doc-budget; }
.vt-dates { view-transition-name: doc-dates; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(view), ::view-transition-new(view) { animation-duration: .45s; }
::view-transition-old(view) { animation-name: v-out; }
::view-transition-new(view) { animation-name: v-in; }
@keyframes v-out { to { opacity: 0; transform: scale(.97) translateY(-6px); filter: blur(3px); } }
@keyframes v-in { from { opacity: 0; transform: scale(1.02) translateY(8px); filter: blur(3px); } }
.view-inner { position: absolute; inset: 0; view-transition-name: view; }
/* deck slides slide sideways */
.dir-next::view-transition-old(slide) { animation: s-out-l .45s var(--ease) both; }
.dir-next::view-transition-new(slide) { animation: s-in-r .45s var(--ease) both; }
.dir-prev::view-transition-old(slide) { animation: s-out-r .45s var(--ease) both; }
.dir-prev::view-transition-new(slide) { animation: s-in-l .45s var(--ease) both; }
@keyframes s-out-l { to { transform: translateX(-12%); opacity: 0; } }
@keyframes s-in-r { from { transform: translateX(12%); opacity: 0; } }
@keyframes s-out-r { to { transform: translateX(12%); opacity: 0; } }
@keyframes s-in-l { from { transform: translateX(-12%); opacity: 0; } }

/* ---------- format: page ---------- */
.v-page { padding: 44px clamp(22px, 5vw, 64px); height: 100%; overflow: auto; }
.v-page .kicker { font: 600 13px/1 var(--sans); color: var(--f-plan); letter-spacing: .01em; }
.v-page h3 { font: 700 clamp(34px, 3vw + 18px, 58px)/.98 var(--display); font-stretch: 90%; letter-spacing: -0.035em; margin-top: 14px; width: fit-content; }
.v-page .dek { margin-top: 16px; max-width: 34rem; font-size: 17px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.facts div { border-top: 2px solid var(--ink); padding-top: 10px; }
.facts dt { font: 600 11.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin-top: 6px; font: 600 18px/1.25 var(--sans); width: fit-content; }
.days-mini { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.days-mini li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.days-mini b { font: 700 22px/1 var(--display); color: var(--f-plan); }
.days-mini span small { display: block; color: var(--ink-3); font-size: 13px; }

/* ---------- format: deck ---------- */
.v-deck { height: 100%; display: grid; grid-template-rows: 1fr auto; background: #101114; color: #f4f4f2; }
.slide { position: relative; display: grid; align-content: center; padding: 40px clamp(24px, 6vw, 72px); view-transition-name: slide; overflow: hidden; }
.slide > *:not(.sun) { position: relative; z-index: 1; }
.slide .k { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #ffb38a; }
.slide h3 { font: 760 clamp(40px, 4vw + 20px, 80px)/.94 var(--display); font-stretch: 80%; letter-spacing: -0.035em; margin-top: 16px; width: fit-content; }
.slide p { margin-top: 18px; font-size: 18px; color: #c9c9c4; max-width: 30rem; }
.slide .huge { font: 760 clamp(64px, 7vw + 20px, 140px)/.9 var(--display); font-stretch: 75%; letter-spacing: -0.04em; color: #ffb38a; width: fit-content; }
.slide .sun { position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffcf7a, #ff6b3d 60%, #c2410c); opacity: .9; }
.tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; max-width: 36rem; }
.ticket { border-radius: 14px; background: #1c1d22; padding: 16px 18px; box-shadow: inset 0 0 0 1px #2c2d33; }
.ticket .route { font: 500 26px/1 var(--mono); letter-spacing: .02em; }
.ticket .route i { font-style: normal; color: #ffb38a; padding: 0 6px; }
.ticket small { display: block; margin-top: 8px; color: #b9b9b4; font-size: 13px; }
.deck-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #24252b; font-size: 13px; color: #b9b9b4; }
.deck-bar button { all: unset; cursor: pointer; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: #f4f4f2; background: #24252b; }
.deck-bar button:hover { background: #33343b; }
.deck-bar button:focus-visible { outline: 2px solid #ffb38a; }
.deck-bar .dots { display: flex; gap: 5px; margin-left: 6px; }
.deck-bar .dots i { width: 18px; height: 4px; border-radius: 4px; background: #3a3b42; transition: background-color .2s, width .3s var(--ease); }
.deck-bar .dots i.on { background: #ffb38a; width: 30px; }
.deck-bar .count { margin-left: auto; font: 500 12.5px/1 var(--mono); color: #d9d9d4; }

/* ---------- format: sheet ---------- */
.v-sheet { height: 100%; overflow: auto; padding: 28px clamp(18px, 4vw, 44px); }
.sheet-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.sheet-head h3 { font: 700 30px/1 var(--display); font-stretch: 88%; letter-spacing: -0.03em; width: fit-content; }
.sheet-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
table.sheet { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.sheet th { text-align: left; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); padding: 0; }
.sheet th button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 10px 8px 10px 0; width: 100%; box-sizing: border-box; }
.sheet th button:hover { color: var(--ink); }
.sheet th button:focus-visible { outline: 2px solid var(--f-sheet); }
.sheet th .ar { opacity: 0; transition: transform .2s, opacity .2s; }
.sheet th[aria-sort] .ar { opacity: 1; color: var(--f-sheet); }
.sheet th[aria-sort='descending'] .ar { transform: rotate(180deg); }
.sheet th.r button { justify-content: flex-end; padding-right: 0; }
.sheet td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sheet tr { view-transition-name: var(--row); }
.sheet td.r { text-align: right; padding-right: 0; }
.sheet .bar { position: relative; height: 8px; border-radius: 8px; background: var(--bg-3); min-width: 80px; }
.sheet .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: var(--f-sheet); transition: width .35s var(--ease); }
.sheet input { width: 96px; text-align: right; font: 500 15px/1 var(--mono); color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 7px 8px; }
.sheet input:hover { border-color: var(--line-2); }
.sheet input:focus { outline: none; border-color: var(--f-sheet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-sheet) 20%, transparent); background: var(--bg); }
.sheet tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; padding-top: 12px; }
.sheet tfoot .tot { font: 700 22px/1 var(--mono); }
.sheet .who { display: inline-flex; align-items: center; gap: 8px; }
.sheet .who .av { width: 24px; height: 24px; font-size: 10px; }
.each { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--f-sheet) 9%, var(--bg)); font-size: 13px; color: var(--ink-2); }
.each b { font: 700 20px/1 var(--mono); color: var(--f-sheet); }
.flash-num { animation: flashn .6s var(--ease); }
@keyframes flashn { 0% { color: var(--f-sheet); transform: translateY(-3px); } 100% { transform: none; } }

/* ---------- format: plan ---------- */
.v-plan { height: 100%; padding: 28px clamp(18px, 4vw, 44px); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.plan-head h3 { font: 700 30px/1 var(--display); font-stretch: 88%; letter-spacing: -0.03em; width: fit-content; }
.plan-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; width: fit-content; }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; min-height: 0; overflow-y: auto; padding: 2px; }
.tday { display: grid; grid-template-rows: auto 1fr; gap: 8px; min-height: 0; }
.tday header { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.tday header b { font: 700 30px/1 var(--display); color: var(--f-plan); }
.tday header span { font-size: 12px; color: var(--ink-3); line-height: 1.2; }
.tday.now header { border-color: var(--f-plan); }
.tday ul { display: grid; gap: 6px; align-content: start; }
.ev { padding: 7px 9px; border-radius: 10px; background: var(--bg-2); font-size: 12.5px; line-height: 1.28; transition: background-color .2s, opacity .3s, transform .3s var(--ease), box-shadow .2s; }
.ev time { display: block; font: 500 11.5px/1 var(--mono); color: var(--ink-3); margin-bottom: 3px; }
.ev.past { opacity: .45; }
.ev.cur { background: var(--f-plan); color: #fff; transform: scale(1.03); box-shadow: 0 8px 20px color-mix(in srgb, var(--f-plan) 35%, transparent); }
.ev.cur time { color: rgba(255,255,255,.85); }
.scrub { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); }
.scrub label { font: 600 13px/1.2 var(--sans); }
.scrub output { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); min-height: 1.4em; }
.scrub output b { color: var(--ink); }
input[type='range'] { width: 100%; accent-color: var(--f-plan); height: 28px; }

/* ---------- format: tracker ---------- */
.v-tracker { height: 100%; padding: 28px clamp(18px, 4vw, 44px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; overflow: auto; }
.ring-box { display: grid; justify-items: center; gap: 12px; text-align: center; }
.ring-box h3 { font: 700 24px/1.05 var(--display); font-stretch: 88%; letter-spacing: -0.03em; width: fit-content; }
.ring { position: relative; width: 170px; height: 170px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring .bgc { stroke: var(--bg-3); }
.ring .fgc { stroke: var(--f-tracker); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.ring .lbl { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .lbl b { font: 760 46px/1 var(--display); font-stretch: 80%; }
.ring .lbl span { font-size: 12.5px; color: var(--ink-3); }
.ring-box p { font-size: 13px; color: var(--ink-3); max-width: 15rem; }
.tasks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.task { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.task .what b { font-weight: 600; font-size: 15px; display: block; }
.task .what small { color: var(--ink-3); font-size: 12.5px; }
.st { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font: 600 12.5px/1 var(--sans); white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); transition: background-color .2s, color .2s; }
.st:hover { background: color-mix(in srgb, var(--c) 20%, transparent); }
.st:focus-visible { outline: 2px solid var(--c); }
.st[data-st='done'] { --c: var(--good); } .st[data-st='pending'] { --c: var(--warn); } .st[data-st='todo'] { --c: var(--bad); }
.tick { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--bg-3); color: transparent; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.task[data-st='done'] .tick { background: var(--good); color: #fff; transform: rotate(-6deg); }
.task[data-st='pending'] .tick { background: color-mix(in srgb, var(--warn) 25%, transparent); }

/* ---------- format: card ---------- */
.v-card { height: 100%; display: grid; place-items: center; perspective: 1100px; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--f-card) 12%, var(--bg)), var(--bg) 70%); }
.phone { width: 280px; height: 500px; border-radius: 38px; padding: 10px; background: #0b0b0c; box-shadow: var(--shadow-lg); transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .5s var(--ease); }
.invite { position: relative; height: 100%; border-radius: 30px; overflow: hidden; color: #fff; display: grid; grid-template-rows: 1fr auto; }
.invite svg.bgsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.invite::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(to bottom, transparent, rgba(20,10,30,.78) 45%, rgba(20,10,30,.92)); }
.invite .txt { position: relative; z-index: 1; padding: 26px 22px; align-self: end; }
.invite .k { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #ffe2b8; }
.invite h3 { font: 760 40px/.92 var(--display); font-stretch: 78%; letter-spacing: -0.03em; margin-top: 8px; width: fit-content; }
.invite .d { font: 700 22px/1 var(--display); margin-top: 12px; color: #ffe2b8; width: fit-content; }
.invite p { font-size: 13.5px; margin-top: 10px; color: #fff3e0; }
.invite .acts { position: relative; z-index: 1; display: grid; gap: 8px; padding: 0 16px 18px; }
.invite .acts a, .invite .acts span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; text-decoration: none; font: 600 14px/1 var(--sans); background: #fff; color: #3a1d00; }
.invite .acts .sec { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.card-note { position: absolute; left: 20px; bottom: 16px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- format: gallery ---------- */
.v-gallery { height: 100%; padding: 24px clamp(16px, 3vw, 32px); overflow: auto; }
.gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gal-head h3 { font: 700 26px/1 var(--display); font-stretch: 88%; letter-spacing: -0.03em; width: fit-content; }
.gal-head p { font-size: 13px; color: var(--ink-3); }
.grid-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; grid-auto-flow: dense; }
.grid-g button { all: unset; cursor: zoom-in; position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.grid-g button:nth-child(1) { grid-row: span 2; }
.grid-g button:nth-child(5) { grid-column: 1 / -1; }
.grid-g button svg { width: 100%; height: 100%; display: block; transition: transform .5s var(--ease); }
.grid-g button:hover svg { transform: scale(1.04); }
.grid-g button:focus-visible { outline: 3px solid var(--f-gallery); outline-offset: 2px; }
.grid-g figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px; font: 600 12px/1.2 var(--sans); background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 980px); width: 100%; color: #fff; }
dialog.lightbox::backdrop { background: rgba(8,8,10,.86); backdrop-filter: blur(4px); }
.lb-in { display: grid; gap: 12px; }
.lb-in svg { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 16px; display: block; }
.lb-bar { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lb-bar b { font-weight: 600; }
.lb-bar .sp { margin-left: auto; }
.lb-bar button { all: unset; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.12); }
.lb-bar button:hover { background: rgba(255,255,255,.22); }
.lb-bar button:focus-visible { outline: 2px solid #fff; }

/* ---------- sections ---------- */
section.band { padding-top: clamp(80px, 14vh, 150px); }
.sec-k { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sec-k i { width: 18px; height: 2px; background: currentColor; }
.h2 { font: 720 clamp(36px, 2.6vw + 22px, 68px)/.98 var(--display); font-stretch: 86%; letter-spacing: -0.035em; margin-top: 16px; max-width: 16ch; text-wrap: balance; }
.sec-lede { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 36rem; }

/* sharing picker */
.picker { margin-top: 44px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.levels { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.lv { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 16px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background-color .2s, transform .2s var(--ease); }
.lv:hover { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg-2); }
.lv input { position: absolute; opacity: 0; pointer-events: none; }
.lv .sw { width: 16px; height: 16px; border-radius: 5px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent); transition: transform .3s var(--ease), border-radius .3s; }
.lv b { font-weight: 600; font-size: 16px; }
.lv span.h { grid-column: 2; font-size: 13.5px; color: var(--ink-3); }
.lv:has(input:checked) { box-shadow: inset 0 0 0 2px var(--c); background: color-mix(in srgb, var(--c) 6%, var(--bg)); }
.lv:has(input:checked) .sw { transform: rotate(45deg) scale(1.1); border-radius: 3px; }
.lv:has(input:checked) b { color: var(--c); }
.lv:has(input:focus-visible) { outline: 2px solid var(--c); outline-offset: 2px; }

.room-box { position: relative; border-radius: var(--r-l); background: var(--bg-2); padding: 22px; }
.room-stage { position: relative; height: 380px; }
.room { position: absolute; left: 0; top: 0; bottom: 0; width: 58%; border-radius: 22px; background: var(--bg); box-shadow: 0 0 0 2px var(--lc, var(--l-ccode)), var(--shadow); transition: box-shadow .4s var(--ease); }
.room-lbl { position: absolute; left: 18px; top: 14px; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lc); transition: color .4s; }
.door { position: absolute; left: 58%; top: 42%; width: 6px; height: 16%; margin-left: -3px; border-radius: 6px; background: var(--lc, var(--l-ccode)); transition: background-color .4s; }
.outside-lbl { position: absolute; right: 6px; top: 14px; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bot { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink-2); max-width: 40%; }
.bot .ic { color: var(--bad); }
.pp { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 4px; width: 66px; transition: transform .7s var(--ease), opacity .4s; transition-delay: var(--d, 0s); will-change: transform; }
.pp .av { width: 40px; height: 40px; font-size: 13px; box-shadow: 0 0 0 3px var(--bg); transition: background-color .4s, filter .4s, opacity .4s; }
.pp small { font: 600 11.5px/1.1 var(--sans); color: var(--ink-2); text-align: center; white-space: nowrap; }
.pp .tag { position: absolute; top: -4px; right: 8px; width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2); color: var(--ink-2); }
.pp .tag .ic { width: 11px; height: 11px; }
.pp.out .av { background: var(--bg-3); color: var(--ink-2); box-shadow: 0 0 0 3px var(--bg), inset 0 0 0 1px var(--line-2); } /* outside: grey, still ≥ 4.5:1 (audit #47) */
.pp.out small { color: var(--ink-3); }
.pp.owner .av { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.verdict { margin-top: 16px; font-size: 16px; line-height: 1.5; min-height: 3em; }
.verdict b { color: var(--lc); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* steps */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { border-radius: var(--r-l); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: grid; align-content: start; gap: 12px; transition: box-shadow .2s, transform .2s var(--ease); }
.step:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transform: translateY(-2px); }
.step .n { font: 760 56px/1 var(--display); font-stretch: 75%; color: var(--c); }
.step h3 { font: 650 20px/1.2 var(--sans); letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--ink-2); }
.copy { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.copy code { font: 400 13px/1.3 var(--mono); overflow-wrap: anywhere; min-width: 0; flex: 1; } /* wraps, never cut (audit #19) */
.copy button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 9px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13px/1 var(--sans); flex: none; transition: background-color .15s, color .15s; }
.copy button:hover { background: var(--bg-3); }
.copy button:focus-visible { outline: 2px solid var(--primary); }
.copy button.ok { color: var(--good); box-shadow: inset 0 0 0 1px var(--good); }
.prompt { position: relative; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: color-mix(in srgb, var(--f-deck) 9%, var(--bg)); font-size: 15px; line-height: 1.45; }
.prompt .caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -0.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* agents */
.agents { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.agent-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 8px; }
.agent { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 8px 0 7px; border-radius: 15px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em; color: var(--ink); min-width: 0; transition: box-shadow .15s, transform .15s; }
.agent .nm { min-width: 0; display: grid; line-height: 1.15; }
.agent .nm, .agent small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent small { font-size: 12px; font-weight: 450; color: var(--ink-3); }
.agent:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 18px color-mix(in srgb, var(--ink) 7%, transparent); transform: translateY(-1px); }
.agent .mark { flex: none; box-sizing: border-box; width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.agent.is-any { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg-2); }
.agent.is-any .mark { background: var(--bg); }
.agent-more { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.log li .m.mk { background: transparent; padding: 0; }
.log li .m.mk .mark { box-sizing: border-box; width: 100%; height: 100%; padding: 5px; border-radius: inherit; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.eyebrow .eb-marks { display: inline-flex; gap: 7px; margin-left: 10px; vertical-align: middle; }
.eyebrow .eb-marks .mark { width: 14px; height: 14px; color: var(--ink-2); }
.step-marks { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.step-marks .mark { box-sizing: border-box; width: 24px; height: 24px; padding: 5px; border-radius: 7px; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
footer.foot .tm { flex-basis: 100%; order: 9; margin: 0; font-size: 11.5px; color: var(--ink-3); }
.log { border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.log-h { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.log-h b { color: var(--ink); font-weight: 600; }
.log li { display: grid; grid-template-columns: 34px auto 1fr auto; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.log li:last-child { border-bottom: 0; }
.log .v { font: 500 12.5px/1 var(--mono); color: var(--ink-3); }
.log .m { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 600 11px/1 var(--mono); color: #fff; background: var(--c); }
.log time { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }

/* promises */
.promises { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.promises li { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); }
.promises li .ic { width: 22px; height: 22px; color: var(--c, var(--ink)); }
.promises b { display: block; margin-top: 12px; font-size: 17px; font-weight: 650; }
.promises p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 20rem; }

/* price + cta */
.price { margin-top: clamp(80px, 14vh, 150px); border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px); background: var(--ink); color: var(--bg); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.price .sec-k { color: color-mix(in srgb, var(--bg) 65%, var(--ink)); }
.price h2 { font: 720 clamp(40px, 3vw + 24px, 80px)/.95 var(--display); font-stretch: 84%; letter-spacing: -0.035em; margin-top: 16px; text-wrap: balance; }
.price p { font-size: 17px; color: color-mix(in srgb, var(--bg) 78%, var(--ink)); max-width: 26rem; }
.price .btn { margin-top: 22px; background: var(--bg); color: var(--ink); }
.price .confetti { position: absolute; right: -80px; top: -130px; width: 220px; height: 220px; opacity: .85; pointer-events: none; }
@media (max-width: 720px) { .price .confetti { right: -30px; top: -96px; width: 150px; height: 150px; } } /* kept in the corner, clear of the heading (audit #17) */
.price > div { position: relative; z-index: 1; }
footer.foot { margin-top: 64px; padding: 28px 0 44px; border-top: 1px solid var(--line); }
footer.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--ink-3); }
footer.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.foot a { color: var(--ink-3); text-decoration: none; }
footer.foot a:hover { color: var(--ink); text-decoration: underline; }

/* scroll-driven reveals */
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  :root:not(.still) .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  :root:not(.still) .h2.reveal { animation-name: rise-wide; }
  @keyframes rise-wide { from { opacity: 0; transform: translateY(30px); font-stretch: 75%; } to { opacity: 1; transform: none; font-stretch: 86%; } }
} }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .stage-wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stage-wrap > * { min-width: 0; }
  .strip { position: static; display: flex; overflow-x: auto; gap: 6px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip-h, .tour-ctl { display: none; }
  .fmt { grid-template-columns: 10px auto auto; flex: none; padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; }
  .fmt .job { display: none; }
  .picker { grid-template-columns: 1fr; }
  .agents { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .view { height: 600px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .tickets { grid-template-columns: 1fr; }
  .slide .sun { width: 200px; height: 200px; right: -50px; bottom: -60px; }
  .card-note, .hero-cta .hint { display: none; }
  .timeline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .tday { scroll-snap-align: start; }
  .v-tracker { grid-template-columns: 1fr; gap: 18px; }
  .ring-box { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; }
  .ring { width: 120px; height: 120px; grid-row: span 2; }
  .ring .lbl b { font-size: 34px; }
  .grid-g { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .grid-g button:nth-child(5) { grid-column: 1 / -1; }
  .steps, .promises { grid-template-columns: 1fr; }
  .room-stage { height: 520px; } /* room for two rows outside without labels colliding (audit #15) */
  .room { width: 100%; height: 56%; bottom: auto; }
  .door { left: 50%; top: 56%; width: 22%; height: 6px; margin-left: -11%; margin-top: -3px; }
  .outside-lbl { left: 6px; right: auto; top: calc(56% + 16px); }
  .bot { max-width: none; left: 6px; }
  .frame-bar .url { display: none; }
  .sheet .barcol { display: none; }
  .frame-foot .rep { display: none; }
}

/* ---------- reduced motion / still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .phone { transform: none; }
}
:root.still *, :root.still *::before, :root.still *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
:root.still .phone { transform: none; }

/* beta positioning (owner 2026-10-13) */
.beta-tag{font:600 11px/1 var(--font-ui, system-ui);letter-spacing:.06em;text-transform:uppercase;padding:4px 7px;margin-left:8px;border-radius:999px;background:color-mix(in oklab, var(--primary, #1d3fd8) 12%, transparent);color:var(--primary, #1d3fd8);vertical-align:middle}

.step { min-width: 0; }
.step .copy { max-width: 100%; min-width: 0; }

/* ---------- production additions (CSP: every inline style became a class) ---------- */
.c-page { --c: var(--f-page); } .c-deck { --c: var(--f-deck); } .c-sheet { --c: var(--f-sheet); } .c-plan { --c: var(--f-plan); }
.c-tracker { --c: var(--f-tracker); } .c-card { --c: var(--f-card); } .c-gallery { --c: var(--f-gallery); } .c-ink { --c: var(--ink); }
.c-every { --c: var(--l-every); } .c-code { --c: var(--l-code); } .c-conn { --c: var(--l-conn); } .c-ccode { --c: var(--l-ccode); } .c-me { --c: var(--l-me); }
.c-asha { --c: #2f5d50; } .c-vikram { --c: #6b3fd1; }
.sec-lede.flush { margin-top: 0; }
.agent-row { margin-top: 24px; }
.grid-g figure { margin: 0; height: 100%; }
.agent-all { display: none; }
@media (max-width: 720px) {
  html.js .agent-row:not(.all) > li:nth-child(n+7) { display: none; }
  html.js .agent-all { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; height: 44px; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line-2); }
  html.js .agent-all:hover { background: var(--bg-2); }
  html.js .agent-all:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  html.js .agent-row.all + .agent-all { display: none; }
}
