/* STACKGee theme: the light, airy layout used across the public site.
   Loaded after site.css and overrides it. site.css keeps the structure and
   the older components; this file sets the look.

   Design language (shared by every page; page stylesheets in css/pages/ build on it):
   - White pages with soft blue and green washes behind the first section.
   - Ink headings, grey body text, one gradient (blue to green) used sparingly:
     the primary button, the accent word in a headline, thin frame borders.
   - Pill buttons, 48px tall. Cards: white, 1px line, 20px corners, soft shadow.
   - Section rhythm: small uppercase eyebrow, large heading, grey lead.
   - Spacing on an 8px step.

   Tokens for page stylesheets: --grad, --grad-soft, --wash, --card-radius,
   --card-shadow, --card-shadow-hover. */

:root {
  --grad: linear-gradient(95deg, #0b5fae 0%, #1677cc 45%, #13b862 100%);
  --grad-text: linear-gradient(95deg, #0b5fae, #0c9a50);
  --grad-soft: linear-gradient(135deg, #eef5fe, #effbf5);
  --wash:
    radial-gradient(42% 60% at 6% 4%, rgba(22, 119, 204, .13), transparent 70%),
    radial-gradient(40% 56% at 96% 30%, rgba(19, 184, 98, .11), transparent 70%),
    radial-gradient(36% 50% at 60% 100%, rgba(63, 147, 220, .08), transparent 70%);
  --card-radius: 20px;
  --card-shadow: 0 1px 2px rgba(11, 27, 49, .05), 0 12px 32px -18px rgba(11, 45, 90, .22);
  --card-shadow-hover: 0 2px 4px rgba(11, 27, 49, .06), 0 24px 48px -22px rgba(11, 45, 90, .32);
}

/* ---------- Header: one white bar, links centred, gradient pill at the right ---------- */
.utility { display: none; }
.site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(226, 233, 242, .8); }
.site-header .nav-bar { min-height: 72px; }
/* A backdrop filter makes the header the containing block for the fixed mobile
   drawer, which then sizes to the header and widens the page. No blur there. */
@media (max-width: 1040px) { .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (min-width: 1041px) {
  .site-header .nav { flex: 1; }
  .site-header .nav-list { margin-inline: auto; gap: 4px; }
}
.nav-link { font-size: .94rem; font-weight: 600; color: #3a4a62; border-radius: var(--pill); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue-700); }
.site-header .menu { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--card-shadow-hover); }

/* ---------- Buttons: pills ---------- */
.btn { border-radius: var(--pill); min-height: 48px; padding-inline: 24px; border-color: transparent; background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(11, 95, 174, .7); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s; }
.btn:hover { color: #fff; border-color: transparent; background: var(--grad); filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(11, 95, 174, .8); }
.btn.btn-sm { min-height: 40px; padding-inline: 18px; }
.btn.btn-secondary, .btn.btn-light { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(11, 27, 49, .05); filter: none; }
.btn.btn-secondary:hover, .btn.btn-light:hover { background: #fff; color: var(--blue-700); border-color: var(--blue-300); box-shadow: 0 10px 22px -14px rgba(11, 45, 90, .4); }
.btn.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---------- Section heads ---------- */
.eyebrow { padding: 6px 14px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-700); letter-spacing: .1em; font-size: .74rem; }
.eyebrow::before { display: none; }
.section-head h2, .split-head h2 { letter-spacing: -.025em; }

/* ---------- Cards ---------- */
.card { border-radius: var(--card-radius); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.card:hover { box-shadow: var(--card-shadow-hover); }

/* ---------- Page heads (inner pages): light, with the wash ---------- */
.page-head, .page-head.page-head-dark { color: var(--text); background: var(--wash), #fff; border-bottom: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.page-head::after, .page-head-dark::after { display: none; }
.page-head-dark h1 { color: var(--ink); font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; }
.page-head-dark .lead { color: var(--muted); }
.page-head-dark .eyebrow { color: var(--blue-700); }
.page-head-dark .lead a, .page-head-dark p a { color: var(--blue-700); }
.page-head-dark .lead a:hover, .page-head-dark p a:hover { color: var(--blue-900); }
.page-head-dark :focus-visible { outline-color: var(--blue-600); }
.page-head-dark .breadcrumbs, .page-head-dark .breadcrumbs a { color: var(--muted); }
.page-head-dark .breadcrumbs a:hover { color: var(--blue-700); }
.page-head-dark .btn.btn-outline-light { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.page-head-dark .btn.btn-outline-light:hover { color: var(--blue-700); border-color: var(--blue-300); }

/* ---------- Home hero: light, badge, large three-line headline, framed product, two stat cards ---------- */
.hero-dark[data-hero] { color: var(--text); background: var(--wash), #fff; padding-block: clamp(56px, 6vw, 96px) 0; }
.hero-dark[data-hero]::before { display: none; }
.hero-dark[data-hero] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 4.5vw, 64px); }
.hero-eyebrow { display: inline-flex; margin: 0 0 24px; padding: 8px 16px 8px 12px; border-radius: var(--pill); border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); letter-spacing: .04em; text-transform: none; font-size: .86rem; font-weight: 600; gap: 8px; }
.hero-eyebrow::before { display: none; }
.hero-eyebrow .icon { width: 16px; height: 16px; color: var(--green-600); }
.hero-dark[data-hero] h1 { color: var(--ink); max-width: 13ch; font-size: clamp(2.6rem, 4.9vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-dark[data-hero] h1 .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-dark[data-hero] .lead { color: var(--muted); max-width: 32rem; font-size: 1.15rem; }
.hero-dark[data-hero] .hero-actions .btn { border-radius: var(--pill); }
.hero-dark[data-hero] .hero-trusted { color: var(--muted); }
.hero-dark[data-hero] .hero-trusted b { color: var(--green-700); }
.hero-dark[data-hero] .hero-trusted span span { color: var(--ink); }
.hero-avatars i { border-color: #fff; box-shadow: 0 0 0 1px var(--line); }

/* The product sits in a rounded frame with a thin gradient edge. */
.stackviz.hero-dash > .hd-main { padding: 12px 28px 28px 12px; }
.hd-frame { padding: 3px; border-radius: 26px; background: var(--grad); box-shadow: 0 40px 80px -36px rgba(11, 45, 90, .5); }
.hd-frame .hd-window { border: 0; border-radius: 23px; box-shadow: none; }
.stackviz.hero-dash > .hd-stat { position: absolute; z-index: 3; width: auto; inset: auto; }
.stackviz.hero-dash > .hd-stat-a { top: -8px; right: 0; }
.stackviz.hero-dash > .hd-stat-b { bottom: 0; left: -12px; }
.hd-stat > span { display: grid; gap: 2px; padding: 16px 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .86rem; font-weight: 600; white-space: nowrap; box-shadow: var(--card-shadow-hover); }
.hd-stat b { font-size: 2rem; line-height: 1; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (max-width: 960px) {
  .hero-dark[data-hero] .hero-grid { grid-template-columns: 1fr; }
  .hero-dark[data-hero] h1 { max-width: 16ch; }
  .stackviz.hero-dash > .hd-main { padding: 16px 8px 24px; }
  .stackviz.hero-dash > .hd-stat-a { top: -4px; right: 0; }
  .stackviz.hero-dash > .hd-stat-b { bottom: 0; left: 0; }
  .hd-stat > span { padding: 10px 14px; border-radius: 14px; font-size: .74rem; }
  .hd-stat b { font-size: 1.4rem; }
}

/* Facts under the hero: a light band, each fact a heading and a line. */
.hero-strip { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); background: rgba(246, 249, 252, .7); }
.hero-facts li { color: var(--muted); }
.hero-facts li + li { border-left-color: var(--line); }
.hero-facts b { color: var(--ink); }
.hero-facts a { text-decoration-color: var(--line-strong); }
.hero-facts a:hover { text-decoration-color: var(--blue-600); }
.hero-facts .icon { box-sizing: content-box; padding: 10px; border-radius: 12px; background: var(--green-50); color: var(--green-700); }
@media (max-width: 960px) { .hero-facts li:nth-child(n+3) { border-top-color: var(--line); } }

/* ---------- Home: About block with figures ---------- */
.home-about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-about h2 { margin-bottom: 16px; letter-spacing: -.025em; }
.home-about .lead { margin-bottom: 28px; }
.home-about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-about-stats li { display: grid; gap: 6px; padding: 28px 24px; border-radius: var(--card-radius); border: 1px solid var(--line); background: var(--grad-soft); }
.home-about-stats b { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.home-about-stats span { color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (max-width: 860px) { .home-about-grid { grid-template-columns: 1fr; } }

/* ---------- Running systems row sits on white now ---------- */
.ecosystem { background: #fff; }

/* =====================================================================
   Layout pass two: floating pill header, blue hero with the product
   below the headline, tinted section bands, solid blue buttons.
   Everything below overrides the rules above it.
   ===================================================================== */
:root {
  --hero-grad: linear-gradient(135deg, #1677cc 0%, #0b5fae 46%, #0a2f5e 78%, #071d38 100%);
  --tint: #f1f6fd;
  --card-line: #dbe6f4;
  --card-shadow: 0 2px 8px rgba(7, 29, 56, .04);
  --card-shadow-hover: 0 18px 40px -22px rgba(7, 29, 56, .34);
}

/* ---------- Header: a white pill that floats over the page ---------- */
.site-header, .site-header.is-scrolled { top: 12px; background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header::before { display: none; }
.site-header .nav-bar { min-height: 68px; padding-inline: 24px 12px; border: 1px solid rgba(219, 230, 244, .9); border-radius: var(--pill); background: rgba(255, 255, 255, .96); box-shadow: 0 8px 32px rgba(7, 29, 56, .09); }
.site-header .brand img { height: 40px; }
@media (min-width: 1041px) {
  /* Blur only where the menu is not a fixed drawer: a filter here would become the drawer's containing block. */
  .site-header .nav-bar { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); }
}
@media (max-width: 1040px) { .site-header { background: transparent; } .site-header .nav-bar { width: auto; max-width: none; margin-inline: 12px; padding-inline: 16px 8px; min-height: 60px; } }
/* The first section runs up behind the header. */
body:has(#main > .hero-dark[data-hero]) .site-header, body:has(#main > .page-head) .site-header { margin-bottom: -82px; }
body:has(#main > .page-head) #main > .page-head { padding-top: calc(clamp(56px, 7vw, 96px) + 82px); }

/* ---------- Buttons: solid blue ---------- */
.btn { background: var(--blue-600); box-shadow: 0 10px 22px -14px rgba(11, 95, 174, .8); }
.btn:hover { background: var(--blue-700); filter: none; }
.btn.btn-secondary, .btn.btn-light { background: #fff; }

/* ---------- Type: lighter, larger headings ---------- */
.section-head h2, .split-head h2, .page-head h1, .page-head-dark h1 { font-weight: 600; letter-spacing: -.03em; }
.eyebrow { background: transparent; padding: 0; color: var(--blue-600); letter-spacing: .14em; }

/* ---------- Cards ---------- */
.card { border-color: var(--card-line); box-shadow: var(--card-shadow); }

/* ---------- Inner page heads: a soft blue band ---------- */
.page-head, .page-head.page-head-dark { background: linear-gradient(110deg, #f1f6fd 0%, #e6f1fd 55%, #eaf8f1 100%); border-bottom-color: var(--card-line); }

/* ---------- Home hero: blue, centred, product below ---------- */
.hero-dark[data-hero] { color: #dbe9fb; background: var(--hero-grad); padding-block: calc(clamp(48px, 6vw, 88px) + 82px) 0; }
.hero-dark[data-hero] .hero-grid { grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); justify-items: center; }
.hero-dark[data-hero] .hero-copy { display: grid; justify-items: center; text-align: center; max-width: 60rem; }
.hero-eyebrow { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #e8f1fd; }
.hero-eyebrow .icon { color: #7fe0ae; }
.hero-dark[data-hero] h1 { color: #fff; max-width: 17ch; font-weight: 500; font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; }
.hero-dark[data-hero] h1 .accent { background: none; color: #a9d4ff; -webkit-text-fill-color: #a9d4ff; }
.hero-dark[data-hero] .lead { color: #d3e3f8; max-width: 40rem; }
.hero-dark[data-hero] .hero-actions { justify-content: center; }
.hero-dark[data-hero] .hero-actions .btn { min-height: 54px; background: #fff; color: #0a2f5e; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.hero-dark[data-hero] .hero-actions .btn:hover { background: #eef5fe; color: #071d38; }
.hero-dark[data-hero] .hero-actions .btn.btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); box-shadow: none; }
.hero-dark[data-hero] .hero-actions .btn.btn-secondary:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.hero-dark[data-hero] .hero-trusted { color: #c4d8f3; justify-content: center; }
.hero-dark[data-hero] .hero-trusted b { color: #7fe0ae; }
.hero-dark[data-hero] .hero-trusted span span { color: #fff; }
.hero-dark[data-hero] :focus-visible { outline-color: #fff; }

.hero-dark[data-hero] .stackviz.hero-dash { width: min(100%, 1040px); }
.stackviz.hero-dash > .hd-main { padding: 0; }
.hd-frame { padding: 8px; border-radius: 32px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65); }
.hd-frame .hd-window { border-radius: 25px; }
.stackviz.hero-dash > .hd-stat-a { top: 12%; right: auto; left: -28px; }
.stackviz.hero-dash > .hd-stat-b { bottom: 14%; left: auto; right: -28px; }
.hd-stat > span { border: 0; background: var(--blue-600); color: #dbe9fb; border-radius: 16px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); }
.hd-stat b { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.stackviz.hero-dash > .hd-stat-b > span { background: #0c9a50; color: #e2f8ec; }
@media (max-width: 1120px) { .stackviz.hero-dash > .hd-stat-a { left: 8px; top: -18px; } .stackviz.hero-dash > .hd-stat-b { right: 8px; bottom: -18px; } }
@media (max-width: 960px) {
  .hero-dark[data-hero] h1 { max-width: 15ch; }
  .hd-frame { padding: 5px; border-radius: 20px; }
  .hd-frame .hd-window { border-radius: 16px; }
}
.hero-strip { background: #fff; border-top: 0; }

/* ---------- Section bands on the home page ---------- */
.home-about, .ecosystem { background: #fff; }
:root { --grad: linear-gradient(135deg, #1677cc, #0b5fae); --grad-soft: linear-gradient(135deg, #f1f6fd, #eaf3fd); }
@media (min-width: 1240px) { .stackviz.hero-dash > .hd-stat-a { left: -72px; } .stackviz.hero-dash > .hd-stat-b { right: -72px; } }
/* The menu button stays above the open drawer so it can close it. */
@media (max-width: 1040px) { .nav-toggle { position: relative; z-index: 61; border-radius: 50%; } }

/* ---------- Hero product window: the full fifteen-module sidebar ----------
   Each module shows how many screens it holds; pointing at one opens the list. */
.hd-window .hs-laptop { grid-template-columns: 15.4em minmax(0, 1fr); overflow: visible; }
.hd-window .hs-side-full { position: relative; gap: .12em; padding: 1em .6em .8em; }
.hs-brand { display: flex; align-items: center; gap: .5em; margin: 0 0 .55em; padding: 0 .5em .7em; border-bottom: 1px solid rgba(219, 230, 245, .14); color: #fff; font-size: 1.3em; letter-spacing: .02em; }
.hs-brand i { width: .95em; height: .95em; border-radius: .28em; background: linear-gradient(135deg, #3ea0ff, #13b862); }
.hs-brand small { margin-left: auto; color: #9db4d2; font-size: .62em; font-weight: 600; letter-spacing: 0; }
.hs-mod { display: flex; align-items: center; gap: .55em; padding: .44em .55em; border-radius: .5em; color: #c9d8ec; font-size: 1.08em; font-weight: 600; white-space: nowrap; cursor: default; }
.hs-mod > .icon { flex: none; width: 1.1em; height: 1.1em; opacity: .85; }
.hs-side.hs-side-full .hs-mod > span { display: block; min-width: 0; padding: 0; border-radius: 0; font-size: 1em; overflow: hidden; text-overflow: ellipsis; }
.hs-mod > em { margin-left: auto; padding: .05em .5em; border-radius: 1em; background: rgba(219, 230, 245, .12); color: #b9cbe3; font-size: .8em; font-style: normal; font-weight: 700; }
.hs-mod.is-on, .hs-mod:hover { background: #1d5fd0; color: #fff; }
.hs-mod.is-on > em, .hs-mod:hover > em { background: rgba(255, 255, 255, .22); color: #fff; }
.hs-side-full:hover .hs-mod.is-on:not(:hover) { background: transparent; color: #c9d8ec; }
.hs-side-full:hover .hs-mod.is-on:not(:hover) > em { background: rgba(219, 230, 245, .12); color: #b9cbe3; }
.hs-fly { position: absolute; z-index: 4; top: .8em; left: calc(100% + .5em); width: 17em; padding: 1em 1.1em 1.1em; border: 1px solid #dfe7f1; border-radius: .9em; background: #fff; color: #0b2545; box-shadow: 0 1.6em 3em -1.2em rgba(7, 29, 56, .45); opacity: 0; visibility: hidden; transform: translateX(-.4em); transition: opacity .16s, transform .16s, visibility .16s; white-space: normal; }
.hs-mod:hover > .hs-fly { opacity: 1; visibility: visible; transform: none; }
.hs-fly > b { display: block; margin-bottom: .55em; padding-bottom: .5em; border-bottom: 1px solid #e6ecf4; font-size: 1.12em; }
.hs-fly ul { display: grid; gap: .32em; margin: 0; padding: 0; list-style: none; }
.hs-fly li { display: flex; align-items: center; gap: .5em; font-size: .98em; font-weight: 600; color: #33465f; }
.hs-fly li::before { content: ""; flex: none; width: .4em; height: .4em; border-radius: 50%; background: #13b862; }
@media (prefers-reduced-motion: reduce) { .hs-fly { transition: none; transform: none; } }
.hd-window .hs-laptop { grid-template-columns: 16.8em minmax(0, 1fr); }
/* Both figure cards sit on the right now, clear of the module list. */
.stackviz.hero-dash > .hd-stat-a { top: 9%; left: auto; right: -28px; }
@media (min-width: 1240px) { .stackviz.hero-dash > .hd-stat-a { left: auto; right: -72px; } }
@media (max-width: 1120px) { .stackviz.hero-dash > .hd-stat-a { left: auto; right: 8px; top: -18px; } .stackviz.hero-dash > .hd-stat-b { right: 8px; bottom: -18px; } }

/* ---------- Hero slideshow: the office picture, then the live product window ----------
   One 16 second loop. Each slide holds for about six seconds; the change is a
   slow cross-fade while the picture drifts in closer and the window settles
   into place. Pointing at the frame holds the product window. No script. */
.hd-slides { position: relative; border-radius: 25px; overflow: hidden; background: #071d38; }
.hd-slide-live { position: relative; animation: hd-live 16s cubic-bezier(.4, 0, .2, 1) infinite; }
.hd-slide-photo { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; animation: hd-photo 16s cubic-bezier(.4, 0, .2, 1) infinite; }
.hd-slide-photo picture, .hd-slide-photo img { display: block; width: 100%; height: 100%; }
.hd-slide-photo img { object-fit: cover; object-position: 58% 50%; transform-origin: 62% 46%; animation: hd-drift 16s linear infinite; }
.hd-photo-note { position: absolute; left: 12px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(7, 29, 56, .62); color: #d3e3f8; font-size: .7rem; }
@keyframes hd-photo { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hd-live { 0%, 40% { opacity: 0; transform: scale(.985); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.985); } }
@keyframes hd-drift { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 50.01%, 89.99% { transform: scale(1); } 90% { transform: scale(.985); } 100% { transform: scale(1); } }
/* Pointing at the frame, or tabbing into it, holds the slide that is showing. It never jumps to another slide. */
.hd-frame:hover .hd-slide-photo, .hd-frame:hover .hd-slide-photo img, .hd-frame:hover .hd-photo-note, .hd-frame:hover .hd-dots i, .hd-frame:focus-within .hd-slide-photo, .hd-frame:focus-within .hd-slide-photo img, .hd-frame:focus-within .hd-photo-note, .hd-frame:focus-within .hd-dots i { animation-play-state: paused; }
.hd-dots { position: absolute; left: 50%; bottom: -22px; display: flex; gap: 8px; transform: translateX(-50%); }
.hd-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .38); animation: hd-dot-a 16s linear infinite; }
.hd-dots i + i { animation-name: hd-dot-b; }
@keyframes hd-dot-a { 0%, 42% { width: 24px; background: #fff; } 50%, 92% { width: 8px; background: rgba(255, 255, 255, .38); } 100% { width: 24px; background: #fff; } }
@keyframes hd-dot-b { 0%, 42% { width: 8px; background: rgba(255, 255, 255, .38); } 50%, 92% { width: 24px; background: #fff; } 100% { width: 8px; background: rgba(255, 255, 255, .38); } }
.hd-frame { position: relative; }
.hd-slides .hd-window { border-radius: 0; }
@media (max-width: 960px) { .hd-slides { border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .hd-slide-photo, .hd-slide-photo img, .hd-slide-live, .hd-dots i { animation: none; }
  .hd-slide-live { opacity: 0; }
  .hd-dots i:first-child { width: 24px; background: #fff; }
}
/* The approved logo is taller for its width than the old one: a little more height in the header and footer. */
.site-header .brand img { height: 46px; }
@media (max-width: 1040px) { .site-header .brand img { height: 42px; } }
.site-footer .footer-brand img { height: 60px; }

/* ---------- Hero slideshow, five slides ----------
   One 30 second loop, six seconds a slide. Slide 2 is the live product window,
   which sits in the page; the four pictures lie over it and take turns to show.
   Every picture uses the same two animations, started at a different point in
   the loop (a negative delay), so they never drift apart. Each picture eases
   in closer while it is shown, which reads as slow camera movement. */
.hd-slide-live { animation: none; opacity: 1; transform: none; }
.hd-slide-photo { animation: hd-show 30s linear infinite; opacity: 0; }
.hd-slide-photo img { animation: hd-move 30s linear infinite; transform-origin: 60% 45%; }
.hd-p1 { animation-delay: 0s; z-index: 5; } .hd-p1 img { animation-delay: 0s; }
.hd-p3 { animation-delay: -18s; z-index: 4; } .hd-p3 img { animation-delay: -18s; transform-origin: 30% 50%; }
.hd-p4 { animation-delay: -12s; z-index: 3; } .hd-p4 img { animation-delay: -12s; transform-origin: 55% 60%; }
.hd-p5 { animation-delay: -6s; z-index: 2; } .hd-p5 img { animation-delay: -6s; transform-origin: 28% 55%; }
@keyframes hd-show { 0%, 20% { opacity: 1; } 24%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hd-move { 0% { transform: scale(1.012); } 24% { transform: scale(1.085); } 24.01%, 95.99% { transform: scale(1); } 96% { transform: scale(1); } 100% { transform: scale(1.012); } }
.hd-photo-note { z-index: 6; animation: hd-note 30s linear infinite; }
@keyframes hd-note { 0%, 20% { opacity: 1; } 24%, 36% { opacity: 0; } 40%, 100% { opacity: 1; } }
/* Dots: one shared animation, each started where its slide begins. */
.hd-dots i, .hd-dots i + i { animation: hd-dot 30s linear infinite; }
.hd-dots i:nth-child(1) { animation-delay: 0s; }
.hd-dots i:nth-child(2) { animation-delay: -24s; }
.hd-dots i:nth-child(3) { animation-delay: -18s; }
.hd-dots i:nth-child(4) { animation-delay: -12s; }
.hd-dots i:nth-child(5) { animation-delay: -6s; }
@keyframes hd-dot { 0%, 20% { width: 24px; background: #fff; } 22%, 98% { width: 8px; background: rgba(255, 255, 255, .38); } 100% { width: 24px; background: #fff; } }
@media (prefers-reduced-motion: reduce) {
  .hd-slide-photo, .hd-slide-photo img, .hd-photo-note, .hd-dots i, .hd-dots i + i { animation: none; }
  .hd-p1 { opacity: 1; } .hd-slide-live { opacity: 1; }
  .hd-dots i { width: 8px; background: rgba(255, 255, 255, .38); } .hd-dots i:first-child { width: 24px; background: #fff; }
}
/* The frame keeps its slides in one layer, so the two floating figures stay in front of every slide. */
.hd-frame { isolation: isolate; }

/* ---------- "Trusted by" band under the hero: names and logos moving right to left without end ----------
   Three copies of the list sit side by side and slide one list-width, then start again, so there is never a gap.
   It pauses under the pointer or keyboard focus, and stands still (one centred list) under reduced motion. */
.trust-strip { padding: 22px 0 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-title { margin: 0 0 14px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.trust-marquee { display: flex; width: max-content; }
.trust-track { display: flex; flex: none; align-items: center; gap: 56px; margin: 0; padding: 0 28px; list-style: none; animation: trust-slide 36s linear infinite; }
.trust-marquee:hover .trust-track, .trust-marquee:focus-within .trust-track { animation-play-state: paused; }
.trust-track li { display: flex; flex: none; align-items: center; gap: 12px; color: var(--ink); font-size: .98rem; font-weight: 700; white-space: nowrap; }
.trust-track picture, .trust-track img { display: block; width: auto; height: 44px; }
.trust-track img { object-fit: contain; }
.trust-track .partner-mark { flex: none; }
@keyframes trust-slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 640px) { .trust-track { gap: 36px; padding: 0 18px; animation-duration: 28s; } .trust-track picture, .trust-track img { height: 36px; } .trust-track li { font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) {
  .trust-strip { -webkit-mask-image: none; mask-image: none; }
  .trust-marquee { width: auto; justify-content: center; }
  .trust-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 18px 36px; }
  .trust-track[aria-hidden="true"] { display: none; }
}
