@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  
  /* Core Swiss Slate Palette */
  --bg: #fcfcfd;        /* Minimalist Off-White */
  --panel: #ffffff;     /* Pure White Surface */
  --ink: #09090b;       /* Pure Slate-Black */
  --muted: #27272a;     /* Deep Zinc Charcoal */
  --subtle: #71717a;    /* Zinc Gray */
  --line: #e4e4e7;      /* Crisp Zinc Border */
  --line-light: #f4f4f5;/* Ultra Light Zinc */
  
  /* Retrained Technical Accents */
  --accent: #2563eb;    /* Pure Blue */
  --accent-light: #eff6ff;
  --accent-glow: rgba(37, 99, 235, 0.08);
  
  --teal: #0d9488;
  --teal-light: #f0fdfa;
  
  --amber: #d97706;
  --amber-light: #fffbeb;
  
  --danger: #e11d48;
  --danger-light: #fff1f2;
  
  --success: #16a34a;
  --success-light: #f0fdf4;
  
  /* High-Status Editorial Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-editorial: 'Lora', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  
  /* Precise Structural Dimensions */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  
  /* Flat Crisp Shadows (Micro-elevation) */
  --shadow-flat: 0 1px 3px rgba(9, 9, 11, 0.05), 0 1px 2px rgba(9, 9, 11, 0.02);
  --shadow-hover: 0 12px 30px rgba(9, 9, 11, 0.04), 0 2px 8px rgba(9, 9, 11, 0.02);
  --shadow-active: inset 0 2px 4px rgba(9, 9, 11, 0.06);
  
  /* Grid & Lines */
  --transition-crisp: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy - Elite Editorial */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
}

h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
}

p {
  color: var(--muted);
  font-size: 16px;
}

.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

/* Editorial italic callouts (Lora) */
.editorial {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}

/* Clean Underlined B2B Anchor links */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-crisp);
}

/* Global Shell constraint */
.shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Architectural Vertical/Horizontal Grid Lines */
.grid-blueprint {
  display: grid;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-head {
  max-width: 800px;
  margin-bottom: 64px;
}

.section-head h2 {
  margin-bottom: 20px;
}

.section-head p {
  font-size: 19px;
  color: var(--subtle);
  line-height: 1.6;
}

/* Sticky Minimal Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100000 !important;
  background: rgba(252, 252, 253, 0.9); /* Matches body off-white bg */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 23px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--subtle);
  position: relative;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}

/* Razor-Thin Swiss Container Cards */
.card-swiss {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-flat);
  transition: var(--transition-crisp);
  overflow: hidden;
  position: relative;
}

.card-swiss:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-hover);
}

/* Structural flat buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-crisp);
  box-shadow: var(--shadow-flat);
}

.button:hover {
  border-color: var(--ink);
  background: var(--line-light);
}

.button:active {
  background: var(--line);
  box-shadow: var(--shadow-active);
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.button.primary:hover {
  background: #27272a;
  border-color: #27272a;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(9, 9, 11, 0.02);
}

/* Eyebrows and kickers (Strict Swiss layout) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--line-light);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
}

.home-video-hero {
  position: relative;
  min-height: min(860px, calc(100vh - 32px));
  padding: clamp(120px, 14vh, 170px) 0 clamp(82px, 10vh, 120px);
  overflow: hidden;
  display: grid;
  align-items: end;
  border-bottom: 0;
  background: #e9eef6;
}

.home-hero-video {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248,250,252,.94) 0%, rgba(248,250,252,.74) 38%, rgba(248,250,252,.18) 68%, rgba(248,250,252,.08) 100%),
    linear-gradient(180deg, rgba(248,250,252,.46) 0%, rgba(248,250,252,.1) 38%, rgba(15,23,42,.18) 100%);
}

.home-video-hero .shell {
  position: relative;
  z-index: 1;
}

.home-video-hero .hero-grid {
  grid-template-columns: minmax(0, 680px);
}

.home-hero-copy {
  max-width: 680px;
}

.home-hero-copy .lead {
  max-width: 620px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-video-frame {
  position: relative;
  min-height: 420px;
  aspect-ratio: 4 / 3;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.82), transparent 34%),
    linear-gradient(145deg, #fbfcff, #e7eef7);
  box-shadow:
    24px 26px 54px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.9);
}

.hero-video-frame::before {
  content: none;
}

.hero-video-frame::after {
  content: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248,250,252,.04), rgba(248,250,252,.16)),
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.28), transparent 28%);
}

/* Visual-first AI Service Manager hero */
.service-product-hero {
  padding: 92px 0 74px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.98), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(13,148,136,.07), transparent 26%),
    linear-gradient(145deg, #f8faff 0%, #e9eef6 100%);
}

.service-product-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, .92fr);
  gap: 48px;
  align-items: center;
}

.service-product-copy h1 {
  max-width: 680px;
}

.service-product-copy .lead {
  max-width: 620px;
}

.service-orbit-card {
  position: relative;
  --service-center-size: 210px;
  --service-label-gap: 34px;
  --service-label-width: 148px;
  --service-label-edge: calc(50% + (var(--service-center-size) / 2) + var(--service-label-gap));
  min-height: 590px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #ebf1f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.86);
  overflow: hidden;
}

.service-orbit-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.27),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.service-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 66%;
  border: 2px solid rgba(142,155,181,.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.service-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--service-center-size);
  height: var(--service-center-size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fbfcff, #e8eef7);
  transform: translate(-50%, -50%);
  box-shadow:
    22px 24px 46px rgba(126,140,168,.32),
    -14px -14px 32px rgba(255,255,255,.9);
  text-align: center;
  z-index: 3;
}

.service-center::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: inherit;
  background: #eff4fb;
  box-shadow:
    inset 10px 10px 20px rgba(160,171,193,.24),
    inset -10px -10px 20px rgba(255,255,255,.86);
}

.service-center strong {
  position: relative;
  max-width: 120px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.02;
  z-index: 1;
}

.service-node {
  position: absolute;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fbfcff, #e8eef7);
  box-shadow:
    14px 16px 30px rgba(126,140,168,.28),
    -9px -9px 22px rgba(255,255,255,.88);
  z-index: 4;
}

.service-node::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: inherit;
  background: #eff4fb;
  box-shadow:
    inset 6px 6px 12px rgba(160,171,193,.2),
    inset -6px -6px 12px rgba(255,255,255,.82);
}

.service-node-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 76px;
  color: #687482;
  text-align: center;
  z-index: 1;
}

.service-node svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.service-node path,
.service-node circle,
.service-node rect,
.service-node line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-node b {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.05;
}

.node-messages { left: 8%; top: 16%; }
.node-rules { left: 12%; bottom: 24%; }
.node-replies { right: 8%; top: 16%; }
.node-decisions { right: 12%; bottom: 24%; }
.node-rest { left: 50%; bottom: 7%; transform: translateX(-50%); }

.orbit-label {
  position: absolute;
  width: var(--service-label-width);
  color: var(--subtle);
  font-size: 13.5px;
  line-height: 1.3;
  z-index: 5;
}

.orbit-label b {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.08;
  margin-bottom: 5px;
}

.label-messages {
  left: auto;
  right: var(--service-label-edge);
  top: 41%;
  text-align: right;
}

.label-rules {
  left: auto;
  right: var(--service-label-edge);
  bottom: 6%;
  text-align: right;
}

.label-replies {
  left: var(--service-label-edge);
  right: auto;
  top: 41%;
}

