/* The three doors: the home page, /whatsapp and /telegram (index.html, whatsapp.html, telegram.html). Loads after
   site.css; colours, type and space come from tokens.css. One layout on all three pages, and one accent per door,
   --door, set by the body class: ink blue for the web app, a forest green for WhatsApp, a slate teal for Telegram.
   The accent marks the place (the header's current door, step numbers, the stage behind the phone, a card's top edge).
   Buttons stay ink blue on every page, because ink blue means an action, and manila still means the robot.
   None of these colours is WhatsApp's or Telegram's own, and nothing here draws either app's interface. */

.door {
  --door: #2448E0; --door-ink: #1F40C8; --door-soft: #E6EBFD;
  --stage: #E3E8F8; --stage-edge: #D2DAF2;
  --bezel: #14171C; --bezel-edge: rgba(255, 255, 255, 0.16);
  --band: #14171C; --band-text: #F4F5F7; --band-muted: #B7BDC9; --band-line: rgba(244, 245, 247, 0.16);
  /* The first picture's shape, so the phone can follow the window's height: 390 x 760 for the example chat on
     /whatsapp and /telegram, and 390 x 844 for the same chat on the home page's taller screen. */
  --shot-w: 390; --shot-h: 760;
}
.door--web { --shot-h: 844; }
.door--whatsapp { --door: #17754A; --door-ink: #12613D; --door-soft: #DCEDE3; --stage: #E2EEE6; --stage-edge: #CDDFD3; }
.door--telegram { --door: #136A8F; --door-ink: #0F5876; --door-soft: #DAEAF2; --stage: #E0EDF4; --stage-edge: #C9DCE8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .door {
    --door: #8FA6FF; --door-ink: #B4C3FF; --door-soft: #1C2447; --stage: #121831; --stage-edge: #222B4E;
    --bezel: #05070A; --bezel-edge: rgba(255, 255, 255, 0.24);
    --band: #171B22; --band-text: #E8EBF0; --band-muted: #9AA2AF; --band-line: rgba(232, 235, 240, 0.12);
  }
  :root:not([data-theme="light"]) .door--whatsapp { --door: #5FD39A; --door-ink: #8BE0B5; --door-soft: #143324; --stage: #0F1B15; --stage-edge: #1D3327; }
  :root:not([data-theme="light"]) .door--telegram { --door: #6CC3EA; --door-ink: #9AD6F1; --door-soft: #12303F; --stage: #0E1A23; --stage-edge: #1C3140; }
}
:root[data-theme="dark"] .door {
  --door: #8FA6FF; --door-ink: #B4C3FF; --door-soft: #1C2447; --stage: #121831; --stage-edge: #222B4E;
  --bezel: #05070A; --bezel-edge: rgba(255, 255, 255, 0.24);
  --band: #171B22; --band-text: #E8EBF0; --band-muted: #9AA2AF; --band-line: rgba(232, 235, 240, 0.12);
}
:root[data-theme="dark"] .door--whatsapp { --door: #5FD39A; --door-ink: #8BE0B5; --door-soft: #143324; --stage: #0F1B15; --stage-edge: #1D3327; }
:root[data-theme="dark"] .door--telegram { --door: #6CC3EA; --door-ink: #9AD6F1; --door-soft: #12303F; --stage: #0E1A23; --stage-edge: #1C3140; }

/* The header (.sitenav) is in site.css, because every page carries it. */

/* ---- the first screen: words, the phone on its stage, and the action ---- */
.shero { padding: var(--space-4) 0 var(--space-7); }
.shero__grid { display: grid; gap: var(--space-5); }
.shero__grid > * { min-width: 0; }
.shero .display { margin-bottom: var(--space-3); }
.shero .lede { margin: 0; max-width: 34em; }
.shero .eyebrow { margin-bottom: var(--space-3); }
.shero .cta { margin-top: 0; }
.shero .trust { margin-top: var(--space-3); max-width: 58ch; }
.shero .trust + .trust { margin-top: var(--space-2); }
/* A door page's free limit and price, right under its opening words, so a phone shows them before the picture. */
.shero__price { margin: var(--space-3) 0 0; max-width: 34em; font-size: var(--fs-small); line-height: 1.45; color: var(--text); }
.shero__price strong { font-weight: var(--fw-strong); }
/* The line that states the offer beside a page's buttons (the home page, /pricing): the same small size as a note,
   in the text colour, because it carries the price. */
.trust--offer { color: var(--text); }
/* A fine print entry, set quieter than the entries beside it. */
.fine dd, .about--fine dd { font-size: var(--fs-small); color: var(--text-muted); }

/* ---- the three doors as buttons (the home page's first screen and last band, and /pricing): where the door is, over
   what the button does. WhatsApp is first and filled. On a phone it takes the full width and the other two share the
   row under it; from 640px the three sit in one row. ---- */
.doorbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); max-width: 640px; }
.doorbtn { display: grid; align-content: center; gap: 2px; min-height: 60px; padding: var(--space-2) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); text-decoration: none; transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out); }
.doorbtn:first-child { grid-column: 1 / -1; }
.doorbtn:hover { color: var(--text); border-color: var(--dia-line); }
.doorbtn__kind { font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; line-height: 1.3; color: var(--text-muted); }
.doorbtn__act { font-size: var(--fs-body); font-weight: var(--fw-strong); line-height: 1.2; }
.doorbtn--primary { border-color: transparent; background: var(--accent); color: var(--accent-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.doorbtn--primary:hover { border-color: transparent; background: var(--accent-hover); color: var(--accent-text); }
/* 94%, not less: at 84% the label measured 4.11:1 on the dark scheme's accent, under WCAG's 4.5 for 12px text. */
.doorbtn--primary .doorbtn__kind { color: color-mix(in srgb, var(--accent-text) 94%, transparent); }
@media (min-width: 640px) {
  .doorbtns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
  .doorbtn:first-child { grid-column: auto; }
  .doorbtn { min-height: 64px; }
}

.stage { position: relative; isolation: isolate; overflow: hidden; margin: 0; display: grid; justify-items: center; align-content: center; gap: var(--space-4); padding: var(--space-5) var(--space-4) var(--space-4); border: 1px solid var(--stage-edge); border-radius: var(--radius-xl);
  background: radial-gradient(90% 60% at 85% 0%, color-mix(in srgb, var(--door) 20%, transparent), transparent 70%), radial-gradient(80% 50% at 0% 100%, color-mix(in srgb, var(--door) 10%, transparent), transparent 70%), var(--stage); }
/* The chat's own dotted ground, carried out onto the stage and faded toward its edges. */
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--door) 26%, transparent) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); }
.stage .device { width: min(272px, 74vw); max-width: none; }
.stage__note { margin: 0; max-width: 40ch; font-size: var(--fs-caption); line-height: 1.45; color: var(--text-muted); text-align: center; text-wrap: balance; }
/* The second picture of /whatsapp, the phone recording, in the frame of "How a web room works" (site.css .how__shot):
   the line that says where it was recorded and what was cut sits under the phone, no wider than it. */
