/* =========================================================
   Sierra Digital · site styles
   Brand colors are sampled from the official logo:
   cyan #2FB5E6 → blue #2D74BA, rings #808080.
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  color-scheme: light;

  --cyan: #2FB5E6;
  --blue: #2D74BA;
  --blue-ink: #1D63AD;          /* links on white, 6.0:1 */
  --ink: #0A1424;               /* headings, 18:1 */
  --ink-2: #344256;             /* body, 10.2:1 */
  --ink-3: #5A6678;             /* secondary, 5.8:1 */
  --line: rgba(15, 40, 80, 0.08);
  --line-2: rgba(15, 40, 80, 0.14);
  --bg: #ffffff;
  --tint: #F4F8FC;
  --tint-2: #E9F3FB;
  --ok: #0E7C4E;

  --grad: linear-gradient(135deg, #2FB5E6 0%, #2D74BA 100%);
  --grad-btn: linear-gradient(180deg, #2876BC 0%, #2563AA 100%);   /* white text ≥ 4.7:1 at every stop */
  --grad-btn-hover: linear-gradient(180deg, #2470B6 0%, #1D5394 100%);
  --grad-text: linear-gradient(92deg, #1B98D3 0%, #2479C2 45%, #2A5FAA 100%); /* ≥ 3.2:1 at display size */

  --r-xs: 8px;
  --r-s: 12px;
  --r: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --shadow-card: 0 0 24px rgba(10, 30, 60, 0.05);
  --shadow-1: 0 1px 2px rgba(10, 30, 60, 0.06), 0 6px 18px rgba(10, 30, 60, 0.06);
  --shadow-2: 0 2px 6px rgba(10, 30, 60, 0.05), 0 24px 56px rgba(16, 52, 104, 0.14);

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;

  /* Springs traced from damping/response (tools/spring_easing.py) */
  --spring: linear(0, 0.0348 2.9%, 0.1125 5.9%, 0.2099 8.8%, 0.3062 11.8%, 0.4061 14.7%, 0.4984 17.6%, 0.5809 20.6%, 0.6528 23.5%, 0.7144 26.5%, 0.7664 29.4%, 0.8075 32.4%, 0.8440 35.3%, 0.8741 38.2%, 0.8987 41.2%, 0.9187 44.1%, 0.9350 47.1%, 0.9473 50.0%, 0.9580 52.9%, 0.9666 55.9%, 0.9735 58.8%, 0.9790 61.8%, 0.9833 64.7%, 0.9868 67.6%, 0.9894 70.6%, 0.9916 73.5%, 0.9934 76.5%, 0.9948 79.4%, 0.9959 82.4%, 0.9968 85.3%, 0.9975 88.2%, 0.9980 91.2%, 0.9984 94.1%, 0.9987 97.1%, 1);
  --spring-t: 0.54s;
  --spring-quick: linear(0, 0.0377 2.9%, 0.1289 5.9%, 0.2307 8.8%, 0.3461 11.8%, 0.4456 14.7%, 0.5358 17.6%, 0.6225 20.6%, 0.6897 23.5%, 0.7467 26.5%, 0.7985 29.4%, 0.8372 32.4%, 0.8718 35.3%, 0.8971 38.2%, 0.9177 41.2%, 0.9358 44.1%, 0.9488 47.1%, 0.9593 50.0%, 0.9685 52.9%, 0.9750 55.9%, 0.9807 58.8%, 0.9847 61.8%, 0.9879 64.7%, 0.9907 67.6%, 0.9927 70.6%, 0.9944 73.5%, 0.9956 76.5%, 0.9965 79.4%, 0.9973 82.4%, 0.9979 85.3%, 0.9983 88.2%, 0.9987 91.2%, 0.9990 94.1%, 0.9992 97.1%, 1);
  --spring-quick-t: 0.35s;
  --spring-soft: linear(0, 0.0302 2.9%, 0.0998 5.9%, 0.1889 8.8%, 0.2848 11.8%, 0.3796 14.7%, 0.4652 17.6%, 0.5464 20.6%, 0.6184 23.5%, 0.6813 26.5%, 0.7354 29.4%, 0.7814 32.4%, 0.8202 35.3%, 0.8527 38.2%, 0.8797 41.2%, 0.9020 44.1%, 0.9204 47.1%, 0.9350 50.0%, 0.9474 52.9%, 0.9576 55.9%, 0.9658 58.8%, 0.9725 61.8%, 0.9779 64.7%, 0.9823 67.6%, 0.9858 70.6%, 0.9886 73.5%, 0.9909 76.5%, 0.9927 79.4%, 0.9942 82.4%, 0.9953 85.3%, 0.9963 88.2%, 0.9970 91.2%, 0.9976 94.1%, 0.9981 97.1%, 1);
  --spring-soft-t: 0.85s;
  --spring-pop: linear(0, 0.0452 2.9%, 0.1513 5.9%, 0.2883 8.8%, 0.4345 11.8%, 0.5749 14.7%, 0.7002 17.6%, 0.8056 20.6%, 0.8896 23.5%, 0.9531 26.5%, 0.9980 29.4%, 1.0274 32.4%, 1.0442 35.3%, 1.0516 38.2%, 1.0522 41.2%, 1.0485 44.1%, 1.0421 47.1%, 1.0350 50.0%, 1.0273 52.9%, 1.0202 55.9%, 1.0139 58.8%, 1.0087 61.8%, 1.0046 64.7%, 1.0016 67.6%, 0.9995 70.6%, 0.9982 73.5%, 0.9975 76.5%, 0.9972 79.4%, 0.9973 82.4%, 0.9975 85.3%, 0.9979 88.2%, 0.9983 91.2%, 0.9987 94.1%, 0.9991 97.1%, 1);
  --spring-pop-t: 0.65s;

  /* one color per pillar, used everywhere that pillar appears */
  --transformation-1: #5DB2F0; --transformation-2: #2D74BA;
  --data-1: #46D2EE;           --data-2: #1494C8;
  --integrations-1: #9B86FF;   --integrations-2: #5B40D9;
  --domain-1: #FFC45E;         --domain-2: #E8790F;
  --operations-1: #4DD69B;     --operations-2: #12935C;
  --adoption-1: #FF8FB6;       --adoption-2: #DA3C75;
  --run-1: #8EA1BD;            --run-2: #3F516C;
}

@supports not (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: cubic-bezier(0.2, 0.8, 0.2, 1);
    --spring-quick: cubic-bezier(0.2, 0.8, 0.2, 1);
    --spring-soft: cubic-bezier(0.16, 0.84, 0.24, 1);
    --spring-pop: cubic-bezier(0.34, 1.4, 0.64, 1);
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1.0625rem/1.6 var(--font-body);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.flare__svg, .pour__stream svg, .ind__art svg { stroke: none; stroke-width: 1.5; }
[hidden] { display: none !important; }
::selection { background: rgba(47, 181, 230, 0.25); }

:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 10px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--spring-t) var(--spring);
}
.skip:focus { transform: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type (size-specific tracking and leading) ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--ink);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 1.35rem + 2.5vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.033em;
  color: var(--ink);
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.75rem); }
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h4, .panel__features h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.sub { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-3); max-width: 38em; }
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.06em;
}
.h2--on-blue, .sub--on-blue { color: #fff; }
.sub--on-blue { opacity: 0.94; font-weight: 500; letter-spacing: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(64px, 4vw + 40px, 116px); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 4vw, 64px); justify-items: start; }
.head--center { justify-items: center; text-align: center; }
.head--center .sub { margin-inline: auto; }
.head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }

/* ---------- icons ---------- */
.ico { width: 16px; height: 16px; flex: none; stroke-width: 2.1; }
.ico--chev { width: 14px; height: 14px; transition: transform var(--spring-t) var(--spring); }

.swap { position: relative; display: inline-block; width: 16px; height: 16px; overflow: hidden; flex: none; }
.swap svg { position: absolute; inset: 0; width: 16px; height: 16px; stroke-width: 2.2; transition: transform var(--spring-t) var(--spring); }
.swap svg:last-child { transform: translateX(-160%); }
a:hover .swap svg:first-child, button:hover .swap svg:first-child { transform: translateX(160%); }
a:hover .swap svg:last-child, button:hover .swap svg:last-child { transform: translateX(0); }

