/* The site: layout and components, theme-neutral. Loaded after tokens.css; every colour, font, radius and shadow here
   is a var() from tokens.css (or a theme's redefinition of it). Each theme's own look lives in themes/<id>.css, scoped
   to :root[data-style="<id>"]. The hooks a theme can use are listed in ../../../THEMES.md. */

/* The site's scale: layout and type sizes. Not colours or faces, so not in tokens.css; a theme may redefine any. */
:root {
  --wrap: 1280px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(80px, 9vw, 132px);
  --header-h: 68px;
  --measure: 62ch;
  --fs-display: clamp(2.75rem, 1.6rem + 4.3vw, 5.25rem);   /* 44 → 84 */
  --fs-h2: clamp(2.125rem, 1.5rem + 2.5vw, 3.5rem);         /* 34 → 56 */
  --fs-h3: clamp(1.25rem, 1.15rem + .35vw, 1.4375rem);      /* 20 → 23 */
  --fs-lede: clamp(1.125rem, 1.04rem + .4vw, 1.375rem);     /* 18 → 22 */
  --fs-figure: clamp(2.5rem, 1.9rem + 2vw, 3.75rem);        /* 40 → 60 */
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .8125rem;
  --lh-display: 1.04;
  --lh-head: 1.1;
  --lh-body: 1.65;
  --w-display: 500;
  --w-head: 500;
  --w-strong: 700;
  --track-display: -.015em;
  --r-pill: 999px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--paper); color: var(--ink); }
body { margin: 0; font: 400 var(--fs-body)/var(--lh-body) var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: var(--w-strong); }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: var(--r-btn); background: var(--act);
  color: var(--act-ink); text-decoration: none; }
.skip:focus { top: 12px; }

.s-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
main > section > .s-inner { padding-block: var(--section); }

/* ---------------------------------------------------------------- type */
h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: var(--w-display); letter-spacing: var(--track-display); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-head); font-weight: var(--w-head); letter-spacing: var(--track-display); }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: var(--w-strong); }
.then { color: var(--soft); }
h2 .then { display: block; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--soft); max-width: 36em; }
.s-head .lede { margin-top: 20px; }
.eyebrow { font-size: var(--fs-small); font-weight: 500; color: var(--soft); }
.kicker { margin-bottom: 18px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.note, .fine { font-size: var(--fs-small); color: var(--soft); }

/* ---------------------------------------------------------------- actions: the one button, the quiet link */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid transparent;
  border-radius: var(--r-btn); background: var(--act); color: var(--act-ink); font: 500 1rem/1 var(--body); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: filter .15s var(--ease); }
.btn:hover { filter: brightness(1.12); }
.btn:active { translate: 0 .5px; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: var(--fs-small); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; }
.more:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: translate .2s var(--ease); }
.more:hover .icon { translate: 3px 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .s-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: var(--w-strong) 1.375rem/1 var(--display); letter-spacing: .01em; }
.brand img { width: 30px; height: 30px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a { display: block; padding: 8px 0; font-size: var(--fs-small); font-weight: 500; color: var(--soft); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-actions { display: flex; align-items: center; gap: 12px; }
/* The language selector: a drawn globe and the current language, opening the three in their own words, the current one
   checked (site.js: Enter, Space or ↓ open it, the arrows move, Esc closes); at the end of the phone menu, the same list
   under the globe; in the footer, a row. */
.lang-pick { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 7px 0 9px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: transparent; color: var(--ink); font: 500 var(--fs-label)/1 var(--body); white-space: nowrap; cursor: pointer; }
.lang-btn:hover { border-color: var(--ink); }
.lang-globe { width: 15px; height: 15px; }
.lang-caret { width: 12px; height: 12px; color: var(--soft); transition: rotate .2s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-caret { rotate: 180deg; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 184px; margin: 0; padding: 6px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); box-shadow: var(--shadow-window); }
.lang-list[hidden] { display: none; }
.lang-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px; border-radius: 8px;
  font: 400 var(--fs-small)/1.2 var(--body); color: var(--ink); text-decoration: none; }
.lang-item:hover, .lang-list .lang-item:focus-visible { background: var(--paper); }
.lang-item[aria-current] { font-weight: 600; }
.lang-check { width: 16px; height: 16px; color: var(--ok); stroke-width: 2; }
.site-nav .lang-menu { display: none; }
.lang-menu-h { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font: 500 var(--fs-label)/1 var(--body); letter-spacing: .04em; color: var(--soft); }
.lang-row { display: flex; gap: 14px; }
.lang-row-i { font-size: var(--fs-small); color: var(--soft); text-decoration: none; }
.lang-row-i:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang-row-i[aria-current] { color: var(--ink); }
.menu-button { display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: transparent; color: var(--ink); font: 500 var(--fs-small)/1 var(--body); cursor: pointer; }

@media (max-width: 959px) {
  .site-header .s-inner { flex-wrap: wrap; column-gap: 12px; }
  .site-actions { margin-left: auto; gap: 12px; }
  .site-nav { order: 3; flex-basis: 100%; margin: 0; }
  .site-nav ul { flex-wrap: wrap; column-gap: 20px; padding-bottom: 8px; }
}
@media (max-width: 959px) and (scripting: enabled) {
  .menu-button { display: inline-flex; align-items: center; }
  .site-nav { display: none; padding: 4px 0 20px; }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; padding: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 14px 0; font: var(--w-head) 1.375rem/1.2 var(--display); color: var(--ink); }
  .site-actions .lang-pick { display: none; }   /* at the end of the menu instead */
  .site-nav .lang-menu { display: block; padding: 12px 0 4px; }
  .site-nav .lang-menu li + li { border-top: 0; }
  .site-nav .lang-menu .lang-item { display: flex; padding: 12px 0; font: 400 1.0625rem/1.2 var(--body); color: var(--ink); }
  .site-nav .lang-menu .lang-item[aria-current] { font-weight: 600; }
  .site-header.is-open .site-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }   /* a phone on its side */
}
@media (max-width: 959px) and (scripting: none) {   /* without script the links stay in the bar: it scrolls away, never covers a phone */
  .site-header { position: relative; }
  .site-actions .lang-pick { display: none; }   /* its list needs script; the footer's row works */
}
@media (max-width: 399px) {   /* the brand, the button and Menú still on one row */
  .site-header .s-inner, .site-actions { column-gap: 8px; }
  .menu-button { padding-inline: 12px; }
}
/* A finger: every control at least 44 px tall, drawn as before (the hero's channels below, the bar's button in the theme) */
@media (pointer: coarse) {
  .brand, .menu-button, .more { min-height: 44px; }
  .footer-nav a, .lang-row-i { display: block; padding: 10px 4px; margin: -10px -4px; }   /* the footer's rows stay where they were */
}

/* ---------------------------------------------------------------- hero */
main > .s-hero { overflow-x: clip; }   /* nothing may bleed past a phone's edge into a sideways scroll */
main > .s-hero > .s-inner { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 7vw, 84px); }
.s-hero .s-inner { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 40px; align-items: center; }
.s-hero .s-head { max-width: 50rem; }
.s-hero .eyebrow { margin-bottom: 26px; }
.s-hero h1 .then { display: block; }
.s-hero .lede { margin-top: 26px; max-width: 32em; }
.s-hero .actions { margin-top: 34px; }
.bk { display: none; }   /* the headline's line breaks, set by hand for a wide screen */
@media (min-width: 1100px) { .bk { display: inline; } }
/* The stage: the window that shows real tasks, asked and done, and the heron standing on its top edge, its foot on the
   border, facing the headline. It touches nothing else. Stacked, the window comes under the copy with the heron's
   height of air above it; from 1380 px, two columns, the window beside the copy. */
:where(.s-hero) { --hero-win: 640px; }   /* the window's width */
.p-home .s-hero .s-head { max-width: 640px; }
.p-home .s-hero .lede { max-width: 450px; }
.stage { position: relative; width: 100%; max-width: var(--hero-win); justify-self: center; padding-top: 150px; }
.stage-win { position: relative; }
.heron { position: absolute; right: 40px; bottom: calc(100% - 2px); z-index: 2; width: auto; max-width: none; height: 140px; pointer-events: none;
  user-select: none; }
@media (min-width: 1380px) {
  :where(.s-hero) { --hero-win: 570px; }
  .p-home main > .s-hero > .s-inner { grid-template-columns: minmax(0, 1fr) var(--hero-win); column-gap: 70px; align-items: start; padding-block: 150px 84px; }
  .p-home .s-hero .s-head { max-width: none; }
  .stage { padding-top: 0; margin-top: 70px; }
  .heron { right: 43px; height: 180px; }
  .hw { min-height: 500px; }
  .stage > .hw-time { position: absolute; left: 0; top: calc(100% + 18px); margin: 0; }
}

/* The window: Slack-like, not Slack. A slim sidebar of channels and direct messages, the task picker, each with real
   tasks: the person's own conversation with their assistant (the meeting, the chase list), # facturas (the finance agent:
   what's pending, an invoice), # redes (the communications agent), # clientes (the clients agent), # equipo (the assistant, tagged).
   Each task shows the request, the steps folded into one line (ticking while she works), the one-line reply and the result, drawn.
   A task's data-state, set by site.js: ask (the request alone), work (the line ticks, the result waits), fresh (the
   result has just landed: the done mark paints itself). None: finished. A task still to come (.is-later) keeps its room. */
.hw { position: relative; z-index: 1; display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r-window); background: var(--sheet); box-shadow: var(--shadow-window); font: 400 .90625rem/1.45 var(--body); color: var(--ink); text-align: left;
  --side-w: 8.5rem; }
.hw-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 8px; border-right: 1px solid var(--line); background: var(--paper); }
.hw-sec { margin: 0 8px 4px; font: 500 .75rem/1.3 var(--body); color: var(--soft); }
.hw-sec:not(:first-child) { margin-top: 14px; }
.hw-ch { display: flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 8px; border: 0; border-radius: var(--r-btn); background: none;
  color: var(--soft); font: 400 .8125rem/1.2 var(--body); text-align: left; white-space: nowrap; }
.hw-ch .hw-hash { width: 13px; height: 13px; flex: none; }
.hw-ch .hw-av-s { width: 18px; height: 18px; }
button.hw-ch { cursor: pointer; }
button.hw-ch:hover { color: var(--ink); }
.hw-ch[aria-selected="true"] { background: var(--wash); color: var(--ink); font-weight: 500; }
.hw-ch:focus-visible { outline: 2px solid var(--act); outline-offset: -2px; }
.hw-body { display: grid; min-width: 0; }
.hw-room { grid-area: 1 / 1; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; visibility: hidden; opacity: 0; }
.hw-room.is-on { visibility: visible; opacity: var(--task-o, 1); }
/* Where the task lives: a person's conversation with their assistant, or a channel; and the box to write in */
.hw-place { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line);
  font: var(--w-strong) 1rem/1 var(--display); }
.hw-hash { width: 15px; height: 15px; color: var(--soft); }
/* The talk: newest at the bottom, as in Slack. Every talk is as tall as the tallest task (--talk-h, from site.js), so the
   window never changes size. While the tasks turn, an empty room above lets the talk sit on the box to write in while she
   works, the result's room waiting below; it scrolls up when the result lands, and a new request in the same
   conversation scrolls the last one up. On a phone, where the window is nearly a screen tall, a task starts under the
   header instead and grows down (an empty room below lets it), the newest kept in view once it fills the window.
   Stopped, a whole conversation scrolls by hand with a mouse or trackpad; under a finger it never scrolls (site.js keeps
   the newest in view), so a swipe over the window always moves the page. */