.rec__note { margin: var(--space-3) 0 0; max-width: 300px; font-size: var(--fs-caption); line-height: 1.45; color: var(--text-muted); }

/* The phone: a thin dark frame seen front on, on every picture of these three pages. */
.door .device { padding: 8px; background: var(--bezel); border: 0; border-radius: 40px; box-shadow: inset 0 0 0 1.5px var(--bezel-edge), var(--elev-phone); }
.door .device__screen { border-radius: 32px; }
.door .device--sm { padding: 6px; border-radius: 30px; box-shadow: inset 0 0 0 1px var(--bezel-edge), var(--elev-2); }
.door .device--sm .device__screen { border-radius: 24px; }

.door .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.door .shero .btn { min-height: 56px; }

/* Add it in three steps, beside the button: numbered rows on a line, and from 960px a code to scan. */
.addcard { display: grid; margin-top: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.addcard__steps { padding: var(--space-5) var(--space-4); }
.addcard__title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-heading); letter-spacing: var(--tracking-display); line-height: var(--lh-heading); }
.addsteps { list-style: none; counter-reset: add; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.addsteps li { counter-increment: add; position: relative; padding-left: 44px; font-size: var(--fs-small); line-height: 1.45; color: var(--text-muted); }
.addsteps li::before { content: counter(add) / ""; position: absolute; left: 0; top: -3px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--door-soft); color: var(--door-ink); font-size: 0.875rem; font-weight: 700; }
.addsteps li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 25px; bottom: calc(-1 * var(--space-4) - 3px); width: 1px; background: var(--border); }
.addsteps strong { display: block; color: var(--text); font-size: var(--fs-body); }
.addsteps li > span { display: block; }
.copybtn { display: inline-flex; align-items: center; min-height: 36px; margin-top: var(--space-2); padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-pill); background: transparent; color: var(--link); font: var(--fw-strong) var(--fs-small) / 1 var(--font-body); white-space: nowrap; cursor: pointer; }
.copybtn:hover { background: var(--accent-soft); }
.copybtn[hidden] { display: none; }
.scan { display: none; }

