/* ═══════════════════════════════════════════════════════════════
   GreenArrow Neuro — Design System v2
   Glass, aurora, product-mockup driven. Shared by site + demos.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --green-950: #052b17;
  --green-900: #0a3d20;
  --green-800: #0d4f26;
  --green-700: #14652f;
  --green-600: #1a7a3c;
  --green-500: #22a852;
  --green-400: #3ec46e;
  --green-300: #7ddca0;
  --green-200: #b8ecc9;
  --green-100: #ddf6e5;
  --green-50:  #f0fbf4;

  /* Ink */
  --ink-900: #0b100d;
  --ink-700: #2b342f;
  --ink-500: #5b665f;
  --ink-400: #7e8983;
  --ink-300: #aab4ae;
  --ink-200: #d7ded9;
  --ink-100: #e9efeb;
  --ink-50:  #f4f7f5;

  /* Surfaces */
  --bg: #f3f7f4;
  --card: #ffffff;
  --line: rgba(11, 16, 13, 0.07);
  --line-strong: rgba(11, 16, 13, 0.12);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-blur: saturate(1.5) blur(22px);

  /* Type */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(11, 16, 13, 0.04);
  --shadow-sm: 0 2px 8px rgba(11, 16, 13, 0.05);
  --shadow-md: 0 8px 28px rgba(11, 16, 13, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 16, 13, 0.11);
  --shadow-xl: 0 32px 80px rgba(11, 16, 13, 0.15);
  --shadow-green: 0 10px 30px rgba(26, 122, 60, 0.25);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --nav-h: 64px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--green-200); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── Aurora backdrop ────────────────────────────────────────── */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(56rem 34rem at 12% -6%, rgba(62, 196, 110, 0.16), transparent 62%),
    radial-gradient(48rem 30rem at 88% -4%, rgba(125, 220, 160, 0.18), transparent 60%),
    radial-gradient(40rem 26rem at 50% 108%, rgba(34, 168, 82, 0.10), transparent 60%),
    var(--bg);
}
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,16,13,0.028) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black 0%, transparent 42rem);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 42rem);
}

/* ── Eyebrow ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-500);
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  padding: 8px 18px; border-radius: var(--r-pill);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow.green { color: var(--green-700); background: var(--green-50); border-color: var(--green-200); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink-900); color: #fff; }
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green-700); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { background: var(--green-800); transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,0.6); color: var(--ink-900); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink-900); background: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--ink-700); padding: 16px 16px; }
.btn-ghost:hover { color: var(--green-700); }
.btn .arrow { transition: transform .18s ease; font-family: var(--font-body); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 12px 22px; font-size: 11.5px; }

/* ── Floating glass nav ─────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  padding: 0 16px;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-wrap .nav { pointer-events: auto; }
.nav {
  width: 100%; max-width: 1180px; height: var(--nav-h);
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px 0 20px;
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-logo img { height: 30px; width: auto; }
.nav-logo { margin-right: 18px; flex-shrink: 0; display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links .nav-link.nav-mobile-only { display: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--ink-700);
  padding: 9px 13px; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
  line-height: 1.4;
}
.nav-link:hover, .nav-link.open { color: var(--ink-900); background: rgba(11,16,13,0.05); }
.nav-link .caret { transition: transform .2s ease; width: 9px; height: 9px; }
.nav-link.open .caret { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 12px; margin-left: auto; }
.nav-burger span { width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(var(--nav-h) + 24px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(1040px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 30px;
  display: grid; grid-template-columns: 1.55fr 0.85fr 0.9fr; gap: 34px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega.open { opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-title {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: 14px; font-weight: 500;
}
.mega-group { margin-bottom: 20px; }
.mega-group h4 {
  font-size: 17px; display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.mega-item {
  display: flex; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 12px;
  transition: background .14s ease; align-items: center;
}
.mega-item:hover { background: var(--ink-50); }
.mega-item .mi-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100);
}
.mega-item .mi-icon svg { width: 17px; height: 17px; }
.mega-item h5 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink-900); }
.mega-item p { font-size: 12px; color: var(--ink-500); line-height: 1.4; margin-top: 1px; }
.mega-plain { display: flex; flex-direction: column; }
.mega-plain a { font-size: 14px; color: var(--ink-700); padding: 7px 0; transition: color .14s; }
.mega-plain a:hover { color: var(--green-700); }
.mega-feature {
  background: linear-gradient(160deg, var(--green-50), #eef7f1 55%, #e7f4ec);
  border: 1px solid var(--green-100);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
}
.mega-feature h4 { font-size: 17px; }
.mega-feature p { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.mega-feature .mf-img {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); background: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: calc(var(--nav-h) + 90px) 0 80px; position: relative; }
.hero-center { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 26px 0 22px; }
.hero h1 .accent { color: var(--green-600); }
.hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-500); max-width: 660px; margin: 0 auto 36px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 46px); margin: 20px 0 16px; }
.section-head p { font-size: 17px; color: var(--ink-500); }
.section-dark {
  background:
    radial-gradient(50rem 30rem at 80% -10%, rgba(62,196,110,.14), transparent 55%),
    linear-gradient(165deg, var(--green-950) 0%, var(--green-900) 60%, #0c4423 100%);
  color: #fff;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: var(--green-200); }
.section-dark .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--green-300); }

/* ── Big stage panel (Kore-style showcase surface) ──────────── */
.stage {
  background: linear-gradient(150deg, #e8f4ec 0%, #f2f8f3 45%, #e4f1ea 100%);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.9);
  padding: 40px;
  position: relative; overflow: hidden;
}
.stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(34rem 20rem at 78% 8%, rgba(255,255,255,.55), transparent 60%);
}
.stage > * { position: relative; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card:hover, .card.hoverable:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--ink-500); line-height: 1.62; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); font-weight: 500;
}
.card .card-link .arrow { transition: transform .18s ease; }
a.card:hover .card-link .arrow { transform: translateX(4px); }

.glass-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}

