/* ==========================================================================
   The home page after AMPLIFY (templates/marketing/partials/section_*.html):
   WIZO AGENT, WIZO SPACE, ABOUT, FAQ and the final call.

   The same white world as the chapters: a lot of air, one statement per
   section in spaced capitals, a few lines of text, hairlines. The objects are
   glass and ceramic; the only colours are the light's (red, violet, blue, a
   little gold).

   With a script and motion welcome, blocks rise gently as they arrive
   (html.has-reveal, static/js/sections.js); without, everything is simply there.
   ========================================================================== */

.page-opening {
  --focus: #5a4fd8;
  --line-cool: rgb(14 17 20 / 0.09);
  --line-cool-strong: rgb(14 17 20 / 0.18);
  --violet: #7b61e0;
  --gold: #c99a2e;
}
.page-opening :focus-visible { outline-color: var(--focus); }
.page-opening .site-footer { --muted: var(--muted-cool); --fg: var(--ink-cool); }
/* Past the chapters, words scroll under the top bar: a veil of the white wall keeps the name clear
   (static/js/sections.js adds .is-veiled once the first section reaches the bar). */
.page-opening .topbar::before {
  content: ""; position: absolute; inset: 0 0 -1.8rem; z-index: -1; pointer-events: none;
  background: linear-gradient(rgb(253 253 252 / 0.97) 42%, rgb(253 253 252 / 0.7) 70%, rgb(253 253 252 / 0));
  opacity: 0; transition: opacity 0.5s ease;
}
.page-opening .topbar.is-veiled:not([data-open="true"])::before { opacity: 1; }


/* Every section is a positioned box, like the opening and the chapters: the white wall (.prism) is
   positioned too, and anything that is not would be painted under it. */
.agent, .space, .about, .faq, .finale { position: relative; }