@media (min-width: 960px) {
  .shero { padding: var(--space-5) 0 var(--space-8); }
  .shero__grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 0.72fr); grid-template-areas: "copy stage" "act stage"; column-gap: var(--space-8); row-gap: var(--space-5); align-items: start; }
  .shero__copy { grid-area: copy; align-self: end; padding-top: var(--space-2); }
  .shero__act { grid-area: act; }
  .shero .display { margin-bottom: var(--space-4); }
  .stage { grid-area: stage; align-self: stretch; padding: var(--space-6) var(--space-5) var(--space-5); gap: var(--space-5); }
  /* The whole phone screen stays in a short window: the width follows the window's height. */
  .stage .device { width: clamp(236px, calc((100vh - var(--header-h) - 204px) * var(--shot-w) / var(--shot-h)), 350px); }
  .addcard { grid-template-columns: minmax(0, 1fr) 196px; margin-top: var(--space-4); }
  .addcard__steps { padding: var(--space-5); }
  .addsteps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: var(--space-3); }
  .copybtn { margin-top: 0; }
  .scan { display: grid; align-content: center; justify-items: center; gap: var(--space-3); padding: var(--space-4); border-left: 1px solid var(--border); background: var(--bg); text-align: center; }
  /* A code is scanned as dark on white, in both themes. */
  .scan__code { display: block; width: 132px; height: 132px; padding: 4px; border-radius: var(--radius-md); background: #FFFFFF; }
  .scan p { margin: 0; font-size: var(--fs-caption); line-height: 1.4; color: var(--text-muted); }
  .scan strong { display: block; color: var(--text); }
}

/* ---- what people ask it: a row of cards that scrolls sideways inside the page ---- */
.asks { overflow: hidden; }
.asks__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); }
.asks__head .lede { margin: 0; }
.railnav { display: none; flex: none; gap: var(--space-2); }
.railnav button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; transition: border-color var(--dur-1) var(--ease-out), opacity var(--dur-1) var(--ease-out); }
.railnav button:hover { border-color: var(--dia-line); }
.railnav button[disabled] { opacity: 0.35; cursor: default; }
.railnav svg { display: block; }
.rail { list-style: none; display: flex; gap: var(--space-4); margin: var(--space-5) 0 0; padding: 4px max(var(--gutter), calc((100% - var(--container)) / 2)) var(--space-5); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.ask { flex: 0 0 min(300px, 80vw); scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-3); padding: var(--space-5) var(--space-4) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; }
.ask__title { margin: 0; min-height: 2.4em; font-family: var(--font-display); font-size: 1.3125rem; font-weight: var(--fw-heading); letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
.ask__pic { display: grid; place-items: center; align-self: stretch; padding: var(--space-4) 0; border-radius: var(--radius-lg); background: var(--stage); }
.ask__pic .device { width: 84%; max-width: 260px; }
.ask__text { margin: 0; min-height: 4.35em; font-size: var(--fs-small); line-height: 1.45; color: var(--text-muted); }
/* An ask with no recording yet: what you send and what the robot does, in the site's own shapes. Not a picture of
   any app. The typed line is a person, the manila block is the robot, and each carries its label in words. */
.ask__eg { display: grid; align-content: center; gap: var(--space-4); align-self: stretch; padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); background: var(--stage); }
.eg { display: grid; gap: var(--space-1); }
.eg__who { font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); }
.eg__line { margin: 0; padding: var(--space-3) var(--space-4); font-size: var(--fs-body); line-height: 1.35; border-radius: 16px; }
.eg--you { justify-items: end; text-align: right; }
.eg--you .eg__line { background: var(--surface); border: 1px solid var(--border); border-bottom-right-radius: 4px; text-align: left; }
.eg--robot .eg__line { background: var(--robot); border: 1px solid var(--robot-edge); color: var(--robot-ink); border-bottom-left-radius: 4px; }
.eg--robot .eg__who { color: var(--robot-name); }
@media (min-width: 960px) {
  .js .railnav { display: flex; }
  .ask { flex-basis: 328px; padding: var(--space-5); }
}