.hw-talk { position: relative; display: flex; flex-direction: column; height: var(--talk-h, auto); overflow: hidden; padding: 0 16px 4px;
  -webkit-mask: linear-gradient(transparent, #000 10px); mask: linear-gradient(transparent, #000 10px); }   /* what scrolled up fades under the header */
.hw-talk > :first-child { margin-top: auto; }
:is(.hw.is-turning .hw-talk, .hw-talk:has(> .is-later))::before { content: ""; flex: none; height: var(--talk-h); }
@media (max-width: 699px) { :is(.hw.is-turning .hw-talk, .hw-talk:has(> .is-later))::after { content: ""; flex: none; height: var(--talk-h); } }
@media (pointer: fine) {
  .hw:not(.is-turning) .hw-talk:not(:has(> .is-later)) { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
}
.hw-task.is-later { visibility: hidden; }
.hw-compose { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 16px 12px; padding: 6px 10px 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 9px; font-size: .8125rem; color: var(--soft); }
.hw-compose .icon { width: 14px; height: 14px; }
.hw-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; margin-top: 10px; }
.hw-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: var(--w-strong) 1rem/1 var(--display); }
img.hw-av { border-radius: 50%; }   /* the assistant's face: the heron's head, a disc */
.hw-av-s { width: 24px; height: 24px; }
.hw-agent { position: relative; outline: 1.5px solid var(--mark-c, var(--s-gold)); outline-offset: 1.5px; background: var(--white); }   /* a role agent: its own mark, its colour */
.hw-agent::before { content: ""; position: absolute; inset: 13%; background: var(--ink);
  -webkit-mask: var(--mark, url(../img/demo/mark-finance.png)) center / contain no-repeat; mask: var(--mark, url(../img/demo/mark-finance.png)) center / contain no-repeat; }
.hw-agent.is-clients { --mark: url(../img/demo/mark-clients.png); --mark-c: var(--s-coral); }
.hw-agent.is-comms { --mark: url(../img/mark-comms.png); --mark-c: var(--s-violet); }
.hw-tint-1 { background: var(--tint-1); } .hw-tint-2 { background: var(--tint-2); } .hw-tint-3 { background: var(--tint-3); }
.hw-main { min-width: 0; }
.hw-head { display: flex; align-items: baseline; gap: 7px; }
.hw-head b { font-weight: var(--w-strong); }
.hw-head time, .hw-steps { font-size: .75rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.hw-tag { align-self: center; padding: 1px 5px 2px; border-radius: 4px; background: var(--line); font-size: .6875rem; line-height: 1.3; color: var(--soft); }
.hw-text { margin-top: 2px; text-wrap: pretty; }
.hw-at { padding: 0 2px; border-radius: 4px; background: color-mix(in srgb, var(--s-blue) 14%, transparent); color: #2C4F8E; font-weight: 500; }
.hw-steps { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.hw-steps .icon { width: 14px; height: 14px; flex: none; color: var(--ok); stroke-width: 2; }
.hw-spin { display: none; flex: none; width: 12px; height: 12px; margin: 1px; border: 1.5px solid var(--line-strong); border-top-color: var(--ink);
  border-radius: 50%; animation: hw-spin .9s linear infinite; }
@keyframes hw-spin { to { rotate: 1turn; } }
.hw-msg, .hw-out { transition: opacity .5s var(--ease), translate .5s var(--ease); }
[data-state="ask"] > .hw-msg:first-child { animation: hw-in .5s var(--ease) both; }
@keyframes hw-in { from { opacity: 0; translate: 0 6px; } }
[data-state="ask"] .hw-msg + .hw-msg { opacity: 0; translate: 0 6px; transition: none; }
:is([data-state="ask"], [data-state="work"]) :is(.hw-tick, .hw-msg + .hw-msg time) { visibility: hidden; }   /* no reply time until it is sent */
:is([data-state="ask"], [data-state="work"]) .hw-out { opacity: 0; translate: 0 6px; transition: none; }
[data-state="work"] .hw-tick { display: none; }
[data-state="work"] .hw-spin { display: block; }
/* The finished result's one painted touch: a short brush stroke behind «Hecho», in the theme's wash. */
.hw-done { position: relative; z-index: 0; font-weight: var(--w-strong); }
.hw-done::after { content: ""; position: absolute; z-index: -1; left: -8%; right: -14%; bottom: -.1em; height: 1em; background: var(--act);
  opacity: .6; -webkit-mask: url(../img/underline-sumi.webp) no-repeat 0 50% / 100% 100%; mask: url(../img/underline-sumi.webp) no-repeat 0 50% / 100% 100%; }
[data-state="fresh"] .hw-done::after { animation: hw-paint .7s var(--ease-ink) .35s both; }
@keyframes hw-paint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.hw .mk { max-width: 26.5rem; margin-top: 10px; box-shadow: none; border: 1px solid var(--line); font-size: .84375rem; }   /* an attachment */
.hw .mk-bar { padding-block: 8px; }
.hw .mk-body { gap: 3px; padding: 10px 14px 12px; }
.hw .mk-body > .mk-h:not(:first-child) { margin-top: 6px; }
.hw .mk-who li { padding: 3px 0; }
.hw .mk-mail { margin-top: 6px; padding: 5px 10px; }
.hw .mk-threads li { padding-block: 7px; }
.hw .mk-draft { padding: 10px 14px 12px; gap: 4px; }
.hw .mk-row span { padding-block: 5px; }
.hw .mk-folder { padding-block: 9px; }
.hw .mk-kv li, .hw .mk-cal li { padding-block: 6px; }
.hw .mk-dated li { padding-block: 2px; }
.hw .mk-line { gap: 1px; padding-block: 8px; }
.hw .mk-letter, .hw .mk-line { padding: 9px 14px 10px; }
.hw .mk-foot { padding-block: 8px; }

/* The real time of the task on screen, under the window. */
.hw-time { margin-top: 18px; font-size: var(--fs-label); font-weight: 500; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* A phone: the window at full width, its sidebar one slim row above the conversation. */
@media (max-width: 699px) {
  .hw { grid-template-columns: minmax(0, 1fr); }   /* the sidebar becomes one slim row above the conversation */
  .hw-side { flex-direction: row; gap: 0; padding: 5px 6px; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .hw-side::-webkit-scrollbar { display: none; }
  .hw-sec { display: none; }
  .hw-ch { flex: none; gap: 4px; padding: 0 4px; font-size: .75rem; }
  .hw-ch .hw-hash { width: 12px; height: 12px; }
  /* the drawings at a phone's width: a label over its value; a post without its network, «Programado» as its check */
  .hw .mk-kv li { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 5px; }
  .hw .mk-kv-short li { grid-template-columns: 4.6em minmax(0, 1fr); gap: 12px; }
  .hw .mk-cal li { grid-template-columns: 3.4em minmax(0, 1fr) auto; column-gap: 8px; }
  .hw .mk-cal li span:nth-child(2) { display: none; }
  .hw .mk-line-p { display: none; }   /* the pieces: the reply above names them */
  .hw .mk-cal .mk-tag.is-ok { width: 1.6em; height: 1.6em; padding: 0; font-size: 0; background: color-mix(in srgb, var(--ok) 14%, var(--sheet)) center / 60% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232F6E46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); }
  .hw .mk-lines .mk-bar span:last-child { display: none; }   /* «para elegir»: the footer says it */
}
@media (pointer: coarse) { .hw-ch { min-height: 44px; border-block: 8px solid transparent; background-clip: padding-box; } }   /* a finger's 44 px, the pill as drawn */
@media (max-width: 699px) and (pointer: coarse) { .hw-side { padding-block: 0; } }   /* on a phone the channels' 44 px is the row */

/* ---------------------------------------------------------------- examples: one task per row, everything on screen: the ask and, under
   it, three facts (what it did and where it landed, the time, what the person did); the drawing beside them */
.s-examples .s-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap); align-items: end; }
.s-examples .s-head { max-width: 44rem; }
.s-examples .s-media .paint { width: clamp(120px, 13vw, 190px); }
.s-examples .s-body { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); }
.ej-rows { border-bottom: 1px solid var(--line); }
.ej-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "ask pic" "facts pic";
  gap: 24px clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(32px, 5.2vw, 76px); border-top: 1px solid var(--line); }
.ej-row > * { min-width: 0; }
.ej-ask { grid-area: ask; }
.ej-pic { grid-area: pic; display: grid; gap: 10px; align-content: start; }
/* the task: how it came (asked, arriving, repeating) and whose it is, its name, the request as a plain quote */
.ej-trigger { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 12px; font-size: var(--fs-label); color: var(--soft); }
.ej-trigger b { padding: 2px 10px; border-radius: var(--r-pill); background: var(--wash); color: var(--ink); font-weight: var(--w-strong); }
.ej-row h3 { margin-bottom: 16px; font: var(--w-head) var(--fs-h3)/1.25 var(--display); }
.ej-quote { max-width: 30em; padding-left: 16px; border-left: 2px solid var(--line-strong); font-size: 1.0625rem; line-height: 1.5; text-wrap: pretty; }
.ej-pic .mk { box-shadow: none; border: 1px solid var(--line); }
/* the three facts under the ask, an icon each */
.ej-facts { grid-area: facts; display: grid; gap: 7px; max-width: 32rem; font-size: var(--fs-small); line-height: 1.45; color: var(--soft); }
.ej-facts li { display: flex; align-items: baseline; gap: 9px; }
.ej-facts li::before { content: ""; flex: none; width: 14px; height: 14px; translate: 0 2px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ej-facts .is-time { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.4'/%3E%3Cpath d='M8 4.6V8l2.4 1.5'/%3E%3C/svg%3E"); color: var(--ink); }
.ej-facts .is-did { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 1.8h5.4L12.6 5v9.2H4z'/%3E%3Cpath d='M9.2 1.8V5.2h3.4M6.3 8.4h4M6.3 11h4'/%3E%3C/svg%3E"); color: var(--ink); }
.ej-facts .is-person { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); color: var(--ok); font-weight: 500; }
.ej-facts b { font-weight: var(--w-strong); font-variant-numeric: tabular-nums; }
.s-examples .note { margin-top: clamp(28px, 6.5vw, 96px); max-width: 46rem; }
/* each drawing plays once as its row comes in (data-reveal): the slides lay themselves out, the reply comes and then its
   card, the morning's message fills; the facts are there from the start (no counting) */
.ej-row.is-waiting :is(.sl, .mk-gestoria, .mk-approve, .mk-inbox .mk-body > *) { transition: opacity .4s var(--ease), translate .4s var(--ease), scale .4s var(--ease);
  transition-delay: calc(var(--k, 0) * 90ms + 120ms); }
.ej-row.is-waiting:not(.is-shown) .sl { opacity: 0; scale: .9; }
.ej-row.is-waiting:not(.is-shown) :is(.mk-gestoria, .mk-approve, .mk-inbox .mk-body > *) { opacity: 0; translate: 0 8px; }
.ej-row .mk-approve { --k: 7; }
.mk-slides .sl:nth-child(2), .mk-inbox .mk-body > :nth-child(2) { --k: 1; } .mk-slides .sl:nth-child(3), .mk-inbox .mk-body > :nth-child(3) { --k: 2; }
.mk-slides .sl:nth-child(4), .mk-inbox .mk-body > :nth-child(4) { --k: 3; } .mk-slides .sl:nth-child(5), .mk-inbox .mk-body > :nth-child(5) { --k: 4; }
.mk-slides .sl:nth-child(6), .mk-inbox .mk-body > :nth-child(6) { --k: 5; } .mk-slides .sl:nth-child(7), .mk-inbox .mk-body > :nth-child(7) { --k: 6; }
.mk-slides .sl:nth-child(8) { --k: 8; }
@media (min-width: 1024px) and (min-height: 700px) {   /* about one example per half screen, its parts centred in it */
  .ej-row { grid-template-rows: auto auto; align-content: center; min-height: calc((100vh - var(--header-h)) * .6); }
}
@media (max-width: 759px) {
  .ej-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "ask" "pic" "facts"; row-gap: 18px; padding-block: 56px; }   /* one example per screen: never two sets of facts on one */
}
@media (max-width: 599px) {
  .s-examples .s-inner { grid-template-columns: minmax(0, 1fr); }
  .s-examples .s-media { display: none; }
}

/* The drawings of the results: invented files, drawn small, a window each (the one place a box belongs). */
.mk { overflow: hidden; border-radius: var(--r-window); background: var(--sheet); box-shadow: var(--shadow-window);
  font: 400 .875rem/1.45 var(--body); color: var(--ink); }
.mk b { font-weight: var(--w-strong); }
.mk span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 16px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 55%, var(--sheet)); color: var(--soft); }
.mk-app { font-weight: var(--w-strong); color: var(--ink); }
.mk-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 16px 16px; }
.mk-body > * { min-width: 0; }
.mk-h { font-weight: var(--w-strong); }
.mk-body > .mk-h:not(:first-child) { margin-top: 10px; }
.mk-acc::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--act); vertical-align: .05em; }
.mk-list li { position: relative; padding-left: 16px; }
.mk-list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.mk-who li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr) auto; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.mk-who li span:last-child { color: var(--soft); }
.mk-mail { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: var(--paper); }
.mk-mail span:first-of-type { flex: 1; }
.mk-mail::before, .mk-folder::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--soft);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mk-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='1.5' y='3' width='13' height='10' rx='1.5'/%3E%3Cpath d='M2 4l6 5 6-5'/%3E%3C/svg%3E"); }
.mk-folder { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M1.5 4.2c0-.7.5-1.2 1.2-1.2h3.4l1.5 1.6h5.7c.7 0 1.2.5 1.2 1.2v6.5c0 .7-.5 1.2-1.2 1.2H2.7c-.7 0-1.2-.5-1.2-1.2z'/%3E%3C/svg%3E"); }
.mk-tag { flex: none; padding: 2px 10px; border-radius: var(--r-pill); font-weight: 500; }
.mk-tag.is-draft { background: var(--wash); color: #7A4F08; }
.mk-threads li { display: grid; grid-template-columns: minmax(0, 8em) minmax(0, 1fr) auto; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.mk-threads li.is-on { background: var(--wash); box-shadow: inset 3px 0 var(--act); }
.mk-days { color: var(--soft); font-variant-numeric: tabular-nums; }
.mk-draft { display: grid; gap: 6px; padding: 14px 16px 16px; }
.mk-draft p:last-child { color: var(--soft); }
.mk-draft-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mk-row { display: grid; grid-template-columns: 2.8em 4.4em minmax(0, 1fr) 5.6em; border-bottom: 1px solid var(--line); }
.mk-row i { display: block; height: .55em; margin: .45em 0; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.mk-row span:nth-child(3) i { width: 70%; }
.mk-row.is-new i { background: color-mix(in srgb, #8A5A0B 28%, transparent); }
.mk-row span { padding: 7px 10px; border-left: 1px solid var(--line); }
.mk-row span:first-child { border-left: 0; padding-inline: 4px; text-align: center; color: var(--soft); background: color-mix(in srgb, var(--paper) 60%, var(--sheet)); }
.mk-row span:nth-child(4) { text-align: right; }
.mk-head span { font-weight: var(--w-strong); color: var(--soft); background: color-mix(in srgb, var(--paper) 60%, var(--sheet)); }
.mk-row.is-new span { background: var(--wash); font-weight: 500; }
.mk-row.is-new span:first-child { box-shadow: inset 3px 0 var(--act); color: var(--ink); font-weight: var(--w-strong); }
.mk-empty span { min-height: 2.2em; }
.mk-folder { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--soft); }
.mk-folder b { color: var(--ink); }
.mk-tag.is-warn { background: color-mix(in srgb, var(--s-coral) 18%, var(--sheet)); color: #8E2F2E; }
.mk-tag.is-ok { background: color-mix(in srgb, var(--ok) 14%, var(--sheet)); color: var(--ok); }
.mk-bar .mk-tag { padding-block: 0; }
.mk-kv li { display: grid; grid-template-columns: minmax(0, 12.5em) minmax(0, 1fr); gap: 12px; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.mk-kv li:last-child { border-bottom: 0; }
.mk-kv-short li { grid-template-columns: 4.6em minmax(0, 1fr); }
.mk-kv li span { color: var(--soft); }
.mk .mk-wrap { white-space: normal; color: var(--ink); text-wrap: pretty; }
.mk-letter { padding: 12px 16px 14px; border-top: 1px solid var(--line); color: var(--soft); text-wrap: pretty; }
.mk-lines i { display: block; height: .5em; margin-block: .45em; border-radius: 3px; background: color-mix(in srgb, var(--ink) 11%, transparent); }
.mk-lines i:nth-child(2) { width: 88%; } .mk-lines i:nth-child(3) { width: 54%; }   /* a letter, drawn: its words are in the drawing's label */
.mk-dated li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 4px 0; border-top: 1px solid var(--line); }
.mk-dated li span:last-child { color: var(--soft); font-variant-numeric: tabular-nums; }
.mk-cal li { display: grid; grid-template-columns: 3.4em 4.9em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.mk-cal li span:nth-child(-n+2) { color: var(--soft); }
.mk-foot { display: flex; align-items: center; gap: 10px; padding: 11px 16px; color: var(--soft); }
.mk-foot::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.mk-foot-plain::before { content: none; }
.mk-line { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mk-line-h { display: flex; align-items: center; gap: 8px; }
.mk-badge { display: grid; place-items: center; flex: none; width: 1.5em; height: 1.5em; border-radius: 6px; background: var(--wash); color: #7A4F08; font-size: .85em; }
.mk-line-idea { color: var(--soft); text-wrap: pretty; }
.mk-line-p { color: var(--ink); text-wrap: pretty; }
.mk-line-p i { font-style: normal; color: var(--soft); }
.mk-deck { --brand: #2B3A8C; --brand-2: #F8DED3; --brand-3: #F07271; }   /* one invented organisation's own colours */
.mk-slides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px; background: color-mix(in srgb, var(--paper) 55%, var(--sheet)); }
.sl { position: relative; aspect-ratio: 16 / 9; border-radius: 5px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.sl i { position: absolute; display: block; border-radius: 2px; }
.sl-cover { background: var(--brand); }
.sl-cover i:nth-child(1) { left: 10%; top: 34%; width: 56%; height: 11%; background: var(--white); }
.sl-cover i:nth-child(2) { left: 10%; top: 53%; width: 34%; height: 7%; background: color-mix(in srgb, var(--white) 55%, transparent); }
.sl-cover i:nth-child(3) { right: 8%; bottom: 12%; width: 11%; aspect-ratio: 1; border-radius: 50%; background: var(--brand-3); }
.sl-agenda i:nth-child(1), .sl-text i:nth-child(1), .sl-data i:nth-child(1) { left: 9%; top: 14%; width: 42%; height: 10%; background: var(--brand); }
.sl-agenda i:nth-child(n+2) { left: 9%; width: 58%; height: 6%; background: color-mix(in srgb, var(--brand) 22%, var(--white)); }
.sl-agenda i:nth-child(2) { top: 40%; } .sl-agenda i:nth-child(3) { top: 56%; width: 48%; } .sl-agenda i:nth-child(4) { top: 72%; width: 52%; }
.sl-act { background: var(--brand-2); }
.sl-act i:nth-child(1) { left: 10%; top: 26%; height: 48%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); }
.sl-act i:nth-child(2) { left: 40%; top: 43%; width: 46%; height: 13%; background: var(--brand); }
.sl-act-2 i:nth-child(1) { background: var(--brand-3); }
.sl-photo i:nth-child(1) { left: 0; top: 0; width: 48%; height: 100%; border-radius: 0; background: linear-gradient(160deg, #9DB8A0, #557C68); }
.sl-photo i:nth-child(2) { left: 56%; top: 24%; width: 34%; height: 10%; background: var(--brand); }
.sl-photo i:nth-child(3) { left: 56%; top: 44%; width: 30%; height: 30%; background: repeating-linear-gradient(color-mix(in srgb, var(--brand) 22%, var(--white)) 0 18%, transparent 18% 34%); }
.sl-text i:nth-child(n+2) { left: 9%; width: 82%; height: 5%; background: color-mix(in srgb, var(--brand) 18%, var(--white)); }
.sl-text i:nth-child(2) { top: 40%; } .sl-text i:nth-child(3) { top: 54%; } .sl-text i:nth-child(4) { top: 68%; width: 60%; }
.sl-data i:nth-child(n+2) { bottom: 14%; width: 12%; background: var(--brand); border-radius: 2px 2px 0 0; }
.sl-data i:nth-child(2) { left: 20%; height: 34%; } .sl-data i:nth-child(3) { left: 40%; height: 50%; background: var(--brand-3); } .sl-data i:nth-child(4) { left: 60%; height: 24%; }
.sl-more { display: grid; place-items: center; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--soft); font-weight: var(--w-strong); }
@media (max-width: 599px) { .mk-slides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; } }

.mk-attach { display: flex; align-items: center; gap: 10px; margin: 0 16px 14px; padding: 9px 12px; border-radius: 10px; background: var(--paper); }
.mk-attach::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.2L6 9.8a1.3 1.3 0 0 0 1.8 1.8l5-5a2.6 2.6 0 0 0-3.7-3.7l-5 5a3.9 3.9 0 0 0 5.5 5.5l4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.2L6 9.8a1.3 1.3 0 0 0 1.8 1.8l5-5a2.6 2.6 0 0 0-3.7-3.7l-5 5a3.9 3.9 0 0 0 5.5 5.5l4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.mk-approve { display: grid; gap: 12px; padding: 14px 16px 16px; box-shadow: inset 3px 0 var(--act), var(--shadow-window); }
.mk-ask { font-weight: 500; text-wrap: pretty; }
.mk-btns { display: flex; gap: 8px; }
.mk .mk-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; }
.mk .mk-btn.is-primary { background: var(--act); color: var(--act-ink); box-shadow: none; font-weight: var(--w-strong); }

/* ---------------------------------------------------------------- numbered steps (the who page's «Lo que sí») */
.steps { counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-content: start; column-gap: 18px;
  padding-block: 24px; }
.step::before { content: counter(step); grid-column: 1; grid-row: 1 / span 3; font: var(--w-strong) 1.375rem/1.25 var(--display); color: var(--soft); }
.step > * { grid-column: 2; }
.step h3, .step h4 { margin: 0 0 8px; font: var(--w-strong) var(--fs-h3)/1.3 var(--display); color: var(--ink); text-wrap: balance; }
.step p { color: var(--soft); max-width: 34em; }

/* ---------------------------------------------------------------- how it works: the set-up, step by step (the lab's take B,
   lab/src/proceso-b.*, in copy v6's chain). Stacked by default (a phone, no script, reduced motion): each step's text, then
   its drawing, finished. On a wide screen with motion site.js sets .is-story on .pb: the drawings move into one sticky
   stage beside the steps and advance with the scroll; .is-anim lets each drawing's parts appear or switch on as its step
   goes. Every rule is under .s-how, so nothing reaches the hero's window; the two share only the avatars (.hw-av, .hw-agent,
   .hw-tint-*, .hw-tag). A box only where a boundary means something: a person's link, the reading, the card, the channel. */
.s-how .pb-head { max-width: 42rem; }
.s-how .pb-steps { counter-reset: pb; display: grid; gap: clamp(64px, 9vw, 112px); margin-top: clamp(48px, 6vw, 80px); }
.s-how .pb-step { counter-increment: pb; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 18px; row-gap: 28px; align-content: start; }
.s-how .pb-step::before { content: counter(pb); grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-top: -.25rem;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 1.0625rem/1 var(--display); color: var(--ink);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.s-how .pb-text { grid-column: 2; grid-row: 1; }
.s-how .pb-text h3 { margin: 0 0 8px; font: 460 var(--fs-h3)/1.3 var(--display); letter-spacing: -.005em; }
.s-how .pb-text p { max-width: 34em; color: var(--soft); }
.s-how .pb-scene { grid-column: 1 / -1; min-width: 0; margin: 0; container-type: inline-size; }
@media (min-width: 760px) { .s-how .pb-scene { grid-column: 2; } }
@media (min-width: 1024px) {
  /* stacked on a wide screen (reduced motion, no script): the text beside its drawing */
  .s-how .pb:not(.is-story) .pb-step { grid-template-columns: 2.5rem minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(18px, 2vw, 28px); }
  .s-how .pb:not(.is-story) .pb-scene { grid-column: 3; grid-row: 1; padding-left: clamp(16px, 3vw, 48px); }
}

/* the story: the steps on the left, the stage sticky on the right (its own grid, so it never slides over what follows) */
.s-how .pb-stage { display: none; }
@media (min-width: 1024px) {
  .s-how .pb.is-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 80px); }
  .s-how .pb.is-story .pb-head { grid-column: 1; grid-row: 1; }
  .s-how .pb.is-story .pb-steps { grid-column: 1; grid-row: 2; gap: 0; margin-top: 0; padding-bottom: 38vh; }
  /* everything centres on the middle of the screen under the header, M = 50vh + header/2: a step's text and its number
     hold M while the step runs (sticky over the step's whole height; site.js sets --h, the text's height), then the
     next one rises into it; the stage is centred on M, its drawing centred in it and the rail just above the drawing */
  .s-how .pb.is-story .pb-step { min-height: 78vh; grid-template-rows: minmax(0, 1fr); align-content: stretch; padding-top: 5vh; opacity: .32; transition: opacity .45s var(--ease); }
  .s-how .pb.is-story .pb-step::before, .s-how .pb.is-story .pb-text { position: sticky; top: calc(50vh + var(--header-h) / 2 - var(--h, 0px) / 2); align-self: start; }
  .s-how .pb.is-story .pb-step::before { margin-bottom: max(0px, var(--h, 0px) - 2.25rem); }   /* as tall as its text, so both leave together */
  .s-how .pb.is-story .pb-step.is-on { opacity: 1; }
  .s-how .pb.is-story .pb-text p { transition: opacity .45s var(--ease); }
  .s-how .pb.is-story .pb-step:not(.is-on) .pb-text p { opacity: 0; }   /* one caption to read, the one beside its drawing */
  .s-how .pb.is-story .pb-step.is-on::before { background: var(--act); box-shadow: none; color: var(--act-ink); }
  .s-how .pb.is-story .pb-stage { display: grid; grid-column: 2; grid-row: 1 / span 2; grid-template-rows: auto minmax(0, 1fr); row-gap: clamp(20px, 3.4vh, 40px); align-self: start;
    position: sticky; top: calc(var(--header-h) + max(14px, (100vh - var(--header-h) - 900px) / 2)); height: calc(100vh - var(--header-h) - 28px); max-height: 900px; }
  .s-how .pb.is-story .pb-rail { translate: 0 var(--rail-y, 0px); transition: translate .5s var(--ease); }   /* site.js: down to the drawing that is on */
}
/* the story on a phone (site.js, only where every drawing still fits at 85% or more): one stage sticky under the bar, as
   tall as the screen with its bars shown: the rail as a stepper (the step that is on spelled out, its title; the others
   their number), the step's words and its drawing (site.js puts the words in the drawing's figure); the steps under it
   are only the scroll's length, the last one followed by a stage's height so it finishes before the stage leaves. A
   drawing zoomed down lays out wider (.pb-in is its own container), so it takes its wider, shorter rows. */
@media (max-width: 699px) {
  .s-how .pb.is-story { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .s-how .pb.is-story .pb-steps { grid-area: 2 / 1; gap: 0; margin-top: 0; padding-bottom: calc(100vh - var(--header-h)); padding-bottom: calc(100svh - var(--header-h)); }
  .s-how .pb.is-story .pb-step { min-height: 80vh; min-height: 80svh; }
  .s-how .pb.is-story .pb-step::before { content: none; }
  .s-how .pb.is-story .pb-stage { display: grid; grid-area: 2 / 1; grid-template-rows: auto minmax(0, 1fr); row-gap: 6px; align-self: start; position: sticky;
    top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); padding-block: 2px 8px; }
  .s-how .pb.is-story .pb-rail { display: flex; gap: 6px; }
  .s-how .pb.is-story .pb-rail li { flex: 0 0 22px; transition: flex-grow .4s var(--ease); }
  .s-how .pb.is-story .pb-rail li.is-on { flex-grow: 1; min-width: 0; }
  .s-how .pb.is-story .pb-rail button { min-height: 44px; align-content: center; }
  .s-how .pb.is-story .pb-rail-l { align-items: center; overflow: hidden; font-size: 0; white-space: nowrap; }
  .s-how .pb.is-story .pb-rail em { margin-top: 0; font-size: .75rem; }
  .s-how .pb.is-story .pb-rail .is-on .pb-rail-l { font: 460 var(--fs-h3)/1.2 var(--display); letter-spacing: -.005em; color: var(--ink); }
  .s-how .pb.is-story .pb-slot > .pb-scene { align-self: start; }
  .s-how .pb.is-story .pb-scene > .pb-text { margin-bottom: 12px; }
  .s-how .pb.is-story .pb-scene > .pb-text h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* the stepper says it */
  .s-how .pb.is-story .pb-scene > .pb-text p { font-size: .875rem; line-height: 1.5; }
  .s-how .pb.is-story .pb-in { container-type: inline-size; }
  .s-how .pb.is-fitting * { transition: none !important; }   /* site.js measures the drawings finished, then puts them back */
  .s-how .pb.is-story .pb-group { padding-block: 7px; }   /* 2, the tallest for its words: a little tighter */
  .s-how .pb.is-story .pb-r { min-height: 26px; }
  .s-how .pb.is-story .pb-skip { margin-top: 6px; padding-block: 5px; }
  .s-how .pb.is-story .pb-found { padding: 10px 14px 12px; }
  .s-how .pb.is-story .pb-line { font-size: 1.0625rem; }
  /* a phone's stage: what the step before already printed goes (3: why; 4: what it sees, unchanged, and the personal
     assistants; 1: the account's kind) */
  .s-how .pb.is-story :is(.pb-s3 .pb-asst-why, .pb-s4 .pb-rules > div:first-child, .pb-s4 .pb-also, .pb-s1 .pb-acct-n span) { display: none; }
}
.s-how .pb-slot { display: grid; min-height: 0; }
.s-how .pb-slot > .pb-scene { grid-area: 1 / 1; align-self: safe center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.s-how .pb-slot > .pb-scene.is-on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease) .1s, visibility 0s; }

/* the rail: five steps, the one that is on in the accent, its bar filling as it goes; a click goes there */
.s-how .pb-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.s-how .pb-rail button { display: grid; gap: 9px; width: 100%; padding: 4px 0; border: 0; border-radius: 6px; background: none; color: var(--soft);
  font: 500 var(--fs-label)/1.2 var(--body); text-align: left; cursor: pointer; }
.s-how .pb-rail button:hover, .s-how .pb-rail .is-on button { color: var(--ink); }
.s-how .pb-rail button:focus-visible { outline-offset: 4px; }
.s-how .pb-rail-bar { position: relative; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.s-how .pb-rail-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--f, 0)); }
.s-how .pb-rail-l { display: flex; align-items: flex-start; gap: 7px; }
.s-how .pb-rail em { display: inline-grid; flex: none; place-items: center; width: 20px; height: 20px; margin-top: -2px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 500 .75rem/1 var(--display); font-style: normal; color: var(--ink); transition: background-color .3s var(--ease); }
.s-how .pb-rail .is-on em { background: var(--act); box-shadow: none; color: var(--act-ink); }
.s-how .pb-rail .is-on .pb-rail-bar i { background: var(--act-hover); }
.s-how .pb-rail .is-done em { background: var(--panel); box-shadow: none; }

/* what every drawing shares */
.s-how .pb-sprite { position: absolute; }
.s-how .pb-in { display: grid; gap: 16px; font: 400 .9375rem/1.45 var(--body); color: var(--ink); }
.s-how .pb-i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-how .pb-av { display: inline-grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 600 .875rem/1 var(--display); color: var(--ink); }
.s-how .pb-face { flex: none; width: 26px; height: 26px; border-radius: 50%; }
.s-how .hw-av.pb-mk { flex: none; width: 30px; height: 30px; border-radius: 9px; }
.s-how :is(.pb-msg, .pb-card, .pb-room) { border: 1px solid var(--line); border-radius: var(--r-window); background: var(--sheet); box-shadow: var(--shadow-window); }
.s-how .pb-chan { display: inline-flex; align-items: center; gap: 3px; color: var(--soft); font-weight: 500; white-space: nowrap; }
.s-how .pb-chan .pb-i { width: 13px; height: 13px; }
/* parts that appear as their step goes (only while it runs: the markup itself is the finished state) */
.s-how .pb.is-anim [data-at] { transition: opacity .4s var(--ease), translate .4s var(--ease), color .3s var(--ease), background-color .3s var(--ease), text-decoration-color .3s var(--ease); }
.s-how .pb.is-anim [data-at]:not(.is-in):not(.is-src, .pb-btn, .pb-del, .pb-fold) { opacity: 0; translate: 0 6px; }

/* the product's own pages (steps 1, 3 and 4): a light browser frame, the page's name in the address pill, Bernat's face */
.s-how .pb-win { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-window); background: var(--sheet); box-shadow: var(--shadow-window); }
.s-how .pb-win-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: var(--paper); }
.s-how .pb-win-dots { position: absolute; left: 14px; display: flex; gap: 6px; }
.s-how .pb-win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.s-how .pb-win-url { display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; border-radius: 999px; background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-label); color: var(--soft); }
.s-how .pb-win-url .pb-i { width: 12px; height: 12px; }
.s-how .pb-win-body { padding: 22px 28px 24px; }
.s-how .pb-win-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.s-how .pb-win-brand .pb-face { width: 22px; height: 22px; }
.s-how .pb-win-hi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 16px; font: 400 1.75rem/1.15 var(--display); letter-spacing: -.012em; }
.s-how .pb-win-body > .pb-win-hi:first-child { margin-top: 0; }
.s-how .pb-win-sub { margin-top: 4px; color: var(--soft); }
@media (min-width: 1024px) and (max-height: 820px), (max-width: 699px) {
  .s-how .pb.is-story .pb-win-body { padding-block: 16px; }
  .s-how .pb.is-story .pb-win-hi { margin-top: 10px; font-size: 1.5rem; }
}
@container (max-width: 460px) {
  .s-how .pb-win-dots { display: none; }
  .s-how .pb-win-body { padding: 16px 14px 14px; }
  .s-how .pb-win-hi { font-size: 1.5rem; }
}

