/* BEAS AI Report — product landing
   Visual language: tech / AI futuristic on BEAS turquoise–slate (no purple defaults) */

:root {
  --logo-turquoise: #83bab7;
  --logo-olive: #8da060;
  --logo-dark-slate: #304153;
  --ink: #3a4a56;
  --ink-deep: #304153;
  --muted: #5c6f7a;
  --subtle: #7a8f9a;
  --surface: #f4f8f7;
  --surface-raised: #ffffff;
  --surface-soft: rgba(131, 186, 183, 0.14);
  --accent: #4f8f8b;
  --accent-strong: #3d7a76;
  --border: rgba(48, 65, 83, 0.12);
  --shadow: 0 22px 55px rgba(48, 65, 83, 0.12);
  --shadow-soft: 0 10px 28px rgba(48, 65, 83, 0.08);
  --radius: 4px;
  --radius-lg: 16px;
  --font-sans: "Segoe UI Variable", "Segoe UI", "Segoe UI Web (West European)", -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nav-inset: 10px;
  --nav-h: 88px; /* fits 76px (1.4×) brand mark + padding */
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grid-line: rgba(48, 65, 83, 0.055);
  --card-glow: rgba(131, 186, 183, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 10% -10%, rgba(131, 186, 183, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(141, 160, 96, 0.12), transparent 50%),
    var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
}

/* Soft tech grid behind content (light theme) */
body.theme-futura::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
  opacity: 0.7;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

#top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav (Microsoft-like sticky bar) —— */
.site-nav {
  position: sticky;
  top: var(--nav-inset);
  z-index: 100;
  height: var(--nav-h);
  margin-top: var(--nav-inset);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.94);
}

.nav-inner {
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  --brand-mark: 76px; /* 54px × 1.4 */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  width: var(--brand-mark);
  height: var(--brand-mark);
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand img {
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  height: var(--brand-mark);
  box-sizing: border-box;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink-deep);
}

.brand-name-connect {
  font-weight: 800;
}

.brand-name-ai {
  font-weight: 600;
  letter-spacing: -0.045em;
}

.brand-by {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--subtle);
  letter-spacing: 0.02em;
  margin-top: 0;
  line-height: 1.1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.72rem;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 8px;
  transition:
    color 0.22s var(--ease),
    background 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.nav-link::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--logo-turquoise);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.is-open > .nav-trigger,
.nav-item:focus-within > .nav-trigger {
  color: var(--accent-strong);
  background: rgba(131, 186, 183, 0.12);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-trigger:hover::after,
.nav-item.is-open > .nav-trigger::after,
.nav-item:focus-within > .nav-trigger::after {
  transform: scaleX(1);
}

.nav-chevron {
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}

.nav-item.is-open > .nav-trigger .nav-chevron,
.nav-item:hover > .nav-trigger .nav-chevron,
.nav-item:focus-within > .nav-trigger .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  min-width: 15.5rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(26, 37, 46, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: 120;
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}

.nav-item:hover > .nav-menu,
.nav-item.is-open > .nav-menu,
.nav-item:focus-within > .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease),
    color 0.2s var(--ease);
}

.nav-menu a + a {
  margin-top: 0.1rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: linear-gradient(90deg, rgba(131, 186, 183, 0.18), rgba(141, 160, 96, 0.08));
  color: var(--ink-deep);
  transform: translateX(3px);
}

.nav-menu-label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-menu-desc {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.85rem;
}

