/* SGC360 V2 — design tokens + components
   Theme:  light enterprise base (Glean-pattern) with dark impact bands.
   Type:   IBM Plex Sans + IBM Plex Mono + Instrument Serif (display italic accents).
   Accent: persimmon by default; tweakable. */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  /* type */
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* light palette */
  --bg: #FAFAF7;
  --bg-2: #F2F1EB;
  --paper: #FFFFFF;
  --ink: #0E0E10;
  --ink-2: #2A2A2E;
  --muted: #6B6B70;
  --soft: #9B9B9F;
  --line: #E6E5DE;
  --line-strong: #C9C7BD;

  /* dark inversions for bands */
  --void: #0A0A0C;
  --ink-d: #16161A;
  --line-d: rgba(255, 255, 255, 0.10);
  --line-d-strong: rgba(255, 255, 255, 0.18);
  --bone: #F4F3EE;
  --cloud: #B5B4AE;
  --fog: #74747A;

  /* accents — tweakable */
  --accent: #FF5A36;        /* persimmon */
  --accent-2: #FFE5DC;      /* tint */
  --accent-ink: #1A0B05;    /* deep on accent */
  --violet: #5B4DFF;
  --emerald: #14855B;
  --azure: #2A6FDB;
  --citrus: #E0B400;

  /* radii / shadow */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 0 rgba(20, 20, 20, 0.03), 0 1px 2px rgba(20, 20, 20, 0.04);
  --shadow: 0 4px 14px -2px rgba(20, 20, 20, 0.06), 0 1px 0 rgba(20, 20, 20, 0.04);
  --shadow-lg: 0 30px 60px -30px rgba(20, 20, 20, 0.18), 0 6px 18px -6px rgba(20, 20, 20, 0.08);

  /* density */
  --pad-sec: 120px;
  --pad-h: 28px;
}

[data-density="compact"] {
  --pad-sec: 88px;
}
[data-density="airy"] {
  --pad-sec: 160px;
}

/* dark theme (whole site) */
[data-theme="dark"] {
  --bg: #07060F;
  --bg-2: #110D24;
  --paper: #1A1432;
  --ink: #F4F3EE;
  --ink-2: #D8D7D0;
  --muted: #9B9AA1;
  --soft: #6B6B72;
  --line: rgba(160, 140, 255, 0.10);
  --line-strong: rgba(160, 140, 255, 0.22);
  --shadow-sm: 0 1px 0 rgba(0,0,0,0.4);
  --shadow: 0 4px 14px -2px rgba(0,0,0,0.5);
  --shadow-lg: 0 30px 60px -30px rgba(0,0,0,0.8);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.mono { font-family: var(--mono); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ==========================
   TYPE SCALE
   ========================== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px; background: currentColor;
  opacity: 0.6;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 1.6vw, 28px); line-height: 1.18; letter-spacing: -0.015em; }
h4 { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }

p { margin: 0; }
.lead {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 62ch;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ==========================
   BUTTONS
   ========================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-arrow svg { transition: transform .2s; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ==========================
   NAV
   ========================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--pad-h);
  display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 28px; width: auto; flex-shrink: 0; object-fit: contain; filter: invert(1) brightness(0.1); }
[data-theme="dark"] .nav-logo img { filter: none; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--bg-2); color: var(--ink); }
.chev { width: 8px; height: 8px; opacity: 0.6; }

.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang {
  display: inline-flex;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--line);
}
.lang button {
  border: 0; background: transparent;
  padding: 4px 10px; border-radius: 999px;
  color: var(--muted); cursor: pointer;
  font-family: inherit; font-size: inherit;
}
.lang button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
}

/* ==========================
   HERO
   ========================== */
.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  height: 32px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-tag .dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--emerald) 25%, transparent);
  margin-left: 6px;
}
.hero-tag b {
  font-weight: 600; color: var(--ink);
}
.hero-tag .arrow { color: var(--muted); margin-left: 4px; }

.hero h1 .nl { display: block; }
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.hero h1 .strike {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  position: relative;
  display: inline-block;
}
.hero h1 .strike::after {
  content: "";
  position: absolute; left: -2%; right: -2%; top: 56%;
  height: 2px; background: currentColor;
  transform: rotate(-1.5deg);
  opacity: 0.7;
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(16.5px, 1.1vw, 18.5px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

.hero-ctas {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}

.hero-trust {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 20px 28px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hero-trust .swatch.v { background: var(--violet); }
.hero-trust .swatch.g { background: var(--emerald); }
.hero-trust .swatch.b { background: var(--azure); }

/* hero canvas mesh */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* cockpit mockup */
.cockpit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--sans);
  position: relative;
}
.cockpit-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.cockpit-chrome .dots { display: flex; gap: 6px; }
.cockpit-chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong);
}
.cockpit-chrome .title {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.02em;
}
.cockpit-chrome .live {
  margin-left: auto;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--emerald);
  display: inline-flex; align-items: center; gap: 6px;
}
.cockpit-chrome .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald) 25%, transparent);
  animation: pulse 1.6s infinite;
}