/* 1 · what you connect: Pau's private link page; each source's Connect is pressed and turns Connected; Dropbox stays
   off. Under it, a strip for the rest of the team. */
.s-how .pb.is-anim .is-src:not(.is-in) { color: var(--soft); }
.s-how .pb-s1 .pb-acct { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.s-how .pb-s1 .pb-acct-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-width: 0; }
.s-how .pb-s1 .pb-acct-n b { font-weight: 600; }
.s-how .pb-s1 .pb-acct-n span { font-size: var(--fs-small); color: var(--soft); }
.s-how .pb-s1 .pb-acct-s { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: var(--fs-small); color: var(--ok); font-weight: 500; white-space: nowrap; }
.s-how .pb-s1 .pb-acct-s .pb-i { stroke-width: 2; }
.s-how .pb-s1 .pb-rows { margin-top: 10px; }
.s-how .pb-s1 .pb-rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; min-height: 60px; padding-block: 8px;
  border-top: 1px solid var(--line); }
.s-how .pb-s1 .pb-rows li:first-child { border-top: 0; }
.s-how .pb-s1 .pb-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--paper); color: var(--ink); }
.s-how .pb-s1 .pb-tile .pb-i { width: 18px; height: 18px; }
.s-how .pb-s1 .pb-row-t { display: grid; gap: 1px; min-width: 0; }
.s-how .pb-s1 .pb-row-t b { font-weight: 600; }
.s-how .pb-s1 .pb-row-t > span { font-size: var(--fs-small); color: var(--soft); }
.s-how .pb-s1 .pb-row-a { display: flex; justify-content: flex-end; min-width: 7.5rem; }
.s-how .pb-s1 .pb-btn { min-height: 34px; }
.s-how .pb-s1 .pb-on { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; color: var(--ok); font-size: var(--fs-small); font-weight: 600; }
.s-how .pb-s1 .pb-on .pb-i { stroke-width: 2; }
.s-how .pb-s1 .is-src .pb-row-btn, .s-how .pb.is-anim .pb-s1 .is-src:not(.is-in) .pb-on { display: none; }
.s-how .pb.is-anim .pb-s1 .is-src:not(.is-in) .pb-row-btn { display: inline-flex; }
.s-how .pb.is-anim .pb-s1 .is-src:not(.is-in) .pb-row-t b { color: var(--ink); }
.s-how .pb-s1 .pb-rows .is-off { margin-top: 8px; padding-inline: 10px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.s-how .pb-s1 .is-off + li, .s-how .pb-s1 .pb-rows li + .is-off { border-top-style: dashed; }
.s-how .pb-s1 .is-off .pb-tile { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--soft); }
.s-how .pb-s1 .is-off .pb-row-t b { color: var(--soft); font-weight: 500; }
.s-how .pb-s1 .pb-row-off { display: inline-flex; align-items: center; gap: 7px; }
.s-how .pb-s1 .pb-row-off .pb-i { width: 14px; height: 14px; color: var(--seal); }
.s-how .pb-s1 .is-off .pb-btn { color: var(--soft); }
.s-how .pb-s1 .pb-rest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: var(--fs-small); }
.s-how .pb-s1 .pb-rest-l { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: var(--soft); }
.s-how .pb-s1 .pb-rest-l .pb-i { width: 13px; height: 13px; }
.s-how .pb-s1 .pb-rest-p { display: inline-flex; align-items: center; gap: 8px; }
.s-how .pb-s1 .pb-rest-p b { font-weight: 600; }
.s-how .pb-s1 .pb-rest .pb-av { width: 24px; height: 24px; border-radius: 7px; font-size: .8125rem; }
.s-how .pb-s1 .pb-rest .pb-clock { margin-left: 0; }
.s-how .pb-s1 .pb-rest .pb-clock-done { color: var(--soft); }
@media (min-width: 1024px) and (max-height: 820px), (max-width: 699px) {
  .s-how .pb.is-story .pb-s1 .pb-acct { margin-top: 14px; padding-block: 8px; }
  .s-how .pb.is-story .pb-s1 .pb-rows li { min-height: 54px; padding-block: 6px; }
}
@container (max-width: 460px) {
  .s-how .pb-s1 .pb-rows li { grid-template-columns: 36px minmax(0, 1fr) auto; row-gap: 2px; column-gap: 12px; align-items: center; padding-block: 10px; }
  .s-how .pb-s1 .pb-row-t { display: contents; }   /* the name and the state on one line, what it means under both */
  .s-how .pb-s1 .pb-tile { grid-row: 1 / span 2; align-self: start; width: 36px; height: 36px; }
  .s-how .pb-s1 .pb-row-t > span { grid-column: 2 / -1; grid-row: 2; }
  .s-how .pb-s1 .pb-row-a { grid-column: 3; grid-row: 1; min-width: 0; }
  .s-how .pb-s1 .pb-on, .s-how .pb-s1 .pb-btn { min-height: 28px; }
  .s-how .pb-s1 .pb-btn { padding-inline: 12px; }
  .s-how .pb-s1 .pb-acct { flex-wrap: wrap; }
}
@container (max-width: 560px) { .s-how .pb-s1 .pb-rest-l { flex-basis: 100%; } }