/* Dashed feature card (Kore triple) */
.dash-card { padding: 26px 26px 26px 0; }
.dash-card h4 {
  font-family: var(--font-body); font-size: 17px; font-weight: 650; color: var(--ink-900);
  padding-left: 18px; border-left: 2px dashed var(--green-500);
  margin-bottom: 12px; line-height: 1.35;
}
.dash-card p { font-size: 14px; color: var(--ink-500); line-height: 1.62; padding-left: 20px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Pills ──────────────────────────────────────────────────── */
.pills { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.pill {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.8); color: var(--ink-500);
  border: 1px solid var(--line);
  transition: all .18s ease;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill:hover { border-color: var(--ink-300); color: var(--ink-900); }
.pill.active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); box-shadow: var(--shadow-sm); }
.section-dark .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: var(--green-200); }
.section-dark .pill.active { background: #fff; color: var(--green-900); border-color: #fff; }

/* ── Browser frame mockup ───────────────────────────────────── */
.browser {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser .b-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(#fbfdfc, #f5f8f6);
}
.browser .b-dots { display: flex; gap: 5px; }
.browser .b-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-200); }
.browser .b-dots span:nth-child(1) { background: #f2a6a0; }
.browser .b-dots span:nth-child(2) { background: #f4d29a; }
.browser .b-dots span:nth-child(3) { background: #a9dfb6; }
.browser .b-url {
  flex: 1; max-width: 320px; margin: 0 auto;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400);
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 12px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.browser .b-url svg { width: 9px; height: 9px; flex-shrink: 0; }
.browser .b-ext {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-100); flex-shrink: 0;
}
.browser .b-ext img { width: 13px; height: 13px; }
.browser .b-body { position: relative; }

/* ── App icon (rounded-square, used in flows & clouds) ──────── */
.appic {
  width: 30px; height: 30px; border-radius: 8.5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.appic img, .appic svg { width: 16px; height: 16px; }
.appic.lg { width: 44px; height: 44px; border-radius: 12px; }
.appic.lg img, .appic.lg svg { width: 24px; height: 24px; }

/* ── Bubble cloud (integration logos, Kore-style) ───────────── */
.bubble-cloud { position: relative; min-height: 380px; }
.cloud-bubble {
  position: absolute; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 30px rgba(11,16,13,.10);
  display: flex; align-items: center; justify-content: center;
  animation: b-float 5.2s ease-in-out infinite;
}
.cloud-bubble img, .cloud-bubble svg { width: 42%; height: 42%; }
.cloud-bubble .b-label {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; color: var(--ink-400); white-space: nowrap; font-weight: 500;
}
@keyframes b-float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ── FLOW PLAYER (Kore-style agent flow animation) ──────────── */
.flow {
  font-size: 15px;
  display: flex; flex-direction: column; gap: 0;
  min-height: 380px;
}
.flow .f-query {
  align-self: flex-end;
  background: var(--green-700); color: #fff;
  border-radius: 14px; padding: 12px 20px;
  font-weight: 500; font-size: 14.5px;
  box-shadow: var(--shadow-green);
  margin-bottom: 26px; max-width: 85%;
  min-height: 45px;
}
.flow .f-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-400);
  margin-bottom: 14px;
  opacity: 0; transition: opacity .4s ease;
}
.flow .f-head.visible { opacity: 1; }
.flow .f-head img { width: 18px; height: 18px; border-radius: 5px; }
.flow .f-head .f-chev { margin-left: 2px; color: var(--ink-300); }
.flow .f-intro {
  font-size: 14.5px; color: var(--ink-700); line-height: 1.55;
  margin: 0 0 12px 27px; max-width: 480px;
  opacity: 0; transition: opacity .4s ease;
}
.flow .f-intro.visible { opacity: 1; }
.flow .f-actions { display: flex; gap: 8px; margin: 0 0 18px 27px; opacity: 0; transition: opacity .4s ease; }
.flow .f-actions.visible { opacity: 1; }
.flow .f-actions .fa-start {
  background: var(--ink-900); color: #fff; font-size: 12.5px; font-weight: 550;
  padding: 7px 18px; border-radius: 9px;
}
.flow .f-actions .fa-edit {
  background: #fff; border: 1px solid var(--line-strong); color: var(--ink-700);
  font-size: 12.5px; font-weight: 550; padding: 7px 18px; border-radius: 9px;
}
.flow .f-steps { margin-left: 27px; display: flex; flex-direction: column; }
.flow .f-step { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.flow .f-step.visible { opacity: 1; transform: none; }
.flow .f-step .fs-clock { width: 15px; height: 15px; color: var(--ink-300); margin-top: 4px; flex-shrink: 0; position: relative; }
.flow .f-step .fs-clock svg { width: 15px; height: 15px; }
.flow .f-step.active .fs-clock svg { display: none; }
.flow .f-step.active .fs-clock::after {
  content: ''; position: absolute; inset: -1px;
  border: 2px solid var(--green-200); border-top-color: var(--green-600);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.flow .f-step .fs-ic { width: 19px; height: 19px; margin-top: 2px; flex-shrink: 0; }
.flow .f-step .fs-ic img, .flow .f-step .fs-ic svg { width: 19px; height: 19px; }
.flow .f-step .fs-text { font-size: 14.5px; color: var(--ink-900); line-height: 1.5; padding-top: 1px; }
.flow .f-subs { margin: 2px 0 4px 53px; display: flex; flex-direction: column; }
.flow .f-sub {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-700); line-height: 1.45;
  padding: 5px 0;
  opacity: 0; transition: opacity .35s ease;
  position: relative;
}
.flow .f-sub.visible { opacity: 1; }
.flow .f-sub::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  border: 1.6px solid var(--ink-300); margin-top: 5px; flex-shrink: 0;
  background: #fff;
}
.flow .f-sub:not(:last-child)::after {
  content: ''; position: absolute; left: 3px; top: 17px; bottom: -7px;
  border-left: 2px dotted var(--ink-200);
}
.flow .f-result {
  margin: 16px 0 0 27px;
  background: #fff; border: 1px solid var(--green-200); border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  font-size: 13.5px; color: var(--ink-700); line-height: 1.6;
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease;
  max-width: 560px;
}
.flow .f-result.visible { opacity: 1; transform: none; }
.flow .f-result .fr-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--green-700); display: block; margin-bottom: 7px;
}