.cockpit-body { padding: 20px; }
.cockpit-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.cockpit-tabs span {
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: default;
}
.cockpit-tabs span.active {
  color: var(--ink); border-bottom-color: var(--accent); font-weight: 500;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.kpi {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}
.kpi .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.kpi .val {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.kpi .delta {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--emerald);
}
.kpi .delta.down { color: var(--accent); }

.stream {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 4px 0;
  background: var(--bg);
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.stream::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.stream-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 9px 14px;
  font-size: 12.5px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.stream-row:last-child { border-bottom: 0; }
.stream-row .who {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--muted);
  padding: 2px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.stream-row .who.crm { color: var(--violet); border-color: color-mix(in oklab, var(--violet) 30%, var(--line)); }
.stream-row .who.fin { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.stream-row .who.tax { color: var(--azure); border-color: color-mix(in oklab, var(--azure) 30%, var(--line)); }
.stream-row .who.mes { color: var(--emerald); border-color: color-mix(in oklab, var(--emerald) 30%, var(--line)); }
.stream-row .what { color: var(--ink-2); }
.stream-row .what b { color: var(--ink); font-weight: 500; }
.stream-row .when {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--soft);
}

.lea-bar {
  margin-top: 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: var(--r);
  background: color-mix(in oklab, var(--accent) 8%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--line));
}
.lea-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
  flex-shrink: 0;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
}
.lea-av img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.lea-bar .msg {
  font-size: 13.5px; color: var(--ink-2);
  line-height: 1.35;
}
.lea-bar .msg b { color: var(--ink); font-weight: 500; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==========================
   LOGOS
   ========================== */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.logos-rows {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.logos-rows {
  display: flex; flex-direction: column; gap: 20px;
  width: 100%;
}
.logos-track {
  display: flex; gap: 52px; align-items: center;
  width: max-content;
  animation: marquee 58s linear infinite;
}
.logos-track.rev { animation: marquee-rev 64s linear infinite; }
.logos-rows {
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-h);
}
.logos-track.rev { animation: marquee-rev 58s linear infinite; }
.logo-item {
  font-family: var(--sans);
  color: var(--ink-2);
  opacity: 0.6;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transition: opacity .2s, color .2s;
  line-height: 1;
}
.logo-item:hover { opacity: 1; color: var(--ink); }
.logo-item .wm-mark {
  display: inline-grid; place-items: center;
  flex-shrink: 0;
}
.logo-item .lt { font-weight: 300; }
.logo-item sup { font-size: 0.5em; font-weight: 600; vertical-align: super; }

/* wordmark treatments */
.wm-lc  { text-transform: lowercase; font-weight: 600; letter-spacing: -0.035em; font-size: 21px; }
.wm-uc  { text-transform: uppercase; font-weight: 500; letter-spacing: 0.16em; font-size: 15px; }
.wm-uc2 { text-transform: uppercase; font-weight: 700; letter-spacing: 0.02em; font-size: 17px; }
.wm-serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 25px; }
.wm-mono { font-family: var(--mono); text-transform: uppercase; font-weight: 500; letter-spacing: 0.05em; font-size: 14px; }
.wm-soft { font-weight: 600; letter-spacing: -0.02em; font-size: 20px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ==========================
   SECTION
   ========================== */
.sec {
  padding: var(--pad-sec) 0;
  position: relative;
}
.sec-head {
  margin-bottom: 64px;
  max-width: 920px;
}
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent);
}
.sec-head p.lead { margin-top: 20px; }

.band-dark {
  background: var(--void);
  color: var(--bone);
}
.band-dark .eyebrow { color: var(--cloud); }
.band-dark h2 em { color: var(--accent); }
.band-dark p.lead { color: var(--cloud); }
.band-dark .kicker { color: var(--fog); }
.band-dark .btn-primary { background: var(--bone); color: var(--void); border-color: var(--bone); }
.band-dark .btn-primary:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.band-dark .btn-outline { color: var(--bone); border-color: var(--line-d-strong); }
.band-dark .btn-outline:hover { border-color: var(--bone); }

/* ==========================
   AGENT PILLARS (Build / Orchestrate / Govern)
   ========================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
  transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.pillar .pglyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
}
.pillar h3 { margin-top: 4px; }
.pillar .pdesc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.pillar .ptags {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pillar .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ==========================
   AGENT LIBRARY (6 categories × capabilities)
   ========================== */