.label-decisions {
  left: var(--service-label-edge);
  right: auto;
  bottom: 6%;
}

.service-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-value-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, #fbfcff, #edf3fb);
  box-shadow: 14px 14px 28px rgba(160,171,193,.26), -14px -14px 28px rgba(255,255,255,.86);
}

.service-value-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eff4fb;
  box-shadow:
    inset 8px 8px 16px rgba(160,171,193,.22),
    inset -8px -8px 16px rgba(255,255,255,.84);
  color: #687482;
}

.service-value-icon svg {
  width: 46px;
  height: 46px;
}

.service-value-icon path,
.service-value-icon circle,
.service-value-icon rect,
.service-value-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-value-card b {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.service-value-card span {
  color: var(--subtle);
  font-size: 15px;
  line-height: 1.4;
}

.service-control-section {
  padding: 56px 0 76px;
}

.service-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-control-panel {
  padding: 26px;
  border-radius: 30px;
  background: #eff4fb;
  box-shadow:
    inset 14px 14px 28px rgba(160,171,193,.24),
    inset -14px -14px 28px rgba(255,255,255,.84);
}

.service-control-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 34px);
}

.service-control-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(96,112,140,.15);
}

.service-control-item i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(47,128,107,.1);
  color: #2f806b;
  font-style: normal;
  font-weight: 900;
}

.service-control-item i::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