/* ---- the film on the home page: a still that costs about 30 KB until someone presses play ---- */
.film__frame { position: relative; margin: var(--space-5) 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden; background: #2448E0; box-shadow: var(--elev-phone); }
.film__poster, .film__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* The whole still is the button. Its mark sits at the lower right, clear of the phone and the words in the still. */
.film__play { position: absolute; inset: 0; display: grid; place-items: end; width: 100%; height: 100%; margin: 0; padding: clamp(16px, 4%, 40px); border: 0; background: transparent; cursor: pointer; }
.film__play span { display: grid; place-items: center; width: clamp(56px, 8vw, 88px); height: clamp(56px, 8vw, 88px); border-radius: 50%; background: #FFFFFF; color: #2448E0; box-shadow: 0 14px 32px -8px rgba(8, 16, 60, 0.55); transition: transform var(--dur-2) var(--ease-out); }
.film__play svg { width: 40%; height: 40%; }
.film__play:hover span { transform: scale(1.06); }
.film__play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -6px; }
.film__note { margin-top: var(--space-3); font-size: var(--fs-caption); color: var(--text-muted); }

/* ---- numbered steps side by side from 960px, where a page has no picture beside them (telegram.html) ---- */
@media (min-width: 960px) {
  .story__steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-6); align-items: start; }
}

/* ---- what it costs: the two numbers a group weighs, set large ---- */
.prices { display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
.price { display: grid; align-content: start; gap: var(--space-1); padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.price__kind { margin: 0; font-size: var(--fs-caption); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--door-ink); }
.price__big { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 3.2vw, 4.5rem); font-weight: var(--fw-display); letter-spacing: -0.03em; line-height: 1; }
.price__text { margin: 0; color: var(--text-muted); }
.door .narrow > .prices, .door .narrow > .facts { max-width: none; }
@media (min-width: 640px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .door .narrow .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .door .narrow .facts div { max-width: none; } }

/* ---- /pricing (pricing.html): the offer as three tiles, free, 7 days and every 30 days. On a phone each tile is one
   row, its price beside its words, so the first door button under them stays in the first screen. From 760px the
   tiles stand side by side with the price on its own line. The same three tiles sit in /whatsapp's cost section. ---- */
ul.prices { list-style: none; padding: 0; }
.phero { padding: var(--space-4) 0 var(--section-y); }
.phero .display { max-width: none; margin-bottom: var(--space-3); }
/* On a phone the offer's sentence is set at body size, so the tiles, the line that says nothing is paid here and the
   first button all fit in the first screen. */