/* ── Side-tab section (Kore capability switcher) ────────────── */
.sidetabs { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.sidetabs .st-rail { display: flex; flex-direction: column; position: sticky; top: 110px; }
.sidetabs .st-tab {
  text-align: left; font-size: 15.5px; font-weight: 550; color: var(--ink-400);
  padding: 13px 2px; border-bottom: 1px solid var(--line);
  transition: color .15s ease; position: relative;
}
.sidetabs .st-tab::before {
  content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 55%; border-radius: 2px; background: var(--green-600);
  transition: transform .2s ease;
}
.sidetabs .st-tab:hover { color: var(--ink-700); }
.sidetabs .st-tab.active { color: var(--ink-900); }
.sidetabs .st-tab.active::before { transform: translateY(-50%) scaleY(1); }
.sidetabs .st-panels { min-height: 420px; }
.sidetabs .st-panel { display: none; animation: panel-in .35s ease; }
.sidetabs .st-panel.active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

/* ── Split rows ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.split h3 { font-size: clamp(24px, 3vw, 36px); margin: 18px 0 14px; }
.split p.lead { font-size: 16px; color: var(--ink-500); margin-bottom: 22px; line-height: 1.65; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-700); align-items: flex-start; line-height: 1.5; }
.feature-list li svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; margin-top: 3px; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat h3 { font-size: clamp(34px, 4.5vw, 54px); color: var(--green-700); font-weight: 700; letter-spacing: -0.03em; }
.section-dark .stat h3 { color: var(--green-300); }
.stat p { font-size: 13.5px; color: var(--ink-500); margin-top: 6px; }
.section-dark .stat p { color: var(--green-200); }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(40rem 22rem at 85% -20%, rgba(62,196,110,.25), transparent 60%),
    linear-gradient(155deg, var(--green-950) 0%, var(--green-800) 75%, var(--green-700) 100%);
  border-radius: var(--r-xl); padding: 72px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 14px; position: relative; }
.cta-banner p { color: var(--green-200); font-size: 16px; max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-banner .btn-primary { background: #fff; color: var(--green-900); }
.cta-banner .btn-primary:hover { background: var(--green-100); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--ink-900); color: #aeb8b2; padding: 68px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr 1.35fr; gap: 36px; margin-bottom: 44px; }
.footer-contact li { color: #7f8a84; font-size: 13px; line-height: 1.6; }
.footer-contact a { color: #aeb8b2; transition: color .15s ease; }
.footer-contact a:hover { color: var(--green-300); }
.footer-regs {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px;
  border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #7f8a84;
}
.footer-brand img { height: 54px; background: #fff; padding: 9px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.65; color: #7f8a84; max-width: 300px; }
.footer h5 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: #66716b; margin-bottom: 16px; font-weight: 500;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 13.5px; color: #aeb8b2; transition: color .15s ease; }
.footer ul a:hover { color: var(--green-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #66716b;
}

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ── Marquee (logo strip) ───────────────────────────────────── */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee .mq-track { display: flex; gap: 14px; width: max-content; animation: mq 30s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 18px; font-size: 13px; font-weight: 550; color: var(--ink-700);
  box-shadow: var(--shadow-xs); white-space: nowrap;
}
.mq-chip img { width: 15px; height: 15px; }

/* ── Tool hero ──────────────────────────────────────────────── */
.tool-hero { padding: calc(var(--nav-h) + 80px) 0 72px; position: relative; }
.tool-hero .th-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.tool-hero h1 { font-size: clamp(30px, 4.2vw, 50px); margin: 22px 0 18px; }
.tool-hero .sub { font-size: 17px; color: var(--ink-500); margin-bottom: 30px; line-height: 1.65; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev, .tool-hero .th-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega { grid-template-columns: 1fr 1fr; }
  .mega .mega-feature { display: none; }
  .sidetabs { grid-template-columns: 1fr; gap: 24px; }
  .sidetabs .st-rail { position: static; flex-direction: row; overflow-x: auto; gap: 4px; }
  .sidetabs .st-tab { border-bottom: none; white-space: nowrap; padding: 9px 14px; border-radius: 10px; }
  .sidetabs .st-tab.active { background: var(--ink-900); color: #fff; }
  .sidetabs .st-tab::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: calc(var(--nav-h) + 24px); left: 12px; right: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    flex-direction: column; align-items: stretch; padding: 16px; gap: 2px;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links .nav-link { padding: 13px 14px; font-size: 15px; }
  .nav-burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links.mobile-open .nav-link.nav-mobile-only { display: flex; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: none;
    padding: 4px 10px 10px; display: none; grid-template-columns: 1fr; }
  .mega.open { display: grid; }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .stage { padding: 22px; border-radius: var(--r-lg); }
  .cta-banner { padding: 48px 24px; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 56px; }
  .flow .f-steps, .flow .f-intro, .flow .f-actions, .flow .f-result { margin-left: 8px; }
  .flow .f-subs { margin-left: 34px; }
  .bubble-cloud { min-height: 300px; }
}

/* ── FlowPlayer v3: rich results ────────────────────────────── */
.flow .f-query { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.flow .f-query.q-reveal { opacity: 0; transform: translateY(10px) scale(.97); }
.flow .f-query.q-in { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1); }
.flow .fq-img { display: block; }
.flow .fq-img svg, .flow .fq-img img { width: 116px; height: 86px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); display: block; }
.flow .f-result .fr-scroll { max-height: 190px; overflow: hidden; position: relative; }
.flow .f-result .fr-inner > *:last-child { margin-bottom: 0; }
.fr-tblwrap { overflow-x: auto; margin-top: 10px; }
.fr-table { border-collapse: collapse; font-size: 12px; width: 100%; }
.fr-table th { background: var(--green-800); color: #fff; font-weight: 500; padding: 6px 10px; text-align: left; white-space: nowrap; }
.fr-table td { border: 1px solid var(--ink-100); padding: 6px 10px; vertical-align: top; }
.fr-table tr:nth-child(even) td { background: var(--ink-50); }
.fr-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.fr-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 550; color: var(--green-800);
  background: var(--green-50); border: 1px solid var(--green-200); border-radius: 8px;
  padding: 5px 10px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  text-decoration: underline; text-decoration-color: rgba(20,101,47,.35); text-underline-offset: 2px;
}
.fr-link:hover { background: var(--green-100); border-color: var(--green-400); transform: translateY(-1px); }
.fr-link .fl-ic { width: 13px; height: 13px; display: inline-flex; }
.fr-link svg { width: 11px; height: 11px; color: var(--green-600); }

/* ── Neuro brand callout chip ───────────────────────────────── */
.neuro-chip {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: .01em;
  background: #fff;
  border-radius: 9px; padding: 4px 12px;
}
.neuro-chip::before {
  content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: 10.5px;
  background: linear-gradient(100deg, var(--green-600), var(--green-300), #0d9488, var(--green-400), var(--green-600));
  background-size: 300% 100%;
  animation: neuro-shift 5s linear infinite;
}
.neuro-chip b {
  font-weight: 700;
  background: linear-gradient(100deg, var(--green-800), var(--green-500), #0f766e, #2563eb, var(--green-500), var(--green-800));
  background-size: 320% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: neuro-shift 5s linear infinite;
}
@keyframes neuro-shift { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.badge-soft {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-800); background: var(--green-100); border: 1px solid var(--green-200);
  border-radius: 6px; padding: 2px 8px; vertical-align: 2px; margin-left: 6px; font-weight: 500;
}

/* ── Site loader (first visit) ──────────────────────────────── */
.site-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .55s ease, visibility .55s;
}
.site-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.site-loader .sl-rings { position: absolute; inset: 0; overflow: hidden; }
.site-loader .sl-rings span {
  position: absolute; top: 50%; left: 50%;
  width: 30rem; height: 30rem; margin: -15rem 0 0 -15rem;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 168, 82, 0.18);
  background: radial-gradient(circle, transparent 62%, rgba(62,196,110,.055) 74%, transparent 86%);
  animation: sl-ripple 2.6s cubic-bezier(.2,.6,.35,1) infinite;
}
.site-loader .sl-rings span:nth-child(2) { animation-delay: .55s; }
.site-loader .sl-rings span:nth-child(3) { animation-delay: 1.1s; }
.site-loader .sl-rings span:nth-child(4) { animation-delay: 1.65s; }
@keyframes sl-ripple {
  0% { transform: scale(.12); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
.site-loader .sl-logo { position: relative; text-align: center; animation: sl-in .8s cubic-bezier(.2,.7,.3,1); }
.site-loader .sl-logo img { height: 52px; margin: 0 auto; }
.site-loader .sl-logo .sl-sub {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--green-700); margin-top: 14px; animation: sl-fade 1.6s ease infinite alternate;
}
@keyframes sl-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes sl-fade { from { opacity: .45; } to { opacity: 1; } }

/* ── Facility map player ────────────────────────────────────── */
.fac-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; min-height: 340px; }
.fac-map {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(58px, auto); gap: 8px;
  align-content: start; box-shadow: var(--shadow-sm);
}
.fac-map .fm-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-400); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 4px; }
.fac-map .fm-head img { width: 15px; height: 15px; }
.fac-tile {
  border: 1.5px solid var(--ink-100); border-radius: 10px; padding: 8px 10px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-700);
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  transition: all .3s ease; position: relative;
}
.fac-tile small { font-size: 9.5px; color: var(--ink-400); font-weight: 500; }
.fac-tile.scanned { border-color: var(--green-200); background: var(--green-50); }
.fac-tile.active { border-color: var(--green-600); background: var(--green-100); box-shadow: 0 0 0 3px rgba(34,168,82,.18); }
.fac-tile.active::after {
  content: ''; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); animation: pulse-dot 1s ease infinite;
}
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(34,168,82,.4);} 50% { box-shadow: 0 0 0 5px rgba(34,168,82,0);} }
.fac-list {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); overflow: hidden;
}
.fac-list .fl-head {
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-size: 11px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400);
  display: flex; justify-content: space-between; align-items: center;
}
.fac-list .fl-head b { color: var(--green-700); font-weight: 600; }
.fac-list .fl-scroll { flex: 1; overflow: hidden; padding: 6px 12px; }
.fac-row {
  display: flex; align-items: center; gap: 9px; padding: 7px 2px;
  border-bottom: 1px dashed var(--ink-100);
  font-size: 12px; color: var(--ink-700);
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.fac-row.visible { opacity: 1; transform: none; }
.fac-row .fr-dev { flex: 1; font-weight: 550; }
.fac-row .fr-dev small { display: block; font-weight: 400; color: var(--ink-400); font-size: 10px; }
.fac-row .fr-qty { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }
.fac-batt {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em;
  background: var(--green-100); color: var(--green-800); border-radius: 6px; padding: 3px 7px; white-space: nowrap;
}
.fac-total { padding: 9px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; font-weight: 650; color: var(--ink-900); }
.fac-total span:last-child { color: var(--green-700); }
@media (max-width: 700px) { .fac-wrap { grid-template-columns: 1fr; } }

/* ── Industry example tickers ───────────────────────────────── */
.ind-examples {
  margin-top: 14px; height: 96px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}
.ind-examples .ie-track { display: flex; flex-direction: column; gap: 7px; animation: ie-scroll 12s linear infinite; }
.ind-card:hover .ie-track { animation-play-state: paused; }
@keyframes ie-scroll { to { transform: translateY(-50%); } }
.ie-item {
  flex-shrink: 0; display: flex; gap: 8px; align-items: flex-start;
  font-size: 11.5px; color: var(--green-100); line-height: 1.4;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px; padding: 7px 11px;
}
.ie-item::before { content: '›'; color: var(--green-300); font-weight: 700; }

/* ── Accessibility & motion ─────────────────────────────────── */
:focus-visible { outline: 2.5px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 10000;
  background: var(--green-800); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px;
}
.skip-link:focus { left: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Platform banner (Meet Neuro) ───────────────────────────── */
.platform-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(34rem 20rem at 78% 50%, rgba(34,168,82,.14), transparent 65%),
    #081410;
  border-radius: var(--r-xl);
  padding: 54px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  box-shadow: var(--shadow-xl);
  color: #fff;
}
.platform-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(125,220,160,.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(60rem 30rem at 70% 50%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(60rem 30rem at 70% 50%, black, transparent 75%);
}
.platform-banner::after {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-500), #2dd4bf, transparent);
  opacity: .8;
}
.platform-banner .pb-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: #9fb3a7; margin-bottom: 18px;
}
.platform-banner h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.platform-banner h2 .pb-neuro {
  background: linear-gradient(100deg, #7ddca0, #22a852, #2dd4bf, #60a5fa, #22a852, #7ddca0);
  background-size: 320% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: neuro-shift 6s linear infinite;
  font-style: italic; padding-right: 4px;
}
.platform-banner .pb-new {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  background: linear-gradient(100deg, var(--green-500), #2dd4bf);
  color: #04120a; border-radius: 999px; padding: 6px 14px; font-weight: 600;
}
.platform-banner p { color: #b6c6bc; font-size: 15.5px; line-height: 1.65; margin-top: 16px; max-width: 480px; }
.platform-banner .pb-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.platform-banner .pb-cta .btn-outline { color: #d7e4dc; border-color: rgba(255,255,255,.25); background: transparent; }
.platform-banner .pb-cta .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

/* Neural map */
.pb-net { position: relative; }
.pb-net svg { width: 100%; height: auto; display: block; overflow: visible; }
.pb-net .core-ring { transform-origin: 424px 150px; animation: core-ring 3s ease-out infinite; }
.pb-net .core-ring.r2 { animation-delay: 1.5s; }
@keyframes core-ring {
  0% { transform: scale(.55); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}
.pb-net .sat { animation: sat-bob 5s ease-in-out infinite; }
@keyframes sat-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 900px) {
  .platform-banner { grid-template-columns: 1fr; padding: 40px 26px 34px; }
}

/* ── Page enter fade ────────────────────────────────────────── */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in .45s ease; }

/* ── AccessPlayer: document scanner ─────────────────────────── */
.acc-wrap { display: grid; grid-template-columns: 1fr 130px; gap: 16px; align-items: start; }
.acc-doc {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 22px 20px; min-height: 300px; overflow: hidden;
}
.acc-doc .ad-line { height: 9px; border-radius: 5px; background: var(--ink-100); margin-bottom: 11px; }
.acc-doc .ad-img { height: 64px; border-radius: 8px; background: linear-gradient(140deg, var(--ink-100), var(--ink-50)); margin-bottom: 11px; display: flex; align-items: center; justify-content: center; color: var(--ink-300); font-size: 10px; font-family: var(--font-mono); }
.acc-beam {
  position: absolute; left: 0; right: 0; top: -8%; height: 46px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(34,168,82,.16), transparent);
  border-bottom: 1.5px solid rgba(34,168,82,.55);
}
.acc-beam.scan { animation: acc-scan 2.8s cubic-bezier(.4,0,.5,1) forwards; }
@keyframes acc-scan { from { top: -14%; } to { top: 102%; } }
.acc-flag {
  position: absolute; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .04em;
  background: #fff; border: 1px solid #f3c1c8; color: #c22e4d;
  border-radius: 7px; padding: 3px 8px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(5px) scale(.94);
  transition: all .3s cubic-bezier(.2,.7,.3,1);
}
.acc-flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e0506e; }
.acc-flag.on { opacity: 1; transform: none; }
.acc-flag.fixed { border-color: var(--green-200); color: var(--green-800); }
.acc-flag.fixed::before { background: var(--green-500); }
.acc-score { text-align: center; }
.acc-score svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.acc-score .as-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin-top: -76px; position: relative; }
.acc-score .as-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); margin-top: 40px; }
.acc-score circle.prog { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.3,1), stroke .6s ease; }