.service-control-item b {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.service-control-item span {
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.34;
}

.technical-layer {
  padding: 0 0 86px;
}

.technical-shell {
  border-radius: 30px;
  background: linear-gradient(145deg, #fbfcff, #edf3fb);
  box-shadow: 14px 14px 28px rgba(160,171,193,.24), -14px -14px 28px rgba(255,255,255,.86);
  overflow: hidden;
}

.technical-layer details {
  border-bottom: 1px solid rgba(96,112,140,.14);
}

.technical-layer details:last-child {
  border-bottom: 0;
}

.technical-layer summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.technical-layer summary::-webkit-details-marker {
  display: none;
}

.technical-layer summary b {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.technical-layer summary span {
  display: block;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.4;
}

.technical-layer summary .summary-copy {
  min-width: 0;
}

.technical-layer summary .summary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.technical-layer summary .summary-action::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff4fb;
  box-shadow:
    inset 6px 6px 12px rgba(160,171,193,.2),
    inset -6px -6px 12px rgba(255,255,255,.84);
  color: var(--ink);
  font-weight: 900;
}

.technical-layer details[open] summary .summary-action::after {
  content: "-";
}

.technical-body {
  padding: 0 28px 28px;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.technical-card {
  padding: 20px;
  border-radius: 22px;
  background: #eff4fb;
  box-shadow:
    inset 10px 10px 20px rgba(160,171,193,.22),
    inset -10px -10px 20px rgba(255,255,255,.84);
}

.technical-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.technical-card p,
.technical-card li {
  color: var(--subtle);
  font-size: 14.5px;
  line-height: 1.45;
}

.technical-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.keyword-strip span {
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(96,112,140,.14);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.route-section {
  padding: 56px 0 80px;
  border-bottom: 1px solid var(--line);
}

.route-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(260px, .42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.route-head h2 {
  margin-bottom: 0;
  max-width: 760px;
}

.route-head p {
  margin: 0;
  color: var(--subtle);
  font-size: 17px;
  line-height: 1.45;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(145deg, #fbfcff, #edf3fb);
  box-shadow: 14px 14px 28px rgba(160,171,193,.24), -14px -14px 28px rgba(255,255,255,.86);
}

  .route-card .service-value-icon {
    margin-bottom: 18px;
  }

.route-card b {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.route-card span {
  display: block;
  color: var(--subtle);
  font-size: 15px;
  line-height: 1.4;
}

.route-card .service-cta {
  margin-top: auto;
  padding-top: 18px;
}

.diagnostic-visual-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #ebf1f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.86);
  overflow: hidden;
}

.diagnostic-visual-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.27),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.diagnostic-flow {
  position: relative;
  z-index: 1;
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.diagnostic-stack {
  display: grid;
  gap: 14px;
}

.diagnostic-note,
.diagnostic-report {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  box-shadow: 12px 14px 28px rgba(160,171,193,.22);
}

.diagnostic-note b,
.diagnostic-report b {
  display: block;
  margin-bottom: 7px;
  font-size: 19px;
  line-height: 1.08;
}

.diagnostic-note span,
.diagnostic-report span {
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.35;
}

.diagnostic-note.risky {
  border-left: 4px solid var(--danger);
}

.diagnostic-note.safe {
  border-left: 4px solid var(--success);
}

.diagnostic-center-check {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff4fb;
  box-shadow:
    inset 9px 9px 18px rgba(160,171,193,.24),
    inset -9px -9px 18px rgba(255,255,255,.84);
  color: var(--accent);
  font-weight: 900;
}

.diagnostic-center-check svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnostic-report {
  min-height: 260px;
  display: grid;
  align-content: center;
}

.diagnostic-report::before {
  content: "";
  width: 78px;
  height: 8px;
  display: block;
  margin-bottom: 18px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
}

.diagnostic-meter {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.diagnostic-meter span {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.diagnostic-meter i {
  height: 7px;
  border-radius: var(--radius-full);
  background: #d7dee9;
  overflow: hidden;
}

.diagnostic-meter i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--fill, 65%);
  border-radius: inherit;
  background: var(--accent);
}

.workflow-visual-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #e9f0f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.88);
  overflow: hidden;
}

.workflow-visual-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.25),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.workflow-board {
  position: relative;
  z-index: 1;
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(190px, .76fr) minmax(0, .96fr);
  gap: 20px;
  align-items: center;
}

.workflow-input-stack,
.workflow-output-stack {
  display: grid;
  gap: 14px;
}

.workflow-paper,
.workflow-action-card,
.workflow-core {
  background: rgba(255,255,255,.78);
  box-shadow:
    12px 14px 28px rgba(160,171,193,.2),
    -8px -8px 20px rgba(255,255,255,.76);
}

.workflow-paper {
  padding: 17px 18px;
  border-radius: 20px;
  border: 1px solid rgba(96,112,140,.08);
}

.workflow-paper b,
.workflow-action-card b,
.workflow-core b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.08;
}

.workflow-paper span,
.workflow-action-card span,
.workflow-core span {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.32;
}

.workflow-paper::before,
.workflow-action-card::before {
  content: "";
  width: 48px;
  height: 6px;
  display: block;
  margin-bottom: 16px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
}

.workflow-paper:nth-child(1)::before {
  background: linear-gradient(90deg, #0d9488, #38bdf8);
}

.workflow-paper:nth-child(2)::before {
  background: linear-gradient(90deg, #2563eb, #84cc16);
}

.workflow-paper:nth-child(3)::before {
  background: linear-gradient(90deg, #f97316, #e11d48);
}

.workflow-action-card:nth-child(1)::before {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.workflow-action-card:nth-child(2)::before {
  background: linear-gradient(90deg, #0d9488, #84cc16);
}

.workflow-action-card:nth-child(3)::before {
  background: linear-gradient(90deg, #f97316, #e11d48);
}

.workflow-paper.skew-one {
  transform: rotate(-2deg);
}

.workflow-paper.skew-two {
  transform: translateX(16px) rotate(1.5deg);
}

.workflow-paper.skew-three {
  transform: translateX(4px) rotate(-1deg);
}

.workflow-core {
  min-height: 238px;
  padding: 24px 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #eff4fb;
  box-shadow:
    inset 14px 14px 28px rgba(160,171,193,.24),
    inset -14px -14px 28px rgba(255,255,255,.84);
}

.workflow-core-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  box-shadow: 10px 12px 24px rgba(160,171,193,.2);
}

.workflow-core-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-core b {
  max-width: 120px;
  font-size: 24px;
}

.workflow-core span {
  max-width: 160px;
  margin-top: 0;
}

.workflow-action-card {
  padding: 18px 20px;
  border-radius: 24px;
}

.workflow-action-card:nth-child(2) {
  transform: translateX(-16px);
}

.workflow-action-card:nth-child(3) {
  transform: translateX(8px);
}

.automation-visual-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #e9f0f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.88);
  overflow: hidden;
}

.automation-visual-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.25),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.automation-board {
  position: relative;
  z-index: 1;
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(210px, .78fr) minmax(0, .82fr);
  gap: 20px;
  align-items: center;
}

.automation-chaos-stack,
.automation-safe-stack {
  display: grid;
  gap: 14px;
}

.automation-node,
.automation-core {
  background: rgba(255,255,255,.78);
  box-shadow:
    12px 14px 28px rgba(160,171,193,.2),
    -8px -8px 20px rgba(255,255,255,.76);
}

.automation-node {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(96,112,140,.08);
}

.automation-node::before {
  content: "";
  width: 42px;
  height: 6px;
  display: block;
  margin-bottom: 15px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
}

.automation-node.weak {
  border-left: 4px solid rgba(229, 83, 83, .58);
}

.automation-node.safe {
  border-left: 4px solid rgba(46, 125, 111, .58);
}

.automation-node b,
.automation-core b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.08;
}

.automation-node span,
.automation-core span {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.32;
}

.automation-core {
  min-height: 260px;
  padding: 24px 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #eff4fb;
  box-shadow:
    inset 14px 14px 28px rgba(160,171,193,.24),
    inset -14px -14px 28px rgba(255,255,255,.84);
}

.automation-core-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 10px 12px 24px rgba(160,171,193,.2);
}

.automation-core-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.automation-core b {
  max-width: 150px;
  font-size: 24px;
}

.automation-core span {
  max-width: 170px;
  margin-top: 0;
}

.automation-chaos-stack .automation-node:nth-child(2) {
  transform: translateX(15px);
}

.automation-safe-stack .automation-node:nth-child(2) {
  transform: translateX(-15px);
}

.pim-visual-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #e9f0f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.88);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.pim-visual-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.25),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.pim-board {
  position: relative;
  z-index: 1;
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(150px, .84fr) minmax(180px, 210px) minmax(190px, .94fr);
  grid-template-areas: "sources core record";
  gap: clamp(12px, 1.8vw, 18px);
  align-items: center;
}

.pim-source-stack {
  grid-area: sources;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.pim-source-card,
.pim-record,
.pim-core {
  background: rgba(255,255,255,.78);
  box-shadow:
    12px 14px 28px rgba(160,171,193,.2),
    -8px -8px 20px rgba(255,255,255,.76);
}

.pim-source-card {
  padding: 18px;
  border-radius: 24px;
  min-width: 0;
}

.pim-source-card:nth-child(2) {
  transform: none;
}

.pim-source-card::before,
.pim-record::before {
  content: "";
  width: 48px;
  height: 6px;
  display: block;
  margin-bottom: 15px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
}

.pim-source-card:nth-child(1)::before {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.pim-source-card:nth-child(2)::before {
  background: linear-gradient(90deg, #0d9488, #84cc16);
}

.pim-source-card:nth-child(3)::before {
  background: linear-gradient(90deg, #f97316, #e11d48);
}

.pim-record::before {
  background: linear-gradient(90deg, #2563eb, #0d9488);
}

.pim-source-card b,
.pim-record b,
.pim-core b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.08;
}

.pim-source-card span,
.pim-core span,
.pim-record small {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.32;
}

.pim-core {
  grid-area: core;
  position: relative;
  width: min(210px, 100%);
  min-height: auto;
  aspect-ratio: 1 / 1;
  padding: 24px 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  justify-self: center;
  text-align: center;
  background: #eff4fb;
  box-shadow:
    inset 14px 14px 28px rgba(160,171,193,.24),
    inset -14px -14px 28px rgba(255,255,255,.84);
}

.pim-core::before,
.pim-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(18px, 2.4vw, 34px);
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(37,99,235,.16), rgba(37,99,235,.42));
}

.pim-core::before {
  right: calc(100% + 7px);
}

.pim-core::after {
  left: calc(100% + 7px);
  background: linear-gradient(90deg, rgba(37,99,235,.42), rgba(13,148,136,.28));
}

.pim-core-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 10px 12px 24px rgba(160,171,193,.2);
}

.pim-core-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pim-core b {
  max-width: 145px;
  font-size: 24px;
}

.pim-core span {
  max-width: 170px;
  margin-top: 0;
}

.pim-record {
  grid-area: record;
  width: min(100%, 250px);
  padding: 18px;
  border-radius: 28px;
  min-width: 0;
  justify-self: end;
}

.pim-field {
  display: grid;
  grid-template-columns: minmax(62px, .7fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(239,244,251,.82);
  box-shadow:
    inset 6px 6px 12px rgba(160,171,193,.16),
    inset -6px -6px 12px rgba(255,255,255,.72);
}

.pim-field span {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
}

.pim-field strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.qa-visual-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #e9f0f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.88);
  overflow: hidden;
}

.qa-visual-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.25),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.qa-board {
  position: relative;
  z-index: 1;
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(220px, .82fr) minmax(0, .82fr);
  gap: 20px;
  align-items: center;
}

.qa-change-stack,
.qa-result-stack {
  display: grid;
  gap: 14px;
}

.qa-change-card,
.qa-result-card,
.qa-gate {
  background: rgba(255,255,255,.78);
  box-shadow:
    12px 14px 28px rgba(160,171,193,.2),
    -8px -8px 20px rgba(255,255,255,.76);
}

.qa-change-card,
.qa-result-card {
  padding: 18px;
  border-radius: 24px;
}

.qa-change-card:nth-child(2),
.qa-result-card:nth-child(2) {
  transform: translateX(15px);
}

.qa-change-card::before,
.qa-result-card::before {
  content: "";
  width: 44px;
  height: 6px;
  display: block;
  margin-bottom: 15px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
}

.qa-result-card.pass {
  border-left: 4px solid rgba(46, 125, 111, .58);
}

.qa-result-card.fail {
  border-left: 4px solid rgba(229, 83, 83, .58);
}

.qa-result-card.report {
  border-left: 4px solid rgba(43, 97, 178, .46);
}

.qa-change-card b,
.qa-result-card b,
.qa-gate b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.08;
}

.qa-change-card span,
.qa-result-card span,
.qa-gate span {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.32;
}

.qa-gate {
  min-height: 270px;
  padding: 24px 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #eff4fb;
  box-shadow:
    inset 14px 14px 28px rgba(160,171,193,.24),
    inset -14px -14px 28px rgba(255,255,255,.84);
}

.qa-core-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 10px 12px 24px rgba(160,171,193,.2);
}

.qa-core-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qa-gate b {
  max-width: 130px;
  font-size: 24px;
}

.qa-gate span {
  max-width: 175px;
  margin-top: 0;
}

.ps-visual-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fbfcff, #e9f0f8);
  box-shadow:
    22px 22px 52px rgba(160,171,193,.28),
    -18px -18px 42px rgba(255,255,255,.88);
  overflow: hidden;
}

