/* ============================================
   ANT GROUP — Production Landing Stylesheet
   ============================================ */
@import url("/css/tokens.css?v=20260728-foundation-v2");
@import url("/css/motion.css?v=20260728-foundation-v2");
@import url("/css/components.css?v=20260728-foundation-v2");

/* Fluid Typography Scale */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

/* Theme changes use one composited wash instead of transitioning every node. */
html.theme-transition::before {
  content: "";
  position: fixed;
  z-index: 49;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  animation: theme-mode-wash var(--motion-slow) var(--ease-smooth) both;
}
html.theme-transition.theme-to-light::before { background: rgba(207, 216, 227, 0.22); }
html.theme-transition.theme-to-dark::before { background: rgba(4, 8, 26, 0.20); }
@keyframes theme-mode-wash { 0% { opacity: .72; } 100% { opacity: 0; } }

/* Custom Tooltip */
[data-tooltip] { position: relative; cursor: pointer; }
[data-tooltip]::before {
  content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -4px) scale(0.95);
  opacity: 0; visibility: hidden; transition: opacity var(--motion-fast) var(--ease-out), transform var(--motion-base) var(--ease-out);
  background: rgba(15, 16, 20, 0.95); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 11px; font-weight: 600;
  white-space: nowrap; pointer-events: none; border: 1px solid var(--color-border); box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 10000;
}
html.light-mode [data-tooltip]::before { background: #fff; color: #000; border-color: rgba(0,0,0,0.1); }
[data-tooltip]:hover::before { opacity: 1; visibility: visible; transform: translate(-50%, -8px) scale(1); }

/* Skeleton Loader */
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.02) 75%); background-size: 200% 100%; animation: skeletonShine 1.5s infinite linear; }
html.light-mode .skeleton { background: linear-gradient(90deg, rgba(0,0,0,0.02) 25%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0.02) 75%); background-size: 200% 100%; }
@keyframes skeletonShine { to { background-position: -200% 0; } }