/* ── InsightPlayer: living chart ────────────────────────────── */
.ins-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 20px; }
.ins-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 12px; }
.ins-head img { width: 15px; height: 15px; }
.ins-chart { position: relative; }
.ins-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.ins-chart path.line { stroke-dasharray: 900; stroke-dashoffset: 900; }
.ins-chart path.line.draw { animation: ins-draw 2.4s cubic-bezier(.4,0,.4,1) forwards; }
@keyframes ins-draw { to { stroke-dashoffset: 0; } }
.ins-anno {
  position: absolute; max-width: 200px;
  background: #fff; border: 1px solid #f3c1c8; border-left: 3px solid #e0506e;
  border-radius: 9px; padding: 7px 10px; font-size: 11px; color: var(--ink-700);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(6px); transition: all .4s cubic-bezier(.2,.7,.3,1);
}
.ins-anno.on { opacity: 1; transform: none; }
.ins-lines { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.ins-line { font-size: 12.5px; color: var(--ink-700); display: flex; gap: 8px; opacity: 0; transform: translateX(-6px); transition: all .35s ease; }
.ins-line.on { opacity: 1; transform: none; }
.ins-line::before { content: '›'; color: var(--green-600); font-weight: 700; }

/* ── ComparePlayer: side-by-side duel ───────────────────────── */
.cmp-wrap { position: relative; }
.cmp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  opacity: 0; transition: all .5s cubic-bezier(.2,.7,.3,1);
}
.cmp-card.a { transform: translateX(-26px); }
.cmp-card.b { transform: translateX(26px); }
.cmp-card.in { opacity: 1; transform: none; }
.cmp-card h5 { font-size: 13.5px; margin-bottom: 1px; }
.cmp-card .cc-price { font-family: var(--font-mono); font-size: 11px; color: var(--green-700); margin-bottom: 8px; }
.cmp-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-700); padding: 6px 6px; margin: 0 -6px; border-top: 1px dashed var(--ink-100); opacity: 0; transition: all .3s ease; border-radius: 7px; }
.cmp-row.on { opacity: 1; }
.cmp-row.win { background: var(--green-50); }
.cmp-row .cr-label { color: var(--ink-400); }
.cmp-verdict {
  margin-top: 12px; text-align: center;
  background: var(--green-800); color: #fff; border-radius: 11px; padding: 10px 16px;
  font-size: 12.5px; font-weight: 550;
  opacity: 0; transform: scale(.9) rotate(-1.5deg); transition: all .45s cubic-bezier(.2,.7,.3,1);
}
.cmp-verdict.on { opacity: 1; transform: none; }
.cmp-verdict b { color: var(--green-300); }