/* 2 · what she finds: the reading, what it skips, and the work that keeps coming back */
.s-how .pb-msg { padding: 12px 16px 6px; }
.s-how .pb-msg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.s-how .pb-msg-top b { font-weight: 600; }
.s-how .pb-group { padding: 10px 0; }
.s-how .pb-group + .pb-group { border-top: 1px solid var(--line); }
.s-how .pb-group-h { display: flex; align-items: center; gap: 8px; }
.s-how .pb-group-h b { font-weight: 600; }
.s-how .pb-clock { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: var(--fs-small); }
.s-how .pb-clock-run { display: none; color: var(--soft); }
.s-how .pb-clock-done, .s-how .pb-group-n { display: inline-flex; align-items: center; gap: 5px; }
.s-how :is(.pb-clock-done, .pb-group-n, .pb-stamp) .pb-i { color: var(--ok); stroke-width: 2; }
.s-how .pb.is-anim .pb-clock:not(.is-done) .pb-clock-run { display: inline-flex; }
.s-how .pb.is-anim .pb-clock:not(.is-done) .pb-clock-done { display: none; }
.s-how .pb-readers { margin-top: 6px; }
.s-how .pb-r { display: grid; grid-template-columns: 16px 8.6rem minmax(48px, 6rem) minmax(0, 1fr); align-items: center; column-gap: 10px; min-height: 30px; }
.s-how .pb-r-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-how .pb-bar { position: relative; display: block; height: 4px; overflow: hidden; border-radius: 2px; background: var(--line); }
.s-how .pb-bar i { position: absolute; inset: 0; border-radius: 2px; background: var(--ink); transform-origin: left; transform: scaleX(var(--f, 1)); }
.s-how .pb-r-c { font-size: var(--fs-label); color: var(--soft); }
.s-how .pb-r-c b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-how .pb-real { padding: 8px 0 6px; border-top: 1px solid var(--line); font-size: var(--fs-label); color: var(--soft); }
.s-how .pb.is-anim :is(.pb-r, .pb-mini).is-done .pb-bar i { background: var(--ok); }
.s-how .pb-skip { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 7px 10px; border: 1px dashed var(--line-strong); border-radius: 10px;
  font-size: var(--fs-small); color: var(--soft); }
