/* Rock IT site. Handwriting only in the hero (morph.css / morph.js): the note is the hero's exaggeration.
   After the hero: the customer's words as plain typed text with a grey rule, our analysis as blueprint line,
   the delivered result as filled crisp UI. See docs/SITE-CONCEPT.md. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --blue: #1064af;
  --blue-hover: #0d5596;
  --ink: #0e2c4f;
  --ink-2: #4a6582;
  --rule: #d8e4f0;
  --wash: #f4f8fc;
  --ok: #1f8a5b;
  --err: #b42318;
  --aqua: #2ac5df; /* decoration only, never text on white */

  --paper: #fdfdfb; /* --paper, --grid-line, --pencil, --karo: the hero note (morph.css) */
  --grid-line: rgb(16 100 175 / 0.14);
  --pencil: #3b3e46;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --karo: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  --wl: rgb(16 100 175 / 0.55); /* wireframe line */
  --wf: rgb(16 100 175 / 0.13); /* wireframe fill */

  --f-text: "Barlow", system-ui, sans-serif;
  --f-disp: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-ui: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(16px, 4vw, 64px);
  --max: 1360px;
  --gap: clamp(64px, 7.5vw, 112px); /* between sections */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.125rem/1.5 var(--f-text); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 40; background: #fff; padding: 8px 14px; }
.skip:focus { left: 16px; }
code { font-family: var(--f-mono); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--blue); color: #fff;
  font: 600 1.0625rem/1 var(--f-text); letter-spacing: 0.01em;
  text-decoration: none; border-radius: 3px;
}
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.btn--line { background: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.7); }
.btn--line:hover { background: rgb(255 255 255 / 0.1); }

/* The action pair used everywhere: one button plus one plain secondary link (mail, or booking on the go-live page) */
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin: 28px 0 0; }
.ctas__alt { font-weight: 600; font-size: 1.0625rem; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }

/* A blueprint tag: the label that sits on an analysis line (same look as the hero's labels) */
.tag {
  display: inline-block; padding: 1px 6px 0;
  font: 500 0.75rem/1.35 var(--f-mono); letter-spacing: 0.01em; color: var(--blue);
  background: #fff; border: 1px solid var(--wl); border-radius: 2px; white-space: nowrap;
}

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: #fff; transition: box-shadow 0.2s; }
.top.is-stuck { box-shadow: 0 1px 0 var(--rule); }
.is-scene .top { position: fixed; left: 0; right: 0; }
.top__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 22px var(--pad);
}
.top__logo { display: block; flex: none; }
.top__logo svg { display: block; height: 30px; width: auto; }
.top__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.top__link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.top__link:hover { color: var(--blue); text-decoration: underline; }
.top__link[aria-current="page"] { color: var(--blue); }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 0.9375rem; font-weight: 500; }
.lang a { padding: 6px 5px; color: var(--ink-2); text-decoration: none; }
.lang a:hover { color: var(--blue); }
.lang a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.lang a + a::before { content: ""; display: inline-block; width: 1px; height: 0.9em; margin: 0 9px 0 -4px; vertical-align: -0.08em; background: var(--rule); }