.lib {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .lib { grid-template-columns: 1fr; }
  .lib-cats {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lib-cats::-webkit-scrollbar { display: none; }
  .lib-cat { width: auto; flex-shrink: 0; padding: 10px 14px; }
  .lib-cat .lc-count { margin-left: 6px; }
  .lib-panel { min-height: 0; padding: 24px 20px; }
}

.lib-cats {
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 100px;
}
.lib-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink-2);
  transition: background .15s, border-color .15s, color .15s;
  width: 100%;
}
.lib-cat:hover { background: var(--bg-2); color: var(--ink); }
.lib-cat .lc-glyph {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}
.lib-cat .lc-name {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.lib-cat .lc-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--soft);
}
.lib-cat.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.lib-cat.active .lc-glyph { background: var(--bg); color: var(--ink); border-color: transparent; }
.lib-cat.active .lc-count { color: color-mix(in oklab, var(--bg) 60%, transparent); }

.lib-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  min-height: 540px;
  display: flex; flex-direction: column;
  /* always read in light context, even when section is .band-dark */
  color: var(--ink);
}
.lib-panel .pn-sub { color: var(--muted); }
.lib-panel .pn-stat .lb { color: var(--muted); }
.lib-panel-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.lib-panel h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
}
.lib-panel h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.lib-panel .pn-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 56ch;
}
.lib-panel .pn-stat {
  display: flex; gap: 24px;
}
.lib-panel .pn-stat > div { text-align: right; }
.lib-panel .pn-stat .num {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.lib-panel .pn-stat .lb {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (max-width: 700px) { .caps { grid-template-columns: 1fr; } }
.cap {
  background: var(--paper);
  padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.cap .cap-hd {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.cap .cap-hd .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.cap h4 {
  font-size: 16px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.cap p {
  font-size: 13.5px; color: var(--muted); line-height: 1.45;
}

/* ==========================
   WHERE YOU WORK (integrations)
   ========================== */
.where {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .where { grid-template-columns: 1fr; padding: 32px; }
}
.where h3 {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.where h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.where p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 48ch;
}

.where-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.where-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  transition: border-color .2s, transform .2s;
}
.where-tile:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.where-tile .wt-glyph {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.where-tile .wt-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

/* ==========================
   MODULES PILLARS
   ========================== */
.mods-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 1100px) { .mods-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mods-pillars { grid-template-columns: 1fr; } }
.mods-pillar {
  background: var(--paper);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 280px;
}
.mods-pillar .mp-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mods-pillar h4 {
  font-size: 18px; letter-spacing: -0.015em; font-weight: 500;
}
.mods-pillar ul {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 4px;
}
.mods-pillar li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
}
.mods-pillar li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--accent);
}
.mods-pillar .mp-foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  display: flex; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}

/* ==========================
   CONNECTORS
   ========================== */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 800px) { .conn-grid { grid-template-columns: repeat(3, 1fr); } }
.conn {
  padding: 14px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; flex-direction: column; gap: 6px;
  text-align: left;
  transition: border-color .2s;
}
.conn:hover { border-color: var(--ink-2); }
.conn .cn-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}
.conn .cn-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.conn .cn-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  align-self: flex-end;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald) 22%, transparent);
}

/* ==========================
   GOVERN (Protect equivalent)
   ========================== */
.govern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .govern { grid-template-columns: 1fr; gap: 36px; } }
.govern-points {
  display: flex; flex-direction: column; gap: 18px;
}
.gov-point {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-d);
}
.gov-point:last-child { border-bottom: 1px solid var(--line-d); }
.gov-point .gp-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.gov-point h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.gov-point p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--cloud);
  line-height: 1.5;
  max-width: 52ch;
}

.gov-card {
  background: var(--ink-d);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  padding: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--cloud);
  position: relative;
  overflow: hidden;
}
.gov-card .gc-hd {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line-d);
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gov-card .gc-hd .ok {
  color: var(--emerald);
  display: inline-flex; align-items: center; gap: 6px;
}
.gov-card .gc-hd .ok::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
}
.gov-card .row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-d);
}
.gov-card .row:last-child { border-bottom: 0; }
.gov-card .row .lbl { color: var(--fog); }
.gov-card .row .val { color: var(--bone); }
.gov-card .row .stamp {
  color: var(--emerald);
  font-size: 11px;
}
.gov-card .row .stamp.warn { color: var(--citrus); }

/* ==========================
   ROLES (cases by function)
   ========================== */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