.nav-actions .btn {
  white-space: nowrap;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(131, 186, 183, 0.55);
  background: rgba(131, 186, 183, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1.25rem 1.35rem;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-group {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.mobile-group summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s var(--ease);
}

.mobile-group summary::-webkit-details-marker {
  display: none;
}

.mobile-group summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
}

.mobile-group[open] summary {
  background: rgba(131, 186, 183, 0.1);
}

.mobile-group[open] summary::after {
  transform: rotate(225deg);
}

.mobile-group-links {
  display: flex;
  flex-direction: column;
  padding: 0.15rem 0.45rem 0.55rem;
}

.mobile-group-links a,
.mobile-top-link {
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 0.7rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.mobile-group-links a:hover,
.mobile-top-link:hover {
  background: rgba(131, 186, 183, 0.12);
  color: var(--accent-strong);
  padding-left: 0.95rem;
}

.mobile-top-link {
  font-weight: 600;
}

.mobile-nav .btn {
  margin-top: 0.55rem;
  text-align: center;
}

@media (min-width: 1100px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .nav-trigger,
  .nav-menu,
  .nav-menu a,
  .nav-chevron,
  .nav-link::after,
  .nav-trigger::after {
    transition: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #4f8f8b, #2f6f8f);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 143, 139, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink-deep);
  border-color: rgba(48, 65, 83, 0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: rgba(131, 186, 183, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--accent-strong);
}

.btn-light {
  background: rgba(244, 250, 249, 0.95);
  color: var(--ink-deep);
}

.btn-light:hover {
  background: var(--surface-soft);
  color: var(--ink-deep);
}

.btn-lg {
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: safe center;
  overflow: clip;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(131, 186, 183, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 45% at 8% 85%, rgba(141, 160, 96, 0.14), transparent 55%),
    linear-gradient(165deg, #f7fbfa 0%, #eef5f3 45%, #f4f8f7 100%);
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(131, 186, 183, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 186, 183, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
  pointer-events: none;
}

.hero-grid {
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.75rem) 0 clamp(2.5rem, 7vh, 4.5rem);
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-kicker a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.hero-kicker a:hover {
  text-decoration: underline;
}

.hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(3.575rem, 8.45vw, 5.525rem); /* 1.3× previous */
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.hero-title-connect {
  font-weight: 500;
}

.hero-title-ai {
  font-weight: 800;
}

.hero-tagline {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--accent-strong);
}

.lede {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero data-flow animation — full frame, compact flow drawing inside */
.hero-stage {
  min-width: 0;
  max-height: calc(100vh - var(--nav-h) - 3.5rem);
  display: flex;
  flex-direction: column;
}

.hero-uc-frame {
  position: relative;
  background:
    linear-gradient(165deg, #ffffff 0%, #f3f8f7 100%);
  border: 1px solid rgba(131, 186, 183, 0.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 22px 55px rgba(48, 65, 83, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
}

.hero-uc-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(131, 186, 183, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 186, 183, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.hero-uc-frame > * {
  position: relative;
  z-index: 1;
}

.hero-uc-frame .product-chrome {
  background: #eef3f2;
  border-bottom: 1px solid rgba(48, 65, 83, 0.1);
}

.hero-uc-frame .product-url {
  background: #fff;
  border-color: rgba(48, 65, 83, 0.12);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.hero-uc-mount {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.85rem 0.95rem 0.4rem;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: visible;
}

.hero-uc-link {
  flex-shrink: 0;
  display: block;
  margin: 0 1.15rem 0.95rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(131, 186, 183, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--logo-turquoise);
  text-decoration: none;
}

.hero-uc-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.hero-uc {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0.75rem;
  width: 100%;
  min-height: 0;
}

.hero-uc-head {
  min-width: 0;
}

.hero-uc-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--logo-turquoise);
}

.hero-uc-summary {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-uc-pipeline {
  position: relative;
  min-width: 0;
  padding: 0.1rem 0;
}

.hero-uc-sflow {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0.55rem 0.35rem;
  box-sizing: border-box;
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.hero-uc-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.1rem, 3.2vw, 1.75rem);
  width: max-content;
  min-width: 100%;
  min-height: 3.25rem;
  padding: 0.15rem 0.35rem;
  box-sizing: border-box;
}

.hero-uc-s-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.hero-uc-s-edge {
  stroke: rgba(131, 186, 183, 0.34);
  transition: stroke 0.35s var(--ease);
}

.hero-uc-s-edge.is-done {
  stroke: rgba(141, 160, 96, 0.55);
}

.hero-uc-s-edge.is-live {
  stroke: var(--logo-turquoise);
  stroke-dasharray: 6 4;
  animation: hero-uc-flow 1.2s linear infinite;
}

.hero-uc-node {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(48, 65, 83, 0.16);
  background: #fff;
  color: var(--step-accent, var(--logo-turquoise));
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(48, 65, 83, 0.06);
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.hero-uc-node:hover {
  border-color: rgba(79, 143, 139, 0.55);
  transform: translateY(-1px);
}

.hero-uc-node:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-uc-node.is-done {
  border-color: rgba(141, 160, 96, 0.55);
  background: #f4f8f2;
  color: #5f7a3f;
}

.hero-uc-node.is-active {
  border-color: var(--step-accent, var(--logo-turquoise));
  border-width: 2px;
  background:
    linear-gradient(145deg, rgba(131, 186, 183, 0.28), rgba(141, 160, 96, 0.1)),
    #fff;
  box-shadow:
    0 0 0 3px rgba(131, 186, 183, 0.18),
    0 6px 14px rgba(48, 65, 83, 0.1);
  transform: scale(1.06);
}

.hero-uc-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

.hero-uc-node-icon .material-symbols-outlined,
.hero-uc-node-icon .ucf-icon {
  font-size: 1.25rem !important;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.hero-uc-packet {
  opacity: 0;
}

@keyframes hero-uc-flow {
  to {
    stroke-dashoffset: -20;
  }
}

.hero-uc-detail {
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(131, 186, 183, 0.28);
  background: #fff;
  transition: border-color 0.35s var(--ease);
}

@media (max-width: 959px) {
  .hero-stage {
    max-height: none;
  }

  .hero-uc-frame {
    height: auto;
    max-height: none;
  }

  .hero-uc-node {
    width: 2.55rem;
    height: 2.55rem;
  }

  .hero-uc-track {
    gap: 1rem;
    min-height: 2.9rem;
  }

  .hero-uc-summary {
    font-size: 0.8rem;
  }
}

@media (min-width: 960px) {
  .hero-uc-frame {
    height: min(420px, calc(100vh - var(--nav-h) - 4rem));
    max-height: calc(100vh - var(--nav-h) - 4rem);
  }

  .hero-uc {
    height: 100%;
    grid-template-rows: auto 1fr auto;
  }

  .hero-uc-pipeline {
    display: flex;
    align-items: center;
    min-height: 0;
  }

  .hero-uc-sflow {
    width: 100%;
  }

  .hero-uc-track {
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
  }

  .hero-uc-node {
    width: 3rem;
    height: 3rem;
  }
}

.hero-uc-detail-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.2rem;
}

.hero-uc-detail strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-deep);
}

.hero-uc-detail p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-uc-progress {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--logo-turquoise);
}

@media (prefers-reduced-motion: reduce) {
  .hero-uc-node {
    transition: none;
  }

  .hero-uc-s-edge.is-live {
    animation: none;
  }
}

/* Legacy product chrome (shared with hero use-case frame) */
.product-frame {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: #eef3f2;
  border-bottom: 1px solid var(--border);
}

.product-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9d4d1;
}

.product-chrome span:nth-child(1) {
  background: #c98b84;
}
.product-chrome span:nth-child(2) {
  background: #c9b36a;
}
.product-chrome span:nth-child(3) {
  background: #7faf8a;
}

.product-url {
  margin-left: 0.75rem;
  flex: 1;
  font-size: 0.72rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.product-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 320px;
}

.mock-nav {
  background: var(--logo-dark-slate);
  padding: 0.85rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mock-logo {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.5rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--logo-turquoise), var(--logo-olive));
}

.mock-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-item.active {
  background: var(--logo-turquoise);
}

.mock-main {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(180deg, #fbfcfc, #f3f7f6);
}

.mock-chat {
  display: grid;
  gap: 0.65rem;
}

.mock-bubble {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.mock-bubble.user {
  justify-self: end;
  background: var(--logo-dark-slate);
  color: #fff;
}

.mock-bubble.ai {
  background: rgba(131, 186, 183, 0.1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}

.mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.mock-kpi {
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
}

.mock-kpi strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-deep);
}

.mock-kpi span {
  font-size: 0.65rem;
  color: var(--subtle);
}

.mock-chart {
  height: 72px;
}

.mock-chart svg {
  width: 100%;
  height: 100%;
}

.mock-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mock-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mock-widget span {
  font-size: 0.68rem;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-widget em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
}

.mock-widget.accent {
  border-color: rgba(131, 186, 183, 0.55);
  background: linear-gradient(180deg, #fff, #eef7f6);
}

/* —— Strip —— */
.strip {
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(131, 186, 183, 0.18), #fff, rgba(141, 160, 96, 0.12));
}

.strip-inner {
  padding: 1.15rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.strip-inner > .card-icon {
  flex-shrink: 0;
  font-size: 2.1rem;
  color: var(--logo-turquoise);
}

.strip p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
  max-width: 52rem;
}

/* —— Adaptor marquee —— */
.connectors-section {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.connectors-section .section-head {
  margin-bottom: 1.25rem;
  max-width: 48rem;
}

.connector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
  margin-bottom: 0.35rem;
}

.connector-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-deep);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  min-height: 2.75rem;
  border-radius: 0.45rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.connector-tab:hover {
  border-color: rgba(79, 143, 139, 0.45);
  color: var(--accent-strong);
}

.connector-tab.is-active,
.connector-tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-color: transparent;
  color: #fff;
}

.adaptor-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 143, 139, 0.45) transparent;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  padding: 0.85rem 0 0.85rem;
  outline: none;
}

.adaptor-marquee:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(79, 143, 139, 0.45);
}

.adaptor-marquee-track {
  list-style: none;
  margin: 0;
  padding: 0.35rem clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  animation: adaptor-marquee 42s linear infinite;
}

.adaptor-marquee--charts .adaptor-marquee-track {
  animation-duration: 56s;
}

.adaptor-marquee:hover .adaptor-marquee-track,
.adaptor-marquee:focus-within .adaptor-marquee-track {
  animation-play-state: paused;
}

.adaptor-chip {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-deep);
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease);
}