.phero .lede { margin: 0; max-width: 34em; font-size: var(--fs-body); text-wrap: pretty; }
.phero .trust { margin: var(--space-3) 0; max-width: 58ch; }
/* The pass tiles under the free ones, while passes are sold (static.mjs pricingPasses). */
.phero .passhead { margin: var(--space-5) 0 0; }
.prices--offer { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); margin: var(--space-4) 0; }
.prices--offer .price { grid-template-columns: 5.25rem minmax(0, 1fr); column-gap: var(--space-3); row-gap: 2px; align-items: center; padding: 10px var(--space-4); }
.prices--offer .price__big { grid-column: 1; grid-row: 1 / span 2; font-size: 2.25rem; }
.prices--offer .price__kind, .prices--offer .price__text { grid-column: 2; }
.prices--offer .price__text { font-size: var(--fs-small); line-height: 1.4; }
/* No dock on this page, so its footer needs no room for one. */
.home.pricing .foot { padding-bottom: var(--space-7); }
@media (min-width: 760px) {
  .phero .lede { font-size: var(--fs-lede); }
  .prices--3, .prices--offer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices--pass { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices--offer { gap: var(--space-4); margin: var(--space-5) 0; }
  .prices--offer .price { grid-template-columns: none; row-gap: var(--space-1); align-items: start; padding: var(--space-5); }
  .prices--offer .price__big { grid-column: auto; grid-row: auto; font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem); }
  .prices--offer .price__kind, .prices--offer .price__text { grid-column: auto; }
  .prices--offer .price__text { font-size: var(--fs-body); line-height: inherit; }
}
@media (min-width: 960px) {
  .phero { padding-top: var(--space-7); }
  /* An odd number of facts: the last one takes the whole row instead of leaving half of it empty. */
  .pricing .narrow .facts > div:last-child:nth-child(odd), #cost .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---- the three doors (src/static.mjs doorsBlock): a card per door with its accent on the top edge ---- */
#doors .rooms { gap: var(--space-4); }
#doors .room { --card: #2448E0; --card-ink: #1F40C8; }
#doors .room[data-door="whatsapp"] { --card: #17754A; --card-ink: #12613D; }
#doors .room[data-door="telegram"] { --card: #136A8F; --card-ink: #0F5876; }
#doors .room__link { position: relative; gap: var(--space-2); padding: calc(var(--space-5) + 4px) var(--space-5) var(--space-5); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur-1) var(--ease-out), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
#doors .room__link::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--card); }
#doors .room__link:hover { border-color: var(--card); transform: translateY(-2px); box-shadow: var(--elev-2); }
#doors .room__kind { color: var(--card-ink); }
#doors .room__name { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-heading); letter-spacing: var(--tracking-display); line-height: var(--lh-heading); color: var(--text); }
#doors .room__text { font-size: var(--fs-body); }
/* The door the visitor is already at: flat, tinted, and it does not lift. */
#doors .room__link[aria-current="page"] { background: color-mix(in srgb, var(--card) 7%, var(--surface)); border-color: color-mix(in srgb, var(--card) 40%, var(--border)); }
#doors .room__link[aria-current="page"]:hover { transform: none; box-shadow: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #doors .room { --card: #8FA6FF; --card-ink: #B4C3FF; }
  :root:not([data-theme="light"]) #doors .room[data-door="whatsapp"] { --card: #5FD39A; --card-ink: #8BE0B5; }
  :root:not([data-theme="light"]) #doors .room[data-door="telegram"] { --card: #6CC3EA; --card-ink: #9AD6F1; }
}
:root[data-theme="dark"] #doors .room { --card: #8FA6FF; --card-ink: #B4C3FF; }
:root[data-theme="dark"] #doors .room[data-door="whatsapp"] { --card: #5FD39A; --card-ink: #8BE0B5; }
:root[data-theme="dark"] #doors .room[data-door="telegram"] { --card: #6CC3EA; --card-ink: #9AD6F1; }
@media (prefers-reduced-motion: reduce) { #doors .room__link:hover, .film__play:hover span { transform: none; } }

/* ---- the last section: one dark band with the page's one action ---- */
.endband { background: var(--band); color: var(--band-text); }
.endband .h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.06; }
.endband p { color: var(--band-muted); font-size: var(--fs-lede); line-height: 1.45; }
.endband .btn--secondary { background: transparent; color: var(--band-text); border-color: var(--band-line); }
.endband .btn--secondary:hover { border-color: var(--band-text); color: var(--band-text); }
.endband .doorbtn:not(.doorbtn--primary) { background: transparent; color: var(--band-text); border-color: var(--band-line); }
.endband .doorbtn:not(.doorbtn--primary):hover { border-color: var(--band-text); }
.endband .doorbtn:not(.doorbtn--primary) .doorbtn__kind { color: var(--band-muted); }
.endband .endband__note { font-size: var(--fs-small); }
@media (min-width: 960px) { .pair--end .doorbtns { width: 560px; } }
.endband :focus-visible { outline-color: var(--band-text); }
.door .foot { border-top: 0; }
/* The footer's lists are the same on every page and are laid out in site.css (.foot__cols). */

/* ---- the dock: on a phone the page's one button rests at the bottom of the screen from the first paint, and steps
   aside while a button of the page's own is in view (doors.js). Without script it simply stays. ---- */
html:not(.js) .door .dock { transform: none; opacity: 1; visibility: visible; }

@media print { .railnav, .film__play, .scan { display: none; } }

/* Below 960px the phone sits under the buttons, so a whole 390 x 844 screen pushes the robot's answer about a screen
   below the fold. There the frame shows the bottom of the chat, where the question to the robot and its answer are;
   the animation adds messages at the bottom, so every frame keeps the newest ones in view. Found in the site-review
   of 2026-11-23: all three critics' first finding was that a phone visitor never saw the robot answer. */
@media (max-width: 959px) {
  .stage .device__screen { aspect-ratio: 390 / 500; object-fit: cover; object-position: 50% 100%; }
}