.role {
  background: var(--paper);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 360px;
}
.role .r-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.role h4 {
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 500;
  line-height: 1.2;
}
.role blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.role blockquote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.role blockquote::after  { content: "\201D"; color: var(--accent); margin-left: 2px; }
.role .who {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  display: flex; align-items: center; gap: 12px;
}
.role .who .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.role .who .nm { font-size: 13.5px; font-weight: 500; }
.role .who .rl { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.role .metric {
  margin-top: auto;
  display: flex; gap: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
}
.role .metric > div .n {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.role .metric > div .l {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ==========================
   CTA FINAL
   ========================== */
.cta-final {
  position: relative;
  padding: 120px 0;
  background: var(--void);
  color: var(--bone);
  overflow: hidden;
}
.cta-final .cta-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 880px; margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.cta-final h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cta-final p.lead {
  margin: 28px auto 0;
  color: var(--cloud);
}
.cta-final .ctas {
  margin-top: 36px;
  display: inline-flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}

/* ==========================
   FOOTER
   ========================== */
.foot {
  background: var(--void);
  color: var(--cloud);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-d);
}
.foot .container { display: flex; flex-direction: column; gap: 36px; }
.foot-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 36px;
}
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand img { height: 28px; }
.foot-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  max-width: 32ch;
  color: var(--cloud);
}
.foot-partner {
  margin-top: 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.foot-partner .partner-logo { height: 22px; width: auto; opacity: 0.9; }
.foot-partner .partner-cap {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
}
.foot h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot ul a { color: var(--cloud); font-size: 13.5px; }
.foot ul a:hover { color: var(--bone); }
.foot-bar {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-d);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fog);
  flex-wrap: wrap;
}

/* ==========================
   AGENTS CONSTELLATION (animated)
   ========================== */
.const-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 580px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .const-stage { height: 760px; }
}

.const-stage .svg-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.const-stage .svg-lines line {
  stroke: var(--accent);
  stroke-width: 0.18;
  stroke-dasharray: 0.6 0.8;
  fill: none;
  opacity: 0.55;
  animation: dashflow 1.8s linear infinite;
  vector-effect: non-scaling-stroke;
}
@keyframes dashflow {
  to { stroke-dashoffset: -1.4; }
}

.lea-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 142px; height: 142px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), transparent 38%),
    radial-gradient(circle at 50% 60%, color-mix(in oklab, var(--accent) 80%, var(--void)), var(--void) 90%);
  box-shadow:
    0 0 60px color-mix(in oklab, var(--accent) 45%, transparent),
    inset 0 -12px 30px rgba(0,0,0,0.35);
  display: grid; place-items: center;
  z-index: 4;
}
.lea-orb-inner {
  text-align: center;
  color: var(--bone);
  line-height: 1;
}
.lea-orb-inner .lo-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.02em;
}
.lea-orb-inner small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.lea-orb::before,
.lea-orb::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ringpulse 3.8s ease-out infinite;
  pointer-events: none;
}
.lea-orb::after { animation-delay: 1.9s; }
@keyframes ringpulse {
  0%   { transform: scale(0.85); opacity: 0.55; }
  100% { transform: scale(1.8);  opacity: 0; }
}

.cat-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow);
  z-index: 3;
  animation: bob 7s ease-in-out infinite;
  white-space: nowrap;
}
.cat-badge .cb-glyph {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.cat-badge .cb-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald) 25%, transparent);
  animation: pulse 1.6s infinite;
}
.cat-badge .cb-cnt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-left: 2px;
}
.cat-badge.b2 { animation-delay: -1.1s; }
.cat-badge.b3 { animation-delay: -2.2s; }
.cat-badge.b4 { animation-delay: -3.3s; }
.cat-badge.b5 { animation-delay: -4.4s; }
.cat-badge.b6 { animation-delay: -5.5s; }

@keyframes bob {
  0%, 100% { transform: translate(var(--tx, 0), 0); }
  50%      { transform: translate(var(--tx, 0), -8px); }
}

.ag-out {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  max-width: 240px;
  z-index: 3;
  animation: bob 9s ease-in-out infinite;
}
.ag-out.o2 { animation-delay: -3s; }
.ag-out.o3 { animation-delay: -6s; }

.ag-out .ao-hd {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.ag-out .ao-hd .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald) 22%, transparent);
}
.ag-out .ao-body {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
}
.ag-out .ao-body b { font-weight: 500; }
.ag-out .ao-body em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.ag-out .ao-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

/* dark variant */
.band-dark .cat-badge,
.band-dark .ag-out {
  background: var(--ink-d);
  border-color: var(--line-d);
  color: var(--bone);
}
.band-dark .cat-badge .cb-glyph,
.band-dark .ag-out .ao-foot {
  background: transparent;
  border-color: var(--line-d-strong);
  color: var(--cloud);
}
.band-dark .ag-out .ao-body { color: var(--bone); }
.band-dark .cat-badge { color: var(--bone); }
.band-dark .cat-badge .cb-glyph { color: var(--bone); }