/* ===== Premium Radial Aura Background (Replaces Grid Lines) ===== */
body {
  margin: 0;
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(circle 50% at 50% 30%, rgba(56, 189, 248, 0.05), transparent);
  background-attachment: fixed;
  background-size: auto;
  background-repeat: no-repeat;
  color: var(--color-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

html.light-mode body {
  background-image:
    radial-gradient(80% 46% at 50% -8%, rgba(15, 138, 122, 0.075), transparent 72%),
    radial-gradient(58% 40% at 2% 58%, rgba(196, 132, 26, 0.045), transparent 76%),
    radial-gradient(52% 36% at 98% 76%, rgba(79, 163, 176, 0.05), transparent 78%) !important;
  background-color: var(--color-bg);
}

html.light-mode .min-h-screen.bg-bg {
  background:
    radial-gradient(80% 46% at 50% -8%, rgba(15, 138, 122, 0.075), transparent 72%),
    radial-gradient(58% 40% at 2% 58%, rgba(196, 132, 26, 0.045), transparent 76%),
    radial-gradient(52% 36% at 98% 76%, rgba(79, 163, 176, 0.05), transparent 78%),
    linear-gradient(180deg, #ebe8e2 0%, #e2ddd5 100%) !important;
}

/* The contact area and footer use deliberate dark-mode utility classes.
   Give them an explicit light-mode surface so the page does not end in a
   detached black block after switching themes. */
.site-footer {
  background: transparent !important;
  border: none !important;
}
html.light-mode .site-footer {
  background: transparent !important;
  border: none !important;
}

.process-section,
.contact-section { background: transparent !important; }

html.light-mode .contact-section .satin-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.light-mode .contact-section .glass-panel,
html.light-mode .contact-section .bg-black\/40 {
  background-color: rgba(15, 23, 42, 0.04) !important;
  border-color: var(--line) !important;
}

html.light-mode .contact-section input {
  color: var(--ink);
}

html.light-mode .contact-section input::placeholder {
  color: var(--mute);
}

html.light-mode .contact-section .bg-white\/\[0\.02\] {
  background-color: rgba(15, 23, 42, 0.025);
}

/* Contact consultation desk: enclosed in a subtle, refined satin/glass card box. */
.contact-desk { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,3vw,40px); row-gap:32px; border:1px solid rgba(255,255,255,.08) !important; border-radius:24px; background:rgba(12,17,26,.45) !important; box-shadow:0 20px 50px rgba(0,0,0,.25) !important; backdrop-filter:blur(16px) saturate(120%); -webkit-backdrop-filter:blur(16px) saturate(120%); padding:clamp(24px,4vw,44px) !important; }
.contact-desk__intro,.contact-desk__form-wrap { min-width:0; }
.contact-desk__intro { padding:0 !important; display:flex; flex-direction:column; align-items:flex-start; text-align:left; }
.contact-desk__title { max-width:100%; margin:0 0 18px; padding:.08em 0 .14em; color:var(--ink); font-family:"Inter Variable",Arial,sans-serif; font-size:clamp(30px,3.45vw,48px); font-weight:680; letter-spacing:-.04em; line-height:1.4; text-align:left; overflow-wrap:break-word; }
.contact-desk__message { max-width:24ch; color:#fff; font-size:clamp(30px,3.1vw,44px); font-weight:900; letter-spacing:-.04em; line-height:1.32; }
.contact-desk__sub { font-family:"Inter Variable",Arial,sans-serif; font-size:17px; font-weight:100; }
.contact-desk__sub { max-width:450px; margin:0; color:var(--text-2); font-size:16px; line-height:1.65; }
.contact-desk__channels { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:auto; padding-top:52px; text-align:center; }
.contact-channel { display:grid; gap:7px; color:var(--text); text-decoration:none; }
.contact-channel__label { color:var(--text-3); font-size:10px; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.contact-channel__value { font-size:14px; font-weight:620; overflow-wrap:anywhere; transition:color 160ms ease; }
.contact-channel:hover .contact-channel__value { color:var(--ant-cyan); }
.contact-desk__form-wrap { padding:0 !important; background:transparent !important; }
.contact-desk__form { min-height:100%; padding:0 !important; border:none !important; background:transparent !important; box-shadow:none !important; }
.contact-department { margin:0 0 24px; }
.contact-department__caption { display:block; margin:0 0 8px; color:var(--text-3); font-size:10px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.contact-department__tabs { --department-index:0; position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); min-height:46px; overflow:hidden; padding:4px; border:1px solid rgba(255,255,255,.14) !important; border-radius:9999px !important; background:rgba(255,255,255,.04) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter:blur(16px) saturate(135%); -webkit-backdrop-filter:blur(16px) saturate(135%); }
.contact-department__indicator { position:absolute; top:4px; bottom:4px; left:4px; width:calc((100% - 8px) / 3); border:1px solid rgba(255,255,255,.32) !important; border-radius:9999px !important; background:linear-gradient(105deg, #255ebd 0%, #3d55a0 35%, #624b7a 70%, #874464 100%) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 4px 18px rgba(37,94,189,.32) !important; transform:translateX(0); transition:transform 240ms var(--ease-smooth), background-color 240ms ease; will-change:transform; pointer-events:none; }
.contact-department__tab { position:relative; z-index:1; min-width:0; border:0; border-radius:9999px !important; padding:0 9px; color:rgba(255,255,255,.7); background:transparent; font:700 12px/1.2 var(--font-sans); cursor:pointer; transition:color 180ms ease, transform 180ms var(--ease-out); }
.contact-department__tab:hover { color:#fff; }
.contact-department__tab.is-active { color:#fff !important; font-weight:700; }
.contact-department__tab:focus-visible { outline:2px solid var(--ant-cyan); outline-offset:-2px; }
.contact-department__label-short { display:none; }
.contact-desk__form-head h3 { margin:0; color:var(--ink); font-size:22px; font-weight:680; letter-spacing:-.025em; }
.contact-desk__form-head p { margin:8px 0 30px; color:var(--text-3); font-size:13px; line-height:1.55; }
.contact-desk__form-head { transition:opacity 120ms ease,transform 120ms var(--ease-out); }
.contact-desk__form-head.is-switching { opacity:.38; transform:translateY(3px); }
.contact-desk__form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-field { display:grid; gap:8px; margin-bottom:17px; color:var(--text-2); font-size:12px; font-weight:650; }
.contact-field input,.contact-field textarea { width:100%; box-sizing:border-box; border:1px solid rgba(148,163,184,.22); border-radius:11px; padding:13px 14px; background:rgba(255,255,255,.045); color:var(--ink); font:inherit; font-size:14px; outline:none; resize:vertical; transition:background-color var(--motion-fast) ease,border-color var(--motion-fast) ease; }
.contact-field textarea { min-height:108px; }
.contact-field input::placeholder,.contact-field textarea::placeholder { color:var(--text-3); }
.contact-field input:focus,.contact-field textarea:focus { border-color:rgba(37,94,189,.6) !important; background:rgba(255,255,255,.08) !important; box-shadow:0 0 0 3.5px rgba(37,94,189,.18) !important; outline:none; }
.contact-required-hint { margin:0 0 14px; color:var(--text-3); font-size:11px; line-height:1.45; }
.form-honeypot { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.contact-privacy-note { margin:0; color:var(--text-3); font-size:11px; line-height:1.55; }
.contact-privacy-note a { color:var(--ant-cyan); text-underline-offset:3px; }
.contact-required-mark { color:var(--color-danger,#f06d4f); }
.contact-channel-group { min-width:0; margin:0; padding:0; border:0; }
.contact-channel-group legend { padding:0; color:var(--text-2); font-size:12px; font-weight:650; }
.contact-channel-hint { margin:5px 0 10px; color:var(--text-3); font-size:11px; line-height:1.45; }
.contact-channel-group .contact-field { margin-bottom:8px; }
.form-field-error { color:var(--color-danger,#f06d4f); font-size:11px; font-weight:550; line-height:1.45; }
.form-field-error--group { margin:0 0 14px; }
.contact-field input.is-invalid,.contact-field textarea.is-invalid { border-color:var(--color-danger,#f06d4f) !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--color-danger,#f06d4f) 14%,transparent) !important; }
.contact-desk__submit { width:100%; min-height:50px; display:inline-flex; align-items:center; justify-content:center; gap:12px; border:1px solid rgba(255,255,255,.32) !important; border-radius:9999px !important; color:#ffffff !important; background:linear-gradient(105deg, #255ebd 0%, #3d55a0 35%, #624b7a 70%, #874464 100%) !important; font:700 14px/1 var(--font-sans); cursor:pointer; box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 6px 22px rgba(37,94,189,.35) !important; transition:transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important; }
.contact-desk__submit:hover:not(:disabled) { transform:translateY(-2px) scale(1.01) !important; filter:brightness(1.08) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 10px 28px rgba(135,68,100,.42) !important; }
.contact-desk__submit span[aria-hidden="true"] { transition:transform 0.22s var(--ease-out); display:inline-block; }
.contact-desk__submit:hover:not(:disabled) span[aria-hidden="true"] { transform:translateX(5px); }
.contact-desk__submit:focus-visible,.contact-channel:focus-visible { outline:2px solid var(--ant-cyan); outline-offset:4px; }
#form-status,.contact-desk .form-err { margin:13px 0 0; color:var(--text-3); font-size:11px; line-height:1.5; text-align:center; }
.contact-desk .form-err { color:#f06d4f; }
html.light-mode .contact-desk { border:1px solid rgba(30,25,20,.09) !important; border-radius:24px !important; background:rgba(255,255,255,.45) !important; box-shadow:0 16px 44px rgba(30,25,20,.04) !important; backdrop-filter:blur(12px) saturate(110%); -webkit-backdrop-filter:blur(12px) saturate(110%); }
html.light-mode .contact-desk__form-wrap { background:transparent !important; }
html.light-mode .contact-desk__form { border:none !important; background:transparent !important; box-shadow:none !important; }
html.light-mode .contact-desk__message { color:#1a1612 !important; }
html.light-mode .contact-desk__sub { color:#4a4238 !important; }
html.light-mode .contact-channel__label { color:#71717a !important; }
html.light-mode .contact-channel__value { color:#1a1612 !important; }
html.light-mode .contact-department__tabs { border-color:rgba(30,25,20,.15) !important; background:rgba(30,25,20,.05) !important; box-shadow:none !important; }
html.light-mode .contact-department__indicator { border:1px solid rgba(255,255,255,.35) !important; background:linear-gradient(105deg, #255ebd 0%, #3d55a0 35%, #624b7a 70%, #874464 100%) !important; box-shadow:0 4px 14px rgba(37,94,189,.3) !important; }
html.light-mode .contact-department__tab { color:#4a4238 !important; }
html.light-mode .contact-department__tab:hover { color:#0F172A; }
html.light-mode .contact-department__tab.is-active { color:#ffffff !important; font-weight:700; }
html.light-mode .contact-field input,html.light-mode .contact-field textarea { border:1px solid rgba(30,25,20,.16) !important; background:rgba(255,255,255,.72) !important; color:#1a1612 !important; box-shadow:0 1px 3px rgba(0,0,0,.04); }
html.light-mode .contact-field input:focus,html.light-mode .contact-field textarea:focus { background:#ffffff !important; border-color:#255ebd !important; box-shadow:0 0 0 3.5px rgba(37,94,189,.18) !important; }
@media (max-width:1023px) { .contact-desk{grid-template-columns:1fr}.contact-desk__channels{padding-top:36px}.contact-desk__form-wrap{padding:10px} }
@media (max-width:480px) { .contact-section{padding-left:12px;padding-right:12px}.contact-desk{border-radius:22px}.contact-desk__intro{padding:30px 24px 34px}.contact-desk__title{font-size:36px}.contact-desk__channels,.contact-desk__form-row{grid-template-columns:1fr;gap:15px}.contact-desk__channels{gap:20px}.contact-desk__form{padding:28px 20px;border-radius:15px}.contact-department__caption{font-size:9px}.contact-department__tabs{min-height:44px}.contact-department__tab{padding:0 4px;font-size:10px}.contact-department__label-full{display:none}.contact-department__label-short{display:inline} }

html.light-mode .site-footer .text-white {
  color: #1a1612 !important;
  font-weight: 700;
}

html.light-mode .site-footer .text-neutral-400,
html.light-mode .site-footer .text-neutral-500 {
  color: #4a4238 !important;
}

html.light-mode .site-footer a:hover {
  color: #000000 !important;
}

html.light-mode .site-footer .border-white\/\[0\.06\],
html.light-mode .site-footer .border-white\/\[0\.04\] {
  border-color: rgba(30, 25, 20, 0.12) !important;
}

/* ── Section transition bridges ──────────────────────────────── */
.sec-bridge {
  position: relative;
  height: 120px;
  margin: -60px 0;
  pointer-events: none;
  z-index: 5;
}
.sec-bridge--teal {
  background: radial-gradient(ellipse 80% 100% at 50% 50%,
    rgba(0, 230, 184, 0.08) 0%, transparent 70%);
}
.sec-bridge--teal-soft {
  background: radial-gradient(ellipse 60% 100% at 50% 50%,
    rgba(0, 230, 184, 0.05) 0%, transparent 70%);
}
.sec-bridge--indigo {
  background: radial-gradient(ellipse 70% 100% at 50% 50%,
    rgba(99, 102, 241, 0.07) 0%, transparent 70%);
}
.sec-bridge--warm {
  background: radial-gradient(ellipse 60% 100% at 50% 50%,
    rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}
.sec-bridge--neutral {
  background: linear-gradient(to bottom,
    transparent 0%, rgba(255,255,255,0.012) 50%, transparent 100%);
}

::selection {
  background: rgba(94, 234, 212, 0.35);
  color: #000;
}

:focus-visible {
  outline: 3px solid var(--color-accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 10px; transition: background 0.3s; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
html.light-mode ::-webkit-scrollbar-track { background: var(--color-bg); }
html.light-mode ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); }
html.light-mode ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.3); }


/* Header & Nav */
.nav {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--color-surface);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  display: block;
}
.nav__menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}
.nav__link:hover {
  color: var(--color-text);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
  background: var(--color-accent-cyan);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-base) var(--ease-out);
}
#theme-toggle .theme-icon-svg { transition: transform var(--motion-base) var(--ease-out); }
#theme-toggle .theme-icon-svg.rotated { transform: rotate(360deg); }
.btn-icon:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.nav__hamburger { display: none; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px var(--page-gutter) 100px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero__content {
  max-width: var(--content-wide);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--type-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #fff 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  font-weight: 500;
  margin: 0 0 40px;
  line-height: 1.6;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-icon:active, .feature-tab:active, .faq-question:active { transform: scale(var(--motion-press-scale)); transition-duration: var(--motion-instant); }

/* Premium Button Glare Effect (Replaces magnetic movement) */
.magnetic-btn { position: relative; overflow: hidden; }
.magnetic-btn::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(100px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--color-accent-cyan) 40%, transparent) 0%, color-mix(in srgb, var(--color-accent-purple) 15%, transparent) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 10;
}
.magnetic-btn:hover::after { opacity: 1; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-tertiary);
  font-size: 24px;
  text-decoration: none;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(calc(var(--motion-distance-sm) * -1)); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Aurora Rays — animated hero backdrop. Legibility comes from the opaque
   text colors + drop-shadow below (.hero__headline/.hero__subtitle/.hero__badge),
   not from carving a hole in the background. The canvas is full-viewport
   (rendered in the full-bleed hero <section>, not the max-w-7xl content
   column), and dissolves into the page background on every side: a gentle
   horizontal fade at the true screen edges intersected with the vertical
   multi-stop fade at the bottom. Mask = transparency, so the fade lands on
   var(--color-bg) in whichever theme is active — no theme-specific code. */
.ant-aurora {
  position: absolute;
  inset: 0;
  isolation: isolate;
  opacity: 0.3;
  --stripe-color: rgba(255, 255, 255, 0.4);
  mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, #000 40%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.08) 85%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, #000 40%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.08) 85%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.ant-aurora__base,
.ant-aurora__overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, var(--stripe-color) 0%, var(--stripe-color) 7%, transparent 10%, transparent 12%, var(--stripe-color) 16%),
    repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 15%, #60a5fa 20%, #5eead4 25%, #60a5fa 30%);
}
.ant-aurora__base {
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(6px) opacity(30%) saturate(150%);
}
html.light-mode .ant-aurora__base { filter: blur(6px); }
.ant-aurora__overlay {
  background-size: 200%, 100%;
  background-attachment: fixed;
  filter: blur(6px);
  opacity: 0.4;
  animation: ant-aurora-drift 120s linear infinite;
}
@keyframes ant-aurora-drift {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}

/* Hero headline/subtitle/badges — opaque color + shadow instead of the
   gradient-clip .gradient-text treatment, so contrast holds regardless of
   the animated aurora behind them, in both themes. */
.hero__headline {
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}
html.light-mode .hero__headline {
  color: var(--color-text);
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.65));
}
.hero__subtitle,
.hero__badge {
  color: #e2e8f0;
}
html.light-mode .hero__subtitle,
html.light-mode .hero__badge {
  color: var(--color-text-secondary);
}

/* Trust badges: light mode tinted-glass (hero CTAs use gradient-button, not slate). */
html.light-mode .hero__badge {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}
html.light-mode .hero__badge:hover {
  border-color: rgba(15, 23, 42, 0.25);
}

/* AI Dashboard Visual */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-dashboard {
  width: 100%;
  max-width: 480px;
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.ai-dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}
.ai-dots { display: flex; gap: 6px; }
.ai-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}
.ai-dots span:first-child { background: #ff5f57; }
.ai-dots span:nth-child(2) { background: #febc2e; }
.ai-dots span:nth-child(3) { background: #28c840; }
.ai-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ai-dash-body { padding: 20px; }
.ai-cam-view {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0a0a0f, #1a1a2e);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.ai-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(94,234,212,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,234,212,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ai-bounding-box {
  position: absolute;
  border: 2px solid var(--color-accent-cyan);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(94,234,212,0.3);
}
.ai-bounding-box.box-1 {
  top: 30%; left: 20%; width: 80px; height: 120px;
}
.ai-bounding-box.box-2 {
  top: 55%; left: 55%; width: 140px; height: 90px;
  border-color: var(--color-accent-purple);
  box-shadow: 0 0 12px rgba(129,140,248,0.3);
}
.ai-label {
  position: absolute;
  top: -20px;
  left: 0;
  background: var(--color-accent-cyan);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.ai-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-cyan), transparent);
  animation: scan 3s linear infinite;
  opacity: 0.6;
}
@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}
.ai-stats { display: flex; flex-direction: column; gap: 8px; }
.ai-stat-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.ai-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-purple));
  border-radius: 3px;
  transition: transform var(--motion-slow) var(--ease-out);
  transform-origin: left center;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.badge-1 { top: -20px; right: -20px; animation: float 6s ease-in-out infinite; }
.badge-2 { bottom: 20px; left: -40px; animation: float 6s ease-in-out infinite 1s; }
.badge-title { font-size: 13px; font-weight: 700; color: var(--color-text); }
.badge-sub { font-size: 11px; color: var(--color-text-tertiary); }
.icon { font-size: 20px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Marquee */
.marquee {
  padding: 3.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.marquee__title {
  text-align: center;
  color: var(--color-text-tertiary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  font-weight: 700;
}
.marquee__container {
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.marquee__track,
.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.marquee__track:hover,
.marquee-track:hover { animation-play-state: paused; }
.marquee__logo-img {
  height: 28px;
  width: auto;
  filter: grayscale(1) brightness(0.55) contrast(1.1);
  transition: opacity var(--motion-fast) ease;
}
.marquee__track:hover .marquee__logo-img,
.marquee-track:hover .marquee__logo-img { filter: grayscale(0) brightness(1); }
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Technology stack — manufacturer logo strip (#techstack).
   Own namespace on purpose: the dormant .partners-* block in index.html's inline
   style belongs to an unrelated tabbed card grid and must not be touched. */
.techstack-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.techstack__viewport {
  width: min(100%, 1152px);
  margin: 0 auto;
  padding: 4px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.techstack__track {
  display: flex;
  width: max-content;
  animation: techstackScroll 48s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
/* :focus-within is inert while the tiles are plain images — it is here so the
   pause still works for keyboard users if the logos ever become links. */
.techstack__viewport:hover .techstack__track,
.techstack__viewport:focus-within .techstack__track { animation-play-state: paused; }

.techstack__group {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0 24px;
  list-style: none;
}
/* Clean logo strip — no tiles/cards; marks float on the page surface. */
.techstack__cell {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
/* Original brand colors (no grayscale / invert). Light+dark asset pairs:
   --light for light UI, --dark for dark UI. Quiet opacity, full on hover. */
.techstack__logo {
  height: 28px;
  width: auto;
  max-width: 140px;
  display: block;
  opacity: 0.82;
  transition: opacity var(--motion-base) ease;
}
.techstack__cell:hover .techstack__logo { opacity: 1; }
/* Default site theme is dark — show dark-surface assets. */
.techstack__logo--light { display: none; }
.techstack__logo--dark { display: block; }
html.light-mode .techstack__logo--light { display: block; }
html.light-mode .techstack__logo--dark { display: none; }
html.light-mode .techstack__logo { opacity: 0.88; }
html.light-mode .techstack__cell:hover .techstack__logo { opacity: 1; }

@keyframes techstackScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Below the marquee breakpoint — and whenever motion is reduced — the strip
   collapses to a static wrapped grid: the duplicate loop group is dropped and
   auto-fit handles every width without extra breakpoints. */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .techstack__viewport {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .techstack__track {
    display: block;
    width: auto;
    animation: none;
    will-change: auto;
  }
  .techstack__group[aria-hidden="true"] { display: none; }
  .techstack__group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 28px 20px;
    padding: 0 8px;
    justify-items: center;
  }
  .techstack__cell {
    min-width: 0;
    width: auto;
    height: 40px;
    padding: 0;
  }
}

/* Sections */
.section {
  padding: var(--section-space) var(--page-gutter);
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--section-heading-gap);
  text-align: center;
}

/* Advanced Micro-Interactions (Spotlight & Holographic Borders) */
.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before {
  content: ""; position: absolute;
  top: var(--mouse-y, 50%); left: var(--mouse-x, 50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent-cyan) 10%, transparent) 0%, color-mix(in srgb, var(--color-accent-purple) 5%, transparent) 40%, transparent 70%);
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity var(--motion-base) ease; z-index: 0;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }
@keyframes borderRotate { 100% { filter: hue-rotate(360deg); } }

/* Legacy .bento-cell / 4-col sheet styles removed — photo-overlay cards
   use .bento-grid / .bento-card defined with the planning/services sections. */

/* Topology */
.topology-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 60px 20px;
  overflow-x: auto;
}
.topo-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  flex-shrink: 0;
}
.topo-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-cyan);
}
.topo-icon.cyan { color: var(--color-accent-cyan); }
.topo-icon.purple { color: var(--color-accent-purple); }
.topo-icon svg { width: 28px; height: 28px; }
.topo-label {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topo-line {
  width: 100px;
  height: 1px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.topo-signal {
  position: absolute;
  top: 0;
  left: -30px;
  width: 4px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent-cyan), transparent);
  animation: signalFlow 3s linear infinite;
  opacity: 0.4;
}
.topo-signal.delay-1 { animation-delay: 0.6s; }
.topo-signal.delay-2 { animation-delay: 1.2s; }
@keyframes signalFlow {
  to { left: 100%; }
}

/* Features */
.features-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.features-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-tab {
  text-align: left;
  padding: 24px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: color var(--motion-fast) ease, background-color var(--motion-base) ease, border-color var(--motion-base) ease, transform var(--motion-base) var(--ease-out);
}
.feature-tab.active {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}
.feature-tab h4 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feature-tab p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.features-visuals {
  aspect-ratio: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual { display: none; }
.feature-visual.active { display: flex; }
.feat-box {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(94,234,212,0.08), rgba(129,140,248,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-icon { color: var(--color-accent-cyan); }
.feat-icon.cyan { color: var(--color-accent-cyan); }
.feat-icon.purple { color: var(--color-accent-purple); }

/* Projects */
.project-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  max-width: 1000px;
  margin: 0 auto;
}
.project-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94,234,212,0.04), rgba(129,140,248,0.04));
}
.project-card__content {
  position: relative;
  padding: 56px;
  z-index: 1;
}
.project-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.project-card p {
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-size: 17px;
  margin: 0;
}

/* Stats */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}
.stat__number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent-cyan);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Testimonials */
.testi__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.testi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.card__glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}
.stars {
  color: var(--color-warning);
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.testi-card p {
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-size: 16px;
  margin: 0 0 20px;
}
.testi-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* FAQ (legacy helpers) */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.1); }
.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-accent-cyan); }
.faq-icon {
  font-size: 22px;
  color: var(--color-text-tertiary);
  transition: transform var(--motion-base) var(--ease-out);
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  overflow: hidden;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

/* Soft homepage FAQ — floating cards + grid-rows height (calm modern accordion) */
.soft-faq {
  --soft-faq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --soft-faq-dur: 0.42s;
  --soft-faq-line: color-mix(in srgb, #fff 7%, transparent);
  --soft-faq-card: color-mix(in srgb, #0b1219 78%, transparent);
  --soft-faq-card-open: color-mix(in srgb, #4fa3b0 7%, #0b1219);
  --soft-faq-q: color-mix(in srgb, #fff 92%, transparent);
  --soft-faq-a: color-mix(in srgb, #94a3b8 92%, transparent);
  --soft-faq-muted: color-mix(in srgb, #64748b 90%, transparent);
  --soft-faq-chevron: color-mix(in srgb, #fff 42%, transparent);
}
.soft-faq__shell {
  position: relative;
}
.soft-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.soft-faq__item {
  border: 1px solid var(--soft-faq-line);
  border-radius: 18px;
  background: var(--soft-faq-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 3%, transparent) inset;
  transition:
    border-color var(--soft-faq-dur) var(--soft-faq-ease),
    background-color var(--soft-faq-dur) var(--soft-faq-ease),
    box-shadow var(--soft-faq-dur) var(--soft-faq-ease),
    transform var(--soft-faq-dur) var(--soft-faq-ease);
}
.soft-faq__item:hover {
  border-color: color-mix(in srgb, #4fa3b0 22%, var(--soft-faq-line));
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 4%, transparent) inset,
    0 12px 32px rgba(0, 0, 0, 0.14);
}
.soft-faq__item.is-open {
  border-color: color-mix(in srgb, #4fa3b0 28%, var(--soft-faq-line));
  background: var(--soft-faq-card-open);
  box-shadow:
    0 1px 0 color-mix(in srgb, #4fa3b0 10%, transparent) inset,
    0 16px 40px rgba(0, 0, 0, 0.16);
}
.soft-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 58px;
  border-radius: 18px;
  transition: color 0.2s ease;
}
@media (min-width: 640px) {
  .soft-faq__trigger {
    padding: 18px 22px;
    min-height: 64px;
    gap: 18px;
  }
}
.soft-faq__q {
  flex: 1;
  color: var(--soft-faq-q);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  transition: color 0.22s ease;
}
@media (min-width: 640px) {
  .soft-faq__q { font-size: 15.5px; }
}
.soft-faq__trigger:hover .soft-faq__q,
.soft-faq__item.is-open .soft-faq__q {
  color: #fff;
}
.soft-faq__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 999px;
  color: var(--soft-faq-chevron);
  background: color-mix(in srgb, #fff 3.5%, transparent);
  border: 1px solid color-mix(in srgb, #fff 6%, transparent);
  transition:
    transform var(--soft-faq-dur) var(--soft-faq-ease),
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}
.soft-faq__chevron-svg {
  display: block;
  transition: transform var(--soft-faq-dur) var(--soft-faq-ease);
}
.soft-faq__trigger:hover .soft-faq__chevron {
  color: color-mix(in srgb, #7ec8d4 80%, #fff);
  border-color: color-mix(in srgb, #4fa3b0 28%, transparent);
  background: color-mix(in srgb, #4fa3b0 10%, transparent);
}
.soft-faq__item.is-open .soft-faq__chevron {
  color: #7ec8d4;
  border-color: color-mix(in srgb, #4fa3b0 36%, transparent);
  background: color-mix(in srgb, #4fa3b0 14%, transparent);
}
.soft-faq__item.is-open .soft-faq__chevron-svg {
  transform: rotate(180deg);
}

/* Smooth height: closed = 0fr, open = 1fr */
.soft-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0.55;
  transition:
    grid-template-rows var(--soft-faq-dur) var(--soft-faq-ease),
    opacity calc(var(--soft-faq-dur) * 0.85) var(--soft-faq-ease);
}
.soft-faq__item.is-open .soft-faq__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
.soft-faq__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.soft-faq__a {
  margin: 0;
  padding: 0 18px 18px;
  max-width: 52ch;
  color: var(--soft-faq-a);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.01em;
  transform: translateY(-6px);
  opacity: 0.35;
  transition:
    opacity calc(var(--soft-faq-dur) * 0.9) var(--soft-faq-ease),
    transform calc(var(--soft-faq-dur) * 0.9) var(--soft-faq-ease);
}
@media (min-width: 640px) {
  .soft-faq__a {
    padding: 0 22px 20px;
    font-size: 14.5px;
  }
}
.soft-faq__item.is-open .soft-faq__a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.05s;
}

.soft-faq__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  text-align: center;
}
@media (min-width: 480px) {
  .soft-faq__foot {
    flex-direction: row;
    gap: 16px;
  }
}
.soft-faq__foot-text {
  margin: 0;
  color: var(--soft-faq-muted);
  font-size: 13.5px;
  letter-spacing: -0.01em;
}
.soft-faq__foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 9999px !important;
  background: linear-gradient(105deg, #255ebd 0%, #3d55a0 35%, #624b7a 70%, #874464 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 18px rgba(37, 94, 189, 0.32) !important;
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease !important;
}
.soft-faq__foot-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  filter: brightness(1.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(135, 68, 100, 0.4) !important;
}

html.light-mode .soft-faq {
  --soft-faq-line: rgba(15, 23, 42, 0.08);
  --soft-faq-card: rgba(255, 255, 255, 0.78);
  --soft-faq-card-open: color-mix(in srgb, #0d9488 5%, #fff);
  --soft-faq-q: #0f172a;
  --soft-faq-a: #475569;
  --soft-faq-muted: #64748b;
  --soft-faq-chevron: rgba(15, 23, 42, 0.42);
}
html.light-mode .soft-faq__item {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}
html.light-mode .soft-faq__item:hover,
html.light-mode .soft-faq__item.is-open {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}
html.light-mode .soft-faq__trigger:hover .soft-faq__q,
html.light-mode .soft-faq__item.is-open .soft-faq__q {
  color: #0f172a;
}
html.light-mode .soft-faq__chevron {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}
html.light-mode .soft-faq__trigger:hover .soft-faq__chevron,
html.light-mode .soft-faq__item.is-open .soft-faq__chevron {
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.28);
  background: rgba(13, 148, 136, 0.08);
}
html.light-mode .soft-faq__foot-btn {
  color: #ffffff !important;
  background: linear-gradient(105deg, #255ebd 0%, #3d55a0 35%, #624b7a 70%, #874464 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 18px rgba(37, 94, 189, 0.32) !important;
}
html.light-mode .soft-faq__foot-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  filter: brightness(1.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(135, 68, 100, 0.4) !important;
}

@media (prefers-reduced-motion: reduce) {
  .soft-faq__item,
  .soft-faq__panel,
  .soft-faq__a,
  .soft-faq__chevron,
  .soft-faq__chevron-svg,
  .soft-faq__foot-btn,
  .soft-faq__q {
    transition: none !important;
  }
  .soft-faq__panel {
    transition: none;
  }
  .soft-faq__item:not(.is-open) .soft-faq__panel {
    display: none;
  }
  .soft-faq__item.is-open .soft-faq__panel {
    display: block;
    opacity: 1;
  }
  .soft-faq__item.is-open .soft-faq__a {
    opacity: 1;
    transform: none;
  }
}

/* Contact */
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.form__group {
  position: relative;
  margin-bottom: 20px;
}
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 18px 14px 6px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-family: inherit;
  transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease;
  outline: none;
}
.form__group textarea { min-height: 120px; resize: vertical; }
.form__group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  pointer-events: none;
  transition: color var(--motion-fast) ease, transform var(--motion-base) var(--ease-out), top var(--motion-base) var(--ease-out), font-size var(--motion-base) var(--ease-out);
  font-size: 15px;
  font-weight: 500;
}
/* Rest of the existing CSS below... */

/* ═══════════════════════════════════════════════════════════════
   FEATURE KEYBOARD — Premium Raycast-style capability grid
   ═══════════════════════════════════════════════════════════════ */

.keyboard-section {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Two-column layout: left text (40%) | right keyboard grid (60%) */
.keyboard-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.keyboard-left {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 0;
}
.keyboard-left .section-tag {
  margin-bottom: 16px;
}
.keyboard-left h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.keyboard-left p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
}
.keyboard-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  background: rgba(79, 163, 176, 0.1);
  border: 1px solid rgba(79, 163, 176, 0.25);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-base) var(--ease-out);
  align-self: flex-start;
}
.keyboard-download-btn:hover {
  background: rgba(79, 163, 176, 0.2);
  border-color: rgba(79, 163, 176, 0.45);
}

/* Right column — keyboard grid with right-edge spill */
.keyboard-right {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
  overflow: visible;
}

/* Keyboard grid container */
.keyboard-layout {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(5, 40px);
  gap: 4px;
  padding: 14px;
  position: relative;
  /* Spill slightly off the right edge */
  margin-right: -60px;
  transform: translateX(-12px);
}

/* Generic empty keys */
.key {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: default;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Key labels — subtle Mac-style text */
.key-label {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* Service module keys — larger cards embedded in the grid */
.service-key {
  position: relative;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--motion-base) ease, background-color var(--motion-base) ease;
}

/* Service key span sizes */
.service-key--s1 {
  grid-column: span 3;
  grid-row: span 2;
}
.service-key--s2 {
  grid-column: span 4;
  grid-row: span 2;
}
.service-key--s3 {
  grid-column: span 3;
  grid-row: span 2;
}
.service-key--s4 {
  grid-column: span 4;
  grid-row: span 2;
}

/* Service key content */
.service-key-icon {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-bottom: 1px;
  transition: color 0.3s ease;
}
.service-key-title {
  font-size: 12px;
  font-weight: 600;
  color: #F8FAFC;
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-family: 'Noto Sans Georgian', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-key-desc {
  font-size: 9.5px;
  color: #888;
  line-height: 1.35;
  font-family: 'Noto Sans Georgian', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Powered-up state (staggered lighting effect) */
.service-key.powered-up {
  border-color: rgba(79, 163, 176, 0.45);
  background: rgba(79, 163, 176, 0.06);
  box-shadow: 0 0 24px rgba(79, 163, 176, 0.08), 0 0 0 1px rgba(79, 163, 176, 0.15);
}
.service-key.powered-up .service-key-icon {
  color: #4FA3B0;
}
.service-key.powered-up .service-key-title {
  color: #ffffff;
}
.service-key.powered-up .service-key-desc {
  color: #A0A0B0;
}

/* Cursor glow element */
.cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 163, 176, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.15s ease-out;
  opacity: 0;
}
.keyboard-layout:hover .cursor-glow {
  opacity: 1;
}

/* Light mode overrides for keyboard */
html.light-mode .keyboard-layout .key {
  background: #EDE9E3;
  border-color: rgba(60, 50, 40, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
html.light-mode .key-label {
  color: rgba(60, 50, 40, 0.22);
}
html.light-mode .service-key {
  background: #F5F2EE;
  border-color: rgba(60, 50, 40, 0.12);
}
html.light-mode .service-key-title {
  color: #1A1612;
}
html.light-mode .service-key-desc {
  color: #5A5248;
}
html.light-mode .service-key-icon {
  color: #0F8A7A;
}
html.light-mode .service-key.powered-up {
  border-color: rgba(15, 138, 122, 0.4);
  background: rgba(15, 138, 122, 0.06);
  box-shadow: 0 0 20px rgba(15, 138, 122, 0.06), 0 0 0 1px rgba(15, 138, 122, 0.15);
}
html.light-mode .service-key.powered-up .service-key-title {
  color: #1A1612;
}
html.light-mode .service-key.powered-up .service-key-desc {
  color: #5A5248;
}
html.light-mode .service-key.powered-up .service-key-icon {
  color: #0F8A7A;
}
html.light-mode .keyboard-left h2 {
  color: #1A1612;
}
html.light-mode .keyboard-left p {
  color: #5A5248;
}
html.light-mode .keyboard-download-btn {
  background: rgba(15, 138, 122, 0.1);
  border-color: rgba(15, 138, 122, 0.25);
  color: #0F8A7A;
}
html.light-mode .keyboard-download-btn:hover {
  background: rgba(15, 138, 122, 0.2);
  border-color: rgba(15, 138, 122, 0.45);
}

/* Responsive keyboard — collapse to stacked layout on mobile */
@media (max-width: 1024px) {
  .keyboard-row {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }
  .keyboard-left {
    flex: 0 0 auto;
    max-width: 100%;
    text-align: center;
    padding: 20px 0 10px 0;
    align-items: center;
  }
  .keyboard-left h2 {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .keyboard-left p {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .keyboard-download-btn {
    align-self: center;
  }
  .keyboard-right {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .keyboard-layout {
    margin-right: 0;
    transform: none;
  }
}

@media (max-width: 768px) {
  .keyboard-layout {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(8, 36px);
    gap: 3px;
    padding: 8px;
    max-width: 100%;
  }
  .service-key--s1 { grid-column: span 3; grid-row: span 2; }
  .service-key--s2 { grid-column: span 3; grid-row: span 2; }
  .service-key--s3 { grid-column: span 3; grid-row: span 2; }
  .service-key--s4 { grid-column: span 3; grid-row: span 2; }
  .service-key {
    padding: 8px 10px;
  }
  .service-key-icon {
    width: 18px;
    height: 18px;
  }
  .service-key-title {
    font-size: 11px;
  }
  .service-key-desc {
    display: none;
  }
  .keyboard-left h2 {
    font-size: 22px;
  }
  .key-label {
    font-size: 7px;
  }
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  .keyboard-layout {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(10, 32px);
  }
  .service-key--s1 { grid-column: span 4; grid-row: span 2; }
  .service-key--s2 { grid-column: span 4; grid-row: span 2; }
  .service-key--s3 { grid-column: span 4; grid-row: span 2; }
  .service-key--s4 { grid-column: span 4; grid-row: span 2; }
}

/* Final hero type lock: this sits after legacy utility overrides. */
#app-root .hero__headline {
  font-family: "Inter Variable", "Noto Sans Georgian", Arial, sans-serif !important;
  font-size: clamp(2.65rem, 5.2vw, 80px) !important;
  font-weight: 900 !important;
}
html[lang="ka"] #app-root .hero__headline {
  font-family: "Noto Sans Georgian", "Inter Variable", Arial, sans-serif !important;
}
@media (min-width: 1024px) {
  .hero__headline > span { display:block; }
}
#app-root .contact-desk__title {
  font-family: "Inter Variable", "Noto Sans Georgian", Arial, sans-serif !important;
  padding: .07em 0 .12em;
}
html[lang="ka"] #app-root .contact-desk__title {
  font-family: "Noto Sans Georgian", "Inter Variable", Arial, sans-serif !important;
}
@media (max-width: 640px) {
  #app-root .hero__headline {
    font-size: clamp(1.9rem, 8.5vw, 2.3rem) !important;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Keyboard staggered lighting entrance keyframes */
@keyframes keyboardPowerUp {
  0% {
    border-color: rgba(255, 255, 255, 0.06);
    background: #161616;
    box-shadow: none;
  }
  100% {
    border-color: rgba(79, 163, 176, 0.45);
    background: rgba(79, 163, 176, 0.06);
    box-shadow: 0 0 24px rgba(79, 163, 176, 0.08), 0 0 0 1px rgba(79, 163, 176, 0.15);
  }
}

/* ===== End of remaining existing CSS below ===== */

/* Spotlight card holographic border (keep original) */
.spotlight-card::before {
  content: ""; position: absolute;
  top: var(--mouse-y, 50%); left: var(--mouse-x, 50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent-cyan) 10%, transparent) 0%, color-mix(in srgb, var(--color-accent-purple) 5%, transparent) 40%, transparent 70%);
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity var(--motion-base) ease; z-index: 0;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

/* Cyber card after spotlight (already present in index.html <style>) */
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(79, 163, 176, 0.02), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* ===== 2026 premium-tech design system consolidation ===== */
:where(button, a, input, select, textarea) { touch-action: manipulation; }

.ant-aurora { opacity: 0.16; --stripe-color: rgba(56, 189, 248, 0.22); }
.ant-aurora__base,
.ant-aurora__overlay {
  background-image: repeating-linear-gradient(104deg, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0.12) 6%, transparent 10%, transparent 16%);
}
.ant-aurora__overlay { animation: none; opacity: 0.28; }

.hero-shell {
  min-height: min(720px, 100svh);
  width: 100%;
}
.hero__headline {
  max-width: 1120px;
  font-family: "Inter Variable", Arial, sans-serif;
  font-size: clamp(2.65rem, 5.2vw, 80px) !important;
  font-weight: 900;
  line-height: 1.04 !important;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.28),
    0 14px 44px rgba(0, 0, 0, 0.4);
}
.hero__subtitle {
  color: var(--text-2);
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.hero__actions {
  width: min(100%, 720px);
  align-items: center;
}


/* Infinite Grid — cursor-reactive, CSS-only adaptation of the selected hero. */
.hero {
  --hero-grid-size: 40px;
  --hero-brand-blue: #185cb0;
  --hero-brand-indigo: #404a94;
  --hero-brand-rose: #874352;
  --hero-grid-line: rgba(132, 149, 211, 0.22);
  --hero-grid-safe: rgba(3, 4, 7, 0.7);
  min-height: min(860px, 100svh);
  padding: 0 24px;
  background: transparent;
}
.hero-shell { position: relative; z-index: 3; }
.hero-grid {
  --spot-x: 50%;
  --spot-y: 48%;
  --hero-fade-depth: clamp(120px, 18svh, 220px);
  --hero-fade-mid: clamp(52px, 8svh, 100px);
  --hero-side-fade-depth: clamp(48px, 10vw, 190px);
  --hero-side-fade-mid: clamp(20px, 4vw, 76px);
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 54% at 50% 28%, rgba(64, 74, 148, 0.07), transparent 74%),
    linear-gradient(180deg, #030405 0%, #04050a 66%, rgba(3, 4, 4, 0.84) 100%);
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 calc(100% - var(--hero-fade-depth)), rgba(0, 0, 0, 0.82) calc(100% - var(--hero-fade-mid)), transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.82) var(--hero-side-fade-mid), #000 var(--hero-side-fade-depth), #000 calc(100% - var(--hero-side-fade-depth)), rgba(0, 0, 0, 0.82) calc(100% - var(--hero-side-fade-mid)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 calc(100% - var(--hero-fade-depth)), rgba(0, 0, 0, 0.82) calc(100% - var(--hero-fade-mid)), transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.82) var(--hero-side-fade-mid), #000 var(--hero-side-fade-depth), #000 calc(100% - var(--hero-side-fade-depth)), rgba(0, 0, 0, 0.82) calc(100% - var(--hero-side-fade-mid)), transparent 100%);
  mask-composite: intersect;
}
.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid::before {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(3, 4, 4, 0.44), transparent 20%, transparent 76%, rgba(3, 4, 4, 0.72)),
    linear-gradient(90deg, rgba(3, 4, 4, 0.34), transparent 18%, transparent 82%, rgba(3, 4, 4, 0.34));
}
.hero-grid::after {
  z-index: 4;
  background: radial-gradient(ellipse 46% 42% at 50% 48%, var(--hero-grid-safe) 0%, rgba(3, 4, 4, 0.38) 44%, transparent 78%);
}
.hero-grid__layer {
  position: absolute;
  inset: calc(var(--hero-grid-size) * -1);
  z-index: 2;
  background-image:
    linear-gradient(to right, var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hero-grid-line) 1px, transparent 1px);
  background-position: 0 0;
  background-size: var(--hero-grid-size) var(--hero-grid-size);
  will-change: background-position;
  animation: hero-grid-drift 14s linear infinite;
}
.hero-grid__layer--base { opacity: 0.24; }
.hero-grid__layer--active {
  opacity: 0.92;
  -webkit-mask-image: radial-gradient(300px circle at var(--spot-x) var(--spot-y), #000 0%, rgba(0, 0, 0, 0.92) 38%, transparent 74%);
  mask-image: radial-gradient(300px circle at var(--spot-x) var(--spot-y), #000 0%, rgba(0, 0, 0, 0.92) 38%, transparent 74%);
}
.hero-grid__glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.24;
  filter: blur(112px);
  transform: translate3d(0, 0, 0);
}
.hero-grid__glow--brand-blue {
  bottom: -24%;
  left: -10%;
  width: min(48vw, 700px);
  aspect-ratio: 1;
  background: var(--hero-brand-blue);
  opacity: 0.3;
}
.hero-grid__glow--brand-indigo {
  top: -3%;
  right: 15%;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  background: var(--hero-brand-indigo);
  opacity: 0.27;
}
.hero-grid__glow--brand-rose {
  top: -20%;
  right: -7%;
  width: min(44vw, 650px);
  aspect-ratio: 1;
  background: var(--hero-brand-rose);
  opacity: 0.25;
}
@keyframes hero-grid-drift {
  to { background-position: var(--hero-grid-size) var(--hero-grid-size); }
}
html[data-page-visible="false"] .hero-grid__layer { animation-play-state: paused !important; }

html.light-mode .hero {
  --hero-grid-line: rgba(45, 58, 118, 0.28);
  --hero-grid-safe: rgba(239, 236, 231, 0.58);
  background: transparent;
}
html.light-mode .hero-grid {
  background:
    radial-gradient(ellipse 46% 50% at 12% 72%, rgba(24, 92, 176, 0.13), transparent 74%),
    radial-gradient(ellipse 42% 48% at 88% 18%, rgba(135, 67, 82, 0.12), transparent 72%),
    radial-gradient(ellipse 38% 42% at 68% 34%, rgba(64, 74, 148, 0.1), transparent 74%),
    linear-gradient(180deg, #f1efeb 0%, #ebe7e1 66%, rgba(232, 228, 223, 0.86) 100%);
}
html.light-mode .hero-grid::before {
  background:
    linear-gradient(180deg, rgba(239, 237, 232, 0.5), transparent 20%, transparent 76%, rgba(229, 226, 219, 0.72)),
    linear-gradient(90deg, rgba(239, 237, 232, 0.46), transparent 18%, transparent 82%, rgba(239, 237, 232, 0.46));
}
html.light-mode .hero-grid::after {
  background: radial-gradient(ellipse 46% 42% at 50% 48%, var(--hero-grid-safe) 0%, rgba(239, 236, 231, 0.28) 44%, transparent 78%);
}
html.light-mode .hero-grid__layer--base { opacity: 0.42; }
html.light-mode .hero-grid__layer--active { opacity: 0.92; }
html.light-mode .hero-grid__glow {
  filter: blur(118px);
  mix-blend-mode: multiply;
}
html.light-mode .hero-grid__glow--brand-blue { opacity: 0.24; }
html.light-mode .hero-grid__glow--brand-indigo { opacity: 0.19; }
html.light-mode .hero-grid__glow--brand-rose { opacity: 0.2; }

@media (max-width: 767px) {
  .hero {
    --hero-grid-size: 32px;
    min-height: auto;
    padding: 0 14px;
  }
  .hero-grid {
    --spot-x: 50%;
    --spot-y: 43%;
  }
  .hero-grid__layer { animation-duration: 20s; }
  .hero-grid__layer--active {
    opacity: 0.7;
    -webkit-mask-image: radial-gradient(220px circle at var(--spot-x) var(--spot-y), #000 0%, rgba(0, 0, 0, 0.88) 34%, transparent 76%);
    mask-image: radial-gradient(220px circle at var(--spot-x) var(--spot-y), #000 0%, rgba(0, 0, 0, 0.88) 34%, transparent 76%);
  }
  .hero-grid::after {
    background: radial-gradient(ellipse 78% 40% at 50% 43%, var(--hero-grid-safe) 0%, rgba(3, 4, 4, 0.3) 46%, transparent 82%);
  }
  html.light-mode .hero-grid::after {
    background: radial-gradient(ellipse 78% 40% at 50% 43%, var(--hero-grid-safe) 0%, rgba(235, 232, 226, 0.32) 46%, transparent 82%);
  }
  .hero-grid__glow--brand-blue { width: 440px; left: -74%; bottom: -18%; }
  .hero-grid__glow--brand-indigo { width: 360px; right: -38%; }
  .hero-grid__glow--brand-rose { width: 420px; right: -60%; }
  html[lang="en"] #app-root .hero__headline {
    max-width: 340px;
    font-size: clamp(1.65rem, 7.4vw, 1.85rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal;
    word-break: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid__layer { animation: none !important; }
  .hero-grid__glow { filter: blur(120px); opacity: 0.14; }
}
html[data-motion="reduced"] .hero-grid__layer { animation: none !important; }

/* Hero CTAs: row flex sizing only. Chrome lives on .rainbow-button. */
.hero__cta {
  flex: 1 1 260px;
  max-width: 360px;
  white-space: normal;
}
.hero__secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 18px;
  color: var(--text-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  transition:
    color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--ease-out);
}
.hero__secondary-cta:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--text) 7%, transparent);
  transform: translateY(-1px);
}
.hero__secondary-cta:focus-visible {
  outline: 2px solid var(--ant-cyan);
  outline-offset: 3px;
}
.hero__secondary-cta span[aria-hidden="true"] {
  transition: transform var(--motion-fast) var(--ease-out);
}
.hero__secondary-cta:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}
.hero__trust { opacity: 0.92; }
.hero__badge { transition: border-color 180ms ease, background-color 180ms ease; }

.service-card {
  --service-accent: var(--ant-cyan);
  width: 100%;
  padding: 0;
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.service-card[data-service="cctv"] { --service-accent: var(--ant-cyan); }
.service-card[data-service="access"] { --service-accent: var(--ant-purple); }
.service-card[data-service="network"] { --service-accent: var(--ant-amber); }
.service-card__icon {
  color: var(--service-accent);
  background: color-mix(in srgb, var(--service-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--service-accent) 24%, transparent);
}
/* service-card hover border handled by .bento-card:hover when photo-overlay */

/* ─── Photo-overlay bento cards (shared) ─────────────────────────────────
   Full-bleed editorial photo + bottom scrim + text on the image.
   Used by: planning duo, services, industries.
   ──────────────────────────────────────────────────────────────────────── */
.bento-duo__grid,
.bento-grid {
  display: grid;
  gap: 16px;
}
.bento-duo__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bento-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .bento-duo__grid,
  .bento-grid { gap: 20px; }
}
@media (max-width: 900px) {
  .bento-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bento-duo__grid { grid-template-columns: 1fr; }
}

.bento-card {
  --bento-a: #185cb0;
  --bento-c: #22d3ee;
  --service-accent: var(--bento-c);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  background: var(--surface, #0a0e18);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  transition:
    transform 240ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 240ms ease,
    box-shadow 240ms ease;
}
/* Slightly shorter tiles in 3-col grids */
.bento-card--tile {
  min-height: 380px;
}
.bento-card--estimate { --bento-a: #185cb0; --bento-c: #22d3ee; }
.bento-card--consult { --bento-a: #874352; --bento-c: #a78bfa; }
.bento-card.service-card[data-service="cctv"] {
  --bento-a: #0e7490;
  --bento-c: var(--ant-cyan, #22d3ee);
  --service-accent: var(--ant-cyan, #22d3ee);
}
.bento-card.service-card[data-service="access"] {
  --bento-a: #6d28d9;
  --bento-c: var(--ant-purple, #a78bfa);
  --service-accent: var(--ant-purple, #a78bfa);
}
.bento-card.service-card[data-service="network"] {
  --bento-a: #b45309;
  --bento-c: var(--ant-amber, #fbbf24);
  --service-accent: var(--ant-amber, #fbbf24);
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--bento-a) 42%, transparent);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.36);
}
.bento-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--bento-a) 70%, #fff);
  outline-offset: 3px;
}

/* Full-bleed editorial photo */
.bento-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--surface, #0a0e18);
}
.bento-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.001);
  transition: transform var(--motion-slow, 0.55s) var(--ease-smooth, cubic-bezier(0.22, 1, 0.36, 1));
}
html:not(.light-mode) .bento-card__image {
  filter: saturate(0.92) contrast(1.02);
}
.bento-card:hover .bento-card__image {
  transform: scale(1.04);
}

/* Soft bottom scrim — text on photo */
.bento-card__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 16, 0.12) 0%,
    rgba(5, 8, 16, 0.08) 28%,
    rgba(5, 8, 16, 0.55) 52%,
    rgba(5, 8, 16, 0.92) 78%,
    rgba(5, 8, 16, 0.98) 100%
  );
}

.bento-card__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
}
.bento-card--tile .bento-card__content {
  padding: 22px 22px 24px;
}
.bento-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--service-accent, var(--bento-c));
  background: color-mix(in srgb, var(--service-accent, var(--bento-c)) 16%, rgba(0, 0, 0, 0.35));
  border: 1px solid color-mix(in srgb, var(--service-accent, var(--bento-c)) 32%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bento-card__icon svg {
  width: 20px;
  height: 20px;
}
.bento-card__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.72);
}
.bento-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
}
.bento-card--tile .bento-card__title {
  font-size: 1.15rem;
}
.bento-card__desc {
  margin: 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.88);
}
.bento-card--tile .bento-card__desc {
  font-size: 13px;
  line-height: 1.55;
}
.bento-card__cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: color-mix(in srgb, var(--bento-c) 40%, #fff);
  transition: gap 200ms ease, color 200ms ease;
}
.bento-card:hover .bento-card__cta {
  gap: 10px;
  color: #fff;
}

html.light-mode .bento-card {
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}
html.light-mode .bento-card__fade {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 24, 0.08) 0%,
    rgba(8, 12, 24, 0.2) 35%,
    rgba(8, 12, 24, 0.72) 62%,
    rgba(8, 12, 24, 0.94) 100%
  );
}
html.light-mode .bento-card__image {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .bento-card:hover { transform: none; }
  .bento-card:hover .bento-card__image { transform: none; }
}

@media (hover: none), (pointer: coarse) {
  .bento-card:hover { transform: none; }
  .bento-card:hover .bento-card__image { transform: none; }
}

@property --gemini-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.gemini-cta {
  --gemini-angle: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f8fafc;
  background:
    linear-gradient(#09111f, #09111f) padding-box,
    conic-gradient(from var(--gemini-angle), #4285f4, #9b72cb, #d96570, #f2a60c, #34a853, #4285f4) border-box;
  box-shadow: 0 0 22px rgba(66,133,244,.18), 0 0 28px rgba(155,114,203,.12);
  animation: gemini-border-cycle 4.6s linear infinite;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-base) ease;
}
.gemini-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px;
  opacity: .24;
  background: conic-gradient(from var(--gemini-angle), #4285f4, #9b72cb, #d96570, #f2a60c, #34a853, #4285f4);
  filter: blur(18px);
}
.gemini-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(66,133,244,.3), 0 0 36px rgba(155,114,203,.22);
}
.gemini-cta:focus-visible { outline: 2px solid #8ab4f8; outline-offset: 4px; }
@keyframes gemini-border-cycle { to { --gemini-angle: 360deg; } }
html.light-mode .gemini-cta {
  color: #111827;
  background:
    linear-gradient(#f8fafc, #f8fafc) padding-box,
    conic-gradient(from var(--gemini-angle), #4285f4, #9b72cb, #d96570, #f2a60c, #34a853, #4285f4) border-box;
}
.audience-paths { padding-top: 16px; padding-bottom: 64px; }
.audience-paths__intro { max-width: 650px; margin: 0 auto 28px; text-align: center; }
.audience-paths__intro h2 { margin: 16px 0 10px; color: var(--text); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: var(--tracking-head); }
.audience-paths__intro p { margin: 0; color: var(--text-2); line-height: 1.65; font-size: 15px; }
.audience-paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.audience-path {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 210px;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: var(--elevation-panel);
  transition: transform var(--motion-fast) var(--ease-out), border-color var(--motion-fast) ease;
}
.audience-path:hover { transform: translateY(calc(var(--motion-distance-xs) * -1)); border-color: color-mix(in srgb, var(--ant-cyan) 50%, transparent); box-shadow: var(--elevation-active); }
.audience-path__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--ant-cyan); background: color-mix(in srgb, var(--ant-cyan) 12%, transparent); }
.audience-path__icon svg { width: 22px; height: 22px; }
.audience-path__content { display: flex; flex-direction: column; gap: 8px; }
.audience-path__eyebrow { color: var(--ant-cyan); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; }
.audience-path__content strong { color: var(--text); font-size: 18px; line-height: 1.25; }
.audience-path__content > span:last-child { color: var(--text-2); font-size: 13px; line-height: 1.55; }
.audience-path__link { grid-column: 1 / -1; align-self: end; color: var(--ant-cyan); font-size: 13px; font-weight: 700; }
.audience-path__link b { margin-left: 6px; font-size: 16px; }

.mobile-nav-toggle,
.mobile-nav-utility {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1px solid var(--border);
  border-radius: 10px;
  font: 700 12px/1 var(--font-sans);
}
.mobile-nav-panel { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 60; }
.mobile-nav-panel__inner { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 16px; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: var(--elevation-panel); backdrop-filter: blur(16px); }
.mobile-nav-link { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; color: var(--text-2); font-size: 14px; font-weight: 650; text-decoration: none; }
.mobile-nav-link:hover, .mobile-nav-link:focus-visible { color: var(--text); background: color-mix(in srgb, var(--ant-cyan) 10%, transparent); }
.mobile-nav-link--cta { color: #04111a; background: var(--ant-cyan); }

/* Matte-glass landing header. app.js toggles data-scrolled in its existing
   requestAnimationFrame scroll loop, so this is a paint-only transition. */
#main-header {
  --header-scroll: 0;
  --header-blur: 16px;
  --header-saturation: 120%;
  --header-shadow-alpha: 0.08;
  /* A generous safe inset keeps the brand and utility group near the
     viewport edges without making either feel attached to them. */
  padding: 0 clamp(16px, 4vw, 32px);
  transition: padding 220ms var(--ease-smooth);
}
#ant-nav {
  position: relative;
  isolation: isolate;
  width: min(100%, 72rem);
  min-height: 64px;
  margin: 16px auto;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  /* The clipped, frosted surface keeps blur and shadow inside the pill on
     every viewport, including Safari's backdrop compositing path. */
  background: linear-gradient(112deg, rgba(4, 8, 26, 0.80) 0%, rgba(33, 83, 176, 0.48) 55%, rgba(93, 114, 139, 0.46) 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, var(--header-shadow-alpha));
  backdrop-filter: blur(var(--header-blur)) saturate(var(--header-saturation));
  -webkit-backdrop-filter: blur(var(--header-blur)) saturate(var(--header-saturation));
  transition: border-color var(--motion-base) ease, background-color var(--motion-base) ease, border-radius var(--motion-base) var(--ease-smooth);
}
#ant-nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(108deg, rgba(4, 8, 26, 0.34), rgba(4, 8, 26, 0.08) 52%, rgba(33, 83, 176, 0.14));
  opacity: var(--header-layer-alpha, 0.08);
  pointer-events: none;
}
#ant-nav::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.26) 0%, rgba(207, 216, 227, 0.12) 28%, transparent 54%);
  pointer-events: none;
}
#ant-nav > * { position: relative; z-index: 1; }
.nav-brand, .nav-utilities, .nav-pill { display: flex; align-items: center; }
.nav-brand {
  justify-self: start;
  gap: 11px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
#ant-nav .brand-logo {
  box-sizing: border-box;
  width: 40px;
  height: 28px;
  padding: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: .86;
}
.nav-pill {
  justify-self: center;
  width: 100%;
  justify-content: center;
  gap: clamp(24px, 2vw, 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nav-link {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.12); font-weight: 800; }
.nav-utilities { justify-self: end; justify-content: flex-end; gap: 16px; }
.nav-lang, .nav-theme-btn, .mobile-nav-toggle {
  min-height: 38px;
  border: 1px solid transparent;
  color: var(--text-2);
  background: transparent;
  font: 750 12px/1 var(--font-sans);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.nav-lang { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; border-radius: 10px; will-change: transform, opacity; }
.nav-lang-opt { color: var(--text-3); transition: color 220ms var(--ease-smooth), opacity 180ms ease, transform 220ms var(--ease-smooth); }
.nav-lang-opt.is-active { color: var(--text); transform: translateY(-.5px); }
.nav-lang.is-switching { opacity: .42; transform: scale(.96); }
#app-root [data-cms-key] { transition: opacity 120ms ease; }
.language-switching [data-cms-key] { opacity: .62; transition: opacity 120ms ease; }
.nav-lang-divider { color: var(--text-3); font-weight: 400; }
.nav-theme-btn, .mobile-nav-toggle { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.nav-theme-btn { width: 38px; }
.nav-theme-btn span, .mobile-nav-toggle > span:first-child { display: inline-flex; width: 17px; height: 17px; }
.nav-theme-btn svg, .mobile-nav-toggle svg { width: 100%; height: 100%; }
.nav-lang:hover, .nav-theme-btn:hover, .mobile-nav-toggle:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); border-color: rgba(148, 163, 184, 0.18); }
.nav-theme-btn:hover { transform: translateY(-1px); }
.nav-utility-divider { width: 1px; height: 18px; margin: 0; background: color-mix(in srgb, var(--text) 18%, transparent); }
.nav-contact-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(220, 231, 255, .30);
  background: linear-gradient(128deg, rgba(24, 92, 176, .88) 0%, rgba(64, 74, 148, .80) 48%, rgba(135, 67, 82, .82) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(4,8,26,.20), 0 10px 22px rgba(33, 50, 102, .22);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out);
}
.nav-contact-cta:hover { color:#fff; filter:brightness(1.08) saturate(1.08); transform:translateY(-1px); box-shadow:inset 0 1px 0 rgba(255,255,255,.30), 0 14px 28px rgba(45,39,98,.30); }

#main-header[data-scrolled="true"] { padding-top: 0; }
#main-header[data-scrolled="true"] #ant-nav {
  width: min(100%, 72rem);
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-color: color-mix(in srgb, var(--ant-cyan) 23%, rgba(148, 163, 184, 0.26));
  border-radius: 999px;
}

.mobile-nav-toggle { display: none; gap: 7px; padding: 0 11px; }
.mobile-nav-panel {
  width: min(calc(100% - 24px), 680px);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(var(--motion-distance-sm) * -1));
  transition: opacity var(--motion-base) ease, transform var(--motion-base) var(--ease-out), visibility 0s linear var(--motion-base);
}
.mobile-nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.mobile-nav-panel__inner {
  gap: 5px;
  padding: 9px;
  border-color: rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(3, 9, 20, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}
.mobile-nav-link { min-height: 46px; border-radius: 11px; color: var(--text-2); font-weight: 700; }
.mobile-nav-link--cta { color: #f8fafc; background: #2d3034; }

html.light-mode #ant-nav { border-color: rgba(255, 255, 255, 0.62); background: linear-gradient(112deg, rgba(207, 216, 227, 0.78) 0%, rgba(133, 147, 163, 0.52) 54%, rgba(93, 114, 139, 0.42) 100%); box-shadow: 0 14px 34px rgba(4, 8, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.44); }
html.light-mode #ant-nav::before { background: linear-gradient(112deg, rgba(255, 255, 255, 0.22), rgba(33, 83, 176, 0.10) 62%, rgba(4, 8, 26, 0.08)); }
html.light-mode #ant-nav .brand-logo { background: transparent; filter: invert(1); }
html.light-mode .nav-link:hover, html.light-mode .nav-link:focus-visible { color: #000; background: rgba(0, 0, 0, 0.04); }
html.light-mode .nav-link.is-active { color: #000; background: rgba(0, 0, 0, 0.05); }
html.light-mode .nav-lang:hover, html.light-mode .nav-theme-btn:hover, html.light-mode .mobile-nav-toggle:hover { background: rgba(15, 23, 42, 0.06); border-color: rgba(15, 23, 42, 0.12); }
html.light-mode #main-header[data-scrolled="true"] #ant-nav { border-color: color-mix(in srgb, var(--ant-cyan) 25%, rgba(15, 23, 42, 0.16)); box-shadow: 0 16px 42px rgba(15, 23, 42, 0.13); }
html.light-mode .mobile-nav-panel__inner { border-color: rgba(15, 23, 42, 0.14); background: rgba(248, 250, 252, 0.92); box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14); }

/* Keep the utility block independent of the final navigation item. At this
   range the central row breathes less, rather than colliding with GE / EN. */
@media (max-width: 1220px) and (min-width: 1024px) {
  #ant-nav { gap: 12px; padding-right: 14px; padding-left: 14px; }
  .nav-pill { gap: clamp(12px, 1.25vw, 18px); }
  .nav-link { padding-right: 8px; padding-left: 8px; font-size: 11px; }
  .nav-utilities { gap: 10px; }
  .nav-contact-cta { padding-right: 15px; padding-left: 15px; }
}

#main-header :is(a, button):focus-visible { outline: 2px solid var(--ant-cyan); outline-offset: 3px; }

/* Editorial overline used only for the process section: precise and quiet,
   without the generic startup-style pill treatment. */
.process-kicker {
  display: inline-grid;
  grid-template-columns: 32px auto 32px;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}
.process-kicker > span:not(:nth-child(2)) { height: 1px; background: color-mix(in srgb, var(--text) 22%, transparent); }
.process-kicker > span:nth-child(2) { white-space: nowrap; }
html.light-mode .process-kicker > span:not(:nth-child(2)) { background: rgba(15, 23, 42, 0.18); }

/* Decree #101 compliance split-panel (replaces cyber-card grid) ------------- */
.regulations-section {
  isolation: isolate;
}
.regulations-shell {
  width: min(100%, 1152px);
  margin: 0 auto;
}
.regulations-heading .process-kicker {
  margin-inline: auto;
}
.regulations-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}
html:not(.light-mode) .regulations-panel {
  background: color-mix(in srgb, #0b1220 88%, transparent);
  border-color: rgba(220, 231, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.regulations-panel__media {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: #0a101c;
}
.regulations-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, color-mix(in srgb, var(--surface) 55%, transparent));
}
html:not(.light-mode) .regulations-panel__media::after {
  background: linear-gradient(90deg, transparent 50%, rgba(11, 18, 32, 0.55));
}
.regulations-panel__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
html:not(.light-mode) .regulations-panel__image {
  filter: brightness(0.82) saturate(0.8) contrast(1.03);
}
.regulations-panel__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 28px 24px;
  min-width: 0;
}
.regulations-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.regulations-check {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.regulations-check:first-child { padding-top: 0; }
.regulations-check:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.regulations-check__text h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.regulations-check__text p {
  margin: 0;
  color: var(--text-2, var(--text-dim, #94a3b8));
  font-size: 0.875rem;
  line-height: 1.55;
}
.regulations-panel__cta {
  align-self: flex-start;
  margin-top: 4px;
}
@media (max-width: 899px) {
  .regulations-panel {
    grid-template-columns: 1fr;
  }
  .regulations-panel__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .regulations-panel__media::after {
    background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--surface) 70%, transparent));
  }
  html:not(.light-mode) .regulations-panel__media::after {
    background: linear-gradient(180deg, transparent 52%, rgba(11, 18, 32, 0.72));
  }
  .regulations-panel__image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .regulations-panel__body {
    padding: 22px 20px 20px;
  }
}

.site-footer .brand-logo { display: block; width: 40px; height: 28px; object-fit: contain; }
html.light-mode .site-footer .brand-logo { filter: invert(1); }

/* Editorial photography system -------------------------------------------------
   Hero product stage lives in .hero-stage (see above). Card/strip frames below. */
.homepage-editorial {
  width: min(100%, 1184px);
  margin: -20px auto 0;
  padding-bottom: 64px;
}
.homepage-editorial__frame,
.section-visual-strip {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}
.section-visual-strip {
  width: 100%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}
.homepage-editorial__frame::after,
.section-visual-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 64%, rgba(3, 9, 20, 0.18));
}
.homepage-editorial__image,
.section-visual-strip__image,
.editorial-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html:not(.light-mode) .homepage-editorial__image,
html:not(.light-mode) .section-visual-strip__image,
html:not(.light-mode) .editorial-card__image {
  filter: brightness(.80) saturate(.78) contrast(1.03);
}

/* Process accordion --------------------------------------------------------- */
.process-section {
  isolation: isolate;
  overflow: hidden;
}
.process-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 44% at 12% 62%, rgba(24, 92, 176, .10), transparent 76%),
    radial-gradient(ellipse 34% 42% at 84% 28%, rgba(135, 67, 82, .09), transparent 76%),
    radial-gradient(ellipse 36% 38% at 58% 74%, rgba(64, 74, 148, .07), transparent 78%);
  filter: blur(18px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.process-shell {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
}
.process-heading { position: relative; z-index: 2; }
.process-accordion {
  display: flex;
  align-items: stretch;
  gap: 12px;
  height: clamp(500px, 48vw, 580px);
}
.process-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 255, .13);
  border-radius: 22px;
  background: #080b12;
  box-shadow: 0 24px 62px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: translateZ(0);
  transition: flex-grow 520ms var(--ease-smooth), border-color 260ms ease, box-shadow 320ms ease, transform 260ms var(--ease-out);
}
.process-panel.is-active { flex-grow: 3; }
.process-panel::before,
.process-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.process-panel::before {
  z-index: 1;
  background:
    linear-gradient(to top, #020617 0%, rgba(2, 6, 23, .92) 28%, rgba(2, 6, 23, .44) 58%, transparent 100%),
    linear-gradient(90deg, rgba(2, 6, 23, .34), transparent 68%);
  transition: background-color 320ms ease;
}
.process-panel:not(.is-active)::before {
  background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, .88) 40%, rgba(2, 6, 23, .34) 100%);
}
.process-panel::after {
  z-index: 2;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(24, 92, 176, .16), transparent 36%, transparent 66%, rgba(135, 67, 82, .13));
  box-shadow: inset 0 0 0 1px rgba(196, 211, 255, .08);
  transition: opacity 320ms ease;
}
.process-panel.is-active {
  border-color: rgba(181, 202, 255, .27);
  box-shadow: 0 30px 74px rgba(0, 0, 0, .34), 0 10px 34px rgba(40, 55, 116, .16), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.process-panel.is-active::after { opacity: 1; }
.process-panel__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--process-focus, 50% 50%);
  filter: brightness(.76) saturate(.76) contrast(1.04);
  transform: scale(1.001);
  transition: transform 520ms var(--ease-smooth), filter 320ms ease;
  will-change: transform;
}
.process-panel.is-active .process-panel__image { filter: brightness(.84) saturate(.82) contrast(1.03); }
.process-panel__select {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.process-panel__select:focus-visible {
  outline: 3px solid var(--color-accent-cyan);
  outline-offset: -5px;
  border-radius: 22px;
}
.process-panel__rail {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  padding: 30px 18px;
  color: #fff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 180ms ease, transform 360ms var(--ease-smooth), visibility 0s linear 0s;
}
.process-panel.is-active .process-panel__rail {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 150ms ease, transform 260ms var(--ease-smooth), visibility 0s linear 180ms;
}
.process-panel__rail-number {
  display: none;
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .72);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: .08em;
}
.process-panel__rail-title {
  position: static;
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.01em;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.process-panel__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
  padding: clamp(30px, 4vw, 48px);
  color: #fff;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 190ms ease, transform 300ms var(--ease-smooth), visibility 0s linear 300ms;
}
.process-panel.is-active .process-panel__content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease 150ms, transform 360ms var(--ease-smooth) 120ms, visibility 0s linear 0s;
}
.process-panel__content h3 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .30);
}
.process-panel__content p {
  max-width: 60ch;
  margin: 14px 0 24px;
  color: rgba(242, 246, 255, .76);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .42);
}
.process-panel__action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(220, 231, 255, .30);
  border-radius: 999px;
  padding: 0 21px;
  color: #fff;
  background: linear-gradient(128deg, rgba(24, 92, 176, .92) 0%, rgba(64, 74, 148, .86) 48%, rgba(135, 67, 82, .88) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 12px 28px rgba(33, 50, 102, .28);
  font: 650 13px/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--motion-fast) var(--ease-out), filter var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.process-panel__action:focus-visible {
  outline: 3px solid #9bc5ff;
  outline-offset: 4px;
}
html.light-mode .process-section::before {
  opacity: .45;
  background:
    radial-gradient(ellipse 40% 46% at 10% 60%, rgba(24, 92, 176, .08), transparent 76%),
    radial-gradient(ellipse 35% 44% at 86% 28%, rgba(135, 67, 82, .06), transparent 76%),
    radial-gradient(ellipse 36% 40% at 58% 76%, rgba(64, 74, 148, .05), transparent 78%);
}
html.light-mode .process-panel {
  border-color: rgba(30, 41, 74, .17);
  box-shadow: 0 26px 64px rgba(15, 23, 42, .16), inset 0 1px 0 rgba(255, 255, 255, .24);
}
html.light-mode .process-panel.is-active {
  border-color: rgba(55, 86, 158, .32);
  box-shadow: 0 30px 72px rgba(15, 23, 42, .19), 0 10px 32px rgba(49, 68, 132, .13), inset 0 1px 0 rgba(255, 255, 255, .28);
}
html.light-mode .process-panel__image { filter: brightness(.82) saturate(.78) contrast(1.02); }
html.light-mode .process-panel.is-active .process-panel__image { filter: brightness(.88) saturate(.84) contrast(1.02); }