/* ── PanelPlayer: browser extension side panel ──────────────── */
.xp-frame { display: grid; grid-template-columns: 1fr 300px; min-height: 480px; }
.xp-page { padding: 22px; border-right: 1px solid var(--line); background: #fbfdfc; }
.xp-page .xp-block { border-radius: 9px; background: var(--ink-50); margin-bottom: 12px; }
.xp-panel { display: flex; flex-direction: column; background: #fff; }
.xp-head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.xp-head img { width: 22px; height: 22px; }
.xp-head .xh-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 1.2; }
.xp-head .xh-status { font-size: 10px; color: var(--green-700); display: flex; align-items: center; gap: 5px; }
.xp-head .xh-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.xp-tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.xp-tab {
  font-size: 10.5px; font-weight: 550; color: var(--ink-500);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px;
  transition: all .25s ease;
}
.xp-tab.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.xp-chat { flex: 1; padding: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.xp-msg { max-width: 92%; border-radius: 11px; padding: 8px 11px; font-size: 11.5px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: all .35s ease; }
.xp-msg.on { opacity: 1; transform: none; }
.xp-msg.bot { background: var(--ink-50); color: var(--ink-900); align-self: flex-start; border-bottom-left-radius: 3px; }
.xp-msg.user { background: var(--green-700); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.xp-msg .xm-cite { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .05em; background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-800); border-radius: 6px; padding: 2px 7px; text-decoration: underline; text-underline-offset: 2px; }
.xp-chip { align-self: flex-start; font-size: 10.5px; color: var(--green-800); background: var(--green-50); border: 1px solid var(--green-200); border-radius: 999px; padding: 5px 11px; opacity: 0; transition: all .3s ease; }
.xp-chip.on { opacity: 1; }
.xp-chip.press { transform: scale(.95); background: var(--green-100); }
.xp-compose { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; gap: 7px; align-items: center; }
.xp-compose .xc-input { flex: 1; border: 1px solid var(--line-strong); border-radius: 9px; padding: 7px 10px; font-size: 10.5px; color: var(--ink-300); }
.xp-compose .xc-send { width: 28px; height: 28px; border-radius: 8px; background: var(--green-700); color: #fff; display: flex; align-items: center; justify-content: center; }
.xp-foot { font-size: 9px; color: var(--ink-300); text-align: center; padding: 0 10px 10px; font-family: var(--font-mono); }
@media (max-width: 860px) { .xp-frame { grid-template-columns: 1fr; } .xp-page { display: none; } }

/* ── FacilityPlayer v2: 3D map + PDF + chart scenes ─────────── */
.fac-map.tilt { transform: perspective(900px) rotateX(24deg); transform-style: preserve-3d; }
.fac-map.tilt .fac-tile { transition: all .35s ease; }
.fac-map.tilt .fac-tile.active { transform: translateZ(18px); box-shadow: 0 14px 24px rgba(13,79,38,.25); }
.fac-pdf {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(8,20,16,.28); backdrop-filter: blur(3px); border-radius: 14px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease; z-index: 3;
}
.fac-pdf.on { opacity: 1; }
.fac-pdf .fp-card {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-xl);
  padding: 16px 22px; display: flex; align-items: center; gap: 12px;
  transform: scale(.9); transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.fac-pdf.on .fp-card { transform: scale(1); }
.fac-pdf.press .fp-card { transform: scale(.94); }
.fac-pdf .fp-ic { width: 38px; height: 44px; border-radius: 7px; background: #e0506e; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 9px; font-weight: 600; }
.fac-pdf .fp-name { font-size: 12.5px; font-weight: 650; color: var(--ink-900); }
.fac-pdf .fp-sub { font-size: 10px; color: var(--ink-400); font-family: var(--font-mono); }
.fac-plan { position: absolute; inset: 0; background: #fff; border-radius: 14px; padding: 16px 18px; z-index: 4; opacity: 0; pointer-events: none; transition: opacity .45s ease; overflow: hidden; }
.fac-plan.on { opacity: 1; }
.fac-plan .fpl-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 12px; }
.fac-plan .fpl-head b { color: var(--green-700); }
.fac-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.fac-bar { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: center; font-size: 11px; color: var(--ink-700); }
.fac-bar .fb-name { font-weight: 600; color: var(--ink-900); line-height: 1.25; }
.fac-bar .fb-name small { display: block; font-weight: 400; font-size: 9px; color: var(--ink-400); font-family: var(--font-mono); }
.fac-bar .fb-track {
  position: relative; height: 20px; border-radius: 7px; background: var(--ink-50); overflow: hidden;
  background-image: repeating-linear-gradient(90deg, transparent 0 24%, rgba(11,16,13,.05) 24% calc(24% + 1px));
}
.fac-bar .fb-fill {
  height: 100%; border-radius: 7px;
  background: linear-gradient(90deg, var(--green-700), var(--green-400));
  width: 0; transition: width 1.1s cubic-bezier(.2,.7,.3,1);
  display: flex; align-items: center; justify-content: flex-end;
}
.fac-bar .fb-fill span {
  font-family: var(--font-mono); font-size: 9.5px; color: #fff; padding-right: 7px;
  opacity: 0; transition: opacity .4s ease .8s;
}
.fac-bar .fb-fill.go span { opacity: 1; }
.fac-sum { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.fac-sum span {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 6px; padding: 4px 9px;
}
.fac-plan .fpl-note { font-size: 10.5px; color: var(--ink-400); border-top: 1px dashed var(--ink-100); padding-top: 9px; }

/* ── Mega: vibrant glass icons + animated featured card ─────── */
.mega-item .mi-icon {
  color: #fff; border: none; position: relative; overflow: hidden;
  box-shadow: 0 4px 12px rgba(11,16,13,.16), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.mega-item .mi-icon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 42%);
}
.mega-item .mi-icon::before {
  content: ''; position: absolute; top: -60%; left: -80%; width: 60%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: rotate(12deg); transition: left .5s ease;
}
.mega-item:hover .mi-icon { transform: scale(1.12) rotate(-4deg); box-shadow: 0 8px 20px rgba(11,16,13,.24), inset 0 1px 0 rgba(255,255,255,.35); }
.mega-item:hover .mi-icon::before { left: 130%; }
.mf-anim {
  background: rgba(255,255,255,.75); border: 1px solid var(--glass-border); border-radius: 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); padding: 11px 12px; display: flex; flex-direction: column; gap: 8px;
}
.mfa-head { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); }
.mfa-head img { width: 15px; height: 15px; }
.mfa-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); margin-left: auto; animation: pulse-dot 1.6s ease infinite; }
.mfa-query {
  position: relative; overflow: hidden;
  background: var(--ink-50); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; font-size: 11px; color: var(--ink-700);
}
.mfa-shimmer { position: absolute; top: 0; bottom: 0; left: -40%; width: 34%;
  background: linear-gradient(100deg, transparent, rgba(34,168,82,.14), transparent);
  animation: mfa-sweep 2.8s ease infinite; }