@media (max-width: 720px) {
  .const-stage .cat-badge,
  .const-stage .ag-out { font-size: 12px; padding: 6px 10px 6px 6px; }
  .const-stage .ag-out { min-width: 150px; max-width: 180px; padding: 10px; }
}

/* ==========================
   PLATFORM WEB (animated hub)
   ========================== */
.web-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 660px;
  margin: 0 auto;
}
@media (max-width: 900px) { .web-stage { height: 520px; } }
@media (max-width: 600px) { .web-stage { height: 420px; } }

.web-stage .web-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.web-stage .web-lines line {
  stroke: var(--accent);
  stroke-width: 0.18;
  fill: none;
  stroke-dasharray: 0.6 0.7;
  opacity: 0.45;
  animation: dashflow 2.4s linear infinite;
  vector-effect: non-scaling-stroke;
}
.web-stage .web-lines line.alt {
  stroke: var(--violet);
  opacity: 0.35;
  animation-duration: 3.1s;
}
.web-stage .web-lines circle {
  fill: var(--accent);
  r: 0.45;
}

.web-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  box-shadow:
    0 0 0 10px color-mix(in oklab, var(--accent) 15%, transparent),
    var(--shadow-lg);
  display: grid; place-items: center;
  z-index: 4;
  padding: 28px;
}
.web-center img { width: 100%; height: auto; filter: invert(1) brightness(0.1); }
[data-theme="dark"] .web-center img { filter: none; }
.web-center::before {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: ringpulse 4.4s ease-out infinite;
  pointer-events: none;
}

.web-sat {
  position: absolute;
  width: 68px; height: 68px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  z-index: 3;
  transform: translate(-50%, -50%);
  animation: bob 9s ease-in-out infinite;
}
.web-sat .ws-glyph {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.05;
}
.web-sat .ws-lb {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.web-sat:nth-of-type(2)  { animation-delay: -0.8s; }
.web-sat:nth-of-type(3)  { animation-delay: -1.6s; }
.web-sat:nth-of-type(4)  { animation-delay: -2.4s; }
.web-sat:nth-of-type(5)  { animation-delay: -3.2s; }
.web-sat:nth-of-type(6)  { animation-delay: -4.0s; }
.web-sat:nth-of-type(7)  { animation-delay: -4.8s; }
.web-sat:nth-of-type(8)  { animation-delay: -5.6s; }
.web-sat:nth-of-type(9)  { animation-delay: -6.4s; }
.web-sat:nth-of-type(10) { animation-delay: -7.2s; }
.web-sat:nth-of-type(11) { animation-delay: -8.0s; }
.web-sat:nth-of-type(12) { animation-delay: -0.4s; }

.web-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  min-width: 180px;
  max-width: 220px;
  animation: bob 12s ease-in-out infinite;
}
.web-card.c2 { animation-delay: -4s; }
.web-card.c3 { animation-delay: -8s; }
.web-card .wc-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}
.web-card .wc-msg {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.35;
}
.web-card .wc-msg b { font-weight: 500; }

@media (max-width: 900px) {
  .web-sat { width: 54px; height: 54px; }
  .web-sat .ws-glyph { font-size: 12px; }
  .web-card { min-width: 140px; max-width: 170px; padding: 8px 10px; }
  .web-card .wc-msg { font-size: 11.5px; }
  .web-center { width: 100px; height: 100px; padding: 20px; }
}
@media (max-width: 600px) {
  .web-sat { width: 44px; height: 44px; }
  .web-sat .ws-glyph { font-size: 11px; }
  .web-sat .ws-lb { display: none; }
  .web-card { display: none; }
}

/* ==========================
   SCHEDULE MODAL (calendar booking)
   ========================== */