/* ---------- buttons (instant press, spring release) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px;
  border-radius: 12px;
  font: 600 0.9375rem/1 var(--font-body);
  letter-spacing: -0.006em;
  white-space: nowrap;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--spring-t) var(--spring), box-shadow 0.3s ease, background-color 0.3s ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); transition: transform 90ms ease-out; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.875rem; border-radius: 11px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 14px; }
.btn__label { position: relative; }

.btn--primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(18, 60, 120, 0.25),
    0 8px 20px -6px rgba(45, 116, 186, 0.55);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--grad-btn-hover); opacity: 0; transition: opacity 0.3s ease;
}
.btn--primary::after { /* cyan sheen from the logo, decorative only */
  content: ""; position: absolute; inset: 0 0 50% 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, rgba(47, 181, 230, 0.35), rgba(47, 181, 230, 0));
  pointer-events: none;
}
.btn--primary:hover::before { opacity: 1; }

.btn--secondary {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(10, 30, 60, 0.05);
}
.btn--secondary:hover { background: #F4F6F9; }

.btn--white { color: var(--blue-ink); background: #fff; box-shadow: 0 1px 2px rgba(10, 30, 60, 0.12), 0 10px 30px -10px rgba(10, 30, 60, 0.45); }
.btn--white:hover { background: #F2F8FD; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-ink); font-weight: 600; font-size: 0.9375rem;
}
.link .ico { transition: transform var(--spring-t) var(--spring); }
.link:hover .ico, a:hover > .link .ico { transform: translateX(4px); }

.round {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1);
  transition: transform var(--spring-t) var(--spring), background-color 0.25s ease;
}
.round:hover { background: var(--tint); }
.round:active { transform: scale(0.92); transition-duration: 90ms; }
.round[disabled] { opacity: 0.4; pointer-events: none; }

/* ---------- eyebrow pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 6px 5px 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(10, 30, 60, 0.04);
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.002em; color: var(--ink);
  transition: background-color 0.5s var(--spring);
}
a.eyebrow:hover { background: #F6F9FC; }
.eyebrow__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; }
.eyebrow__icon svg { width: 14px; height: 14px; stroke-width: 2.1; }
.eyebrow__text { padding-left: 2px; }
.eyebrow--plain .eyebrow__text { padding-left: 8px; }
.eyebrow__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px 4px 12px; border-radius: 999px;
  background: var(--tint-2); color: var(--blue-ink); font-weight: 600;
}
.eyebrow__link .swap, .eyebrow__link .swap svg { width: 14px; height: 14px; }
.eyebrow__link--muted { background: var(--tint); color: var(--ink-3); font-weight: 500; }
.eyebrow--static { padding-right: 14px; }
.eyebrow--plain.eyebrow--static { padding-right: 6px; }

/* ---------- tags + tiles ---------- */
.tag {
  display: inline-flex; align-items: center; vertical-align: middle;
  margin-left: 8px; padding: 3px 9px; border-radius: 999px;
  font: 600 0.75rem/1.2 var(--font-body); letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--c2) 66%, var(--ink)); background: color-mix(in srgb, var(--c1) 16%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c2) 22%, transparent);
}
.tile {
  --c1: var(--transformation-1); --c2: var(--transformation-2);
  position: relative;
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 16px;
  color: #fff;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 8px rgba(0, 0, 0, 0.08),
    0 8px 18px -8px color-mix(in srgb, var(--c2) 70%, transparent);
}
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 52%); pointer-events: none; }
.tile svg { position: relative; width: 50%; height: 50%; stroke: #fff; stroke-width: 2; }
.tile--xs { width: 22px; height: 22px; border-radius: 7px; }
.tile--xs svg { stroke-width: 2.4; width: 60%; height: 60%; }
.tile--sm { width: 38px; height: 38px; border-radius: 11px; }
.tile--lg { width: 64px; height: 64px; border-radius: 19px; }
.tile--transformation, .tag--transformation, .outcome--transformation { --c1: var(--transformation-1); --c2: var(--transformation-2); }
.tile--data, .tag--data { --c1: var(--data-1); --c2: var(--data-2); }
.tile--integrations, .tag--integrations { --c1: var(--integrations-1); --c2: var(--integrations-2); }
.tile--domain, .tag--domain, .outcome--domain { --c1: var(--domain-1); --c2: var(--domain-2); }
.tile--operations, .tag--operations, .outcome--operations { --c1: var(--operations-1); --c2: var(--operations-2); }
.tile--adoption, .tag--adoption, .outcome--adoption { --c1: var(--adoption-1); --c2: var(--adoption-2); }
.tile--run, .tag--run, .outcome--run { --c1: var(--run-1); --c2: var(--run-2); }
.tile--ink { --c1: #45566E; --c2: #18243A; }
.tile--cyan { --c1: #6FE3F5; --c2: #1AA6D6; }
.tile--green { --c1: #8BE36B; --c2: #33A33B; }
.tile--violet { --c1: #C08BFF; --c2: #7C3AED; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c2, var(--blue)); }
.dot--data { --c2: var(--data-2); }
.dot--transformation { --c2: var(--transformation-2); }
.dot--operations { --c2: var(--operations-2); }
.dot--adoption { --c2: var(--adoption-2); }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); }
.nav__bg {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 10px 30px -22px rgba(16, 52, 104, 0.35);
  opacity: 0;
}
.nav__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo { display: block; flex: none; padding: 6px 0; border-radius: 6px; }
.nav__logo img { width: auto; height: 21px; aspect-ratio: 4259 / 562; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: 38px; padding: 0 13px; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.008em;
}
.nav__link-bg {
  position: absolute; inset: 0; border-radius: inherit; background: rgba(15, 40, 80, 0.055);
  opacity: 0; transform: scale(0.82);
  transition: opacity 0.3s ease, transform var(--spring-pop-t) var(--spring-pop);
  z-index: -1;
}
.nav__link:hover .nav__link-bg, .nav__link[aria-expanded="true"] .nav__link-bg { opacity: 1; transform: none; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); }
.nav__link[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; }
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform var(--spring-t) var(--spring), opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mega menu with a morphing surface */
.mega { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) - 6px); height: 0; }
.mega__bg {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  transform-origin: 50% 0;
  opacity: 0;
}
.mega__panel { position: absolute; top: 0; left: 0; padding: 14px; opacity: 0; visibility: hidden; }
.mega__panel.is-active { visibility: visible; }
.mega__grid--solutions { display: grid; grid-template-columns: 1fr 260px; gap: 12px; }
.mega__list { display: grid; grid-template-columns: repeat(2, 260px); gap: 2px; }
.mega__list--2 { grid-template-columns: repeat(2, 250px); }
.mega__list--plain { grid-template-columns: 240px; }
.mega__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px;
  transition: background-color 0.25s ease;
}
.mega__item:hover, .mega__item:focus-visible { background: var(--tint); }
.mega__item strong { display: block; font: 600 0.9375rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.mega__item small { display: block; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-3); margin-top: 2px; }
.mega__item--plain { padding: 11px 14px; }
.mega__feature {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 18px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #EAF5FD, #F8FBFE 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mega__feature strong { font: 700 1rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -0.012em; }
.mega__feature small { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.4; }
.mega__feature .link { margin-top: 6px; font-size: 0.875rem; }
.mega__feature-art { display: grid; place-items: center; height: 92px; margin-bottom: 6px; }
.mega__all { margin: 6px 0 0 12px; padding: 8px 4px; font-size: 0.875rem; }

/* mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 45; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(8, 20, 40, 0.28); opacity: 0; }
.sheet__panel {
  position: absolute; left: 0; right: 0; top: 0;
  max-height: 100dvh; overflow: auto;
  padding: calc(var(--nav-h) + 8px) var(--gutter) 28px;
  background: #fff; border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow-2);
  transform: translateY(-100%);
}
.sheet nav { display: grid; }
.sheet nav a { padding: 12px 4px; font: 600 1.25rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.02em; border-radius: 10px; }
.sheet__label { margin: 18px 4px 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.sheet__label:first-child { margin-top: 0; }
.sheet__cta { width: 100%; margin-top: 22px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 84px)); padding-bottom: 100px; overflow: clip; }
.hero__glow {
  position: absolute; inset: 0 0 auto 0; height: 880px; pointer-events: none;
  background:
    radial-gradient(48% 38% at 50% 64%, rgba(47, 181, 230, 0.16), rgba(47, 181, 230, 0) 70%),
    radial-gradient(60% 44% at 50% 0%, rgba(233, 243, 251, 0.9), rgba(255, 255, 255, 0) 70%);
}
.hero__copy { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero__copy .display { max-width: 13ch; }
.hero__copy .lede { max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* staged entrance: pure CSS, so it starts with the first paint */
[data-enter] { animation: enter-rise var(--spring-soft-t) var(--spring-soft) both, enter-fade 0.7s ease both; }
[data-enter="1"] { animation-delay: 70ms; }
[data-enter="2"] { animation-delay: 150ms; }
[data-enter="3"] { animation-delay: 230ms; }
@keyframes enter-rise { from { transform: translate3d(0, 22px, 0); } to { transform: none; } }
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes failsafe-show { to { opacity: 1; transform: none; } }

/* stage: conveyor + beam + core */
.stage {
  --card-w: 318px; --card-h: 76px; --row-gap: 22px;
  position: relative;
  height: 470px;
  margin-top: clamp(28px, 4vw, 56px);
}
.stage__beam--top {
  position: absolute; left: 50%; top: -32px; width: 2px; height: calc(50% - 20px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(45, 116, 186, 0), rgba(45, 116, 186, 0.75));
  z-index: 3;
}
.stage__stem { /* the stem that flows into the next section */
  position: absolute; left: 50%; top: 50%; bottom: -100px;
  width: max(18px, calc(100vw * 18 / 1600));
  transform: translateX(-50%);
  background: linear-gradient(180deg, #4C9AE0 0%, #2D74BA 60%, #2D74BA 100%);
  box-shadow: 0 0 28px rgba(45, 116, 186, 0.35);
  overflow: hidden;
  z-index: 3;
}
.stage__stem i {
  position: absolute; left: 0; right: 0; top: -80px; height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0));
  animation: pulse-down 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.stage__stem i:nth-child(2) { animation-delay: 1.3s; }
.stage.is-paused .stage__stem i, .stage.is-paused .core__ring { animation-play-state: paused; }
.conveyor {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  transform-origin: 50% 50%;
}
.conveyor__layer { position: absolute; inset: 0; }
.conveyor__layer--raw { clip-path: inset(0 50% 0 0); }
.conveyor__layer--done { clip-path: inset(0 0 0 50%); }
.conveyor__scan {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 140px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.crow { position: absolute; left: 0; right: 0; height: var(--card-h); }
.citem { position: absolute; left: 0; top: 0; width: var(--card-w); height: var(--card-h); will-change: transform; }

.ticket {
  display: flex; align-items: center; gap: 12px;
  width: 100%; height: 100%;
  padding: 10px 16px 10px 10px;
  background: #fff;
  border: 0.8px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(10, 30, 60, 0.06);
}
.ticket .tile { width: 54px; height: 54px; border-radius: 11px; }
.ticket__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ticket__title { font: 600 0.875rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket__sub { font-size: 0.75rem; line-height: 1.2; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket__meta { display: grid; justify-items: end; gap: 4px; flex: none; }
.ticket__metric { font: 700 0.9375rem/1 var(--font-display); color: var(--blue-ink); letter-spacing: -0.01em; }
.ticket__chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px 2px 4px; border-radius: 6px; background: #E8F6EF; color: var(--ok); font-size: 0.6875rem; font-weight: 600; line-height: 1.3; }
.ticket__chip svg { width: 11px; height: 11px; stroke-width: 3; }
.ticket--raw .skel { display: block; border-radius: 6px; background: #EDF1F5; }
.ticket--raw .skel--tile { width: 54px; height: 54px; border-radius: 11px; flex: none; }
.ticket--raw .ticket__body .skel:first-child { height: 11px; width: 78%; }
.ticket--raw .ticket__body .skel:last-child { height: 9px; width: 52%; }
.ticket--raw .ticket__meta .skel:first-child { height: 11px; width: 54px; }
.ticket--raw .ticket__meta .skel:last-child { height: 9px; width: 36px; }
.ticket--raw { box-shadow: 0 0 18px rgba(10, 30, 60, 0.035); }

.core { position: absolute; left: 50%; top: 50%; z-index: 4; display: grid; justify-items: center; transform: translate(-50%, -50%); }
.core__btn { position: relative; width: 108px; height: 108px; border-radius: 32px; -webkit-tap-highlight-color: transparent; }
.core__btn:focus-visible { outline-offset: 6px; border-radius: 34px; }
.core__tile {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, #48C2EE 0%, #2D74BA 78%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 0 3px rgba(255, 255, 255, 0.14),
    0 18px 40px -10px rgba(45, 116, 186, 0.6),
    0 0 0 8px rgba(255, 255, 255, 0.7);
  color: #fff;
}
.core__tile svg { width: 46px; height: 46px; fill: #fff; stroke: none; filter: drop-shadow(0 2px 6px rgba(10, 40, 90, 0.25)); }
.core__tile .core__spark2 { position: absolute; width: 16px; height: 16px; top: 24px; right: 25px; opacity: 0.9; }
.core__ring { position: absolute; inset: -8px; border-radius: 40px; box-shadow: 0 0 0 2px rgba(47, 181, 230, 0.5); opacity: 0; animation: ring 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite 1.4s; }
@keyframes ring { from { opacity: 0.75; transform: scale(0.94); } to { opacity: 0; transform: scale(1.5); } }
.core__label {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1);
  font-size: 0.75rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.core__label i { width: 7px; height: 7px; border-radius: 50%; background: #1FBF7A; box-shadow: 0 0 0 3px rgba(31, 191, 122, 0.2); }
.stage__pause {
  position: absolute; right: var(--gutter); bottom: 6px; z-index: 5;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1);
  transition: transform var(--spring-t) var(--spring);
}
.stage__pause:active { transform: scale(0.9); transition-duration: 90ms; }
.stage__pause svg { width: 14px; height: 14px; stroke-width: 2.4; }

/* entrance of the stage */
.js .core__btn { transform: scale(0); opacity: 0; }
.js .conveyor { opacity: 0; transform: scale(0.6); }
.js .core__label { opacity: 0; transform: translateY(6px); }
.js:not(.motion-ready) .core__btn, .js:not(.motion-ready) .conveyor, .js:not(.motion-ready) .core__label { animation: failsafe-show 0.01s 3s forwards; }
.is-ready .core__label { opacity: 1; transform: none; transition: opacity 0.6s ease 1.5s, transform var(--spring-t) var(--spring) 1.5s; }

/* =========================================================
   PILLARS
   ========================================================= */
.pillars { position: relative; padding-top: 0; padding-bottom: clamp(24px, 3vw, 48px); overflow-x: clip; }
.flare { position: absolute; left: 50%; top: 0; width: max(100%, 1600px); height: 900px; transform: translateX(-50%); pointer-events: none; }
.flare__svg { width: 100%; height: 100%; }
.flare__pulses { position: absolute; left: 50%; top: 0; width: max(18px, calc(100vw * 18 / 1600)); height: 300px; transform: translateX(-50%); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.flare__pulses i, .stage .pulse {
  position: absolute; left: 0; right: 0; top: -80px; height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0));
  animation: pulse-down 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.flare__pulses i:nth-child(2) { animation-delay: 1.07s; }
.flare__pulses i:nth-child(3) { animation-delay: 2.13s; }
@keyframes pulse-down { to { transform: translateY(480px); } }

.pillars__head { position: relative; display: grid; justify-items: center; text-align: center; gap: 16px; padding-top: 470px; }
.pillars__head .h2 { max-width: 14ch; }
.pillars__head .sub { max-width: 34em; }

.dock-wrap { position: relative; display: flex; justify-content: center; margin-top: 64px; padding-top: 34px; }
.dock { display: flex; align-items: flex-end; gap: 14px; padding: 0 12px; }
.dock__item { position: relative; display: grid; justify-items: center; border-radius: 18px; -webkit-tap-highlight-color: transparent; }
.dock__item:focus-visible { outline-offset: 5px; }
.dock__icon { width: 62px; height: 62px; border-radius: 18px; transform-origin: 50% 100%; will-change: transform; }
.dock__icon svg { stroke-width: 2.1; }
.dock__item:active .dock__icon { filter: brightness(0.92); }
.dock__tip {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  padding: 6px 11px; border-radius: 9px;
  background: var(--ink); color: #fff;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap; letter-spacing: -0.005em;
  opacity: 0; transform: translate(-50%, 8px) scale(0.9);
  transition: opacity 0.25s ease, transform var(--spring-pop-t) var(--spring-pop);
  pointer-events: none;
}
.dock__tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.dock__item.is-tip .dock__tip { opacity: 1; transform: translate(-50%, 0) scale(1); }
.dock__item[aria-selected="true"]::after {
  content: ""; position: absolute; bottom: -12px; left: 50%; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink); transform: translateX(-50%);
}

.panels { position: relative; margin-top: 44px; }
.panel {
  position: relative;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #F7FAFD, #F2F7FC);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.panel.is-active { animation: pane-in 0.42s ease both; }
.panel.is-leaving { display: block !important; position: absolute; inset: 0 0 auto 0; pointer-events: none; animation: pane-out 0.3s ease both; }
@keyframes pane-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pane-out { from { opacity: 1; } to { opacity: 0; } }
.panel__main { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.panel__copy { display: grid; gap: 16px; justify-items: start; }
.panel__copy p { color: var(--ink-3); max-width: 30em; }
.panel__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.panel__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.panel__features p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-3); }
.panel.is-active .panel__copy > *, .panel.is-active .panel__features li { animation: rise-in var(--spring-soft-t) var(--spring-soft) both; }
.panel.is-active .panel__copy > :nth-child(2) { animation-delay: 30ms; }
.panel.is-active .panel__copy > :nth-child(3) { animation-delay: 60ms; }
.panel.is-active .panel__copy > :nth-child(4) { animation-delay: 90ms; }
.panel.is-active .panel__features li:nth-child(1) { animation-delay: 120ms; }
.panel.is-active .panel__features li:nth-child(2) { animation-delay: 160ms; }
.panel.is-active .panel__features li:nth-child(3) { animation-delay: 200ms; }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

/* faux agent console */
.console {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); min-width: 0;
  min-height: 360px;
  border-radius: 18px; overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 30, 60, 0.04), 0 30px 60px -30px rgba(16, 52, 104, 0.3);
  font-size: 0.75rem;
}
.console__side { padding: 14px 10px; background: #F8FAFC; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.console__dots { display: flex; gap: 5px; padding: 2px 6px 12px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: #E3E8EE; }
.console__brand { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; font: 700 0.75rem/1 var(--font-display); color: var(--ink); }
.console__brand .tile { width: 18px; height: 18px; border-radius: 6px; }
.console__brand .tile svg { width: 11px; height: 11px; stroke-width: 2.6; }
.console__nav { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 7px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.console__nav i { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: 0.45; }
.console__nav.is-on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.console__nav.is-on i { background: var(--c2); opacity: 1; }
.console__main { padding: 16px 18px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.console__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.console__title { font: 700 0.875rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console__live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: #E9F8F1; color: var(--ok); font-weight: 600; font-size: 0.6875rem; flex: none; }
.console__live i { width: 6px; height: 6px; border-radius: 50%; background: #1FBF7A; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.35; } }
.console__search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; background: #F6F8FB; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.console__search i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px currentColor; flex: none; }
.console__rows { display: grid; gap: 6px; }
.crow-a {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.crow-a .tile { width: 26px; height: 26px; border-radius: 8px; }
.crow-a .tile svg { width: 14px; height: 14px; stroke-width: 2.4; }
.crow-a__name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-a__desc { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.6875rem; margin-top: 1px; }
.crow-a__bar { height: 4px; border-radius: 4px; background: #EDF1F6; margin-top: 6px; overflow: hidden; }
.crow-a__bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-weight: 600; font-size: 0.6875rem; white-space: nowrap; }
.status svg { width: 11px; height: 11px; stroke-width: 3; }
.status--done { background: #E9F8F1; color: var(--ok); }
.status--run { background: #E8F1FB; color: var(--blue-ink); }
.status--run i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.9s linear infinite; }
.status--live { background: #E6F7FC; color: #0A6E92; }
.status--live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: live 1.4s ease-in-out infinite; }
.status--queue { background: #F1F3F6; color: var(--ink-3); }
@keyframes spin { to { transform: rotate(360deg); } }
.console__foot { display: flex; gap: 8px; margin-top: 2px; }
.kpi { flex: 1; padding: 10px; border-radius: 10px; background: #F7FAFD; box-shadow: inset 0 0 0 1px var(--line); }
.kpi b { display: block; font: 700 1.05rem/1.1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.kpi span { color: var(--ink-3); font-size: 0.6875rem; }
.panel.is-active .crow-a { animation: rise-in 0.7s var(--spring-soft) both; }

/* =========================================================
   FOUNDATION BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
  min-height: 560px;
  display: flex; flex-direction: column;
}
.card__copy { position: relative; z-index: 2; display: grid; gap: 12px; padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; justify-items: start; }
.card__copy p { color: var(--ink-3); max-width: 30em; }
.card__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 4px; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
[data-spot]:hover::after { opacity: 1; }

/* box with modules floating out */
.boxart { position: relative; flex: 1; min-height: 330px; }
.boxart__box { position: absolute; left: 50%; bottom: 0; width: 300px; height: 150px; transform: translateX(-50%); }
.boxart__box::before { /* the back wall, seen over the front edge */
  content: ""; position: absolute; left: 10px; right: 10px; top: -26px; height: 44px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #D3E2F0, #E6EEF6);
  box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.05), inset 0 10px 16px -10px rgba(16, 52, 104, 0.25);
}
.boxart__front {
  position: absolute; inset: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF4FA 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.06), 0 -10px 30px -12px rgba(16, 52, 104, 0.15);
  display: grid; place-items: center;
}
.boxart__front span { font: 700 0.9375rem/1 var(--font-display); color: var(--blue-ink); letter-spacing: -0.01em; padding: 8px 14px; border-radius: 999px; background: var(--tint-2); }
.boxart__flap { position: absolute; top: 0; width: 150px; height: 56px; background: linear-gradient(180deg, #F7FAFD, #E6EEF6); box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.06); }
.boxart__flap--l { left: 0; transform-origin: 0 100%; transform: translateY(-100%) skewX(30deg) scaleY(0.9); border-radius: 12px 0 0 0; left: -26px; }
.boxart__flap--r { right: 0; transform-origin: 100% 100%; transform: translateY(-100%) skewX(-30deg) scaleY(0.9); border-radius: 0 12px 0 0; right: -26px; }
.chip-mod {
  position: absolute; left: 50%; bottom: 96px; z-index: 1;
  display: grid; place-items: center; width: 64px; height: 64px; margin-left: -32px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.06), 0 14px 28px -12px rgba(16, 52, 104, 0.35);
  font: 800 1rem/1 var(--font-display); letter-spacing: -0.02em;
  color: var(--blue);
  transform: translate3d(0, 40px, 0) scale(0.4) rotate(0deg);
  opacity: 0;
  transition: transform 0.9s var(--spring-pop), opacity 0.4s ease;
}
.chip-mod:nth-child(2n) { color: #12A0C9; }
.chip-mod:nth-child(3n) { color: #5B40D9; }
.boxart.is-out .chip-mod { opacity: 1; transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)); }
.boxart.is-out .chip-mod { animation: bob 5.2s ease-in-out infinite; }
.boxart.is-out .chip-mod:nth-child(2n) { animation-duration: 6.1s; animation-delay: -1.2s; }
.boxart.is-out .chip-mod:nth-child(3n) { animation-duration: 5.6s; animation-delay: -2.4s; }
@keyframes bob { 50% { translate: 0 -6px; } }
.chip-mod:nth-child(1) { transition-delay: 0ms; }
.chip-mod:nth-child(2) { transition-delay: 60ms; }
.chip-mod:nth-child(3) { transition-delay: 120ms; }
.chip-mod:nth-child(4) { transition-delay: 180ms; }
.chip-mod:nth-child(5) { transition-delay: 240ms; }
.chip-mod:nth-child(6) { transition-delay: 300ms; }
.chip-mod:nth-child(7) { transition-delay: 360ms; }
.card--box:hover .chip-mod { transition-duration: 0.6s; }
.card--box:hover .boxart.is-out .chip-mod { transform: translate3d(calc(var(--x) * 1.08), calc(var(--y) * 1.1 - 6px), 0) rotate(calc(var(--r) * 1.4)); }

/* radar with toasts */
.radar { position: relative; flex: 1; min-height: 330px; }
.radar__ring {
  position: absolute; left: 50%; top: 58%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 181, 230, 0.2), rgba(47, 181, 230, 0.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(47, 181, 230, 0.25);
  animation: ripple 3.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.radar__ring:nth-child(2) { animation-delay: 1.2s; }
.radar__ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(0.6); opacity: 0; } 20% { opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.radar__core { position: absolute; left: 50%; top: 58%; width: 84px; height: 84px; border-radius: 26px; transform: translate(-50%, -50%); z-index: 2; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.6), 0 20px 40px -12px rgba(20, 148, 200, 0.6); }
.radar__core svg { width: 40px; height: 40px; }
.toast {
  position: absolute; left: 50%; top: 58%; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 10px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -10px rgba(16, 52, 104, 0.35);
  font-size: 0.75rem; font-weight: 600; color: var(--ink); white-space: nowrap;
  transform: translate(calc(var(--tx) - 50%), var(--ty)) scale(0.6);
  opacity: 0;
  transition: transform 0.6s var(--spring-pop), opacity 0.3s ease;
}
.toast em { font-style: normal; font-weight: 600; color: var(--ok); background: #E9F8F1; padding: 1px 6px; border-radius: 5px; }
.toast.is-on { transform: translate(calc(var(--tx) - 50%), var(--ty)) scale(1); opacity: 1; }
.radar__window {
  position: absolute; left: 50%; bottom: -26px; width: min(78%, 380px); height: 120px; transform: translateX(-50%);
  border-radius: 14px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px var(--line), 0 -10px 30px -18px rgba(16, 52, 104, 0.25);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 30px 14px 14px;
}
.radar__window i { position: absolute; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: #E3E8EE; }
.radar__window i:nth-child(1) { left: 14px; background: #FF6159; }
.radar__window i:nth-child(2) { left: 25px; background: #FFBD2E; }
.radar__window i:nth-child(3) { left: 36px; background: #28C840; }
.radar__window span { border-radius: 8px; background: #EEF2F6; }

/* ask: looping prompts over light columns */
.card--ask { grid-column: 1 / -1; min-height: 640px; align-items: center; text-align: center; background: #fff; }
.ask__lights { position: absolute; inset: 0; display: flex; justify-content: space-between; filter: blur(22px); opacity: 0.85; pointer-events: none; }
.ask__lights i { width: 9%; background: linear-gradient(180deg, rgba(93, 178, 240, 0), rgba(93, 178, 240, 0.55) 45%, rgba(93, 178, 240, 0)); transform-origin: 50% 50%; }
.ask__lights i:nth-child(odd) { animation: column 7s ease-in-out infinite alternate; }
.ask__lights i:nth-child(even) { animation: column 9s ease-in-out infinite alternate-reverse; }
.ask__lights i:nth-child(3), .ask__lights i:nth-child(4), .ask__lights i:nth-child(5), .ask__lights i:nth-child(6) { opacity: 0.35; }
@keyframes column { from { transform: scaleY(0.72); } to { transform: scaleY(1.06); } }
.card--ask::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 45%, #fff 30%, rgba(255, 255, 255, 0) 80%); pointer-events: none; }
.ask__copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: clamp(40px, 5vw, 64px) var(--gutter) 0; }
.ask__copy p { color: var(--ink-3); max-width: 34em; }
.ask__copy .btn { margin-top: 8px; }
.ask { --row: 54px; position: relative; z-index: 2; width: min(100%, 620px); height: calc(var(--row) * 5); margin: 36px auto 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.ask__list { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.ask__list li {
  height: var(--row); display: flex; align-items: center; justify-content: center;
  padding: 0 64px; text-align: center;
  font-size: 1rem; font-weight: 500; color: #67717F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.35s ease;
}
.ask__list li.is-on { color: var(--blue-ink); }
.ask__selector {
  position: absolute; left: 50%; top: calc(var(--row) * 2 + 4px); height: calc(var(--row) - 8px); width: 100%; max-width: 100%; transform: translateX(-50%);
  border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(45, 116, 186, 0.35), 0 12px 32px -14px rgba(16, 52, 104, 0.4);
}
.ask__plus, .ask__send { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.ask__plus { left: 9px; background: #F1F4F8; color: var(--ink-2); }
.ask__send { right: 8px; background: var(--grad-btn); color: #fff; }
.ask__send svg { stroke-width: 2.4; }

/* =========================================================
   RESULTS
   ========================================================= */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.outcome {
  position: relative; overflow: hidden;
  display: grid; align-content: start; gap: 8px;
  padding: 26px 28px 30px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.outcome::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.outcome__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.outcome__num { font: 800 clamp(3.4rem, 2.6rem + 2.4vw, 4.6rem)/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.outcome__num small { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 6px; font-weight: 700; }
.outcome > p:last-child { color: var(--ink-3); font-size: 0.9875rem; max-width: 24em; }

.trust { margin-top: clamp(48px, 5vw, 80px); text-align: center; }
.trust__label { font-size: 0.875rem; font-weight: 500; color: var(--ink-3); margin-bottom: 22px; }
.logowall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logowall li { position: relative; height: 88px; border-radius: 18px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.logowall li[data-logo-hidden] { display: none; }
.logo-slot { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px 22px; }
.logo-slot img { max-height: 50px; max-width: min(148px, 100%); width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; transition: filter 0.35s ease, opacity 0.35s ease; }
.logowall li:hover .logo-slot img { filter: none; opacity: 1; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ind {
  position: relative; overflow: hidden;
  padding: 14px 14px 26px;
  border-radius: var(--r-l);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ind__art {
  display: grid; place-items: center;
  height: 196px; margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, 0.4));
  box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.05);
}
.ind__art svg { width: 220px; height: 150px; overflow: visible; }
.ind h3, .ind p { padding-inline: 12px; position: relative; z-index: 2; }
.ind p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-3); }
.art-float { transition: transform 0.8s var(--spring-pop); transform-box: fill-box; transform-origin: 50% 50%; }
.art-shadow { transition: transform 0.8s var(--spring-pop), opacity 0.4s ease; transform-box: fill-box; transform-origin: 50% 50%; }
.ind:hover .art-float { transform: translateY(-8px); }
.ind:hover .art-shadow { transform: scale(0.82); opacity: 0.06; }
.art-blades { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 9s linear infinite; animation-play-state: paused; }
.ind:hover .art-blades, .ind.is-in .art-blades { animation-play-state: running; }
.ind:hover .art-blades { animation-duration: 2.2s; }
.art-bolt { transition: filter 0.3s ease; }
.ind:hover .art-bolt { animation: flicker 1.1s steps(1) 1; }
@keyframes flicker { 0%, 30%, 60% { opacity: 1; } 15%, 45% { opacity: 0.35; } }
.art-top { transition: transform 0.7s var(--spring-pop); transform-box: fill-box; }
.ind:hover .art-top { transform: translate(88px, 22px); }
.stretch { color: inherit; }
.stretch::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.stretch:focus-visible { outline: none; }
.ind:has(.stretch:focus-visible) { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.ind h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ind h3::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D63AD' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transform: scale(0.6); opacity: 0;
  transition: transform var(--spring-pop-t) var(--spring-pop), opacity 0.25s ease;
}
.ind:hover h3::after, .ind:focus-within h3::after { transform: none; opacity: 1; }
.ind-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; font-size: 0.875rem; color: var(--ink-3); }
.ind-more a { padding: 6px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-weight: 500; transition: background-color 0.25s ease, color 0.25s ease; }
.ind-more a:hover { background: var(--tint-2); color: var(--blue-ink); }
.footer__addr--sub { margin-top: 4px; padding-left: 24px; opacity: 0.85; }

/* =========================================================
   SAPPHIRE SPOTLIGHT
   ========================================================= */
.spot { position: relative; padding: clamp(96px, 9vw, 150px) 0 0; overflow: clip; isolation: isolate; }
.spot__arc { position: absolute; left: 50%; top: 0; width: max(160%, 1700px); height: 100%; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 260px 260px 0 0; background: linear-gradient(180deg, #EAF4FC 0%, #F6FAFE 45%, #fff 100%); z-index: -1; }
.spot__head { display: grid; justify-items: center; text-align: center; gap: 18px; }
.spot__head .btn { margin-top: 6px; }
.podium { position: relative; height: 470px; margin-top: 8px; perspective: 2000px; }
.podium__light {
  position: absolute; left: 50%; top: -40px; width: 640px; height: 420px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(93, 178, 240, 0.42), rgba(93, 178, 240, 0.06) 85%, rgba(93, 178, 240, 0));
  clip-path: polygon(44% 0, 56% 0, 86% 100%, 14% 100%);
  filter: blur(6px);
  opacity: 0; transition: opacity 1.2s ease;
}
.podium.is-in .podium__light { opacity: 1; }
.podium__back {
  position: absolute; left: 50%; top: 200px; width: 300px; height: 150px; margin-left: -150px;
  border-radius: 26px; background: linear-gradient(180deg, #4FA6EA, #2D74BA);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(30px);
  transition: transform 0.7s var(--spring);
}
.medal {
  position: absolute; left: 50%; top: 116px; width: 140px; height: 140px; margin-left: -70px; z-index: 2;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 38%),
    conic-gradient(from 210deg, #F9D77E, #E9A92D, #F7CB5C, #D68D16, #F9D77E);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.35), inset 0 -8px 18px rgba(150, 80, 0, 0.25), 0 24px 40px -14px rgba(160, 90, 10, 0.55);
  color: #5A3300;
  transform: translateY(20%) rotate(-120deg); opacity: 0;
  transition: transform 0.85s var(--spring-pop), opacity 0.4s ease;
}
.medal b { font: 800 2.9rem/0.9 var(--font-display); letter-spacing: -0.05em; }
.medal i { font-style: normal; font: 700 0.6875rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 6px; }
.medal--mini { position: relative; left: auto; top: auto; margin: 0; width: 76px; height: 76px; transform: none; opacity: 1; transition: none; }
.medal--mini b { font-size: 1.6rem; }
.medal--mini i { font-size: 0.5rem; margin-top: 3px; letter-spacing: 0.12em; }
.podium__front {
  position: absolute; left: 50%; top: 236px; width: 380px; height: 200px; margin-left: -190px; z-index: 3;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(225, 240, 252, 0.72), rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(45, 116, 186, 0.14), 0 30px 50px -24px rgba(16, 52, 104, 0.4);
  transform-origin: 50% 100%;
  transform: rotateX(70deg);
  transition: transform 0.9s var(--spring-soft);
  display: grid; place-items: center; padding: 22px;
}
.podium__stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.podium__stack li { padding: 5px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.75rem; font-weight: 600; color: var(--ink-2); }
.podium.is-in .podium__back { transform: none; }
.podium.is-in .podium__front { transform: none; transition-delay: 0.1s; }
.podium.is-in .medal { transform: none; opacity: 1; transition-delay: 0.45s; }
.podium::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); z-index: 4; pointer-events: none; }

/* =========================================================
   VOICES (drag carousel with momentum)
   ========================================================= */
.voices { padding-top: clamp(64px, 6vw, 110px); }
.voices .head { margin-bottom: 36px; }
.voices .h2 { max-width: 16ch; }
.voices__nav { display: flex; gap: 10px; flex: none; }
.voices__viewport { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; padding-block: 8px 20px; border-radius: 0; }
.voices__viewport:focus-visible { outline-offset: -3px; }
.voices__viewport.is-dragging { cursor: grabbing; }
.voices__track { display: flex; gap: 20px; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); width: max-content; will-change: transform; user-select: none; -webkit-user-select: none; }
.quote {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  width: min(400px, 82vw); min-height: 300px; padding: 30px 30px 26px;
  border-radius: var(--r-l); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line);
}
.quote__mark { width: 30px; height: 30px; color: var(--cyan); }
.quote blockquote { font: 500 1.1875rem/1.5 var(--font-display); letter-spacing: -0.014em; color: var(--ink); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--ink-3); line-height: 1.35; }
.quote__who strong { display: block; color: var(--ink); font-weight: 600; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--grad); color: #fff; font: 700 0.8125rem/1 var(--font-display); letter-spacing: 0.02em; }

/* =========================================================
   APPHAUS
   ========================================================= */
.apphaus__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.apphaus__copy { display: grid; gap: 18px; justify-items: start; }
.ticks { display: grid; gap: 10px; margin: 6px 0 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.9875rem; }
.ticks .ico { margin-top: 4px; color: var(--ok); stroke-width: 2.6; }
.apphaus__media { position: relative; padding: 36px 0 56px 36px; }
.photo { overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-2); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--main { aspect-ratio: 1.22; }
.photo--main img { transform: scale(var(--zoom, 1.12)); transform-origin: 50% 40%; will-change: transform; }
.photo--small { position: absolute; width: 38%; aspect-ratio: 1.2; border-radius: 22px; box-shadow: 0 0 0 6px #fff, var(--shadow-2); }
.photo--a { left: 0; bottom: 0; transform: translateY(var(--pa, 0)) rotate(-4deg); }
.photo--b { right: -12px; top: 0; width: 30%; transform: translateY(var(--pb, 0)) rotate(4deg); }

/* =========================================================
   INSIGHTS (moving highlight)
   ========================================================= */
.posts { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.posts__hl { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: var(--r-l); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); z-index: 0; pointer-events: none; }
.post { position: relative; z-index: 1; display: grid; align-content: start; gap: 8px; padding: 20px 22px; border-radius: var(--r-l); }
.post--feature { padding: 16px 16px 26px; }
.post--feature > :not(.post__img) { padding-inline: 8px; }
.post__img { display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; margin-bottom: 12px; background: #0B1B33; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--spring-soft); }
.post--feature:hover .post__img img { transform: scale(1.04); }
.post__meta { font-size: 0.8125rem; color: var(--ink-3); font-weight: 500; }
.post__title { font: 700 1.1875rem/1.3 var(--font-display); color: var(--ink); letter-spacing: -0.016em; }
.post--feature .post__title { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.22; }
.post__excerpt { font-size: 0.9375rem; color: var(--ink-3); line-height: 1.55; }
.post .link { margin-top: 6px; }
.posts__list { display: grid; align-content: start; gap: 4px; }

/* =========================================================
   FINALE + POUR
   ========================================================= */
.finale { padding-bottom: clamp(56px, 5vw, 90px); }
.fan { position: relative; display: flex; justify-content: center; height: 150px; margin-bottom: 26px; }
.tile--fan { width: 78px; height: 78px; border-radius: 23px; margin: 0 -9px; transform-origin: 50% 120%; will-change: transform; }
.tile--fan svg { stroke-width: 2.2; }
.fan .tile--fan { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 3px #fff, 0 14px 26px -12px rgba(10, 30, 60, 0.45); }

.pour { position: relative; padding: 300px 0 clamp(80px, 8vw, 120px); background: linear-gradient(180deg, #DCEEFB 0%, #8CC3EC 20%, #3384C8 46%, #2A6DB2 70%, #245E9F 100%); overflow: clip; isolation: isolate; }
.pour__stream { position: absolute; left: 50%; top: 0; width: max(100%, 1600px); height: 350px; transform: translateX(-50%); z-index: -1; }
.pour__stream svg { width: 100%; height: 100%; }
.pour__inner { display: grid; justify-items: center; text-align: center; gap: 16px; }
.pour__tile {
  display: grid; place-items: center; width: 108px; height: 108px; margin-top: -20px; margin-bottom: 20px; border-radius: 32px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.16));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 20px 50px -18px rgba(10, 40, 90, 0.55);
}
.pour__tile svg { width: 46px; height: 46px; fill: #fff; stroke: none; filter: drop-shadow(0 4px 10px rgba(10, 40, 90, 0.3)); }
.pour__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

/* =========================================================
   FOOTER
   ========================================================= */
/* bottom room so the floating chat and cookie buttons never cover the legal links */
.footer { position: relative; background: linear-gradient(180deg, #245E9F 0%, #1D4F8C 100%); color: rgba(255, 255, 255, 0.82); padding: 32px 0 100px; font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer__brand img { width: 190px; height: auto; aspect-ratio: 4259 / 562; }
/* SAP Gold Partner logo, as SAP's kit asks: never recoloured, ratio kept, at least
   92 px wide, and clear space of half its height (28 px at 96 px wide) on every side */
.hero__cred, .footer__cred { display: inline-block; line-height: 0; border-radius: 16px; transition: transform var(--spring-quick-t) var(--spring-quick); }
.hero__cred img, .footer__cred img { width: 96px; height: auto; aspect-ratio: 97.7 / 57.3; }
.hero__creds { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; margin-bottom: 6px; } /* 22px grid gap + 6px = the logo's 28px clear space */
.footer__cred { margin-top: 24px; padding: 28px; background: #fff; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.5); }
.hero__cred:active, .footer__cred:active { transform: scale(0.97); transition-duration: 0.1s; }
.hero__cred:focus-visible, .footer__cred:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.footer__tag { margin-top: 16px; color: #fff; font: 600 1rem/1.4 var(--font-display); letter-spacing: -0.01em; }
.footer__addr { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.875rem; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background-color 0.25s ease, transform var(--spring-t) var(--spring); }
.social a:hover { background: rgba(255, 255, 255, 0.2); }
.social a:active { transform: scale(0.92); transition-duration: 90ms; }
.social svg { width: 18px; height: 18px; }
.footer__h { color: #fff; font: 700 0.9375rem/1.2 var(--font-display); margin-bottom: 14px; letter-spacing: -0.01em; }
.footer__col { display: grid; align-content: start; gap: 2px; }
.flink { display: inline-flex; align-items: center; gap: 0; width: fit-content; padding: 5px 0; color: rgba(255, 255, 255, 0.82); transition: color 0.3s ease, gap 0.5s var(--spring); }
.flink .ico { width: 0; opacity: 0; transition: width 0.55s var(--spring), opacity 0.3s ease; }
.flink:hover { color: #fff; gap: 6px; }
.flink:hover .ico { width: 14px; opacity: 1; }
/* footer newsletter: 16px text so iPhones don't zoom, 44px targets */
.footer__news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 44px; padding: 26px 28px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.footer__news-copy { max-width: 34em; }
.footer__news-copy .footer__h { margin-bottom: 6px; }
.footer__news-copy p + p { font-size: 0.875rem; }
.footer__news-copy a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.news { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 320px; max-width: 460px; }
.news__input { flex: 1 1 200px; min-width: 0; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem/1 var(--font-body); }
.news__input::placeholder { color: var(--ink-3); }
.news__input:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.7); outline-offset: 2px; }
.news__btn { height: 44px; }
.news__note { flex-basis: 100%; min-height: 1.4em; font-size: 0.8125rem; color: #fff; }
.news.is-done .news__input { box-shadow: inset 0 0 0 2px #7FE0B0; }
.footer__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.86); letter-spacing: 0.02em; }
.footer__partners span:first-child { font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.78); }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: #fff; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.display--md { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.1rem); }
.contact-hero { position: relative; padding: calc(var(--nav-h) + clamp(44px, 5vw, 72px)) 0 clamp(36px, 4vw, 56px); overflow: clip; }
.contact-hero__copy { position: relative; display: grid; justify-items: center; text-align: center; gap: 20px; }
.contact-hero__copy .display { max-width: 15ch; }
.contact-hero__copy .lede { max-width: 36em; }
.contact-body { padding-bottom: clamp(80px, 8vw, 128px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cform-wrap {
  position: relative; padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  overflow: hidden;
}
.cform-wrap::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.cform { display: grid; gap: 18px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__topics { border: 0; margin: 0 0 6px; padding: 0; min-width: 0; }
.cform__topics legend { padding: 0; margin-bottom: 12px; font: 700 1.0625rem/1.3 var(--font-display); color: var(--ink); letter-spacing: -0.012em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 0.875rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform var(--spring-t) var(--spring);
}
.chip:hover span { background: var(--tint); }
.chip:active span { transform: scale(0.96); transition-duration: 90ms; }
.chip input:checked + span { background: var(--tint-2); color: var(--blue-ink); box-shadow: inset 0 0 0 1.5px var(--blue); font-weight: 600; }
.chip input:checked + span::before {
  content: ""; width: 14px; height: 14px; margin-left: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D63AD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: pop-in var(--spring-pop-t) var(--spring-pop);
}
.chip input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
@keyframes pop-in { from { transform: scale(0.3); opacity: 0; } to { transform: none; opacity: 1; } }
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field label span[aria-hidden] { color: var(--blue-ink); }
.field__opt { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 0; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.field input { height: 50px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6B7584; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.26); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(47, 181, 230, 0.18); }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px #C0392B, 0 0 0 4px rgba(192, 57, 43, 0.1); }
.field__err { font-size: 0.8125rem; color: #B42318; font-weight: 500; }
.field__err:empty { display: none; }
.cform__error { padding: 12px 14px; border-radius: 12px; background: #FEF3F2; color: #912018; font-size: 0.9375rem; box-shadow: inset 0 0 0 1px #FDA29B; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.cform__note { font-size: 0.8125rem; color: var(--ink-3); }
.cform__note a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.cform__spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.cform__submit.is-busy .cform__spin { display: inline-block; }
.cform__submit.is-busy .swap { display: none; }
.cform__submit[disabled] { cursor: progress; }
.cform__done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 36px 12px; outline: none; }
.cform__done p { color: var(--ink-3); max-width: 30em; }
.cform__done a:not(.btn) { color: var(--blue-ink); font-weight: 600; }
.cform__check { width: 76px; height: 76px; stroke: var(--ok); stroke-width: 3.5; }
.cform__check circle { stroke-dasharray: 183; stroke-dashoffset: 183; transition: stroke-dashoffset 0.8s cubic-bezier(.2, .7, .2, 1); }
.cform__check path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.45s cubic-bezier(.2, .7, .2, 1) 0.55s; }
.cform__done.is-in .cform__check circle, .cform__done.is-in .cform__check path { stroke-dashoffset: 0; }

.contact-side { display: grid; gap: 16px; }
.side-card { padding: 24px; border-radius: var(--r-l); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.side-card--book { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(160deg, #E6F4FD, #F6FAFE 70%); transition: transform var(--spring-t) var(--spring), box-shadow 0.3s ease; }
.side-card--book:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.side-card--book:active { transform: scale(0.985); transition-duration: 90ms; }
.side-card__body { display: grid; gap: 6px; }
.side-card__body strong { font: 700 1.125rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -0.014em; }
.side-card__body > span:not(.link) { color: var(--ink-3); font-size: 0.9375rem; }
.side-card__body .link { margin-top: 4px; }
.side-card--book:hover .link .ico { transform: translate(2px, -2px); }
.side-list { display: grid; gap: 14px; }
.side-list li { display: flex; gap: 12px; align-items: flex-start; }
.side-list .ico { margin-top: 3px; color: var(--blue-ink); }
.side-list small { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.side-list a { color: var(--ink); font-weight: 600; }
.side-list a:hover { color: var(--blue-ink); }
.side-card__h { font: 700 1rem/1.3 var(--font-display); color: var(--ink); margin-bottom: 14px; }
.offices { display: grid; gap: 16px; }
.offices li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid rgba(45, 116, 186, 0.25); }
.offices strong { color: var(--ink); font-weight: 600; }
.offices span { font-size: 0.8125rem; color: var(--blue-ink); font-weight: 600; }
.offices address { font-style: normal; font-size: 0.875rem; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }
@media (max-width: 991px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .cform__row { grid-template-columns: minmax(0, 1fr); }
  .cform__submit { width: 100%; }
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0, 20px, 0); }
.motion-ready [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease var(--rd, 0ms), transform var(--spring-soft-t) var(--spring-soft) var(--rd, 0ms);
}
.split-w { display: inline-block; overflow: clip; overflow-clip-margin: 0.12em; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-w > span { display: inline-block; }
.motion-ready .split-w > span { transform: translate3d(0, 108%, 0); }
.motion-ready .is-in .split-w > span {
  transform: none;
  transition: transform var(--spring-soft-t) var(--spring-soft);
  transition-delay: calc(var(--wi) * 34ms);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__ghost { display: none; }
  .mega__list { grid-template-columns: repeat(2, 230px); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  :root { --nav-h: 64px; }
  .nav__links, .mega { display: none; }
  .burger { display: block; }
  .nav__actions .btn--primary { display: none; }
  .nav__inner { justify-content: space-between; }
  .panel__main { grid-template-columns: minmax(0, 1fr); }
  .panel__features { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bento { grid-template-columns: 1fr; }
  .card--ask { grid-column: auto; }
  .outcomes { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apphaus__grid { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .logowall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .stage { --card-w: 236px; --card-h: 62px; --row-gap: 16px; height: 330px; }
  .ticket { gap: 9px; padding: 8px 12px 8px 8px; border-radius: 11px; }
  .ticket .tile, .ticket--raw .skel--tile { width: 44px; height: 44px; border-radius: 10px; }
  .ticket__title { font-size: 0.8125rem; }
  .ticket__sub { font-size: 0.6875rem; }
  .ticket__metric { font-size: 0.8125rem; }
  .core__btn { width: 84px; height: 84px; border-radius: 26px; }
  .core__tile svg { width: 36px; height: 36px; }
  .core__tile .core__spark2 { top: 18px; right: 19px; width: 12px; height: 12px; }
  .core__label { margin-top: 14px; }
  .flare { height: 760px; }
  .pillars__head { padding-top: 400px; }
  .dock { gap: 9px; }
  .dock__icon { width: 48px; height: 48px; border-radius: 14px; }
  .console { grid-template-columns: 1fr; min-height: 0; }
  .console__side { display: none; }
  .card { min-height: 500px; }
  .boxart { transform: scale(0.82); transform-origin: 50% 100%; }
  .ind-grid { grid-template-columns: 1fr; }
  .head--row { flex-direction: column; align-items: flex-start; }
  .podium { transform: scale(0.84); transform-origin: 50% 0; height: 420px; }
  .apphaus__media { padding: 20px 0 40px 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .logowall { grid-template-columns: repeat(2, 1fr); }
  .tile--fan { width: 46px; height: 46px; border-radius: 14px; margin: 0 -7px; }
  .fan .tile--fan { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 2px #fff, 0 10px 20px -10px rgba(10, 30, 60, 0.45); }
  .fan { height: 100px; }
  .dock__item:first-child .dock__tip { left: -4px; transform: translate(0, 8px) scale(0.9); transform-origin: 20% 100%; }
  .dock__item:first-child.is-tip .dock__tip { transform: translate(0, 0) scale(1); }
  .dock__item:first-child .dock__tip::after { left: 28px; }
  .dock__item:last-child .dock__tip { left: auto; right: -4px; transform: translate(0, 8px) scale(0.9); transform-origin: 80% 100%; }
  .dock__item:last-child.is-tip .dock__tip { transform: translate(0, 0) scale(1); }
  .dock__item:last-child .dock__tip::after { left: auto; right: 24px; transform: rotate(45deg); }
  .ask { --row: 68px; }
  .ask__list li { white-space: normal; line-height: 1.3; font-size: 0.9375rem; justify-content: flex-start; text-align: left; padding: 0 58px 0 54px; }
  .ask__selector { width: 100% !important; }
  .pour { padding-top: 240px; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; }
  .eyebrow__text { display: none; }
  .eyebrow--plain .eyebrow__text, .eyebrow--static .eyebrow__text { display: inline; }
}

/* =========================================================
   ACCESSIBILITY PREFERENCES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  [data-enter] { animation: enter-fade 0.5s ease both !important; }
  .motion-ready [data-reveal] { transform: none !important; }
  .motion-ready [data-reveal].is-in { transition: opacity 0.4s ease !important; }
  .split-w > span { transform: none !important; transition: none !important; }
  .js .core__btn, .js .conveyor { transform: none !important; opacity: 1 !important; }
  .flare__pulses, .radar__ring, .core__ring, .ask__lights i { animation: none !important; }
  .radar__ring { opacity: 0.6; transform: scale(1.6); }
  .art-blades, .console__live i, .status--live i, .status--run i { animation: none !important; }
  .chip-mod, .toast, .medal, .podium__front, .podium__back { transition: opacity 0.4s ease !important; }
  .boxart.is-out .chip-mod { animation: none !important; }
  .stage__pause { display: none !important; }
  .stage__stem i { display: none; }
  .panel.is-active .panel__copy > *, .panel.is-active .panel__features li, .panel.is-active .crow-a { animation: pane-in 0.3s ease both !important; }
  .photo--main img { transform: none !important; }
  .btn, .round, .swap svg, .link .ico { transition-duration: 0.01s !important; }
  .cform__check circle, .cform__check path { transition: none !important; stroke-dashoffset: 0 !important; }
  .chip input:checked + span::before { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bg, .mega__bg, .core__label, .podium__front, .btn--glass, .pour__tile { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav__bg, .mega__bg { background: #fff; }
  .podium__front { background: #EEF5FC; }
  .btn--glass { background: #1D5394; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #1E2A3B; --ink-3: #344256; --line: rgba(15, 40, 80, 0.22); --line-2: rgba(15, 40, 80, 0.4); }
  .nav__bg { background: #fff; box-shadow: 0 1px 0 rgba(15, 40, 80, 0.4); }
  .card, .ind, .quote, .panel, .outcome, .logowall li { box-shadow: inset 0 0 0 1.5px var(--line-2); }
  .ask__list li { color: var(--ink-3); }
  .logo-slot img { filter: none; opacity: 1; }
  .flink, .footer { color: #fff; }
}
@media (forced-colors: active) {
  .tile, .btn--primary, .core__tile { forced-color-adjust: none; }
}

/* =========================================================
   Sierra AI chatbot (/sd-chatbot.js at the web root, the same widget WordPress loads)
   In the primary-button blues instead of its purple: html:root outranks the :root
   the widget writes, so the shared widget itself stays untouched.
   ========================================================= */
html:root {
  --sdc-grad-start: #2876BC;  /* white text ≥ 4.7:1, as on .btn--primary */
  --sdc-grad-mid: #2563AA;
  --sdc-grad-end: #1D5394;
  --sdc-chip: rgba(40, 118, 188, 0.08);
  --sdc-chip-hover: rgba(40, 118, 188, 0.14);
  --sdc-chip-text: #1D63AD;   /* 5.5:1 on the chip */
  --sdc-shadow-btn: 0 12px 28px -6px rgba(37, 99, 170, 0.45), 0 6px 14px -4px rgba(47, 181, 230, 0.35);
  --sdc-ring: 0 0 0 4px rgba(47, 181, 230, 0.24);
}
@media (prefers-color-scheme: dark) {
  html:root { --sdc-chip: rgba(47, 181, 230, 0.14); --sdc-chip-hover: rgba(47, 181, 230, 0.22); --sdc-chip-text: #BFE6F8; }
}
@media (prefers-reduced-transparency: reduce) {
  html:root { --sdc-bg: #ffffff; --sdc-surface: #F8FAFC; }
}
@media (prefers-reduced-transparency: reduce) and (prefers-color-scheme: dark) {
  html:root { --sdc-bg: #111827; --sdc-surface: #0F172A; --sdc-bot-bubble: #1E293B; }
}
@media (prefers-contrast: more) {
  html:root { --sdc-bg: #ffffff; --sdc-surface: #ffffff; --sdc-border: rgba(15, 23, 42, 0.45); --sdc-text-muted: #334155; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  html:root { --sdc-bg: #0B1220; --sdc-surface: #0B1220; --sdc-border: rgba(255, 255, 255, 0.45); --sdc-text-muted: #CBD5E1; }
}
/* On phones the widget sizes its panel from 100vh, which counts the browser's address bar
   as hidden, so the header and close button rose off the top of the screen; pinning
   both edges fits the screen the visitor actually sees. Its 14px text box made iPhones
   zoom the whole page on tap: 16px stops that. (html # outranks the widget's own ids.) */
html .sdc-messages { overscroll-behavior: contain; }
@media (max-width: 480px) {
  html #sdc-panel {
    top: max(12px, env(safe-area-inset-top));
    bottom: calc(88px + env(safe-area-inset-bottom));
    height: auto;
    max-height: none;
  }
  html #sdc-input { font-size: 16px; }
}