@media (hover: hover) and (pointer: fine) {
  .process-panel:not(.is-active):hover {
    border-color: rgba(171, 196, 255, .28);
    box-shadow: 0 28px 68px rgba(0, 0, 0, .32), 0 8px 24px rgba(40, 55, 116, .14);
  }
  .process-panel:not(.is-active):hover .process-panel__image { transform: scale(1.02); }
  .process-panel__action:hover {
    color: #fff;
    filter: brightness(1.09) saturate(1.08);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 16px 34px rgba(45, 39, 98, .34);
  }
}

@media (max-width: 899px) {
  .process-accordion {
    flex-direction: column;
    height: 668px;
  }
  .process-panel {
    flex: 0 0 92px;
    width: 100%;
    min-height: 0;
    height: auto;
    border-radius: 20px;
    transition: flex-grow 520ms var(--ease-smooth), flex-basis 520ms var(--ease-smooth), border-color 260ms ease, box-shadow 320ms ease;
  }
  .process-panel.is-active { flex: 1 1 auto; }
  .process-panel__rail {
    align-items: center;
    gap: 16px;
    padding: 0 24px;
  }
  .process-panel__rail-number,
  .process-panel__rail-title {
    position: static;
    transform: none;
  }
  .process-panel__rail-number {
    display: block;
    flex: 0 0 auto;
    color: rgba(183, 207, 255, .88);
  }
  .process-panel__rail-title {
    max-height: none;
    color: #fff;
    font-size: 16px;
    white-space: normal;
    -webkit-line-clamp: 2;
  }
  .process-panel__content { max-width: 680px; }
  .process-panel__content h3 { max-width: 18ch; font-size: clamp(29px, 6vw, 40px); }
  .process-panel__content p { font-size: 14px; }
}