.cal-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.cal-modal.open { display: flex; opacity: 1; }
.cal-backdrop {
  position: absolute; inset: 0;
  background: color-mix(in oklab, var(--void) 75%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.cal-frame {
  position: relative;
  width: min(1000px, 100%);
  max-height: 92vh;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(10px) scale(0.98);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.cal-modal.open .cal-frame { transform: translateY(0) scale(1); }
body.cal-locked { overflow: hidden; }

.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  flex-wrap: wrap;
  gap: 16px;
}
.cal-head-l { display: flex; align-items: center; gap: 14px; }
.cal-tech-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 70%, white), var(--accent));
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  color: var(--accent-ink);
}
.cal-tech-name { font-size: 14.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.cal-tech-role { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.03em; margin-top: 2px; }

.cal-sync {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cal-sync .syc-logo {
  width: 14px; height: 14px;
  background:
    linear-gradient(135deg, #F25022 50%, transparent 50%) top left/50% 50% no-repeat,
    linear-gradient(135deg, #7FBA00 50%, transparent 50%) top right/50% 50% no-repeat,
    linear-gradient(135deg, #00A4EF 50%, transparent 50%) bottom left/50% 50% no-repeat,
    linear-gradient(135deg, #FFB900 50%, transparent 50%) bottom right/50% 50% no-repeat;
  border-radius: 2px;
}
.cal-sync .syc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald) 25%, transparent);
  animation: pulse 1.8s infinite;
}

.cal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .15s;
}
.cal-close:hover { border-color: var(--ink); color: var(--ink); }

.cal-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 480px;
  flex: 1;
  overflow: auto;
}
@media (max-width: 760px) {
  .cal-body { grid-template-columns: 1fr; }
}

.cal-left { padding: 22px; border-right: 1px solid var(--line); }
@media (max-width: 760px) { .cal-left { border-right: 0; border-bottom: 1px solid var(--line); } }
.cal-right { padding: 22px; background: var(--bg); display: flex; flex-direction: column; min-height: 0; }

.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cal-nav-title { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-transform: capitalize; }
.cal-nav-btns { display: flex; gap: 4px; }
.cal-nav-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .15s;
  font-size: 12px;
}
.cal-nav-btn:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.cal-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-wd {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  padding: 6px 0 10px;
}
.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  padding: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.cal-day:hover:not(:disabled) { background: var(--bg-2); border-color: var(--line); }
.cal-day:disabled {
  color: var(--soft);
  cursor: not-allowed;
  opacity: 0.5;
}
.cal-day.other { opacity: 0; pointer-events: none; }
.cal-day.today {
  border-color: var(--line-strong);
}
.cal-day.has-slots::after {
  content: ""; width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute; bottom: 6px;
}
.cal-day.busy-day::after { background: var(--muted); }
.cal-day.selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cal-day.selected::after { background: var(--accent); }