.ps-visual-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.25),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.ps-board {
  position: relative;
  z-index: 1;
  min-height: 492px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(210px, .82fr) minmax(0, .84fr);
  gap: 20px;
  align-items: center;
}

.ps-module-stack,
.ps-result-stack {
  display: grid;
  gap: 14px;
}

.ps-module-card,
.ps-result-card,
.ps-core {
  background: rgba(255,255,255,.78);
  box-shadow:
    12px 14px 28px rgba(160,171,193,.2),
    -8px -8px 20px rgba(255,255,255,.76);
}

.ps-module-card,
.ps-result-card {
  padding: 18px;
  border-radius: 24px;
}

.ps-module-card:nth-child(2),
.ps-result-card:nth-child(2) {
  transform: translateX(14px);
}

.ps-module-card::before,
.ps-result-card::before {
  content: "";
  width: 44px;
  height: 6px;
  display: block;
  margin-bottom: 15px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
}

.ps-result-card.keep {
  border-left: 4px solid rgba(46, 125, 111, .58);
}

.ps-result-card.patch {
  border-left: 4px solid rgba(194, 135, 44, .58);
}

.ps-result-card.replace {
  border-left: 4px solid rgba(229, 83, 83, .58);
}

.ps-module-card b,
.ps-result-card b,
.ps-core b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.08;
}

.ps-module-card span,
.ps-result-card span,
.ps-core span {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.32;
}

.ps-core {
  min-height: 260px;
  padding: 24px 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #eff4fb;
  box-shadow:
    inset 14px 14px 28px rgba(160,171,193,.24),
    inset -14px -14px 28px rgba(255,255,255,.84);
}

.ps-core-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 10px 12px 24px rgba(160,171,193,.2);
}

.ps-core-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-core b {
  max-width: 130px;
  font-size: 24px;
}

.ps-core span {
  max-width: 170px;
  margin-top: 0;
}

.attention-calculator-section {
  padding: 92px 0;
  border-top: 1px solid rgba(96,112,140,.14);
  background: linear-gradient(145deg, #fbfcff, #edf3fa);
}

.attention-calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 34px;
  align-items: stretch;
}

.attention-calculator-copy {
  display: grid;
  gap: 18px;
}

.attention-calculator-copy .section-head {
  margin: 0;
  padding: 34px;
  border-radius: 32px;
  background: rgba(255,255,255,.68);
  box-shadow:
    18px 20px 44px rgba(160,171,193,.22),
    -14px -14px 34px rgba(255,255,255,.78);
}

.attention-calculator-copy .section-head h2 {
  max-width: 640px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: .98;
}

.attention-calculator-copy .section-head p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
}

.calculator-controls {
  display: grid;
  gap: 16px;
}

.calculator-control {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  box-shadow:
    10px 12px 26px rgba(160,171,193,.16),
    -8px -8px 20px rgba(255,255,255,.72);
}

.calculator-control label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.calculator-range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 14px;
  align-items: center;
}

.calculator-range-row input[type="range"] {
  width: 100%;
  min-width: 0;
  height: 6px;
  accent-color: var(--accent);
  cursor: pointer;
}

.calculator-range-row span {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eff4fb;
  box-shadow:
    inset 5px 5px 10px rgba(160,171,193,.18),
    inset -5px -5px 10px rgba(255,255,255,.72);
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.attention-result-card {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 34px;
  border-radius: 34px;
  background: #eff4fb;
  box-shadow:
    inset 16px 16px 32px rgba(160,171,193,.25),
    inset -16px -16px 32px rgba(255,255,255,.86);
}

.attention-result-item,
.attention-recovery-tip {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: 10px 12px 26px rgba(160,171,193,.16);
}

.attention-result-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.attention-result-item strong {
  display: block;
  color: var(--ink);
  line-height: 1;
}

#out-hours {
  font-size: clamp(38px, 5vw, 58px);
}

#out-cost {
  font-size: clamp(30px, 3.4vw, 42px);
}

.attention-result-item small {
  display: block;
  margin-top: 8px;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.35;
}

.attention-recovery-tip {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-swiss {
  border: 0;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow:
    14px 16px 34px rgba(160,171,193,.18),
    -10px -10px 26px rgba(255,255,255,.76);
}

.card-swiss:hover {
  transform: translateY(-2px);
  box-shadow:
    18px 20px 42px rgba(160,171,193,.22),
    -12px -12px 30px rgba(255,255,255,.8);
}

.service-grid,
.proof-grid {
  gap: 22px;
}

.service-content h3,
.proof-item h3 {
  line-height: 1.08;
}

.service-cta {
  border-radius: 999px;
}

.process {
  gap: 20px;
}

.process-step {
  border: 0;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow:
    14px 16px 34px rgba(160,171,193,.16),
    -10px -10px 26px rgba(255,255,255,.74);
}

.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff4fb;
  box-shadow:
    inset 6px 6px 12px rgba(160,171,193,.18),
    inset -6px -6px 12px rgba(255,255,255,.78);
}

.matrix-wrapper {
  border: 0;
  border-radius: 28px;
  background: #eff4fb;
  box-shadow:
    inset 12px 12px 24px rgba(160,171,193,.18),
    inset -12px -12px 24px rgba(255,255,255,.82);
  overflow: auto;
}

.matrix-table {
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.matrix-table th {
  border: 0;
  background: transparent;
  color: var(--subtle);
  font-size: 11px;
}

.matrix-table td {
  border-top: 0;
  border-bottom: 0;
  background: rgba(255,255,255,.76);
}

.matrix-table tbody tr td:first-child {
  border-radius: 18px 0 0 18px;
}

.matrix-table tbody tr td:last-child {
  border-radius: 0 18px 18px 0;
}

/* Elegant SVG Diagram Container */
.svg-diagram-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-flat);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-crisp);
  border-top: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}

.svg-diagram-wrapper:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--ink);
}

.svg-diagram-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.svg-diagram-title span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.svg-diagram-body {
  width: 100%;
  height: auto;
}

/* Interactive Sandbox Simulator Elements */
.sandbox-dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 44px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-crisp);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.sandbox-dropzone:hover {
  border-color: var(--ink);
  background: var(--line-light);
}

.sandbox-dropzone svg {
  width: 48px;
  height: 48px;
  stroke: var(--subtle);
  transition: var(--transition-crisp);
}

.sandbox-dropzone:hover svg {
  stroke: var(--ink);
  transform: translateY(-2px);
}

.sandbox-dropzone span.headline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.sandbox-dropzone span.subhead {
  font-size: 13px;
  color: var(--subtle);
}

/* Laser scan animation bar */
.scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
  pointer-events: none;
}

@keyframes laser-sweep {
  0% { top: 0%; opacity: 1; }
  50% { top: 100%; opacity: 1; }
  100% { top: 0%; opacity: 0.5; }
}

.is-scanning .scan-laser {
  opacity: 1;
  animation: laser-sweep 2.5s infinite linear;
}

.sandbox-console {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: left;
  background: var(--line-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  height: 80px;
  overflow-y: hidden;
  position: relative;
  box-shadow: var(--shadow-active);
}

.sandbox-console-line {
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(4px);
  animation: console-fade-in 0.3s forwards;
}

@keyframes console-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

.sandbox-matrix-view {
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
}

.sandbox-matrix-view table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sandbox-matrix-view th, .sandbox-matrix-view td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
}