@media (max-width: 640px) {
  .process-section { padding-right: 12px !important; padding-left: 12px !important; }
  .process-heading { margin-bottom: 28px !important; }
  .process-accordion {
    gap: 9px;
    height: calc(clamp(390px, 112vw, 440px) + 186px);
  }
  .process-panel { flex-basis: 84px; border-radius: 17px; }
  .process-panel__select:focus-visible { border-radius: 17px; }
  .process-panel__rail { gap: 13px; padding: 0 18px; }
  .process-panel__rail-title { font-size: 14px; }
  .process-panel__content { padding: 24px 20px 22px; }
  .process-panel__content h3 { font-size: clamp(25px, 8vw, 32px); }
  .process-panel__content p { margin: 11px 0 18px; font-size: 13px; line-height: 1.55; }
  .process-panel__action { min-height: 45px; padding: 0 18px; font-size: 12px; }
}

.editorial-card {
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}
.editorial-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent);
  background: var(--surface);
}
.editorial-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 9, 20, 0.14));
}
.editorial-card__image { transition: transform var(--motion-slow) var(--ease-smooth); }
.editorial-card:hover .editorial-card__image { transform: scale(1.025); }
.editorial-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}
.editorial-card__title,
.editorial-card__copy { display: block; }
.editorial-card__copy { margin-top: 8px; }