.cal-legend {
  display: flex; gap: 18px; margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.cal-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .sw { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.cal-legend .sw.busy { background: var(--muted); }
.cal-legend .sw.full { background: var(--line-strong); }

.cal-right-head {
  margin-bottom: 14px;
}
.cal-right-head .lb {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.cal-right-head .dt {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cal-right-head .dt em {
  font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400;
}

.cal-tz {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.cal-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  padding-right: 4px;
}
.cal-slot {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  text-align: center;
  transition: all .15s;
  letter-spacing: 0.01em;
  font-feature-settings: "tnum";
}
.cal-slot:hover:not(:disabled) { border-color: var(--ink); }
.cal-slot.busy {
  background: transparent;
  color: var(--soft);
  border-style: dashed;
  text-decoration: line-through;
  cursor: not-allowed;
}
.cal-slot.selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.cal-empty {
  display: grid; place-items: center;
  height: 100%;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

/* Form step */
.cal-form { padding: 24px 22px; }
.cal-form h4 {
  font-size: 18px; letter-spacing: -0.01em; font-weight: 500; margin-bottom: 6px;
}
.cal-form p.sub {
  font-size: 13.5px; color: var(--muted); margin-bottom: 18px;
}
.cal-form .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.cal-form .pill em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }

.cal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.cal-field { display: flex; flex-direction: column; gap: 6px; }
.cal-field.full { grid-column: 1 / -1; }
.cal-field label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.cal-field input,
.cal-field textarea,
.cal-field select {
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.cal-field input:focus,
.cal-field textarea:focus,
.cal-field select:focus { border-color: var(--accent); }
.cal-field textarea { resize: vertical; min-height: 72px; }

.cal-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  gap: 12px;
  flex-wrap: wrap;
}
.cal-foot-summary {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.cal-foot-summary b {
  color: var(--ink); font-weight: 500;
  font-family: var(--sans);
  font-size: 13px;
}
.cal-foot-btns { display: flex; gap: 8px; }

/* Success state */
.cal-success {
  padding: 60px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cal-success .ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--emerald) 14%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--emerald) 40%, var(--line));
  display: grid; place-items: center;
  color: var(--emerald);
  margin-bottom: 6px;
}
.cal-success h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.cal-success h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.cal-success p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 44ch;
}
.cal-success .meet-card {
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  text-align: left;
  font-family: var(--mono);
  font-size: 12.5px;
  min-width: 320px;
}
.cal-success .meet-card .lb { color: var(--muted); }
.cal-success .meet-card .vl { color: var(--ink); }

@media (max-width: 480px) {
  .cal-fields { grid-template-columns: 1fr; }
  .cal-slots { grid-template-columns: 1fr; }
  .cal-head { padding: 14px 16px; }
  .cal-body { min-height: 380px; }
}

/* ==========================
   PRODUCT MOCKUP (SGC Agents screen)
   ========================== */
.prod-frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: visible;
}
.prod-chrome {
  display: flex; align-items: center;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  gap: 14px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.prod-chrome .tl {
  display: flex; gap: 6px;
}
.prod-chrome .tl span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line-strong);
}
.prod-chrome .tl span:nth-child(1) { background: #FF5F57; }
.prod-chrome .tl span:nth-child(2) { background: #FEBC2E; }
.prod-chrome .tl span:nth-child(3) { background: #28C840; }
.prod-chrome .url {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.prod-chrome .url b { color: var(--ink); font-weight: 500; }

/* Inner SGC app — keeps its own deep-blue palette regardless of site theme */
.sgc-app {
  --sgcb: #1F2D6E;
  --sgcb-2: #182558;
  --sgcb-3: #28377E;
  --sgcb-line: rgba(255,255,255,0.10);
  --sgcb-fg: #F5F7FF;
  --sgcb-mu: #A6B0D6;
  background: var(--sgcb);
  color: var(--sgcb-fg);
  font-family: var(--sans);
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 660px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  overflow: hidden;
}
@media (max-width: 700px) { .sgc-app { min-height: 520px; } }

.sgc-rail {
  background: var(--sgcb-2);
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 0;
  gap: 6px;
  border-right: 1px solid var(--sgcb-line);
}
.sgc-rail .rl-logo {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--sgcb-fg);
  letter-spacing: 0.04em;
}
.sgc-rail .rl-logo span {
  display: inline-block;
}
.sgc-rail .rl-ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sgc-rail .rl-ic.active {
  background: var(--sgcb-3);
  color: var(--sgcb-fg);
}
.sgc-rail .rl-ic:hover { color: var(--sgcb-fg); }
.sgc-rail .rl-spacer { flex: 1; }

.sgc-main { display: flex; flex-direction: column; min-width: 0; }

.sgc-top {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--sgcb-2);
  border-bottom: 1px solid var(--sgcb-line);
}
.sgc-top .sgc-search {
  flex: 1;
  background: var(--sgcb-3);
  border: 1px solid var(--sgcb-line);
  border-radius: 999px;
  height: 32px;
  display: flex; align-items: center;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--sgcb-mu);
}
.sgc-top .sgc-search svg { margin-right: 8px; opacity: 0.6; }
.sgc-top .sgc-mini {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sgcb-3);
  display: grid; place-items: center;
  color: var(--sgcb-mu);
}
.sgc-top .sgc-logo-mark {
  width: 56px; height: 28px;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-weight: 700; font-size: 13px;
  color: var(--sgcb-fg);
  letter-spacing: 0.06em;
  margin: 0 auto;
}
.sgc-top .sgc-logo-mark sup {
  font-size: 8px;
  font-weight: 500;
  color: #5B7FFF;
  margin-left: 2px;
}

.sgc-page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 24px 28px 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.sgc-page-head h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--sgcb-fg);
}
.sgc-page-head p {
  font-size: 13.5px;
  color: var(--sgcb-mu);
  margin-top: 4px;
}
.sgc-new {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #5276FF;
  border: 0;
  border-radius: 12px;
  color: white;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px -2px rgba(82, 118, 255, 0.5);
}

.sgc-tabs {
  display: flex;
  gap: 4px;
  padding: 0 28px;
  border-bottom: 1px solid var(--sgcb-line);
}
.sgc-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--sgcb-mu);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.sgc-tab.active {
  color: var(--sgcb-fg);
  border-bottom-color: #5276FF;
  font-weight: 500;
}
.sgc-tab svg { opacity: 0.7; }

.sgc-body {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
}
@media (max-width: 1080px) {
  .sgc-body { grid-template-columns: 240px 1fr; }
  .sgc-body > .sgc-card-side { display: none; }
}
@media (max-width: 700px) {
  .sgc-body { grid-template-columns: 1fr; }
  .sgc-body > .sgc-list-side { display: none; }
}

.sgc-list-side {
  padding: 16px 14px;
  border-right: 1px solid var(--sgcb-line);
  display: flex; flex-direction: column; gap: 6px;
}
.sgc-list-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--sgcb-3);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--sgcb-mu);
  margin-bottom: 4px;
}
.sgc-agent {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s;
}
.sgc-agent:hover { background: var(--sgcb-3); }
.sgc-agent .av {
  width: 36px; height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #1A0B05;
}
.sgc-agent .nm { font-size: 13px; color: var(--sgcb-fg); font-weight: 500; letter-spacing: -0.005em; }
.sgc-agent .rl { font-size: 11px; color: var(--sgcb-mu); margin-top: 2px; }
.sgc-agent .dot {
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.2);
}