.s-how .pb-skip .pb-i { color: var(--seal); }
.s-how .pb-group.is-mini { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding-block: 9px; }
.s-how .pb-minis { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.s-how .pb-mini { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); }
.s-how .pb-mini .pb-bar { width: clamp(22px, 6cqi, 48px); }
.s-how .pb-group-n { font-size: var(--fs-label); color: var(--soft); white-space: nowrap; }
.s-how .pb.is-anim .pb-group-n:not(.is-done) .pb-i { opacity: 0; }
.s-how .pb-found { padding: 14px 16px 15px; border-radius: var(--r-window); background: var(--wash); }
.s-how .pb-found-h { display: flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.s-how .pb-line { margin-top: 8px; font: 360 1.1875rem/1.35 var(--display); letter-spacing: -.008em; text-wrap: pretty; }
.s-how .pb-from { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: var(--fs-label); color: var(--soft); }
.s-how .pb-from span { display: inline-flex; align-items: center; gap: 5px; }
.s-how .pb-from .pb-i { width: 13px; height: 13px; }
/* in the story, once the work is found, the reading's rows and counts give way to it (the finished drawing, without
   motion, keeps both) */
.s-how .pb.is-anim.is-story .pb-s2 :is(.pb-readers, .pb-real) { max-height: 14rem; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .3s var(--ease), margin .45s var(--ease), padding .45s var(--ease), border-color .3s var(--ease); }
.s-how .pb.is-anim.is-story .pb-s2:has(.pb-found.is-in) :is(.pb-readers, .pb-real) { max-height: 0; margin-block: 0; padding-block: 0; border-color: transparent; opacity: 0; }
@container (max-width: 520px) {
  .s-how .pb-msg { padding-inline: 12px; }
  .s-how .pb-r { grid-template-columns: 16px minmax(0, 1fr) minmax(40px, 5rem); row-gap: 2px; padding-block: 4px; }
  .s-how .pb-r-c { grid-column: 2 / -1; }
  .s-how .pb-group.is-mini { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .s-how .pb-minis { grid-column: 1 / -1; grid-row: 2; }
  .s-how .pb-skip { align-items: flex-start; }
  .s-how .pb-skip .pb-i { margin-top: 2px; }
}

/* 3 and 4 · the proposal, a page in the same frame: the shared assistant as a card (its name and channel, why it's
   proposed, what it sees, does on its own and asks first), the personal assistants as a quiet row, Approve at the foot;
   in 4, Pau's two changes marked and "edited by Pau" */
.s-how .pb-edited { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: 500 var(--fs-small)/1.3 var(--body); letter-spacing: 0; color: var(--soft); }
.s-how .pb-edited .pb-i { width: 14px; height: 14px; }
.s-how .pb-asst { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; }
.s-how .pb-asst-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.s-how .pb-asst-h .pb-mk { width: 40px; height: 40px; border-radius: 12px; }
.s-how .pb-asst-h p { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
.s-how .pb-asst-h b { font: 460 1.1875rem/1.25 var(--display); }
.s-how .pb-asst-h .pb-chan { margin-left: auto; color: var(--ink); }
.s-how .pb-asst-why { display: flex; align-items: flex-start; gap: 9px; margin: 14px 18px 2px; padding: 9px 12px; border-radius: 10px; background: var(--wash);
  font-size: var(--fs-small); }
.s-how .pb-asst-why .pb-i { margin-top: 2px; }
.s-how .pb-asst-why b { font-weight: 600; }
.s-how .pb-asst .pb-rules { gap: 0; padding: 4px 18px 6px; font-size: 1rem; }
.s-how .pb-asst .pb-rules > div { grid-template-columns: 9.5rem minmax(0, 1fr); padding-block: 13px; }
.s-how .pb-asst .pb-rules > div + div { border-top: 1px solid var(--line); }
.s-how .pb-asst .pb-rules dt .pb-i { width: 16px; height: 16px; }
.s-how .pb-asst .pb-new { margin-inline: -10px; padding-inline: 10px; border-radius: 8px; }
.s-how .pb-asst .pb-rules > .pb-new, .s-how .pb-asst .pb-rules > .pb-new + div { border-top-color: transparent; }
.s-how .pb-also { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-inline: 4px; color: var(--soft); }
.s-how .pb-avs { display: flex; }
.s-how .pb-avs .pb-av { width: 26px; height: 26px; box-shadow: 0 0 0 2px var(--sheet); }
.s-how .pb-avs .pb-av + .pb-av { margin-left: -6px; }
.s-how .pb-win-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 28px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {   /* in the stage, the rows breathe with the screen's height */
  .s-how .pb.is-story .pb-asst { margin-top: clamp(14px, 2.4vh - 6px, 20px); }
  .s-how .pb.is-story .pb-asst .pb-rules > div { padding-block: clamp(8px, 2.2vh - 9px, 13px); }
}
@media (min-width: 1024px) and (max-height: 820px), (max-width: 699px) {
  .s-how .pb.is-story .pb-asst { margin-top: 14px; }
  .s-how .pb.is-story .pb-asst-h { padding-block: 10px; }
  .s-how .pb.is-story .pb-asst-why { margin-top: 10px; padding-block: 7px; }
  .s-how .pb.is-story .pb-asst .pb-rules { font-size: .9375rem; }
  .s-how .pb.is-story .pb-asst .pb-rules > div { padding-block: 9px; }
  .s-how .pb.is-story .pb-also { margin-top: 12px; }
  .s-how .pb.is-story .pb-win-foot { padding-block: 11px; }
}
@container (max-width: 460px) {
  .s-how .pb-asst-h, .s-how .pb-asst .pb-rules { padding-inline: 14px; }
  .s-how .pb-asst-h .pb-chan { margin-left: 0; }   /* under the name when it wraps, not flung to the right */
  .s-how .pb-asst-why { margin-inline: 14px; }
  .s-how .pb-asst .pb-rules > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding-block: 10px; }
  .s-how .pb-win-foot { padding-inline: 14px; }
}

/* 5 · your yes: the approved card, then the channel */
.s-how .pb-card { overflow: hidden; }
.s-how .pb-card-top { display: flex; align-items: center; gap: 11px; padding: 13px 18px; }
.s-how .pb-card-top p { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.s-how .pb-card-top b { font: 460 1.1875rem/1.25 var(--display); }
.s-how .pb-card-sec { padding: 14px 18px; border-block: 1px solid var(--line); }
/* the rules, printed in 3 and 4, fold away once approved (data-at): the finished card is its name and the stamp */
.s-how .pb-fold { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
.s-how .pb-fold-in { min-height: 0; overflow: hidden; }
.s-how .pb.is-anim .pb-fold { transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease), visibility 0s linear .45s; }
.s-how .pb.is-anim .pb-fold:not(.is-in) { grid-template-rows: 1fr; opacity: 1; visibility: visible; translate: none;
  transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease) .1s, visibility 0s; }
.s-how .pb-rules { display: grid; gap: 4px; font-size: var(--fs-small); }
.s-how .pb-rules > div { display: grid; grid-template-columns: 8.4rem minmax(0, 1fr); align-content: start; column-gap: 10px; padding-block: 2px; }
.s-how .pb-rules dt { display: inline-flex; align-items: center; gap: 6px; align-self: start; color: var(--soft); white-space: nowrap; }
.s-how .pb-rules dt .pb-i { width: 14px; height: 14px; }
.s-how .pb-rules dd { margin: 0; }
.s-how .pb-new { margin-inline: -8px; padding-inline: 8px; border-radius: 6px; background: var(--wash); }
.s-how .pb-new dt { color: var(--ink); }
.s-how .pb-del { color: var(--soft); text-decoration: line-through 1.5px var(--seal); }
.s-how .pb.is-anim .pb-del:not(.is-in) { color: inherit; text-decoration-color: transparent; }
.s-how .pb-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; }
.s-how .pb-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-small); font-weight: 500; }
.s-how .pb-btn.is-primary { background: var(--act); color: var(--act-ink); box-shadow: none; font-weight: 600; }
.s-how .pb-btn.is-primary.is-in { scale: .97; }
.s-how .pb-stamp { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 12px 4px 9px; border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px var(--ok); color: var(--ok); font-size: var(--fs-small); font-weight: 600; rotate: -2deg; }
.s-how .pb.is-anim .pb-stamp { transition: opacity .3s var(--ease), scale .35s cubic-bezier(.3, 1.4, .5, 1); }
.s-how .pb.is-anim .pb-stamp:not(.is-in) { scale: 1.6; }
/* and from then on, the channel */
.s-how .pb-room { overflow: hidden; }
.s-how .pb-room-h { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.s-how .pb-room-h b { font-weight: 600; }
.s-how .pb-room-h .pb-i { width: 14px; height: 14px; color: var(--soft); }
.s-how .pb-room-in { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; font-size: var(--fs-small); line-height: 1.35; }
.s-how .pb-room-in b { font-weight: 600; }
.s-how .pb-room-s { color: var(--soft); }
.s-how .pb-compose { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 14px 12px; padding: 6px 10px 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 10px; font-size: var(--fs-small); color: var(--soft); }
.s-how .pb-compose .icon { width: 14px; height: 14px; }
.s-how .pb-mailto { display: inline-flex; justify-self: start; align-items: center; gap: 7px; padding: 5px 13px 5px 11px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-small); color: var(--soft); }
.s-how .pb-mailto .pb-i { width: 14px; height: 14px; }
@container (max-width: 460px) {
  .s-how :is(.pb-card-top, .pb-card-sec, .pb-act) { padding-inline: 14px; }
  .s-how .pb-rules > div { grid-template-columns: minmax(0, 1fr); }
  .s-how .pb-rules { row-gap: 6px; }
}
/* the stage on a short screen, and on a phone: the same drawings, a little tighter (site.js scales what still doesn't fit) */
@media (min-width: 1024px) and (max-height: 820px) {
  .s-how .pb.is-story .pb-in { font-size: .875rem; line-height: 1.4; }
}
@media (min-width: 1024px) and (max-height: 820px), (max-width: 699px) {
  .s-how .pb.is-story .pb-in { gap: 12px; }
  .s-how .pb.is-story :is(.pb-card-top, .pb-card-sec, .pb-act) { padding-block: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-how .pb-step::before, .s-how :is(.pb-rail em, .pb-slot > .pb-scene, [data-at]) { transition: none !important; }
}

/* after the steps: the real case's five times on one hairline (drawn left to right as it comes in, each time as the line
   reaches it: data-reveal); a column with the line down its left below 1100 px. Then what the steps leave out, a tap away. */
.proof { margin-top: clamp(40px, 5vw, 72px); }
.proof-lead { margin-bottom: 28px; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.figures { --dot: 9px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px var(--gap); }
.figures::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--fs-figure) + 14px); height: 1px; background: var(--line-strong); transform-origin: 0 0; }
.figures li { position: relative; display: flex; flex-direction: column; gap: 28px; }
.figures li::after { content: ""; position: absolute; left: 0; top: calc(var(--fs-figure) + 14px - var(--dot) / 2); width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--act); }
.figure { font: var(--w-head) var(--fs-figure)/1 var(--display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure-label { max-width: 22em; font-size: var(--fs-small); color: var(--soft); }
.proof-note { max-width: 48rem; margin-top: 32px; }
@media (max-width: 1099px) {
  .figures { --fs-figure: 2.25rem; grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 26px; }
  .figures::before { left: 4px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; }
  .figures li { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: baseline; gap: 14px; padding-block: 9px; }
  .figures li::after { left: -26px; top: calc(9px + var(--fs-figure) / 2 - var(--dot) / 2); }
}
.proof.is-waiting .figures::before { transition: scale 1.2s var(--ease) .1s; }
.proof.is-waiting .figures li { transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(var(--n) * .22s + .15s); }
.proof.is-waiting:not(.is-shown) .figures::before { scale: 0 1; }
.proof.is-waiting:not(.is-shown) .figures li { opacity: 0; translate: 0 8px; }
.figures li:nth-child(1) { --n: 0; } .figures li:nth-child(2) { --n: 1; } .figures li:nth-child(3) { --n: 2; } .figures li:nth-child(4) { --n: 3; } .figures li:nth-child(5) { --n: 4; }
@media (max-width: 1099px) { .proof.is-waiting:not(.is-shown) .figures::before { scale: 1 0; } }
main > .s-how > .s-inner { padding-bottom: calc(var(--section) + clamp(32px, 4vw, 56px)); }   /* the case, then a pause before the examples */

/* a detail one tap away (what a section keeps for whoever wants it): one quiet line and a «+», the questions' look, smaller */
.more-d { max-width: 46rem; border-block: 1px solid var(--line); }
.more-d + .more-d { border-top: 0; }
.more-d > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding-block: 10px; cursor: pointer;
  list-style: none; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.more-d > summary::-webkit-details-marker { display: none; }
.more-d > summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-right: 6px;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat;
  transition: rotate .25s var(--ease); }
.more-d[open] > summary::after { rotate: 45deg; }
.more-d > :not(summary) { max-width: 40em; font-size: var(--fs-small); color: var(--soft); }
.more-d > :not(summary) + :not(summary) { margin-top: 10px; }
.more-d > :last-child:not(summary) { padding-bottom: 20px; }
.more-d b { color: var(--ink); }

/* ---------------------------------------------------------------- who sees what: the two scopes, each with what it reaches; the rest
   (Bernat, us, the model and where things are kept) a tap away */
.s-trust .s-head { max-width: 48rem; }
.s-trust .s-body { margin-top: clamp(36px, 4.5vw, 64px); }
.scopes { max-width: 68rem; }
.scope { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px clamp(28px, 5vw, 72px); align-items: center; padding-block: 22px;
  border-top: 1px solid var(--line-strong); }
.scope-line { font: var(--w-head) var(--fs-lede)/1.45 var(--display); text-wrap: pretty; }
.scope-src { display: flex; flex-wrap: wrap; gap: 8px; }
/* what each scope reaches, drawn as its sources (an icon and a name each) */
.scope-src span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 5px 9px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--fs-label); white-space: nowrap; }
.scope-src span::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.scope-src .is-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3.5' width='12' height='9' rx='1.6'/%3E%3Cpath d='M2.6 4.6L8 8.6l5.4-4'/%3E%3C/svg%3E"); }
.scope-src .is-cal { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.2' y='3.4' width='11.6' height='10.2' rx='1.6'/%3E%3Cpath d='M2.2 6.8h11.6M5.4 2v2.8M10.6 2v2.8'/%3E%3C/svg%3E"); }
.scope-src .is-drive { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.2 4.6a1.1 1.1 0 0 1 1.1-1.1h3l1.5 1.6h4.9a1.1 1.1 0 0 1 1.1 1.1v6a1.1 1.1 0 0 1-1.1 1.1H3.3a1.1 1.1 0 0 1-1.1-1.1z'/%3E%3C/svg%3E"); }
.scope-src .is-chat { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5L4.5 13.5M11.5 2.5L10 13.5M2.5 6h11M2 10.5h11'/%3E%3C/svg%3E"); }
.scope-src .is-sheet { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.2' y='2.2' width='11.6' height='11.6' rx='1.6'/%3E%3Cpath d='M2.2 6.2h11.6M2.2 10h11.6M6.4 6.2v7.6'/%3E%3C/svg%3E"); }
.more-ds { max-width: 46rem; margin-top: clamp(28px, 3.5vw, 44px); }
.trust-more { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 759px) { .scope { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- when it gets something wrong: the rule, and beside it the card a yes
   is given on (it comes in and waits); then one real mistake, and how the yes, the log and help work, a tap away.
   Not on the home since 6 Nov (Aleix's call): the section is saved in partials/saved-mistakes.src.html; these rules bring it back as it was */
.s-errors .s-inner { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(32px, 4vw, 48px); }
.s-errors .s-head { max-width: 50rem; }
.s-errors .lede { color: var(--ink); }
.errors-help { margin-top: 14px; font-weight: 500; }
.errors-card .mk { max-width: 24rem; }
.errors-case { max-width: 34rem; }
.errors-case h3 { margin-bottom: 8px; }
.errors-case p { color: var(--soft); }
.errors-more { margin-top: 0; }
.errors-card.is-waiting .mk { transition: opacity .5s var(--ease), translate .5s var(--ease); }
.errors-card.is-waiting:not(.is-shown) .mk { opacity: 0; translate: 0 14px; }
.errors-card.is-shown .mk-btn.is-primary { animation: wait-yes 1.8s var(--ease) .9s 3; }   /* it waits for the tap */
@keyframes wait-yes { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--act) 35%, transparent); } }
@media (min-width: 1024px) {
  .s-errors .s-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head card" "case more"; column-gap: clamp(40px, 6vw, 96px); }
  .s-errors .s-head { grid-area: head; }
  .errors-card { grid-area: card; align-self: center; }
  .errors-case { grid-area: case; }
  .errors-more { grid-area: more; align-self: start; }
}

/* ---------------------------------------------------------------- who is behind it: the heron at dawn as a pause, then who we are and for whom */
.s-who > .band { width: 100%; height: clamp(300px, 52vw, 760px); object-fit: cover; object-position: 60% 45%; }
.s-who .s-head { max-width: 48rem; }
.audiences { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px var(--gap); margin-top: clamp(48px, 6vw, 88px); }
.audience { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.audience .paint { width: clamp(124px, 12.5vw, 184px); }
.audience span { max-width: 13em; font-size: var(--fs-small); font-weight: 500; line-height: 1.4; }
.statement { max-width: 28em; margin-top: clamp(64px, 8vw, 120px); font: var(--w-head) clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem)/1.3 var(--display);
  letter-spacing: -.01em; text-wrap: balance; }
.who-more { margin-top: 28px; }
@media (max-width: 759px) {
  .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- the home's glance at the prices: the head, the five plans as small
   cards (a name, one price, how many assistants fit; Equipo drawn with the full line), the set-up under them, the way on */
.s-price .s-head { max-width: 50rem; }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.glance > :last-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } .glance > :last-child { grid-column: auto; } }
@media (min-width: 1240px) { .glance { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.glance-plan { display: flex; flex-direction: column; min-width: 0; padding: 22px 20px 20px; border: 1.5px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--sheet); }
.glance-plan.is-mid { border-color: var(--ink); }
.glance-plan h3 { font: 600 1.0625rem/1.3 var(--body); letter-spacing: 0; }
.glance-price { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; margin: 30px 0 22px; font-variant-numeric: tabular-nums; }
.glance-v { font: var(--w-head) clamp(1.5rem, 1.1rem + 1.4vw, 2.375rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.glance-u { font-size: var(--fs-small); color: var(--soft); }
.glance-from { position: absolute; left: 0; bottom: calc(100% + 4px); font-size: var(--fs-label); line-height: 1.3; color: var(--soft); }
.glance-q { flex-basis: 100%; margin-top: 8px; font-size: var(--fs-label); line-height: 1.3; color: var(--soft); }
.glance-n { display: grid; gap: 1px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 500; }
.glance-n span { font-size: var(--fs-label); font-weight: 400; color: var(--soft); }
@media (max-width: 759px) { .glance-plan { padding: 18px 16px 16px; } }
/* a «+»: what is added to the plan (the set-up, the calls) */
.plus { display: block; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) 50% 50% / 11px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 50% / 1.5px 11px no-repeat; }
.glance-setup { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: var(--fs-small); color: var(--soft); }
.glance-setup .plus { width: 24px; height: 24px; box-shadow: inset 0 0 0 1px var(--line-strong); background-size: 10px 1.5px, 1.5px 10px; }
.glance-setup b { font-weight: 500; color: var(--ink); }
.s-price .fine { margin-top: 12px; }
.glance-more { margin-top: 24px; }

/* ---------------------------------------------------------------- the pricing page: at the top, simply, the five plans side by side
   (a name, who it's usually for, one price, how many assistants fit, a button; Equipo drawn with the full line and its
   button filled; their rows aligned, subgrid), what every plan includes said once, then the two things added: the
   set-up by the people who'll use it, and the calls. Then why these prices, the plan's rules, one example drawn as a
   quote, the set-up step by step, how it starts, questions and the last word. */
.p-price main > .s-plans > .s-inner { padding-top: clamp(44px, 5.5vw, 80px); }
.s-plans .s-head { max-width: 66rem; margin-inline: auto; text-align: center; }
.s-plans .kicker { justify-content: center; }
.s-plans h1 { font-size: clamp(2.25rem, 1.3rem + 2.9vw, 3.375rem); line-height: 1.05; }
.s-plans h1 .then { display: block; }
.s-plans .lede { max-width: 38em; margin: 22px auto 0; }
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: 16px; margin-top: clamp(40px, 4.5vw, 60px); }
.plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: 30px 24px 24px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-card); background: var(--sheet); }
.plan.is-pick { border-color: var(--ink); }
.plan h2 { font: var(--w-head) 1.625rem/1.15 var(--display); letter-spacing: -.015em; }
.plan-who { margin-top: 8px; font-size: var(--fs-small); line-height: 1.45; color: var(--soft); }
.plan-price { align-self: end; margin-top: 24px; line-height: 1; white-space: nowrap; color: var(--ink); }
.plan-amt { font: var(--w-head) 2.375rem/1 var(--display); letter-spacing: -.025em; font-variant-numeric: lining-nums tabular-nums; }
.plan-per { margin-left: 3px; font: 500 var(--fs-small)/1 var(--body); color: var(--soft); }
.plan-from { display: block; margin-bottom: 6px; font: 500 var(--fs-label)/1.2 var(--body); color: var(--soft); }
.plan-n { margin-top: 10px; font-size: var(--fs-small); line-height: 1.4; font-weight: 500; }
.plan-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 24px; padding: 0 16px; border: 1.5px solid var(--ink);
  border-radius: var(--r-pill); color: var(--ink); font: 600 var(--fs-small)/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease); }