/* Shared: a label, a statement, a few lines ------------------------------------ */
.section-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-cool); }
.section-statement {
  margin-top: 1.5rem; max-width: 21ch;
  font-size: clamp(1.6rem, 3vw, 3.2rem); font-weight: 400; line-height: 1.12;
  letter-spacing: 0.04em; text-transform: uppercase; text-wrap: balance;
}
.section-lines { display: grid; gap: 0.35em; margin-top: 1.9rem; max-width: 44ch; font-size: clamp(1.05rem, 1.3vw, 1.28rem); line-height: 1.5; letter-spacing: -0.005em; color: #3b4047; }
.section-lines p:first-child { color: var(--ink-cool); }

/* Arriving blocks */
html.has-reveal [data-reveal] { opacity: 0; translate: 0 1.6rem; transition: opacity 1.2s ease, translate 1.5s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
html.has-reveal [data-reveal].is-in { opacity: 1; translate: 0 0; }


/* WIZO AGENT ------------------------------------------------------------------------
   The Wizo robot floats above a black ceramic base whose ring glows under it. It looks at
   the pointer, blinks and smiles when touched (static/js/robot.js); a thin light on the base
   breathes. Everything is measured in --ar. */
.agent {
  --ar: clamp(84px, min(9.5vw, 14svh), 150px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(2rem, 5vw, 6rem);
  max-width: 1320px; margin-inline: auto; padding: clamp(8rem, 26svh, 16rem) var(--gutter) clamp(6rem, 16svh, 10rem);
}
.agent__object { position: relative; justify-self: center; width: calc(var(--ar) * 4); height: calc(var(--ar) * 4.2); }
/* The shadow the base casts on the floor. */
.agent__object::before {
  content: ""; position: absolute; left: calc(var(--ar) * 0.35); top: calc(var(--ar) * 3.72); width: calc(var(--ar) * 3.3); height: calc(var(--ar) * 0.5);
  background: radial-gradient(closest-side, rgb(14 17 20 / 0.34), rgb(14 17 20 / 0.12) 55%, rgb(14 17 20 / 0));
}
/* The base's top face (black ceramic, a soft sheen where the light falls) and the ring in it. */
.agent__top,
.agent__base::before {
  position: absolute; left: 0; top: 0; width: calc(var(--ar) * 2.3); height: calc(var(--ar) * 0.48); border-radius: 50%;
  background:
    radial-gradient(60% 70% at 34% 30%, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 70%),
    radial-gradient(120% 140% at 40% 20%, #34373c 0%, #1b1d20 45%, #0d0e10 100%);
}
.agent__top { left: calc(var(--ar) * 0.85); top: calc(var(--ar) * 2.66); z-index: 1; }
/* The ring: brushed metal around a disc of light, the field the robot floats on. */
.agent__top::after,
.agent__ring {
  content: ""; position: absolute; left: calc(var(--ar) * 0.25); top: calc(var(--ar) * 0.09); width: calc(var(--ar) * 1.8); height: calc(var(--ar) * 0.3);
  border-radius: 50%; box-sizing: border-box; border: calc(var(--ar) * 0.04) solid transparent;
  background:
    radial-gradient(closest-side, rgb(226 218 255 / 0.95), rgb(149 128 255 / 0.7) 42%, rgb(90 130 230 / 0.4) 72%, rgb(16 18 26 / 0.95)) padding-box,
    conic-gradient(from 200deg, #f4f5f6, #9a9da2 18%, #dfe1e4 32%, #7d8085 50%, #eceef0 66%, #a4a7ab 82%, #f4f5f6) border-box;
}
/* The robot, floating; its shadow on the ring breathes with it. */
.agent__robot {
  position: absolute; z-index: 4; left: calc(var(--ar) * 0.8); top: calc(var(--ar) * 0.46); width: calc(var(--ar) * 2.4); height: calc(var(--ar) * 2.4);
  animation: agent-float 4.8s ease-in-out infinite;
}
.agent__robot .robot { width: 100%; height: 100%; filter: drop-shadow(0 calc(var(--ar) * 0.12) calc(var(--ar) * 0.14) rgb(14 17 20 / 0.16)); }
.agent__shadow {
  position: absolute; z-index: 3; left: calc(var(--ar) * 1.42); top: calc(var(--ar) * 2.8); width: calc(var(--ar) * 1.16); height: calc(var(--ar) * 0.2);
  border-radius: 50%; background: radial-gradient(closest-side, rgb(20 16 60 / 0.55), rgb(20 16 60 / 0));
  animation: agent-shadow 4.8s ease-in-out infinite;
}
@keyframes agent-float { 50% { transform: translateY(calc(var(--ar) * -0.08)); } }
@keyframes agent-shadow { 50% { transform: scale(0.84); opacity: 0.7; } }
.agent__base {
  position: absolute; left: calc(var(--ar) * 0.85); top: calc(var(--ar) * 2.66); z-index: 3;
  width: calc(var(--ar) * 2.3); height: calc(var(--ar) * 1.33);
  border-radius: 50% / calc(var(--ar) * 0.24);
  clip-path: inset(calc(var(--ar) * 0.24) 0 0 0);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.05) 20%, rgb(0 0 0 / 0) 55%, rgb(0 0 0 / 0.25)),
    linear-gradient(90deg, #060607 0%, #16181a 14%, #2a2d31 36%, #222528 50%, #1a1c1f 64%, #0c0d0e 88%, #050506 100%),
    #141517;
}
.agent__base::before { content: ""; box-shadow: inset 0 -1.5px 1px rgb(255 255 255 / 0.22); }
.agent__ring { z-index: 1; }
/* The light on the base: a thin line of the three colours. It breathes; it brightens when touched. */
.agent__light {
  position: absolute; z-index: 1; left: 50%; top: calc(var(--ar) * 0.78); width: calc(var(--ar) * 0.5); height: 2px; margin-left: calc(var(--ar) * -0.25); border-radius: 1px;
  background: linear-gradient(90deg, #e0707c, #8c6bd8 50%, #5a82e6);
  box-shadow: 0 0 8px 1px rgb(140 107 216 / 0.6);
  animation: agent-breathe 4.2s ease-in-out infinite;
}
@keyframes agent-breathe { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.agent.is-touched .agent__light { animation: agent-flash 1.1s ease-out; }
@keyframes agent-flash { 0% { opacity: 1; box-shadow: 0 0 16px 5px rgb(140 107 216 / 0.8); } 100% { opacity: 0.6; } }
.agent__object { transition: transform 0.5s var(--sheet-ease); }
.agent.is-pressed .agent__object { transform: scale(0.985); transition-duration: 0.12s; }
.agent__touch {
  position: absolute; z-index: 5; left: calc(var(--ar) * 0.8); top: calc(var(--ar) * 0.4); width: calc(var(--ar) * 2.4); height: calc(var(--ar) * 3.2);
  border-radius: calc(var(--ar) * 0.9); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.agent__touch:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }

/* What it replaces, one line a little apart from the others. */
.agent__promise {
  position: relative; max-width: 42ch; margin-top: 1.6rem; padding-left: 1.2rem;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.5; color: var(--ink-cool);
}
.agent__promise::before { content: ""; position: absolute; left: 0; top: 0.3em; bottom: 0.3em; width: 2px; border-radius: 1px; background: linear-gradient(#e0707c, #8c6bd8 50%, #5a82e6); }

.agent__abilities { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 2.2rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-cool); }
.agent__abilities span { display: inline-flex; align-items: center; gap: 0.6rem; }
.agent__abilities span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: linear-gradient(135deg, #e0707c, #8c6bd8 50%, #5a82e6); }

/* TALK: a small capsule of glass with the agent's light. */
.talk {
  display: inline-flex; align-items: center; gap: 1rem; min-height: 3.4rem; margin-top: 2.6rem; padding: 0 1.5rem 0 1.3rem; border-radius: 99px;
  color: var(--ink-cool); background: rgb(253 253 252 / 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: var(--glass-edge), 0 0 0 1px rgb(14 17 20 / 0.08), 0 14px 30px -16px rgb(14 17 20 / 0.35);
  transition: transform 0.5s var(--sheet-ease), box-shadow 0.5s ease;
}
.talk:hover { transform: translateY(-1px); box-shadow: var(--glass-edge), 0 0 0 1px rgb(14 17 20 / 0.14), 0 18px 36px -16px rgb(14 17 20 / 0.4); }
.talk:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.talk__label { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; }
.talk .robot { width: 26px; height: 26px; margin: -4px -0.35rem -4px -0.4rem; flex: none; }
.talk__line { width: 1.4rem; height: 1px; background: currentColor; opacity: 0.6; transform-origin: left; transition: transform 0.8s var(--ease-out), opacity 0.4s ease; }
.talk:hover .talk__line { transform: scaleX(1.8); opacity: 1; }


/* WIZO SPACE ---------------------------------------------------------------------------
   A demonstration of the client space: a pane of frosted glass on the wall. Without the
   script every panel shows, one under the other. */
.space { max-width: 1320px; margin-inline: auto; padding: clamp(7rem, 20svh, 13rem) var(--gutter) clamp(3rem, 8svh, 5rem); }
.space__head { padding-bottom: clamp(3rem, 8svh, 5rem); }
.space__note { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 1.2rem; font-size: 0.8rem; color: var(--muted-cool); }
.space__note .visual__label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-cool); }

.board {
  position: relative; border-radius: 28px; overflow: hidden;
  background: rgb(255 255 255 / 0.68);
  box-shadow: var(--glass-edge), 0 0 0 1px rgb(14 17 20 / 0.06), 0 50px 90px -50px rgb(14 17 20 / 0.32), 0 14px 30px -18px rgb(14 17 20 / 0.12);
}
.board__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding: 1.1rem 1.6rem; border-bottom: 1px solid var(--line-cool); }
.board__mark { position: relative; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid var(--ink-cool); }
.board__mark i { position: absolute; left: 50%; top: -18%; bottom: -18%; width: 1.5px; margin-left: -0.75px; background: var(--ink-cool); }
.board__brand { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }
.board__project { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--muted-cool); }
.board__badge {
  margin-left: auto; padding: 0.3rem 0.55rem 0.3rem 0.7rem; border-radius: 99px; border: 1px solid rgb(90 79 216 / 0.35);
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #4a3fc0;
}
.board__tabs { display: flex; gap: 0.2rem; padding: 0 1rem; border-bottom: 1px solid var(--line-cool); overflow-x: auto; scrollbar-width: none; }
.board__tabs::-webkit-scrollbar { display: none; }
.board__tab {
  flex: none; min-height: 3.3rem; padding: 0 calc(0.9rem - 0.2em) 0 0.9rem;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-cool);
  box-shadow: inset 0 0 0 var(--ink-cool); transition: color 0.3s ease, box-shadow 0.4s var(--ease-out);
}
.board__tab:hover { color: var(--ink-cool); }
.board__tab[aria-selected="true"] { color: var(--ink-cool); box-shadow: inset 0 -2px 0 var(--ink-cool); }
.board__tab:focus-visible { outline-offset: -4px; }
.board__panel { padding: clamp(1.6rem, 3vw, 2.8rem); }
.board__panel + .board__panel { border-top: 1px solid var(--line-cool); }   /* the edition without script: one under the other */
.board.is-live .board__panel { min-height: 25rem; border-top: 0; animation: panel-in 0.6s var(--sheet-ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(0.5rem); } }
.board__caption { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-cool); }

/* PROJECT */
.board__panel--project { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); }
.board__big { margin-top: 1rem; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 400; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; }
.board__milestone { margin-top: 1.2rem; font-size: 1.05rem; }
.board__pending { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.4rem; padding: 0.5rem 0.9rem; border-radius: 99px; background: rgb(201 154 46 / 0.1); font-size: 0.82rem; color: #6b5212; }
.board__pending i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgb(201 154 46 / 0.4); animation: pending 2.4s ease-out infinite; }
@keyframes pending { 0% { box-shadow: 0 0 0 0 rgb(201 154 46 / 0.45); } 80%, 100% { box-shadow: 0 0 0 8px rgb(201 154 46 / 0); } }
.steps { position: relative; display: grid; }
.steps::before { content: ""; position: absolute; left: calc(0.45rem - 0.5px); top: 1.6rem; bottom: 1.6rem; width: 1px; background: var(--line-cool-strong); }
.steps__item { position: relative; }
.steps__button { display: grid; grid-template-columns: 0.9rem 2.4rem 1fr; align-items: center; gap: 0.9rem; width: 100%; min-height: 3.2rem; text-align: left; }
.steps__dot { position: relative; z-index: 1; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 1.5px solid var(--line-cool-strong); background: #fbfbfa; transition: border-color 0.3s ease; }
.is-done .steps__dot { border-color: var(--ink-cool); background: var(--ink-cool); box-shadow: inset 0 0 0 2.5px #fbfbfa; }
.is-current .steps__dot { border-color: var(--violet); box-shadow: 0 0 0 4px rgb(123 97 224 / 0.14); }
.steps__number { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--muted-cool); font-variant-numeric: tabular-nums; }
.steps__name { font-size: 1.05rem; transition: translate 0.4s var(--ease-out); }
.steps__button:hover .steps__name { translate: 0.2rem 0; }
.steps__button[aria-expanded="true"] .steps__name { font-weight: 550; }
.is-current .steps__name::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 0.7rem; border-radius: 50%; background: var(--violet); vertical-align: middle; }
.steps__text { padding: 0 0 1.1rem calc(0.9rem + 2.4rem + 1.8rem); max-width: 46ch; font-size: 0.95rem; line-height: 1.55; color: #3b4047; animation: panel-in 0.5s var(--sheet-ease) both; }

/* PERFORMANCE: three figures set like the columns of a financial page; the chosen one is inked. */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.6rem); }
.figure {
  display: grid; gap: 0.5rem; justify-items: start; padding: 1.1rem 0 0.4rem; text-align: left;
  border-top: 1px solid var(--line-cool-strong); box-shadow: inset 0 0 0 var(--ink-cool);
  transition: border-color 0.3s ease, box-shadow 0.5s var(--ease-out);
}
.figure:hover { border-top-color: rgb(14 17 20 / 0.45); }
.figure[aria-pressed="true"] { border-top-color: var(--ink-cool); box-shadow: inset 0 2px 0 var(--ink-cool); }
.figure:focus-visible { outline-offset: 4px; }
.figure__name { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-cool); }
.figure__value { font-size: clamp(1.9rem, 3.4vw, 3.1rem); font-weight: 400; line-height: 1; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; color: rgb(14 17 20 / 0.4); transition: color 0.4s ease; }
.figure[aria-pressed="true"] .figure__value, .figure:hover .figure__value { color: var(--ink-cool); }
.figure__change { font-size: 0.8rem; color: #2f7a55; font-variant-numeric: tabular-nums; }
.figure__change::before { content: "↑ "; }
.chart { position: relative; margin-top: 1.8rem; }
.chart__svg { width: 100%; height: clamp(10rem, 22svh, 14rem); overflow: visible; }
.chart__grid line { stroke: var(--line-cool); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__area { fill: url(#chart-fill); }
.chart__line { fill: none; stroke: url(#chart-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__points { position: absolute; inset: 0 0 auto; height: clamp(10rem, 22svh, 14rem); pointer-events: none; }
.chart__guide { position: absolute; top: 0; bottom: 0; width: 1px; background: rgb(14 17 20 / 0.14); opacity: 0; transition: opacity 0.2s ease; }
.chart__dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); opacity: 0; transition: opacity 0.2s ease; }
.chart__tip {
  position: absolute; transform: translate(-50%, calc(-100% - 12px)); padding: 0.4rem 0.6rem; border-radius: 8px; white-space: nowrap;
  background: var(--ink-cool); color: var(--white); font-size: 0.74rem; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 0.2s ease;
}
.chart.is-pointing .chart__guide, .chart.is-pointing .chart__dot, .chart.is-pointing .chart__tip { opacity: 1; }
.chart__caption { margin-top: 0.9rem; font-size: 0.74rem; color: var(--muted-cool); }

/* REQUESTS and NEXT */
.rows { border-top: 1px solid var(--line-cool); }
.rows__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; min-height: 4rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-cool); }
.rows__item--open { display: block; padding: 0; }
.rows__name { font-size: 1.05rem; }
.status { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.38rem 0.75rem 0.38rem 0.65rem; border-radius: 99px; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--progress { color: #4a3fc0; background: rgb(123 97 224 / 0.1); }
.status--done { color: var(--ink-cool); background: rgb(14 17 20 / 0.06); }
.status--approve { color: #6b5212; background: rgb(201 154 46 / 0.13); }
.status--approve::before { background: var(--gold); }
.rows__button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 4rem; padding: 0.9rem 0; text-align: left; }
.rows__sign { position: relative; flex: none; width: 1rem; height: 1rem; }
.rows__sign::before, .rows__sign::after, .faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 1px; background: currentColor;
  transition: transform 0.5s var(--sheet-ease), opacity 0.4s ease;
}
.rows__sign::after, .faq__sign::after { transform: rotate(90deg); }
.rows__button[aria-expanded="true"] .rows__sign::after { transform: rotate(0deg); opacity: 0; }
.rows__detail { display: grid; justify-items: start; gap: 0.7rem; padding: 0 0 1.4rem; max-width: 52ch; animation: panel-in 0.5s var(--sheet-ease) both; }
.rows__detail p { font-size: 0.97rem; line-height: 1.55; color: #3b4047; }
.rows__meta { font-size: 0.62rem !important; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-cool) !important; }
.rows__ask {
  min-height: 2.5rem; margin-top: 0.3rem; padding: 0 calc(1.1rem - 0.2em) 0 1.1rem; border-radius: 99px; border: 1px solid rgb(14 17 20 / 0.2);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.rows__ask:hover { border-color: var(--ink-cool); }
.rows__ask:disabled { border-color: transparent; background: rgb(123 97 224 / 0.1); color: #4a3fc0; cursor: default; }

/* ACTIVITY */
.log { position: relative; display: grid; }
.log__item { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; align-items: baseline; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-cool); }
.log__when { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-cool); }
.log__name { font-size: 1.05rem; }


/* ABOUT ------------------------------------------------------------------------------------ */
.about { max-width: 1320px; margin-inline: auto; padding: clamp(8rem, 22svh, 14rem) var(--gutter) clamp(3rem, 8svh, 5rem); }
.about__head .section-statement { max-width: 24ch; }


/* FAQ ---------------------------------------------------------------------------------------- */
.faq { max-width: 1080px; margin-inline: auto; padding: clamp(7rem, 20svh, 13rem) var(--gutter) clamp(3rem, 8svh, 5rem); }
.faq__list { margin-top: clamp(2.2rem, 6svh, 3.6rem); border-top: 1px solid var(--line-cool-strong); }
.faq__item { border-bottom: 1px solid var(--line-cool); }
.faq__question {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 1.2rem; align-items: baseline; gap: 1rem;
  padding: clamp(1.3rem, 3svh, 1.8rem) 0; cursor: pointer; list-style: none;
  font-size: clamp(1.12rem, 1.75vw, 1.6rem); line-height: 1.3; letter-spacing: -0.012em;
  -webkit-tap-highlight-color: transparent;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }
.faq__question:focus-visible { outline-offset: 4px; border-radius: 4px; }
.faq__number { font-size: 0.66rem; letter-spacing: 0.22em; color: var(--muted-cool); font-variant-numeric: tabular-nums; }
.faq__text { transition: translate 0.5s var(--ease-out); }
.faq__question:hover .faq__text { translate: 0.3rem 0; }
.faq__sign { position: relative; align-self: center; width: 1.1rem; height: 1.1rem; }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); opacity: 0; }
.faq__answer { overflow: hidden; }
.faq__answer p { max-width: 58ch; padding: 0 2.2rem clamp(1.6rem, 4svh, 2.4rem) 4.4rem; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: #3b4047; }


/* THE FINAL CALL --------------------------------------------------------------------------------
   The page's conclusion: the light on the wall grows a little while it is on screen. */
.finale {
  display: grid; justify-items: center; align-content: center; min-height: 100svh; text-align: center;
  padding: clamp(7rem, 18svh, 12rem) var(--gutter);
}
.finale__statement { max-width: 19ch; font-size: clamp(2rem, 4.6vw, 5rem); font-weight: 400; line-height: 1.08; letter-spacing: 0.04em; text-transform: uppercase; text-wrap: balance; }
.finale__line { margin-top: 1.8rem; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: #3b4047; }
.finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: clamp(2.4rem, 6svh, 3.4rem); }
.beam { transition: opacity 2.6s var(--ease-in-out); }
.prism.is-bright .beam { opacity: min(1, calc(var(--o) * 1.7)); }


/* Tablets and phones ---------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .agent { grid-template-columns: 1fr; gap: 3rem; }
  .board__panel--project { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .agent { --ar: min(21vw, 12svh); padding-top: clamp(6rem, 18svh, 9rem); }
  .agent__words { text-align: left; }
  .section-statement { font-size: clamp(1.45rem, 6.6vw, 2rem); letter-spacing: 0.03em; }
  .board { border-radius: 22px; margin-inline: calc(var(--gutter) * -0.4); }
  .board__bar { padding: 1rem 1.2rem; }
  .board__tabs { padding: 0 0.6rem; }
  .board__panel { padding: 1.4rem 1.2rem 1.6rem; }
  .board.is-live .board__panel { min-height: 0; }
  .figures { gap: 0.5rem; }
  .figure__name { font-size: 0.54rem; letter-spacing: 0.14em; }
  .figure__value { font-size: 1.55rem; }
  .steps__text { padding-left: calc(0.9rem + 1.8rem + 1.8rem); }
  .steps__button { grid-template-columns: 0.9rem 1.8rem 1fr; }
  .log__item { grid-template-columns: 1fr; gap: 0.3rem; }
  .faq__question { grid-template-columns: 2.2rem minmax(0, 1fr) 1rem; gap: 0.7rem; }
  .faq__answer p { padding: 0 0 1.6rem 2.9rem; }
  .finale__actions { flex-direction: column; align-items: stretch; width: min(100%, 22rem); }
}

/* Reduced motion: nothing drifts, pulses or rises. */
@media (prefers-reduced-motion: reduce) {
  .agent__light, .board__pending i, .agent__robot, .agent__shadow { animation: none; }
  .beam { transition: none; }
}