@media (max-width: 640px) {
  .homepage-editorial { margin-top: 0; padding-bottom: 36px; }
  .homepage-editorial__frame,
  .section-visual-strip { border-radius: 16px; }
  .editorial-card__body { padding: 20px; }
}

@media (max-width: 1023px) {
  #ant-nav { grid-template-columns: 1fr auto; min-height: 60px; padding-left: 14px; padding-right: 14px; }
  .nav-pill, .nav-contact-cta, .nav-utility-divider { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .hero-shell { min-height: auto; }
}
@media (max-width: 640px) {
  #main-header { padding: 0 12px; }
  #ant-nav { min-height: 56px; padding: 6px 8px 6px 12px; border-radius: 999px; gap: 8px; }
  #main-header[data-scrolled="true"] { padding-top: 0; }
  #main-header[data-scrolled="true"] #ant-nav { min-height: 56px; border-radius: 999px; }
  .nav-brand { gap: 8px; font-size: 13px; }
  #ant-nav .brand-logo { width: 34px; height: 24px; padding: 0; border-radius: 0; }
  .nav-utilities { gap: 3px; }
  .nav-lang { padding: 0 6px; gap: 4px; }
  .nav-theme-btn { width: 34px; }
  .mobile-nav-toggle { min-width: 38px; padding: 0 9px; }
  .mobile-nav-toggle > span:last-child { display: none; }
  .hero-shell { padding-top: 102px !important; padding-bottom: 32px !important; }
  .hero__headline { font-size: clamp(2.1rem, 10.4vw, 2.7rem) !important; }
  .hero__subtitle { margin-top: 14px; margin-bottom: 22px; font-size: 14px !important; }
  .hero__actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero__cta { width: 100%; max-width: none; flex-basis: 52px; }
  .hero__secondary-cta { width: 100%; min-height: 44px; padding: 8px 14px; }
  .hero__trust { margin-top: 24px !important; }
  .hero__trust .hero__badge:nth-child(n + 3) { display: none; }
  .audience-paths { padding-top: 12px; padding-bottom: 44px; }
  .audience-paths__grid { grid-template-columns: 1fr; }
  .audience-path { min-height: 0; padding: 20px; }
  .audience-path__content strong { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ant-aurora { display: none; }
  #main-header, #ant-nav { transition: none; }
  html.theme-transition::before { animation: none; }
  .contact-department__indicator, .contact-desk__form-head { transition: none; }
  .gemini-cta { animation: none !important; }
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover,
  .audience-path:hover { transform: translateY(calc(var(--motion-distance-xs) * -1)); }
}

@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .btn-icon:hover,
  .bento-card:hover,
  .audience-path:hover,
  .hero__cta.rainbow-button:hover,
  .hero__secondary-cta:hover,
  .nav-theme-btn:hover,
  .nav-contact-cta:hover,
  .editorial-card:hover .editorial-card__image,
  .bento-card:hover .bento-card__image { transform: none !important; }
  .nav-contact-cta:hover { filter: none !important; }
}

/* Service Enterprise Modal */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  overflow-y: auto;
  box-sizing: border-box;
}