.plan-btn:hover { background: var(--ink); color: var(--paper); }
.plan-btn.is-fill { border-color: var(--act); background: var(--act); color: var(--act-ink); }
.plan-btn.is-fill:hover { background: var(--act-hover); }
.plans-all { margin-top: 36px; text-align: center; }
.plans-all-h { font-size: var(--fs-small); line-height: 1.4; color: var(--soft); }
.plans-all ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin-top: 10px; font-size: var(--fs-small); line-height: 1.5; }
.plans-all li { display: flex; align-items: baseline; gap: 9px; }
.plans-all li::before { content: ""; flex: none; width: 13px; height: 13px; translate: 0 2px; background: var(--ok);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.setup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 4vw, 56px); align-items: start; margin-top: clamp(48px, 5vw, 64px);
  padding-top: clamp(32px, 3vw, 40px); border-top: 1px solid var(--line); }
.setup-h { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
.setup-h .plus { grid-column: 1; grid-row: 1 / span 2; }
.setup-h h2 { grid-column: 2; font: var(--w-head) 1.5rem/1.2 var(--display); letter-spacing: -.01em; }
.setup-h p { grid-column: 2; margin-top: 8px; font-size: 1rem; line-height: 1.55; color: var(--soft); }
.setup-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.setup-sizes > div { padding-top: 12px; border-top: 1px solid var(--line-strong); }
.setup-sizes dt { font-size: .875rem; line-height: 1.4; color: var(--soft); }
.setup-sizes dd { margin-top: 6px; font: var(--w-head) 1.375rem/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.setup-sizes dd small { margin-right: 5px; font: 500 var(--fs-label)/1 var(--body); letter-spacing: 0; color: var(--soft); }
.setup-sizes dd.is-word { font-size: 1.125rem; }
.calls { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: center; margin-top: 28px; font-size: 1rem; line-height: 1.55; }
.calls b { font-weight: 600; }
.plans-fine { margin-top: 20px; line-height: 1.5; }
@media (max-width: 1099px) {   /* the five plans scroll in their own box, never the page */
  .plans { grid-template-columns: repeat(5, minmax(14rem, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; }
  .plan { scroll-snap-align: start; }
}
@media (max-width: 1023px) { .setup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) {
  .setup-sizes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .setup-sizes > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 12px; }
  .setup-sizes > div:last-child { border-bottom: 1px solid var(--line-strong); }
  .setup-sizes dd { margin-top: 0; }
}
@media (max-width: 639px) {   /* a phone: the plans one under another, each in the desktop's order (a long name and its price don't share a row) */
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 12px; overflow: visible; padding-bottom: 0; }
  .plan { grid-row: auto; grid-template-rows: none; padding: 22px 20px 20px; }
  .plan-price { margin-top: 18px; }
  .plan-from { display: inline; margin: 0 6px 0 0; }
  .plan-btn { margin-top: 18px; }
}

/* why these prices: one statement, the seedling beside it */
.s-why .s-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px var(--gap); align-items: center; }
.s-why .s-head { max-width: 52rem; }
.s-why h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 3.25rem); }
.s-why h2 .then { margin-top: .12em; }
.s-why .lede { margin-top: 24px; max-width: 34em; }
.why-more { margin-top: 24px; }
.s-why .s-media .paint { width: clamp(120px, 15vw, 220px); }
@media (max-width: 759px) {
  .s-why .s-inner { grid-template-columns: minmax(0, 1fr); }
  .s-why .s-media { order: -1; }
}