.adaptor-chip:hover {
  transform: translateY(-3px);
}

.adaptor-chip--wide {
  width: auto;
}

.adaptor-mark {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7faf9;
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
}

.adaptor-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  margin: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .adaptor-marquee-track {
    animation: none;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section-alt {
  background: linear-gradient(180deg, #eaf3f1 0%, #f7faf9 100%);
  border-block: 1px solid rgba(131, 186, 183, 0.08);
}

.section-compact {
  padding-top: 2rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-deep);
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cap-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cap {
  position: relative;
  padding: 1.55rem 1.4rem 1.65rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.cap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--logo-turquoise), transparent);
  opacity: 0.7;
}

.cap:hover {
  border-color: rgba(131, 186, 183, 0.55);
  box-shadow: 0 0 0 1px var(--card-glow), var(--shadow-soft);
  transform: translateY(-2px);
}

.cap-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--logo-turquoise);
  background: rgba(131, 186, 183, 0.12);
  border: 1px solid rgba(131, 186, 183, 0.28);
}

.cap-icon .material-symbols-outlined {
  font-size: 2.15rem;
}

.cap h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.cap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--logo-turquoise);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.step .card-icon {
  font-size: 2.75rem;
  color: var(--logo-turquoise);
  line-height: 1;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--logo-turquoise);
  letter-spacing: -0.01em;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink-deep);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Use cases (docs animation, BEAS landing theme) —— */
