/* Genesis by Dalfin AI - site styles (v3)
   Design system taken from staging.dalfin.ai: black and white surfaces in alternation,
   electric blue #3141F1, Inter at light weights, pill buttons, hairline rows, image cards.
   Light theme only. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --ink: #0a0a0a;
  --body: #3b4148;
  --muted: #657280;
  --line: #e7eaed;
  --card: #ffffff;
  --accent: #3141f1;
  --accent-hover: #2532c9;
  --accent-ink: #3141f1;
  --accent-tint: #eef0fe;
  --on-accent: #ffffff;
  --ok: #147c4e; --ok-tint: #e3f5ec;
  --warn: #9a5b00; --warn-tint: #fdf1de;
  --danger: #c2261d; --danger-tint: #fdecea;
  --input-border: #cfd5dc;
  --placeholder: #7a8592;
  --shadow-card: 0 1px 2px rgb(10 10 10 / 0.04), 0 10px 30px -12px rgb(10 10 10 / 0.12);
  --shadow-lg: 0 30px 80px -30px rgb(10 10 10 / 0.35);

  --night: #0a0a0a;
  --night-2: #0d0f11;
  --black: #000000;

  --r-pill: 999px;
  --r-card: 20px;
  --r-media: 16px;
  --r-control: 12px;

  --container: 1280px;
  --gutter: 24px;
  --section: clamp(64px, 8vw, 104px);
  --header-h: 68px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

/* Always-dark surfaces (header, heroes, staging's black sections) redefine the tokens locally */
.on-dark {
  --bg: #0a0a0a; --bg-soft: #141619; --card: #111315;
  --ink: #ffffff; --body: #c4c9cf; --muted: #9ca3af; --line: rgb(255 255 255 / 0.1);
  --accent-ink: #8c96ff; --accent-tint: rgb(49 65 241 / 0.2);
  --ok: #6fd3a3; --ok-tint: rgb(111 211 163 / 0.12); --warn: #f2bd6b; --warn-tint: rgb(242 189 107 / 0.12);
  color: var(--body);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgb(49 65 241 / 0.15); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
time { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 500; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 1280px) { :root { --gutter: 80px; } }
@media (max-width: 767px) { :root { --gutter: 20px; --header-h: 60px; } body { font-size: 16px; } }

.section { padding-block: var(--section); background: var(--bg); }
.section--soft { background: var(--bg-soft); }
.section--night { background: var(--night-2); }
.section--black { background: var(--black); }
.section--flush { padding-top: 0; }

/* ---------- Type ---------- */
.display { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 400; }
.h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 400; }
.h3 { font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; }
.h4 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 500; }
.lead { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.6; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; font-weight: 400; }
.kicker { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 500; font-size: 0.9375rem; line-height: 1.2; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-card); }
.btn-secondary:hover { border-color: var(--muted); }
.on-dark .btn-secondary { background: #111315; border-color: rgb(255 255 255 / 0.16); box-shadow: none; }
.on-dark .btn-secondary:hover { border-color: rgb(255 255 255 / 0.4); }
.btn-light { background: #fff; color: #0a0a0a; }
.btn-light:hover { background: #eceef1; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn .ph { font-size: 1.05em; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-weight: 500; text-decoration: none; transition: gap .2s var(--ease); }
.link-arrow:hover { gap: 12px; text-decoration: underline; text-underline-offset: 4px; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }

/* ---------- Header (staging: black bar, centred navigation, blue pill) ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the containing
   block for the fixed mobile menu, collapsing the menu to the header's height. */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgb(255 255 255 / 0.08); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(12 12 16 / 0.42); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); transition: background-color .3s var(--ease); }
.site-header.is-scrolled::before { background: rgb(12 12 16 / 0.78); }
body.menu-open .site-header::before { background: #000; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-logo { display: block; width: auto; height: 28px; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.primary-nav a { padding: 8px 14px; border-radius: var(--r-pill); color: #d1d5db; text-decoration: none; font-size: 0.9375rem; transition: color .15s, background-color .15s; }
.primary-nav a:hover { color: #fff; }
.primary-nav a[aria-current] { color: #fff; background: rgb(255 255 255 / 0.08); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.utility-link { color: #aeb4bc; font-size: 0.875rem; text-decoration: none; }
.utility-link:hover, .utility-link[aria-current] { color: #fff; }
.menu-toggle { display: inline-flex; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.16); background: transparent; color: #fff; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.header-tools { display: none; margin-left: auto; align-items: center; gap: 8px; }
.mobile-menu { display: none; }
@media (max-width: 1180px) {
  .primary-nav, .header-actions { display: none; }
  .header-tools { display: flex; }
  .mobile-menu {
    display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    background: #000; color: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  /* Top-level rows and collapsible groups */
  .mobile-menu nav { display: grid; }
  .mob-top, .mob-group > summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); font-size: 1.375rem; letter-spacing: -0.02em; color: #fff; text-decoration: none; cursor: pointer; }
  .mob-group > summary { list-style: none; }
  .mob-group > summary::-webkit-details-marker { display: none; }
  .mob-top .ph, .mob-group > summary .ph { color: #6b7280; font-size: 18px; transition: transform .2s var(--ease), color .2s; }
  .mob-group[open] > summary { border-bottom-color: transparent; }
  .mob-group[open] > summary .ph { transform: rotate(180deg); color: #fff; }
  .mob-top[aria-current], .mob-group > summary.is-current { color: #8c96ff; }
  /* Sub-pages: an indented list on a thin guide line; the current page is marked on the line */
  .mob-group[open] { border-bottom: 1px solid rgb(255 255 255 / 0.1); padding-bottom: 14px; }
  .mob-group[open] > summary { padding-bottom: 10px; }
  .mob-sub { display: grid; margin: 0 0 0 2px; border-left: 1px solid rgb(255 255 255 / 0.14); }
  .mob-sub a { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0 11px 18px; color: #fff; text-decoration: none; }
  .mob-sub .dd-ic { display: none; }
  .mob-sub .dd-txt { display: grid; gap: 1px; }
  .mob-sub .dd-txt strong { font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.01em; color: #e5e7eb; transition: color .15s; }
  .mob-sub .dd-txt small { font-size: 0.8125rem; color: #7b828c; }
  .mob-sub a:hover .dd-txt strong, .mob-sub a:active .dd-txt strong { color: #fff; }
  .mob-sub a[aria-current]::before { content: ""; position: absolute; left: -2px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: #8c96ff; }
  .mob-sub a[aria-current] .dd-txt strong { color: #fff; font-weight: 500; }
  .mob-sub .dd-ext { color: #6b7280; font-size: 14px; align-self: center; }
  .mobile-menu .menu-actions { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
  .mobile-menu .menu-actions .btn { width: 100%; }
  .mobile-menu .btn-secondary { background: #111315; color: #fff; border-color: rgb(255 255 255 / 0.16); }
  body.menu-open { overflow: hidden; }
}

/* ---------- Section header (staging: heading left, copy or action right) ---------- */
.sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.sh--solo { grid-template-columns: minmax(0, 1fr); }
.sh--solo .sh-main { max-width: 820px; }
.sh-side { padding-top: 10px; }
.sh-side .lead { max-width: 56ch; }
.sh-side .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.sh--action { align-items: center; }
.sh--action .sh-side { padding-top: 0; justify-self: end; }
.sh--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sh--center .sh-main { max-width: 860px; }
.sh .label { margin-bottom: 16px; }
@media (max-width: 900px) { .sh { grid-template-columns: 1fr; } .sh--action .sh-side { justify-self: start; } .sh-side { padding-top: 0; } }

/* ---------- Hero (staging: centred on black with side glows, product in a framed card) ---------- */
.hx { position: relative; isolation: isolate; overflow: hidden; background: #000; padding-block: clamp(48px, 7vw, 96px) 0; text-align: center; }
.hx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(28% 38% at 100% 62%, rgb(96 120 255 / 0.55), transparent 70%),
    radial-gradient(22% 34% at 0% 70%, rgb(124 72 230 / 0.55), transparent 70%),
    radial-gradient(40% 30% at 80% 30%, rgb(49 65 241 / 0.22), transparent 70%);
  filter: blur(30px);
}
.hx-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.hx-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  border: 1px solid rgb(255 255 255 / 0.14); background: rgb(255 255 255 / 0.04); color: #fff; text-decoration: none;
  font-size: 0.8125rem; line-height: 1.3; text-align: left; transition: border-color .2s, background-color .2s;
}
.hx-badge:hover { border-color: rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.08); }
.hx-badge .chip { background: #fff; border-radius: var(--r-pill); padding: 3px 10px; display: inline-flex; flex-shrink: 0; }
.hx-badge .chip img { height: 20px; width: auto; }
.hx-badge small { display: block; color: #9ca3af; font-size: 0.75rem; }
.hx-badge .ph { color: #9ca3af; }
.hx h1 { color: #fff; max-width: 15ch; margin-inline: auto; }
.hx .label { color: #9ca3af; margin-bottom: 18px; }
.hx-sub { margin: 24px auto 0; max-width: 62ch; color: #b4bac2; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); }
.hx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hx-quote { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; text-align: left; }
.hx-quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 1px solid rgb(255 255 255 / 0.2); }
.hx-quote blockquote { color: #fff; font-size: 0.9375rem; }
.hx-quote figcaption { color: #9ca3af; font-size: 0.8125rem; }
.hx-frame {
  position: relative; margin: clamp(48px, 6vw, 72px) 0 0; max-width: 100%;
  border-radius: 24px 24px 0 0; background: #000; border: 1px solid rgb(255 255 255 / 0.1); border-bottom: 0;
  padding: clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px) 0; overflow: hidden;
}
.hx-frame::before { content: ""; position: absolute; inset: auto 10% -30% 10%; height: 70%; background: radial-gradient(closest-side, rgb(49 65 241 / 0.45), transparent); filter: blur(30px); pointer-events: none; }
.hx-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: end; text-align: left; }
.screen { position: relative; border-radius: 14px 14px 0 0; overflow: hidden; background: #fff; border: 1px solid rgb(255 255 255 / 0.14); border-bottom: 0; box-shadow: 0 40px 100px -30px rgb(49 65 241 / 0.6); }
.screen img { width: 100%; }
.hx-side { display: grid; gap: 14px; padding-bottom: clamp(16px, 3vw, 40px); }
.event-card-x { border-radius: 16px; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.12); background: #0d0f11; }
.event-card-x img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.event-card-x div { padding: 14px 16px 16px; }
.event-card-x h2 { color: #fff; font-size: 1rem; font-weight: 500; }
.event-card-x p { color: #9ca3af; font-size: 0.8125rem; line-height: 1.55; margin-top: 4px; }
.event-card-x .link-arrow { font-size: 0.875rem; margin-top: 10px; color: #8c96ff; }
.cm-chip { border-radius: 16px; border: 1px solid rgb(255 255 255 / 0.12); background: #0d0f11; padding: 14px 16px; color: #fff; font-size: 0.875rem; }
.cm-chip .kicker { color: #9ca3af; display: block; margin-bottom: 6px; }
.cm-chip .live { display: inline-flex; align-items: center; gap: 8px; }
.cm-chip .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fd3a3; box-shadow: 0 0 0 3px rgb(111 211 163 / 0.18); }
.hx-note { color: #6b7280; font-size: 0.8125rem; text-align: center; padding: 14px 0 18px; }
@media (max-width: 900px) {
  .hx-stage { grid-template-columns: 1fr; }
  .hx-side { order: -1; grid-template-columns: 1fr 1fr; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .hx-side { grid-template-columns: 1fr; }
  .cm-chip { display: none; }
  .hx-quote { display: flex; max-width: 320px; margin-inline: auto; }
}

/* Supporting page hero: same black stage, centred */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: #000; text-align: center; padding-block: clamp(64px, 8vw, 112px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(24% 50% at 100% 70%, rgb(96 120 255 / 0.45), transparent 70%), radial-gradient(20% 45% at 0% 80%, rgb(124 72 230 / 0.42), transparent 70%);
  filter: blur(30px);
}
.page-hero .display { color: #fff; max-width: 18ch; margin-inline: auto; }
.page-hero .label { color: #9ca3af; margin-bottom: 18px; }
.page-hero .lead { margin: 24px auto 0; color: #b4bac2; }
.page-hero .hero-actions { justify-content: center; margin-top: 32px; }
.page-hero .link-arrow { color: #8c96ff; }
.page-hero-media { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 1040px; text-align: left; }
.page-hero--media { padding-bottom: 0; }
.page-hero--media .page-hero-media { border-radius: 24px 24px 0 0; border: 1px solid rgb(255 255 255 / 0.1); border-bottom: 0; padding: clamp(14px, 2.5vw, 32px) clamp(14px, 2.5vw, 32px) 0; background: #000; }
.page-hero--media .page-hero-media.pad { padding-bottom: clamp(14px, 2.5vw, 32px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- Trusted-style black section: S&R evidence ---------- */
.trusted { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.trusted .lead { margin-top: 20px; color: #b4bac2; }
.trusted .link-row { margin-top: 28px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.tiles li {
  min-height: 108px; border-radius: 4px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.01)); color: #fff;
}
.tiles .logo-tile { align-items: center; justify-content: center; }
.tiles .logo-tile img { width: 128px; filter: brightness(0) invert(1); opacity: .92; }
.tiles strong { font-weight: 500; font-size: 1rem; }
.state { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 0.75rem; padding: 3px 10px; border-radius: var(--r-pill); }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state--live { color: #6fd3a3; background: rgb(111 211 163 / 0.12); }
.state--pilot { color: #f4c987; background: rgb(242 189 107 / 0.12); }
@media (max-width: 900px) { .trusted { grid-template-columns: 1fr; } }

/* ---------- Testimonials (staging: portrait cards with quote over the photo) ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tcards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.tcard {
  position: relative; isolation: isolate; overflow: hidden; min-height: 470px; border-radius: 4px;
  border: 1px solid rgb(255 255 255 / 0.1); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 18px;
  color: #fff; background: #111;
}
.tcard > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0) 27%, rgb(0 0 0 / 0.15) 50%, #000 92%); }
.tcard .co { position: absolute; top: 20px; left: 20px; height: 26px; width: auto; filter: brightness(0) invert(1); }
.tcard blockquote { font-size: 1.0625rem; line-height: 1.45; color: #fff; }
.tcard .who { margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tcard .name { font-weight: 600; color: #fff; }
.tcard .role { font-size: 0.8125rem; color: #b4bac2; line-height: 1.4; margin-top: 2px; }
.tcard .more { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.25); color: #fff; text-decoration: none; font-size: 0.8125rem; transition: background-color .2s, border-color .2s; }
.tcard .more:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.5); }
.tcard .src { margin-top: 12px; font-size: 0.75rem; color: #8b929b; }
@media (max-width: 1023px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tcards, .tcards--two { grid-template-columns: 1fr; } .tcard { min-height: 420px; } }

/* ---------- "What it is used for" (staging: big heading left, hairline list right) ---------- */
.usedfor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: center; }
.usedfor .h2 { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); }
.usedfor .lead { margin-top: 20px; }
.uf-list { list-style: none; }
.uf-list > li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: start; }
.uf-list > li:first-child { padding-top: 0; }
.uf-list h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.uf-list p { grid-column: 1; }
.uf-list .capability { grid-column: 1; margin-top: 6px; display: flex; gap: 8px; align-items: baseline; font-size: 0.9375rem; color: var(--ink); }
.uf-list .capability .ph { color: var(--accent-ink); transform: translateY(2px); }
.uf-list .tag { grid-column: 2; grid-row: 1; }
@media (max-width: 900px) { .usedfor { grid-template-columns: 1fr; } }

/* ---------- Complete applications (home): header row, three example cards ---------- */
.ops-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; padding-bottom: 6px; margin-bottom: var(--s-7); }
.ops-head > div { max-width: 760px; }
.ops-head .label { display: block; margin-bottom: var(--s-2); }
.ops-head .lead { margin-top: 20px; font-size: 1rem; line-height: 1.75; }
.ops { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ops-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
.ops-card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.ops-card:hover { border-color: var(--input-border); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.ops-visual {
  display: flex; padding: 28px 24px 0; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 16px 16px, var(--bg-soft);
}
/* Mini wireframe of the related system */
.wf { width: 100%; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-control) var(--r-control) 0 0; box-shadow: var(--shadow-card); font-size: 0.75rem; line-height: 1.3; color: var(--body); }
.wf-top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.wf-top .ph { font-size: 16px; color: var(--accent-ink); }
.wf-top .sk { margin-left: auto; }
.wf-body { display: grid; gap: 10px; padding: 14px; min-height: 104px; align-content: start; }
.wf-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wf-row .sk { flex: 1; }
.wf-k { flex-shrink: 0; color: var(--muted); }
.wf-strong { color: var(--ink); font-weight: 500; }
.wf-route .ph { color: var(--muted); }
.sk { display: block; height: 6px; border-radius: var(--r-pill); background: var(--line); }
.wf-dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.wf-dot--warn { background: var(--warn); }
.pill { flex-shrink: 0; padding: 2px 8px; border-radius: var(--r-pill); background: var(--bg-soft); border: 1px solid var(--line); color: var(--body); font-size: 0.6875rem; white-space: nowrap; }
.pill--ok { background: var(--ok-tint); border-color: transparent; color: var(--ok); }
.pill--warn { background: var(--warn-tint); border-color: transparent; color: var(--warn); }
.wf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
.wf-steps span { height: 4px; border-radius: var(--r-pill); background: var(--line); }
.wf-steps .on { background: var(--accent-ink); }
/* Capability cards: bay map, forecast and roster miniatures */
.wf-row .pill:last-child { margin-left: auto; }
.wf-bays { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.wf-bay { aspect-ratio: 1; border-radius: 2px; background: var(--line); }
.wf-bay--1 { background: color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.wf-bay--2 { background: color-mix(in srgb, var(--accent-ink) 45%, transparent); }
.wf-bay--3 { background: color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.wf-bay--4 { background: var(--accent-ink); }
.wf-bay--x { background: #f0a020; }
.wf-walk { grid-column: 1 / -1; height: 3px; }
.wf-chart { display: block; width: 100%; height: 84px; overflow: hidden; }
.wf-chart * { vector-effect: non-scaling-stroke; }
.wf-fc-zone { fill: color-mix(in srgb, var(--accent-ink) 5%, transparent); }
.wf-band { fill: color-mix(in srgb, var(--accent-ink) 20%, transparent); }
.wf-act { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.wf-fc { fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linejoin: round; }
.wf-today { stroke: var(--muted); stroke-dasharray: 2 2; }
.wf-gantt { display: grid; grid-template-columns: auto 1fr; gap: 7px 10px; align-items: center; }
.wf-track { position: relative; height: 12px; border-radius: 3px; background: var(--bg-soft); }
.wf-track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.wf-track .wf-gap { background: repeating-linear-gradient(135deg, #f0a020 0 3px, transparent 3px 6px); border: 1px solid #f0a020; }
.wf-hours { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.625rem; }
.wf-track--stack { display: flex; gap: 2px; background: none; }
.wf-track--stack .wf-seg { position: static; height: 100%; }
i.wf-seg--1 { background: var(--accent-ink); }
i.wf-seg--2 { background: color-mix(in srgb, var(--accent-ink) 55%, transparent); }
i.wf-seg--3 { background: color-mix(in srgb, var(--accent-ink) 25%, transparent); }
.wf-tiers { justify-content: flex-start; gap: 12px; }
.wf-tiers i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.wf-cap { display: flex; gap: 8px; align-items: center; margin: auto 14px 14px; padding: 10px 12px; border-radius: 8px; background: var(--ok-tint); color: var(--ink); font-size: 0.8125rem; line-height: 1.4; }
.wf-cap .ph { flex-shrink: 0; font-size: 16px; color: var(--ok); }
.ops-body { padding: 24px 22px 26px; }
.ops-body h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.ops-body p { margin-top: 8px; font-size: 0.9375rem; color: var(--body); }
@media (max-width: 1023px) { .ops { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ops { grid-template-columns: 1fr; } }

/* ---------- Steps (heading left, numbered hairline list right) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.process-head .label { display: block; margin-bottom: var(--s-2); }
.process-head .lead { margin-top: 20px; font-size: 1rem; line-height: 1.75; max-width: 46ch; }
.process-list { list-style: none; counter-reset: s; }
.process-list > li { counter-increment: s; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process-list > li:first-child { padding-top: 0; }
.process-list > li::before { content: counter(s, decimal-leading-zero) "."; grid-row: span 2; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.process-list h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.process-list p { color: var(--body); font-size: 0.9375rem; max-width: 52ch; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-list > li { grid-template-columns: 64px minmax(0, 1fr); padding: 24px 0; }
}

/* ---------- Gradient product card (staging: "Platform. Powered by AI.") ---------- */
.gcard {
  position: relative; overflow: hidden; border-radius: 4px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: center;
  background:
    radial-gradient(45% 70% at 0% 100%, #8f7cf8 0%, transparent 70%),
    radial-gradient(40% 60% at 100% 0%, #f2a7bd 0%, transparent 70%),
    radial-gradient(40% 70% at 100% 100%, #e97ea0 0%, transparent 70%),
    linear-gradient(100deg, #b7cbfd 0%, #eef1fb 45%, #f6dbe4 100%);
  color: #2b2f36;
}
.gcard p { color: #2b2f36; }
.arrow-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.arrow-list li { display: flex; gap: 12px; align-items: center; color: #0a0a0a; }
.arrow-list .ph { font-size: 14px; }
@media (max-width: 1023px) { .gcard { grid-template-columns: 1fr; } }

/* ---------- Context map (Design Book: context for an asset transfer) ---------- */
.ctxm { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-card); padding: clamp(20px, 3vw, 32px); text-align: left; }
.ctxm-k { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ctxm-grid { position: relative; margin-top: 0; min-height: 240px; display: grid; }
.ctxm-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ctxm-lines path { fill: none; stroke: var(--accent-ink); stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.ctxm-grid ul { list-style: none; grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0 20%; align-items: start; position: relative; }
.ctxm-node { justify-self: start; }
.ctxm-d, .ctxm-e { align-self: end; }
.ctxm-b, .ctxm-e { justify-self: end; }
.ctxm-node, .ctxm-core { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); font-size: 0.875rem; white-space: nowrap; }
.ctxm-node .ph { color: var(--accent-ink); font-size: 16px; }
.ctxm-core { grid-area: 1 / 1; place-self: center; padding: 12px 18px; background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 500; box-shadow: 0 10px 30px -10px rgb(49 65 241 / 0.6); }
.ctxm-core .ph { font-size: 18px; }
.ctxm-cap { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.page-hero .ctxm { --line: rgb(255 255 255 / 0.12); --ink: #fff; --muted: #9ca3af; --accent-ink: #8c96ff; --card: #0d0f11; --bg-soft: #15181c; box-shadow: none; }
.page-hero-media:has(> .ctxm) { padding: 0; border: 0; background: none; max-width: 760px; margin-bottom: var(--s-7); }
.page-hero--media:has(.ctxm) { padding-bottom: var(--s-7); }
.ctxm-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: center; }
@media (max-width: 900px) { .ctxm-split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ctxm-grid { min-height: 260px; } .ctxm-grid ul { gap: 0 8px; } .ctxm-node { font-size: 0.8125rem; padding: 8px 11px; } }

/* ---------- Why-style dark section with the Dalfin sphere ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.why .lead { margin-top: 20px; }
.why .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.why .label { margin-bottom: 18px; }
.sphere { position: relative; width: min(400px, 80vw); aspect-ratio: 1; margin-inline: auto; }
.sphere span { position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.16); transform: rotate(calc(var(--i) * 30deg)) translateX(14%); }
.sphere img { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; margin: -23% 0 0 -23%; border-radius: 22%; box-shadow: 0 0 0 2px rgb(80 100 255 / 0.6), 0 0 90px 20px rgb(49 65 241 / 0.55); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .sphere { width: min(300px, 70vw); } }

/* Image cards (staging: Governance / Transparency / Continuity) */
.icards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.icard { position: relative; isolation: isolate; overflow: hidden; min-height: 360px; border-radius: 2px; border: 1px solid rgb(255 255 255 / 0.08); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: #000; }
.icard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 30%, rgb(0 0 0 / 0.92) 100%); }
.icard:hover > img { transform: scale(1.04); }
.icard h3 { color: #fff; font-size: 1.25rem; }
.icard p { color: #b4bac2; font-size: 0.9375rem; margin-top: 10px; }
.icard .who { color: #8c96ff; font-size: 0.8125rem; margin-bottom: 10px; display: block; }
@media (max-width: 900px) { .icards { grid-template-columns: 1fr; } .icard { min-height: 280px; } }
.ai-area { margin-top: 20px; border: 1px dashed rgb(140 150 255 / 0.45); border-radius: 4px; padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.ai-area .label { margin-bottom: 10px; color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent-ink); font-size: 0.9375rem; }
@media (max-width: 860px) { .ai-area { grid-template-columns: 1fr; } }
.sub-head { margin-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: start; }
.sub-head .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); letter-spacing: -0.025em; }
@media (max-width: 900px) { .sub-head { grid-template-columns: 1fr; } }

/* Ownership split */
.own { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.own > div { border-radius: 4px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--card); }
.own > div + div { background: #000; border-color: rgb(255 255 255 / 0.12); color: #b4bac2; }
.own > div + div .label { color: #8c96ff; }
.own .label { margin-bottom: 12px; color: var(--accent-ink); }
.own p { margin-top: 6px; }
@media (max-width: 760px) { .own { grid-template-columns: 1fr; } }

/* ---------- Featured News (staging: gradient section with editorial cards) ---------- */
.news-section { position: relative; isolation: isolate; overflow: hidden; background: #000; }
.news-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 40% at 30% 0%, rgb(230 90 150 / 0.75), transparent 70%),
    radial-gradient(35% 45% at 55% 5%, rgb(210 30 140 / 0.55), transparent 70%),
    radial-gradient(30% 40% at 75% 0%, rgb(49 65 241 / 0.7), transparent 70%),
    radial-gradient(35% 60% at 0% 45%, rgb(120 60 200 / 0.55), transparent 70%),
    radial-gradient(30% 60% at 40% 60%, rgb(210 40 60 / 0.35), transparent 70%);
  filter: blur(20px);
}
.news { display: grid; gap: 24px; }
.ncard { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3.2fr) minmax(0, 4fr); gap: 32px; align-items: center; padding: 16px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(0 0 0 / 0.25); }
.ncard--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 3.6fr) minmax(0, 3fr); }
.ncard .nc-brand { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; padding: 10px 12px; gap: 24px; }
.ncard .nc-brand .mark { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 1.125rem; }
.ncard .nc-brand .mark img { width: 22px; height: 22px; border-radius: 5px; }
.ncard .nc-brand p { color: #fff; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; }
.ncard .nc-media img { width: 100%; border-radius: 12px; aspect-ratio: 1 / 0.94; object-fit: cover; }
.ncard--flip .nc-media img { aspect-ratio: 8 / 7; }
.ncard .nc-body { padding: 8px 12px 8px 0; }
.ntags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; list-style: none; }
.ntags li { padding: 4px 10px; border-radius: 4px; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.12); color: #e5e7eb; font-size: 0.8125rem; }
.ncard h3 { color: #fff; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); line-height: 1.25; letter-spacing: -0.02em; }
.ncard .nc-body p { color: #d1d5db; font-size: 0.9375rem; margin-top: 12px; }
.ncard .nc-body .link-arrow { margin-top: 16px; color: #8c96ff; font-size: 1.0625rem; }
.nc-src { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; color: #9ca3af; font-size: 0.8125rem; }
.nc-src img { height: 28px; width: auto; background: #fff; border-radius: 4px; padding: 2px 4px; }
@media (max-width: 1023px) { .ncard, .ncard--flip { grid-template-columns: 1fr 1fr; } .ncard .nc-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ncard, .ncard--flip { grid-template-columns: 1fr; } }

/* ---------- Engagements trio (staging: centre image large, sides smaller) ---------- */
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.trio figure img { width: 100%; object-fit: cover; }
.trio figure:nth-child(1) img, .trio figure:nth-child(3) img { aspect-ratio: 10 / 11; }
.trio figure:nth-child(2) img { aspect-ratio: 27 / 25; }
.trio figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr 1fr; } .trio figure:nth-child(2) { grid-column: 1 / -1; order: -1; } }

/* ---------- Industry-style panels ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.panel { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card); }
.panel--tint { background: var(--bg-soft); box-shadow: none; }
.panel--accent { background: linear-gradient(110deg, #c6d3fd, #eef1fb 55%, #f6dbe4); border-color: transparent; color: #2b2f36; box-shadow: none; }
.panel--accent h3, .panel--accent h2 { color: #0a0a0a; }
.panel--accent .icon-lg { color: #3141f1; }
.panel--accent .link-arrow { color: #3141f1; }
.panel--dark { background: #000; border-color: rgb(255 255 255 / 0.1); color: #b4bac2; box-shadow: none; }
.panel--dark h2, .panel--dark h3 { color: #fff; }
.panel--dark .label { color: #8c96ff; }
.panel--dark .link-arrow { color: #8c96ff; }
.panel .link-arrow { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.panel .icon-lg { font-size: 28px; color: var(--accent-ink); }
.panel--dark .icon-lg { color: #8c96ff; }
.panel--wide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.panel--wide > div > * + * { margin-top: 14px; }
.panel--wide p { max-width: 62ch; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
@media (max-width: 900px) { .bento > * { grid-column: span 12; } .panel--wide { grid-template-columns: 1fr; } }
.cols { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cols > li { border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 28px; }
.cols .ph { font-size: 26px; color: var(--accent-ink); margin-bottom: 18px; display: block; }
.cols h3 { font-size: 1.1875rem; font-weight: 500; }
.cols p { margin-top: 8px; font-size: 0.9375rem; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 1.25rem; font-weight: 500; }
.rows p { margin-top: 6px; }
.rows > li > :nth-child(3) { align-self: center; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; font-size: 22px; }
.rows .store-badge img { height: 40px; width: auto; max-width: none; }
@media (max-width: 600px) { .rows > li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; } .rows > li > :nth-child(3) { grid-column: 2; justify-self: start; } .icon-tile { width: 40px; height: 40px; font-size: 20px; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; } }

/* ---------- Illustrative application window and devices ---------- */
.app-window { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e7eaed; box-shadow: var(--shadow-lg); font-size: 0.8125rem; color: #3b4148; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #0d0f11; color: #f3f5f9; font-weight: 500; font-size: 0.8125rem; }
.app-avatar { width: 26px; height: 26px; border-radius: 50%; background: #3141f1; color: #fff; display: grid; place-items: center; font-size: 0.6875rem; font-weight: 600; }
.app-main { padding: 18px 20px; min-width: 0; min-height: 200px; }
.app-title { font-size: 1.0625rem; font-weight: 600; color: #0a0a0a; letter-spacing: -0.01em; }
.app-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.app-table td { padding: 10px 0; border-bottom: 1px solid #eef0f2; color: #0a0a0a; }
.app-table td:last-child { text-align: right; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); font-size: 0.6875rem; font-weight: 500; white-space: nowrap; }
.status--wait { background: #fdf1de; color: #9a5b00; }
.status--ok { background: #e3f5ec; color: #147c4e; }
.status--info { background: #eef0fe; color: #3141f1; }
.status--wait::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.devices { position: relative; padding: 0 0 48px; }
.devices .app-window { max-width: 540px; }
.phone { position: absolute; right: 0; bottom: 0; width: 196px; border-radius: 30px; padding: 9px; background: #0d0f11; box-shadow: var(--shadow-lg); border: 1px solid rgb(255 255 255 / 0.1); }
.phone-screen { border-radius: 22px; background: #fff; padding: 18px 14px 22px; min-height: 300px; }
.phone-notch { width: 60px; height: 6px; border-radius: 3px; background: #e7eaed; margin: 0 auto 16px; }
.phone .app-title { font-size: 1rem; }
.phone ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.phone li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #f8f9fa; color: #0a0a0a; font-weight: 500; font-size: 0.8125rem; }
.phone li .ph { color: #3141f1; font-size: 18px; }
@media (max-width: 560px) { .devices { padding-bottom: 0; } .phone { position: relative; width: 196px; margin: -56px 8px 0 auto; } }
.illus-note { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; line-height: 1.45; }
.illus-note .ph { margin-top: 2px; flex-shrink: 0; }

/* ---------- Context map, change sequence, boundary ---------- */
.change { border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; box-shadow: var(--shadow-card); }
.change-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.change-flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.change-flow li { padding: 22px 24px 26px; border-right: 1px solid var(--line); }
.change-flow li:last-child { border-right: 0; }
.change-flow .label { margin-bottom: 10px; color: var(--accent-ink); }
.change-flow p { color: var(--ink); line-height: 1.5; }
.change-note { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
@media (max-width: 860px) { .change-flow { grid-template-columns: 1fr; } .change-flow li { border-right: 0; border-bottom: 1px solid var(--line); } .change-flow li:last-child { border-bottom: 0; } }
.boundary { border-radius: 16px; border: 1px solid var(--line); background: var(--bg-soft); padding: clamp(20px, 3vw, 36px); }
.boundary-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 20px; }
.boundary-zone { border: 1.5px dashed var(--accent); border-radius: 14px; padding: 18px; background: var(--card); }
.boundary-zone .label { margin-bottom: 12px; color: var(--accent-ink); font-size: 0.8125rem; }
.b-node { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.b-node + .b-node { margin-top: 10px; }
.b-node strong { color: var(--ink); display: block; font-size: 0.9375rem; font-weight: 500; }
.b-node span { font-size: 0.8125rem; color: var(--muted); }
.b-flow { display: grid; gap: 14px; justify-items: stretch; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.b-flow div { display: flex; align-items: center; gap: 10px; }
.b-flow div::before, .b-flow div::after { content: ""; flex: 1; height: 0; border-top: 1.5px dashed rgba(49, 65, 241, 0.45); }
.b-flow .ph { display: none; }
.b-model { border-radius: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); }
.b-model strong { color: var(--ink); display: block; font-weight: 500; }
.b-model .chip { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent-ink); font-size: 0.8125rem; }
.b-warn { margin-top: 14px; display: flex; gap: 8px; font-size: 0.875rem; color: var(--ink); }
.b-warn .ph { color: var(--danger); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.boundary-list { display: none; list-style: none; margin-top: 16px; }
.boundary-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.boundary-list strong { color: var(--ink); display: block; font-weight: 500; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; color: var(--muted); margin-top: 24px; }
.note .ph { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
@media (max-width: 860px) {
  .boundary-grid { grid-template-columns: 1fr; gap: 0; }
  .b-flow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    padding: 0;
  }
  .b-flow div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .b-flow div::before,
  .b-flow div::after {
    content: "";
    flex: none;
    width: 0;
    height: 20px;
    border-top: none;
    border-left: 1.5px dashed rgba(49, 65, 241, 0.45);
  }
  .b-flow .ph { display: none; }
  .boundary-list { display: none; }
}

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); font-size: 0.8125rem; white-space: nowrap; border: 1px solid var(--line); background: var(--bg-soft); color: var(--body); }
.tag--live { background: var(--ok-tint); color: var(--ok); border-color: transparent; }
.tag--pilot { background: var(--warn-tint); color: var(--warn); border-color: transparent; }
.tag--accent { background: var(--accent-tint); color: var(--accent-ink); border-color: transparent; }

/* ---------- Media ---------- */
.media img { border-radius: var(--r-media); width: 100%; object-fit: cover; }
.media figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Founder ---------- */
.person { display: inline-flex; gap: 20px; align-items: center; margin-top: 40px; padding: 20px 24px; border-radius: var(--r-card); background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.12); text-align: left; }
.monogram { width: 72px; height: 72px; border-radius: 50%; background: #3141f1; color: #fff; display: grid; place-items: center; font-size: 1.375rem; font-weight: 500; flex-shrink: 0; }
.person h2 { color: #fff; font-size: 1.25rem; }
.person .role { color: #9ca3af; margin-top: 2px; font-size: 0.9375rem; }
.person .bio { color: #b4bac2; margin-top: 6px; font-size: 0.875rem; }
@media (max-width: 520px) { .person { flex-direction: column; align-items: flex-start; } }

/* ---------- Resource cards (staging industry card style) ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--body); transition: border-color .2s var(--ease), transform .3s var(--spring); }
.res-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.res-card .top { display: flex; justify-content: space-between; align-items: center; color: var(--accent-ink); font-size: 24px; margin-bottom: 8px; }
.res-card .top .ph:last-child { font-size: 18px; color: var(--muted); }
.res-card h3 { font-size: 1.125rem; font-weight: 500; }
.res-card .more { margin-top: auto; padding-top: 8px; color: var(--accent-ink); font-weight: 500; font-size: 0.9375rem; }

/* ---------- Store badges ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.page-hero .store-row { justify-content: center; }
.store-badge { display: inline-block; border-radius: 9px; line-height: 0; transition: opacity .2s; }
.store-badge img { height: 48px; width: auto; outline: 1px solid rgb(166 166 166 / 0.6); outline-offset: -1px; border-radius: 9px; }
.store-badge:hover { opacity: .85; }

/* ---------- Closing invitation (staging: centred over the lit footer glow) ---------- */
.cta-x { position: relative; isolation: isolate; overflow: hidden; background: #000; text-align: center; padding-block: clamp(96px, 12vw, 160px); }
.cta-x::before {
  content: ""; position: absolute; inset: 22% -5% -10%; z-index: -1;
  background:
    radial-gradient(30% 45% at 20% 70%, rgb(70 60 200 / 0.55), transparent 70%),
    radial-gradient(30% 50% at 45% 90%, rgb(120 60 200 / 0.55), transparent 70%),
    radial-gradient(28% 45% at 75% 70%, rgb(90 110 230 / 0.55), transparent 70%),
    radial-gradient(18% 30% at 90% 45%, rgb(190 90 200 / 0.45), transparent 70%);
  filter: blur(30px);
}
.cta-x h2 { color: #fff; max-width: 20ch; margin-inline: auto; font-size: clamp(2.25rem, 1.3rem + 3vw, 4rem); letter-spacing: -0.035em; line-height: 1.08; }
.cta-x p { color: #b4bac2; max-width: 56ch; margin: 24px auto 0; }
.cta-x .btn { margin-top: 36px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 500; color: var(--ink); font-size: 0.9375rem; }
.req-mark { color: var(--danger); }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-control); border: 1px solid var(--input-border); background-color: var(--card); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input::placeholder, .textarea::placeholder { color: var(--placeholder); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field.has-error .input, .field.has-error .textarea { border-color: var(--danger); }
.error-msg { display: none; font-size: 0.875rem; color: var(--danger); gap: 6px; align-items: center; }
.field.has-error .error-msg { display: flex; }
.hint { font-size: 0.8125rem; color: var(--muted); }
.form-foot { display: grid; gap: 18px; }
.privacy-note { font-size: 0.875rem; color: var(--muted); }
.privacy-note a { color: var(--accent-ink); }
.btn.is-loading { pointer-events: none; position: relative; overflow: hidden; }
.btn .spinner { display: none !important; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.3) 50%, transparent 80%); transform: translateX(-100%); animation: sweep 1.1s var(--ease) infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r-control); gap: 12px; align-items: flex-start; }
.form-status.is-visible { display: flex; }
.form-status .ph { font-size: 22px; flex-shrink: 0; }
.form-status--error { background: var(--danger-tint); color: var(--danger); }
.form-status--error p { color: var(--ink); }
.form-success { display: none; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-card); background: var(--ok-tint); }
.form-success.is-visible { display: block; }
.form-success > .ph { font-size: 36px; color: var(--ok); }
.form-success h2 { margin-top: 12px; }
.form-success h2:focus { outline: none; }
.form-success p { margin-top: 10px; }
.aside-panel { border-radius: var(--r-card); background: var(--bg-soft); border: 1px solid var(--line); padding: 28px; }
.aside-panel + .aside-panel { margin-top: 16px; }
.aside-panel ol { list-style: none; display: grid; gap: 18px; margin-top: 18px; }
.aside-panel li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.aside-panel .n { font-family: var(--mono); font-size: 0.8125rem; color: var(--accent-ink); padding-top: 2px; }
.aside-panel li strong { color: var(--ink); display: block; font-weight: 500; }
.aside-panel li p { font-size: 0.9375rem; margin-top: 2px; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p { margin-top: 14px; }
.prose a { color: var(--accent-ink); }

/* ---------- Footer (staging: black, large mark, giant faded wordmark) ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #9ca3af; border-top: 1px solid rgb(255 255 255 / 0.08); }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 72px 48px; }
.footer-top ul a { display: inline-flex; align-items: center; gap: 6px; }
.footer-top ul a .ph { font-size: 13px; color: #6b7280; }
.footer-logo { display: block; width: auto; height: 40px; }
.footer-tag { margin-top: 20px; color: #9ca3af; font-size: 0.9375rem; }
.footer-recog { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; width: max-content; max-width: 100%; }
.footer-recog li { display: block; width: 100%; }
.footer-recog a { width: 100%; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 20px 8px 8px; border-radius: 10px; border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.03); text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.footer-recog a:hover { border-color: rgb(255 255 255 / 0.28); background: rgb(255 255 255 / 0.06); }
.fr-logo { display: grid; place-items: center; width: 96px; min-width: 0; height: 44px; overflow: hidden; border-radius: 6px; background: #fff; padding: 6px 8px; }
.fr-logo img { max-height: 28px; width: auto; max-width: 100%; object-fit: contain; }
.fr-logo--text { font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; color: #000; }
.fr-text { display: grid; gap: 2px; min-width: 0; }
.fr-text strong { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; font-size: 0.875rem; line-height: 1.3; white-space: nowrap; }
.fr-text small { color: #9ca3af; font-size: 0.75rem; line-height: 1.3; white-space: nowrap; }
.footer-recog .ph { color: #6b7280; font-size: 14px; transition: color .2s var(--ease); }
.footer-recog a:hover .ph { color: #fff; }
.footer-top h2 { font-size: 0.875rem; color: #9ca3af; margin-bottom: 16px; font-weight: 400; }
.footer-top ul { list-style: none; display: grid; gap: 12px; }
.footer-top ul a { text-decoration: none; color: #fff; font-size: 0.9375rem; }
.footer-top ul a:hover { color: #8c96ff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.8125rem; color: #9ca3af; }
.footer-bottom a { text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-word { font-size: clamp(6rem, 22vw, 20rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: #161616; text-align: center; margin-top: 8px; user-select: none; height: 0.66em; overflow: hidden; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion (restrained; transform and opacity only) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .35s var(--ease); background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgb(140 150 255 / 0.12), transparent 65%); }
.spot:hover::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .stagger.is-in > * { opacity: 1; transform: none; }
  .js .hx .container > *, .js .page-hero .container > * { animation: rise .9s var(--ease) both; }
  .js .hx .container > :nth-child(2), .js .page-hero .container > :nth-child(2) { animation-delay: .08s; }
  .js .hx .container > :nth-child(3), .js .page-hero .container > :nth-child(3) { animation-delay: .16s; }
  .js .hx .container > :nth-child(4), .js .page-hero .container > :nth-child(4) { animation-delay: .24s; }
  .js .hx .container > :nth-child(5), .js .page-hero .container > :nth-child(5) { animation-delay: .32s; }
  .js .hx .container > :nth-child(n+6), .js .page-hero .container > :nth-child(n+6) { animation-delay: .42s; }
  .status--wait::before, .state--live::before { animation: breathe 2.6s ease-in-out infinite; }
  .sphere { animation: spin 80s linear infinite; }
  .sphere img { animation: spin 80s linear infinite reverse; }
  :is(.btn-primary, .btn-light):not(:disabled, [aria-disabled="true"]):hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 10px 24px -12px rgb(49 65 241 / 0.6); }
  .btn-primary:active, .btn-light:active { transform: translateY(0) scale(0.98); }
  .tcard > img.photo { transition: transform 1.2s var(--ease); }
  .tcard:hover > img.photo { transform: scale(1.04); }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes spin { to { transform: rotate(360deg); } }
.notfound { min-height: 60dvh; display: grid; align-content: center; }

/* ---------- Supplied illustrative interface inside the hero frame ---------- */
.screen--illus { background: transparent; border: 0; box-shadow: none; }
.app-window--full { border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: 0 40px 100px -30px rgb(49 65 241 / 0.6); }
.app-split { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 300px; }
.app-side { background: #f8f9fa; border-right: 1px solid #eef0f2; padding: 16px 10px; }
.app-side .k { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .06em; color: #657280; padding: 0 8px 8px; }
.app-side ul { list-style: none; }
.app-side li { padding: 7px 8px; border-radius: 8px; }
.app-side li.on { background: #eef0fe; color: #3141f1; font-weight: 500; }
.app-crumb { color: #657280; font-size: 0.75rem; margin-top: 2px; }
.app-tag { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: #eef0fe; color: #3141f1; font-size: 0.6875rem; font-weight: 500; }
.app-table th { text-align: left; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .06em; color: #657280; font-weight: 500; padding: 6px 0; border-bottom: 1px solid #e7eaed; }
.app-table th:last-child { text-align: right; }
.app-foot { margin-top: 14px; color: #3141f1; font-size: 0.75rem; font-weight: 500; }
@media (max-width: 560px) { .app-split { grid-template-columns: 1fr; } .app-split .app-side { display: none; } }

/* S&R name set in type (no logo supplied) */
.sr-name { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.035em; color: #fff; font-weight: 500; line-height: 1; }

/* Delivery cards without photography: lit dark panels */
.icard { background: #050608; }
.icard::before { background: none; }
.icard--you { background: radial-gradient(80% 70% at 15% 0%, rgb(49 65 241 / 0.45), transparent 70%), #050608; }
.icard--shared { background: radial-gradient(80% 70% at 50% 0%, rgb(124 72 230 / 0.45), transparent 70%), #050608; }
.icard--dalfin { background: radial-gradient(80% 70% at 85% 0%, rgb(96 120 255 / 0.5), transparent 70%), #050608; }
.icard { min-height: 300px; justify-content: space-between; }
.icard-icon { font-size: 30px; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 0.18); background: rgb(255 255 255 / 0.05); margin-bottom: auto; }
.icard h3 { margin-top: 24px; }

/* Recognition logos as white plates inside the news cards */
.nc-logo { display: grid; place-items: center; background: #fff; border-radius: 12px; aspect-ratio: 16 / 10; padding: 12%; }
.nc-logo img { width: 100%; height: auto; aspect-ratio: auto !important; border-radius: 0 !important; object-fit: contain; }

/* Fixes after review */
.hx-stage { align-items: stretch; }
.screen--illus { display: flex; }
.app-window--full { flex: 1; display: flex; flex-direction: column; }
.app-window--full .app-split { flex: 1; }
.hx-side { align-content: start; padding-bottom: clamp(16px, 3vw, 40px); }
.tcard { min-height: 540px; }
.tcard > img.photo { height: 78%; object-position: 50% 10%; }
.tcard::before { background: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0) 20%, rgb(0 0 0 / 0) 42%, rgb(0 0 0 / 0.88) 66%, #000 78%); }
@media (max-width: 640px) { .tcard { min-height: 500px; } }

/* =====================================================================
   Hero, refined: staging's edge glows, a two-line headline with
   staging-style blue emphasis, legible recognition, and the product
   frame rising into the first view.
   ===================================================================== */
.hx { padding-top: clamp(40px, 5vw, 72px); }
.hx::before { display: none; }
.hx::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 30%), rgb(49 65 241 / 0.16), transparent 70%);
}
.hx.is-lit::after { opacity: 1; }
.hx-bands { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-bands span { position: absolute; top: 34%; bottom: -10%; width: 34%; filter: blur(60px); opacity: .95; }
.hx-bands span:first-child { left: -16%; background: radial-gradient(50% 60% at 60% 55%, rgb(124 58 237 / 0.75), rgb(76 29 149 / 0.35) 45%, transparent 75%); }
.hx-bands span:last-child { right: -16%; background: radial-gradient(50% 60% at 40% 55%, rgb(96 125 255 / 0.85), rgb(49 65 241 / 0.4) 45%, transparent 75%); }

.hx h1 { max-width: 21ch; font-size: clamp(2.5rem, 1.1rem + 3.9vw, 4.375rem); letter-spacing: -0.04em; line-height: 1.04; }
.hx h1 .hl { color: #fff; background: none; -webkit-background-clip: unset; background-clip: unset; -webkit-text-fill-color: #fff; }
.hx .label { margin-bottom: 14px; font-size: 0.9375rem; }
.hx-sub { margin-top: 22px; max-width: 58ch; }
.hx-actions { margin-top: 32px; }
.hx-actions .btn { min-height: 52px; padding-inline: 26px; font-size: 1rem; }

/* Recognition: one glass rail, logos large enough to read */
.hx-badges { gap: 0; margin-bottom: 28px; display: inline-flex; border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--r-pill); background: rgb(255 255 255 / 0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 5px; }
.hx-badge { border: 0; background: transparent; padding: 5px 16px 5px 5px; gap: 12px; font-size: 0.875rem; }
.hx-badge + .hx-badge { border-left: 1px solid rgb(255 255 255 / 0.12); border-radius: 0 var(--r-pill) var(--r-pill) 0; padding-left: 14px; }
.hx-badge:hover { background: rgb(255 255 255 / 0.06); }
.hx-badge .chip { padding: 5px 12px; border-radius: var(--r-pill); }
.hx-badge .chip img { height: 26px; }
.hx-badge small { font-size: 0.75rem; }

/* Customer quote as a glass pill */
.hx-quote { margin-top: 28px; padding: 8px 20px 8px 8px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.04); }
.hx-quote .hx-avatar { width: 48px; height: 48px; }
.hx-quote blockquote { font-size: 1rem; }

/* Product frame: wider, lit top edge, star dust like staging's frame */
.hx-frame { max-width: 100%; margin-top: clamp(40px, 4.5vw, 56px); background: linear-gradient(180deg, #05060a, #000 60%); border-color: rgb(255 255 255 / 0.12); }
.hx-frame::after { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgb(140 150 255 / 0.9), transparent); }
.hx-stage { position: relative; z-index: 1; }

@media (max-width: 600px) {
  .hx-badges { display: flex; flex-direction: column; border-radius: 20px; width: 100%; max-width: 420px; margin-inline: auto; margin-bottom: 24px; }
  .hx-badge { border-radius: 16px; }
  .hx-badge + .hx-badge { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.12); border-radius: 0 0 16px 16px; padding-left: 5px; }
  .hx-badge .ph { margin-left: auto; }
  .hx-actions .btn { width: 100%; max-width: 360px; }
  .hx-quote { border-radius: 20px; max-width: 360px; }
  .hx-bands span { top: 55%; width: 60%; }
  .hx-bands span:first-child { left: -40%; } .hx-bands span:last-child { right: -40%; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .hx-badges { flex-direction: row; flex-wrap: nowrap; width: 100%; max-width: 100%; border-radius: var(--r-pill); margin-bottom: 24px; padding-inline: 16px; box-sizing: border-box; }
  .hx-badge { flex: 1; font-size: 0.7rem; padding: 4px 8px 4px 4px; gap: 6px; }
  .hx-badge + .hx-badge { border-left: 1px solid rgb(255 255 255 / 0.12); border-top: 0; }
  .hx-badge .chip { width: 68px; padding: 4px 6px; }
  .hx-badge .chip img { max-height: 18px; }
  .hx-badge small { display: none; }
  .hx-badge-dfat { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hx-bands span { animation: band 14s ease-in-out infinite alternate; }
  .hx-bands span:last-child { animation-delay: -7s; }
}
@keyframes band { to { transform: translateY(-6%) scale(1.08); opacity: .8; } }
.hx-badges { display: flex; flex-wrap: nowrap; width: fit-content; margin-inline: auto; }
.hx .label { display: flex; justify-content: center; }
.hx h1 { max-width: 25ch; }
@media (max-width: 600px) { .hx-badges { width: 100%; } }
@media (min-width: 761px) and (max-width: 1080px) {
  .hx-badge { font-size: 0.75rem; padding: 4px 10px 4px 4px; gap: 7px; }
  .hx-badge .chip { width: 80px; padding: 4px 8px; }
  .hx-badge .chip img { max-height: 20px; }
  .hx-badge small { display: none; }
  .hx-badge-dfat { font-size: 0.8125rem; }
}

/* ---------- S&R scope card (replaces the six-tile grid) ---------- */
.scope-card {
  position: relative; overflow: hidden; border-radius: 16px; text-align: left;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: radial-gradient(70% 60% at 100% 0%, rgb(49 65 241 / 0.18), transparent 70%), #0b0c0f;
  box-shadow: 0 30px 80px -40px rgb(49 65 241 / 0.5);
}
.scope-card::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgb(140 150 255 / 0.7), transparent); }
.scope-head { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.scope-mark { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; color: #fff; background: linear-gradient(135deg, #3141f1, #6d4be0); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25); }
.scope-name { color: #fff; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.scope-where { color: #9ca3af; font-size: 0.875rem; margin-top: 4px; }
.scope-list { list-style: none; padding: 6px 28px; }
.scope-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; color: #fff; font-size: 1rem; }
.scope-list li + li { border-top: 1px solid rgb(255 255 255 / 0.07); }
.scope-list--ai { border-top: 1px dashed rgb(242 189 107 / 0.25); background: rgb(242 189 107 / 0.03); padding-bottom: 10px; }
.scope-list small { display: block; color: #9ca3af; font-size: 0.75rem; margin-top: 2px; }
.scope-card .state { align-self: center; }
@media (max-width: 480px) { .scope-head, .scope-list { padding-inline: 20px; } }
.page-hero-media .scope-card { max-width: 640px; margin-inline: auto; }

/* ---------- Hero video ---------- */
.screen--video { position: relative; display: block; background: #000; border-radius: 14px 14px 0 0; border: 1px solid rgb(255 255 255 / 0.14); border-bottom: 0; box-shadow: 0 40px 100px -30px rgb(49 65 241 / 0.6); overflow: hidden; }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; font-size: 16px; color: #fff;
  background: rgb(0 0 0 / 0.55); border: 1px solid rgb(255 255 255 / 0.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s, border-color .2s;
}
.video-toggle:hover { background: rgb(0 0 0 / 0.75); border-color: rgb(255 255 255 / 0.5); }
.video-toggle .ph-play { display: none; }
.video-toggle[aria-pressed="true"] .ph-play { display: block; }
.video-toggle[aria-pressed="true"] .ph-pause { display: none; }
html:not(.js) .video-toggle { display: none; }
.hx-stage { align-items: center; }
.hx-side { padding-bottom: 0; align-content: center; }
.hx-frame { padding-bottom: clamp(16px, 3vw, 40px); border-radius: 24px; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.screen--video { border-radius: 14px; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.hx h1 { margin-top: 4px; }
.hx-sub { text-wrap: balance; max-width: 52ch; }

/* =====================================================================
   Spacing and hierarchy system
   Space scale: 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 (fluid between mobile and desktop)
   Type scale:  hero 70 > closing 56 > section 48 > sub-section 32 > item 20 > body 17
   ===================================================================== */
:root {
  --s-1: 8px; --s-2: 12px; --s-3: 16px; --s-4: 24px; --s-5: 32px;
  --s-6: clamp(40px, 4vw, 48px); --s-7: clamp(48px, 5vw, 64px); --s-8: clamp(64px, 7vw, 96px);
  --section: clamp(72px, 7.5vw, 112px);
}

/* Hero: badges, then a tight message group, then actions, then proof, then product */
.hx { padding-top: clamp(40px, 4.5vw, 64px); }
.hx-badges { margin-bottom: var(--s-6); }
.hx h1 { margin-top: 0; }
.hx-sub { margin-top: var(--s-4); }
.hx-actions { margin-top: var(--s-5); }
.hx-quote { margin-top: var(--s-6); }
.hx-frame { margin-top: var(--s-7); }
.hx-stage { gap: var(--s-4); }
.hx-side { gap: var(--s-3); }

/* Type hierarchy */
.h2, .usedfor .h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; }
.cta-x h2 { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); }
.sub-head .h3 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); }
.uf-list h3, .rows h3, .cols h3, .res-card h3, .icard h3 { font-size: 1.25rem; line-height: 1.3; }
.ncard h3 { font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem); }

/* Section rhythm: header to content, kicker to heading, heading to copy */
.sh { margin-bottom: var(--s-7); gap: var(--s-4) var(--s-7); }
.sh .label, .why .label, .usedfor .label, .trusted .label, .ai-area .label { display: block; margin-bottom: var(--s-2); }
.sh-side .actions, .why .actions { margin-top: var(--s-4); }
.usedfor .lead, .trusted .lead, .why .lead { margin-top: var(--s-4); }
.usedfor .h2 + .lead { margin-top: var(--s-4); }
.trusted .link-row, .usedfor .mt-32 { margin-top: var(--s-5); }
.uf-list > li { padding-block: var(--s-4); }
.uf-list > li:first-child { padding-top: 0; }
.why { margin-bottom: var(--s-8); }
.own + .sub-head { margin-top: var(--s-8); }
.sub-head { margin-bottom: var(--s-6); }
.icards + .ai-area { margin-top: var(--s-4); }
.tcards, .icards, .bento, .cols, .recog-cards, .res-grid { gap: var(--s-4); }

/* Consecutive black sections read as one band: no double padding, no colour seam */
.section--black + .section--black { padding-top: 0; }
@media (max-width: 900px) { .section--black + .section--black { padding-top: var(--section) !important; } }
.section--black .container > .sh:first-child { padding-top: var(--s-8); border-top: 1px solid rgb(255 255 255 / 0.08); }
.section--black.on-dark { background: #000; }

/* Closing invitation: generous, but not more than the hero */
.cta-x { padding-block: clamp(88px, 10vw, 136px); }
.cta-x p { margin-top: var(--s-4); }
.cta-x .btn { margin-top: var(--s-5); }

/* Page heroes on supporting pages follow the same rhythm */
.page-hero .label { margin-bottom: var(--s-3); }
.page-hero .lead { margin-top: var(--s-4); }
.page-hero .hero-actions, .page-hero .mt-32 { margin-top: var(--s-5); }
.page-hero-media { margin-top: var(--s-7); }

@media (max-width: 767px) {
  .hx-badges { margin-bottom: var(--s-5); }
  .hx-quote { margin-top: var(--s-5); }
  .hx-actions { gap: var(--s-2); }
  .sh { margin-bottom: var(--s-6); }
}

/* ---------- Hero balance: one centred axis from badges to frame ---------- */
.hx-sub { max-width: 64ch; text-wrap: balance; }
.hx-frame { max-width: 100%; padding: clamp(12px, 1.6vw, 20px); border-radius: 28px; border: 1px solid rgb(255 255 255 / 0.12); }
.hx-frame .screen--video { border: 0; border-radius: 16px; box-shadow: 0 40px 100px -40px rgb(49 65 241 / 0.7); }
.hx-event {
  position: relative; z-index: 1; margin-top: clamp(12px, 1.6vw, 20px);
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr) auto; gap: clamp(20px, 2.6vw, 36px); align-items: center;
  padding: 12px 28px 12px 12px; border-radius: 18px; text-align: left; text-decoration: none;
  background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.08);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.hx-event:hover { background: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.18); }
/* Full 3:2 frame so the flag, the stands and the Dalfin sign stay in view */
.hx-event-photos { display: grid; gap: 8px; min-width: 0; }
.hx-event img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.hx-event-photos img + img { display: none; }
.hx-event-text { display: grid; gap: 6px; min-width: 0; }
.hx-event-text strong { color: #fff; font-weight: 500; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); letter-spacing: -0.01em; }
.hx-event-text span { color: #9ca3af; font-size: 0.9375rem; line-height: 1.5; }
.hx-event-text time, .hx-event-text .nowrap { white-space: nowrap; }
.hx-event-link { display: inline-flex; align-items: center; gap: 8px; color: #8c96ff; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; transition: gap .2s var(--ease); }
.hx-event:hover .hx-event-link { gap: 12px; }
@media (max-width: 900px) {
  .hx-event { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); row-gap: 12px; padding-right: 20px; }
  .hx-event-photos { grid-row: span 2; }
  .hx-event-text { align-self: end; }
  .hx-event-link { grid-column: 2; align-self: start; }
}
@media (max-width: 640px) {
  .hx-event { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 10px 10px 16px; }
  .hx-event-photos { grid-row: auto; }
  .hx-event-text, .hx-event-link { grid-column: 1; padding-inline: 6px; }
}
.hx { padding-bottom: var(--s-8); }
.hx-bands { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hx + .section--black { padding-top: clamp(24px, 3vw, 40px); }
.hx h1 + .hx-actions { margin-top: var(--s-6); }

/* ---------- S&R scope card, quiet version: logo, hairline list, plain status text ---------- */
.scope-card { border-radius: 4px; border: 1px solid rgb(255 255 255 / 0.1); background: #0a0a0a; box-shadow: none; overflow: visible; }
.scope-card::before { display: none; }
.scope-head { display: block; padding: 32px 32px 28px; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.scope-logo { width: 168px; height: auto; }
.scope-where { margin-top: 16px; color: #9ca3af; font-size: 0.875rem; }
.scope-cols { display: flex; justify-content: space-between; padding: 14px 32px 0; color: #6b7280; font-size: 0.75rem; letter-spacing: .02em; }
.scope-list, .scope-list--ai { padding: 0 32px 8px; background: none; border: 0; }
.scope-list li { padding: 18px 0; font-size: 1rem; align-items: baseline; }
.scope-list li + li { border-top: 1px solid rgb(255 255 255 / 0.07); }
.scope-list .sys { display: grid; gap: 2px; color: #fff; }
.scope-list small { color: #6b7280; font-size: 0.8125rem; margin: 0; }
.st { font-size: 0.875rem; white-space: nowrap; }
.st--live { color: #6fd3a3; }
.st--pilot { color: #e9b872; }
@media (max-width: 480px) { .scope-head { padding: 24px 20px 22px; } .scope-cols, .scope-list { padding-inline: 20px; } .scope-logo { width: 140px; } }

/* ---------- S&R tile grid, refined: one structure per tile, solid fills, aligned slots ---------- */
.tiles { gap: 12px; grid-auto-rows: 1fr; }
.tiles .t {
  min-height: 132px; padding: 20px 22px; border-radius: 6px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 6px; align-items: start;
  background: #0d0d0f; border: 1px solid rgb(255 255 255 / 0.08);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.tiles .t:hover { border-color: rgb(255 255 255 / 0.18); background: #111114; }
.t-k { color: #6b7280; font-size: 0.75rem; letter-spacing: .02em; }
.t-name { color: #fff; font-weight: 500; font-size: 1.0625rem; line-height: 1.3; }
.tiles .t > :last-child { align-self: end; justify-self: start; }
.t-cap { color: #9ca3af; font-size: 0.8125rem; }
.tiles .state { padding: 4px 10px; font-size: 0.75rem; }
.tiles .t--logo { display: grid; place-items: center; grid-template-rows: 1fr; background: #0d0d0f; }
.tiles .t--logo img { width: min(170px, 80%); height: auto; filter: none; opacity: 1; align-self: center; justify-self: center; }
@media (max-width: 420px) { .tiles .t { padding: 16px; min-height: 120px; } .t-name { font-size: 1rem; } }
.tiles .t.t--logo > img { align-self: center; justify-self: center; }

/* ---------- S&R customer panel: company on top, its systems branching beneath ---------- */
.org { border: 1px solid rgb(255 255 255 / 0.1); border-radius: 8px; background: #0b0b0d; text-align: left; overflow: hidden; }
.org-head { display: flex; align-items: center; gap: 28px; padding: 28px 32px; background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0)); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.org-logo { width: 150px; height: auto; flex-shrink: 0; }
.org-meta { display: grid; gap: 4px; padding-left: 28px; border-left: 1px solid rgb(255 255 255 / 0.12); }
.org-k { color: #6b7280; font-size: 0.75rem; letter-spacing: .04em; text-transform: uppercase; }
.org-meta strong { color: #fff; font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.org-meta span:last-child { color: #9ca3af; font-size: 0.875rem; }

/* Tree: a trunk from the company, a branch into each group */
.org-tree { position: relative; padding: 8px 32px 28px 72px; }
.org-tree::before { content: ""; position: absolute; left: 106px; top: 0; height: 24px; width: 1px; background: rgb(255 255 255 / 0.18); }
.org-grp { position: relative; padding-top: 22px; }
.org-grp::before { content: ""; position: absolute; left: -34px; top: 0; bottom: 0; width: 1px; background: rgb(255 255 255 / 0.18); }
.org-grp:last-child::before { bottom: auto; height: 34px; }
.org-grp::after { content: ""; position: absolute; left: -34px; top: 33px; width: 24px; height: 1px; background: rgb(255 255 255 / 0.18); }
.org-tree::before { display: none; }
.org-grp-h { display: inline-flex; align-items: center; gap: 8px; color: #c4c9cf; font-size: 0.8125rem; margin-bottom: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--live { background: #6fd3a3; box-shadow: 0 0 0 3px rgb(111 211 163 / 0.16); }
.dot--pilot { background: #e9b872; box-shadow: 0 0 0 3px rgb(233 184 114 / 0.16); }
.org-sys { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.org-sys--one { grid-template-columns: minmax(0, 1fr); max-width: calc((100% - 20px) / 3); }
.org-sys li { display: grid; gap: 14px; align-content: space-between; min-height: 104px; padding: 16px; border-radius: 6px; background: #121215; border: 1px solid rgb(255 255 255 / 0.07); color: #fff; font-size: 0.9375rem; line-height: 1.3; transition: border-color .25s var(--ease); }
.org-sys li:hover { border-color: rgb(255 255 255 / 0.2); }
.org-sys .ph { font-size: 20px; color: #8c96ff; }
.org-grp:last-child .org-sys li { border-style: dashed; border-color: rgb(233 184 114 / 0.3); }
.org-grp:last-child .org-sys .ph { color: #e9b872; }
.org-grp + .org-grp { margin-top: 6px; }
@media (max-width: 1100px) and (min-width: 901px) { .org-sys { grid-template-columns: 1fr; } .org-sys--one { max-width: none; } .org-sys li { min-height: 0; grid-auto-flow: column; justify-content: start; align-items: center; } }
@media (max-width: 560px) {
  .org-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 20px; }
  .org-meta { padding-left: 0; border-left: 0; }
  .org-tree { padding: 4px 20px 24px 52px; }
  .org-grp::before, .org-grp::after { left: -28px; } .org-grp::after { width: 18px; }
  .org-sys, .org-sys--one { grid-template-columns: 1fr; max-width: none; }
  .org-sys li { min-height: 0; grid-auto-flow: column; justify-content: start; align-items: center; }
}
.org-tree { padding-top: 0; } @media (max-width: 560px) { .org-tree { padding-top: 0; } }

/* ---------- S&R system map ---------- */
.map {
  --ln: rgb(255 255 255 / 0.22); --amber: #e9b872; --g: 12px; --drop: 28px;
  position: relative; padding: 36px 28px 28px; border-radius: 10px; text-align: center;
  border: 1px solid rgb(255 255 255 / 0.09);
  background-color: #08080a;
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px);
  background-size: 18px 18px; background-position: 9px 9px;
}
.map-root {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 28px 16px; border-radius: 10px; background: #111113; border: 1px solid rgb(255 255 255 / 0.14);
}
.map-logo { width: 132px; height: auto; }
.map-where { color: #9ca3af; font-size: 0.8125rem; white-space: nowrap; }
.map-stem { width: 1px; height: var(--drop); margin: 0 auto; background: var(--ln); }

.map-row { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); text-align: left; }
/* bus: solid across the live systems, dashed into the pilot */
.map-row::before, .map-row::after { content: ""; position: absolute; top: 0; height: 1px; }
.map-row::before { left: calc((100% - 3 * var(--g)) / 8); right: calc((100% - 3 * var(--g)) * 3 / 8 + var(--g)); background: var(--ln); }
.map-row::after { left: calc((100% - 3 * var(--g)) * 5 / 8 + 2 * var(--g)); right: calc((100% - 3 * var(--g)) / 8); background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 8px); opacity: .7; }
.map-node {
  position: relative; margin-top: var(--drop); min-height: 104px; padding: 14px 14px 12px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  border-radius: 8px; background: #111113; border: 1px solid rgb(255 255 255 / 0.1);
  transition: border-color .25s var(--ease), transform .3s var(--spring);
}
.map-node::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--drop) - 1px); width: 1px; height: var(--drop); background: var(--ln); }
.map-node:hover { border-color: rgb(255 255 255 / 0.28); transform: translateY(-2px); }
.map-name { color: #fff; font-size: 0.9375rem; line-height: 1.3; font-weight: 500; }
.map-st { font-size: 0.75rem; color: #6fd3a3; }
.map-node--pilot { border-color: rgb(233 184 114 / 0.28); background: linear-gradient(180deg, rgb(233 184 114 / 0.06), transparent 60%), #111113; }
.map-node--pilot::before { background: repeating-linear-gradient(180deg, var(--amber) 0 4px, transparent 4px 8px); opacity: .7; }
.map-node--pilot .map-st { color: var(--amber); }

/* Narrow column (tablet split) and phones: a left rail instead of a bus */
@media (max-width: 1100px) and (min-width: 901px), (max-width: 600px) {
  .map { text-align: left; padding: 24px 20px; }
  .map-root { display: flex; align-items: flex-start; }
  .map-where { white-space: normal; }
  .map-stem { margin: 0 0 0 28px; }
  .map-row { grid-template-columns: 1fr; gap: 10px; padding-left: 56px; }
  .map-row::before { left: 28px; right: auto; top: 0; bottom: auto; width: 1px; height: calc(100% - 44px - 10px - 64px); background: var(--ln); }
  .map-row::after { left: 28px; right: auto; top: auto; bottom: 32px; width: 1px; height: calc(64px + 10px); background: repeating-linear-gradient(180deg, var(--amber) 0 4px, transparent 4px 8px); }
  .map-node { margin-top: 0; min-height: 64px; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 14px; }
  .map-node::before { left: -28px; top: 50%; width: 28px; height: 1px; }
  .map-node--pilot::before { background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 8px); }
  .map-st { text-align: right; }
}
.map-st { white-space: nowrap; }
.map-name { display: grid; gap: 4px; }
.map-note { color: #9ca3af; font-size: 0.75rem; font-weight: 400; }
.page-hero-media:has(> .map) { padding: 0; border: 0; background: none; max-width: 760px; margin-bottom: var(--s-7); } .page-hero--media:has(.map) { padding-bottom: var(--s-7); }

/* ---------- S&R hub: customer at the centre, systems in orbit ---------- */
.hub { --amber: #e9b872; width: 100%; max-width: 540px; margin-inline: auto; text-align: center; }
.hub-stage { position: relative; aspect-ratio: 1; }
.hub-orbit { position: absolute; inset: 13%; border-radius: 50%; border: 1.5px dotted rgb(255 255 255 / 0.32); }
.hub-halo {
  position: absolute; inset: 24%; border-radius: 50%;
  background: radial-gradient(circle, rgb(49 65 241 / 0.22), rgb(49 65 241 / 0.06) 70%);
  border: 1px solid rgb(120 135 255 / 0.22);
}
.hub-core {
  position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #4f5cff, #3141f1 55%, #2430c4);
  box-shadow: 0 20px 60px -10px rgb(49 65 241 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.hub-core img { width: 70%; height: auto; }
.hub-nodes { list-style: none; }
.hub-node { position: absolute; width: 0; height: 0; }
.hub-node--top { left: 50%; top: 13%; }
.hub-node--right { left: 87%; top: 50%; }
.hub-node--bottom { left: 50%; top: 87%; }
.hub-node--left { left: 13%; top: 50%; }
.hub-icon {
  position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #0b0b0d; border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.8);
}
.hub-icon .ph { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: #3141f1; }
.hub-label {
  position: absolute; bottom: 40px; left: 0; transform: translateX(-50%); white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: #fff;
  background: #151518; border: 1px solid rgb(255 255 255 / 0.14); box-shadow: 0 8px 24px -10px rgb(0 0 0 / 0.8);
}
.hub-node--left .hub-label { transform: translateX(-30px); }
.hub-node--right .hub-label { transform: translateX(calc(-100% + 30px)); }
.hub-node--bottom .hub-label { bottom: auto; top: 40px; }
.hub-node--pilot .hub-icon { border: 1.5px dashed rgb(233 184 114 / 0.7); }
.hub-node--pilot .hub-icon .ph { background: var(--amber); color: #1a1408; }
.hub-node--pilot .hub-label { border-color: rgb(233 184 114 / 0.35); }
.hub-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 8px; color: #9ca3af; font-size: 0.8125rem; }
.hub-key { display: inline-flex; align-items: center; gap: 8px; color: #c4c9cf; }
.k { width: 10px; height: 10px; border-radius: 50%; }
.k--live { background: #3141f1; }
.k--pilot { background: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .hub-orbit { animation: spin 120s linear infinite; }
  .hub-halo { animation: halo 6s ease-in-out infinite; }
}
@keyframes halo { 50% { transform: scale(1.04); opacity: .8; } }
@media (max-width: 480px) {
  .hub-icon { left: -24px; top: -24px; width: 48px; height: 48px; }
  .hub-icon .ph { width: 32px; height: 32px; font-size: 16px; }
  .hub-label { font-size: 0.75rem; padding: 5px 10px; bottom: 32px; white-space: normal; width: max-content; max-width: 116px; text-align: center; line-height: 1.25; }
  .hub-node--bottom .hub-label { top: 32px; }
  .hub-node--left .hub-label { transform: translateX(-24px); text-align: left; }
  .hub-node--right .hub-label { transform: translateX(calc(-100% + 24px)); text-align: right; }
  .hub-legend { flex-direction: column; gap: 6px; }
}
.page-hero-media:has(> .hub) { padding: 0; border: 0; background: none; max-width: 560px; margin-bottom: var(--s-7); }
.page-hero--media:has(.hub) { padding-bottom: var(--s-7); }
.hub { padding-block: 44px 0; }
.hub-orbit { border: 2px dotted rgb(255 255 255 / 0.42); }
.hub-legend { margin-top: 64px; }
@media (max-width: 480px) { .hub { padding-top: 40px; } .hub-legend { margin-top: 52px; align-items: center; } }

/* ---------- S&R orbit: built from the site's own language (star dust, Dalfin glow, gyroscope rings) ---------- */
.orb { width: 100%; max-width: 580px; margin-inline: auto; text-align: center; }
.orb-stage {
  position: relative; aspect-ratio: 560 / 480;
  background-image:
    radial-gradient(1px 1px at 8% 14%, #fff, transparent), radial-gradient(1px 1px at 22% 82%, #c7cbff, transparent),
    radial-gradient(1.2px 1.2px at 40% 6%, #fff, transparent), radial-gradient(1px 1px at 66% 12%, #aab2ff, transparent),
    radial-gradient(1px 1px at 88% 30%, #fff, transparent), radial-gradient(1.3px 1.3px at 94% 76%, #d6d9ff, transparent),
    radial-gradient(1px 1px at 4% 46%, #fff, transparent), radial-gradient(1px 1px at 58% 94%, #c7cbff, transparent),
    radial-gradient(1px 1px at 76% 58%, #fff, transparent), radial-gradient(1px 1px at 30% 40%, #fff, transparent);
}
.orb-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-core { position: absolute; left: 50%; top: 50%; width: 24%; transform: translate(-50%, -50%); }
.orb-core img { width: 100%; height: auto; }

.orb-sats { list-style: none; }
.orb-sat { position: absolute; width: 0; height: 0; }
.orb-sat--back  { left: 50%;   top: 27.1%; }
.orb-sat--left  { left: 7.9%;  top: 56.5%; }
.orb-sat--right { left: 92.1%; top: 56.5%; }
.orb-sat--front { left: 50%;   top: 77.1%; }
.orb-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(49 65 241 / 0.35), 0 0 22px 4px rgb(79 92 255 / 0.9); }
.orb-sat--pilot .orb-dot { left: -4px; top: -4px; width: 8px; height: 8px; background: #f3cf95; box-shadow: 0 0 0 3px rgb(233 184 114 / 0.25), 0 0 16px 2px rgb(233 184 114 / 0.7); }
.orb-txt { position: absolute; display: grid; gap: 3px; white-space: nowrap; }
.orb-name { color: #fff; font-size: 0.9375rem; font-weight: 400; letter-spacing: -0.01em; }
.orb-st { color: #8b93a3; font-size: 0.75rem; }
.orb-sat--pilot .orb-name { color: #d6d9e0; }
.orb-sat--pilot .orb-st { color: #e9b872; }
.orb-sat--back .orb-txt  { bottom: 16px; left: 0; transform: translateX(-50%); text-align: center; }
.orb-sat--front .orb-txt { top: 18px; left: 0; transform: translateX(-50%); text-align: center; }
.orb-sat--left .orb-txt  { top: 18px; left: -6px; text-align: left; }
.orb-sat--right .orb-txt { top: 18px; right: -6px; text-align: right; }
.orb-cap { margin-top: 28px; color: #8b93a3; font-size: 0.8125rem; }

@media (prefers-reduced-motion: no-preference) {
  .orb-comet { animation: orb-comet 9s linear infinite; }
  .orb-gyro { transform-origin: 280px 240px; animation: spin 60s linear infinite; }
  .orb-dot { animation: orb-pulse 3.2s ease-in-out infinite; }
  .orb-sat--right .orb-dot { animation-delay: .8s; } .orb-sat--front .orb-dot { animation-delay: 1.6s; } .orb-sat--back .orb-dot { animation-delay: 2.4s; }
}
@media (prefers-reduced-motion: reduce) { .orb-comet { display: none; } }
@keyframes orb-comet { to { stroke-dashoffset: -1000; } }
@keyframes orb-pulse { 50% { transform: scale(1.25); } }

@media (max-width: 480px) {
  .orb-name { font-size: 0.8125rem; }
  .orb-st { font-size: 0.6875rem; }
  .orb-sat--left .orb-txt, .orb-sat--right .orb-txt { white-space: normal; width: 104px; }
}
.page-hero-media:has(> .orb) { padding: 0; border: 0; background: none; max-width: 600px; margin-bottom: var(--s-7); }
.page-hero--media:has(.orb) { padding-bottom: var(--s-7); }
.orb-txt { padding: 4px 8px; border-radius: 8px; background: rgb(0 0 0 / 0.82); box-shadow: 0 0 14px 8px rgb(0 0 0 / 0.82); }
.orb-sat--left .orb-txt { left: -14px; } .orb-sat--right .orb-txt { right: -14px; }
.orb-sat--back .orb-txt { bottom: 12px; } .orb-sat--front .orb-txt { top: 14px; }
.orb-cap { margin-top: 12px; }
.orb-txt { background: rgb(0 0 0 / 0.6); box-shadow: 0 0 18px 10px rgb(0 0 0 / 0.6); }

/* ---------- S&R marquee, replicating staging's "Trusted by teams building real systems" ---------- */
.mq { position: relative; }
.mq-cols { position: relative; display: flex; justify-content: flex-end; gap: 24px; height: 360px; overflow: hidden; }
.mq-cols::before, .mq-cols::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; height: 114px; pointer-events: none; }
.mq-cols::before { top: 0; background: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0) 100%); }
.mq-cols::after { bottom: 0; background: linear-gradient(0deg, #000 0%, rgb(0 0 0 / 0) 100%); }
.mq-col { display: flex; flex-direction: column; }
.mq-track { list-style: none; display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px; }
.mq-tile { width: 200px; height: 80px; flex-shrink: 0; border-radius: 12px; padding: 16px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.mq-tile--logo img { max-height: 44px; max-width: 132px; width: auto; height: auto; opacity: .7; filter: brightness(0) invert(1); }
.mq-name { color: rgb(255 255 255 / 0.7); font-size: 1rem; line-height: 1.25; letter-spacing: -0.01em; }
.mq-st { color: rgb(255 255 255 / 0.4); font-size: 0.75rem; }
.mq-tile--pilot .mq-st { color: rgb(233 184 114 / 0.75); }
.trusted { align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .mq-track--up { animation: mq-up 26s linear infinite; }
  .mq-track--down { animation: mq-down 26s linear infinite; }
  .mq:hover .mq-track { animation-play-state: paused; }
}
@keyframes mq-up { to { transform: translateY(-100%); } }
@keyframes mq-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Small screens: staging switches to a horizontal marquee */
@media (max-width: 1023px) {
  .mq-cols { height: auto; display: block; justify-content: initial; }
  .mq-cols::before, .mq-cols::after { top: 0; bottom: 0; height: auto; width: 64px; }
  .mq-cols::before { left: 0; right: auto; background: linear-gradient(90deg, #000, rgb(0 0 0 / 0)); }
  .mq-cols::after { right: 0; left: auto; background: linear-gradient(270deg, #000, rgb(0 0 0 / 0)); }
  .mq-col { flex-direction: row; width: max-content; }
  .mq-col + .mq-col { margin-top: 8px; }
  .mq-track { flex-direction: row; gap: 16px; padding: 0 16px 0 0; }
  .mq-tile { width: 180px; height: 72px; }
  @media (prefers-reduced-motion: no-preference) {
    .mq-track--up { animation: mq-left 30s linear infinite; }
    .mq-track--down { animation: mq-right 30s linear infinite; }
  }
}
@keyframes mq-left { to { transform: translateX(-100%); } }
@keyframes mq-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mq-col .mq-track + .mq-track { display: none; } .mq-cols { height: auto; } .mq-cols::before, .mq-cols::after { display: none; } }
.page-hero-media:has(> .mq) { padding: 0; border: 0; background: none; max-width: 520px; margin-bottom: var(--s-7); }
.page-hero-media:has(> .mq) .mq-cols { justify-content: center; }
.page-hero--media:has(.mq) { padding-bottom: var(--s-7); }
.trusted > *, .mq { min-width: 0; } .mq { overflow: hidden; }

/* =====================================================================
   S&R ring diagram. Light-theme reference translated to dark:
   white surfaces -> near-black glass with hairline borders and top highlight;
   grey drop shadows -> black depth plus a blue underglow at the centre;
   purple dotted rings -> faint blue-white dots; purple icons -> Dalfin blue (amber for the pilot);
   illustrated avatars -> S&R's real leaders.
   ===================================================================== */
.eco { width: 100%; max-width: 600px; margin-inline: auto; container-type: inline-size; }
.eco-stage { position: relative; aspect-ratio: 5 / 4; font-size: clamp(10px, 2.35cqw, 14.5px); }
.eco-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(49 65 241 / 0.32), rgb(49 65 241 / 0.08) 55%, transparent); pointer-events: none; }
.eco-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; }
.eco-ring--1 { width: 28%; border-radius: 26%; border: 1.5px dotted rgb(140 150 255 / 0.55); }
.eco-ring--2 { width: 44%; border-radius: 30%; border: 1.5px dotted rgb(140 150 255 / 0.35); }
.eco-ring--3 { width: 72%; border-radius: 32%; border: 1.5px dotted rgb(255 255 255 / 0.16); }
.eco-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18%; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 22%;
  background: linear-gradient(180deg, #17181c, #0c0d10);
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 24px 50px -12px rgb(49 65 241 / 0.65), 0 0 0 6px rgb(255 255 255 / 0.02);
}
.eco-core img { width: 74%; height: auto; }
.eco-items { list-style: none; }
.eco-pill {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .6em;
  padding: .7em 1.1em .7em .85em; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, #17181c, #111215); border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 14px 30px -12px rgb(0 0 0 / 0.9);
  color: #fff; font-size: 1em; line-height: 1; letter-spacing: -0.01em;
  transition: transform .35s var(--spring), border-color .25s var(--ease);
}
.eco-pill:hover { transform: translate(-50%, calc(-50% - 3px)); border-color: rgb(255 255 255 / 0.22); }
.eco-pill .ph { font-size: 1.25em; color: #8c96ff; }
.eco-pill em { font-style: normal; font-size: .78em; color: #6fd3a3; padding-left: .55em; border-left: 1px solid rgb(255 255 255 / 0.14); }
.eco-pill--pilot { border-color: rgb(233 184 114 / 0.3); }
.eco-pill--pilot .ph, .eco-pill--pilot em { color: #e9b872; }
.eco-pill--a { left: 25%; top: 17%; }
.eco-pill--b { left: 80%; top: 38%; }
.eco-pill--c { left: 22%; top: 61%; }
.eco-pill--d { left: 71%; top: 83%; }
.eco-av { position: absolute; transform: translate(-50%, -50%); width: 11%; aspect-ratio: 1; border-radius: 50%; padding: 3px; background: linear-gradient(140deg, #6d7aff, #3141f1 60%, #2430c4); box-shadow: 0 12px 30px -10px rgb(49 65 241 / 0.8); }
.eco-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 2px solid #0b0b0d; }
.eco-av--a { left: 55%; top: 13%; }
.eco-av--b { left: 36%; top: 88%; width: 12%; }
.eco-dot { position: absolute; transform: translate(-50%, -50%); width: 1.6%; aspect-ratio: 1; border-radius: 50%; background: #8c96ff; box-shadow: 0 0 12px 2px rgb(140 150 255 / 0.6); }
.eco-dot--a { left: 86%; top: 64%; }
.eco-dot--b { left: 12%; top: 34%; width: 1.2%; background: #fff; box-shadow: 0 0 10px 2px rgb(255 255 255 / 0.4); }
.eco-cap { margin-top: 12px; text-align: center; color: #8b93a3; font-size: 0.8125rem; }
.eco-cap strong { display: block; color: #fff; font-size: 1.125rem; font-weight: 500; margin-bottom: 4px; }
.page-hero-media:has(> .eco) { padding: 0; border: 0; background: none; max-width: 620px; margin-bottom: var(--s-7); }
.page-hero--media:has(.eco) { padding-bottom: var(--s-7); }
.eco-ring--1 { border: 2px dotted rgb(140 150 255 / 0.8); }
.eco-ring--2 { border: 2px dotted rgb(140 150 255 / 0.5); }
.eco-ring--3 { border: 2px dotted rgb(255 255 255 / 0.22); }
.eco-av--a { left: 63%; top: 12%; }
.eco-pill--a { left: 24%; }

/* Ring diagram, quieter: two rings, long premium dashes, softer glow */
svg.eco-ring { border: 0 !important; border-radius: 0 !important; overflow: visible; }
svg.eco-ring rect { fill: none; stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.eco-ring--1 { width: 34%; }
.eco-ring--1 rect { stroke: rgb(140 150 255 / 0.55); }
.eco-ring--3 { width: 72%; }
.eco-ring--3 rect { stroke: rgb(255 255 255 / 0.16); }
.eco-stage::before { background: radial-gradient(closest-side, rgb(49 65 241 / 0.2), rgb(49 65 241 / 0.05) 55%, transparent); }
.eco-core { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 20px 44px -16px rgb(49 65 241 / 0.5); }
.eco-av { box-shadow: 0 10px 24px -12px rgb(49 65 241 / 0.6); }
.eco-ring--3 rect { stroke: rgb(255 255 255 / 0.2); stroke-width: 1.25; }

/* ---------- Real Genesis product screenshots ---------- */
.product-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.14); background: #fff; box-shadow: 0 40px 100px -40px rgb(49 65 241 / 0.7); }
.product-shot img { display: block; width: 100%; height: auto; }
.page-hero-media .product-shot { border-radius: 14px 14px 0 0; border-bottom: 0; }
.device-desk { margin: 0; max-width: 560px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.device-desk img { display: block; width: 100%; height: auto; }
.devices { padding-bottom: 64px; }
@media (max-width: 560px) { .phone { width: 150px; margin: -72px 6px 0 auto; } .phone-screen { min-height: 220px; padding: 14px 10px 16px; } .phone li { padding: 8px; } }

/* Supplied product screenshots */
.devices-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.devices-shot img { display: block; width: 100%; height: auto; }

/* ---------- Device pair: desktop window + phone overlapping its corner ---------- */
.dev-pair { position: relative; margin: 0; padding: 0 9% 12% 0; }
.dev-desk img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgb(10 10 10 / 0.22)); }
.dev-phone { position: absolute; right: 0; bottom: 0; width: 27%; }
.dev-phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgb(10 10 10 / 0.3)); }
@media (max-width: 560px) { .dev-pair { padding: 0 12% 18% 0; } .dev-phone { width: 32%; } }

/* ---------- S&R story: pilot scope and evidence ---------- */
.pilot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-6) var(--s-8); align-items: center; }
.pilot-copy .label { display: block; margin-bottom: var(--s-2); }
.pilot-copy .lead { margin-top: var(--s-4); }
.scope { margin: 0; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 8px 28px; }
.scope-rows { list-style: none; }
.scope-rows li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-size: 1.0625rem; }
.scope-rows li + li { border-top: 1px solid var(--line); }
.scope-rows small { display: block; color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }
.scope-split { position: relative; display: flex; align-items: center; gap: 12px; margin: 4px 0; color: var(--warn); font-size: 0.75rem; letter-spacing: .02em; }
.scope-split::before, .scope-split::after { content: ""; flex: 1; border-top: 1px dashed color-mix(in srgb, var(--warn) 45%, transparent); }
.scope-rows--pilot li { padding-bottom: 20px; }
.section--evidence { padding-block: var(--s-8); }
.evidence { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-5) var(--s-8); align-items: start; padding-top: var(--s-6); border-top: 1px solid var(--line); }
.evidence .label { display: block; margin-bottom: var(--s-2); }
.evidence-list { list-style: none; margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 10px; }
.evidence-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 0.9375rem; }
.evidence-list .ph { color: var(--accent-ink); font-size: 1.1em; }
@media (max-width: 900px) { .pilot, .evidence { grid-template-columns: 1fr; } .scope { padding: 4px 20px; } .scope-rows li { flex-wrap: wrap; } }
@media (max-width: 560px) { .scope-rows li { flex-direction: column; align-items: flex-start; gap: 10px; } }
.evidence-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: var(--s-5); }
.evidence-list li { border: 0; border-radius: 0; background: none; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; gap: 12px; }

/* ---------- S&R story: pilot + evidence as a pair of panels (original copy only) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.duo-card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7); min-height: 360px; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-card); }
.duo-card .label { display: block; margin-bottom: var(--s-2); }
.duo-card h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.15; }
.duo-card p { margin-top: var(--s-3); max-width: 46ch; }
.duo-card--pilot { background: var(--card); border: 1px solid color-mix(in srgb, var(--warn) 30%, var(--line)); box-shadow: var(--shadow-card); background-image: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--warn) 12%, transparent), transparent 70%); }
.duo-card--dark { background: radial-gradient(70% 60% at 100% 0%, rgb(49 65 241 / 0.35), transparent 70%), #050608; border: 1px solid rgb(255 255 255 / 0.08); }
.duo-card--dark h2 { color: #fff; }
.duo-card--dark p { color: #b4bac2; }
.duo-icon { font-size: 28px; color: #8c96ff; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.04); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo-card { min-height: 0; gap: var(--s-6); } }
.duo-card { justify-content: flex-start; min-height: 0; gap: clamp(56px, 7vw, 96px); } .duo-card > .tag, .duo-icon { height: 56px; align-self: flex-start; } .duo-card > .tag { height: auto; margin-block: 13px; }

/* ---------- Customer evidence panel ---------- */
.section--panel { padding-block: var(--s-7); }
.ev-panel {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-5) var(--s-8); align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-card); text-decoration: none;
  background: radial-gradient(60% 90% at 100% 100%, rgb(49 65 241 / 0.4), transparent 65%), radial-gradient(40% 70% at 0% 0%, rgb(124 72 230 / 0.22), transparent 65%), #050608;
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: border-color .3s var(--ease);
}
.ev-panel:hover { border-color: rgb(255 255 255 / 0.2); }
.ev-head .label { display: block; margin-bottom: var(--s-2); color: #9ca3af; }
.ev-head h2 { color: #fff; }
.ev-side .lead { color: #b4bac2; }
.ev-btn { margin-top: var(--s-5); }
.ev-panel:hover .ev-btn { background: #eceef1; }
.ev-panel:hover .ev-btn .ph { transform: translateX(3px); }
.ev-btn .ph { transition: transform .2s var(--ease); }
@media (max-width: 860px) { .ev-panel { grid-template-columns: 1fr; align-items: start; } .ev-btn { width: 100%; } }
/* light variant of the copy panel */
.ev-panel--light { background: radial-gradient(60% 90% at 100% 100%, rgb(49 65 241 / 0.08), transparent 65%), var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.ev-panel--light:hover { border-color: var(--input-border); }
.ev-panel--light .ev-head h2 { color: var(--ink); }
.ev-panel--light .ev-head .label { color: var(--muted); }
.ev-panel--light .ev-side .lead { color: var(--body); }
.ev-panel--light:hover .ev-btn { background: var(--accent-hover); }
.ev-visual { margin-bottom: var(--s-5); }
.ev-visual img { height: 44px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; box-sizing: content-box; }

/* Hero video controls: sound + play/pause */
.video-controls { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.video-controls .video-toggle { position: static; }
.video-sound {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 16px; color: #fff;
  background: rgb(0 0 0 / 0.55); border: 1px solid rgb(255 255 255 / 0.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s, border-color .2s;
}
.video-sound:hover { background: rgb(0 0 0 / 0.75); border-color: rgb(255 255 255 / 0.5); }
.video-sound .ph-speaker-high { display: none; }
.video-sound[aria-pressed="true"] .ph-speaker-high { display: block; }
.video-sound[aria-pressed="true"] .ph-speaker-slash { display: none; }
html:not(.js) .video-sound { display: none; }

/* Hero product explanation: platform tag above the headline, supporting line below */
.hx-kicker { margin-bottom: var(--s-3); color: #9ca3af; }
.hx-lead { max-width: 60ch; margin: var(--s-4) auto 0; color: #c4c9cf; }

/* Home: the three enterprise differences, directly under the hero */
.diffs-sec { padding-top: var(--s-7); }
.diffs-head { max-width: 46rem; }
.diffs { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.diff { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--r-card); background: rgb(255 255 255 / 0.03); }
.diff-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(49 65 241 / 0.2); color: #8c96ff; }
.diff-ic .ph { font-size: 22px; }
.diff h3 { margin-top: var(--s-2); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.diff p { color: #c4c9cf; line-height: 1.6; }
.diff .link-arrow { margin-top: auto; padding-top: var(--s-2); }
@media (max-width: 860px) { .diffs { grid-template-columns: 1fr; } }

/* Hero, desktop: demo video and pavilion side by side. The frame breaks out of the
   container so the video keeps its width next to a narrow pavilion column. */
@media (min-width: 1024px) {
  .hx-frame {
    display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 18vw, 300px); gap: clamp(12px, 1.2vw, 16px); align-items: stretch; padding: clamp(10px, 1vw, 14px);
    max-width: 100%; width: 100%; margin-inline: 0;
  }
  .hx-event { margin-top: 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 10px 10px 18px; }
  .hx-event-text, .hx-event-link { padding-inline: 8px; }
  .hx-event-text strong { font-size: 1.125rem; }
  .hx-event-text span { font-size: 0.875rem; }
  .hx-event-sep { display: none; }
  .hx-event-text time { display: block; }
  .hx-event-link { margin-top: auto; }
}


/* S&R story: result, before/after comparison and delivered systems with screens */
.sr-result { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-card); background: #0a0b10; color: #fff; }
.sr-stat { display: flex; align-items: center; gap: var(--s-3); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.sr-stat-from { color: #6b7280; text-decoration: line-through; text-decoration-thickness: 2px; }
.sr-stat .ph { font-size: 0.6em; color: #8c96ff; }
.sr-stat-to { color: #fff; }
.sr-result p { color: #c4c9cf; max-width: 32ch; }
.sr-result p strong { display: block; color: #fff; font-weight: 600; }
.sr-compare-wrap { margin-top: var(--s-5); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.sr-compare-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-compare { width: 100%; border-collapse: collapse; min-width: 640px; text-align: left; }
.sr-compare th, .sr-compare td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.sr-compare tbody tr:last-child > * { border-bottom: 0; }
.sr-compare thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
.sr-compare thead th:last-child { color: var(--accent-ink); }
.sr-compare tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.sr-compare td { color: var(--body); }
.sr-compare td:last-child { color: var(--ink); font-weight: 500; }
.sr-systems { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: var(--s-6); }
.sr-sys { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.sr-sys--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sr-sys--flip .sr-sys-text { order: 2; }
.sr-meta { display: flex; align-items: center; gap: 8px; }
.sr-code { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); line-height: 1.2; }
.sr-title { margin-top: var(--s-3); font-size: clamp(1.5rem, 1.36rem + 0.571vw, 2rem); line-height: calc(1em + 8px); letter-spacing: -0.03em; font-weight: 400; color: var(--ink); }
.sr-sys-text > p { margin-top: 12px; color: var(--body); font-size: 1rem; line-height: 1.6; }
.sr-list { list-style: none; margin: var(--s-4) 0 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.sr-list li { position: relative; padding-left: 18px; color: var(--body); font-size: 0.9375rem; line-height: 1.5; }
.sr-list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); opacity: .7; }
.sr-shot { margin: 0; }
.sr-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 70px -40px rgb(15 23 42 / 0.45); }
.sr-shot figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.sr-sku-blur { position: absolute; top: 1.5%; left: 0.5%; width: 27%; height: 11%; border-radius: 6px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
@media (max-width: 900px) {
  .sr-sys, .sr-sys--flip { grid-template-columns: minmax(0, 1fr); }
  .sr-sys--flip .sr-sys-text { order: 0; }
}

/* Mobile access journey: download, scan the application's code, open permitted applications */
.access-steps { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.access-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.access-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-ink); color: #fff; font-weight: 600; font-size: 0.9375rem; }
.access-steps strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.access-steps div { color: var(--body); line-height: 1.55; }


/* Header: Resources dropdown (Articles, Events and recognition, Documentation).
   Solid panel: a backdrop blur cannot work inside the header, which already blurs. */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: var(--r-pill); background: none; color: #d1d5db; font: inherit; font-size: 0.9375rem; cursor: pointer; transition: color .15s, background-color .15s; }
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { color: #fff; }
.nav-dd-btn.is-current { color: #fff; background: rgb(255 255 255 / 0.08); }
.nav-dd-btn .ph { font-size: 12px; transition: transform .2s var(--ease); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 50; width: 336px; padding: 6px; display: grid; gap: 2px;
  border-radius: 18px; background: #0e0f13;
  border: 1px solid rgb(255 255 255 / 0.1); box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.9);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s linear .15s;
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd:hover .nav-dd-menu, .nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .15s var(--ease), transform .15s var(--ease); }
.nav-dd:hover .nav-dd-btn .ph, .nav-dd.is-open .nav-dd-btn .ph { transform: rotate(180deg); }
.primary-nav .nav-dd-menu a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 12px; color: #fff; background: none; }
.primary-nav .nav-dd-menu a:hover, .primary-nav .nav-dd-menu a[aria-current] { background: rgb(255 255 255 / 0.06); }
.primary-nav .nav-dd-menu a.dd-out { margin-top: 5px; position: relative; }
.primary-nav .nav-dd-menu a.dd-out::before { content: ""; position: absolute; left: 10px; right: 10px; top: -4px; height: 1px; background: rgb(255 255 255 / 0.08); }
.dd-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 0.12); color: #c4c9cf; font-size: 16px; transition: color .15s, border-color .15s; }
.nav-dd-menu a:hover .dd-ic, .nav-dd-menu a[aria-current] .dd-ic { color: #8c96ff; border-color: rgb(140 150 255 / 0.45); }
.dd-txt { display: grid; gap: 1px; }
.dd-txt strong { font-weight: 500; font-size: 0.875rem; color: #fff; }
.dd-txt small { color: #9ca3af; font-size: 0.8125rem; line-height: 1.4; }
.dd-ext { color: #6b7280; font-size: 14px; transition: color .15s, transform .2s var(--ease); }
.nav-dd-menu a:hover .dd-ext { color: #c4c9cf; transform: translate(1px, -1px); }

/* Articles: matched to staging.dalfin.ai/resources and its article pages */
.art-sec { background: #fff; padding-block: clamp(64px, 7vw, 104px); }
.art-sec--grey { background: #f5f5f5; }
.art-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(48px, 4.5vw, 64px); }
.art-intro h2 { color: #0d0f11; font-weight: 400; font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); line-height: 1.125; letter-spacing: -0.05em; padding-right: 32px; }
.art-intro p { color: #1b1e21; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem); line-height: 1.45; letter-spacing: -0.02em; padding-top: clamp(4px, 1vw, 24px); }
.art-feature { display: flex; min-height: clamp(420px, 39vw, 560px); }
.art-feature-cover { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 2.8vw, 40px); border-top-left-radius: 48px; background: lightgray center / cover no-repeat; background-color: lightgray; }
.art-logo { display: block; width: 100px; height: 26px; object-fit: contain; object-position: left; }
.art-feature-cover h3, .art-feature-cover h1 { margin: 0; color: #fff; font-weight: 500; font-size: clamp(2rem, 1.3rem + 1.6vw, 3rem); line-height: 1.17; letter-spacing: -0.03em; }
.art-feature-body { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3.3vw, 48px); background: #fff; }
.art-feature-top { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.art-pill { padding: 4px 12px; border-radius: 24px; border: 1px solid rgb(0 0 0 / 0.1); background: #f2f4f6; color: #6b7280; font-size: 0.875rem; line-height: 1.25rem; }
.art-feature-top h2, .art-h2 { margin: 0; color: #0d0f11; font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.75rem); line-height: 1.18; letter-spacing: -0.03em; }
.art-feature-top > p:not(.art-h2) { margin: 0; color: #363c43; font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.125rem); line-height: 1.56; letter-spacing: -0.01em; }
.art-more { display: inline-flex; align-items: center; gap: 6px; color: #3141f1; font-weight: 500; font-size: 1rem; line-height: 1.5rem; text-decoration: none; transition: opacity .2s; }
.art-more:hover { opacity: .8; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 40px; }
.art-by { display: inline-flex; align-items: center; gap: 8px; color: #363c43; font-weight: 600; font-size: 1rem; }
.art-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #3141f1; color: #fff; font-size: 0.75rem; font-weight: 600; flex: none; }
.art-when { display: inline-flex; align-items: center; gap: 16px; color: #657280; font-size: 1rem; }
.art-dot { width: 4px; height: 4px; border-radius: 50%; background: #657280; }
.art-sec-title { text-align: center; color: #0d0f11; font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.5rem); line-height: 1.14; letter-spacing: -0.04em; margin-bottom: clamp(48px, 4vw, 56px); }
.art-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.art-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 4px; background: #fff; overflow: hidden; }
.art-card:first-child { border-top-left-radius: 48px; }
.art-card:last-child { border-top-right-radius: 48px; }
.art-cover { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; height: 280px; padding: 24px; background: #fff center / cover no-repeat; }
.art-cover p { margin: 0; color: #fff; font-weight: 500; font-size: 1.125rem; line-height: 1.625rem; letter-spacing: -0.02em; }
.art-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.art-body p { flex: 1; margin: 0; color: #363c43; font-weight: 500; font-size: 1rem; line-height: 1.5rem; letter-spacing: -0.02em; }
.art-body .art-more { margin-top: auto; }
/* Article page hero: the same split card on black */
.art-hero { background: #000; padding-block: 32px; }
.art-feature--dark .art-feature-body { background: rgb(255 255 255 / 0.08); }
.art-feature--dark .art-pill { border: 0; background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.7); }
.art-feature--dark .art-h2 { color: #fff; }
.art-feature--dark .art-feature-top > p:not(.art-h2) { color: rgb(255 255 255 / 0.7); }
.art-feature--dark .art-by { color: #fff; }
.art-feature--dark .art-when { color: rgb(255 255 255 / 0.6); }
.art-feature--dark .art-dot { background: rgb(255 255 255 / 0.4); }
/* Article body */
.art-prose { max-width: 1000px; margin-inline: auto; color: #1b1e21; font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.art-prose p { margin: 0 0 28px; }
.art-prose h2 { margin: 56px 0 24px; color: #0d0f11; font-weight: 500; font-size: 1.75rem; line-height: 2.25rem; letter-spacing: -0.03em; }
.art-prose h3 { margin: 0 0 24px; color: #0d0f11; font-weight: 500; font-size: 1.125rem; }
.art-prose ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.art-prose li { display: flex; gap: 12px; align-items: flex-start; }
.art-prose li .ph { flex: none; width: 20px; margin-top: 4px; font-size: 18px; color: #1b1e21; }
.art-prose strong { font-weight: 600; }
.art-prose ul + h2, .art-prose ul + h3 { margin-top: 56px; }
@media (max-width: 900px) {
  .art-intro { grid-template-columns: minmax(0, 1fr); }
  .art-feature { flex-direction: column; min-height: 0; }
  .art-feature-cover { min-height: 320px; }
  .art-cards, .art-cards--2 { grid-template-columns: minmax(0, 1fr); }
  .art-card:last-child { border-top-right-radius: 4px; }
  .art-cover { height: 400px; }
}
@media (max-width: 560px) { .art-cover { height: 280px; } }
@media (max-width: 767px) { .art-meta { flex-direction: column; align-items: flex-start; } .art-when > .art-dot:first-child { display: none; } }
.res-next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.res-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; height: 100%; overflow: hidden; border-radius: 4px; color: #fff; text-decoration: none; background: #0a0b10; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.res-tile:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgb(10 10 20 / 0.5); }
.res-tile--photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.res-tile--photo:hover > img { transform: scale(1.04); }
.res-tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0.05) 15%, rgb(0 0 0 / 0.82) 62%, #000 100%); }
.res-tile--docs { background: radial-gradient(120% 90% at 100% 0%, #3141f1 0%, #141a5e 42%, #05060a 85%); }
.res-tile-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 2.6vw, 36px); }
.res-tile-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.8125rem; color: rgb(255 255 255 / 0.9); }
.res-tile-kicker .ph { font-size: 15px; }
.res-tile strong { font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; }
.res-tile-text { color: rgb(255 255 255 / 0.72); line-height: 1.55; max-width: 46ch; }
.res-tile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: #fff; font-weight: 500; transition: gap .2s var(--ease); }
.res-tile:hover .res-tile-link { gap: 12px; }
/* Documentation tile: a docs window that bleeds off the right edge and fades into the card */
.res-tile-doc {
  position: absolute; top: clamp(28px, 3vw, 44px); left: clamp(28px, 3vw, 44px); right: -2px; height: 62%;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 10px 0 0 0;
  background: rgb(10 12 30 / 0.72); border: 1px solid rgb(255 255 255 / 0.12); border-right: 0;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  font-size: 0.75rem; color: rgb(255 255 255 / 0.85); letter-spacing: 0;
}
.rd-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid rgb(255 255 255 / 0.08); background: rgb(255 255 255 / 0.03); }
.rd-dots { display: flex; gap: 6px; }
.rd-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / 0.18); }
.rd-url { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: rgb(0 0 0 / 0.35); color: rgb(255 255 255 / 0.6); font-family: var(--mono); font-size: 0.6875rem; white-space: nowrap; }
.rd-main { flex: 1; display: grid; grid-template-columns: 34% minmax(0, 1fr); min-height: 0; }
.rd-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid rgb(255 255 255 / 0.08); }
.rd-sec { padding: 0 8px 6px; color: rgb(255 255 255 / 0.45); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.rd-item { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; white-space: nowrap; }
.rd-item.is-on { background: rgb(49 65 241 / 0.35); color: #fff; box-shadow: inset 2px 0 0 #8c96ff; }
.rd-item .sk { width: 80%; height: 5px; background: rgb(255 255 255 / 0.14); }
.rd-page { display: flex; flex-direction: column; gap: 9px; padding: 18px 22px; }
.rd-page > .sk { height: 5px; background: rgb(255 255 255 / 0.14); }
.rd-crumb { display: flex; align-items: center; gap: 4px; color: rgb(255 255 255 / 0.45); font-size: 0.6875rem; }
.rd-title { color: #fff; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 2px; }
.rd-drop { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; margin-top: 6px; border: 1px dashed rgb(140 150 255 / 0.55); border-radius: 8px; background: rgb(49 65 241 / 0.12); color: #c7cbff; }
.rd-drop .ph { font-size: 16px; }
.rd-files { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-files span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.1); }
.rd-files .ph-file-pdf { color: #fb7185; }
.rd-files .ph-file-image { color: #8c96ff; }
@media (max-width: 900px) { .res-next { grid-template-columns: minmax(0, 1fr); } .res-tile { min-height: 480px; } .res-tile-doc { left: 20px; top: 20px; height: 56%; } .rd-main { grid-template-columns: minmax(0, 1fr); } .rd-side { display: none; } }

/* ==========================================================================
   Type scale matched to staging.dalfin.ai (measured 6 October 2026).
   Fluid between 390px and 1440px viewports; all headings weight 400 with
   tight tracking, as on staging. Kept last so it overrides earlier sizes.
   ========================================================================== */
body { font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; }

/* Hero and page titles: 40/48 on phones to 64/72 on desktop */
.display, .hx h1, .art-title { font-size: clamp(2.5rem, 1.942rem + 2.286vw, 4rem); line-height: calc(1em + 8px); letter-spacing: -0.05em; font-weight: 400; }
/* Closing call to action: same as staging's 64/72 */
.cta-x h2 { font-size: clamp(2.5rem, 1.942rem + 2.286vw, 4rem); line-height: calc(1em + 8px); letter-spacing: -0.05em; }
/* Section headings: 36/44 to 48/56 */
.h2, .usedfor .h2, .art-intro h2 { font-size: clamp(2.25rem, 1.971rem + 1.143vw, 3rem); line-height: calc(1em + 8px); letter-spacing: -0.04em; font-weight: 400; }
.art-sec-title { font-size: clamp(2.25rem, 1.971rem + 1.143vw, 3rem); line-height: calc(1em + 8px); letter-spacing: -0.04em; }
/* Sub-section and feature headings: 28/36 to 32/40 */
.h3, .sub-head .h3, .ncard h3, .duo-card h2 { font-size: clamp(1.75rem, 1.657rem + 0.381vw, 2rem); line-height: calc(1em + 8px); letter-spacing: -0.03em; font-weight: 400; }
.ncard .nc-brand p { font-size: 1.75rem; line-height: calc(1em + 8px); letter-spacing: -0.02em; }
/* Card titles: 20/28, weight 500 */
.h4, .uf-list h3, .ops-body h3, .process-list h3, .icard h3, .cols h3, .rows h3, .res-card h3, .diff h3, .art-prose h3 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.03em; font-weight: 500; }
.res-tile strong { font-size: clamp(1.5rem, 1.36rem + 0.57vw, 1.75rem); line-height: 1.25; letter-spacing: -0.03em; font-weight: 400; }

/* Lead and body copy */
.lead, .art-intro p { font-size: 1.125rem; line-height: 1.556; letter-spacing: -0.02em; }
.ops-body p, .process-list p, .icard p, .ncard .nc-body p, .cols p, .aside-panel li p, .diff p, .uf-list .capability,
.access-steps div, .sr-sys-text > p, .res-tile-text, .cta-x p { font-size: 1rem; line-height: 1.5; letter-spacing: -0.01em; }
.tcard blockquote { font-size: 1rem; line-height: 1.5; letter-spacing: -0.02em; font-weight: 500; }

/* Section labels: 18/28 on desktop, 14/20 semibold on phones */
.label { font-size: 1.125rem; line-height: 1.556; letter-spacing: -0.02em; }
.hx .label { font-size: 1.125rem; }
/* Hero tag above the headline */
.hx-kicker { font-family: var(--font); font-size: 0.875rem; line-height: 1.43; letter-spacing: -0.01em; text-transform: none; }

/* Navigation, buttons and links */
.primary-nav a, .nav-dd-btn { font-size: 0.875rem; }
.btn { font-size: 1rem; line-height: 1.5; letter-spacing: -0.01em; }
.btn-sm { font-size: 0.875rem; line-height: 1.43; }
.link-arrow, .hx-event-link, .res-tile-link { font-size: 1rem; line-height: 1.5; letter-spacing: -0.01em; }

/* Captions and meta */
figcaption, .sr-shot figcaption { font-size: 0.8125rem; line-height: 1.54; }

@media (max-width: 767px) {
  .label, .hx .label { font-size: 0.875rem; line-height: 1.43; font-weight: 600; letter-spacing: 0; }
  .btn { font-size: 0.875rem; }
  .tcard blockquote { font-size: 1.25rem; line-height: 1.4; }
  .display, .hx h1, .art-title, .cta-x h2 { letter-spacing: -0.04em; }
}

/* ---------- Glass header over the first hero ----------
   main slides up under the sticky header; the opening hero adds the header height to its own top padding. */
main { margin-top: calc(-1 * var(--header-h) - 1px); }
main > .hx:first-child { padding-top: calc(var(--header-h) + clamp(40px, 4.5vw, 64px)); }
main > .page-hero:first-child { padding-top: calc(var(--header-h) + clamp(64px, 8vw, 112px)); }
main > .art-hero:first-child { padding-top: calc(var(--header-h) + 32px); }

/* ---------- Hero: video framed on its own, with event and testimonial cards beside it ----------
   The outer container is gone; the video carries a plain border. */
.hx-frame, .hx-frame.hx-frame { background: none; border: 0; border-radius: 0; padding-block: 0; overflow: visible; }
.hx .hx-frame { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.hx-frame::after { content: none; }
.hx-frame .screen--video {
  border: 1px solid rgb(255 255 255 / 0.14); border-radius: 24px; background: #000; box-shadow: none;
}

.hx-aside { position: relative; z-index: 1; display: grid; gap: clamp(12px, 1.2vw, 16px); margin-top: clamp(16px, 2vw, 24px); text-align: left; }
.hx-aside .hx-event { margin-top: 0; }

/* Testimonial: the quote leads, attribution sits on a hairline, story link closes the card */
.hx-voice {
  position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 22px 20px 18px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, rgb(49 65 241 / 0.16), transparent 60%), rgb(255 255 255 / 0.03);
  border: 1px solid rgb(140 150 255 / 0.16);
}
.hx-voice blockquote { margin: 0; color: #fff; font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.25rem); line-height: 1.35; letter-spacing: -0.015em; text-wrap: wrap; }
.hx-voice figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.08); color: #9ca3af; font-size: 0.8125rem; line-height: 1.35; }
.hx-voice figcaption img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; padding: 2px; background: linear-gradient(135deg, #8c96ff, #3141f1); }
.hx-voice strong { display: block; color: #fff; font-weight: 500; font-size: 0.9375rem; margin-bottom: 2px; }
.hx-voice-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: #8c96ff; font-weight: 500; font-size: 0.9375rem; text-decoration: none; transition: gap .2s var(--ease); }
.hx-voice-link:hover { gap: 12px; }

/* Desktop wide enough for a side column: the cards take exactly the video's height */
@media (min-width: 1280px) {
  .hx-frame { grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 380px); gap: clamp(16px, 1.4vw, 24px); }
  .hx-aside { margin-top: 0; contain: size; grid-template-rows: minmax(0, 1fr) auto; }
  .hx-aside .hx-event { min-height: 0; overflow: hidden; }
  .hx-aside .hx-event-photos { position: relative; flex: 1 1 0; min-height: 96px; overflow: hidden; border-radius: 12px; }
  .hx-aside .hx-event-photos img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
}
/* Between tablet and wide desktop: video full width, the two cards side by side beneath it */
@media (min-width: 641px) and (max-width: 1279px) {
  .hx-frame { display: block; width: auto; margin-inline: 0; }
  .hx-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hx-aside .hx-event { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 10px 10px 18px; }
  .hx-aside .hx-event-text, .hx-aside .hx-event-link { padding-inline: 8px; }
  .hx-aside .hx-event-link { margin-top: auto; }
  .hx-aside .hx-event-photos img:first-child { aspect-ratio: 2 / 1; }
  .hx-voice { padding: 26px 24px 20px; }
  .hx-voice blockquote { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); }
  .hx-voice figcaption { margin-top: auto; }
}

/* Supporting points under the actions: tertiary text, not controls */
.hx-diffs { list-style: none; margin: var(--s-5) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; }
.hx-diffs li { display: inline-flex; align-items: center; color: #c4c9cf; font-size: 0.8125rem; line-height: 1.4; letter-spacing: -0.005em; white-space: nowrap; }
.hx-diffs li + li::before { content: ""; width: 3px; height: 3px; margin: 0 14px; border-radius: 50%; background: #6b7280; }
/* Full labels; phones switch to the short form so all three stay on one line */
.hd-short { display: none; }
@media (max-width: 600px) {
  .hd-full { display: none; }
  .hd-short { display: inline; }
  .hx-diffs { flex-wrap: nowrap; }
  .hx-diffs li { font-size: 0.75rem; }
  .hx-diffs li + li::before { margin: 0 9px; }
}
@media (max-width: 380px) {
  .hx-diffs li { font-size: 0.6875rem; }
  .hx-diffs li + li::before { margin: 0 7px; }
}
@media (max-width: 330px) { .hx-diffs { flex-wrap: wrap; } }





/* Walkthrough and demo videos page */
/* Library: sticky topic index beside numbered topic sections */
.vlib { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; margin-top: var(--s-6); }
.vl-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s-3); }
.vid-search { position: relative; display: flex; align-items: center; }
.vid-search .ph { position: absolute; left: 16px; color: var(--muted); pointer-events: none; font-size: 18px; }
.vid-search .input { width: 100%; padding-left: 46px; }
.vl-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vl-topic { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 8px; color: var(--body); font-size: 0.9375rem; text-decoration: none; transition: background-color .15s, color .15s; }
.vl-topic.is-empty { opacity: .4; pointer-events: none; }
.vl-topic:hover { background: var(--bg-soft); color: var(--ink); }
.vl-topic[aria-current] { background: var(--accent-tint); color: var(--accent-ink); font-weight: 500; }
.vl-topic[aria-current]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--accent-ink); }
.vl-n { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.vl-topic[aria-current] .vl-n { color: var(--accent-ink); }
.vl-c { min-width: 24px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--muted); font-size: 0.75rem; text-align: center; }
.vl-topic[aria-current] .vl-c { background: #fff; color: var(--accent-ink); }
.vl-main { display: grid; gap: clamp(56px, 6vw, 88px); min-width: 0; }
.vid-empty { padding: var(--s-6) 0; text-align: center; color: var(--muted); }
.vid-row { scroll-margin-top: calc(var(--header-h) + 24px); }
.vid-row-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: start; padding-bottom: var(--s-3); margin-bottom: var(--s-4); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.vid-idx { font-family: var(--mono); font-size: 0.8125rem; color: var(--accent-ink); padding-top: 10px; }
.vid-row-head h3 { font-size: clamp(1.5rem, 1.36rem + 0.57vw, 1.75rem); line-height: calc(1em + 8px); letter-spacing: -0.03em; font-weight: 400; color: var(--ink); }
.vid-row-head p { margin-top: 4px; color: var(--body); }
.vid-count { padding-top: 10px; color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.vid-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.vid-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; background: var(--card); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.vid-card:hover { border-color: var(--input-border); box-shadow: var(--shadow-card); }
.vid-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.vid-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vid-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-card:hover .vid-thumb img { transform: scale(1.03); }
.vid-play { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgb(10 11 16 / 0.72); box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.vid-play::before { content: ""; position: absolute; left: 17px; top: 14px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vid-card:hover .vid-play { background: var(--accent); transform: scale(1.05); }
.vid-add { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: rgb(10 11 16 / 0.72); color: #fff; font-size: 0.75rem; letter-spacing: 0; }
.vid-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.vid-body h4 { font-size: 1.125rem; line-height: 1.45; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.vid-body p { color: var(--body); font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 1023px) {
  .vlib { grid-template-columns: minmax(0, 1fr); }
  .vl-aside { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter); background: rgb(255 255 255 / 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .vid-row { scroll-margin-top: calc(var(--header-h) + 140px); }
  .vl-topic[aria-current]::before { display: none; }
  .vl-nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .vl-nav li { flex: none; }
  .vl-topic { grid-template-columns: auto auto; white-space: nowrap; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 14px; }
  .vl-topic .vl-n { display: none; }
}
@media (max-width: 700px) {
  .vid-grid { grid-template-columns: minmax(0, 1fr); }
  .vid-row-head { grid-template-columns: minmax(0, 1fr) auto; }
  .vid-idx { display: none; }
}
.vid-card[hidden], .vid-row[hidden], .vid-empty[hidden] { display: none; }

/* Headings: explicit phrase breaks (br.hb) on desktop; balanced natural wrapping below 1200px */
@media (max-width: 1199px) { br.hb { display: none; } }
.page-hero .display { max-width: 28ch; }
.cta-x h2 { max-width: 26ch; }
.diffs-head { max-width: none; }
/* Wider heading columns so headings keep their phrase breaks on desktop */
@media (min-width: 1100px) {
  .process, .usedfor { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; }
  .why { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .ev-panel { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .sh:not(.sh--center):not(.sh--solo) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .process, .usedfor { column-gap: 48px; }
  .process { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
}
.ev-head h2 { font-size: clamp(2rem, 1.79rem + 0.857vw, 2.5rem); line-height: calc(1em + 8px); }
/* Hero recognition badges: logo panels share one width; title only */
.hx-badge .chip { width: 124px; justify-content: center; align-items: center; box-sizing: border-box; }
.hx-badge .chip img { width: auto; height: auto; max-width: 100%; max-height: 26px; }
.hx-badge-dfat { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; color: #000; }
@media (min-width: 761px) { .hx-badge > span:not(.chip):not(.sr-only) { white-space: nowrap; } }
@media (max-width: 760px) { .hx-badge .chip { width: 104px; } .hx-badge > span:not(.chip):not(.sr-only) { min-width: 0; flex: 1; } .hx-badge .ph { flex: none; } }

/* Card titles sit one step below section headings (48px): 24/32 */
.panel .h3, .duo-card h2.h3, .duo-card h2 { font-size: 1.5rem; line-height: 2rem; letter-spacing: -0.025em; font-weight: 400; }
.panel { gap: 10px; }
.panel .icon-lg { font-size: 24px; margin-bottom: 6px; }
.panel p { font-size: 1rem; line-height: 1.5; }


/* Phones: all text left-aligned (heroes, centred section headers, closing call to action) */
@media (max-width: 767px) {
  .hx, .page-hero, .cta-x, .sh--center, .art-sec-title, .hx-note { text-align: left; }
  .sh--center { justify-items: start; }
  .hx h1, .hx-sub, .hx-lead, .page-hero .display, .page-hero .lead, .cta-x h2, .cta-x p,
  .sh--center .sh-main, .sh--center .lead { margin-left: 0 !important; margin-right: 0 !important; }
  .hx .label, .hx-actions, .page-hero .hero-actions, .page-hero .store-row, .hx-diffs { justify-content: flex-start; }
  .hx-badges, .hx-diffs { margin-left: 0; margin-right: 0; }
}

/* S&R system blocks: title > description > feature list, stepping down on phones */
@media (max-width: 767px) {
  .sr-title { font-size: 1.375rem; line-height: 1.875rem; }
  .sr-sys-text > p { font-size: 0.9375rem; line-height: 1.55; }
  .sr-list { margin-top: var(--s-3); gap: 6px; }
  .sr-list li { font-size: 0.875rem; line-height: 1.45; padding-left: 16px; }
  .sr-list li::before { width: 5px; height: 5px; top: 0.6em; }
  .sr-meta .tag { font-size: 0.75rem; padding: 3px 10px; }
  .sr-code { font-size: 0.6875rem; padding: 3px 8px; }
}


/* ==========================================================================
   Phone type scale (below 768px). Every level steps down from desktop:
   display 64→40 · section 48→36 · feature 32→28 · card heading 24–28→20 ·
   card title 20→18 · lead 18→16 · body 16→15 · links/buttons 16→15 · small 15→14
   ========================================================================== */
@media (max-width: 767px) {
  /* Card headings */
  .panel .h3, .duo-card h2, .nc-brand p, .art-prose h2 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.02em; }
  .res-tile strong { font-size: 1.25rem; line-height: 1.75rem; }
  /* Card titles */
  .diff h3, .ops-body h3, .process-list h3, .uf-list h3, .rows h3, .cols h3, .icard h3, .h4,
  .art-prose h3, .vid-body h4, .aside-panel .h4, .hx-event-text strong { font-size: 1.125rem; line-height: 1.625rem; letter-spacing: -0.02em; }
  /* Lead paragraphs */
  .lead, .hx-lead, .art-intro p, .art-prose, .art-prose p, .art-cover p { font-size: 1rem; line-height: 1.625rem; letter-spacing: -0.01em; }
  /* Body text */
  :where(.section, .page-hero, .cta-x, .art-sec) p:not(:where(.wf, .ctxm, .boundary, .change, .hub, .orb, .map, .eco, .mq, .app, .tiles, .sr-shot, .scope-card, .devices, .phone) p),
  .diff p, .ops-body p, .process-list p, .uf-list p, .rows p, .cols p, .icard p, .panel p, .sub-head p, .sr-result p,
  .nc-body p, .art-body p, .res-tile-text, .access-steps div, .cta-x p, .sr-compare td, .sr-compare th { font-size: 0.9375rem; line-height: 1.5rem; }
  .tcard blockquote { font-size: 0.9375rem; line-height: 1.5rem; }
  /* Links and buttons */
  .btn, .hx-actions .btn, .link-arrow, .nc-body .link-arrow, .art-more, .res-tile-link, .hx-event-link, .hx-voice-link { font-size: 0.9375rem; }
  /* Small text */
  .vid-body p, .vl-topic, .chips li, .field label, .label, .art-meta, .art-by, .art-when, .t-name, .access-steps strong { font-size: 0.875rem; }
}
@media (max-width: 767px) {
  .ncard .nc-brand p, .duo-card h2.h3 { font-size: 1.25rem; line-height: 1.75rem; }
  .ncard .nc-brand .mark { font-size: 1rem; }
  .vid-body h4, .hx-aside .hx-event-text strong, .hx-event-text strong { font-size: 1rem; line-height: 1.5rem; }
  .ncard .nc-body .link-arrow { font-size: 0.9375rem; }
  .ncard .nc-body p, .process-head .lead, .why .lead, div > p.lead:not(.hx-lead) { font-size: 0.9375rem; line-height: 1.5rem; }
  .page-hero .lead, .sh-side .lead, .hx .hx-lead { font-size: 1rem; line-height: 1.625rem; }
  .hx-voice figcaption strong, .tcard figcaption strong, .t-name, .hx-voice .hx-voice-link, figure.hx-voice a { font-size: 0.875rem; }
}

/* Customer quotes: 20px on all screens */
.tcard blockquote, .tcard blockquote:where(*) { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.02em; }
@media (max-width: 767px) { .tcard blockquote { font-size: 1.25rem; line-height: 1.75rem; } }
/* Home: featured events (art-card variant with photo) */
.ev-card-img { width: 100%; height: 240px; object-fit: cover; }
.ev-card .art-body { gap: 8px; }
.ev-card .art-body .ev-card-meta, .ev-card .art-body .ev-card-role { flex: none; color: #657280; font-weight: 400; font-size: 0.875rem; line-height: 1.375rem; }
.ev-card .art-body .ev-card-role { color: #3141f1; font-weight: 500; }
.ev-card-title { margin: 8px 0 0; color: #0d0f11; font-weight: 500; font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.02em; }
.ev-card .art-body .art-more { margin-top: 16px; }
@media (max-width: 900px) { .ev-card-img { height: 320px; } }
@media (max-width: 560px) { .ev-card-img { height: 220px; } }
/* Event detail pages */
.ev-hero-role { margin: 12px auto 0; color: #8c96ff; font-size: 0.9375rem; font-weight: 500; }
.ev-story { max-width: 1000px; }
.ev-story > .media img { aspect-ratio: 16 / 9; }
.ev-prose { margin-top: clamp(40px, 5vw, 64px); }
.ev-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.ev-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); }
.ev-gallery figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.ev-story-foot { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 700px) { .ev-gallery { grid-template-columns: minmax(0, 1fr); } }
/* Events archive */
.ev-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; margin-bottom: 24px; }
.ev-count { margin-bottom: 24px; color: var(--muted); font-size: 0.9375rem; }
.ev-grid .art-card, .ev-grid .art-card:first-child, .ev-grid .art-card:last-child { border-radius: 4px; }
.ev-card-img.is-graphic, .ev-gallery .is-graphic img, .ev-story > .media.is-graphic img { object-fit: contain; background: #f3f4f6; }
.ev-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.ev-more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 700px) { .ev-filters { grid-template-columns: minmax(0, 1fr); } }
/* S&R: computer vision screenshot inside the pilot card */
.duo-card .duo-shot img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.duo-card:has(.duo-shot) { gap: clamp(32px, 4vw, 48px); }