/* the plan's rules: three short tiles */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 64px); margin-top: clamp(32px, 4vw, 52px); }
.rules li { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.rules h3 { margin-bottom: 10px; font: 400 var(--fs-h3)/1.25 var(--display); }
.rules p { color: var(--soft); }
@media (max-width: 899px) { .rules { grid-template-columns: minmax(0, 1fr); max-width: 40rem; } }

/* one example: the foundation, drawn as a quote: the set-up's two halves and their sum, then the month */
.s-example .s-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px clamp(40px, 6vw, 96px); align-items: center; }
.example-less { margin-top: 16px; font-size: var(--fs-small); color: var(--soft); }
.mk-quote { box-shadow: none; border: 1px solid var(--line); }
.mk-quote .mk-bar .mk-app { white-space: normal; }   /* the example's name wraps rather than cut */
.mk-quote table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mk-quote :is(th, td) { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; font-weight: 400; }
.mk-quote td { text-align: right; white-space: nowrap; font: 400 1.0625rem/1.3 var(--display); }
.mk-quote .q-parts :is(th, td) { padding-block: 4px; border-bottom: 0; font-size: var(--fs-small); color: var(--soft); }
.mk-quote .q-parts tr:first-child > * { padding-top: 12px; }
.mk-quote .q-parts tr:last-child > * { padding-bottom: 12px; }
.mk-quote .q-sum > * { border-top: 1px solid var(--line-strong); font-weight: 500; }
@media (max-width: 1023px) { .s-example .s-inner { grid-template-columns: minmax(0, 1fr); max-width: 44rem; } }
@media (max-width: 479px) { .mk-quote :is(th, td) { padding-inline: 12px; } }