.usecases-full {
  width: 100%;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.usecases-full .usecases-head {
  max-width: none;
  width: 100%;
  margin: 0;
  margin-bottom: 0;
  text-align: left;
}

.usecases-full .usecases-head .section-lede {
  max-width: 52rem;
}

.usecases-full #uc-flows-app {
  width: 100%;
  max-width: none;
}

.ucf-shell {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.ucf-head {
  display: grid;
  gap: 0.45rem;
}

.ucf-head-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  line-height: 1.2;
}

.ucf-head-intro {
  margin: 0;
  max-width: 45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ucf-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  -webkit-overflow-scrolling: touch;
}

.ucf-tab {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.ucf-tab .ucf-icon {
  font-size: 1.05rem;
  color: inherit;
}

.ucf-tab:hover {
  border-color: rgba(131, 186, 183, 0.65);
  background: rgba(79, 143, 139, 0.08);
}

.ucf-tab.is-active {
  background: rgba(79, 143, 139, 0.14);
  border-color: var(--accent);
  color: var(--accent-strong);
  font-weight: 700;
}

.ucf-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ucf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(79, 143, 139, 0.05);
}

.ucf-toolbar-copy {
  min-width: 0;
}

.ucf-toolbar-copy h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.ucf-toolbar-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ucf-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.ucf-icon-btn,
.ucf-btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--ink);
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.ucf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  padding: 0;
}

.ucf-icon-btn .material-symbols-outlined {
  font-size: 1.1rem;
}

.ucf-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.ucf-icon-btn:hover,
.ucf-btn:hover {
  border-color: var(--accent);
  background: rgba(79, 143, 139, 0.08);
}

.ucf-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ucf-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  min-height: 0;
}

@media (min-width: 1024px) {
  .ucf-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    min-height: 520px;
  }
}

.ucf-canvas {
  position: relative;
  overflow: auto;
  min-height: 320px;
  height: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(48, 65, 83, 0.03);
}

@media (min-width: 768px) {
  .ucf-canvas {
    min-height: 420px;
  }
}

.ucf-canvas-inner {
  position: relative;
  min-width: 100%;
  transition: height 0.35s ease;
}

.ucf-canvas-inner svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ucf-canvas-inner svg path {
  transition: stroke 0.55s var(--ease), stroke-width 0.45s var(--ease);
}

.ucf-edge-active {
  animation: ucf-dash 0.9s linear infinite;
}

@keyframes ucf-dash {
  to {
    stroke-dashoffset: -18;
  }
}

.ucf-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.55rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
  font: inherit;
  color: inherit;
  cursor: default;
  box-sizing: border-box;
  transition:
    top 0.35s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.ucf-node.is-branch {
  opacity: 0.55;
}

button.ucf-node.is-path {
  cursor: pointer;
}