.service-modal-overlay.is-active {
  display: flex;
  animation: modalOverlayFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.service-modal-card {
  position: relative;
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 380px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: modalCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalCardPop {
  from { opacity: 0; transform: scale(0.96) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.service-modal-body {
  padding: 36px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.service-modal-content {
  display: flex;
  flex-direction: column;
}

.service-modal-header {
  margin-bottom: 20px;
}

.service-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--ant-cyan, #00E6B8);
  background: rgba(0, 230, 184, 0.1);
  border: 1px solid rgba(0, 230, 184, 0.22);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-modal-title {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-modal-subtitle {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.55;
}

.service-modal-section {
  margin-top: 4px;
}

.service-modal-section-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

.service-modal-bullets {
  display: grid;
  gap: 10px;
}

.service-modal-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-modal-bullet-item:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}

.service-modal-bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-modal-bullet-item:hover .service-modal-bullet-icon {
  transform: scale(1.08);
}

.service-modal-svg {
  width: 18px;
  height: 18px;
}

/* Vibrant Colorful Micro-Badges */
.icon-variant-camera {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(59, 130, 246, 0.28) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.22);
}

.icon-variant-shield {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 182, 212, 0.28) 100%);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

.icon-variant-ai {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24) 0%, rgba(217, 70, 239, 0.28) 100%);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.26);
}