/* the set-up, step by step: the who page's numbered steps, three across */
.s-steps .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); margin-top: clamp(16px, 2.5vw, 32px); }
@media (max-width: 899px) { .s-steps .steps { grid-template-columns: minmax(0, 1fr); max-width: 40rem; } }

/* ---------------------------------------------------------------- what people ask: a closed accordion, no script */
.s-faq .s-inner { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
.faq details { padding-block: 4px; }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 18px; cursor: pointer; list-style: none;
  font: var(--w-head) var(--fs-h3)/1.35 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; translate: 0 -1px;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat;
  transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--act); }
.faq details p { max-width: 40em; padding: 0 40px 24px 0; color: var(--soft); }
@media (min-width: 1024px) {
  .s-faq .s-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap); }
}

/* ---------------------------------------------------------------- the last word */
.s-cta .s-head { max-width: 52rem; }
.s-cta h2 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: var(--w-display); }
.s-cta .s-body { margin-top: 40px; }
.address { font-weight: 500; color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer .s-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 20px 40px;
  padding-block: 44px 64px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--fs-small); color: var(--soft); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a, .footer-year { font-size: var(--fs-small); color: var(--soft); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-paint { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--soft); }
@media (max-width: 759px) { .site-footer .s-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- who we are */
.p-about .s-hero .s-inner { align-items: end; }
.p-about .s-hero .s-media { justify-self: end; }
.p-about .s-hero .s-media .paint { width: clamp(180px, 24vw, 320px); }
@media (min-width: 960px) {
  .p-about .s-hero .s-inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* A note from Aleix: a letter in one narrow column of the display face, signed with the heron's head; the stone beside it. */
.s-letter .s-inner { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
.letter { max-width: 34em; font: 400 clamp(1.125rem, 1.06rem + .3vw, 1.3125rem)/1.7 var(--display); color: var(--ink); }
.letter p + p { margin-top: 1.1em; }
.letter .signature { display: flex; align-items: center; gap: 14px; margin-top: 1.8em; font-size: var(--fs-body); }
.letter .signature img { width: 44px; height: 44px; }
.sources { max-width: 40em; margin-top: 28px; font-size: var(--fs-small); color: var(--soft); }
.sources a { text-underline-offset: 3px; }
.s-letter .s-media .paint { width: min(100%, 340px); }
@media (min-width: 1024px) {
  .s-letter .s-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .s-letter .s-head { grid-column: 3 / 10; }
  .s-letter .s-body { grid-column: 3 / 10; }
  .s-letter .s-media { grid-column: 10 / 13; grid-row: 2; align-self: center; }
}

/* Who answers for it: three short paragraphs in the letter's column. */
.s-answer .s-body { display: grid; gap: 14px; max-width: 40em; margin-top: 24px; }
.s-answer .s-body p { color: var(--soft); }
.s-answer .answer-lead { font: 360 var(--fs-lede)/1.45 var(--display); color: var(--ink); }
@media (min-width: 1024px) {
  .s-answer .s-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .s-answer :is(.s-head, .s-body) { grid-column: 2 / 9; }
}

/* How it's going: five dates on one line, a coloured dot each (the spectrum, in order); a column on a phone. */
.s-timeline .s-body { margin-top: clamp(40px, 5vw, 72px); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px var(--gap); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--dot); }
.timeline li::after { content: ""; position: absolute; top: 10px; left: 22px; right: calc(var(--gap) * -1 + 6px); height: 1px; background: var(--line-strong); }
.timeline li:last-child::after { content: none; }
.timeline li:nth-child(1) { --dot: var(--s-indigo); }
.timeline li:nth-child(2) { --dot: var(--s-blue); }
.timeline li:nth-child(3) { --dot: var(--s-green); }
.timeline li:nth-child(4) { --dot: var(--s-gold); }
.timeline li:nth-child(5) { --dot: var(--s-coral); }
.timeline :is(time, h3) { display: block; margin-bottom: 8px; font: var(--w-strong) var(--fs-h3)/1.2 var(--display); color: var(--ink); }
.timeline p { font-size: var(--fs-small); color: var(--soft); }
.s-timeline .note { margin-top: clamp(40px, 5vw, 64px); font: var(--w-head) var(--fs-lede)/1.4 var(--display); color: var(--ink); }
@media (max-width: 899px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline li { padding: 0 0 28px 34px; }
  .timeline li::before { top: 7px; }
  .timeline li::after { top: 26px; bottom: 4px; left: 5px; right: auto; width: 1px; height: auto; }
}

/* How we sustain this: four points round a ring drawn with one line, the heron standing in it, clockwise from the lower
   left; on a phone, a numbered list beside a smaller ring. The ring is the list's background: the words carry the meaning. */
.loop { --ring: min(42%, 440px); counter-reset: loop; position: relative; margin-top: clamp(40px, 5vw, 72px);
  background: url(../img/heron-bird-360.webp) no-repeat 50% 55% / calc(var(--ring) * .56) auto;
  background-image: image-set(url(../img/heron-bird-360.webp) 1x, url(../img/heron-bird-720.webp) 2x); }
.loop::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--ring); aspect-ratio: 1; translate: -50% -50%; border: 1.5px solid var(--ink);
  border-radius: 50%; pointer-events: none; }
.loop li { counter-increment: loop; max-width: 17em; font: var(--w-head) clamp(1.125rem, 1rem + .5vw, 1.4375rem)/1.4 var(--display); color: var(--ink); }
.loop li::before { content: counter(loop); display: block; margin-bottom: 8px; font: var(--w-strong) var(--fs-small)/1 var(--body); color: var(--soft); }
@media (min-width: 900px) {
  .loop { display: grid; grid-template-columns: minmax(0, 1fr) min(42%, 440px) minmax(0, 1fr); grid-template-rows: auto auto;
    column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(120px, 16vw, 220px); min-height: min(42vw, 440px); align-content: center; }
  .loop li:nth-child(1) { grid-area: 2 / 1; justify-self: end; text-align: right; }
  .loop li:nth-child(2) { grid-area: 1 / 1; justify-self: end; text-align: right; }
  .loop li:nth-child(3) { grid-area: 1 / 3; }
  .loop li:nth-child(4) { grid-area: 2 / 3; }
}
@media (max-width: 899px) {
  .loop { --ring: 104px; padding-left: 128px; background-position: 26px 25px; background-size: 52px auto; min-height: 104px; }
  .loop::before { left: 0; top: 0; translate: none; }
  .loop li + li { margin-top: 20px; }
}

/* What we'll never do: five big lines, the tagline; then what we will, numbered. */
.s-never .s-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap); align-items: end; }
.s-never .s-media { grid-column: 2; grid-row: 1; }
.s-never .s-media .paint { width: clamp(120px, 15vw, 240px); }
.s-never .s-body { grid-column: 1 / -1; }
@media (max-width: 759px) {
  .s-never .s-inner { grid-template-columns: minmax(0, 1fr); }
  .s-never .s-media { grid-column: 1; margin-bottom: 20px; }
  .s-never .s-head { grid-row: 2; }
}
.nevers li { font: var(--w-head) clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1.25 var(--display); letter-spacing: -.01em; padding-block: 16px; }
.tagline { margin-top: 28px; font-weight: var(--w-strong); color: var(--ink); }
.s-never .s-body { margin-top: clamp(32px, 4vw, 56px); }
.s-never .tagline { margin-top: 40px; font-size: var(--fs-lede); }
.yes { margin-top: clamp(72px, 9vw, 128px); }
.yes > h3 { font-size: var(--fs-h2); line-height: var(--lh-head); font-weight: var(--w-head); letter-spacing: var(--track-display); margin-bottom: clamp(24px, 3vw, 40px); }
.yes .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
@media (max-width: 759px) { .yes .steps { grid-template-columns: minmax(0, 1fr); } }

/* The heron at dawn: a wide band, its caption under it on the paper. */
main > .s-forest { padding-block: 0 var(--section); }
.s-forest .band { width: 100%; height: clamp(260px, 36vw, 540px); object-fit: cover; object-position: 50% 50%; }
.s-forest figcaption { margin-top: 20px; max-width: var(--wrap); font-size: var(--fs-small); color: var(--soft); }

/* ---------------------------------------------------------------- privacy: a text page in the letter's column, the title at a
   heading's size, short sections under small headings with a hairline above each */
main > .s-legal > .s-inner { padding-block: clamp(32px, 6vw, 72px) var(--section); }
.p-privacy h1 { font-size: var(--fs-h2); line-height: var(--lh-head); }
.s-legal .lede { margin-top: 20px; }
.s-legal .updated { margin-top: 14px; font-size: var(--fs-small); color: var(--soft); }
.legal { max-width: 40em; margin-top: clamp(36px, 4.5vw, 56px); }
.legal h2 { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font: var(--w-head) var(--fs-h3)/1.3 var(--display); letter-spacing: -.005em; }
.legal h2:first-child { margin-top: 0; }
.legal :is(p, ul) { margin-top: 10px; }
.legal ul { padding-left: 1.25em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.legal .nif { white-space: nowrap; }   /* the tax id never breaks at its hyphen */
@media (min-width: 1024px) {
  .s-legal .s-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .s-legal :is(.s-head, .s-body) { grid-column: 2 / 9; }
}

/* ---------------------------------------------------------------- paintings */
.paint { height: auto; }
.is-paper-backed { mix-blend-mode: multiply; }
.paint-todo circle { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.paint-todo text { font: 500 13px var(--body); fill: var(--soft); text-anchor: middle; dominant-baseline: central; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .icon, .faq summary::after, .more-d > summary::after { transition: none; }
}

/* Read by screen readers, not shown (a table caption the heading above already says). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