@keyframes mfa-sweep { 60%, 100% { left: 110%; } }
.mfa-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mfa-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--ink-700); background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 8px;
}
.mfa-chip i { width: 7px; height: 7px; border-radius: 3px; animation: mfa-blink 2s ease infinite; animation-delay: var(--d); }
@keyframes mfa-blink { 0%,100% { box-shadow: 0 0 0 0 rgba(34,168,82,0); opacity: .65; } 50% { opacity: 1; box-shadow: 0 0 0 4px rgba(34,168,82,.12); } }
.mfa-answer {
  font-family: var(--font-mono); font-size: 9.5px; color: var(--green-800);
  background: var(--green-50); border: 1px solid var(--green-200); border-radius: 7px;
  padding: 5px 9px; text-decoration: underline; text-underline-offset: 2px;
  animation: mfa-fade 5.6s ease infinite;
}
@keyframes mfa-fade { 0%, 18% { opacity: 0; transform: translateY(3px); } 34%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ── Department board (use cases | AI | integrations) ───────── */
.board { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; align-items: start; }
.board-col {
  background: rgba(255,255,255,.55); border: 1px solid var(--line);
  border-radius: 22px; padding: 24px 20px;
}
.board-col > h3 { text-align: center; font-size: 22px; margin-bottom: 20px; }
.board-group {
  border: 1.5px dashed var(--ink-200); border-radius: 16px; padding: 16px;
  margin-bottom: 18px; background: rgba(255,255,255,.5);
}
.board-group:last-child { margin-bottom: 0; }
.board-group .bg-title {
  background: var(--green-100); color: var(--green-900);
  border-radius: 10px; padding: 10px 12px; text-align: center;
  font-size: 14.5px; font-weight: 650; margin-bottom: 12px;
}
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.board-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 12px; text-align: center; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10.8px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-700); transition: all .15s ease; min-height: 44px; line-height: 1.35;
}
.board-chip:hover { border-color: var(--green-300); color: var(--green-800); transform: translateY(-1px); }
.board-chip.logo { gap: 8px; text-transform: none; font-family: var(--font-body); font-size: 12.5px; font-weight: 550; }
.board-chip.logo img, .board-chip.logo svg { width: 16px; height: 16px; }
.board-chip.wide { grid-column: 1 / -1; }
@media (max-width: 1024px) { .board { grid-template-columns: 1fr; } }