.sandbox-matrix-view th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--subtle);
  font-size: 11px;
  text-transform: uppercase;
}

.sandbox-matrix-view td {
  font-family: var(--font-mono);
}

.sandbox-matrix-view tr {
  opacity: 0;
  transform: translateY(6px);
}

.sandbox-matrix-view tr.animate-row {
  animation: console-fade-in 0.4s forwards;
}

.sandbox-actions {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.sandbox-actions .reset-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--subtle);
  border-bottom: 1px solid var(--subtle);
  cursor: pointer;
}

.sandbox-actions .reset-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Swiss Horizontal Separator Grids (Editorial structure) */
.signal-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.signal {
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: var(--transition-crisp);
}

.signal:last-child {
  border-right: 0;
}

.signal:hover {
  background: var(--line-light);
}

.signal strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.signal span {
  color: var(--subtle);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Service Grids - Flat Swiss Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.service-content h3 {
  margin-bottom: 14px;
  font-weight: 700;
}

.service-content p {
  margin-bottom: 24px;
  font-size: 15px;
}

.service-content ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.service-content li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.service-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: var(--radius-full);
}

.service-cta {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  width: fit-content;
}

.service-cta::after {
  content: "→";
  transition: var(--transition-crisp);
}

.service:hover .service-cta::after {
  transform: translateX(4px);
}

/* Process section (Swiss numbered panels) */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  padding: 32px 24px;
  border-top: 3px solid var(--line);
  transition: var(--transition-crisp);
}

.process-step:hover {
  border-top-color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-hover);
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--subtle);
}

/* Selected Proof section */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.proof-item {
  padding: 36px;
}

.proof-kicker {
  color: var(--subtle);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.proof-item h3 {
  margin-bottom: 12px;
  font-weight: 700;
}

.proof-item p {
  font-size: 15px;
}

/* Crisp B2B Risk/Audit Table (Vercel style) */
.matrix-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-flat);
  background: var(--panel);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.matrix-table th, .matrix-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
}

.matrix-table th {
  background: var(--panel);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}

.matrix-table tr:last-child td {
  border-bottom: 0;
}

.matrix-table tr:hover td {
  background: var(--line-light);
}

.matrix-table td strong {
  color: var(--ink);
}

.matrix-table td span.tech-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--line-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

/* Beautiful Swiss Risk Pills (Not rounded plastic) */
.risk-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1.5px solid var(--line);
  background: var(--panel);
}

.risk-pill.high {
  color: var(--danger);
  background: var(--danger-light);
  border-color: rgba(225, 29, 72, 0.2);
}

.risk-pill.medium {
  color: var(--amber);
  background: var(--amber-light);
  border-color: rgba(217, 119, 6, 0.2);
}

.risk-pill.low {
  color: var(--teal);
  background: var(--teal-light);
  border-color: rgba(13, 148, 136, 0.2);
}

.risk-pill.safe {
  color: var(--accent);
  background: var(--accent-light);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Editorial notice boundary block */
.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: 64px;
  align-items: start;
  box-shadow: var(--shadow-flat);
  border-left: 4px solid var(--amber);
}

.notice-title h2 {
  color: var(--ink);
}

.notice-content p {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--muted);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 900;
}