.icon-variant-mobile {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(2, 132, 199, 0.28) 100%);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.22);
}

.icon-variant-lock {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(249, 115, 22, 0.28) 100%);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
}

.icon-variant-clock {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22) 0%, rgba(20, 184, 166, 0.28) 100%);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.4);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.22);
}

.icon-variant-alert {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.22) 0%, rgba(225, 29, 72, 0.28) 100%);
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.4);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.22);
}

.icon-variant-building {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(168, 85, 247, 0.28) 100%);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.22);
}

.icon-variant-zap {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.24) 0%, rgba(245, 158, 11, 0.28) 100%);
  color: #fde047;
  border: 1px solid rgba(253, 224, 71, 0.4);
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.24);
}

.icon-variant-plug {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.22) 0%, rgba(16, 185, 129, 0.28) 100%);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.22);
}

.icon-variant-wifi {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.28) 100%);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}

.icon-variant-check {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.28) 100%);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

.service-modal-bullet-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-modal-bullet-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
}

.service-modal-bullet-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.45;
}

.service-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.service-modal-btn-primary {
  width: min(100%, 300px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4) !important;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease !important;
}

.service-modal-btn-primary:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.5) !important;
}
.service-modal-btn-primary:focus-visible,
.service-modal-close:focus-visible {
  outline: 2px solid var(--ant-cyan);
  outline-offset: 3px;
}