/* ── DashPlayer: living metric tiles ────────────────────────── */
.dash-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 14px 16px; box-shadow: var(--shadow-xs);
  opacity: 0; transform: translateY(10px); transition: all .5s cubic-bezier(.2,.7,.3,1);
}
.dash-tile.on { opacity: 1; transform: none; }
.dash-tile .dt-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.dash-tile .dt-value { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink-900); line-height: 1.1; }
.dash-tile .dt-delta { font-size: 11px; font-weight: 650; margin-left: 7px; }
.dash-tile .dt-delta.up { color: var(--green-600); } .dash-tile .dt-delta.down { color: #d13c60; }
.dash-tile .dt-sub { font-size: 10.5px; color: var(--ink-400); margin-top: 3px; }
.dash-tile.alert { border-left: 3px solid #e0506e; }
.dash-tile svg.spark { width: 100%; height: 42px; margin-top: 8px; overflow: visible; }
.dash-tile svg.spark path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.dash-tile.on svg.spark path { animation: ins-draw 1.6s cubic-bezier(.4,0,.4,1) forwards .3s; }

/* ── Mega featured: connection concept ──────────────────────── */
.mf-connect { position: relative; height: 170px; }
.mf-connect .mc-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(140deg, var(--green-700), var(--green-500));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-green); z-index: 2;
}
.mf-connect .mc-center img { width: 26px; height: 26px; }
.mf-connect .mc-ring {
  position: absolute; inset: -8px; border-radius: 22px;
  border: 1.5px solid rgba(34,168,82,.4);
  animation: mc-pulse 2.6s ease-out infinite;
}
.mf-connect .mc-ring.r2 { animation-delay: 1.3s; }
@keyframes mc-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.mc-node {
  position: absolute; display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 8px; font-size: 10px; font-weight: 550; color: var(--ink-700);
  box-shadow: var(--shadow-xs); z-index: 2;
  animation: mc-bob 4.5s ease-in-out infinite;
}
.mc-node img { width: 11px; height: 11px; }
.mc-node i { width: 7px; height: 7px; border-radius: 3px; }
.mc-node.n1 { left: 0; top: 6px; animation-delay: 0s; }
.mc-node.n2 { right: 0; top: 6px; animation-delay: .7s; }
.mc-node.n3 { left: -4px; top: 50%; transform: translateY(-50%); animation-delay: 1.4s; }
.mc-node.n4 { right: -4px; top: 50%; transform: translateY(-50%); animation-delay: 2.1s; }
.mc-node.n5 { left: 4px; bottom: 4px; animation-delay: 2.8s; }
.mc-node.n6 { right: 4px; bottom: 4px; animation-delay: 3.5s; }
@keyframes mc-bob { 0%,100% { margin-top: 0; } 50% { margin-top: -4px; } }
.mc-line {
  position: absolute; left: 50%; top: 50%; height: 1.5px; transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(34,168,82,.45), rgba(34,168,82,.06));
  z-index: 1; animation: mc-glow 3s ease infinite;
}
.mc-line.l1 { width: 34%; transform: rotate(205deg); }
.mc-line.l2 { width: 34%; transform: rotate(-25deg); animation-delay: .5s; }
.mc-line.l3 { width: 38%; transform: rotate(180deg); animation-delay: 1s; }
.mc-line.l4 { width: 38%; transform: rotate(0deg); animation-delay: 1.5s; }
.mc-line.l5 { width: 33%; transform: rotate(148deg); animation-delay: 2s; }
.mc-line.l6 { width: 33%; transform: rotate(32deg); animation-delay: 2.5s; }
@keyframes mc-glow { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* ── Mega menu: solid panel, blurred page behind + staggered reveals ── */
.mega {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
}
.mega-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(243, 247, 244, 0.45);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
body.mega-open .mega-backdrop { opacity: 1; pointer-events: auto; }
.mega .mega-item, .mega .mega-plain a, .mega .mega-feature, .mega .mega-group > h4, .mega .mega-title {
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s cubic-bezier(.2,.7,.3,1), transform .4s cubic-bezier(.2,.7,.3,1), background .14s ease;
}
.mega.open .mega-item, .mega.open .mega-plain a, .mega.open .mega-feature, .mega.open .mega-group > h4, .mega.open .mega-title {
  opacity: 1; transform: none;
}
.mega.open .mega-group > h4 { transition-delay: .04s; }
.mega.open .mega-item:nth-child(2) { transition-delay: .08s; }
.mega.open .mega-item:nth-child(3) { transition-delay: .14s; }
.mega.open .mega-item:nth-child(4) { transition-delay: .20s; }
.mega.open .mega-item:nth-child(5) { transition-delay: .26s; }
.mega.open .mega-plain a:nth-child(1) { transition-delay: .10s; }
.mega.open .mega-plain a:nth-child(2) { transition-delay: .15s; }
.mega.open .mega-plain a:nth-child(3) { transition-delay: .20s; }
.mega.open .mega-plain a:nth-child(4) { transition-delay: .25s; }
.mega.open .mega-plain a:nth-child(5) { transition-delay: .30s; }
.mega.open .mega-plain a:nth-child(6) { transition-delay: .35s; }
.mega.open .mega-plain a:nth-child(7) { transition-delay: .40s; }
.mega.open .mega-feature { transition-delay: .22s; }
.mega-item:hover { background: rgba(255,255,255,.75); }

/* mega featured chips: rolling reveal + logos */
.mfa-chip img { width: 11px; height: 11px; }
.mfa-chip.pop { animation: mfa-pop 7s ease infinite; animation-delay: var(--d); opacity: 0; }
@keyframes mfa-pop {
  0% { opacity: 0; transform: translateY(6px) scale(.95); }
  6%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-4px); }
}