/* Call To Action Band */
.cta-band {
  background:
    radial-gradient(circle at 18% 12%, rgba(225,29,72,.38), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(132,204,22,.28), transparent 26%),
    linear-gradient(135deg, #111827, #1e3a8a 62%, #172554);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
  box-shadow:
    22px 24px 48px rgba(30,58,138,.26),
    -12px -12px 28px rgba(255,255,255,.58);
  margin-bottom: 48px;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p.lead {
  color: #ffffff;
  max-width: 600px;
  margin: 16px 0 32px;
}

.cta-band .eyebrow {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.32) !important;
  color: #ffffff !important;
}

.cta-band .hero-actions {
  margin-top: 0;
}

.cta-band .button {
  border-color: rgba(255, 255, 255, 0.15);
}

.cta-band .button.primary {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.cta-band .button.primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}

.cta-band .button.secondary {
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border-color: rgba(255,255,255,.38);
}

.cta-band .button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* Footer Section */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--subtle);
  background: var(--panel);
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer span:first-child {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ink);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .home-video-hero {
    min-height: 760px;
    align-items: end;
    padding: 128px 0 72px;
  }

  .home-video-hero .hero-grid {
    text-align: left;
  }

  .home-hero-overlay {
    background:
      linear-gradient(180deg, rgba(248,250,252,.86) 0%, rgba(248,250,252,.62) 42%, rgba(248,250,252,.18) 70%, rgba(15,23,42,.22) 100%),
      linear-gradient(90deg, rgba(248,250,252,.78), rgba(248,250,252,.18));
  }

  .home-video-hero .hero-actions {
    justify-content: flex-start;
  }

  .service-product-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-product-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .service-product-copy .hero-actions {
    justify-content: center;
  }

  .service-orbit-card {
    min-height: 720px;
  }

  .service-value-grid {
    grid-template-columns: 1fr;
  }

  .service-value-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .service-value-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
  }

  .service-value-icon svg {
    width: 42px;
    height: 42px;
  }

  .service-value-card b {
    max-width: 330px;
    font-size: 25px;
  }

  .service-value-card span {
    display: block;
    max-width: 350px;
    font-size: 15.5px;
  }

  .service-control-grid {
    grid-template-columns: 1fr;
  }

  .technical-grid {
    grid-template-columns: 1fr;
  }

  .route-head,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-flow {
    grid-template-columns: 1fr;
  }

  .diagnostic-center-check {
    justify-self: center;
    transform: rotate(90deg);
  }

  .workflow-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .workflow-core {
    width: min(260px, 100%);
    min-height: 260px;
    justify-self: center;
  }

  .workflow-paper,
  .workflow-action-card,
  .workflow-paper.skew-one,
  .workflow-paper.skew-two,
  .workflow-paper.skew-three,
  .workflow-action-card:nth-child(2),
  .workflow-action-card:nth-child(3) {
    transform: none;
  }

  .automation-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .automation-core {
    width: min(270px, 100%);
    min-height: 270px;
    justify-self: center;
  }

  .automation-chaos-stack .automation-node:nth-child(2),
  .automation-safe-stack .automation-node:nth-child(2) {
    transform: none;
  }

  .pim-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sources"
      "core"
      "record";
    min-height: auto;
    max-width: 620px;
    margin: 0 auto;
  }

  .pim-core {
    width: min(270px, 100%);
    min-height: auto;
    justify-self: center;
  }

  .pim-core::before,
  .pim-core::after {
    left: 50%;
    right: auto;
    top: auto;
    width: 2px;
    height: 24px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(37,99,235,.22), rgba(13,148,136,.34));
  }

  .pim-core::before {
    bottom: calc(100% + 8px);
  }

  .pim-core::after {
    top: calc(100% + 8px);
  }

  .pim-source-card:nth-child(2) {
    transform: none;
  }

  .qa-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .qa-gate {
    width: min(270px, 100%);
    min-height: 270px;
    justify-self: center;
  }

  .qa-change-card:nth-child(2),
  .qa-result-card:nth-child(2) {
    transform: none;
  }

  .ps-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ps-core {
    width: min(270px, 100%);
    min-height: 270px;
    justify-self: center;
  }

  .ps-module-card:nth-child(2),
  .ps-result-card:nth-child(2) {
    transform: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .signal-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .notice {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .service-product-hero {
    padding: 64px 0 52px;
  }

  .hero-video-frame {
    min-height: 300px;
    aspect-ratio: 16 / 10;
    border-radius: 28px;
  }

  .hero-video-frame::after {
    inset: 12px;
    border-radius: 22px;
  }

  .service-orbit-card {
    min-height: auto;
    padding: 26px 22px 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "messages"
      "messageText"
      "rules"
      "ruleText"
      "replies"
      "replyText"
      "decisions"
      "decisionText"
      "rest";
    gap: 12px;
  }

  .service-orbit-card::before,
  .service-orbit {
    display: none;
  }

  .service-center,
  .service-node,
  .orbit-label {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .service-center {
    grid-area: center;
    width: 220px;
    height: 220px;
    justify-self: center;
    margin-bottom: 10px;
  }

  .service-node {
    width: 126px;
    height: 126px;
    justify-self: center;
    margin-top: 10px;
  }

  .node-messages { grid-area: messages; }
  .node-rules { grid-area: rules; }
  .node-replies { grid-area: replies; }
  .node-decisions { grid-area: decisions; }
  .node-rest { grid-area: rest; }

  .label-messages { grid-area: messageText; }
  .label-rules { grid-area: ruleText; }
  .label-replies { grid-area: replyText; }
  .label-decisions { grid-area: decisionText; }

  .orbit-label {
    width: min(100%, 330px);
    justify-self: center;
    text-align: center;
    margin: 0 0 14px;
  }

  .label-messages,
  .label-rules,
  .label-replies,
  .label-decisions {
    text-align: center;
  }

  .service-control-panel {
    padding: 22px 20px;
  }

  .service-control-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .technical-layer {
    padding: 0 0 58px;
  }

  .technical-layer summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    align-items: start;
  }

  .technical-layer summary b {
    font-size: 20px;
  }

  .technical-layer summary span {
    font-size: 13.5px;
  }

  .technical-layer summary .summary-action {
    justify-self: start;
  }

  .technical-body {
    padding: 0 20px 22px;
  }

  .technical-card {
    padding: 18px;
  }

  .keyword-strip span {
    font-size: 12px;
  }

  .diagnostic-visual-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .diagnostic-visual-card::before {
    inset: 14px;
  }

  .diagnostic-flow {
    min-height: auto;
  }

  .workflow-visual-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .workflow-visual-card::before {
    inset: 14px;
  }

  .workflow-board {
    gap: 16px;
  }

  .workflow-input-stack,
  .workflow-output-stack {
    gap: 12px;
  }

  .workflow-paper,
  .workflow-action-card {
    padding: 16px;
  }

  .automation-visual-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .automation-visual-card::before {
    inset: 14px;
  }

  .automation-board,
  .automation-chaos-stack,
  .automation-safe-stack {
    gap: 12px;
  }

  .automation-node {
    padding: 16px;
  }

  .pim-visual-card {
    min-height: auto;
    padding: 24px 20px 26px;
  }

  .pim-visual-card::before {
    inset: 14px;
  }

  .pim-board,
  .pim-source-stack {
    gap: 12px;
  }

  .pim-source-card,
  .pim-record {
    padding: 16px;
  }

  .pim-record {
    width: 100%;
    justify-self: stretch;
  }

  .pim-core {
    width: min(240px, 78vw);
    min-height: auto;
    padding: 22px 18px;
  }

  .pim-core b {
    font-size: 22px;
  }

  .pim-field {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .qa-visual-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .qa-visual-card::before {
    inset: 14px;
  }

  .qa-board,
  .qa-change-stack,
  .qa-result-stack {
    gap: 12px;
  }

  .qa-change-card,
  .qa-result-card {
    padding: 16px;
  }

  .ps-visual-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .ps-visual-card::before {
    inset: 14px;
  }

  .ps-board,
  .ps-module-stack,
  .ps-result-stack {
    gap: 12px;
  }

  .ps-module-card,
  .ps-result-card {
    padding: 16px;
  }

  .attention-calculator-section {
    padding: 64px 0;
  }

  .attention-calculator-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .attention-calculator-copy .section-head {
    padding: 24px 22px;
  }

  .attention-calculator-copy .section-head h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .attention-result-card {
    padding: 24px 20px;
  }

  .calculator-range-row {
    grid-template-columns: 1fr;
  }

  .calculator-range-row span {
    width: max-content;
  }

  .service-grid, .proof-grid, .process {
    grid-template-columns: 1fr;
  }

  .matrix-wrapper {
    overflow-x: auto;
  }

  .footer .shell {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Elite Animated B2B Megamenu Styling */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu-item {
  position: relative;
}

.menu-trigger {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: var(--transition-crisp);
}

.menu-trigger:hover, .menu-item:hover .menu-trigger {
  color: var(--ink);
}

.menu-trigger .arrow {
  font-size: 9px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item:hover .menu-trigger .arrow {
  transform: rotate(180deg);
}

/* Megamenu Dropdown Pane */
.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 760px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.22s;
  z-index: 100001 !important;
}

.menu-item:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}

.megamenu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 20px;
}

.megamenu-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--subtle);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-heading);
}

.megamenu-col a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-crisp);
  text-align: left;
}

.megamenu-col a:hover {
  background: var(--line-light);
}

.megamenu-col a strong {
  font-size: 13.5px;
  color: var(--ink);
  font-family: var(--font-heading);
}

.megamenu-col a span {
  font-size: 11.5px;
  color: var(--subtle);
  line-height: 1.4;
}

.highlight-col {
  background: var(--line-light);
  padding: 18px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  text-align: left;
}

.highlight-col h4 {
  border-bottom-color: var(--line);
}

.highlight-col p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.small-btn {
  min-height: 36px !important;
  padding: 4px 12px !important;
  font-size: 12.5px !important;
  width: 100%;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--subtle);
}

.nav-menu a:hover {
  color: var(--ink);
}

@media (max-width: 992px) {
  .megamenu {
    width: calc(100vw - 48px);
  }
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 10002;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  transition: var(--transition-crisp);
  transform-origin: left center;
}

@media (max-width: 768px) {
  /* Mobile Hero Optimization to reveal video banner */
  .home-video-hero {
    min-height: 520px;
    padding: 100px 0 48px;
  }

  .home-hero-copy h1 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .home-hero-copy .lead {
    font-size: clamp(14px, 4vw, 15px);
    line-height: 1.45;
  }

  .home-hero-overlay {
    background: 
      linear-gradient(180deg, rgba(248, 250, 252, 0.48) 0%, rgba(248, 250, 252, 0.28) 45%, rgba(15, 23, 42, 0.12) 100%),
      linear-gradient(90deg, rgba(248, 250, 252, 0.38), rgba(248, 250, 252, 0.1)) !important;
  }

  /* Expand sticky topbar to fixed full-screen when mobile menu is active to prevent hero overlay bugs */
  .topbar:has(.nav-menu.is-active) {
    position: fixed !important;
    inset: 0 !important;
    height: 100vh !important;
    z-index: 1000000 !important;
    background: var(--panel) !important;
    backdrop-filter: none !important;
  }

  .topbar:has(.nav-menu.is-active) .nav {
    min-height: 80px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: flex !important; /* Override layout */
    position: fixed;
    top: 80px; /* Below topbar height */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--panel);
    border-top: 1px solid var(--line);
    flex-direction: column;
    padding: 32px 24px;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .menu-item {
    width: 100%;
  }

  .nav-menu .menu-trigger {
    font-size: 16px;
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .nav-menu .megamenu {
    position: static;
    transform: none !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    border: none;
    padding: 12px 0 0 12px;
    display: none; /* Hide submenu initially */
  }

  .nav-menu .menu-item.is-active .megamenu {
    display: block;
  }

  .megamenu-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .nav-menu > a {
    font-size: 16px;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-light);
    display: block;
  }

  /* Hamburger transition to 'X' */
  .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1px);
  }
  .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 1px);
  }

  /* Mobile CTA Band Optimization to prevent vertical text stretching */
  .cta-band {
    padding: 36px 24px !important;
  }

  .cta-band h2 {
    font-size: clamp(22px, 5.5vw, 28px) !important;
    line-height: 1.25;
  }

  .cta-band p.lead {
    font-size: clamp(14px, 4vw, 15px) !important;
    line-height: 1.45;
    margin: 12px 0 24px !important;
  }
}

