/* Readie English site: page CSS only (what sits inside a visual, the panels' --p-h, the logo, and the
   two small sub-pages). Tokens, grid, buttons, nav and footer come from the kit (/assets/system.css). */

/* ── the client's mark ─────────────────────────────────────────── */
.rd-logo { width: 28px; height: 28px; flex: none; border-radius: 7px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.footer__name { font-size: 30px; }
.footer__name .rd-logo { width: 36px; height: 36px; }
.footer__tm { color: var(--muted); }

/* ── hero (collage): the window's rows and the result card ───────── */
.hero__proof { font-size: var(--t-small); color: var(--ink); }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e4edf3; color: #163c56; font-style: normal; font-size: 12px; font-weight: 500; }
.d-note__line b { font-weight: 500; color: #16181a; }
.ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 88px; }
.ly-piece--main .d-main { padding-right: var(--ly-cut-room, 48px); }
.d-row .d-ico { width: 36px; height: 36px; border-radius: 8px; background: #f3f2ee; display: grid; place-items: center; }
.d-row .d-ico .tool-ic { width: 20px; height: 20px; object-fit: contain; }
.d-chip--tool { background: #e4edf3; color: #163c56; }
.d-chip--tool::before { background: #1d4e6f; }
.d-card .d-chip { background: #e4edf3; color: #163c56; }
.d-row b, .d-row small { display: block; white-space: normal; overflow: visible; }
@media (max-width: 639px) { .ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 88px; } }

/* ── #agents: the app frame (sections-library.md, app-frame) ──────── */
.agents__intro { align-content: start; }
.agents__intro p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
.ui-chat__where { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--u-muted, #6b7076); }
.ui-chat__where .tool-ic, .ui-chat__src .tool-ic, .ui-note__ico .tool-ic { width: 14px; height: 14px; object-fit: contain; }
.ui-note__ico .tool-ic { width: 18px; height: 18px; }

/* ── #services: one panel height for the three cards ─────────────── */
#services .panel { --p-h: 336px; }
@media (max-width: 639px) { #services .panel { --p-h: 220px; } }

/* ── #outcomes ─────────────────────────────────────────────────── */
.controls__text { display: grid; gap: var(--s-6); align-content: start; }
.controls__rows > li { grid-template-columns: minmax(0, 1fr); }
#outcomes .frame { --ratio: 100%; }
@media (max-width: 639px) { #outcomes .frame { --ratio: 100%; } }

/* ── #about ────────────────────────────────────────────────────── */
.about__text { display: grid; gap: var(--s-5); align-content: start; }
.about__text p { max-width: 46ch; }
.about__lead { font-size: var(--t-lead); line-height: 1.5; }

/* ── sub-pages (/booking, /privacy): one wrap, content height, same nav and footer ── */
.sub { padding-top: calc(var(--nav) + var(--s-8)); padding-bottom: var(--s-9); }
.sub__head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: var(--s-8); }
.sub__head h1 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--t-h2); line-height: 1.08; }
.sub__head p { font-size: var(--t-lead); line-height: 1.5; max-width: 60ch; }
.sub__label { font-size: var(--t-label); font-weight: 500; color: var(--muted); }
footer.closing.closing--sub { height: auto; min-height: 0; padding-top: var(--s-8); }

/* privacy text */
.prose { max-width: 68ch; display: grid; gap: var(--s-4); }
.prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--t-h3); line-height: 1.2; margin-top: var(--s-6); }
.prose p, .prose li { font-size: var(--t-body); line-height: 1.7; }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s-2); list-style: disc; }
.prose a { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }

/* booking */
.bk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
@media (max-width: 1023px) { .bk { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); } }
.bk__facts { display: grid; gap: 0; margin-top: var(--s-6); }
.bk__facts > div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.bk__facts dt { color: var(--muted); font-size: var(--t-small); }
.bk__facts dd { font-weight: 500; text-align: right; }
.bk__panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(var(--s-5), 4vw, var(--s-7)); }
.bk__steps { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-6); }
.bk__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.bk__dot.is-on { background: var(--action); }
.bk__line { flex: 1; height: 2px; background: var(--line); max-width: 64px; }
.bk__line.is-on { background: var(--action); }
.bk__title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--t-h3); line-height: 1.2; margin-bottom: var(--s-5); }
.bk__back { background: none; border: 0; padding: 0; min-height: 44px; color: var(--muted); font: inherit; font-size: var(--t-small); cursor: pointer; margin-bottom: var(--s-3); }
.bk__back:hover { color: var(--ink); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.cal-head__label { font-weight: 500; font-size: var(--t-lead); }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: var(--t-label); font-weight: 500; color: var(--muted); padding-block: var(--s-2); }
.cal-day { aspect-ratio: 1; min-height: 40px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: var(--t-small); }
.cal-day.avail { background: var(--bg); color: var(--ink); border-color: var(--line-strong); font-weight: 500; cursor: pointer; }
.cal-day.avail:hover { border-color: var(--action); }
.cal-day.selected { background: var(--action); color: var(--action-ink); border-color: var(--action); }
.cal-day.disabled { opacity: .45; }
.cal-hint { margin-top: var(--s-4); font-size: var(--t-small); color: var(--muted); }
.bk__date { color: var(--muted); margin-bottom: var(--s-4); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--s-2); }
.slot { min-height: 44px; border-radius: var(--r-btn, 999px); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.slot:hover { border-color: var(--action); color: var(--action); }
.bk__summary { background: var(--bg); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5); font-weight: 500; }
.bk__form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.bk__error { color: #a3271b; font-size: var(--t-small); margin-bottom: var(--s-4); }
.bk__note { font-size: var(--t-small); color: var(--muted); }
.bk__done { display: grid; gap: var(--s-4); }
.bk__done .btn { justify-self: start; }
.bk__check { width: 48px; height: 48px; border-radius: 50%; background: var(--action); color: var(--action-ink); display: grid; place-items: center; font-size: 22px; }

/* fixes after the first look */
#services .card > p { min-height: calc(3 * 1.5em); }
@media (max-width: 1023px) { #services .card > p { min-height: 0; } }
.about__text > .link, .agents__intro > .link { justify-self: start; }
#stack .mo-pc__visuals { overflow: hidden; border-radius: var(--r-lg); background: var(--ground-bg); }

/* tablet (640-1023, judged at 820x1180 and 768x1024): sections that stack past one screen take two */
@media (min-width: 640px) and (max-width: 1023px) {
  #services { --h: 2; }
  main > #stack[data-moment]:not(.is-live) { min-height: calc(2 * 100svh); }
  #about .frame { --ratio: 60%; }
}
/* phone (390x844) */
@media (max-width: 639px) {
  #services { --hm: 2; }
  #about .frame { --ratio: 60%; }
  #stack .mo-pc__visual.mo-pc__visual--lit { aspect-ratio: 16 / 9; padding: 12px; }
  main > #stack[data-moment]:not(.is-live) { min-height: calc(2 * 100lvh); }
}
@media (max-width: 1023px) { #stack .mo-pc__visual.mo-pc__visual--lit { align-items: flex-start; overflow: hidden; } }

/* the pinned process section: its head on the same top line as every other section (y 120), not centred */
main #stack[data-moment].is-live > .mo-pc__grid { align-content: start; padding-top: calc(var(--nav, 72px) + var(--s-7)); }
/* the hero window on a phone: the first agent only, so no row is cut by the frame */
@media (max-width: 639px) { .ly-piece--main .d-main__head, .ly-piece--main .d-tabs { display: none; } .ly-piece--main .d-row:nth-of-type(n+3) { display: none; } }

/* #outcomes on a phone: two screens as two groups (.g2m): the rows on the first, the switches on the second */

/* the pinned process stage: the shared frame runs from the head line to the foot of the screen */
main #stack[data-moment].is-live .mo-pc__visuals { aspect-ratio: auto; height: calc(100svh - var(--nav, 72px) - var(--s-7) - var(--s-8)); max-height: none; }
/* section gaps: the about photograph runs to the screen's content foot (708px at most); the phone's service panels fill their two screens */
@media (min-width: 1024px) { #about .frame { --ratio: 112%; } }
@media (max-width: 639px) { #services .panel { --p-h: 280px; } }
/* sub-pages: the footer is only the links, as tall as they are */
footer.closing.closing--sub > .wrap { display: block; height: auto; }
footer.closing.closing--sub { padding-bottom: calc(var(--s-8) + var(--bar, 0px)); }
.bk__inline { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.bk__inline:hover { color: var(--action); }

/* v2: fewer blue frames (the hero's effect and the controls frame keep the lit ground; the rest is flat) */
#services .panel { background: var(--surface); }
#services .panel .dg { --dg-ground: var(--surface); }
#stack .mo-pc__visual.mo-pc__visual--lit, main #stack .mo-pc__visuals { background: var(--surface); }
/* v2: the pinned process frame is filled: its drawn screen at 1.4x from 1280, 1.2x from 1024 */
main #stack[data-moment].is-live .mo-pc__visual--lit > .ui { margin: auto; width: min(100%, 420px); }
@media (min-width: 1024px) { main #stack[data-moment].is-live .mo-pc__visual--lit > .ui { zoom: 1.2; } }
@media (min-width: 1280px) { main #stack[data-moment].is-live .mo-pc__visual--lit > .ui { zoom: 1.4; } main #stack[data-moment].is-live .mo-pc__visual--lit > .ui-files { zoom: 1.12; width: 100%; } }
/* v2: tablet keeps #outcomes as a split on one screen */
@media (min-width: 640px) and (max-width: 1023px) {
  #outcomes .wrap > .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  #outcomes .wrap > .grid > * { grid-column: auto; }
  #outcomes .frame { --ratio: 150%; }
}
/* v2: phone: #outcomes is its four rows on one screen (the switches show from 640px), the footer one screen */
@media (max-width: 639px) {
  #outcomes > .wrap > .grid { display: contents; }
  #outcomes .frame { --ratio: 120%; }
  footer.closing:not(.closing--sub) .footer__lede { display: none; }
  .hero__proof-call { display: none; }
  footer.closing:not(.closing--sub) :is(.footer__col--nav, .close__alt) { display: none; }
  #services .panel { --p-h: 250px; }
}
main #stack[data-moment].is-live .mo-pc__visual.mo-pc__visual--lit { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; }
main #stack[data-moment].is-live .mo-pc__visual { border-radius: var(--r-lg); }

/* ── story version (2026-11-24) ─────────────────────────────────── */
/* section numbers, a quiet issue-style mark before each h2 */
.sec-no { display: block; font: 500 var(--t-label)/1 var(--font-mono); letter-spacing: 0; color: var(--action); margin-bottom: var(--s-3); }
/* #stack: the exploded view */
.layer-no { display: block; font: 500 var(--t-label)/1.4 var(--font-mono); color: var(--muted); margin-bottom: 2px; }
#stack .mo-pc__step.is-on .layer-no { color: var(--action); }
#stack .mo-pc__visual--iso { display: flex; align-items: center; justify-content: center; padding: var(--s-5); background: var(--surface); }
#stack .iso { flex: 1 1 auto; width: 100%; height: auto; max-height: 100%; }
main #stack[data-moment].is-live .mo-pc__visual--iso { aspect-ratio: auto; }
.stack__overview { display: none; margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: var(--s-4); }
.stack__overview .iso { width: 100%; height: auto; display: block; }
main #stack[data-moment]:not(.is-live) .stack__overview { display: block; }
main #stack[data-moment]:not(.is-live) .mo-pc__visual { display: none; }
/* #map: eight units that open */
.units { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.unit { border-bottom: 1px solid var(--line); }
.unit > summary { list-style: none; display: flex; align-items: baseline; gap: var(--s-4); min-height: 52px; padding-block: var(--s-3); cursor: pointer; }
.unit > summary::-webkit-details-marker { display: none; }
.unit > summary::after { content: "+"; margin-left: auto; font: 400 20px/1 var(--font-text); color: var(--muted); }
.unit[open] > summary::after { content: "\2212"; }
.unit__no { flex: none; width: 64px; font: 500 var(--t-label)/1.4 var(--font-mono); color: var(--action); }
.unit__t { font-weight: 500; font-size: var(--t-body); }
.unit > p { margin: 0 0 var(--s-3) 80px; max-width: 46ch; }
.unit > p.unit__get { margin-bottom: var(--s-4); color: var(--ink); }
.unit__get b { font-weight: 500; }
.map__frame { background: var(--surface); }
@media (max-width: 639px) {
  #map { --hm: 2; }
  .unit > p { margin-left: 0; }
  .map__frame { --ratio: 180%; }
  .stack__overview { min-height: 400px; display: flex; align-items: center; }
  main #stack[data-moment]:not(.is-live) .stack__overview { display: flex; }
}
@media (min-width: 640px) and (max-width: 1023px) { #map .frame { --ratio: 60%; } }
/* #about: a line in Marco's own words */
.about__quote { margin: 0; padding-left: var(--s-5); border-left: 2px solid var(--action); font-family: var(--font-display); font-size: var(--t-lead); line-height: 1.45; font-style: italic; }

/* About layout fixes (2026-11-24): on desktop the text column runs the photo's full height, with
   the quote on its foot, so the photo no longer towers over a short block of text; no lone words at
   line ends; tablet photo taller so the section has no empty lower half. */
.about__lead, .about__quote { text-wrap: pretty; }
@media (min-width: 1024px) {
  #about .wrap > .grid { align-items: stretch; }
  #about .about__text { display: flex; flex-direction: column; gap: var(--s-5); }
  #about .about__quote { margin-top: auto; }
}
@media (min-width: 640px) and (max-width: 1023px) { #about .frame { --ratio: 80%; } }
@media (max-width: 639px) { #about .frame { --ratio: 70%; } #about .frame__img { object-position: 58% 22% !important; } #outcomes .frame { --ratio: 105%; } }
@media (min-width: 1024px) {
  #about .about__quote { font-style: normal; font-size: clamp(22px, 1.25vw + 10px, 28px); line-height: 1.35; letter-spacing: var(--display-tracking); padding-left: var(--s-6); }
}
/* the quote starts on the column's left line: a rule above it instead of a bar beside it */
#about .about__quote { padding-left: 0; border-left: 0; padding-top: var(--s-4); border-top: 2px solid var(--action); }

/* fix2 (2026-11-24): the hero window's rows. The tag column sizes to its label (WhatsApp is the widest),
   names and lines wrap inside their own column, and the window drops its sidebar below 1280 so the list
   keeps room; the head button never wraps. */
.ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) max-content; }
.ly-piece--main .d-row > div { min-width: 0; overflow-wrap: normal; }
.ly-piece--main .d-btn { white-space: nowrap; }
@media (max-width: 1279px) {
  .ly-piece--main .d-win__body { grid-template-columns: minmax(0, 1fr); }
  .ly-piece--main .d-side { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .ly-piece--main .d-main { padding-right: 36px; } }
@media (max-width: 639px) { .ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) max-content; } }
/* headings never break a word with a hyphen */
h1, h2, h3, .unit__t { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 639px) { .stack__overview { min-height: 360px; } }

/* ══ Light and finish (2026-11-24, "lux" pass) ═══════════════════════════════════════════════════
   One light source: soft daylight from the upper left. The page ground stays the warm off-white;
   light is painted as wide, low-contrast pools (warm white where the sun falls, a pale sea-blue haze
   across the hero), drawn behind the content on body::before (bg-topglow). Drawn UI sits in that
   light as an object: a lit top edge, a hairline edge, and one shared stack of soft shadows. */
:root {
  --lux-edge: rgb(16 34 47 / .08);
  --lux-hi: inset 0 1px 0 rgb(255 255 255 / .85);
  --lux-shadow-1: 0 1px 1px rgb(16 34 47 / .04), 0 2px 6px -1px rgb(16 34 47 / .06), 0 12px 28px -12px rgb(16 34 47 / .14);
  --lux-shadow-2: 0 1px 1px rgb(16 34 47 / .04), 0 6px 16px -6px rgb(16 34 47 / .10), 0 32px 72px -28px rgb(16 34 47 / .26);
  --line: color-mix(in oklab, var(--ink) 8%, transparent);
  --display-tracking: -0.04em;
  --display-tracking-xl: -0.05em;
  --dur: 240ms;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
/* the light: daylight from the upper left, a sea-blue haze to the right, and a hairline of light under the nav */
body.bg-topglow::before {
  height: 1200px;
  background:
    linear-gradient(90deg, transparent 4%, rgb(255 255 255 / .95) 28%, rgb(143 186 214 / .45) 62%, transparent 92%) 0 var(--nav, 72px) / 100% 1px no-repeat,
    radial-gradient(980px 560px at 8% 0%, rgb(255 253 247 / .98), transparent 68%),
    radial-gradient(900px 640px at 72% 10%, rgb(143 186 214 / .20), transparent 70%),
    radial-gradient(1400px 900px at 40% 0%, rgb(255 255 255 / .55), transparent 75%);
}
/* a second, quieter pool behind the app frame in 01, so the product window also sits in light */
#agents { position: relative; }
#agents::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 72%, rgb(143 186 214 / .16), transparent 72%),
              radial-gradient(50% 45% at 18% 30%, rgb(255 253 247 / .7), transparent 70%);
}

/* drawn UI as lit objects: one edge, one highlight, one shadow stack */
.ly-piece--main.d-win, .app.ui {
  border: 1px solid var(--lux-edge);
  box-shadow: var(--lux-hi), var(--lux-shadow-2);
}
.ly-piece--note.d-card, #outcomes .ui-toggles, #map .ui-checks {
  border: 1px solid var(--lux-edge);
  box-shadow: var(--lux-hi), var(--lux-shadow-1);
}
.d-win__bar { background: linear-gradient(rgb(255 255 255 / .9), rgb(250 250 248 / .9)); }
/* frames: a hairline edge and a lit top, the light falling from the upper left */
.hero__art, #outcomes .frame, #map .frame, .stack__overview, main #stack .mo-pc__visuals {
  box-shadow: inset 0 0 0 1px rgb(16 34 47 / .05), inset 0 1px 0 rgb(255 255 255 / .6);
}
.hero__art::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(80% 70% at 0% 0%, rgb(255 255 255 / .28), transparent 62%);
}
#outcomes .frame--lit, #map .frame, main #stack .mo-pc__visuals, .stack__overview {
  background-image: radial-gradient(90% 80% at 10% 0%, rgb(255 255 255 / .55), transparent 65%);
}
/* calmer type: tighter display lines, airier rows */
h1, h2 { text-wrap: balance; }
.sec-no { margin-bottom: var(--s-4); }
.rows > li { padding-block: var(--s-5); }
/* the dark footer: lit from above by a soft band, so the page does not cut hard into it */
footer.closing.footer--dark { position: relative; background:
  radial-gradient(70% 320px at 30% 0%, rgb(143 186 214 / .14), transparent 72%),
  linear-gradient(rgb(255 255 255 / .03), transparent 240px),
  var(--bg); }
footer.closing.footer--dark::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 6%, rgb(143 186 214 / .55) 35%, rgb(255 255 255 / .35) 55%, transparent 94%);
}
/* About: a touch of daylight on the portrait, no retouching */
#about .frame--photo .frame__img { filter: brightness(1.05) saturate(1.03); }
#about .frame--photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgb(255 250 240 / .14), transparent 55%);
}
/* hero actions: the booking button on its own line, LINE and email side by side under it, one step quieter */
.hero__actions { display: grid; grid-template-columns: max-content max-content; gap: var(--s-3); justify-content: start; }
.hero__actions > .btn--primary { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 639px) {
  .hero__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; }
  .hero__actions > .btn { width: 100%; padding-inline: var(--s-3); }
  .hero__actions > .btn--primary { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } }
@media (max-width: 639px) { .rows > li { padding-block: var(--s-4); } }

/* ══ lux2 (2026-11-24): light you can see ═══════════════════════════════════════════════════════
   The sun stands upper left. The hero frame is a bright wall with light falling through slats
   (soft-light-bars on the pale sky ground), a warm sunlit pool spills over the hero and fades
   down the page, and the drawn windows cast their shadows down and to the right. */
:root {
  --lux-shadow-1: 1px 1px 1px rgb(16 34 47 / .05), 4px 6px 12px -4px rgb(16 34 47 / .10), 14px 20px 36px -16px rgb(16 34 47 / .18);
  --lux-shadow-2: 1px 1px 1px rgb(16 34 47 / .05), 6px 10px 20px -8px rgb(16 34 47 / .12), 28px 40px 80px -30px rgb(16 34 47 / .30);
}
body.bg-topglow::before {
  height: 1500px;
  background:
    linear-gradient(90deg, transparent 4%, rgb(255 255 255 / 1) 28%, rgb(143 186 214 / .6) 62%, transparent 92%) 0 var(--nav, 72px) / 100% 1px no-repeat,
    linear-gradient(118deg, rgb(255 251 238 / 0) 18%, rgb(255 251 238 / .55) 30%, rgb(255 251 238 / 0) 44%),
    radial-gradient(1100px 760px at 6% 0%, rgb(255 252 242 / 1), rgb(255 252 242 / .6) 40%, transparent 72%),
    radial-gradient(1000px 700px at 78% 12%, rgb(170 205 228 / .38), transparent 70%),
    linear-gradient(rgb(255 255 255 / .5), transparent 1500px);
}
/* the hero frame: a sunlit wall; a warm gleam in its upper left over the bars of light */
.hero__art { background-color: #eef4f8; }
.hero__art::after {
  background:
    radial-gradient(70% 60% at 0% 0%, rgb(255 251 240 / .75), transparent 60%),
    linear-gradient(120deg, rgb(255 255 255 / .35), transparent 45%);
  mix-blend-mode: normal;
}
/* light between sections: a sunlit pool at the head of 02, 03 and 04, fading out at their edges */
#stack, #outcomes, #map, #about { position: relative; }
#stack::before, #outcomes::before, #map::before, #about::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 4% 0%, rgb(255 252 242 / .95), transparent 70%),
    radial-gradient(45% 40% at 96% 18%, rgb(170 205 228 / .22), transparent 72%);
}
#outcomes::before, #about::before {
  background:
    radial-gradient(70% 60% at 0% 10%, rgb(255 252 242 / .9), transparent 70%),
    linear-gradient(rgb(236 233 225 / .55), rgb(236 233 225 / 0) 35%, rgb(236 233 225 / 0) 65%, rgb(236 233 225 / .55));
}
#outcomes > .wrap, #map > .wrap, #about > .wrap { position: relative; z-index: 1; }
/* #stack keeps its pinned stage: the moment makes its .wrap sticky, which already lifts it over the light */
#stack > .wrap { z-index: 1; }
/* lit frames on the pale sky ground get the same gleam */
#outcomes .frame--lit { background-image: radial-gradient(90% 80% at 8% 0%, rgb(255 255 255 / .7), transparent 62%); }
/* the flat grey frames turn into the same sunlit pale wall as the hero */
main #stack .mo-pc__visuals, .stack__overview, #stack .mo-pc__visual--iso, #map .frame { background-color: #eef3f6; }
/* lux2 review: the light never makes a short page taller than its content */
body.bg-topglow::before { height: min(100%, 1500px); }
/* a warmer sun pool behind the hero (warm white to pale amber), and a warm wash over the portrait */
section.hero { position: relative; }
section.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 75% at 12% 18%, rgb(255 226 176 / .4), rgb(255 238 208 / .18) 45%, transparent 75%);
}
section.hero > .wrap { position: relative; z-index: 1; }
#about .frame--photo::after { background: linear-gradient(135deg, rgb(255 236 204 / .2), transparent 60%); }
/* the 404 page is shorter than a screen: its main grows so the footer meets the bottom edge */
body:has(.nf) { min-height: 100svh; display: flex; flex-direction: column; }
body:has(.nf) > main { flex: 1 0 auto; }
/* review of 30c1d8a: the section light fades in from transparent at every section edge (no seam at 02/03) */
#stack::before, #outcomes::before, #map::before, #about::before {
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
/* the hero window's title bar reads at AA and more */
.ly-piece--main .d-win__bar { color: #3f4648; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════
   DARK (branch redesign-dark, 2026-11-24): a blue-black instrument page with one lit accent.
   Ground #070b0f (90%+ of the screen), surface #0f151b, hairlines #1b242c, a faint 72px grid.
   One accent, Readie bright blue #3fb4f0 (the hue of #2e739c, brighter): one lit keyword per h2,
   the main button, data points and active states. #2e739c / #1d4e6f stay as deep supporting tones.
   Light headings (300) with tight tracking; mono capitals for eyebrows. Motion: slow, thin, each
   piece shows one idea of the product; everything rests under reduced motion.
   ══════════════════════════════════════════════════════════════════════════════════════════════ */
:root {
  --k-bg: #070b0f; --k-surface: #0f151b; --k-surface-2: #131b22; --k-edge: #1b242c; --k-edge-2: #26323b;
  --k-text: #c5ced5; --k-muted: #8e9aa4; --k-faint: #7a8792; --k-accent: #3fb4f0; --k-accent-deep: #2e739c;
  --k-glow: 0 0 18px rgb(63 180 240 / .45);
  --line: #1b242c; --line-strong: #26323b;
  --lux-edge: #1b242c; --lux-hi: inset 0 1px 0 rgb(255 255 255 / .04);
  --lux-shadow-1: 0 1px 0 rgb(0 0 0 / .4), 0 12px 32px -16px rgb(0 0 0 / .7);
  --lux-shadow-2: 0 1px 0 rgb(0 0 0 / .4), 0 30px 80px -30px rgb(0 0 0 / .85);
  --r-btn: 6px; --r-md: 8px; --r-lg: 10px;
  --display-tracking: -0.025em; --display-tracking-xl: -0.03em;
  --ground-bg: #0f151b; --ground-surface: #131b22; --ground-ink: #e8eef2; --ground-muted: #8e9aa4;
}
html[data-tone="dark"] { color-scheme: dark; }
body.dark-site { background: var(--k-bg); color: var(--k-text); }
/* a faint 72px blueprint grid behind the page, fading out toward the foot of each screen */
body.dark-site::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: min(100%, 2400px); pointer-events: none;
  background:
    radial-gradient(900px 520px at 70% 0%, rgb(63 180 240 / .10), transparent 70%),
    linear-gradient(rgb(255 255 255 / .028) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgb(255 255 255 / .028) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: linear-gradient(#000 0, #000 55%, transparent 100%); mask-image: linear-gradient(#000 0, #000 55%, transparent 100%);
}
body.dark-site { position: relative; isolation: isolate; }
/* the light-page pools are turned off; the hero keeps one cool glow */
#agents::before, #stack::before, #outcomes::before, #map::before, #about::before { background: none; }
section.hero::before { background: radial-gradient(45% 60% at 80% 40%, rgb(63 180 240 / .08), transparent 70%); }
/* type: light headings, readable body, mono capitals for labels */
h1, h2, h3 { color: #f2f6f9; }
:is(h1, h2) { font-weight: 300; letter-spacing: -0.025em; }
p, li { color: var(--k-text); }
.muted, h2 .muted { color: #93a0aa; }
.kw { color: var(--k-accent); text-shadow: 0 0 22px rgb(63 180 240 / .45); }
.eyebrow, .sec-no { display: block; font: 700 13px/1.4 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--k-muted); margin-bottom: var(--s-4); }
.sec-no { color: var(--k-muted); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s-5); }
.hero__proof, .footer__tm, .sub__label { color: var(--k-muted); }
/* the nav: blue-black glass once the page moves */
header.nav { background: rgb(7 11 15 / .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--k-edge); }
/* buttons: small radius, the accent only on the main one */
.btn { border-radius: 6px; }
.btn--primary { background: var(--k-accent); color: #04131d; box-shadow: 0 0 0 1px rgb(63 180 240 / .6), 0 0 24px -6px rgb(63 180 240 / .55); }
.btn--primary:hover { background: #6cc6f4; }
.btn--secondary { background: var(--k-surface); color: #e8eef2; border: 1px solid var(--k-edge-2); }
.btn--secondary:hover { background: var(--k-surface-2); border-color: #3a4853; }
.link { color: #e8eef2; }
/* status ping */
.ping { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k-accent); flex: none; }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: k-ping 2s cubic-bezier(0, 0, .2, 1) 4; }
.ping--hold { background: #8e9aa4; }
.ping--hold::after { display: none; }
@keyframes k-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* ── hero: the agents window lit from within; messages arrive from the chat apps ── */
.hero__art.hero__art--dark { background: linear-gradient(var(--k-surface), #0b1116); box-shadow: inset 0 0 0 1px var(--k-edge); }
.hero__art.hero__art--dark::after { background: radial-gradient(70% 60% at 50% 0%, rgb(63 180 240 / .12), transparent 70%); }
.hero__art--dark {
  background-image:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(var(--k-surface), #0b1116);
  background-size: 36px 36px, 36px 36px, auto;
}
.flow { position: absolute; z-index: 2; left: 64px; right: 0; top: 14px; height: 50px; pointer-events: none; }
.flow__tag { position: absolute; top: 0; left: calc(var(--i) * 25% + 12.5% - 40px); width: 80px; text-align: center; padding: 3px 0; border-radius: 4px; border: 1px solid var(--k-edge-2); background: #0b1116; font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; color: #aab6bf; }
.flow__lines { position: absolute; left: 0; right: 0; top: 22px; width: 100%; height: 28px; overflow: visible; }
.flow__lines path { fill: none; stroke: rgb(63 180 240 / .35); stroke-width: 1; stroke-dasharray: 2 6; animation: k-flow 1.6s linear 3; }
@keyframes k-flow { to { stroke-dashoffset: -32; } }
.ly-piece--main.d-win--dark { background: #0d1318; color: #dfe6eb; border: 1px solid var(--k-edge-2); box-shadow: var(--lux-shadow-2), inset 0 1px 0 rgb(255 255 255 / .04); }
.d-win--dark .d-win__bar { background: #0b1015; border-color: var(--k-edge); color: #b9c4cc; }
.ly-piece--main .d-win__bar { color: #b9c4cc; }
.d-win__live { margin-left: auto; display: inline-flex; align-items: center; }
.d-win--dark .d-main__head h4 { color: #eef2f5; }
.d-win--dark .d-btn--ghost { background: #16202a; color: #dfe6eb; }
.d-win--dark .d-tabs span { color: #8e9aa4; } .d-win--dark .d-tabs span.is-on { background: #16202a; color: #eef2f5; }
.d-win--dark .d-rows { border-color: var(--k-edge); } .d-win--dark .d-row { border-color: var(--k-edge); }
.d-win--dark .d-row b { color: #eef2f5; } .d-win--dark .d-row small { color: #8e9aa4; }
.d-win--dark .d-row .d-ico { background: #16202a; }
.d-win--dark .d-side > span.is-on { background: #16202a; color: #eef2f5; }
.d-win--dark .d-chip--tool { background: rgb(63 180 240 / .12); color: #9fd8f7; } .d-win--dark .d-chip--tool::before { background: var(--k-accent); }
.d-card--dark.d-card { background: #0d1318; color: #dfe6eb; border: 1px solid var(--k-edge-2); }
.d-card--dark .d-note__line { color: #b9c4cc; border-color: var(--k-edge); } .d-card--dark .d-note__line b { color: #eef2f5; }
.d-card--dark .d-note__line i { background: rgb(63 180 240 / .16); color: var(--k-accent); }
.d-card--dark .d-chip { background: rgb(63 180 240 / .14); color: #9fd8f7; }
.d-card--dark h5 { color: #eef2f5; }
.d-row .tool-ic[src*="ui-message-circle"], .flow__tag { filter: none; }
.d-win--dark img.tool-ic[src*="ui-"] { filter: invert(1) brightness(.9); }

/* ── 01: the app frame on dark; the tools marquee as its last row ── */
.app.ui { border-color: var(--k-edge-2); box-shadow: var(--lux-shadow-2); }
.tools-strip { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: var(--s-6); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--k-edge); }
.tools-strip__label { margin: 0; max-width: 18ch; }
.tools-strip .mo-mq__track { font: 400 18px/1 var(--font-text); color: #aab6bf; }
@media (max-width: 1023px) { .tools-strip { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .tools-strip__label { max-width: none; } }
@media (max-width: 639px) { .tools-strip .mo-mq__track { font-size: 15px; } }

/* ── 02: the six layers as a blueprint ── */
#stack .mo-pc__visual--iso, main #stack .mo-pc__visuals, .stack__overview, #map .frame, #outcomes .frame, #outcomes .frame--lit {
  background-color: #0b1116; background-image:
    linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px);
  background-size: 32px 32px; box-shadow: inset 0 0 0 1px var(--k-edge);
}
#stack .iso polygon[fill="#3fb4f0"] { filter: drop-shadow(0 0 14px rgb(63 180 240 / .55)); }
#stack .mo-pc__step { border-left-color: var(--k-edge-2); }
main [data-moment="pinned-chapters"].is-live .mo-pc__step.is-on { border-left-color: var(--k-accent); }
.layer-no { color: var(--k-faint); } #stack .mo-pc__step.is-on .layer-no { color: var(--k-accent); }

/* ── 03: switches glow when on; a short log under them ── */
#outcomes .ui-toggles { border: 1px solid var(--k-edge-2); }
#outcomes .ui-switch.is-on { box-shadow: 0 0 12px rgb(63 180 240 / .5); }
.perm-log { margin-top: var(--s-3); padding: 12px 14px; border: 1px solid var(--k-edge-2); border-radius: 10px; background: #0d1318; font: 400 13px/1.4 var(--font-text); }
.perm-log__head { font: 700 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--k-muted); margin-bottom: 8px; }
.perm-log__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--k-edge); color: #c5ced5; animation: k-row 9s ease-out 2 both; animation-delay: calc(var(--n) * 1s); }
.perm-log__row b { margin-left: auto; font-weight: 500; color: #9fd8f7; white-space: nowrap; }
.perm-log__row:has(.ping--hold) b { color: #c5ced5; }
@keyframes k-row { 0% { opacity: 0; transform: translateY(4px); } 8%, 100% { opacity: 1; transform: none; } }

/* ── 04: the checklist bar glows as it fills ── */
#map .ui-checks { border: 1px solid var(--k-edge-2); }
#map .ui-checks__bar i { box-shadow: 0 0 12px rgb(63 180 240 / .6); }
.units, .unit { border-color: var(--k-edge); }
.unit__no { color: var(--k-accent); }
.unit > summary::after { color: var(--k-muted); }

/* ── About: the portrait on dark, no warm wash ── */
#about .frame--photo { box-shadow: inset 0 0 0 1px var(--k-edge); }
#about .frame--photo::after { background: linear-gradient(180deg, transparent 60%, rgb(7 11 15 / .25)); }
#about .frame--photo .frame__img { filter: none; }
#about .about__quote { border-top-color: var(--k-accent); color: #e8eef2; }

/* ── close and footer ── */
footer.closing.footer--dark { background: radial-gradient(60% 300px at 50% 0%, rgb(63 180 240 / .08), transparent 70%), #04070a; }
footer.closing.footer--dark::before { background: linear-gradient(90deg, transparent 6%, rgb(63 180 240 / .45) 50%, transparent 94%); }
.close__fine { margin-top: var(--s-3); font: 500 13px/1.4 var(--font-mono); letter-spacing: .08em; color: var(--k-muted); }

/* ── sub-pages on dark ── */
.bk__panel { background: var(--k-surface); border: 1px solid var(--k-edge); }
.cal-day.avail { background: var(--k-surface-2); border-color: var(--k-edge-2); color: #eef2f5; }
.cal-day.selected { background: var(--k-accent); color: #04131d; }
.slot, .field input, .field textarea, .bk__summary, .cal-nav { background: #0b1116; border-color: var(--k-edge-2); color: #e8eef2; }
.prose a, .bk__inline { color: #9fd8f7; }
.bk__facts > div { border-color: var(--k-edge); }

@media (prefers-reduced-motion: reduce) {
  .ping::after, .flow__lines path, .perm-log__row { animation: none !important; }
}
/* dark fragments: their quiet lines stay readable (AA) on the dark panels */
#outcomes .ui-toggles { background: #0d1318; }
#outcomes .ui-toggles .ui-title, #outcomes .ui-tg__label { color: #e8eef2; }
#outcomes .ui-tg__sub, #outcomes .ui-toggles .ui-meta, #map .ui-checks .ui-meta { color: #8e9aa4; }
#map .ui-checks { background: #0d1318; }
#map .ui-check__label { color: #c5ced5; }
/* phone: the hero window alone, no channel tags over its title bar */
@media (max-width: 639px) { .flow { display: none; } }
/* gate round 1 on the dark page */
:root { --k-muted: #96a2ac; }
.kw { font-style: normal; }
.tools-strip { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); border-top: 0; padding-top: 0; }
.tools-strip__label { max-width: none; }
@media (max-width: 639px) { .hero__eyebrow { display: none; } }
.unit > summary { min-height: 48px; padding-block: 10px; }
@media (max-width: 639px) { .hero__proof-more { display: none; } }
/* the closing button keeps its accent without a glow, so the line above it reads cleanly */
.btn--primary.btn--xl { box-shadow: 0 0 0 1px rgb(63 180 240 / .6); }
/* phone: the closing screen holds its words, the button and the links without crowding */
@media (max-width: 639px) { .closing__cta .eyebrow { display: none; } }
/* from redesign-en fd1dd9e: 1024-1279, system.css makes every section a flex column whose .wrap grows
   (flex: 1 0 auto) to the section's two screens; the live pinned stage must stay one screen tall */
main #stack[data-moment].is-live > .mo-pc__grid { flex: none; }
/* a laptop screen under 900px tall: the six steps sit closer so Layer 06 stays inside the pinned stage */
@media (max-height: 899px) {
  main #stack[data-moment].is-live .mo-pc__steps { gap: var(--s-3); }
  main #stack[data-moment].is-live .mo-pc__text { gap: var(--s-5); }
}
/* dark: the eyebrow over the 02 heading costs a line; on screens under 800px tall the pinned stage packs tighter */
@media (max-height: 799px) and (min-width: 1024px) {
  main #stack[data-moment].is-live .mo-pc__steps { gap: var(--s-2); }
  main #stack[data-moment].is-live .mo-pc__text { gap: var(--s-4); }
  main #stack[data-moment].is-live .sec-no { margin-bottom: var(--s-2); }
}

/* ══ dark motion, round 2 (2026-11-25) ═══════════════════════════════════════════════════════════
   Driven by /site/live.js through the kit's ui.loop (rests off screen, pause button, still under
   reduced motion). Slow and thin: nothing changes faster than every 0.8 s. */
/* hero: the chat app that sends the request, its line, the agent row that takes it */
.flow__tag { transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.flow__tag.is-hot { color: #04131d; background: var(--k-accent); border-color: var(--k-accent); box-shadow: 0 0 16px rgb(63 180 240 / .5); }
.flow__lines path { animation: none; }
.flow__lines path.is-hot { stroke: var(--k-accent); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgb(63 180 240 / .8)); }
.d-win--dark .d-row { transition: background-color .5s var(--ease), box-shadow .5s var(--ease); border-radius: 8px; }
.d-win--dark .d-row.is-hot { background: rgb(63 180 240 / .10); box-shadow: inset 2px 0 0 var(--k-accent); }
.d-win--dark .d-row.is-hot small { color: #9fd8f7; }
.d-win--dark .d-row.is-hot .d-ico { box-shadow: 0 0 0 1px rgb(63 180 240 / .6), 0 0 14px rgb(63 180 240 / .35); }
/* the result card: each agent's turn rises in, its steps arrive one by one */
[data-live-card] [data-live-line], [data-live-card] [data-live-chip] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
[data-live-card] .is-off { opacity: 0; transform: translateY(4px); }
@keyframes k-swap { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
[data-live-card].is-swap { animation: k-swap .6s var(--ease) both; }
/* a faint scan of light across the hero's grid, once per turn of the loop */
.hero__art--dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, transparent 0, rgb(63 180 240 / .07) 50%, transparent 100%) no-repeat;
  background-size: 30% 100%; background-position: -40% 0;
  animation: k-scan 4.6s var(--ease) infinite;
}
.hero__art--dark.is-ui-held::before, .hero__art--dark.is-ui-paused::before { animation-play-state: paused; }
@keyframes k-scan { to { background-position: 140% 0; } }

/* 01: the tool names, the light passing from one to the next */
.tools-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); list-style: none; margin: 0; padding: 0; position: relative; }
.tools-row > li { font: 400 18px/1.4 var(--font-text); color: #96a2ac; transition: color .5s var(--ease), text-shadow .5s var(--ease); }
.tools-row > li.is-hot { color: #e8f6fe; text-shadow: 0 0 18px rgb(63 180 240 / .6); }
@media (max-width: 639px) { .tools-row { gap: var(--s-2) var(--s-5); } .tools-row > li { font-size: 15px; } }

/* 02 below the pinned layout: the step in the middle of the screen lights, and its layer lifts */
main #stack[data-moment]:not(.is-live) .mo-pc__step { transition: border-color .4s var(--ease); }
main #stack[data-moment]:not(.is-live) .mo-pc__step.is-near { border-color: var(--k-accent); }
main #stack[data-moment]:not(.is-live) .mo-pc__step.is-near .layer-no { color: var(--k-accent); }
main #stack[data-moment]:not(.is-live) .mo-pc__step.is-near h3 { color: #f2f6f9; }
.stack__overview .iso g[data-layer] { transition: transform .5s var(--ease), filter .5s var(--ease); }
.stack__overview .iso g[data-layer] polygon:nth-of-type(3) { transition: fill .5s var(--ease); }
.stack__overview .iso g[data-layer].is-lit { filter: drop-shadow(0 0 12px rgb(63 180 240 / .6)); }
/* the layers above the lit one lift away, as in the pinned version, so the lit plate shows whole */
.stack__overview .iso g[data-layer].is-lit ~ g[data-layer] { transform: translateY(-40px); }
.stack__overview .iso { overflow: visible; }
.stack__overview { padding-top: 40px; }
.stack__overview .iso g[data-layer].is-lit polygon:nth-of-type(3) { fill: #3fb4f0; }
@media (prefers-reduced-motion: reduce) {
  .hero__art--dark::before { animation: none; display: none; }
  [data-live-card].is-swap { animation: none; }
}
/* phone: with the eyebrow hidden the h1 is first again: no gap above it */
@media (max-width: 639px) { .hero__text > .hero__eyebrow + h1 { margin-top: 0; text-box: trim-start cap alphabetic; } }
/* phone: 01 takes two screens, so the tool names never squeeze the product window away */
@media (max-width: 639px) { #agents .app.ui { min-height: 320px; } }

@media (max-width: 639px) { .hero__actions { gap: 8px; } .hero__text > .hero__proof { margin-top: var(--s-4); } }

/* ══ dark round 3 (2026-11-25, review of bacea78) ═══════════════════════════════════════════════ */
/* switches on the dark page: on is the lit blue track with a white knob, off is a quiet dark track */
.ui-switch { background: #1b242c; box-shadow: inset 0 0 0 1px #2c3944; }
.ui-switch i { background: #5d6a74; }
.ui-switch.is-on { background: #3fb4f0; box-shadow: 0 0 12px rgb(63 180 240 / .45); }
.ui-switch.is-on i { background: #ffffff; }
/* 640-1023: the hero frame is short, so the result card stays out of it (as on a phone) and the
   pause button sits in the top-right corner, clear of the tags and the rows */
@media (min-width: 640px) and (max-width: 1023px) {
  /* the loop's pause button sits in the frame's top-right corner, above the window, clear of the tags (live.js moves it in) */
  .hero__art--dark > .loop-pause { top: 0; right: 8px; bottom: auto; left: auto; }
  .hero__art--dark .flow { right: 48px; }
}
/* the hero eyebrow never leaves one word on its own line */
.hero__eyebrow { text-wrap: balance; max-width: 34ch; }
/* a short desktop screen (Marco's 1504x760, a 1440x768 laptop): the frame is too short for the
   result card to float clear of the agent rows, so it stays out and the rows carry the motion */
/* desktop: rows a little tighter, so the result card floats below the last agent row, never on it */
@media (min-width: 1280px) { .ly-piece--main .d-row { padding-block: 6px; } .ly-piece--main .d-main { gap: 10px; } }

/* ══ dark round 4: the result card on every screen from 640px ═══════════════════════════════════
   The compact card shows the agent and its current step only (live.js marks it .is-compact). */
.d-card.is-compact { width: 268px; padding: 10px 14px 8px; }
.d-card.is-compact .d-card__row h5 { font-size: 13px; }
.d-card.is-compact [data-live-line]:not(.is-current) { display: none; }
.d-card.is-compact .d-note__line { padding: 6px 0 2px; border-top: 0; }
@media (min-width: 1024px) { .hero__art > .ly-piece--note.is-compact { left: var(--s-5); bottom: var(--s-5); } }
/* 640-1023: the compact card stands under the frame, on the hero's own line, never over the window */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero__grid > .ly-piece--note { position: relative; left: auto; bottom: auto; width: min(100%, 360px); margin-top: var(--s-3); align-self: flex-start; flex: none; }
}
@media (max-width: 639px) { .hero__grid > .ly-piece--note { display: none; } }
/* short desktops and 1024-1279: the window lists four agents (the schedule agent never takes a turn
   in the loop), which frees the lower left for the compact card */
@media (min-width: 1024px) and (max-width: 1279px), (min-width: 1280px) and (max-height: 859px) {
  .ly-piece--main .d-rows > .d-row:nth-of-type(5) { display: none; }
}
@media (min-width: 640px) and (max-width: 1023px) { .hero--collage .hero__art { min-height: 168px; } }
/* 640-1023: the short frame goes straight from the title bar to the agent rows (as on a phone) */
@media (min-width: 640px) and (max-width: 1023px) { .ly-piece--main .d-main__head, .ly-piece--main .d-tabs { display: none; } }
.d-card.is-compact { width: 300px; }
.d-card.is-compact .d-card__row h5 { white-space: nowrap; }

/* ══ About (2026-11-25, round 2): the black-and-white portrait, larger and lit from behind ═════════
   Text column (6): heading, line about Marco, quote. (The closing call stays in footer.closing: the kit's
   closing is one screen of call plus links, and the About text, call and links do not fit one screen.)
   Visual column (6, from the page's split line): the portrait at --pw (440px at 1440, 4:5 from the top) on the right line,
   backlit by a wide soft #3fb4f0 glow up-left, the page grid a touch brighter around it, the photo's
   foot fading into the ground, an offset hairline frame and viewfinder corners.
   Still: no motion. */
#about { overflow-x: clip; }
#about .about__grid { align-items: start; }
#about .about__text { display: grid; gap: var(--s-5); align-content: start; max-width: none; }
#about .about__lead { max-width: 52ch; }
#about blockquote.about__quote { margin: var(--s-2) 0 0; padding-top: var(--s-5); border-top: 2px solid var(--k-accent, #3fb4f0); border-left: 0; padding-left: 0;
  font-family: var(--font-display); font-weight: 300; font-style: normal; font-size: clamp(20px, 0.9vw + 11px, 26px); line-height: 1.38; letter-spacing: -0.015em; color: #e8eef2; max-width: 30em; }

#about .about__visual { --pw: 440px; margin: 0; align-self: start; display: flex; justify-content: flex-end; }
#about .about__stage { position: relative; isolation: isolate; box-sizing: content-box; width: min(100% - 24px, var(--pw)); padding: 12px 12px 0; }
#about .about__aura { position: absolute; z-index: -1; inset: 0 0 -14% -150px; pointer-events: none;
  background:
    radial-gradient(26% 34% at 22% 24%, rgb(63 180 240 / .62), rgb(63 180 240 / .22) 45%, transparent 80%),
    radial-gradient(20% 30% at 79% 62%, rgb(63 180 240 / .34), rgb(63 180 240 / .10) 50%, transparent 80%),
    linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask-image: radial-gradient(farthest-side at 50% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(farthest-side at 50% 45%, #000 55%, transparent 100%); }
#about .about__photo { --ratio: 125%; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: none; background: transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 64%, rgb(0 0 0 / .55) 84%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 64%, rgb(0 0 0 / .55) 84%, transparent 100%); }
#about .about__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: none; box-shadow: inset 1px 1px 0 rgb(125 205 245 / .30); }
#about .about__photo .frame__img { filter: none; }
#about .about__ticks { --c: rgb(63 180 240 / .55); position: absolute; inset: 0 0 -12px 0; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 16px no-repeat; }
#about .about__stage::after { content: ""; position: absolute; z-index: -1; inset: 30px 0 40px 30px; pointer-events: none;
  border: 1px solid rgb(63 180 240 / .16); border-radius: var(--r-lg) var(--r-lg) 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
@media (min-width: 1024px) and (max-width: 1279px) { #about .about__visual { --pw: 340px; } }
@media (max-width: 1023px) {
  /* below 1024: heading, line, quote, then the portrait */
  #about .about__text { display: contents; }
  #about .about__grid { row-gap: var(--s-5); }
  #about .about__text > *, #about .about__visual { grid-column: 1 / -1; }
  #about .about__visual { order: 1; --pw: 320px; margin: var(--s-6) 0 var(--s-4); justify-content: flex-start; }
}
@media (max-width: 639px) { #about .about__visual { --pw: 288px; } }