/* ── SlideDeck — scroll-driven feature slides ───────────────── */
.deck-wrap { position: relative; height: calc(var(--slides, 5) * 92vh + 80vh); }
.deck-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.deck-inner { display: grid; grid-template-columns: 285px 1fr; gap: 52px; width: 100%; align-items: center; }
.deck-rail h2 { font-size: clamp(23px, 2.4vw, 32px); margin: 12px 0 26px; }
.deck-nav { display: flex; flex-direction: column; gap: 7px; }
.dn-item {
  display: flex; align-items: center; gap: 13px; padding: 12px 15px;
  border: 1px solid transparent; border-radius: 13px; background: transparent;
  cursor: pointer; text-align: left; transition: all .25s ease; color: var(--ink-500);
  font-family: var(--font-body);
}
.dn-item .dn-num { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400); transition: color .25s; }
.dn-item .dn-title { font-size: 13.5px; font-weight: 600; }
.dn-item:hover { color: var(--ink-900); }
.dn-item.active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-xs); color: var(--ink-900); }
.dn-item.active .dn-num, .dn-item.done .dn-num { color: var(--green-600); }
.deck-stage { position: relative; height: clamp(480px, 68vh, 640px); }
.deck-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: center;
  opacity: 0; transform: translateY(52px); pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}
.deck-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.deck-slide.past { transform: translateY(-52px); }
.deck-slide .ds-visual {
  max-height: 100%; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.deck-slide .ds-visual > div { min-height: 0; flex: 0 1 auto; overflow: hidden; }
.ds-copy .eyebrow { display: inline-block; white-space: normal; line-height: 1.7; }
.ds-copy h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 16px 0 12px; }
.ds-copy p.lead { font-size: 15.5px; color: var(--ink-500); margin-bottom: 20px; line-height: 1.65; }
.deck-wrap.deck-stacked { height: auto; }
.deck-stacked .deck-sticky { position: static; height: auto; overflow: visible; padding: 48px 0; }
.deck-stacked .deck-inner { grid-template-columns: 1fr; gap: 20px; }
.deck-stacked .deck-nav { display: none; }
.deck-stacked .deck-stage { height: auto; }
.deck-stacked .deck-slide { position: static; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 56px; }
@media (max-width: 1024px) { .deck-slide { grid-template-columns: 1fr; } }


/* ── CutawayPlayer — 3D building cutaway showcase ───────────── */
.cut-frame { position: relative; }
.cut-tilt {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(6, 40, 20, .45);
  transform: perspective(1600px) rotateX(7deg); transform-origin: 50% 100%;
}
.cut-tilt svg { display: block; width: 100%; height: auto; }
.cut-tilt [id^="room-"] { transition: filter .45s ease, opacity .45s ease; opacity: .82; }
.cut-tilt [id^="room-"].lit { opacity: 1; filter: brightness(1.65) saturate(1.35) drop-shadow(0 0 16px rgba(78, 216, 130, .85)); }
.cut-tags { position: absolute; inset: 0; pointer-events: none; }
.cut-tag {
  position: absolute; transform: translate(-50%, -90%);
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 6px 11px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-800);
  box-shadow: var(--shadow-md); white-space: nowrap;
  opacity: 0; transition: opacity .4s ease, transform .4s ease;
}
.cut-tag b { color: var(--green-700); font-weight: 650; }
.cut-tag.on { opacity: 1; transform: translate(-50%, -120%); }
.cut-bar {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  font-size: 12.5px; color: var(--ink-700);
}
.cut-bar img { width: 20px; height: 20px; }
.cut-bar b { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; color: var(--green-700); }


/* real photo attachments in flow queries */
.fq-img img { width: 122px; height: 90px; object-fit: cover; border-radius: 10px; display: block; box-shadow: var(--shadow-sm); }