/* ==========================================================================
   Format A: Transformation Scene Styles (Premium B2B Visual Storytelling)
   ========================================================================== */

.transformation-scene {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 1.8fr;
  gap: 40px;
  align-items: stretch;
  min-height: 480px;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 992px) {
  .transformation-scene {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }
}

/* Left Column: Chaos messages */
.chaos-column {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--line-light);
  padding: 24px;
  min-height: 460px;
  overflow: hidden;
}

.chaos-title, .card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--subtle);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.chaos-canvas {
  position: relative;
  flex-grow: 1;
  height: 100%;
}

.chaos-fragment {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-flat);
  max-width: 220px;
  transition: var(--transition-crisp);
  animation: float-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chaos-fragment:hover {
  transform: scale(1.03) rotate(0deg) !important;
  border-color: var(--ink);
  z-index: 10;
}

.fragment-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--subtle);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.chaos-fragment p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

/* Message formats styling */
.chaos-fragment.whatsapp {
  border-left: 3px solid #25d366;
}

.chaos-fragment.email {
  border-left: 3px solid var(--accent);
}

.chaos-fragment.voice {
  border-left: 3px solid var(--amber);
}

.chaos-fragment.doc {
  border-left: 3px solid var(--subtle);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  margin-top: 6px;
}

.waveform span {
  display: block;
  width: 2px;
  background: var(--subtle);
  border-radius: 1px;
}

.waveform span:nth-child(1) { height: 6px; }
.waveform span:nth-child(2) { height: 12px; }
.waveform span:nth-child(3) { height: 8px; }
.waveform span:nth-child(4) { height: 14px; }
.waveform span:nth-child(5) { height: 10px; }
.waveform span:nth-child(6) { height: 4px; }

/* Staggered delay offsets */
.chaos-fragment:nth-child(1) { animation-delay: 0.05s; }
.chaos-fragment:nth-child(2) { animation-delay: 0.15s; }
.chaos-fragment:nth-child(3) { animation-delay: 0.1s; }
.chaos-fragment:nth-child(4) { animation-delay: 0.25s; }
.chaos-fragment:nth-child(5) { animation-delay: 0.2s; }
.chaos-fragment:nth-child(6) { animation-delay: 0.3s; }
.chaos-fragment:nth-child(7) { animation-delay: 0.35s; }
.chaos-fragment:nth-child(8) { animation-delay: 0.18s; }
.chaos-fragment:nth-child(9) { animation-delay: 0.28s; }
.chaos-fragment:nth-child(10) { animation-delay: 0.4s; }

/* Responsive adjustments for Chaos column */
@media (max-width: 768px) {
  .chaos-column {
    min-height: auto;
  }
  .chaos-canvas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: static;
  }
  .chaos-fragment {
    position: static !important;
    transform: none !important;
    max-width: 100%;
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .chaos-fragment {
    flex: 1 1 100%;
  }
}

/* Center Column: Glassmorphic Lens */
.lens-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 460px;
}

.lens-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lens-glass {
  position: absolute;
  width: 90px;
  height: 400px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(228, 228, 231, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 32px rgba(13, 148, 136, 0.08), inset 0 0 16px rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.lens-flow-particles {
  display: flex;
  flex-direction: column;
  gap: 36px;
  z-index: 3;
  position: relative;
}

.lens-particle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-flat);
  text-align: center;
  transition: var(--transition-crisp);
  animation: particle-enter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lens-particle.text-msg {
  border-color: var(--line);
  animation-delay: 0.4s;
}

.lens-particle.text-fact {
  border-color: rgba(37, 99, 235, 0.3);
  background: var(--accent-light);
  color: var(--accent);
  animation-delay: 0.6s;
}

.lens-particle.text-rule {
  border-color: rgba(13, 148, 136, 0.3);
  background: var(--teal-light);
  color: var(--teal);
  animation-delay: 0.8s;
}

.lens-particle.text-dec {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  animation-delay: 1s;
}

@media (max-width: 992px) {
  .lens-column {
    min-height: 100px;
  }
  .lens-glass {
    width: 100%;
    height: 60px;
  }
  .lens-flow-particles {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    width: 100%;
    padding: 0 12px;
  }
  .lens-particle {
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* Right Column: Clean Decision Card */
.card-column {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 24px;
  min-height: 460px;
  box-shadow: var(--shadow-flat);
  animation: card-fade-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.9s;
}

@media (max-width: 992px) {
  .card-column {
    min-height: auto;
  }
}

.handoff-card-clean {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
  justify-content: center;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 12px;
}

.card-row:last-of-type {
  border-bottom: none;
}

.row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--subtle);
  letter-spacing: 0.05em;
}

.row-value {
  font-family: var(--font-heading);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn-clean-primary {
  flex: 1;
  background: var(--ink);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-crisp);
}

.btn-clean-primary:hover {
  background: var(--muted);
}

.btn-clean-secondary {
  flex: 1;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-crisp);
}

.btn-clean-secondary:hover {
  background: var(--line-light);
}

.transformation-caption {
  text-align: center;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16px;
  color: var(--subtle);
  margin-top: 28px;
  line-height: 1.5;
}

/* Keyframe Animations */
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes particle-enter {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Format B: Three Doors Comparison Styles (Ultra-Premium Interactive)
   ========================================================================== */

.three-doors-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .three-doors-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.comparison-door {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-crisp);
  cursor: pointer;
  min-height: 400px;
  text-align: center;
}

.comparison-door:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.comparison-door.active-door {
  border-color: var(--teal);
  background: var(--teal-light);
}

.door-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.door-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.door-visual-box {
  flex-grow: 1;
  width: 100%;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line-light);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  transition: var(--transition-crisp);
}

.comparison-door:hover .door-visual-box {
  background: var(--panel);
}

/* Door 1: Scripted rigid path */
.rigid-path-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.rigid-line {
  position: absolute;
  background: var(--ink);
}

.rigid-line.horizontal {
  height: 2px;
}

.rigid-line.vertical {
  width: 2px;
}

.rigid-deadend {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--danger);
  border-radius: 50%;
  transform: translate(-5px, -5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 8px;
  font-weight: bold;
}

/* Door 2: Guessing fog */
.fog-canvas {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.04) 0%, transparent 70%);
  position: relative;
  transition: var(--transition-crisp);
}

.comparison-door:hover .fog-canvas {
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, transparent 60%);
}

.fog-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(225, 29, 72, 0.25);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--danger);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.05);
  animation: float-slow 4s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* Door 3: Grounded clear path */
