/* STACKGee Technologies — platform stylesheet
   Light theme. Quicksand throughout. Blue (brand), green (operational / secure), white.
   No inline styles anywhere: the Content Security Policy forbids them. */

@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/quicksand-medium-latin.9ca0da74abad.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/quicksand-semibold-latin.1c7fdc364fe0.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/quicksand-bold-latin.e69f912c9b54.woff2") format("woff2"); }

:root {
  --font: "Quicksand", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --blue-900: #06264a; --blue-800: #073c72; --blue-700: #0a4f91; --blue-600: #0b5fae;
  --blue-500: #1677cc; --blue-400: #3f93dc; --blue-300: #8fc0ec; --blue-200: #c4ddf5;
  --blue-100: #e1eefb; --blue-50: #f0f7fe;
  --green-800: #065f33; --green-700: #087a40; --green-600: #0c9a50; --green-500: #13b862;
  --green-400: #45cf85; --green-200: #b6ecd0; --green-100: #dcf6e8; --green-50: #effbf5;
  --amber-700: #8a5a00; --amber-500: #d99400; --amber-100: #fdf0d3;
  --orange-600: #c2410c; --orange-100: #ffe7d6;
  --red-700: #b42318; --red-500: #e5484d; --red-100: #fde4e4;

  --ink: #0b1b31; --text: #2b3a51; --muted: #56657c; --faint: #637083; /* faint still meets 4.5:1 on white and on --surface */
  --line: #e2e9f2; --line-strong: #cad5e3;
  --bg: #ffffff; --surface: #f6f9fc; --surface-2: #edf3f9; --navy: #071d38;

  --radius-xs: 8px; --radius-s: 12px; --radius: 18px; --radius-l: 26px; --pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 27, 49, .06), 0 1px 1px rgba(11, 27, 49, .03);
  --shadow-2: 0 12px 28px -14px rgba(11, 45, 90, .22), 0 2px 6px rgba(11, 27, 49, .05);
  --shadow-3: 0 34px 70px -28px rgba(8, 48, 102, .35), 0 6px 16px rgba(11, 27, 49, .06);
  --ring: 0 0 0 3px rgba(22, 119, 204, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(60px, 8vw, 108px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-weight: 500; font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.012em; }
h1 { font-size: clamp(2.15rem, 1.45rem + 2.7vw, 3.35rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.55vw, 2.4rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
img, svg, picture { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--blue-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
/* Icons are Font Awesome Free solid glyphs (templates/partials/sprite.html): filled, no stroke. */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; stroke: none; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 28px; height: 28px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-surface { background: var(--surface); }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.split-head .section-head { margin-bottom: 0; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack-sm > * + * { margin-top: 8px; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--green-500); }
.eyebrow.plain::before { display: none; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.text-ink { color: var(--ink); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons & links ---------- */
.btn { --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--pill);
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--blue-700); --btn-bd: var(--line-strong); }
.btn-secondary:hover { --btn-bg: var(--blue-50); --btn-fg: var(--blue-800); --btn-bd: var(--blue-300); }
.btn-green { --btn-bg: var(--green-700); --btn-bd: var(--green-700); }
.btn-green:hover { --btn-bg: var(--green-800); --btn-bd: var(--green-800); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--blue-50); --btn-fg: var(--navy); --btn-bd: var(--blue-50); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn-outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-bd: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--blue-600); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Badges, chips, dots ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--pill); font-size: .78rem; font-weight: 700; line-height: 1.5; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge-ok { background: var(--green-50); color: var(--green-700); }
.badge-info { background: var(--blue-50); color: var(--blue-700); }
.badge-warn { background: var(--amber-100); color: var(--amber-700); }
.badge-bad { background: var(--red-100); color: var(--red-700); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--text); text-decoration: none; }
a.chip:hover { border-color: var(--blue-300); color: var(--blue-700); background: var(--blue-50); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); display: inline-block; flex: none; box-shadow: 0 0 0 3px var(--green-100); }
.dot-info { background: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.dot-warn { background: var(--amber-500); box-shadow: 0 0 0 3px var(--amber-100); }
.dot-orange { background: var(--orange-600); box-shadow: 0 0 0 3px var(--orange-100); }
.dot-bad { background: var(--red-500); box-shadow: 0 0 0 3px var(--red-100); }
.dot-live { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--green-100); } 50% { box-shadow: 0 0 0 6px rgba(19,184,98,.12); } }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card-link:hover, .card-link:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--blue-200); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .stretched { text-decoration: none; color: inherit; }
.card .stretched:focus-visible { outline: none; }
.card-link:focus-within { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px; }
.card-icon .icon { width: 24px; height: 24px; }
.card-icon.green { background: var(--green-50); color: var(--green-700); }
.p-foot { position: relative; z-index: 1; }
.p-foot .p-quote { pointer-events: auto; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.tick-list li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Header ---------- */
.utility { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .84rem; }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility a { color: var(--muted); text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--blue-700); }
.utility-status { display: inline-flex; align-items: center; gap: 9px; }
.utility-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; }
.utility-links .utility-wa { color: var(--green-700); }
.utility-links .utility-wa:hover { color: var(--green-800); }
.utility-links .u-short { display: none; }
@media (max-width: 720px) {
  .utility-links li:not(.keep) { display: none; }
  .utility-links { gap: 16px; }
}
@media (max-width: 520px) {
  .utility-links .u-long { display: none; }
  .utility-links .u-short { display: inline; }
}

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* The blur lives on a pseudo-element: a filter on the header itself would trap the fixed mobile drawer inside it. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.93); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,27,49,.4); }
.nav-bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: auto; height: 46px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item .menu-toggle { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: -10px; border: 0; background: transparent; color: var(--muted); border-radius: 50%; cursor: pointer; }
.nav-item .menu-toggle:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-item .menu-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-item.is-open .menu-toggle .icon { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 12px); left: -20px; width: min(640px, 90vw); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-3); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open .menu, .nav-item:hover .menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu a { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: var(--radius-s); text-decoration: none; color: var(--text); }
.menu a:hover { background: var(--surface); }
.menu .m-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); }
.menu .m-icon .icon { width: 20px; height: 20px; }
.menu strong { display: block; font-size: .95rem; }
.menu span.m-text { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.menu .menu-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface); font-weight: 700; color: var(--blue-700); }
.nav-cta { display: flex; align-items: center; gap: 6px; margin-left: 10px; }
.nav-systems { position: relative; }
.systems-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.systems-toggle:hover, .nav-systems.is-open .systems-toggle { color: var(--blue-700); background: var(--blue-50); }
.systems-toggle .icon { width: 18px; height: 18px; }
.systems-toggle .icon-chevron { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.nav-systems.is-open .systems-toggle .icon-chevron { transform: rotate(180deg); }
.systems-toggle:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.nav-cta .btn { white-space: nowrap; }
/* Between the drawer and wide screens, the systems menu keeps its icon and loses its label. */
@media (min-width: 1041px) and (max-width: 1320px) {
  .nav-link { padding: 10px 11px; }
  .nav-bar { gap: 16px; }
  .systems-toggle { padding: 9px 10px; }
  .systems-toggle > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.menu.menu-systems { left: auto; right: 0; width: min(380px, 92vw); grid-template-columns: 1fr; }
.nav-systems.is-open .menu, .nav-systems:hover .menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu .menu-title { margin: 2px 12px 6px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.menu span.m-host { display: block; margin-top: 2px; color: var(--blue-700); font-size: .78rem; font-weight: 600; word-break: break-all; }
.menu strong .dot { display: inline-block; vertical-align: middle; margin-left: 4px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }
@media (max-width: 1040px) {
  .brand img { height: 40px; }
  .nav-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 100%); z-index: 60; flex-direction: column; align-items: stretch; gap: 0; padding: 88px 20px 28px; background: #fff; box-shadow: var(--shadow-3); transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility .28s; overflow-y: auto; }
  .nav-open .nav { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 14px 12px; border-radius: var(--radius-s); font-size: 1.05rem; }
  .nav-item { flex-wrap: wrap; }
  .nav-item .nav-link { flex: 1; }
  .nav-item .menu-toggle { margin-left: 0; width: 44px; height: 44px; }
  .menu { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-item:hover .menu { display: none; }
  .nav-item.is-open .menu { display: grid; }
  .menu .m-text { display: none !important; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-cta .btn { width: 100%; }
  .systems-toggle { width: 100%; justify-content: flex-start; padding: 14px 12px; border-radius: var(--radius-s); font-size: 1.05rem; }
  .systems-toggle .icon-chevron { margin-left: auto; }
  .nav-systems:hover .menu { display: none; }
  .nav-systems.is-open .menu { display: grid; }
  .menu span.m-host { display: none; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(7,29,56,.35); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-close-row { position: absolute; top: 20px; right: 20px; }
}
@media (min-width: 1041px) { .nav-backdrop { display: none; } }

/* ---------- Page heads & breadcrumbs ---------- */
.page-head { position: relative; padding-block: clamp(48px, 7vw, 92px) clamp(36px, 5vw, 64px); background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line-strong) 1px, transparent 1.2px); background-size: 26px 26px; opacity: .55; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%); mask-image: linear-gradient(100deg, transparent 35%, #000 85%); pointer-events: none; }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-700); }

/* Marketing pages open with the same deep navy as the home hero. */
.page-head-dark { isolation: isolate; border-bottom: 0; color: #c3d6ea; background:
    radial-gradient(60% 90% at 92% 0%, rgba(22, 119, 204, .45), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgba(19, 184, 98, .14), transparent 70%),
    linear-gradient(180deg, #071d38 0%, #06264a 100%); }
.page-head-dark::after { background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); opacity: 1; }
.page-head-dark h1 { color: #fff; letter-spacing: -.025em; }
.page-head-dark .lead { color: #c3d6ea; }
.page-head-dark .lead a, .page-head-dark p a { color: #8ecbff; }
.page-head-dark .lead a:hover, .page-head-dark p a:hover { color: #fff; }
.page-head-dark .eyebrow { color: #8fd3ad; }
.page-head-dark .breadcrumbs, .page-head-dark .breadcrumbs a { color: #9fb6cf; }
.page-head-dark .breadcrumbs a:hover { color: #fff; }
.page-head-dark .breadcrumbs li + li::before { color: rgba(255, 255, 255, .3); }
.page-head-dark .muted, .page-head-dark .small, .page-head-dark .updated { color: #9fb6cf; }
.page-head-dark :focus-visible { outline-color: #8fd3ad; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(520px 340px at 85% 20%, rgba(22,119,204,.10), transparent 70%),
    radial-gradient(420px 300px at 70% 90%, rgba(19,184,98,.09), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#d3dfec 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 80% at 75% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 80% at 75% 45%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: 22px; }
.hero h1 .accent { color: var(--blue-600); }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--green-600); width: 18px; height: 18px; }
.hero-proof a { color: inherit; text-decoration-color: rgba(255, 255, 255, .35); }
.hero-dark .hero-proof { color: #aebfd6; margin-top: 18px; gap: 8px 18px; font-size: .86rem; }
.hero-dark .hero-proof .icon { color: var(--green-400); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 18ch; } }

/* Dark hero: deep navy, a dot grid that fades out, two soft glows and a framed product collage. */
.hero-dark { isolation: isolate; color: #c3d6ea; background: var(--navy); padding-block: clamp(40px, 4.5vw, 64px) clamp(48px, 5vw, 72px); }
.hero-dark::before { background:
    radial-gradient(55% 65% at 88% 28%, rgba(22, 119, 204, .55), transparent 70%),
    radial-gradient(38% 50% at 4% 100%, rgba(19, 184, 98, .20), transparent 70%),
    linear-gradient(180deg, #071d38 0%, #06264a 100%); }
.hero-dark::after { background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px); }
.hero-dark h1 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; max-width: none; text-wrap: balance; }
.hero-dark h1 .accent { color: #6cc4ff; }
.hero-dark .lead { color: #c3d6ea; max-width: 40rem; margin-bottom: 20px; font-size: 1.08rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--pill); background: rgba(255, 255, 255, .05); color: #8fd3ad; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-badge .icon { width: 16px; height: 16px; }
.hero-offer { display: grid; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-offer li { display: flex; align-items: flex-start; gap: 10px; color: #e1eefb; font-weight: 600; }
.hero-offer .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: #4cd68a; }
.hero-dark .btn-light:focus-visible, .hero-dark .btn-outline-light:focus-visible { outline: 3px solid #8fd3ad; outline-offset: 3px; }
/* An offset outline behind the collage, so the panels read as one product family. */
.hero-dark .stackviz::before { content: ""; position: absolute; inset: 28px -18px -22px 34px; border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 30px; }
.hero-dark .panel { border-color: rgba(255, 255, 255, .5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 6px 18px rgba(0, 0, 0, .18); }
@media (max-width: 960px) { .hero-dark .stackviz::before { display: none; } }

/* Hero motion (js/site.js, "Hero entrance"): words of the heading rise one by
   one, then the copy, the list and the buttons in turn; the mesh behind drifts
   and the glow wanders. All of it is off under prefers-reduced-motion. */
.mesh { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: radial-gradient(75% 95% at 80% 50%, #000 25%, transparent 78%); mask-image: radial-gradient(75% 95% at 80% 50%, #000 25%, transparent 78%); }
.mesh line { stroke: rgba(255, 255, 255, .16); stroke-width: 1px; stroke-dasharray: 5 9; }
.mesh circle { fill: rgba(255, 255, 255, .45); }
.mesh circle.g { fill: rgba(69, 207, 133, .85); }
.hero-dark::after { -webkit-mask-image: radial-gradient(70% 80% at 75% 45%, #000 10%, transparent 70%); mask-image: radial-gradient(70% 80% at 75% 45%, #000 10%, transparent 70%); }
.hero h1 .w { display: inline-block; vertical-align: top; overflow: hidden; margin-bottom: -.1em; padding-bottom: .1em; }
.hero h1 .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .mesh line { animation: mesh-drift 34s linear infinite; }
  .hero-dark::before { background-size: 100% 100%; animation: hero-glow 18s ease-in-out infinite alternate; }
  .js [data-hero] .hero-copy > :not(h1), .js [data-hero] h1 .w > span { opacity: 0; }
  .js [data-hero].is-in .hero-copy > :not(h1), .js [data-hero].is-in h1 .w > span { opacity: 1; }
}
@keyframes mesh-drift { to { stroke-dashoffset: -280px; } }
@keyframes hero-glow { from { background-position: 0 0, 0 0, 0 0; } to { background-position: -60px 40px, 40px -30px, 0 0; } }

/* Stacked product panels (hero visual) */
.stackviz { position: relative; min-height: 470px; }
.stackviz > div { position: absolute; }
.panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-3); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: .78rem; font-weight: 700; color: var(--muted); }
.panel-bar .dots { display: inline-flex; gap: 5px; margin-right: 6px; }
.panel-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.panel-bar .grow { flex: 1; }
.panel-body { padding: 16px; }
.panel-a { top: 0; right: 0; width: 78%; }
/* Hero image: school management software on a laptop and phone (static/img/hero/). */
.hero-shot { width: 100%; }
.hero-shot picture, .hero-shot img { display: block; width: 100%; height: auto; }
/* The image stands alone in the hero visual. */
.stackviz > .hero-shot { position: relative; }
.stackviz:has(.hero-shot) { min-height: 0; }
@media (min-width: 961px) { .hero-shot img { aspect-ratio: 5 / 4; object-fit: cover; } }
.hero-dark .stackviz:has(.hero-shot)::before { inset: 22px -18px -22px 30px; }
}
.panel-b { top: 150px; left: 0; width: 70%; z-index: 2; }
.panel-c { bottom: 0; right: 4%; width: 64%; z-index: 3; }
.js .stackviz > div { opacity: 0; transform: translateY(26px) scale(.98); }
.js .stackviz.is-in > div { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .stackviz.is-in > .panel-b { transition-delay: .14s; }
.js .stackviz.is-in > .panel-c { transition-delay: .28s; }
@media (prefers-reduced-motion: no-preference) {
  .stackviz.is-in > .panel-c { animation: float 7s ease-in-out 1.4s infinite; }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (max-width: 960px) { .stackviz { min-height: 0; display: grid; gap: 14px; } .stackviz > div { position: relative; inset: auto; width: 100%; } .panel-a:not(.hero-shot) { display: none; } }

/* Mock UI atoms used inside panels and product visuals */
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .84rem; }
.mock-row:last-child { border-bottom: 0; }
.mock-row .grow { flex: 1; min-width: 0; }
.mock-row .t { font-weight: 700; color: var(--ink); display: block; }
.mock-row .s { color: var(--faint); font-size: .76rem; display: block; }
.mock-avatar { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: .75rem; flex: none; }
.mock-avatar.g { background: var(--green-50); color: var(--green-700); }
.mock-avatar .icon { width: 16px; height: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-kpi { padding: 10px; border-radius: 12px; background: var(--surface); font-size: .72rem; color: var(--muted); font-weight: 700; }
.mock-kpi b { display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--blue-200); }
.mock-kpi b.g { background: var(--green-200); }
.mock-kpi b.w60 { width: 60%; } .mock-kpi b.w75 { width: 75%; } .mock-kpi b.w45 { width: 45%; }
.mock-chart { display: flex; align-items: end; gap: 6px; height: 86px; padding: 10px; border-radius: 12px; background: var(--surface); }
.mock-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--blue-400), var(--blue-500)); opacity: .85; }
.mock-chart i:nth-child(3n) { background: linear-gradient(var(--green-400), var(--green-500)); }
.h20 { height: 20%; } .h30 { height: 30%; } .h40 { height: 40%; } .h50 { height: 50%; } .h60 { height: 60%; } .h70 { height: 70%; } .h80 { height: 80%; } .h90 { height: 90%; } .h100 { height: 100%; }
.mock-grid { display: grid; grid-template-columns: 46px repeat(5, 1fr); gap: 4px; font-size: .66rem; font-weight: 700; color: var(--faint); }
.mock-grid span { padding: 4px 2px; text-align: center; }
.mock-grid .slot { min-height: 26px; border-radius: 7px; background: var(--surface); }
.mock-grid .slot.b { background: var(--blue-100); color: var(--blue-800); }
.mock-grid .slot.g { background: var(--green-100); color: var(--green-800); }
.mock-grid .slot.a { background: var(--amber-100); color: var(--amber-700); }
.mock-grid .slot { display: grid; place-items: center; font-size: .62rem; }
.uptime { display: flex; gap: 2px; height: 26px; align-items: stretch; }
.uptime i { flex: 1; border-radius: 2px; background: var(--green-500); opacity: .9; }
.uptime i.m { background: var(--amber-500); }
.mock-status { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--green-50); color: var(--green-800); font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.mock-comp { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 700; color: var(--ink); margin: 10px 0 6px; }
.mock-comp em { font-style: normal; color: var(--green-700); font-size: .74rem; }
.sec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sec-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-800); font-size: .7rem; font-weight: 700; }
.sec-chips .icon { width: 12px; height: 12px; }

/* ---------- Ecosystem strip ---------- */
.ecosystem { border-block: 1px solid var(--line); background: #fff; }
.eco-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.eco-head h2 { margin: 0; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eco-head a { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none; }
.eco-head a:hover { color: var(--blue-700); }
.eco-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-block: 0; padding-block: 0; list-style: none; }
.eco-list li { border-right: 1px solid var(--line); }
.eco-list li:last-child { border-right: 0; }
.eco-list a, .eco-list .eco-item { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 18px; text-decoration: none; color: var(--text); transition: background .2s; }
.eco-list a:hover { background: var(--surface); }
.eco-list .host { font-weight: 700; color: var(--ink); font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.eco-list .what { font-size: .82rem; color: var(--muted); }
.eco-list .soon { font-size: .72rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 1040px) { .eco-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .eco-list li:nth-child(3n) { border-right: 0; } .eco-list li:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .eco-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eco-list li { border-right: 0 !important; border-bottom: 1px solid var(--line); } .eco-list li:nth-child(odd) { border-right: 1px solid var(--line) !important; } }

/* ---------- Product showcase (tabs) ---------- */
.showcase { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 6px; }
.tab { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; width: 100%; padding: 14px; border: 1px solid transparent; border-radius: var(--radius-s); background: transparent; text-align: left; font: inherit; color: var(--text); cursor: pointer; transition: background .2s, border-color .2s; }
.tab:hover { background: var(--surface); }
.tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-2); }
.tab .t-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.tab[aria-selected="true"] .t-icon { background: var(--blue-600); color: #fff; }
.tab .t-name { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.tab .t-cat { display: block; font-size: .8rem; color: var(--muted); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-2); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 1.55rem; }
.tabpanel .badge { margin-bottom: 14px; }
.tabpanel .tick-list { margin: 18px 0 24px; }
.showcase-visual { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 14px; }
.showcase-visual .panel { width: 100%; box-shadow: var(--shadow-2); }
@media (max-width: 1040px) { .showcase { grid-template-columns: 1fr; } .tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; } .tab { min-width: 230px; scroll-snap-align: start; } }
@media (max-width: 760px) { .tabpanel { grid-template-columns: 1fr; } }
.no-js .tabpanel[hidden] { display: grid; }

/* ---------- Goals ("where to start") ---------- */
.goal { display: flex; flex-direction: column; }
.goal .num { font-size: .82rem; font-weight: 700; color: var(--green-700); letter-spacing: .1em; margin-bottom: 12px; }
.goal h3 { font-size: 1.15rem; }
.goal .chips { margin-top: auto; padding-top: 16px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.services-grid .card:first-child { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; background: linear-gradient(135deg, #fff 55%, var(--blue-50)); }
.services-grid .card:first-child .card-icon { grid-row: span 3; }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } .services-grid .card:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .services-grid .card:first-child { display: block; } }
.service-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.service-block:first-of-type { border-top: 0; }
.service-block h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); }
.service-block .card-icon { margin-bottom: 14px; }
.service-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); }
.service-side h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; } }
.toc-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Proof: figures, why, badges ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.proof-figures .lead { margin-bottom: 26px; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.figures li { position: relative; padding: 22px 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
.figure-icon { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--green-50); color: var(--green-700); }
.figure-icon .icon { width: 20px; height: 20px; }
.figures strong { display: block; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -.03em; color: var(--blue-700); font-variant-numeric: tabular-nums; }
.figure-label { display: block; margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.figure-note { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); }
.why-list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 18px; }
.why-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.why-list .card-icon { margin: 0; }
.why-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: .96rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.badges a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font-size: .86rem; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.badges a:hover, .badges a:focus-visible { border-color: var(--blue-200); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.badges strong { font-weight: 700; }
.badges span { color: var(--green-700); font-weight: 600; }
.badges span::before { content: "\00B7"; margin-right: 6px; color: var(--line-strong); }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .figures { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.voices { list-style: none; margin: 0; padding: 0; }
.voices-tagline { font-weight: 700; color: var(--ink); }
.voice { display: flex; flex-direction: column; gap: 14px; }
.voice .stars { margin: 0; color: var(--amber-500); font-size: 1.05rem; letter-spacing: .12em; line-height: 1; }
.voice blockquote { margin: 0; flex: 1; }
.voice blockquote p { margin: 0; font-size: 1.04rem; color: var(--ink); }
.voice footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .94rem; }
.voice footer strong { display: block; }
.voice footer .muted { display: block; font-size: .86rem; }
.voice-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.voices li:nth-child(2) .voice-avatar { background: var(--green-700); }
.voices li:nth-child(3) .voice-avatar { background: var(--blue-900); }

/* ---------- Recruiting band ---------- */
.recruit { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px); border: 1px dashed var(--line-strong); border-radius: var(--radius-l); background: var(--surface); }
.recruit h2 { font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); margin-bottom: 6px; }
.recruit p { margin: 0; max-width: 60ch; }
.recruit .eyebrow { margin-bottom: 8px; }
@media (max-width: 720px) { .recruit { grid-template-columns: 1fr; } }

/* ---------- Built secure ---------- */
.secure { position: relative; background: var(--hero-grad); color: #c9d6e8; overflow: hidden; }
.secure::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(80% 90% at 80% 10%, #000, transparent 75%); mask-image: radial-gradient(80% 90% at 80% 10%, #000, transparent 75%); }
.secure .container { position: relative; }
.secure h2, .secure h3, .secure strong { color: #fff; }
.secure .eyebrow { color: var(--green-400); }
.secure .lead { color: #aebfd6; }
.secure-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.secure-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.secure-list li { padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.secure-list .icon { width: 24px; height: 24px; color: var(--green-400); margin-bottom: 12px; }
.secure-list h3 { font-size: 1.02rem; margin-bottom: 6px; }
.secure-list p { font-size: .92rem; margin: 0; color: #aebfd6; }
.secure a:not(.btn) { color: #fff; }
@media (max-width: 900px) { .secure-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .secure-list { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 18px 0 0; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue-200); color: var(--blue-700); font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 1100px) { .steps { grid-auto-flow: row; grid-template-columns: 1fr; gap: 22px; } .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 0; } .steps li::before { margin: 0; grid-row: span 2; } .steps li::after { top: 46px; left: 22px; width: 1.5px; height: calc(100% - 24px); right: auto; background: repeating-linear-gradient(180deg, var(--blue-200) 0 6px, transparent 6px 12px); } }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.filter:hover { border-color: var(--blue-300); color: var(--blue-700); }
.filter[aria-pressed="true"], .filter[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter .count { font-size: .76rem; opacity: .7; }
.project-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project-card .p-media { aspect-ratio: 16 / 9; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.project-card .p-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.project-card:hover .p-media img { transform: scale(1.03); }
.project-card .p-media.mock { display: grid; place-items: center; padding: 18px; background: linear-gradient(160deg, var(--blue-50), var(--surface) 60%, var(--green-50)); }
.project-card .p-media.mock .panel { width: 92%; box-shadow: var(--shadow-2); }
.project-card .p-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project-card .p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.project-card .chips { margin-top: auto; padding-top: 16px; }
.project-card[hidden] { display: none; }
.media-frame { border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); padding: clamp(10px, 1.5vw, 16px); box-shadow: var(--shadow-2); }
.media-frame img { border-radius: 14px; border: 1px solid var(--line); }
.media-caption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Product page ---------- */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.product-hero .badge { margin-bottom: 16px; }
.product-hero .hero-actions { margin-top: 26px; }
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts > div { padding: 20px 22px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } .facts > div { border-right: 0; border-bottom: 1px solid var(--line); } .facts > div:last-child { border-bottom: 0; } }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.feature .card-icon { margin: 0; width: 44px; height: 44px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.module { padding: 16px 18px; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line); }
.module strong { display: block; margin-bottom: 4px; }
.module span { font-size: .9rem; color: var(--muted); }
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.problem > div { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); }
.problem .before { background: var(--surface); border: 1px solid var(--line); }
.problem .after { background: var(--green-50); border: 1px solid var(--green-200); }
.problem h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.problem .before h3 { color: var(--muted); }
.problem .after h3 { color: var(--green-700); }
@media (max-width: 760px) { .problem { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 60px); background: var(--blue-600); color: #e4eef9; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.cta-band::after { content: ""; position: absolute; right: 120px; bottom: -160px; width: 260px; height: 260px; border-radius: 50%; background: rgba(19,184,98,.16); filter: blur(10px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .hero-actions { justify-content: flex-start; } }

/* ---------- Values / about ---------- */
.statement { font-size: clamp(1.25rem, 1rem + .9vw, 1.65rem); line-height: 1.45; color: var(--ink); font-weight: 600; max-width: 34ch; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.vm-grid .card { background: var(--surface); box-shadow: none; }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } }
.value { padding-top: 18px; border-top: 2px solid var(--blue-100); }
.value h3 { font-size: 1.08rem; }
.value p { font-size: .96rem; color: var(--muted); }

/* ---------- Technology ---------- */
.tech-group { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.tech-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin-bottom: 14px; }
.tech-group .icon { color: var(--blue-600); }
.arch { border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow-1); overflow-x: auto; }
.arch svg { min-width: 680px; width: 100%; height: auto; }
.arch text { font-family: var(--font); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 7px; }
.field .optional { font-weight: 600; color: var(--faint); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="password"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; font: inherit; font-weight: 600; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
input::placeholder, textarea::placeholder { color: var(--faint); font-weight: 500; }
input:hover, select:hover, textarea:hover { border-color: var(--blue-300); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-500); }
.errorlist { list-style: none; padding: 0; margin: 7px 0 0; color: var(--red-700); font-size: .88rem; font-weight: 700; }
.help { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-600); }
.form-card { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); background: var(--blue-50); color: var(--blue-800); font-weight: 600; margin-bottom: 20px; }
.notice.error { background: var(--red-100); color: var(--red-700); }
.notice.success { background: var(--green-50); color: var(--green-800); }
.notice .icon { margin-top: 2px; }
.messages { list-style: none; padding: 0; margin: 0 0 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 16px; }
.channel { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.channel .card-icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.channel strong { display: block; }
.channel a { font-weight: 700; word-break: break-word; }
.channel p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Call and WhatsApp cards (partials/talk_now.html) ---------- */
.talk-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; max-width: 780px; margin: 26px 0 0; padding: 0; list-style: none; }
.talk-now li { margin: 0; }
.talk-card {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.talk-card:hover { transform: translateY(-2px); border-color: var(--blue-700); box-shadow: var(--shadow-2); }
.talk-card:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.talk-icon { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-700); color: #fff; }
.talk-wa .talk-icon { background: var(--green-700); }
.talk-icon .icon { width: 22px; height: 22px; }
.talk-wa .talk-icon::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--green-500); border-radius: 50%; opacity: 0; animation: talk-ring 2.4s var(--ease) .8s 3; }
@keyframes talk-ring { 0% { opacity: .7; transform: scale(.9); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
.talk-text { display: grid; gap: 1px; min-width: 0; }
.talk-label { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.talk-text strong { font-size: 1.16rem; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.talk-note { font-size: .84rem; color: var(--muted); }
.talk-now-dark .talk-card { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; }
.talk-now-dark .talk-card:hover { border-color: #8fd3ad; background: rgba(255, 255, 255, .1); box-shadow: none; }
.talk-now-dark .talk-label { color: #8fd3ad; }
.talk-now-dark .talk-text strong { color: #fff; }
.talk-now-dark .talk-note { color: #9fb6cf; }
@media (prefers-reduced-motion: reduce) {
  .talk-card { transition: none; }
  .talk-card:hover { transform: none; }
  .talk-wa .talk-icon::after { animation: none; }
}
@media (forced-colors: active) { .talk-card { border: 1px solid CanvasText; } }

/* Quote request */
.form-section { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.form-section legend { margin: 0 0 14px; padding: 0; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quote-aside h2 { margin: 0; font-size: 1.3rem; }
.quote-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: quote-step; }
.quote-steps li { position: relative; display: grid; gap: 2px; padding-left: 46px; counter-increment: quote-step; }
.quote-steps li::before { content: counter(quote-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-weight: 700; font-size: .9rem; }
.quote-steps strong { color: var(--ink); }
.quote-steps span { color: var(--muted); font-size: .92rem; }
.quote-aside .channel a { display: block; }
.map-facade { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 4 / 3; }
.map-facade .map-art { position: absolute; inset: 0; background-color: #eaf1f8; background-image:
    linear-gradient(115deg, transparent 46%, #fff 46.5%, #fff 49%, transparent 49.5%),
    linear-gradient(25deg, transparent 58%, #fff 58.5%, #fff 60%, transparent 60.5%),
    linear-gradient(160deg, transparent 30%, #dfe9f3 30.5%, #dfe9f3 40%, transparent 40.5%),
    radial-gradient(#d2deeb 1px, transparent 1.2px); background-size: auto, auto, auto, 18px 18px; }
.map-facade .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); color: var(--blue-600); }
.map-facade .pin .icon { width: 44px; height: 44px; fill: var(--blue-600); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 6px 10px rgba(11,45,90,.3)); }
.map-facade .map-actions { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--radius-s); background: rgba(255,255,255,.95); box-shadow: var(--shadow-2); font-size: .88rem; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Prose (legal, docs) ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.18rem; margin-top: 1.8em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { font-family: var(--mono); font-size: .88rem; background: var(--navy); color: #e2ebf7; padding: 18px 20px; border-radius: var(--radius-s); overflow-x: auto; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--surface); }
.prose blockquote { margin: 0 0 1.2em; padding: 12px 18px; border-left: 4px solid var(--blue-300); background: var(--blue-50); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--blue-900); }
.prose img { border-radius: var(--radius-s); border: 1px solid var(--line); }
.updated { font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hero-grad); color: #c3d6ea; font-size: .95rem; }
.site-footer a { color: #d5e1f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px 28px; padding-block: clamp(48px, 6vw, 76px); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand .motto { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.footer-brand p { max-width: 36ch; }
.footer-col h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 8px; margin-top: 16px; }
.footer-contact span, .footer-contact a { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--green-400); }
.social { display: flex; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.social a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.18); font-size: .82rem; font-weight: 700; }
.social a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-status { display: inline-flex; align-items: center; gap: 9px; }
@media (max-width: 1040px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border-radius: var(--pill); background: var(--green-700); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-3); }
.wa-float:hover { background: var(--green-800); color: #fff; }
.wa-float .icon { width: 24px; height: 24px; }
/* Icon only at every width; the link's aria-label and title carry the name. */
.wa-float span { display: none; }
.wa-float { transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { transform: translateY(-2px) scale(1.05); }

/* ---------- Page loader: navigation bar and first-visit splash (js/boot.js, js/loader.js) ---------- */
.sg-ring { position: relative; display: grid; place-items: center; width: 124px; height: 124px; }
.sg-ring i { position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--blue-100); border-top-color: var(--blue-600); border-right-color: var(--green-500); animation: sg-spin .9s linear infinite; }
.sg-ring img { width: 72px; height: 72px; border-radius: 50%; animation: sg-pulse 1.4s ease-in-out infinite; }
@keyframes sg-spin { to { transform: rotate(360deg); } }
@keyframes sg-pulse { 50% { transform: scale(.92); } }
.sg-loading { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity .25s var(--ease), visibility .25s; }
.sg-loading.is-active { opacity: 1; visibility: visible; }
.sg-splash { display: none; }
html.sg-splash-on .sg-splash {
  position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, #eef6ff 0%, #fff 70%);
  /* Never stays if the script fails. */
  animation: sg-splash-out .35s var(--ease) 1.8s forwards;
}
html.sg-splash-on body { overflow: hidden; }
.sg-splash.is-leaving { opacity: 0; transition: opacity .3s var(--ease); }
.sg-splash-inner { display: grid; justify-items: center; gap: 18px; }
.sg-splash-logo { display: block; width: 190px; height: auto; }
.sg-splash-motto { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-800); white-space: nowrap; }
.sg-dots::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: sg-dots 1.2s steps(4, end) infinite; }
@keyframes sg-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@keyframes sg-splash-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .sg-ring i, .sg-ring img, .sg-dots::after { animation: none; }
  html.sg-splash-on .sg-splash { display: none; }
}

/* ---------- Error pages ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.error-code { font-size: clamp(4rem, 3rem + 6vw, 7.5rem); font-weight: 700; line-height: 1; color: var(--blue-100); letter-spacing: -.04em; margin-bottom: 8px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }
.js .reveal-group.is-visible > *:nth-child(2) { transition-delay: .07s; }
.js .reveal-group.is-visible > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-group.is-visible > *:nth-child(4) { transition-delay: .21s; }
.js .reveal-group.is-visible > *:nth-child(5) { transition-delay: .28s; }
.js .reveal-group.is-visible > *:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-group > *, .js .stackviz > div { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .dot-live, .stackviz.is-in > .panel-c { animation: none !important; }
  .btn, .card, .link-arrow .icon { transition: none !important; }
}

/* ---------- Page additions ---------- */
.no-js .js-only { display: none !important; }
.hero-actions-center { justify-content: center; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; }
.thanks-icon .icon { width: 30px; height: 30px; }
.error-logo { margin: 0 auto 28px; }
.project-card-next { display: flex; flex-direction: column; justify-content: center; border-style: dashed; border-color: var(--line-strong); box-shadow: none; background: var(--surface); }
.problem-single { grid-template-columns: 1fr; }
.steps-compact { grid-auto-flow: row; grid-template-columns: 1fr; gap: 22px; }
.steps-compact li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 0; }
.steps-compact li::before { margin: 0; grid-row: span 2; }
.steps-compact li::after { top: 46px; left: 22px; width: 1.5px; height: calc(100% - 24px); right: auto; background: repeating-linear-gradient(180deg, var(--blue-200) 0 6px, transparent 6px 12px); }
.cross-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cross-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.cross-list li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--red-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.arch-heads text { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.arch .t { font-size: 15px; font-weight: 700; fill: var(--ink); }
.arch .s { font-size: 12.5px; font-weight: 600; fill: var(--muted); }
.arch-node rect { fill: var(--blue-50); stroke: var(--blue-200); stroke-width: 1.4; }
.arch-svc rect { fill: #fff; stroke: var(--line-strong); stroke-width: 1.2; }
.arch-svc .t { font-size: 14px; }
.arch-data rect { fill: var(--green-50); stroke: var(--green-200); stroke-width: 1.4; }
.arch-monitor rect { fill: var(--surface); stroke: var(--green-200); stroke-width: 1.2; stroke-dasharray: 5 4; }
.arch-monitor .t { font-size: 13.5px; font-weight: 600; fill: var(--green-800); }

/* ---------- Partners ---------- */
.partner-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; max-width: 760px; margin: 28px 0 0; padding: 0; list-style: none; }
.partner-band .partner-stats { max-width: none; margin: 0 0 18px; }
.partner-stats li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.partner-stat-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.partner-stat-icon .icon { width: 22px; height: 22px; }
.partner-stats strong { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--blue-700); }
.partner-stats strong + span { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.partner-toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.partner-toolbar .filters { margin-bottom: 0; }
.partner-search { position: relative; flex: 0 1 320px; margin: 0; }
.partner-search .icon { position: absolute; top: 50%; left: 15px; width: 18px; height: 18px; color: var(--faint); transform: translateY(-50%); pointer-events: none; }
.partner-search input { width: 100%; padding: 10px 16px 10px 42px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; }
.partner-search input:focus { outline: none; border-color: var(--blue-400); box-shadow: var(--ring); background: #fff; }
.partner-card { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 110px; }
.partner-card[hidden] { display: none; }
/* Closed cards share their row height so the toggles line up; once one is
   open, the others keep their own height instead of stretching to match. */
.partner-grid:has(.partner-details[open]) { align-items: start; }
.partner-card > * { margin: 0; }
.partner-card:target { border-color: var(--blue-300); box-shadow: var(--shadow-2), var(--ring); }
.partner-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.partner-logo { display: flex; align-items: center; height: 72px; }
.partner-logo img { width: auto; height: 72px; object-fit: contain; }
.partner-tag { flex: none; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.partner-card h3 { font-size: 1.18rem; color: var(--blue-700); }
.partner-focus { color: var(--text); font-weight: 600; }
.partner-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.partner-mark { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; line-height: 1; }
.partner-mark.tone-2 { border-color: var(--green-100); background: var(--green-50); color: var(--green-800); }
.partner-mark.tone-3 { border-color: var(--blue-700); background: var(--blue-600); color: #fff; }
.partner-mark.tone-4 { border-color: var(--navy); background: var(--navy); color: #fff; }
.partner-mark-sm { width: 44px; height: 44px; border-radius: 12px; font-size: .8rem; }
.partner-details { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.partner-details summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--blue-700); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.partner-details summary::-webkit-details-marker { display: none; }
.partner-details summary .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.partner-details[open] summary .icon { transform: rotate(180deg); }
.partner-details summary:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
.partner-details-body { display: grid; gap: 14px; padding-top: 14px; }
.partner-details-body > * { margin: 0; }
.partner-work-title { margin: 0 0 8px; color: var(--faint); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.partner-work { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.partner-work li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.partner-work .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--green-600); }
.partner-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.partner-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.partner-site .icon { width: 16px; height: 16px; }
.partner-card-next { min-height: 240px; }
.partner-empty { margin: 0 0 24px; }
.partner-empty[hidden] { display: none; }
.partner-way { display: flex; flex-direction: column; }
.partner-way h3 { margin-bottom: 8px; }
.partner-way-link { margin: auto 0 0; padding-top: 14px; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.partner-logos a { display: flex; align-items: center; justify-content: center; gap: 12px; height: 104px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--ink); font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.partner-logos a:hover, .partner-logos a:focus-visible { border-color: var(--blue-200); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.partner-logos picture { display: flex; flex: none; }
.partner-logos img { width: auto; height: 60px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .partner-details summary .icon, .partner-logos a { transition: none; } .partner-logos a:hover { transform: none; } }
@media (forced-colors: active) { .partner-mark, .partner-tag { border: 1px solid CanvasText; } }

/* ---------- Cookie consent ---------- */
.link-button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-button:hover { text-decoration-thickness: 2px; }
.cookie-bar { position: fixed; inset: auto 0 0 0; z-index: 70; padding-block: 14px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -18px 40px -26px rgba(8, 48, 102, .45); }
.cookie-bar[hidden] { display: none; }
.cookie-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.cookie-bar-text { flex: 1 1 460px; min-width: 0; }
.cookie-bar-title { margin: 0 0 2px; font-size: 1rem; color: var(--ink); }
.cookie-bar-text p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text); }
.cookie-bar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
html.has-cookie-bar body { padding-bottom: var(--cookie-bar-h, 0px); }
html.has-cookie-bar .wa-float { bottom: calc(var(--cookie-bar-h, 0px) + 18px); }
/* Back-to-top button: bottom-left, clear of the chat and WhatsApp buttons. Shown once the page is scrolled. */
.to-top { position: fixed; left: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--blue-700); box-shadow: var(--shadow-3); cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s; }
.to-top:hover { transform: translateY(-2px) scale(1.05); background: var(--blue-700); color: #fff; }
.to-top:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
html.has-cookie-bar .to-top { bottom: calc(var(--cookie-bar-h, 0px) + 18px); }
@media (max-width: 640px) {
  .cookie-bar { padding-block: 10px; }
  .cookie-bar-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cookie-long { display: none; }
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions .btn { flex: 1 1 auto; min-height: 38px; padding-inline: 10px; }
}

.cookie-dialog { width: min(620px, calc(100vw - 24px)); max-height: min(88vh, 780px); padding: 0; border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow-3); }
.cookie-dialog:modal { overscroll-behavior: contain; }
.cookie-dialog::backdrop { background: rgba(7, 29, 56, .55); overflow: hidden; overscroll-behavior: contain; }
.cookie-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 6px; }
.cookie-dialog-head h2 { margin: 0 0 4px; font-size: 1.35rem; color: var(--ink); }
.cookie-dialog-head p { margin: 0; color: var(--muted); }
.cookie-dialog-close { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.cookie-dialog-close:hover { background: var(--surface); }
.cookie-dialog-close:focus-visible { outline: none; box-shadow: var(--ring); }
.cookie-dialog-close .icon { width: 18px; height: 18px; }
.cookie-cats { list-style: none; margin: 0; padding: 10px 24px 4px; }
.cookie-cat { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-cat-head label { font-weight: 700; color: var(--ink); cursor: pointer; }
.cookie-cat p { margin: 6px 0 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.cookie-cat-status { display: block; margin-top: 4px; font-size: .84rem; color: var(--faint); }
.cookie-dialog-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 24px 22px; border-top: 1px solid var(--line); background: #fff; }
.cookie-dialog-actions .btn:first-child { margin-right: auto; }
@media (max-width: 480px) {
  .cookie-dialog-head { padding: 20px 18px 4px; }
  .cookie-cats { padding-inline: 18px; }
  .cookie-dialog-actions { padding-inline: 18px; }
  .cookie-dialog-actions .btn { flex: 1 1 auto; }
  .cookie-dialog-actions .btn:first-child { margin-right: 0; }
}

.switch { position: relative; display: inline-flex; flex: none; width: 46px; height: 28px; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { position: absolute; inset: 0; border-radius: var(--pill); background: var(--line-strong); transition: background-color .2s var(--ease); }
.switch-track::before { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform .2s var(--ease); }
.switch input:checked + .switch-track { background: var(--green-600); }
.switch input:checked + .switch-track::before { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { box-shadow: var(--ring); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch-track { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .switch-track, .switch-track::before { transition: none; } }
@media (forced-colors: active) {
  .switch-track { border: 1px solid CanvasText; background: Canvas; }
  .switch-track::before { background: CanvasText; }
  .switch input:checked + .switch-track { background: Highlight; }
}

@media print {
  .utility, .site-header, .site-footer, .wa-float, .to-top, .cta-band, .cookie-bar, .sg-splash, .sg-loading { display: none !important; }
  html.has-cookie-bar body { padding-bottom: 0; }
  body { color: #000; }
}

/* ==========================================================================
   Services page and Year book: one block at the end of the file, so it merges
   cleanly with edits above. Classes are prefixed svc- and yb-.
   ========================================================================== */

/* ---------- Services page ---------- */
/* Trust strip: figures counted from the published catalogue. */
.svc-figures { background: #fff; border-bottom: 1px solid var(--line); }
.svc-figures-inner { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 14px 32px; align-items: center; padding-block: 22px; }
.svc-figures-head h2 { margin: 0 0 4px; color: var(--ink); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.svc-figures-head p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.svc-figures-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-figures-list a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--muted); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.svc-figures-list a:hover { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue-800); }
.svc-figures-list strong { color: var(--blue-700); font-size: 1.85rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.svc-figures-list span { font-size: .76rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
@media (max-width: 860px) { .svc-figures-inner { grid-template-columns: 1fr; } }

/* Service cards: two large flagship cards, then compact ones. The whole card
   is the quote link; product chips sit above it so they stay clickable. */
.svc-flagship, .svc-grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.svc-flagship { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(16px, 2.2vw, 24px); }
.svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .svc-flagship { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; scroll-margin-top: 110px; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card .muted { margin-bottom: 16px; }
.svc-card-lg { padding: clamp(24px, 3vw, 36px); background: linear-gradient(150deg, #fff 55%, var(--blue-50)); }
.svc-card-lg:nth-child(2) { background: linear-gradient(150deg, #fff 55%, var(--green-50)); }
.svc-card-lg h3 { font-size: clamp(1.3rem, 1.1rem + .55vw, 1.6rem); }
.svc-card-label { margin: 4px 0 12px; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.svc-card .tick-list { margin-bottom: 22px; }
.svc-card-products { margin-bottom: 18px; }
.svc-card .chips a { position: relative; z-index: 1; }
.svc-card-cta { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.svc-card .svc-card-cta .stretched { color: var(--blue-600); }
.svc-card:hover .svc-card-cta .stretched { color: var(--blue-700); }
.svc-card:hover .link-arrow .icon { transform: translateX(3px); }
.svc-card:target { border-color: var(--blue-300); box-shadow: var(--shadow-2), var(--ring); }

/* How we deliver: numbered steps. */
.svc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); margin: 0; padding: 0; list-style: none; }
.svc-steps li { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.svc-steps li::before { content: ""; position: absolute; top: -1px; left: 24px; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue-500); }
.svc-steps li:nth-child(even)::before { background: var(--green-500); }
.svc-step-num { display: block; margin-bottom: 12px; color: var(--blue-600); font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.svc-steps li:nth-child(even) .svc-step-num { color: var(--green-700); }
.svc-steps h3 { margin-bottom: 6px; font-size: 1.1rem; }
.svc-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-steps { grid-template-columns: 1fr; } }

/* Sectors as chips beside their heading. */
.svc-sectors-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(28px, 5vw, 72px); align-items: center; }
.svc-sectors-layout .section-head { margin-bottom: 0; }
.svc-sectors { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-sector { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; color: var(--ink); font-weight: 700; line-height: 1.3; box-shadow: var(--shadow-1); }
.svc-sector .icon { color: var(--blue-600); }
.svc-sector:nth-child(even) .icon { color: var(--green-700); }
@media (max-width: 900px) { .svc-sectors-layout { grid-template-columns: 1fr; } }

/* Why STACKGee: reuses .feature; each block links to where it can be seen. */
.svc-why .feature h3 { margin-bottom: 6px; }
.svc-why .svc-why-link { margin-top: 12px; font-size: .92rem; }

/* Technologies as pills, one row per group. */
.svc-tech { margin: 0; border-top: 1px solid var(--line); }
.svc-tech-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 10px 28px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.svc-tech dt { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.svc-tech dt .icon { color: var(--blue-600); }
.svc-tech dd { margin: 0; }
@media (max-width: 720px) { .svc-tech-row { grid-template-columns: 1fr; } }

/* Featured case study. */
.svc-case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: 0; overflow: hidden; }
.svc-case-media { background: var(--surface-2); border-right: 1px solid var(--line); }
.svc-case-media picture { height: 100%; }
.svc-case-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.svc-case-mock { display: grid; place-items: center; padding: 24px; background: linear-gradient(160deg, var(--blue-50), var(--surface) 60%, var(--green-50)); }
.svc-case-mock .panel { width: 92%; box-shadow: var(--shadow-2); }
.svc-case-body { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 36px); }
.svc-case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.svc-case h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.svc-case .tick-list { margin: 4px 0 22px; }
.svc-case-cta { margin: auto 0 0; }
@media (max-width: 860px) { .svc-case { grid-template-columns: 1fr; } .svc-case-media { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); } }

/* Questions: native <details>, no script needed. */
.svc-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(28px, 5vw, 72px); align-items: start; }
.svc-faq-layout .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .svc-faq-layout { grid-template-columns: 1fr; } }
.svc-faq { border-top: 1px solid var(--line); }
.svc-faq-item { border-bottom: 1px solid var(--line); }
.svc-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; color: var(--ink); font-size: 1.06rem; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item summary:hover { color: var(--blue-700); }
.svc-faq-item summary:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }
.svc-faq-item summary .icon { width: 20px; height: 20px; color: var(--blue-600); transition: transform .2s var(--ease); }
.svc-faq-item[open] summary .icon { transform: rotate(180deg); }
.svc-faq-item p { max-width: 68ch; margin: 0; padding: 0 4px 20px; color: var(--text); }

/* Closing call to action: quote, then call, then WhatsApp, in falling emphasis. */
.svc-cta { grid-template-columns: minmax(0, 1fr); }
.svc-cta .hero-actions { justify-content: flex-start; align-items: center; }
.svc-cta-num { color: #d8e7f8; font-weight: 600; }
.svc-cta-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 4px; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.svc-cta-wa:hover { color: #fff; text-decoration-thickness: 2.5px; }
.svc-cta-wa .icon { width: 20px; height: 20px; }
.svc-cta :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .svc-faq-item summary .icon, .svc-figures-list a { transition: none; }
  .svc-card:hover .link-arrow .icon { transform: none; }
}

/* ---------- Year book ---------- */
/* On screen: a sheet of paper on the page surface. In print: each section
   starts on a new A4 page, with the site chrome hidden (see @media print). */
.yb-desk { background: var(--surface); border-bottom: 1px solid var(--line); }
.yb-wrap { max-width: 1000px; padding-block: 24px clamp(48px, 7vw, 96px); }
.yb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.yb-toolbar .breadcrumbs { margin: 0; }
.yb-print { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.yb-print p { margin: 0; }
.yb { counter-reset: yb-section; padding: clamp(20px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-2); }

.yb-cover { display: flex; flex-direction: column; align-items: center; padding: clamp(16px, 4vw, 40px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); text-align: center; }
.yb-cover picture { width: min(240px, 62%); margin-bottom: 28px; }
.yb-cover picture img { width: 100%; height: auto; }
.yb-cover h1 { max-width: none; margin: 0; font-size: clamp(2.3rem, 1.6rem + 3vw, 3.75rem); line-height: 1.05; letter-spacing: -.03em; }
.yb-cover-kicker { display: block; margin-bottom: 12px; color: var(--green-700); font-size: .8rem; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.yb-cover-motto { margin: 16px 0 0; color: var(--blue-700); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 700; }
.yb-cover-rule { display: block; width: 120px; height: 4px; margin: 26px auto; border-radius: 4px; background: linear-gradient(90deg, var(--blue-600), var(--green-500)); }
.yb-cover-place { margin: 0; color: var(--muted); font-weight: 600; }

.yb-contents { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.yb-contents h2 { margin-bottom: 12px; font-size: 1.3rem; }
.yb-contents ol { margin: 0; padding: 0; list-style: none; columns: 2 16rem; column-gap: 32px; counter-reset: yb-contents; }
.yb-contents li { break-inside: avoid; counter-increment: yb-contents; }
.yb-contents a { display: flex; align-items: baseline; gap: 14px; padding: 9px 2px; border-bottom: 1px dashed var(--line-strong); color: var(--ink); font-weight: 700; text-decoration: none; }
.yb-contents a::before { content: counter(yb-contents, decimal-leading-zero); min-width: 2ch; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.yb-contents a:hover { color: var(--blue-700); border-bottom-color: var(--blue-300); }

.yb-section { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); counter-increment: yb-section; scroll-margin-top: 96px; }
.yb-head { max-width: 720px; margin-bottom: 24px; }
.yb-head::before { content: counter(yb-section, decimal-leading-zero); display: block; margin-bottom: 6px; color: var(--green-700); font-size: .85rem; font-weight: 700; letter-spacing: .14em; }
.yb-head h2 { margin-bottom: 8px; }
.yb-head .lead { margin: 0; }
.yb-prose { max-width: 66ch; }
.yb-prose p { font-size: 1.08rem; }
.yb-signature { margin-top: 24px; color: var(--ink); font-weight: 700; }

.yb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.yb-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.yb-item h3 { margin-bottom: 6px; font-size: 1.08rem; }
.yb-item p { margin: 0 0 10px; }
.yb-item > :last-child, .yb-item > div > :last-child { margin-bottom: 0; }
.yb-feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.yb-feature .card-icon { width: 44px; height: 44px; margin: 0; }
.yb-feature p { color: var(--muted); font-size: .95rem; }
.yb-statement { background: var(--surface); }
.yb-statement p { color: var(--ink); font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
.yb-subhead { margin: 28px 0 8px; }
.yb-values { margin: 0; padding: 0; list-style: none; }
.yb-values li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.yb-values span { color: var(--muted); }
.yb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.yb-item .yb-meta { margin-bottom: 10px; }
.yb-tagline { color: var(--ink); font-weight: 700; }
.yb-product + .yb-product, .yb-project + .yb-project { margin-top: 16px; }
.yb-product .tick-list { margin: 12px 0 14px; }
.yb-links { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--muted); font-size: .92rem; }
.yb-links a { font-weight: 700; overflow-wrap: anywhere; }
.yb-icon-title { display: flex; align-items: center; gap: 10px; }
.yb-icon-title .icon { color: var(--blue-600); }
.yb-small { gap: 6px; font-size: .92rem; }
.yb-project.has-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; align-items: start; }
.yb-project .chips { margin: 4px 0 12px; }
.yb-project-media img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-xs); }
.yb-partner { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; }
.yb-partner-logo { display: flex; justify-content: center; }
.yb-partner-logo picture { flex: none; }
.yb-partner-logo img { width: 84px; height: auto; object-fit: contain; }
.yb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.yb-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
.yb-step-num { color: var(--blue-600); font-size: 1.6rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.yb-steps li:nth-child(even) .yb-step-num { color: var(--green-700); }
.yb-steps p { color: var(--muted); font-size: .95rem; }
.yb-note { margin: 20px 0 0; padding: 14px 18px; border-left: 3px solid var(--blue-300); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; background: var(--blue-50); color: var(--blue-900); }
.yb-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-s); }
.yb-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.yb-table th, .yb-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.yb-table thead th { background: var(--surface); color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.yb-table tbody tr:last-child > * { border-bottom: 0; }
.yb-table tbody th { color: var(--ink); }
.yb-table a { font-weight: 700; overflow-wrap: anywhere; }
.yb-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.yb-contact li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.yb-contact .icon { margin-top: 3px; color: var(--green-700); }
.yb-contact strong { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.yb-contact a { font-weight: 700; overflow-wrap: anywhere; }
/* Narrow screens only: a printed page keeps its two columns whatever width the
   browser reports for the paper. */
@media screen and (max-width: 760px) { .yb-project.has-media { grid-template-columns: 1fr; } }
@media screen and (max-width: 680px) {
  .yb-grid, .yb-steps, .yb-contact { grid-template-columns: 1fr; }
  .yb-values li { grid-template-columns: 1fr; }
  /* The systems table becomes one block per system. */
  .yb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .yb-table, .yb-table tbody, .yb-table tr, .yb-table th, .yb-table td { display: block; }
  .yb-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .yb-table tbody tr:last-child { border-bottom: 0; }
  .yb-table th, .yb-table td { padding: 0; border: 0; }
  .yb-table td { margin-top: 4px; }
}

/* About page: the link to the year book. */
.yb-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; margin-bottom: 24px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.yb-promo .card-icon { margin: 0; }
.yb-promo h2 { margin: 0 0 4px; font-size: 1.3rem; }
.yb-promo p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .yb-promo { grid-template-columns: auto minmax(0, 1fr); } .yb-promo .btn { grid-column: 1 / -1; justify-self: start; } }

@media print {
  @page yearbook {
    size: A4;
    margin: 16mm 16mm 18mm;
    @bottom-center { content: counter(page); color: #555; font-family: "Quicksand", sans-serif; font-size: 9pt; }
  }
  @page yearbook:first { @bottom-center { content: none; } }
  html:has(.yb) { font-size: 13.5px; }
  body:has(.yb) { page: yearbook; }
  .yb-toolbar, .assist { display: none !important; }
  .yb-desk { background: none; border: 0; }
  .yb-wrap { max-width: none; padding: 0; }
  .yb { padding: 0; border: 0; border-radius: 0; box-shadow: none; color: #1a1a1a; }
  .yb h1, .yb h2, .yb h3 { color: #06264a; break-after: avoid; }
  .yb h2 { font-size: 21pt; }
  .yb h3 { font-size: 12pt; }
  .yb p, .yb li { orphans: 3; widows: 3; }
  .yb a { color: inherit; text-decoration: none; }
  .yb-cover { justify-content: center; min-height: 250mm; padding: 0; border: 0; break-after: page; }
  .yb-cover picture { width: 70mm; }
  .yb-cover h1 { font-size: 34pt; }
  .yb-cover-rule, .yb .tick-list li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .yb-contents { margin: 0; padding: 0; border: 0; background: none; break-after: page; }
  .yb-contents ol { columns: 1; }
  .yb-section { margin: 0; padding: 0; border: 0; break-before: page; }
  .yb-item, .yb-values li, .yb-steps li, .yb-contact li, .yb-table tr, .yb-note { break-inside: avoid; }
  .yb-item { padding: 10pt 12pt; border-color: #cfd8e3; }
  .yb-statement, .yb-note, .yb-table thead th { background: none; }
  .yb .badge { padding: 1pt 7pt; border: 1px solid currentColor; background: none; }
  .yb .chip { border-color: #b9c5d3; }
  .yb .card-icon { border: 1px solid #cfd8e3; background: none; }
  .yb-table-wrap { overflow: visible; border-color: #cfd8e3; }
}


/* Hero trusted-by line (home.html hero) */
.hero-trusted { margin: 22px 0 0; padding: 0; color: #aebfd6; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-trusted b { color: var(--green-400); font-weight: inherit; margin-inline-end: 6px; }
.hero-trusted span { color: #fff; font-weight: 700; letter-spacing: .04em; text-transform: none; }

/* Services tiles (home.html services-grid cards): coloured icon chip + hover lift */
.services-grid .card { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.services-grid .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--blue-200); }
.services-grid .card-icon { width: 54px; height: 54px; border-radius: 16px; }
.services-grid .card:nth-child(1) .card-icon { background: var(--blue-50);    color: var(--blue-700); }
.services-grid .card:nth-child(2) .card-icon { background: var(--green-50);   color: var(--green-700); }
.services-grid .card:nth-child(3) .card-icon { background: #fff2e4;           color: #c2410c; }
.services-grid .card:nth-child(4) .card-icon { background: #ecfdf3;           color: var(--green-700); }
.services-grid .card:nth-child(5) .card-icon { background: #ede9fe;           color: #5b21b6; }
.services-grid .card:nth-child(6) .card-icon { background: #e0f2fe;           color: #0369a1; }
.services-grid .card:nth-child(n) .card-icon .icon { width: 26px; height: 26px; }

/* Social icon chips (footer) */
.social a { padding: 0; width: 40px; min-width: 40px; }
.social a .icon { width: 18px; height: 18px; }

/* About page stats strip (figures reused) */
.about-stats { margin: 0 0 clamp(40px, 6vw, 60px); }
.about-stats .figures { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* About split headline */
.about-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin: 0 0 clamp(40px, 6vw, 60px); }
.about-split h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.about-split p { margin: 0; color: var(--text); font-size: 1.05rem; }
.about-split .lead { color: var(--ink); }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }

/* Real brand marks for the footer social icons: filled fill, no stroke. */
.social .icon { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.social a { color: #c3d6ea; }
.social a:hover, .social a:focus-visible { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }

/* ===========================================================================
   Card hover system: every card surface (including ones that are not links)
   gets a subtle lift and accent border on hover, with the icon chip tilting
   slightly and the "Learn more" link's arrow sliding to the right.
   Keeps ambient motion reduced when the reader asks for it.
   =========================================================================== */
.card { cursor: default; }
.card:is(:hover, :focus-within) { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--blue-200); }
.card .card-icon { transition: transform .25s var(--ease), background-color .25s, color .25s; }
.card:is(:hover, :focus-within) > .card-icon,
.card:is(:hover, :focus-within) .card-icon:first-of-type { transform: rotate(-4deg) scale(1.04); background: var(--blue-100); color: var(--blue-800); }
.card:is(:hover, :focus-within) .card-icon.green { background: var(--green-100); color: var(--green-800); }
.card .link-arrow { transition: color .2s, gap .2s; gap: 8px; }
.card:is(:hover, :focus-within) .link-arrow { color: var(--blue-700); gap: 12px; }
.card .link-arrow .icon { transition: transform .25s var(--ease); }
.card:is(:hover, :focus-within) .link-arrow .icon { transform: translateX(4px); }

/* Goal cards: the number swaps to the brand blue on hover */
.goal .num { transition: color .2s; }
.goal:is(:hover, :focus-within) .num { color: var(--blue-700); }

/* Project cards: the media frame lifts slightly in step with the card */
.project-card .p-media { overflow: hidden; }

/* Project thumbnails: the screenshot sits in a browser-window frame on a
   brand backdrop (navy to green, faint dot grid). The frame rises on hover. */
.project-card .p-media:not(.mock) { position: relative; isolation: isolate; padding: 16px 16px 0; border-bottom: 0; background: linear-gradient(145deg, #0a2647 0%, #12407f 58%, #17805c 130%); }
.project-card .p-media:not(.mock)::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); mask-image: linear-gradient(200deg, #000, transparent 70%); }
.project-card .p-frame { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 10px 10px 0 0; background: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project-card .p-bar { display: flex; flex: none; align-items: center; gap: 5px; height: 22px; padding-inline: 10px; background: #eef3f9; border-bottom: 1px solid #dde6f0; }
.project-card .p-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c5d2e2; }
.project-card .p-bar i:first-child { background: #f2a29b; }
.project-card .p-bar i:nth-child(2) { background: #f3cf7a; }
.project-card .p-bar i:nth-child(3) { background: #8fd3ad; }
.project-card .p-frame picture { display: block; flex: 1; min-height: 0; }
.project-card .p-frame img { display: block; transition: none; }
.project-card:is(:hover, :focus-within) .p-frame { transform: translateY(-6px); box-shadow: 0 26px 48px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .2); }
.project-card:is(:hover, :focus-within) .p-frame img, .project-card:hover .p-frame img { transform: none; }
@media (prefers-reduced-motion: reduce) { .project-card .p-frame { transition: none; } .project-card:is(:hover, :focus-within) .p-frame { transform: none; } }

/* Voice (testimonial) cards: subtle lift + blue quote glyph */
.voice { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.voice:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--blue-200); }

/* Secure-band tiles (dark panel): soft glow on hover */
.secure-list li { transition: background .25s, border-color .25s, transform .25s var(--ease); }
.secure-list li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); transform: translateY(-2px); }

/* Process steps: the counter chip flips to filled blue on hover */
.steps li::before { transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.steps li:hover::before { background: var(--blue-600); color: #fff; border-color: var(--blue-600); transform: scale(1.06); }

/* Figures (About stats): blue accent on the icon chip */
.figures li { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.figures li:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: var(--blue-200); }
.figures .figure-icon { transition: background .2s, color .2s, transform .25s var(--ease); }
.figures li:hover .figure-icon { background: var(--green-100); color: var(--green-800); transform: rotate(-4deg); }

/* Partner logo cards already lift; refine the border colour to the brand blue */
.partner-logos a { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.partner-logos a:hover { border-color: var(--blue-300); }

/* Why STACKGee list items (home): subtle hover */
.why-list li { transition: transform .25s var(--ease); }
.why-list li:hover { transform: translateX(3px); }

/* Visually hide every hover motion when the reader asks for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .card, .card .card-icon, .card .link-arrow .icon, .project-card .p-media img,
  .voice, .secure-list li, .steps li::before, .figures li, .figures .figure-icon,
  .partner-logos a, .why-list li { transition: none !important; }
  .card:hover, .voice:hover, .secure-list li:hover, .steps li:hover::before,
  .figures li:hover, .partner-logos a:hover, .why-list li:hover { transform: none !important; }
}

/* ===========================================================================
   Atmosphere: on-brand decorative patterns that read as monitoring,
   not botany. Always behind content, always off under reduced motion.
   =========================================================================== */

/* "Counted, not claimed" proof band: a faint dot grid that fades out
   toward the Why STACKGee column, so the right side reads clean. */
.proof { position: relative; isolation: isolate; overflow: hidden; }
.proof::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(10, 79, 145, .10) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 18% 50%, #000 20%, transparent 70%);
          mask-image: radial-gradient(60% 70% at 18% 50%, #000 20%, transparent 70%);
}

/* CTA band: an orbit ring already lives on ::before and a green blur on
   ::after; add a slow drift to the orbit so the surface breathes.
   Reduced motion freezes the ring in place. */
@media (prefers-reduced-motion: no-preference) {
  .cta-band::before { animation: cta-orbit 22s linear infinite; }
  .cta-band::after  { animation: cta-glow 11s ease-in-out infinite alternate; }
}
@keyframes cta-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes cta-glow {
  from { opacity: .55; transform: translate(0, 0); }
  to   { opacity: 1;   transform: translate(-30px, -10px); }
}

/* Security band already carries a crosshatch grid behind it; sharpen the
   intersections with small marker dots to read as monitoring targets. */
.secure::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(76, 214, 138, .32) 1.4px, transparent 1.6px);
  background-size: 132px 132px;
  background-position: 11px 11px;
  -webkit-mask-image: radial-gradient(70% 70% at 80% 10%, #000, transparent 70%);
          mask-image: radial-gradient(70% 70% at 80% 10%, #000, transparent 70%);
}
.secure .container { position: relative; z-index: 1; }

/* Ecosystem strip: fine divider line underneath each running-system card. */
.eco-list li { position: relative; }
.eco-list li::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--green-500);
  transition: left .25s var(--ease), right .25s var(--ease);
}
.eco-list li:hover::after, .eco-list li:focus-within::after { left: 20%; right: 20%; }

/* ===========================================================================
   Running systems strip: polish from a text list to tactile cards.
   =========================================================================== */
.eco-list { gap: 0; }
.eco-list a {
  position: relative;
  gap: 8px;
  padding: 24px 20px;
  transition: background .2s, transform .25s var(--ease);
}
.eco-list a::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,95,174,.06));
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.eco-list a:hover::before, .eco-list a:focus-visible::before { opacity: 1; }
.eco-list a:hover { background: transparent; transform: translateY(-2px); }

/* The host row: round icon chip + a pulsing green dot + the hostname. */
.eco-list .host {
  position: relative;
  gap: 10px;
  padding-left: 42px;
  min-height: 32px;
  align-items: center;
}
.eco-list .host .icon {
  position: absolute;
  left: 0; top: 50%; translate: 0 -50%;
  width: 20px; height: 20px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.eco-list li:nth-child(6n+1) .host .icon { background: var(--blue-50);   color: var(--blue-700); }
.eco-list li:nth-child(6n+2) .host .icon { background: var(--green-50);  color: var(--green-700); }
.eco-list li:nth-child(6n+3) .host .icon { background: #fff2e4;          color: #c2410c; }
.eco-list li:nth-child(6n+4) .host .icon { background: #ecfdf3;          color: var(--green-700); }
.eco-list li:nth-child(6n+5) .host .icon { background: #ede9fe;          color: #5b21b6; }
.eco-list li:nth-child(6n+6) .host .icon { background: #e0f2fe;          color: #0369a1; }
.eco-list a:hover .host .icon,
.eco-list a:focus-visible .host .icon { transform: rotate(-4deg) scale(1.06); }

/* Live dot: small green indicator tucked to the top-right of the icon chip. */
.eco-list .host::after {
  content: "";
  position: absolute;
  left: 26px; top: 50%;
  translate: 0 -14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(19,184,98,.22);
}
@media (prefers-reduced-motion: no-preference) {
  .eco-list .host::after { animation: eco-pulse 2.6s ease-in-out infinite; }
}
@keyframes eco-pulse {
  0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(19,184,98,.22); }
  50%      { box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(19,184,98,.08); }
}

/* Second row (the system's name) sits level with the icon's baseline. */
.eco-list .what { padding-left: 42px; }

/* Keep the sweep underline, but make it travel through the green dot colour */
.eco-list li::after { background: linear-gradient(90deg, var(--blue-500), var(--green-500)); }

@media (max-width: 1000px) { .eco-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .eco-list li:nth-child(3n) { border-right: 0; } }
@media (max-width: 640px)  { .eco-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eco-list li { border-right: 1px solid var(--line); } .eco-list li:nth-child(2n) { border-right: 0; } }

/* ===========================================================================
   Hero animation layer: ambient life for the dark hero on the home page.
   Every effect is off under prefers-reduced-motion.
   =========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* The three mockup panels drift at different cadences so the composition
     never reads as a static image. panel-c already has a float loop; add
     gentle counter-motion on a and b. */
  .stackviz.is-in > .panel-a { animation: hero-floatA 9s ease-in-out 1.8s infinite; }
  .stackviz.is-in > .panel-b { animation: hero-floatB 7.5s ease-in-out 1.2s infinite; }

  /* The accent word "run on." draws in a bright underline after the hero
     finishes its word-by-word reveal. */
  .hero-dark h1 .accent { position: relative; display: inline-block; }
  .hero-dark h1 .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: .08em;
    height: .08em;
    background: linear-gradient(90deg, #6cc4ff, #45cf85);
    border-radius: 2px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: hero-underline 1s cubic-bezier(.22,.8,.24,1) 1.1s forwards;
  }

  /* Hero badge ("Intelligent systems, built secure.") gets a slow shimmer
     sweep so the chip feels active. */
  .hero-badge { position: relative; overflow: hidden; isolation: isolate; }
  .hero-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.14) 50%, transparent 80%);
    transform: translateX(-120%);
    animation: hero-shimmer 5s ease-in-out 2s infinite;
    pointer-events: none;
    z-index: -1;
  }

  /* The green dot at the start of the badge pulses the same cadence as the
     running-systems row, so the system reads as alive. */
  .hero-badge .icon { animation: hero-badge-pulse 2.4s ease-in-out infinite; }

  /* The dot-grid overlay on the hero slowly drifts. */
  .hero-dark::after { animation: hero-dots 24s linear infinite; }
}

@keyframes hero-floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes hero-floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }
@keyframes hero-underline { to { transform: scaleX(1); } }
@keyframes hero-shimmer { 0%, 30% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes hero-badge-pulse {
  0%, 100% { opacity: .9; filter: drop-shadow(0 0 0 rgba(69,207,133,0)); }
  50%      { opacity: 1; filter: drop-shadow(0 0 6px rgba(69,207,133,.55)); }
}
@keyframes hero-dots { from { background-position: 0 0; } to { background-position: -400px 240px; } }

/* ===========================================================================
   Running systems: a plain heading with the live status pill beside it, then
   two rows of compact cards. Each card is one line of meaning: a tinted icon
   tile, the system's name, its address, and an arrow that moves on hover.
   No per-card status dots: only the pill carries status, and it is the real one.
   =========================================================================== */
.ecosystem { border-block: 0; padding-block: clamp(34px, 4vw, 52px); background: #f6f9fd; }
.sys-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.sys-head h2 { margin: 0; color: #0b2545; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); letter-spacing: -.01em; }
.sys-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.sys-status { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #0b2545; font-size: .88rem; font-weight: 700; text-decoration: none; box-shadow: 0 1px 2px rgba(11, 45, 90, .05); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.sys-status:hover { border-color: var(--blue-200, #b9d2f3); box-shadow: 0 8px 18px -10px rgba(11, 45, 90, .35); transform: translateY(-1px); }
.sys-status .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .2s var(--ease); }
.sys-status:hover .icon { transform: translateX(3px); color: var(--blue-700); }
.sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sys-card { --tint: #e3edff; --ink: #1d4ed8; display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-decoration: none; box-shadow: 0 1px 2px rgba(11, 45, 90, .04); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.sys-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--ink); transition: background .25s, color .25s, transform .25s var(--ease); }
.sys-ico .icon { width: 22px; height: 22px; }
.sys-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.sys-name { color: #0b2545; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.sys-host { overflow: hidden; color: var(--muted); font-size: .84rem; white-space: nowrap; text-overflow: ellipsis; }
.sys-go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: #8a9ab0; transition: transform .25s var(--ease), background .25s, color .25s; }
.sys-go .icon { width: 15px; height: 15px; }
.sys-card:is(:hover, :focus-visible) { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 16px 30px -18px rgba(11, 45, 90, .45); }
.sys-card:is(:hover, :focus-visible) .sys-ico { background: var(--ink); color: #fff; transform: scale(1.04); }
.sys-card:is(:hover, :focus-visible) .sys-go { background: var(--tint); color: var(--ink); transform: translateX(3px); }
.sys-card:focus-visible, .sys-status:focus-visible { outline: 3px solid #8fd3ad; outline-offset: 3px; }
.sys-grid li:nth-child(6n+1) .sys-card { --tint: #e3edff; --ink: #1d4ed8; }
.sys-grid li:nth-child(6n+2) .sys-card { --tint: #dcf5e6; --ink: #15803d; }
.sys-grid li:nth-child(6n+3) .sys-card { --tint: #ffe9d6; --ink: #c2410c; }
.sys-grid li:nth-child(6n+4) .sys-card { --tint: #d8f5ec; --ink: #0f8a5f; }
.sys-grid li:nth-child(6n+5) .sys-card { --tint: #ebe5ff; --ink: #5b21b6; }
.sys-grid li:nth-child(6n+6) .sys-card { --tint: #dbf1ff; --ink: #0369a1; }
@media (max-width: 900px) { .sys-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sys-grid { grid-template-columns: 1fr; gap: 10px; } .sys-head { align-items: flex-start; flex-direction: column; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .sys-card, .sys-ico, .sys-go, .sys-status { transition: none; } .sys-card:is(:hover, :focus-visible), .sys-card:is(:hover, :focus-visible) .sys-ico, .sys-card:is(:hover, :focus-visible) .sys-go { transform: none; } }

/* ===========================================================================
   Hero screens: live HTML over the laptop and phone screens in the hero photo
   (templates/website/mockups/hero_screen.html). The photo is 5:4 and is never
   cropped, so the screens sit at fixed percentages of it; every size is in em
   on a base of 1cqw, so the whole thing scales with the picture.
   =========================================================================== */
.hero-shot .panel { container-type: inline-size; }
.hero-shot img { aspect-ratio: 5 / 4; }
.hs { position: absolute; overflow: hidden; font-size: 1cqw; line-height: 1.2; color: #0b2545; font-family: inherit; }
.hs b { font-weight: 700; }
.hs i, .hs em { font-style: normal; }
.hs ul { margin: 0; padding: 0; list-style: none; }
.hs .icon { width: 1em; height: 1em; }
.hs-laptop { left: 11.4%; top: 18.7%; width: 64.4%; height: 51.5%; display: grid; grid-template-columns: 12.6em minmax(0, 1fr); background: #eef2f7; }
.hs-side { display: flex; flex-direction: column; gap: .5em; padding: 2em .8em; background: #0b213a; color: #dbe6f5; }
.hs-side span { display: flex; align-items: center; gap: .65em; padding: .62em .8em; border-radius: .6em; font-size: 1.22em; font-weight: 600; white-space: nowrap; }
.hs-side .is-on { background: #1d5fd0; color: #fff; }
.hs-main { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 1em; padding: 1.5em 1.5em 1.3em; min-width: 0; }
.hs-title { font-size: 2.2em; letter-spacing: -.01em; }
.hs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9em; }
.hs-cards > div, .hs-box { background: #fff; border-radius: .8em; box-shadow: 0 .1em .3em rgba(11, 37, 69, .08); }
.hs-cards > div { display: flex; align-items: center; gap: .6em; padding: .9em .7em; min-width: 0; overflow: hidden; }
.hs-cards i { display: grid; place-items: center; flex: none; width: 2.5em; height: 2.5em; border-radius: .6em; color: #fff; }
.hs-cards i .icon { width: 1.35em; height: 1.35em; }
.hs-cards .c1 { background: #1d5fd0; } .hs-cards .c2 { background: #16a34a; } .hs-cards .c3 { background: #f0a30a; } .hs-cards .c4 { background: #6d3fd6; }
.hs-cards span { display: grid; gap: .1em; min-width: 0; color: #56657c; font-size: .98em; font-weight: 600; white-space: nowrap; }
.hs-cards span b { color: #0b2545; font-size: 1.5em; letter-spacing: -.01em; }
.hs-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: .9em; min-height: 0; }
.hs-box { display: flex; flex-direction: column; gap: .7em; padding: 1em 1.1em; min-width: 0; min-height: 0; }
.hs-box > b { font-size: 1.3em; }
.hs-bars { flex: 1; display: flex; align-items: flex-end; justify-content: space-around; gap: 1em; min-height: 0; padding-bottom: 1.5em; border-bottom: 1px solid #dfe6ef; position: relative; }
.hs-bars span { position: relative; display: flex; align-items: flex-end; gap: .3em; height: 100%; }
.hs-bars i { width: 1.9em; border-radius: .25em .25em 0 0; background: #1d5fd0; }
.hs-bars i.g { background: #16a34a; }
.hs-bars .b1 { height: 46%; } .hs-bars .b2 { height: 32%; } .hs-bars .b3 { height: 66%; } .hs-bars .b4 { height: 50%; } .hs-bars .b5 { height: 92%; } .hs-bars .b6 { height: 74%; }
.hs-bars em { position: absolute; left: 0; right: 0; bottom: -1.5em; text-align: center; color: #56657c; font-size: .95em; font-weight: 600; }
.hs-fee { flex: 1; display: flex; align-items: center; gap: 1.4em; min-height: 0; }
.hs-donut { display: grid; place-items: center; flex: none; width: 8.6em; height: 8.6em; border-radius: 50%; background: radial-gradient(#fff 0 52%, transparent 53%), conic-gradient(#16a34a 0 72%, #1d5fd0 72% 91%, #f0a30a 91% 100%); }
.hs-donut b { font-size: 1.7em; }
.hs-fee ul { flex: 1; display: grid; gap: .75em; }
.hs-fee li { display: flex; align-items: center; gap: .6em; color: #33435a; font-size: 1.18em; font-weight: 600; }
.hs-fee li i { width: .8em; height: .8em; border-radius: 50%; }
.hs-fee li b { margin-left: auto; color: #0b2545; }
.hs-fee .d1 { background: #16a34a; } .hs-fee .d2 { background: #1d5fd0; } .hs-fee .d3 { background: #f0a30a; }
.hs-tt { gap: .6em; }
.hs-grid { display: grid; grid-template-columns: 4.2em repeat(5, minmax(0, 1fr)); gap: .28em .3em; align-items: center; }
.hs-grid em, .hs-grid span { color: #56657c; font-size: .98em; font-weight: 600; text-align: center; }
.hs-grid span { text-align: left; }
.hs-grid i { padding: .42em 0; border-radius: .3em; font-size: 1em; font-weight: 600; text-align: center; }
.hs-grid .l { background: #cfe0fb; color: #174ea6; } .hs-grid .p { background: #cdeeda; color: #12733a; } .hs-grid .t { background: #fbe6b8; color: #8a5a00; }
.hs-phone { left: 81.6%; top: 44.4%; width: 14.2%; height: 34.2%; display: flex; flex-direction: column; align-items: center; padding-top: 2.2em; background: #f3f3f4; text-align: center; }
.hs-tick { display: grid; place-items: center; width: 4.4em; height: 4.4em; margin-bottom: 1em; border-radius: 50%; background: #16a34a; color: #fff; box-shadow: 0 0 0 .5em rgba(22, 163, 74, .16); }
.hs-tick .icon { width: 2.2em; height: 2.2em; }
.hs-p1 { color: #12733a; font-size: 1.28em; font-weight: 700; }
.hs-p2 { margin-top: .25em; font-size: 2em; letter-spacing: -.01em; }
.hs-p3 { margin-top: .3em; color: #33435a; font-size: 1.15em; font-weight: 600; }
.hs-phone ul { display: grid; gap: .85em; width: 100%; margin-top: 1.5em; padding: 1.3em 1.2em 0; border-top: 1px solid #dfe3ea; text-align: left; }
.hs-phone li { display: flex; align-items: center; gap: .6em; color: #33435a; font-size: 1.08em; font-weight: 600; white-space: nowrap; }
.hs-phone li .icon { box-sizing: content-box; width: .7em; height: .7em; padding: .28em; border-radius: 50%; background: #16a34a; color: #fff; }
@supports not (font-size: 1cqw) { .hs { display: none; } }

/* ===========================================================================
   Hero slides: seven pictures share the hero frame and cross-fade, one per
   thing we do, each with a caption. Slide 1 is the product photo with its
   live screens. The frame keeps the photos' 5:4 shape, so those screens stay
   aligned. One 35 second loop gives each slide five seconds; the same
   keyframes run on every slide, offset by its place in the row. Under reduced
   motion only slide 1 shows and the dots are hidden.
   =========================================================================== */
.hero-slides { aspect-ratio: 5 / 4; background: #0b213a; }
.hero-slide { position: absolute; inset: 0; opacity: 0; }
.hero-slide:first-child { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-cap { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 8px 14px 8px 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--pill); background: rgba(8, 28, 56, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.2; }
.hero-cap .icon { width: 16px; height: 16px; color: #6fe0a4; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: -20px; display: flex; justify-content: center; gap: 6px; }
.hero-dots i { width: 16px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
@media (max-width: 960px) { .stackviz:has(.hero-slides) { padding-bottom: 28px; } }
@media (max-width: 560px) { .hero-cap { left: 10px; bottom: 10px; padding: 6px 11px 6px 8px; font-size: .72rem; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide { animation: hero-slide 35s linear infinite backwards; }
  .hero-dots i { animation: hero-dot 35s linear infinite backwards; }
  .hero-slide:nth-child(1), .hero-dots i:nth-child(1) { animation-delay: -1.05s; }
  .hero-slide:nth-child(2), .hero-dots i:nth-child(2) { animation-delay: 3.95s; }
  .hero-slide:nth-child(3), .hero-dots i:nth-child(3) { animation-delay: 8.95s; }
  .hero-slide:nth-child(4), .hero-dots i:nth-child(4) { animation-delay: 13.95s; }
  .hero-slide:nth-child(5), .hero-dots i:nth-child(5) { animation-delay: 18.95s; }
  .hero-slide:nth-child(6), .hero-dots i:nth-child(6) { animation-delay: 23.95s; }
  .hero-slide:nth-child(7), .hero-dots i:nth-child(7) { animation-delay: 28.95s; }
}
@media (prefers-reduced-motion: reduce) { .hero-dots { display: none; } }
/* 0-3%: fade in. 3-14.3%: hold, with a slow push-in. 14.3-17.3%: fade out as the next slide fades in. */
@keyframes hero-slide { 0% { opacity: 0; transform: scale(1); } 3% { opacity: 1; } 14.3% { opacity: 1; } 17.3% { opacity: 0; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1); } }
@keyframes hero-dot { 0% { background: rgba(255, 255, 255, .3); } 3%, 14.3% { background: #6cc4ff; } 17.3%, 100% { background: rgba(255, 255, 255, .3); } }

/* ===========================================================================
   Home hero: restrained enterprise layout. A deep navy field with one quiet
   highlight, a plain eyebrow, a strong two-line headline whose last words
   carry a blue-to-teal tint, two buttons of equal height, the trusted-by
   line, and a large flat product window with the live dashboard. A strip of
   four facts closes the section, divided by hairlines.

   No floating shapes, glass, glow, tilt or overlays, and no looping motion.
   What moves does so once, as the section arrives: the heading and copy rise
   (js/site.js), the dashboard's cards, bars, donut and timetable fill in, and
   its figures count up. All of it is off under prefers-reduced-motion.
   Spacing follows an 8px step. Scoped to .hero-dark[data-hero] (home only).
   =========================================================================== */
@property --hd-p { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.hero-dark[data-hero] { padding-block: clamp(48px, 5.5vw, 80px) 0; background: #0a1f3c; }
.hero-dark[data-hero]::before { background: radial-gradient(48% 60% at 82% 28%, rgba(38, 104, 208, .28), transparent 72%); animation: none; }
.hero-dark[data-hero]::after { display: none; }
.hero-dark[data-hero] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(32px, 3.4vw, 48px); align-items: center; }

/* Copy */
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #7fd8b0; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; flex: none; width: 24px; height: 2px; background: #34c98e; }
.hero-dark[data-hero] h1 { max-width: none; margin-bottom: 24px; font-size: clamp(2.4rem, 3.5vw, 3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.hero-dark[data-hero] h1 .accent { display: inline-block; padding-bottom: .06em; background: linear-gradient(90deg, #5bb8ff, #34d3a6); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: none; }
.hero-dark[data-hero] h1 .accent::after { display: none; }
.hero-dark[data-hero] .lead { max-width: 33rem; margin-bottom: 32px; font-size: 1.125rem; line-height: 1.6; color: #c2d2e6; }
.hero-dark[data-hero] .hero-actions { gap: 16px; }
.hero-dark[data-hero] .hero-actions .btn { min-height: 48px; padding-inline: 24px; border-radius: 10px; }
.hero-dark[data-hero] .hero-actions .btn:focus-visible { outline: 3px solid #8fd3ad; outline-offset: 3px; }
.hero-dark[data-hero] .hero-trusted { display: flex; align-items: center; gap: 16px; margin-top: 32px; text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 600; line-height: 1.45; color: #a9bbd3; }
.hero-dark[data-hero] .hero-trusted b { margin-inline-end: 2px; color: #7fd8b0; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-avatars { display: inline-flex; flex: none; }
.hero-avatars i { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -8px; border: 2px solid #0a1f3c; border-radius: 50%; background: #fff; overflow: hidden; }
.hero-avatars i:first-child { margin-left: 0; }
.hero-avatars img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Product window */
.stackviz.hero-dash { min-height: 0; display: block; }
.hero-dark .stackviz.hero-dash::before { display: none; }
.stackviz.hero-dash > .hd-main { position: relative; width: 100%; }
.hd-window { container-type: inline-size; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: #fff; box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .6), 0 2px 8px rgba(0, 0, 0, .18); }
.hd-window .panel-bar { padding: 10px 16px; font-size: .75rem; }
.hd-window .hs-laptop { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 644 / 404; font-size: 1.553cqw; }
.hd-window .hs-donut { background: radial-gradient(#fff 0 52%, transparent 53%), conic-gradient(#16a34a 0 calc(var(--hd-p) * .72), #1d5fd0 0 calc(var(--hd-p) * .91), #f0a30a 0 var(--hd-p), #e6ebf2 0); }
.hd-window .hs-bars i { transform-origin: 50% 100%; }
.hd-window .hs-cards > div, .hd-window .hs-box { box-shadow: none; border: 1px solid #e3e9f1; }

/* Facts strip */
.hero-strip { margin-top: clamp(48px, 5.5vw, 80px); border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .02); }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; padding-block: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 16px; padding: 24px 24px; color: #a9bbd3; font-size: .875rem; font-weight: 500; line-height: 1.4; }
.hero-facts li:first-child { padding-left: 0; }
.hero-facts li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-facts li > span { display: grid; gap: 2px; min-width: 0; }
.hero-facts b { color: #fff; font-size: 1rem; font-weight: 700; }
.hero-facts a { color: inherit; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.hero-facts a:hover { text-decoration-color: #fff; }
.hero-facts a:focus-visible { outline: 3px solid #8fd3ad; outline-offset: 3px; border-radius: 4px; }
.hero-facts .icon { flex: none; width: 22px; height: 22px; color: #34c98e; }

@media (max-width: 1100px) { .hero-facts li { padding: 20px 16px; gap: 12px; } }
@media (max-width: 960px) {
  .hero-dark[data-hero] .hero-grid { grid-template-columns: 1fr; }
  .hero-dark[data-hero] h1 { max-width: 16ch; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 560px) {
  .hero-dark[data-hero] .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-dark[data-hero] .hero-trusted { align-items: flex-start; }
  .hero-facts li { padding: 16px 12px; font-size: .8rem; }
  .hero-facts b { font-size: .9rem; }
  .hero-facts .icon { width: 20px; height: 20px; }
}

/* One-time arrival of the dashboard. No loops. */
@media (prefers-reduced-motion: no-preference) {
  .js .stackviz.hero-dash .hs-bars i { transform: scaleY(0); }
  .js .stackviz.hero-dash.is-in .hs-bars i { animation: hd-grow .9s cubic-bezier(.2, .8, .25, 1) .5s forwards; }
  .js .stackviz.hero-dash.is-in .hs-bars span:nth-child(2) i { animation-delay: .65s; }
  .js .stackviz.hero-dash.is-in .hs-bars span:nth-child(3) i { animation-delay: .8s; }
  .js .stackviz.hero-dash .hs-donut { --hd-p: 0%; }
  .js .stackviz.hero-dash.is-in .hs-donut { animation: hd-fill 1.4s cubic-bezier(.3, .7, .2, 1) .6s forwards; }
  .js .stackviz.hero-dash .hs-cards > div, .js .stackviz.hero-dash .hs-grid i { opacity: 0; }
  .js .stackviz.hero-dash.is-in .hs-cards > div { animation: hd-rise .6s var(--ease) .3s forwards; }
  .js .stackviz.hero-dash.is-in .hs-cards > div:nth-child(2) { animation-delay: .4s; }
  .js .stackviz.hero-dash.is-in .hs-cards > div:nth-child(3) { animation-delay: .5s; }
  .js .stackviz.hero-dash.is-in .hs-cards > div:nth-child(4) { animation-delay: .6s; }
  .js .stackviz.hero-dash.is-in .hs-grid i { animation: hd-rise .45s var(--ease) 1.1s forwards; }
}
@keyframes hd-grow { to { transform: scaleY(1); } }
@keyframes hd-fill { to { --hd-p: 100%; } }
@keyframes hd-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===========================================================================
   Technology page header: a small robot follows the company emblem across the
   header, on a loop. Both ride the same left-to-right run and the same wave,
   the robot a fixed gap behind, hopping as it goes. The lane sits in
   extra space under the heading, so the copy stays clear. Decorative and
   aria-hidden; under reduced motion both stand still at the right.
   =========================================================================== */
.page-head-chase { padding-bottom: clamp(170px, 20vw, 280px); }
.chase { position: absolute; inset: auto 0 0 0; height: clamp(164px, 19.5vw, 272px); z-index: 0; overflow: hidden; pointer-events: none; }
.chase-lane { position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 14px, transparent 14px 30px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.chase-run { position: absolute; bottom: 22px; left: 78%; display: block; }
.chase-bot { left: 64%; }
.chase-bob { display: block; }
.chase-logo img { display: block; width: auto; height: clamp(74px, 9vw, 132px); filter: drop-shadow(0 0 18px rgba(108, 196, 255, .65)); }
.chase-logo .chase-bob { padding-bottom: clamp(34px, 4.4vw, 64px); }
.chase-bot svg { display: block; width: auto; height: clamp(112px, 13.5vw, 196px); overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.bot-head, .bot-body { fill: #f4f8fd; }
.bot-neck { fill: #b9c8dc; }
.bot-visor { fill: #0b213a; }
.bot-eyes circle { fill: #6cc4ff; transform-box: fill-box; transform-origin: center; }
.bot-antenna, .bot-arm { fill: none; stroke: #dbe6f5; stroke-width: 5; stroke-linecap: round; }
.bot-tip, .bot-core { fill: #4ade94; }
.bot-hand { fill: #f4f8fd; }
.bot-wheel { transform-box: fill-box; transform-origin: center; }
.bot-wheel circle { fill: #0b213a; stroke: #dbe6f5; stroke-width: 5; }
.bot-wheel path { stroke: #6cc4ff; stroke-width: 3; stroke-linecap: round; }
.bot-trail path { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; }
.bot-arm, .bot-hand { transform-box: fill-box; transform-origin: 0% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .chase-run { left: 0; animation: chase-run 20s linear infinite backwards; }
  .chase-bot { left: 0; margin-left: calc(-1 * clamp(150px, 18vw, 262px)); }
  .chase-logo .chase-bob { animation: chase-wave 3.2s ease-in-out infinite alternate, chase-tilt 4.4s ease-in-out infinite alternate; }
  .chase-bot .chase-bob { animation: chase-hop 1.6s ease-in-out infinite; }
  .chase-lane { animation: chase-lane 1.2s linear infinite; }
  .bot-wheel { animation: chase-spin .9s linear infinite; }
  .bot-eyes circle { animation: chase-blink 4.6s ease-in-out infinite; }
  .bot-tip { animation: chase-glow 1.4s ease-in-out infinite; }
  .bot-core { animation: chase-glow 2s ease-in-out -.6s infinite; }
  .bot-arm, .bot-hand { animation: chase-reach 1.6s ease-in-out infinite; }
  .bot-trail path { animation: chase-trail .5s linear infinite; }
}
@keyframes chase-run { from { transform: translateX(-160px); } to { transform: translateX(calc(100vw + 300px)); } }
@keyframes chase-wave { from { transform: translateY(0); } to { transform: translateY(-30px); } }
@keyframes chase-tilt { from { rotate: -7deg; } to { rotate: 7deg; } }
@keyframes chase-hop { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-7px) rotate(7deg); } }
@keyframes chase-lane { to { background-position: -30px 0; } }
@keyframes chase-spin { to { rotate: 360deg; } }
@keyframes chase-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }
@keyframes chase-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes chase-reach { 0%, 100% { rotate: 0deg; } 50% { rotate: -9deg; } }
@keyframes chase-trail { to { stroke-dashoffset: 14; } }

/* ===========================================================================
   Home, "Systems in use today": projects as rows. On wide screens the rows
   sit in the left column and one preview frame at the right shows the picture
   of the row under the pointer or keyboard focus (the first row's when
   neither). CSS only. On narrow screens every row shows its own picture.
   =========================================================================== */
.work-rows { position: relative; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.work-row { position: relative; border-bottom: 1px solid var(--line); transition: background .25s; }
.work-main { display: grid; gap: 10px; padding: 22px 0 24px; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; }
.work-row h3 { margin: 0; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); letter-spacing: -.02em; line-height: 1.15; }
.work-link { color: #0b2545; text-decoration: none; transition: color .2s; }
.work-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work-row .muted { margin: 0; max-width: 60ch; }
.work-actions { display: flex; align-items: center; gap: 18px; margin: 4px 0 0; font-size: .9rem; font-weight: 700; }
.work-actions .link-arrow { color: var(--blue-700); }
.work-quote { position: relative; z-index: 2; color: var(--muted); text-decoration-color: var(--line-strong); }
.work-quote:hover { color: var(--blue-700); }
.work-shot { margin: 0 0 22px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); }
.work-shot .p-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding-inline: 11px; background: #eef3f9; border-bottom: 1px solid #dde6f0; }
.work-shot .p-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c5d2e2; }
.work-shot .p-bar i:first-child { background: #f2a29b; } .work-shot .p-bar i:nth-child(2) { background: #f3cf7a; } .work-shot .p-bar i:nth-child(3) { background: #8fd3ad; }
.work-shot img { display: block; width: 100%; height: auto; }
.work-row:is(:hover, :focus-within) .work-link { color: var(--blue-700); }
.work-row:is(:hover, :focus-within) .link-arrow .icon { transform: translateX(4px); }
.work-actions .link-arrow .icon { transition: transform .2s var(--ease); }
.work-link:focus-visible { outline: none; }
.work-row:has(.work-link:focus-visible) { outline: 3px solid var(--blue-400, #6aa9ef); outline-offset: 2px; border-radius: 6px; }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 22px 0 0; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.work-foot .btn { letter-spacing: 0; text-transform: none; }
@media (min-width: 961px) {
  .work-rows { padding-right: 50%; }
  .work-main { padding: 24px 28px 26px 16px; margin-left: -16px; }
  .work-row:is(:hover, :focus-within) { background: linear-gradient(90deg, rgba(31, 111, 229, .06), transparent); }
  /* Each picture sits beside its own row, in the empty right half, so it is
     on screen whichever row is under the pointer. The last two rows anchor
     theirs to the bottom so it does not run past the list. */
  .work-main { position: relative; }
  .work-shot { position: absolute; z-index: 2; top: 22px; left: 108%; width: 92%; margin: 0; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; }
  .work-row:is(:hover, :focus-within) .work-shot, .work-rows:not(:hover):not(:focus-within) .work-row:first-child .work-shot { opacity: 1; transform: none; }
}
@media (min-width: 961px) { .work-row:nth-last-child(-n+2):not(:first-child) .work-shot { top: auto; bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { .work-shot, .work-row { transition: none; } }

/* Services: "Built with" tool chips. */
.chip-tool { background: var(--blue-50); border-color: var(--blue-100, #d6e6fb); color: var(--blue-800, #0b3f7a); font-size: .8rem; }
.svc-card-tools { margin-bottom: 14px; }
.svc-card .svc-card-tools + .svc-card-products { margin-top: 0; }

/* Footer: when this build went live. */
.footer-shipped { color: rgba(255, 255, 255, .62); font-size: .8rem; }
.footer-shipped code { font-size: .78rem; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 5px; }