.ucf-node:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ucf-node-icon {
  font-size: 1.25rem !important;
  line-height: 1;
  display: block;
  margin: 0 auto 0.1rem;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.ucf-node-label {
  display: block;
  font-size: 0.69rem;
  line-height: 1.3;
  max-width: 100%;
}

.ucf-router-badge {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ucf-related {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.ucf-related-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.ucf-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ucf-related-link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s var(--ease);
}

.ucf-related-link:hover {
  background: rgba(79, 143, 139, 0.1);
}

.ucf-callout {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  transition: left 0.35s ease, top 0.35s ease, opacity 0.25s ease;
}

.ucf-callout[hidden] {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ucf-callout-stem {
  width: 2px;
  height: 10px;
  margin: 0 auto 0.15rem;
  border-radius: 2px;
  opacity: 0.7;
  transition: background 0.55s var(--ease);
}

.ucf-callout-card {
  padding: 0.85rem;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  animation: ucf-callout-pulse 1.2s ease-in-out infinite;
}

.ucf-callout-card.ucf-callout-swap {
  animation:
    ucf-swap 0.25s ease,
    ucf-callout-pulse 1.2s ease-in-out infinite;
}

.ucf-callout-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ucf-callout-title {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.ucf-callout-detail {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

@keyframes ucf-swap {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ucf-callout-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes ucf-panel-fade {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.ucf-panel {
  display: flex;
  flex-direction: column;
  height: 440px;
  max-height: 440px;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-raised);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .ucf-panel {
    height: min(640px, calc(100vh - 220px));
    max-height: calc(100vh - 220px);
    position: sticky;
    top: calc(var(--nav-h) + 16px);
    align-self: start;
  }
}

.ucf-panel-head {
  flex-shrink: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(79, 143, 139, 0.05);
}

.ucf-panel-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-deep);
}

.ucf-panel-head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.ucf-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.ucf-panel-body.ucf-panel-fade {
  animation: ucf-panel-fade 0.55s var(--ease);
}

.ucf-panel-hero {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ucf-panel-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.ucf-panel-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.ucf-panel-title-row .ucf-icon,
.ucf-panel-title-row .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--ucf-accent, var(--accent));
}

.ucf-panel-title-row h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.ucf-panel-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.ucf-panel-detail {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.ucf-panel-steps-label {
  margin-bottom: 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ucf-panel-steps {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ucf-panel-step {
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.55s var(--ease), background 0.55s var(--ease), opacity 0.45s var(--ease);
  opacity: 0.78;
}

.ucf-panel-step.is-active {
  opacity: 1;
}

.ucf-panel-step.is-done {
  opacity: 0.92;
}

.ucf-panel-step-label {
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.ucf-panel-step.is-active .ucf-panel-step-label {
  font-weight: 700;
}

.ucf-panel-step-detail {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .ucf-edge-active,
  .ucf-callout-card,
  .ucf-callout,
  .ucf-panel-body,
  .ucf-canvas-inner,
  .ucf-node,
  .ucf-panel-step {
    animation: none !important;
    transition: none !important;
  }
}

/* Trust */
.trust-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .trust-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.trust-list {
  margin: 1.4rem 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--logo-olive);
  border-radius: 1px;
}

.trust-panel {
  display: grid;
  gap: 0.85rem;
}

.trust-card {
  padding: 1.25rem 1.35rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.trust-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-deep);
  margin-bottom: 0.25rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(131, 186, 183, 0.28), transparent 50%),
    linear-gradient(135deg, #304153 0%, #1a252e 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.cta-inner {
  text-align: center;
  max-width: 40rem;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

/* Documentation-aligned topic cards */
.doc-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .doc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doc-grid-follow {
  margin-top: 1.25rem;
}

.doc-card {
  position: relative;
  padding: 1.45rem 1.4rem 1.55rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.doc-card:hover {
  border-color: rgba(131, 186, 183, 0.55);
  box-shadow: 0 0 0 1px var(--card-glow), var(--shadow-soft);
  transform: translateY(-2px);
}

.doc-card > .card-icon {
  display: block;
  margin: 0 0 0.85rem;
  font-size: 2.85rem;
  line-height: 1;
  color: var(--logo-turquoise);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(131, 186, 183, 0.12);
  border: 1px solid rgba(131, 186, 183, 0.28);
}

.doc-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}

.doc-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-deep);
}

.doc-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-card code {
  font-family: Consolas, "Segoe UI Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface-soft);
  padding: 0.08em 0.35em;
  border-radius: 2px;
}

.doc-code {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.doc-code code {
  font-family: Consolas, "Segoe UI Mono", Menlo, monospace;
  background: transparent;
  padding: 0;
  white-space: pre;
  color: var(--ink-deep);
}

.doc-steps,
.doc-bullets {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.92rem;
  display: grid;
  gap: 0.4rem;
}

.doc-steps {
  padding-left: 1.25rem;
}

.role-table {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.role-row {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  background: var(--surface-soft);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.role-row strong {
  font-size: 0.92rem;
  color: var(--ink-deep);
}

.role-row span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.15fr);
    align-items: start;
  }
}

.contact-card {
  font-style: normal;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1.15rem 1.75rem;
}

@media (min-width: 520px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .contact-card p:first-child,
  .contact-card p:last-child {
    grid-column: 1 / -1;
  }

  .contact-card p:last-child {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 1.25rem;
  }

  .contact-card p:last-child strong {
    flex: 1 0 100%;
  }
}

.contact-card p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-card strong {
  color: var(--ink-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2.4rem 0 1.6rem;
}

.footer-top {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--subtle);
}

.footer-cols {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col-title {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-deep);
}

.footer-col a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer-col a:hover {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--subtle);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

.footer-bottom-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-bottom-links a:hover {
  color: var(--accent-strong);
}

.footer-cta {
  color: var(--ink-deep) !important;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.6fr);
    align-items: start;
    gap: 3rem;
  }

  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 52rem;
    margin-inline: auto;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.pricing-card-featured {
  border-color: rgba(131, 186, 183, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #eef6f5 100%);
  box-shadow: 0 0 0 1px var(--card-glow), var(--shadow-soft);
}

.pricing-badge {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.pricing-tier {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
}

.pricing-price {
  margin: 0;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.pricing-period {
  margin-left: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 3.2em;
}

.pricing-limits {
  margin: 0.25rem 0 0.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.pricing-limits li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.pricing-limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--logo-turquoise);
}

.pricing-card .btn {
  align-self: stretch;
  text-align: center;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

/* Product screenshot carousel — one opaque slide */
.shot-gallery {
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.shot-3d {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.shot-3d-stage {
  position: relative;
  flex: 1;
  height: clamp(280px, 42vw, 440px);
  overflow: hidden;
  background: transparent;
}

.shot-3d-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 920px);
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 18px 40px rgba(26, 37, 46, 0.14);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    filter 0.45s ease,
    box-shadow 0.45s ease;
  will-change: transform, opacity;
  pointer-events: none;
  isolation: isolate;
}

.shot-3d-card.shot-3d-card--no-preview.is-active {
  cursor: default;
}

.shot-3d-card.shot-3d-card--no-preview.is-active::after {
  content: none;
}

.shot-3d-card.is-active {
  pointer-events: auto;
  cursor: zoom-in;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
  box-shadow:
    0 28px 60px rgba(26, 37, 46, 0.24),
    0 0 0 1px rgba(131, 186, 183, 0.45);
}

.shot-3d-card:not(.is-active) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  box-shadow: none;
}

.shot-3d-card.is-active::after {
  content: "Click to enlarge";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(26, 37, 46, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}

.shot-3d-card.is-active:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.shot-3d-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #3a5163 0%, #304153 100%);
}

.shot-3d-chrome span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.shot-3d-chrome span:nth-child(1) { background: #e57373; }
.shot-3d-chrome span:nth-child(2) { background: #ffd54f; }
.shot-3d-chrome span:nth-child(3) { background: #81c784; }

.shot-url {
  margin-left: 0.5rem;
  flex: 1;
  max-width: 14rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-3d-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #dfe7ee;
  overflow: hidden;
}

.shot-3d-media--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.75rem 2rem;
  text-align: center;
  background: linear-gradient(165deg, #f4f8fb 0%, #e8eef4 48%, #dfe8f0 100%);
}

.shot-3d-placeholder-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #5a9a97);
}

.shot-3d-placeholder-desc {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.45;
  font-weight: 600;
  color: #1a252e;
}

.shot-3d-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
  background: #dfe7ee;
}

.shot-nav-btn {
  flex-shrink: 0;
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--ink-deep);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.shot-nav-btn:hover {
  border-color: rgba(131, 186, 183, 0.7);
  background: rgba(131, 186, 183, 0.14);
  transform: translateY(-1px);
}

.shot-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shot-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 0 0.25rem;
}

.shot-caption-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.shot-card-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.shot-caption-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.shot-caption-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  max-width: 40rem;
}

.shot-meta {
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
}

.shot-nav-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-top: 0.95rem;
  padding: 0.2rem 0.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shot-nav-thumbs::-webkit-scrollbar {
  display: none;
}

.shot-thumb {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 3.4rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  background: #e8eef2;
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.22s var(--ease),
    border-color 0.22s var(--ease),
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.shot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.shot-thumb--text {
  width: auto;
  min-width: 3.4rem;
  max-width: 5.5rem;
  height: 2rem;
  padding: 0 0.35rem;
  background: linear-gradient(165deg, #f4f8fb 0%, #e8eef4 100%);
}

.shot-thumb--text span {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a252e;
  text-align: center;
}

.shot-thumb:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.shot-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(131, 186, 183, 0.3);
}

.shot-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .shot-3d-stage {
    height: clamp(200px, 52vw, 280px);
  }

  .shot-3d-card {
    width: min(86%, 520px);
  }

  .shot-caption {
    flex-direction: column;
    gap: 0.45rem;
  }

  .shot-nav-btn {
    width: 2.15rem;
    height: 2.15rem;
  }

  .shot-thumb {
    width: 2.85rem;
    height: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .shot-3d-card,
  .shot-thumb,
  .shot-nav-btn {
    transition: none !important;
  }

  .shot-lightbox,
  .shot-lightbox-dialog {
    transition: none !important;
  }
}

/* Screenshot lightbox */
.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(16, 24, 32, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.shot-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.shot-lightbox-dialog {
  position: relative;
  width: min(100%, 1120px);
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(26, 37, 46, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.shot-lightbox.is-open .shot-lightbox-dialog {
  transform: none;
}

.shot-lightbox-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #3a5163 0%, #304153 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
}

.shot-lightbox-chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.shot-lightbox-chrome span:nth-child(1) { background: #e57373; }
.shot-lightbox-chrome span:nth-child(2) { background: #ffd54f; }
.shot-lightbox-chrome span:nth-child(3) { background: #81c784; }

.shot-lightbox-title {
  margin-left: 0.55rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-lightbox-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.shot-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.shot-lightbox-body {
  flex: 1;
  min-height: 0;
  background: #f4f7f6;
  display: grid;
  place-items: center;
}

.shot-lightbox-body img {
  width: 100%;
  height: 100%;
  max-height: min(78vh, 680px);
  object-fit: contain;
  object-position: top center;
  display: block;
  background: #f4f7f6;
}



/* —— Light futuristic theme polish —— */
.theme-futura .nav-menu {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.theme-futura .nav-menu-label {
  color: var(--ink-deep);
}

.theme-futura .nav-menu-desc {
  color: var(--muted);
}

.theme-futura .nav-toggle span {
  background: var(--ink-deep);
}

.theme-futura .mobile-nav {
  background: #fff;
  border-color: var(--border);
}

.theme-futura .btn-ghost {
  color: var(--ink);
}

.theme-futura .btn-secondary {
  color: var(--ink-deep);
  border-color: rgba(48, 65, 83, 0.22);
  background: #fff;
}

.theme-futura .btn-secondary:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: rgba(131, 186, 183, 0.1);
}

.theme-futura .btn-primary {
  background: linear-gradient(135deg, #5fa8a3, #3d7a76);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 143, 139, 0.28);
}

.theme-futura .btn-primary:hover {
  filter: brightness(1.05);
  color: #fff;
}

.theme-futura .pricing-card,
.theme-futura .contact-card,
.theme-futura .trust-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--ink);
}

.theme-futura .pricing-card .card-icon,
.theme-futura .trust-card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  font-size: 2.4rem;
  color: var(--accent-strong);
  background: rgba(131, 186, 183, 0.14);
  border: 1px solid rgba(131, 186, 183, 0.28);
}

.theme-futura .pricing-tier,
.theme-futura .pricing-amount,
.theme-futura .trust-card strong,
.theme-futura .contact-card strong,
.theme-futura .role-row strong,
.theme-futura .step h3,
.theme-futura .ucf-toolbar-copy h3,
.theme-futura .shot-caption h3 {
  color: var(--ink-deep);
}

.theme-futura .pricing-note,
.theme-futura .pricing-limits,
.theme-futura .trust-card p,
.theme-futura .trust-list,
.theme-futura .role-row span {
  color: var(--muted);
}

.theme-futura .pricing-card-featured {
  border-color: rgba(131, 186, 183, 0.55);
  box-shadow: 0 0 0 1px var(--card-glow), var(--shadow-soft);
}

.theme-futura .cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(131, 186, 183, 0.35), transparent 60%),
    linear-gradient(120deg, #304153 0%, #3d5a56 55%, #4f8f8b 100%);
  color: #fff;
}

.theme-futura .site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.theme-futura .site-footer a {
  color: var(--ink);
}

.theme-futura .site-footer a:hover {
  color: var(--accent-strong);
}

.theme-futura .footer-brand strong,
.theme-futura .footer-col-title {
  color: var(--ink-deep);
}

.theme-futura .ucf-shell,
.theme-futura .ucf-toolbar,
.theme-futura .ucf-canvas,
.theme-futura .ucf-panel,
.theme-futura .ucf-tab {
  background: #fff;
  border-color: var(--border);
  color: var(--ink);
}

.theme-futura .ucf-tab.is-active {
  background: rgba(131, 186, 183, 0.16);
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.theme-futura .ucf-node {
  color: var(--ink);
}

.theme-futura .shot-gallery,
.theme-futura .shot-caption,
.theme-futura .shot-3d-card {
  color: var(--ink);
}

.theme-futura .shot-caption h3 {
  color: var(--ink-deep);
}

/* Cookieconsent must stay fixed; do not inherit page flow positioning */
.theme-futura .cc-window {
  position: fixed !important;
  z-index: 1100 !important;
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.theme-futura .cc-window .cc-message {
  color: var(--ink);
}

.theme-futura .cc-window .cc-link {
  color: var(--accent-strong);
}

.theme-futura .cc-window .cc-btn.cc-allow,
.theme-futura .cc-window .cc-btn.cc-dismiss {
  background: var(--accent-strong) !important;
  color: #fff !important;
  border-radius: 999px;
  border: 0;
}

.theme-futura .cc-window .cc-btn.cc-deny {
  background: transparent !important;
  color: var(--muted) !important;
  border: 0;
}

.section-cta {
  margin: 0.85rem 0 0;
}

/* ── Documentation page (public product guide) ───────────────────────────── */

.nav-menu-wide {
  min-width: 280px;
}

.nav-item.is-active-nav > .nav-trigger {
  color: var(--accent-strong);
}

.docs-page .site-nav {
  position: sticky;
  top: 0;
}

.docs-hero {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(131, 186, 183, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
}

.docs-hero-inner {
  max-width: var(--max);
}

.docs-hero h1 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  line-height: 1.15;
}

.docs-hero-lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.docs-crumb {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--subtle);
}

.docs-shell {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 1.75rem 1.25rem 4rem;
  max-width: var(--max);
}

.docs-shell.is-flows {
  max-width: min(1400px, calc(100% - 2rem));
}

.docs-shell.is-flows .docs-article-head {
  display: none;
}

.docs-usecases {
  width: 100%;
  margin-top: 0;
}

.docs-usecases #uc-flows-app {
  width: 100%;
}

.docs-toc-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  color: var(--ink-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.docs-toc-toggle .docs-toc-chevron {
  margin-left: auto;
}

.docs-toc {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  max-height: calc(100vh - var(--nav-h) - 2rem);
  overflow: auto;
  padding: 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.docs-toc-title {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}

.docs-toc-group + .docs-toc-group {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.docs-toc-group-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.docs-toc a {
  display: block;
  padding: 0.38rem 0.55rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}

.docs-toc a:hover,
.docs-toc a:focus-visible {
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.docs-toc a.is-active {
  background: rgba(79, 143, 139, 0.14);
  color: var(--accent-strong);
  font-weight: 650;
}

.docs-main {
  min-width: 0;
  padding: 0.25rem 0 2rem;
}

.docs-article-head h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.docs-article {
  animation: docsFade 0.35s var(--ease);
}

@keyframes docsFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .docs-article { animation: none; }
}

.docs-lead {
  margin: 0 0 1.35rem;
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 42rem;
}

.docs-article h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink-deep);
}

.docs-steps,
.docs-bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  max-width: 42rem;
  color: var(--ink);
}

.docs-steps li + li,
.docs-bullets li + li {
  margin-top: 0.45rem;
}

.docs-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.docs-table th,
.docs-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.docs-table th {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(131, 186, 183, 0.1);
}

.docs-table tr:last-child td {
  border-bottom: 0;
}

.docs-table code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--surface-soft);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.docs-callout {
  margin: 1.5rem 0;
  padding: 0.95rem 1.1rem;
  max-width: 42rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(131, 186, 183, 0.12);
  color: var(--ink);
}

.docs-capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 720px) {
  .docs-capability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.docs-capability {
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}

.docs-capability h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink-deep);
}

.docs-capability > p {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.docs-capability-outcome {
  color: var(--muted) !important;
  font-size: 0.9rem !important;
}

.docs-capability-link {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-strong);
}

.docs-capability-link:hover {
  text-decoration: underline;
}

.docs-next {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.docs-next p {
  margin: 0 0 0.85rem;
  font-weight: 650;
  color: var(--ink-deep);
}

.docs-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 960px) {
  .docs-shell {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.15rem;
  }

  .docs-toc-toggle {
    display: flex;
  }

  .docs-toc {
    position: static;
    max-height: none;
    display: none;
    margin-bottom: 0.5rem;
  }

  .docs-toc.is-open {
    display: block;
  }
}