@media (max-width: 959px) {
  /* 60px: fits inside the 64px the pinned stage reserves at the top */
  .top__in { padding: 10px 16px; gap: 12px; }
  .top__logo svg { height: 22px; }
  .top .btn--small { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
  .top__link { display: none; }
  .top__nav { gap: 10px; }
}
@media (max-width: 379px) { .top .lang { display: none; } }

/* The scene's note lines keep their transform after they have flown and faded out; on phones a transformed
   line can reach past the right edge and widen the page. clip (unlike hidden) keeps the sticky pin working. */
.is-scene .scene { overflow-x: clip; }
.is-scene .scene + .sec { margin-top: calc(-1 * var(--hero-tail, 0px)); } /* set by site.js */

/* ---------- Sections: shared ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: var(--gap) var(--pad) 0; }
.sec__h, .gl-hero h1 {
  margin: 0; max-width: 20ch;
  font: 700 clamp(2.125rem, 3.7vw, 3.375rem)/0.98 var(--f-disp); letter-spacing: -0.01em; color: var(--blue);
  text-wrap: balance;
}
.sec__line { margin: 16px 0 0; max-width: 44ch; font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.4; text-wrap: pretty; }
.fnote { margin: 18px 0 0; max-width: 72ch; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.wire-bar { display: inline-block; height: 0.62em; vertical-align: -0.04em; background: var(--wf); border-radius: 2px; }

/* Draw-in: artefacts arrive as wireframes and fill in (only when JS runs and motion is allowed: html.rv).
   Text outside the artefacts is never hidden. */
.rv .draw .t, .rv .draw .fillable { transition: color 0.35s ease, background-color 0.35s ease, background-size 0.35s ease; }

/* ---------- 2. Flow: how a project runs ---------- */
.flow__list { position: relative; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.flow__spine {
  position: absolute; top: 14px; bottom: 40px; left: calc(var(--tc) + 19px); width: 2px;
  background: var(--blue); transform-origin: 50% 0; transform: scaleY(var(--sp, 1));
}
.flow { --tc: clamp(150px, 15vw, 210px); }
.flow__list::before { /* the unfinished line under the spine */
  content: ""; position: absolute; top: 14px; bottom: 40px; left: calc(var(--tc) + 19px); width: 2px;
  background: linear-gradient(var(--rule) 50%, transparent 50%) 0 0 / 2px 8px;
}
.step {
  position: relative;
  display: grid; grid-template-columns: var(--tc) 40px minmax(0, 36ch) minmax(0, 1fr);
  column-gap: 0; align-items: start;
  padding: 0 0 clamp(40px, 4.6vw, 64px);
}
.step__time {
  grid-column: 1; margin: 0; padding-right: 22px; text-align: right;
  display: flex; flex-direction: column; align-items: flex-end;
  font: 700 clamp(1.5rem, 2.1vw, 2rem)/1 var(--f-disp); color: var(--blue); letter-spacing: -0.005em;
}
.step__time small { order: -1; display: block; margin-bottom: 4px; font: 600 0.9375rem/1 var(--f-text); letter-spacing: 0; color: var(--ink-2); }
.step__time .fn { color: inherit; text-decoration: none; }
.step__node {
  grid-column: 2; justify-self: center; position: relative; z-index: 1;
  width: 14px; height: 14px; margin-top: 7px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.step--you .step__node { border-color: var(--pencil); }
.step.is-on .step__node { background: var(--blue); }
.step--you.is-on .step__node { background: var(--pencil); }
.step--time.is-on .step__node { box-shadow: 0 0 0 5px rgb(42 197 223 / 0.35); }
html:not(.js) .step__node { background: var(--blue); } /* no JS: the whole path is drawn, so every node is on */
html:not(.js) .step--you .step__node { background: var(--pencil); }
.step__text { grid-column: 3; padding-right: clamp(24px, 4vw, 64px); }
.step__text h3 { margin: 0; font: 600 1.375rem/1.2 var(--f-text); color: var(--ink); }
.step__text p { margin: 8px 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.step__art { grid-column: 4; min-width: 0; max-width: 460px; padding-top: 2px; }
.flow .fnote { margin-left: calc(var(--tc) + 40px); }
/* "Bald": the portal is not live yet. The spine runs on into it as the dashed, unfinished line. */
.soon { position: relative; max-width: 46ch; margin: 0 0 0 calc(var(--tc) + 40px); padding: 6px 0 4px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.soon::before { content: ""; position: absolute; left: -21px; top: calc(-1 * clamp(40px, 4.6vw, 64px) + 6px); bottom: 0; width: 2px; background: linear-gradient(rgb(16 100 175 / 0.4) 50%, transparent 50%) 0 0 / 2px 8px; }

/* artefact: the user story (their words: plain text, grey rule) */
.story { margin: 0; max-width: 440px; padding: 2px 0 2px 18px; border-left: 3px solid var(--pencil); }
.story__h { margin: 0 0 6px; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: var(--ink); }
.story p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink); }

/* artefact: questions (blueprint tags) and answers (their words) */
.qa { margin: 0; }
.qa__q { display: inline-block; margin: 0; padding: 5px 9px 4px; font: 500 0.8125rem/1.4 var(--f-mono); color: var(--blue); background: #fff; border: 1px solid var(--wl); border-radius: 2px; }
.qa__a { margin: 8px 0 16px; padding-left: 14px; border-left: 3px solid var(--pencil); font-size: 1rem; line-height: 1.4; color: var(--ink); }
.qa__a:last-child { margin-bottom: 0; }

/* artefact: access options, one chosen */
.opts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 440px; }
.opts li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.opts li::before { content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--blue); border-radius: 2px; transform: translateY(2px); }
.opts li.on::before { background: var(--blue) var(--check) center / 11px no-repeat; }
.opts b { font-weight: 600; }
.opts small { font-size: 0.875rem; color: var(--ink-2); }

/* artefact: acceptance, the quote's scope ticked off (delivered ink) */
.checks { list-style: none; margin: 0; padding: 0; max-width: 420px; border-top: 1px solid var(--rule); }
.checks li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) var(--check) center / 10px no-repeat; }