.sgc-form-side {
  padding: 16px 24px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.sgc-card-inner {
  background: var(--sgcb-fg);
  color: var(--ink);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.sgc-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
  cursor: pointer;
}
.sgc-card-inner h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sgc-card-inner h4 + p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.sgc-section-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.sgc-avatars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 1100px) { .sgc-avatars { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 540px)  { .sgc-avatars { grid-template-columns: repeat(4, 1fr); } }
.sgc-av {
  aspect-ratio: 1;
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.sgc-av:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.sgc-roles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
@media (max-width: 700px) { .sgc-roles { grid-template-columns: repeat(3, 1fr); } }
.sgc-role-tile {
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.sgc-role-tile.active {
  border-color: #5276FF;
  background: color-mix(in oklab, #5276FF 8%, var(--paper));
}
.sgc-role-tile svg { color: var(--muted); }

.sgc-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
}
@media (max-width: 540px) { .sgc-fields { grid-template-columns: 1fr; } }
.sgc-field-lb {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.sgc-field-in {
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  display: flex; align-items: center;
  font-size: 13px;
  color: var(--soft);
}
.sgc-field-full { grid-column: 1 / -1; }

.sgc-card-side {
  padding: 32px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-left: 1px solid var(--sgcb-line);
  text-align: center;
  gap: 10px;
}
.sgc-card-side .ic {
  width: 56px; height: 56px;
  background: var(--sgcb-3);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--sgcb-mu);
}
.sgc-card-side .ttl { font-size: 13.5px; color: var(--sgcb-fg); font-weight: 500; }
.sgc-card-side .sub { font-size: 11.5px; color: var(--sgcb-mu); }

/* annotations / callouts */
.prod-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 800px) { .prod-callouts { grid-template-columns: 1fr; } }
.prod-callout {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prod-callout .pc-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.prod-callout h4 {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.prod-callout p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================
   PRODUCT MOCKUP — annotations
   ========================== */
.prod-annot-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 10;
}
.prod-annot-overlay > * { pointer-events: auto; }
.paol {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.paol path {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  fill: none;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
  animation: dashflow2 1.5s linear infinite;
}
@keyframes dashflow2 { to { stroke-dashoffset: -16; } }

.prod-annot {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 220px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transform: translate(-50%, -50%);
  animation: bob 8s ease-in-out infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.prod-annot small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 400;
}
.prod-annot em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.prod-annot.a2 { animation-delay: -2s; }
.prod-annot.a3 { animation-delay: -4s; }
.prod-annot.a4 { animation-delay: -6s; }

.prod-annot-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 25%, transparent);
  transform: translate(-50%, -50%);
  animation: pulse 1.6s infinite;
}

@media (max-width: 800px) {
  .prod-annot-overlay { display: none; }
}

/* ==========================
   REVEAL (entry)
   ========================== */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].on { opacity: 1; transform: translateY(0); }

/* ==========================
   MOBILE LAYER (responsive pass)
   ========================== */
/* global horizontal-overflow guard for desktop-first sections */
html, body { max-width: 100%; overflow-x: hidden; }

/* hamburger + mobile drawer (hidden until phone width) */
.nav-burger { display: none; }
.nav-mobile { display: none; }

@media (max-width: 720px) {
  /* --- NAV --- */
  .nav-inner { gap: 14px; }
  .nav-actions { display: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 38px; padding: 0 9px; margin-left: auto;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav.nav-open .nav-mobile {
    display: flex; flex-direction: column; gap: 2px;
    padding: 8px var(--pad-h) 18px;
    border-top: 1px solid var(--line);
    background: color-mix(in oklab, var(--bg) 94%, transparent);
  }
  .nav-mobile-link {
    padding: 13px 4px; font-size: 16px; color: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile-link:last-of-type { border-bottom: 0; }
  .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; }

  /* --- HERO (fix grid blowout) --- */
  .hero-grid > * { min-width: 0; }
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn, .hero-ctas .btn-film { max-width: 100%; }
  .hero-ctas .btn-film { flex: 0 1 auto; }
  .hero-trust { flex-wrap: wrap; }

  /* --- known desktop-only grids: stack --- */
  .roles { grid-template-columns: 1fr; }
  .where-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .wrap-grid > * { min-width: 0; }
  .sec-head, .sec-head h2, .sec-head h3, .sec-head p, .lead { max-width: 100%; }
}