.service-modal-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease !important;
}

.service-modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

.service-modal-btn-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.service-modal-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: #090d16;
}

.service-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-modal-media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  pointer-events: none;
}

.service-modal-media-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 650;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.service-modal-media-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E6B8;
  box-shadow: 0 0 8px #00E6B8;
  flex-shrink: 0;
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.service-modal-close-svg {
  width: 16px;
  height: 16px;
}

.service-modal-close:hover {
  transform: scale(1.08);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Light Mode Styling Overrides */
html.light-mode .service-modal-card {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.16);
}

html.light-mode .service-modal-eyebrow {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.2);
}

html.light-mode .service-modal-title { color: #0f172a; }
html.light-mode .service-modal-subtitle { color: #475569; }
html.light-mode .service-modal-section-title { color: #64748b; }

html.light-mode .service-modal-bullet-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html.light-mode .service-modal-bullet-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

html.light-mode .service-modal-bullet-icon {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.2);
}

html.light-mode .service-modal-bullet-title { color: #0f172a; }
html.light-mode .service-modal-bullet-desc { color: #475569; }

html.light-mode .service-modal-actions {
  border-top-color: rgba(226, 232, 240, 0.8);
}

html.light-mode .service-modal-btn-secondary {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

html.light-mode .service-modal-btn-secondary:hover {
  background: #e2e8f0 !important;
}

html.light-mode .service-modal-close {
  background: rgba(255, 255, 255, 0.8);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

html.light-mode .service-modal-close:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.3);
}

@media (max-width: 767px) {
  .service-modal-card {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
  .service-modal-media {
    order: -1;
    height: 200px;
    min-height: 200px;
  }
  .service-modal-body {
    padding: 24px 20px;
  }
}