/* artefact: the quote (delivered ink) */
.doc {
  max-width: 420px; padding: 14px 18px 16px;
  font: 400 13px/1.35 var(--f-ui); color: #1f2933;
  background: #fff; border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgb(14 44 79 / 0.08), 0 12px 26px -10px rgb(14 44 79 / 0.2);
}
.doc__h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #e3e8ee; font-size: 15px; font-weight: 600; }
.doc__h small { font-size: 12px; font-weight: 400; color: #5f6b76; }
.doc dl { margin: 0; }
.doc dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 5px 0; }
.doc dt { color: #5f6b76; }
.doc dd { margin: 0; }
.doc .amount { display: inline-block; width: 92px; height: 0.9em; vertical-align: -0.08em; background: #e7ecf2; border-radius: 2px; }
.doc .amount--date { width: 72px; margin-right: 6px; }
.doc .bind { font-weight: 600; }

/* artefact: seven squares of the grid */
.days { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; } /* seven calendar days, filled one after another */
.days li {
  width: 40px; height: 40px; padding: 3px 0 0 5px;
  font: 500 0.6875rem/1 var(--f-mono); color: var(--blue);
  border: 1.5px solid var(--blue); background: #fff;
}
.days li.fillable { background: var(--blue); color: #fff; }

/* wire state of the flow artefacts */
.rv .flow .draw:not(.is-drawn) .t { color: transparent; background: linear-gradient(var(--wf), var(--wf)) 0 55% / 100% 0.62em no-repeat; border-radius: 2px; }
.rv .flow .draw:not(.is-drawn) .fillable { background-color: #fff; color: var(--blue); }
.rv .flow .draw:not(.is-drawn) .doc { box-shadow: none; border-color: var(--wl); }
.rv .flow .draw:not(.is-drawn) .bind, .rv .flow .draw:not(.is-drawn) .amount { opacity: 0; }
.rv .flow .doc, .rv .flow .bind, .rv .flow .amount { transition: box-shadow 0.4s, border-color 0.4s, opacity 0.4s; }
.rv .flow .draw .days li.fillable { transition: background-color 0.25s, color 0.25s; }
.days li:nth-child(2) { transition-delay: 0.07s !important; } .days li:nth-child(3) { transition-delay: 0.14s !important; }
.days li:nth-child(4) { transition-delay: 0.21s !important; } .days li:nth-child(5) { transition-delay: 0.28s !important; }
.days li:nth-child(6) { transition-delay: 0.35s !important; } .days li:nth-child(7) { transition-delay: 0.42s !important; }
.rv .flow .draw .checks li::before { transition: background-color 0.3s, box-shadow 0.3s; }
.rv .flow .draw:not(.is-drawn) .checks li::before { background-color: #fff; background-image: none; box-shadow: inset 0 0 0 1.5px var(--wl); }
.checks li:nth-child(2)::before, .checks li:nth-child(2) .t { transition-delay: 0.1s !important; }
.checks li:nth-child(3)::before, .checks li:nth-child(3) .t { transition-delay: 0.2s !important; }
.checks li:nth-child(4)::before, .checks li:nth-child(4) .t { transition-delay: 0.3s !important; }

@media (max-width: 1099px) {
  .step { grid-template-columns: var(--tc) 40px minmax(0, 1fr); }
  .step__art { grid-column: 3; margin-top: 18px; }
}
@media (max-width: 759px) {
  .flow { --tc: 0px; }
  .flow__spine, .flow__list::before { left: 6px; }
  .step { grid-template-columns: 26px minmax(0, 1fr); padding-bottom: 44px; }
  .step__node { grid-column: 1; grid-row: 1; justify-self: start; margin-top: 4px; }
  .step--time .step__node { margin-top: 6px; }
  .step__time { display: block; grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 8px; font-size: 1.625rem; }
  .step__time small { display: inline; margin: 0 0.3em 0 0; font: inherit; color: inherit; }
  .step__time small:last-child { margin: 0 0 0 0.3em; }
  .step__text { grid-column: 2; padding-right: 0; }
  .step__art { grid-column: 2; margin-top: 16px; }
  .step__text h3 { font-size: 1.25rem; }
  .flow .fnote, .soon { margin-left: 26px; }
  .soon::before { left: -20px; top: -38px; }
  .doc { padding: 12px 14px 14px; }
  .doc dl > div { grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 4px 0; }
  .days li { width: 36px; height: 36px; }
}

/* ---------- 3. Match: built like the rest of your app ---------- */
.match__table { margin-top: clamp(40px, 5vw, 64px); }
.match__head, .match__row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 14vw, 190px) minmax(0, 1fr); }
.match__head { padding-bottom: 12px; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.match__head span:first-child { padding-left: 20px; }
.match__head span:last-child { padding-left: 20px; }
.match__rows { position: relative; list-style: none; margin: 0; padding: 0; }
.match__rows::before, .match__rows::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; }
/* left: their app, drawn as a blueprint frame */
.match__rows::before { left: 0; width: calc((100% - clamp(150px, 14vw, 190px)) / 2); border: 1.5px solid var(--wl); }
/* right: the new code, crisp */
.match__rows::after {
  right: 0; width: calc((100% - clamp(150px, 14vw, 190px)) / 2);
  background: #fff; border: 1px solid var(--rule); z-index: 0;
  box-shadow: 0 1px 2px rgb(14 44 79 / 0.08), 0 14px 32px -8px rgb(14 44 79 / 0.18);
}
.match__row { position: relative; z-index: 1; align-items: center; min-height: 58px; }
.match__row + .match__row .match__old, .match__row + .match__row .match__new { border-top: 1px solid #e8eef5; }
.match__old, .match__new { display: block; min-width: 0; padding: 14px 20px; font: 400 clamp(0.75rem, 0.98vw, 0.875rem)/1.55 var(--f-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.match__old { grid-column: 1; grid-row: 1; color: var(--ink-2); }
.match__new { grid-column: 3; grid-row: 1; color: var(--ink); }
.match__old mark { margin: 0 4px; background: none; color: var(--blue); outline: 1.5px solid var(--blue); outline-offset: 2px; border-radius: 1px; }
.match__new mark { background: rgb(16 100 175 / 0.1); color: var(--blue); font-weight: 600; border-radius: 2px; box-shadow: 0 0 0 2px rgb(16 100 175 / 0.1); }
.match__new .ctx { color: #5f6b76; }
.match__link { grid-column: 2; grid-row: 1; position: relative; align-self: stretch; display: grid; place-items: center; }
.match__link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--blue); transform-origin: 0 50%; }
.match__link .tag { position: relative; font-size: 0.75rem; }

/* wire state */
.rv .match__row .match__link::before { transition: transform 0.45s cubic-bezier(0.3, 0.6, 0.4, 1); }
.rv .match__row:not(.is-drawn) .match__link::before { transform: scaleX(0); }
.rv .match__row .match__link .tag { transition: opacity 0.3s 0.2s; }
.rv .match__row:not(.is-drawn) .match__link .tag { opacity: 0; }
.rv .match__row .match__new .t { transition: color 0.35s 0.3s, background-size 0.35s 0.3s; }
.rv .match__row:not(.is-drawn) .match__new .t { color: transparent; background: linear-gradient(var(--wf), var(--wf)) 0 55% / 100% 0.62em no-repeat; }
.rv .match__row:not(.is-drawn) .match__new mark { background: none; box-shadow: none; color: transparent; }

@media (max-width: 899px) {
  .match__head { display: none; }
  .match__rows::before, .match__rows::after { display: none; }
  .match__row { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-bottom: 22px; }
  .match__link { grid-column: 1; grid-row: 1; justify-items: start; margin-bottom: 8px; }
  .match__link::before { display: none; }
  .match__old { grid-column: 1; grid-row: 2; border: 1.5px solid var(--wl) !important; padding: 10px 12px; font-size: 0.8125rem; }
  .match__new {
    grid-column: 1; grid-row: 3; margin-top: 10px; padding: 10px 12px; font-size: 0.8125rem;
    background: #fff; border: 1px solid var(--rule) !important;
    box-shadow: 0 1px 2px rgb(14 44 79 / 0.08), 0 10px 22px -10px rgb(14 44 79 / 0.2);
  }
  .match__new::before { content: ""; position: absolute; left: 22px; margin-top: -21px; width: 1.5px; height: 10px; background: var(--blue); }
  .rv .match__row:not(.is-drawn) .match__link .tag { opacity: 1; }
}

/* ---------- 4. Questions before the first project: a light band, question | answer rows ---------- */
.band { margin-top: var(--gap); background: var(--wash); }
.band > .sec { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.faq__list { max-width: 1080px; margin: clamp(28px, 3.5vw, 44px) 0 0; border-top: 1px solid var(--rule); }
.faq__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 64px); padding: 18px 0 19px; border-bottom: 1px solid var(--rule); }
.faq__item dt { font-weight: 600; font-size: 1.125rem; line-height: 1.4; color: var(--ink); }
.faq__item dd { margin: 0; max-width: 58ch; font-size: 1.0625rem; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 759px) { .faq__item { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 16px 0; } }

/* ---------- 5. Edgar vouches for it ---------- */
.who { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 104px); align-items: center; }
.who__photo { display: block; width: 100%; max-width: 360px; background: var(--wash); } /* plain b/w portrait, no frame */
.who__photo img { display: block; width: 100%; height: auto; }
.who__text p { margin: 22px 0 0; max-width: 48ch; font-size: clamp(1.1875rem, 1.5vw, 1.3125rem); line-height: 1.5; text-wrap: pretty; }
.who__text .who__contact { font-size: 1.0625rem; color: var(--ink-2); }
.who__contact a { font-weight: 600; }
.who__quote { margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--aqua); }
.who__quote blockquote { margin: 0; }
.who__text .who__quote p { margin: 0; max-width: 30ch; font: 600 clamp(1.375rem, 2vw, 1.75rem)/1.25 var(--f-disp); color: var(--blue); }
.who__quote figcaption { margin-top: 8px; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 759px) {
  .who { grid-template-columns: minmax(0, 1fr); }
  .who__photo { max-width: 220px; margin-bottom: 36px; }
}

/* ---------- 6. Go-live teaser: the one dark band ---------- */
.rescue { margin-top: var(--gap); background: var(--ink); color: #fff; }
.rescue__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 104px); align-items: center; padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.rescue .sec__h { color: #fff; }
.rescue .sec__line { color: rgb(255 255 255 / 0.85); }
.rescue .btn { margin-top: 28px; }
.rescue :focus-visible { outline-color: #fff; }
.dlg {
  max-width: 440px; justify-self: end; padding: 22px 24px 18px;
  font: 400 14px/1.45 var(--f-ui); color: #1f2933; background: #fff;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.5);
}
.dlg__msg { display: flex; gap: 12px; margin: 0; }
.dlg__msg svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--err); stroke-width: 1.6; stroke-linecap: round; }
.dlg__btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.dlg__btns span { padding: 6px 14px; border: 1px solid #c8d0d8; border-radius: 3px; font-size: 13px; }
.dlg__btns span:last-child { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
@media (max-width: 899px) {
  .rescue__in { grid-template-columns: minmax(0, 1fr); }
  .dlg { justify-self: start; margin-top: 40px; }
}

/* ---------- 7. Closing ---------- */
.close { padding-bottom: var(--gap); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); }
.foot__in {
  display: grid; grid-template-columns: auto 1fr auto auto; column-gap: clamp(28px, 4vw, 64px); row-gap: 20px; align-items: start;
  max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 44px;
  font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2);
}
.foot__logo svg { display: block; height: 24px; width: auto; margin-top: 2px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-direction: column; gap: 4px; }
.foot nav > a { color: var(--ink); text-decoration: none; }
.foot nav > a:hover, .foot nav > a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.foot .lang { margin-left: -5px; }
@media (max-width: 759px) {
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__logo, .foot__addr { grid-column: 1 / -1; }
}

/* ---------- Go-live page ---------- */
.gl-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 96px); align-items: center; padding-top: clamp(48px, 7vw, 112px); }
.gl-hero h1 { font-size: clamp(2.25rem, 3.5vw, 3.375rem); line-height: 0.98; letter-spacing: -0.012em; max-width: none; }
.gl-hero h1 span { display: block; }
.gl-who { margin: 14px 0 0; font-weight: 500; }
.gl-scene { position: relative; padding: 28px 0 20px; }
.gl-scene .dlg { justify-self: auto; margin-left: auto; max-width: 520px; font-size: 15px; box-shadow: 0 1px 2px rgb(14 44 79 / 0.08), 0 18px 40px -10px rgb(14 44 79 / 0.25); border: 1px solid var(--rule); }
.dlg__why { display: block; margin-top: 30px; }
.cause { position: relative; display: inline-block; background: none; color: inherit; outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 1px; }
.cause .tag { position: absolute; left: -5px; bottom: calc(100% + 5px); }
.gl-cases__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); max-width: 1080px; list-style: none; margin: clamp(28px, 3.5vw, 44px) 0 0; padding: 0; }
.gl-cases__list li { padding: 14px 0 15px; border-top: 1px solid var(--rule); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.4; }
.gl-how__list { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0 0 0 26px; max-width: 760px; border-left: 2px solid var(--blue); }
.gl-how__list li { position: relative; margin: 0 0 26px; font-size: clamp(1.1875rem, 1.5vw, 1.3125rem); line-height: 1.45; }
.gl-how__list li:last-child { margin-bottom: 0; }
.gl-how__list li::before { content: ""; position: absolute; left: -35px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.gl-back { margin: 22px 0 0; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 899px) {
  .gl-hero { grid-template-columns: minmax(0, 1fr); }
  .gl-scene { margin-top: 32px; padding-top: 24px; }
  .gl-cases__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Legal pages ---------- */
.legal { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--pad) clamp(72px, 9vw, 128px); }
.legal__in { max-width: 72ch; }
.legal h1 { margin: 0 0 28px; font: 700 clamp(2.25rem, 4vw, 3.5rem)/0.98 var(--f-disp); color: var(--blue); letter-spacing: -0.01em; }
.legal h2 { margin: 40px 0 10px; font: 600 1.3125rem/1.25 var(--f-text); color: var(--ink); }
.legal h3 { margin: 28px 0 8px; font: 600 1.125rem/1.3 var(--f-text); }
.legal h4 { margin: 22px 0 6px; font: 600 1rem/1.3 var(--f-text); }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.6; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.3em; }
.legal li { margin: 0 0 6px; }
.legal hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
.legal blockquote { margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--rule); color: var(--ink-2); }
.legal .placeholder { color: var(--ink-2); background: var(--wash); padding: 0 4px; }
.legal__note { margin: 0 0 28px; padding: 12px 16px; background: var(--wash); border-left: 3px solid var(--blue); font-size: 1rem; }