.grounded-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.grounded-source-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--panel);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--teal);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-flat);
  z-index: 2;
  transition: var(--transition-crisp);
}

.comparison-door:hover .grounded-source-pill {
  border-color: var(--teal);
  transform: scale(1.03);
}

.grounded-line-thread {
  position: absolute;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--line), var(--teal), var(--line));
  height: 80%;
  z-index: 1;
}

.door-reveal-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: var(--transition-crisp);
}

.comparison-door:hover .door-reveal-text {
  color: var(--ink);
  opacity: 1;
}

/* Final visual-system overrides for the accepted OpsBalance direction. */
[hidden] {
  display: none !important;
}

.card-swiss,
.process-step {
  border: 0 !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow:
    14px 16px 34px rgba(160,171,193,.18),
    -10px -10px 26px rgba(255,255,255,.76) !important;
}

.card-swiss:hover,
.process-step:hover {
  border: 0 !important;
  transform: translateY(-2px);
  box-shadow:
    18px 20px 42px rgba(160,171,193,.22),
    -12px -12px 30px rgba(255,255,255,.8) !important;
}

.process-step {
  padding: 30px 24px !important;
}

.step-number {
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #eff4fb !important;
  box-shadow:
    inset 6px 6px 12px rgba(160,171,193,.18),
    inset -6px -6px 12px rgba(255,255,255,.78) !important;
}

.matrix-wrapper {
  border: 0 !important;
  border-radius: 28px !important;
  background: #eff4fb !important;
  box-shadow:
    inset 12px 12px 24px rgba(160,171,193,.18),
    inset -12px -12px 24px rgba(255,255,255,.82) !important;
  overflow: auto !important;
}

.matrix-table {
  min-width: 760px;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

.matrix-table th {
  border: 0 !important;
  background: transparent !important;
  color: var(--subtle) !important;
  font-size: 11px !important;
}

.matrix-table td {
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: rgba(255,255,255,.76) !important;
}

.matrix-table tbody tr td:first-child {
  border-radius: 18px 0 0 18px !important;
}

.matrix-table tbody tr td:last-child {
  border-radius: 0 18px 18px 0 !important;
}

@media (max-width: 768px) {
  .attention-calculator-section {
    padding: 64px 0;
  }

  .attention-calculator-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .attention-calculator-copy .section-head,
  .attention-result-card {
    padding: 22px;
  }

  .calculator-range-row {
    grid-template-columns: 1fr;
  }

  .calculator-range-row span {
    width: max-content;
  }

  .matrix-table {
    min-width: 680px;
  }
}

/* Link underline spacing fix for card CTAs. */
.service-cta {
  border-bottom: 0 !important;
  padding: 0 0 9px !important;
  line-height: 1.25 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 8px !important;
  text-decoration-color: var(--ink) !important;
}

.service-cta::after {
  margin-left: 2px;
}

/* Dark CTA variant for automation page: brighter, but contained. */
/* AI Service Manager orbit: restrained gradient on the main orbit. */
.service-orbit-card {
  background:
    radial-gradient(circle at 15% 14%, rgba(37,99,235,.09), transparent 25%),
    radial-gradient(circle at 86% 16%, rgba(132,204,22,.11), transparent 24%),
    linear-gradient(145deg, #fbfcff, #ebf1f8);
}

.service-orbit-card .service-orbit {
  border: 0;
  background: none;
  box-shadow: none;
}

.service-orbit-card .service-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from -36deg,
    rgba(37,99,235,.38) 0deg,
    rgba(14,165,233,.34) 70deg,
    rgba(132,204,22,.34) 145deg,
    rgba(249,115,22,.32) 220deg,
    rgba(225,29,72,.3) 290deg,
    rgba(37,99,235,.38) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .82;
  filter: drop-shadow(0 12px 22px rgba(37,99,235,.08));
}

.service-orbit-card .service-center {
  background:
    radial-gradient(circle at 50% 25%, rgba(37,99,235,.12), transparent 45%),
    linear-gradient(145deg, #fbfcff, #e8eef7);
}

.service-node {
  color: var(--node-color, #687482);
}

.service-node::before {
  background:
    radial-gradient(circle at 50% 25%, var(--node-wash, rgba(104,116,130,.08)), transparent 56%),
    #eff4fb;
}

.node-messages {
  --node-color: #2563eb;
  --node-wash: rgba(37,99,235,.16);
}

.node-rules {
  --node-color: #e11d48;
  --node-wash: rgba(225,29,72,.14);
}

.node-replies {
  --node-color: #65a30d;
  --node-wash: rgba(132,204,22,.18);
}

.node-decisions {
  --node-color: #0ea5e9;
  --node-wash: rgba(14,165,233,.15);
}

.node-rest {
  --node-color: #f97316;
  --node-wash: rgba(249,115,22,.14);
}

/* Homepage motion system: useful motion only, kept calm and reversible. */
.hero-aside > div {
  isolation: isolate;
  overflow: hidden;
}

.hero-aside > div::before {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 24%, rgba(56,189,248,.18), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(132,204,22,.14), transparent 28%),
    radial-gradient(circle at 48% 86%, rgba(37,99,235,.1), transparent 32%);
  animation: ops-ambient-drift 14s ease-in-out infinite alternate;
}

.route-card,
.service-value-card,
.calculator-control,
.attention-result-item {
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease;
}

.route-card:hover,
.service-value-card:hover {
  transform: translateY(-5px);
  box-shadow:
    18px 22px 38px rgba(124,139,164,.26),
    -14px -14px 30px rgba(255,255,255,.92);
}

.route-card:hover .service-value-icon,
.service-value-card:hover .service-value-icon {
  transform: translateY(-2px) scale(1.04);
}

.service-value-icon {
  transition: transform .28s ease, box-shadow .28s ease;
}

.calculator-control:focus-within {
  transform: translateY(-2px);
  box-shadow:
    14px 16px 30px rgba(160,171,193,.2),
    -10px -10px 24px rgba(255,255,255,.82);
}

.calculator-range-row input[type="range"] {
  transition: filter .2s ease;
}

.calculator-range-row input[type="range"]:active {
  filter: saturate(1.25);
}

.attention-result-card {
  position: relative;
  overflow: hidden;
}

.attention-result-card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 18% 22%, rgba(56,189,248,.12), transparent 27%),
    radial-gradient(circle at 82% 78%, rgba(37,99,235,.1), transparent 28%);
  animation: ops-ambient-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.attention-result-card > * {
  position: relative;
}

.attention-result-card.is-updating .attention-result-item strong {
  animation: ops-result-pop .32s ease both;
}

.cta-band {
  background-size: 140% 140%, 130% 130%, 100% 100%;
  animation: ops-cta-glow 18s ease-in-out infinite alternate;
}

.megamenu {
  transition:
    opacity .24s ease,
    visibility .24s ease,
    transform .24s ease,
    box-shadow .24s ease;
}

.megamenu-col a {
  position: relative;
  overflow: hidden;
}

.megamenu-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #2563eb, #0d9488);
  opacity: 0;
  transform: scaleY(.45);
  transition: opacity .22s ease, transform .22s ease;
}

.megamenu-col a:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

@keyframes ops-ambient-drift {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  100% { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

@keyframes ops-result-pop {
  0% { transform: translateY(3px) scale(.985); opacity: .78; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes ops-cta-glow {
  0% { background-position: 0% 0%, 100% 0%, center; }
  100% { background-position: 18% 10%, 82% 24%, center; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
