/* Silicon Valley Robotics Center — Professional Tech Design System */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --color-bg: #08090b;
  --color-bg-deep: #050608;
  --color-bg-elevated: #0e1014;
  --color-bg-card: #111318;
  --color-surface: #161a20;
  --color-surface-hover: #1c2129;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-hover: rgba(255, 255, 255, 0.14);
  --color-border-glow: rgba(200, 245, 60, 0.2);
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-dim: #7a8fa8;
  --color-accent: #c8f53c;
  --color-accent-dim: rgba(200, 245, 60, 0.10);
  --color-accent-glow: rgba(200, 245, 60, 0.22);
  --color-accent-amber: #fbbf24;
  --color-accent-amber-dim: rgba(251, 191, 36, 0.12);
  --font-display: 'Syne', 'SF Pro Display', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 245, 60, 0.06);
  --shadow-glow: 0 0 24px rgba(200, 245, 60, 0.08);
  --env-banner-height: 0px;
  /* Motion preset (current: medium)
     Low:    shift-x-hover 1px, shift-x-active 0.5px, lift-y-hover -0.5px, press-soft 0.998, press-strong 0.995
     Medium: shift-x-hover 2px, shift-x-active 1px,   lift-y-hover -1px,   press-soft 0.995, press-strong 0.99
     High:   shift-x-hover 3px, shift-x-active 1.5px, lift-y-hover -2px,   press-soft 0.992, press-strong 0.985
  */
  --ui-motion-shift-x-hover: 2px;
  --ui-motion-shift-x-active: 1px;
  --ui-motion-lift-y-hover: -1px;
  --ui-motion-press-scale-soft: 0.995;
  --ui-motion-press-scale-strong: 0.99;
  --ui-motion-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.22);
}

[data-theme="light"] {
  --color-bg: #f5f7fb;
  --color-bg-deep: #eff3f9;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-surface: #edf2f8;
  --color-surface-hover: #e4ebf4;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-border-hover: rgba(15, 23, 42, 0.22);
  --color-border-glow: rgba(37, 99, 235, 0.22);
  --color-text: #0f172a;
  --color-text-muted: #334155;
  --color-text-dim: #64748b;
  --color-accent: #2563eb;
  --color-accent-dim: rgba(37, 99, 235, 0.12);
  --color-accent-glow: rgba(37, 99, 235, 0.2);
  --color-accent-amber: #b45309;
  --color-accent-amber-dim: rgba(180, 83, 9, 0.14);
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 16px 34px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(37, 99, 235, 0.1);
  --shadow-glow: 0 0 18px rgba(37, 99, 235, 0.12);
  --ui-motion-shadow-hover: 0 8px 18px rgba(15, 23, 42, 0.14);
}

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

:focus-visible {
  outline: 2px solid var(--color-accent, #2563eb);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  background-image: 
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(200, 245, 60, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(200, 245, 60, 0.02) 0%, transparent 40%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8f53c 0%, #38bdf8 50%, #c8f53c 100%);
  background-size: 200% 100%;
  animation: accent-bar-shift 6s linear infinite;
  z-index: 10000;
  pointer-events: none;
}
[data-theme="light"] body::before {
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
  background-size: 200% 100%;
  animation: accent-bar-shift 6s linear infinite;
}
@keyframes accent-bar-shift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Header */
.site-header {
  position: fixed;
  top: var(--env-banner-height);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.875rem 2rem;
  background: rgba(6, 8, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.14);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 7, 10, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 245, 60, 0.12);
}
[data-theme="light"] .site-header.scrolled {
  background: rgba(245, 247, 251, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}
/* JS: document.addEventListener('scroll', () => {
   document.querySelector('.site-header').classList.toggle('scrolled', window.scrollY > 40);
}); — add to script.js or inline */

.nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  padding: 0.34rem 0.62rem 0.38rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-border-hover) 82%, transparent);
  background: color-mix(in srgb, var(--color-bg-elevated) 84%, transparent);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-shadow: 0 1px 12px rgba(2, 6, 23, 0.32);
  isolation: isolate;
}

.logo:hover {
  border-color: color-mix(in srgb, var(--color-accent) 26%, var(--color-border-hover));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-wrapper .logo-dropdown {
  left: 0;
  min-width: 180px;
}

.logo-wrapper:hover .logo-dropdown,
.logo-wrapper:focus-within .logo-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo span {
  color: var(--color-accent);
  text-shadow: 0 0 18px rgba(200, 245, 60, 0.36);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.svrc-fi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.42rem;
  color: var(--color-accent);
  font-size: 0.86em;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(0.5px);
}

.section-label .svrc-fi,
.section-title .svrc-fi {
  margin-right: 0.5rem;
  font-size: 0.9em;
}

.footer-links .svrc-fi,
.action-bar .svrc-fi,
.hero-cta .svrc-fi {
  font-size: 0.9em;
}

.footer-bottom .svrc-fi {
  font-size: 0.9em;
}

.operations-map-section {
  padding-top: 1.5rem;
}

.operations-map-subtitle {
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0.5rem auto 0;
}

.operations-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.operations-map-canvas {
  width: 100%;
  min-height: 460px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.operations-map-legend {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.operations-map-legend h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
}

.operations-map-legend ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.operations-map-legend li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 0.35rem;
}

.operations-map-legend li a {
  color: var(--color-text);
  font-weight: 600;
}

.operations-map-legend li a:hover {
  color: var(--color-accent);
}

.operations-map-legend li span {
  color: var(--color-text-dim);
  font-size: 0.86rem;
}

.operations-map-legend p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .operations-map-layout {
    grid-template-columns: 1fr;
  }

  .operations-map-canvas {
    min-height: 360px;
  }
}

.nav-links a:hover { color: var(--color-text); }

.nav-links > li:last-child > a {
  color: var(--color-accent);
  font-weight: 700;
  padding: 0.38rem 0.78rem 0.42rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 48%, transparent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  box-shadow: 0 8px 18px rgba(200, 245, 60, 0.16);
}

.nav-links > li:last-child > a:hover {
  color: var(--color-text);
  border-color: color-mix(in srgb, var(--color-accent) 72%, transparent);
  background: color-mix(in srgb, var(--color-accent) 20%, transparent);
  box-shadow: 0 10px 22px rgba(200, 245, 60, 0.22);
}

/* Contact link in nav-cta (desktop fallback when nav-links Contact not visible) */
.nav-contact-cta {
  display: none;
}
@media (min-width: 1101px) {
  .nav-contact-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    padding: 0.38rem 0.78rem 0.42rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-accent) 48%, transparent);
    background: color-mix(in srgb, var(--color-accent) 12%, transparent);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-contact-cta:hover {
    color: var(--color-text);
    border-color: color-mix(in srgb, var(--color-accent) 72%, transparent);
    background: color-mix(in srgb, var(--color-accent) 20%, transparent);
  }
  /* Hide the nav-links Contact pill on desktop since nav-cta has it */
  .nav-links > li:last-child > a.nav-contact-pill {
    display: none;
  }
}

/* Legacy nav-search-cart (guide/subpage templates) — normalize to match nav-cta */
.nav-search-cart {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-shrink: 0;
}
.nav-search-cart .nav-search-form {
  display: flex;
  align-items: center;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-card);
  overflow: hidden;
  max-width: min(180px, 22vw);
}
.nav-search-cart .nav-search-input {
  background: transparent;
  border: none;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text);
  min-width: 0;
  flex: 1;
}
.nav-search-cart .nav-search-input::placeholder {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
.nav-search-cart .nav-search-btn {
  background: transparent;
  border: none;
  border-left: 1px solid var(--color-border);
  padding: 0 0.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--color-text-muted);
}
.nav-search-cart .nav-search-btn img {
  display: none;
}
.nav-search-cart .nav-search-btn::before {
  content: '⌕';
  font-size: 1.1rem;
  line-height: 1;
}
/* Cart link: secondary style (not loud blue) */
.nav-search-cart a.btn-primary,
.nav-search-cart a.btn-primary.btn-sm {
  background: var(--color-bg-elevated) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: none !important;
  color: var(--color-text-muted) !important;
  font-size: 0.8rem;
  padding: 0.38rem 0.7rem;
  min-height: 34px;
}
.nav-search-cart a.btn-primary:hover,
.nav-search-cart a.btn-primary.btn-sm:hover {
  border-color: var(--color-border-hover) !important;
  color: var(--color-text) !important;
}

/* Dropdown */
.nav-dropdown-trigger {
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.nav-dropdown-trigger:hover { color: var(--color-text); }

.nav-dropdown-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.2rem;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  min-width: 200px;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
}

.nav-links > li:hover .nav-dropdown,
.nav-dropdown-trigger:focus + .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-inner {
  background: color-mix(in srgb, var(--color-bg-elevated) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border-hover) 88%, transparent);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-dropdown .svrc-fi {
  flex-shrink: 0;
}

.nav-dropdown a:hover {
  color: var(--color-accent);
  background: rgba(200, 245, 60, 0.06);
}

.nav-dropdown a.nav-priority-link {
  color: var(--color-text);
  font-weight: 700;
  background: rgba(200, 245, 60, 0.08);
  border-left: 2px solid var(--color-accent);
  padding-left: calc(1rem - 2px);
}

.nav-dropdown a.nav-priority-link:hover {
  background: rgba(200, 245, 60, 0.14);
  transform: translateX(var(--ui-motion-shift-x-hover));
  box-shadow: 0 4px 14px rgba(200, 245, 60, 0.14);
}

.nav-dropdown a.nav-secondary-link {
  color: var(--color-text-muted);
}

.nav-dropdown a.nav-priority-link:focus-visible,
.nav-dropdown a.nav-secondary-link:focus-visible {
  outline: 2px solid transparent;
  transform: translateX(var(--ui-motion-shift-x-hover));
  box-shadow: 0 0 0 2px var(--color-accent-dim);
}

.nav-dropdown a.nav-priority-link:active,
.nav-dropdown a.nav-secondary-link:active {
  transform: translateX(var(--ui-motion-shift-x-active)) scale(var(--ui-motion-press-scale-soft));
}

.nav-cta {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.theme-switcher,
.locale-switcher {
  min-height: 36px;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.locale-switcher {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 12px 12px;
}

.theme-switcher:focus,
.locale-switcher:focus {
  outline: 2px solid transparent;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.global-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.nav-inline-search {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
  max-width: 360px;
  width: min(32vw, 360px);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-card);
  overflow: hidden;
  position: relative;
}

.nav-cta-commerce .nav-inline-search {
  min-width: 220px;
  width: clamp(220px, 24vw, 320px);
}

.nav-inline-search-input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.8rem;
  padding: 0.48rem 0.62rem 0.48rem 0.72rem;
}

.nav-inline-search-input::placeholder {
  color: var(--color-text-dim);
}

.nav-inline-search-input:focus {
  outline: 2px solid transparent;
}

.nav-inline-search:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.nav-inline-search-submit {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  padding: 0 0.62rem;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-inline-search-submit:hover {
  color: var(--color-text);
}

.nav-inline-search-submit svg {
  width: 16px;
  height: 16px;
}

.nav-inline-suggest {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-elevated);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  z-index: 320;
  max-height: min(58vh, 360px);
  overflow: auto;
}

.nav-inline-search.is-open .nav-inline-suggest {
  display: flex;
}

.nav-inline-suggest-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  padding: 0.44rem 0.5rem;
  text-align: left;
  cursor: pointer;
}

.nav-inline-suggest-item:hover,
.nav-inline-suggest-item.is-active {
  border-color: var(--color-border);
  background: var(--color-bg-card);
}

.nav-inline-suggest-badge {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-dim);
  border-radius: 999px;
  padding: 0.1rem 0.42rem;
  margin-top: 0.1rem;
  white-space: nowrap;
}

.nav-inline-suggest-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-inline-suggest-title {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.nav-inline-suggest-desc {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  margin-top: 0.12rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-inline-suggest-empty {
  padding: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.74rem;
}

.nav-inline-suggest-header {
  padding: 0.25rem 0.5rem 0.2rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.nav-utility-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-utility-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 36px;
  min-width: 38px;
  padding: 0.44rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-utility-trigger-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.nav-utility-trigger-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.nav-utility-trigger-label {
  display: none;
}

.nav-utility-trigger:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
  box-shadow: 0 0 0 1px var(--color-border-hover);
}

.nav-utility-trigger:focus-visible {
  outline: 2px solid transparent;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.nav-utility-trigger:active {
  transform: translateY(0) scale(var(--ui-motion-press-scale-strong));
}

.nav-utility-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-bg-elevated) 88%, transparent);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.025);
  z-index: 260;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 180ms ease, visibility 0ms linear 180ms;
}

.nav-utility-menu.is-open .nav-utility-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 180ms ease, visibility 0ms linear 0ms;
}

.nav-utility-item {
  display: grid;
  gap: 0.28rem;
}

.nav-utility-label {
  padding: 0 0.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.nav-utility-panel .btn,
.nav-utility-panel .theme-switcher,
.nav-utility-panel .locale-switcher,
.nav-utility-panel .nav-utility-control {
  width: 100%;
  justify-content: flex-start;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-utility-panel .btn:hover,
.nav-utility-panel .theme-switcher:hover,
.nav-utility-panel .locale-switcher:hover,
.nav-utility-panel .nav-utility-control:hover {
  transform: translateX(var(--ui-motion-shift-x-hover));
}

.nav-utility-panel .btn:active,
.nav-utility-panel .theme-switcher:active,
.nav-utility-panel .locale-switcher:active,
.nav-utility-panel .nav-utility-control:active {
  transform: translateX(var(--ui-motion-shift-x-active)) scale(var(--ui-motion-press-scale-soft));
}

/* ── Unified utility dropdown (Sign In + Language + Theme) ───────────────── */
.nav-util-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-util-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  min-height: 36px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.nav-util-icon { display: inline-flex; align-items: center; opacity: 0.8; }
.nav-util-user { font-weight: 600; max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.nav-util-locale-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--color-text-muted);
}
[data-theme="light"] .nav-util-locale-badge { background: rgba(0,0,0,0.06); }
.nav-util-chevron { opacity: 0.5; flex-shrink: 0; transition: transform 180ms ease; }
.nav-util-trigger[aria-expanded="true"] .nav-util-chevron { transform: rotate(180deg); }

.nav-util-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-elevated, var(--color-bg-card));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 270;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 150ms ease, transform 170ms ease, visibility 0ms linear 170ms;
}
[data-theme="light"] .nav-util-panel {
  box-shadow: 0 8px 28px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.06);
}
.nav-util-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 150ms ease, transform 170ms ease, visibility 0ms linear 0ms;
}

.nav-util-section {
  padding: 0.35rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
}
.nav-util-section:last-child { border-bottom: none; }

.nav-util-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 0.4rem;
  padding: 0 0.2rem;
}

.nav-util-account-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 140ms ease;
}
.nav-util-account-row:hover { background: rgba(255,255,255,0.06); }
[data-theme="light"] .nav-util-account-row:hover { background: rgba(0,0,0,0.05); }

.nav-util-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #ffffff; flex-shrink: 0;
}

.nav-util-loc-row {
  display: flex; flex-wrap: wrap; gap: 0.3rem;
}
.nav-util-loc-btn {
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 130ms, color 130ms, border-color 130ms;
}
.nav-util-loc-btn:hover { background: rgba(255,255,255,0.07); color: var(--color-text); }
.nav-util-loc-btn.active { background: var(--color-accent, #c8f53c); border-color: var(--color-accent, #c8f53c); color: #082032; }
[data-theme="light"] .nav-util-loc-btn:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .nav-util-loc-btn.active { color: #fff; }

.nav-util-theme-row {
  display: flex; gap: 0.3rem;
}
.nav-util-theme-btn {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.3rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 130ms, color 130ms, border-color 130ms;
}
.nav-util-theme-btn svg { opacity: 0.7; }
.nav-util-theme-btn:hover { background: rgba(255,255,255,0.07); color: var(--color-text); }
.nav-util-theme-btn.active { background: rgba(56,189,248,0.12); border-color: rgba(56,189,248,0.35); color: var(--color-text); }
.nav-util-theme-btn.active svg { opacity: 1; color: var(--color-accent, #c8f53c); }
[data-theme="light"] .nav-util-theme-btn:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .nav-util-theme-btn.active { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); }

/* Agent toggle inside utility panel */
.nav-util-agent-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.nav-util-agent-toggle:hover {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
}

.nav-util-agent-toggle.active {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
  color: var(--color-accent);
}

.nav-util-agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-util-agent-toggle.active .nav-util-agent-dot {
  opacity: 1;
  animation: agent-pulse 1.4s ease-in-out infinite;
}

[data-theme="light"] .nav-util-agent-toggle:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .nav-util-agent-toggle.active { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.3); color: #2563eb; }

/* Hide standalone agent button when utility panel is present */
.nav-cta:has(.nav-util-wrap) .agent-mode-toggle,
.nav-cta:has(.nav-util-wrap) #agentModeToggle {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────── */

.account-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.38rem 0.72rem;
  border-color: rgba(200, 245, 60, 0.18);
  background: linear-gradient(180deg, rgba(200, 245, 60, 0.12), rgba(99, 102, 241, 0.08));
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
}

.account-entry-btn.is-signed-in {
  justify-content: flex-start;
  border-color: rgba(200, 245, 60, 0.28);
  box-shadow: 0 10px 28px rgba(200, 245, 60, 0.12);
}

.account-entry-btn:hover {
  border-color: rgba(200, 245, 60, 0.34);
  background: linear-gradient(180deg, rgba(200, 245, 60, 0.16), rgba(99, 102, 241, 0.1));
  box-shadow: 0 0 0 1px rgba(200, 245, 60, 0.14), 0 12px 28px rgba(200, 245, 60, 0.12);
}

.account-entry-btn.is-signed-in:hover {
  box-shadow: 0 0 0 1px rgba(200, 245, 60, 0.18), 0 16px 36px rgba(200, 245, 60, 0.2), 0 0 22px rgba(200, 245, 60, 0.16);
}

.account-entry-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(200, 245, 60, 0.24), rgba(99, 102, 241, 0.3));
  color: var(--color-text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.account-entry-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-entry-label {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.nav-cta > a.btn-primary[href="/store/cart"],
.nav-cta > a.btn-primary[href="cart"],
.nav-cta > a.btn-primary[href="../store/cart"],
.nav-cta > a.btn-primary[id="cart-nav-btn"] {
  border: 1px solid rgba(200, 245, 60, 0.14);
  background: linear-gradient(180deg, rgba(200, 245, 60, 0.92), rgba(14, 165, 233, 0.88));
  color: #082032;
  box-shadow: 0 8px 22px rgba(200, 245, 60, 0.16);
}

.nav-cta > a.btn-primary[href="/store/cart"]:hover,
.nav-cta > a.btn-primary[href="cart"]:hover,
.nav-cta > a.btn-primary[href="../store/cart"]:hover,
.nav-cta > a.btn-primary[id="cart-nav-btn"]:hover {
  background: linear-gradient(180deg, #7dd3fc, #c8f53c);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 245, 60, 0.22);
}

.nav-cta > a.btn-primary[href="/store/cart"] #cart-count,
.nav-cta > a.btn-primary[href="cart"] #cart-count,
.nav-cta > a.btn-primary[href="../store/cart"] #cart-count,
.nav-cta > a.btn-primary[id="cart-nav-btn"] #cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(8, 32, 50, 0.14);
  color: inherit;
  font-size: 0.78em;
  font-weight: 700;
}

.search-shortcut-hint {
  font-size: 0.68rem;
  color: var(--color-text-dim);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  line-height: 1.1;
}

#cart-nav-btn {
  min-width: 124px;
  padding-inline: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: #0f172a;
  box-shadow: 0 2px 12px rgba(200, 245, 60, 0.25);
}

.btn-primary:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200, 245, 60, 0.3);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-elevated);
}

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

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: clamp(3rem, 8vw, 8rem) 2rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(200, 245, 60, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 245, 60, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(200, 245, 60, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(251, 191, 36, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(200, 245, 60, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 245, 60, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, black 10%, transparent 65%);
  animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(200, 245, 60, 0.02) 80px,
    rgba(200, 245, 60, 0.02) 81px
  );
  mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, black 5%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: hero-fade-in 1s ease-out;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(200, 245, 60, 0.08);
  border: 1px solid rgba(200, 245, 60, 0.18);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.page-home .hero-content {
  max-width: 1120px;
}

.page-home .home-persona-shell {
  margin: 1.2rem auto 0;
  max-width: 1040px;
}

.page-home .home-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.page-home .home-core-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
  margin: 1.35rem auto 0;
}

.page-home .home-core-grid__intro {
  text-align: left;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 245, 60, 0.16);
  background: linear-gradient(180deg, rgba(200, 245, 60, 0.12) 0%, rgba(200, 245, 60, 0.04) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.page-home .home-core-grid__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 60, 0.24);
  background: rgba(8, 9, 11, 0.26);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .home-core-grid__intro p {
  margin-top: 0.8rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.page-home .home-core-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 156px;
  padding: 1rem 1rem 1.05rem;
  text-align: left;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.92) 0%, rgba(10, 12, 16, 0.92) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.page-home .home-core-card:hover {
  border-color: var(--color-border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.98) 0%, rgba(10, 12, 16, 0.95) 100%);
}

.page-home .home-core-card--primary {
  border-color: rgba(200, 245, 60, 0.3);
  background:
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(16, 26, 37, 0.98) 0%, rgba(10, 14, 20, 0.95) 100%);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(200, 245, 60, 0.08);
}

.page-home .home-core-card--primary:hover {
  border-color: rgba(200, 245, 60, 0.48);
  background:
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(18, 30, 43, 0.99) 0%, rgba(10, 14, 20, 0.96) 100%);
}

.page-home .home-core-card--primary .home-core-card__title {
  color: #f8fbff;
}

.page-home .home-core-card--persona {
  min-height: 72px;
  border-color: rgba(200, 245, 60, 0.16);
  justify-content: center;
}

.page-home .home-core-card__title {
  display: block;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.3;
}

.page-home .home-core-card__copy {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Icon sizing inside hero cards */
.page-home .home-core-card .svrc-fi {
  font-size: 1.4rem;
  margin-right: 0;
  margin-bottom: 0.25rem;
  display: block;
}

/* Home locations grid */
.home-locations-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr repeat(4, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.home-location-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.home-location-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card-hover);
}

.home-location-card__img {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.home-location-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-location-card:hover .home-location-card__img img {
  transform: scale(1.04);
}

.home-location-card__body {
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.home-location-card--text .home-location-card__body {
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.home-location-card__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.home-location-card__city {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
}

.home-location-card__region {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 1100px) {
  .home-locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-location-card--featured {
    grid-column: 1 / -1;
  }
  .home-location-card--featured .home-location-card__img {
    aspect-ratio: 21 / 6;
  }
}

@media (max-width: 640px) {
  .home-locations-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-location-card--featured {
    grid-column: 1 / -1;
  }
}

.client-logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.client-logo {
  height: 40px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.2s;
}

.client-logo:hover {
  opacity: 0.8;
}

.client-logo-extra {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-location {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.page-home .hero-learn-strip {
  margin: 1.25rem auto 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.page-home .hero-learn-strip a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.page-home .hero-learn-strip a:hover {
  text-decoration: underline;
}

.page-home .hero-learn-sep {
  margin: 0 0.5rem;
  color: var(--color-text-dim);
}

.page-home .home-academy-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

@media (max-width: 900px) {
  .page-home .home-academy-links {
    grid-template-columns: 1fr;
  }

  .nav-utility-trigger {
    min-height: 34px;
    padding: 0.38rem 0.68rem;
    gap: 0.38rem;
    font-size: 0.78rem;
  }

  .nav-utility-trigger-icon {
    width: 14px;
    height: 14px;
  }

  .nav-utility-panel {
    min-width: 196px;
    padding: 0.58rem;
  }
}

.page-home .home-academy-links .academy-module-card {
  padding: 1rem 1.1rem;
}

.page-home .home-academy-links .academy-module-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.page-home .home-academy-links .academy-module-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 20px rgba(200, 245, 60, 0.1);
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
  box-shadow: 0 0 8px var(--color-accent);
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Search */
.search-section {
  padding-top: 2.5rem;
}

.search-shell {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(17, 19, 24, 0.96) 0%, rgba(11, 14, 18, 0.96) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(200, 245, 60, 0.07) inset;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  width: 18px;
  height: 18px;
  color: var(--color-text-dim);
  pointer-events: none;
}

#site-search-input {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(8, 9, 11, 0.88);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 5.2rem 0.85rem 2.8rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#site-search-input::placeholder {
  color: var(--color-text-dim);
}

#site-search-input:focus {
  outline: 2px solid transparent;
  border-color: rgba(200, 245, 60, 0.5);
  box-shadow: 0 0 0 3px rgba(200, 245, 60, 0.17);
}

.search-clear {
  position: absolute;
  right: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(22, 26, 32, 0.9);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.55rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), color var(--transition), border-color var(--transition);
}

.search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.search-clear:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
}

.search-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.search-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.7);
}

.search-tab {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.46rem 0.85rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.search-tab:hover {
  color: var(--color-text);
}

.search-tab.is-active {
  background: rgba(200, 245, 60, 0.18);
  color: var(--color-accent);
}

.search-meta {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.filter-toolbar {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.sticky-filter-toolbar {
  position: sticky;
  top: 78px;
  z-index: 40;
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-bg-card) 88%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.filter-group {
  display: grid;
  gap: 0.42rem;
}

.filter-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-dim);
  font-weight: 700;
}

.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.filter-chip:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

.filter-chip.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
  color: var(--color-accent);
}

.quick-entry-shell {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem;
  background: var(--color-bg-card);
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  margin: 0.18rem 0 0.65rem;
}

.card-meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-deep);
  padding: 0.14rem 0.52rem;
  font-size: 0.7rem;
  color: var(--color-text-dim);
}

.collection-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  background: var(--color-bg-card);
  transition: var(--transition);
}

.collection-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.collection-kicker {
  display: inline-flex;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  margin-bottom: 0.55rem;
}

.collection-card h3 {
  margin: 0 0 0.42rem;
  font-size: 1rem;
}

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

.link-card,
.collection-card,
.quick-link-card {
  box-shadow: var(--shadow-card);
}

.quick-links-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-link-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem 0.95rem;
  background: var(--color-bg-card);
  transition: var(--transition);
}

.quick-link-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.quick-link-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.12rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.quick-link-card h3 {
  margin: 0.52rem 0 0.36rem;
  font-size: 0.97rem;
}

.quick-link-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.video-proof-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-proof-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.video-embed-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.video-embed-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-proof-body {
  padding: 1rem 1.1rem 1.15rem;
}

.video-proof-body h3 {
  margin: 0.55rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.video-proof-body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-strip--spaced {
  margin-bottom: 1rem;
}

.trust-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: var(--color-bg-card);
}

.trust-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.trust-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.value-props--profile {
  grid-template-columns: 1.4fr 1fr;
}

.action-bar-buttons--hero {
  justify-content: center;
  margin-top: 1rem;
}

.trust-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-evidence-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-card);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-card);
}

.trust-evidence-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

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

.signal-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.signal-list li {
  color: var(--color-text-muted);
  font-size: 0.84rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: rgba(200, 245, 60, 0.06);
  width: fit-content;
}

.delivery-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.delivery-assurance-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-card);
  padding: 1rem 1.05rem;
}

.delivery-assurance-card h3 {
  margin: 0 0 0.38rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.delivery-assurance-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.info-card,
.value-card,
.trust-item,
.delivery-assurance-card,
.account-item,
.service-item,
.address-item,
.activity-row,
.notif-item {
  box-shadow: var(--shadow-card);
}

.mini-case-card {
  margin-top: 1rem;
  border: 1px solid rgba(200, 245, 60, 0.24);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(200, 245, 60, 0.12), rgba(200, 245, 60, 0.04));
  padding: 1rem 1.1rem;
}

.mini-case-card h3 {
  margin: 0 0 0.48rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.mini-case-card p {
  margin: 0 0 0.68rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.mini-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.mini-case-metrics span {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: rgba(8, 9, 11, 0.4);
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-evidence-grid,
  .delivery-assurance-grid {
    grid-template-columns: 1fr;
  }
  .mini-case-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .quick-entry-shell,
  .collection-grid,
  .quick-links-grid,
  .video-proof-grid {
    grid-template-columns: 1fr;
  }

  .sticky-filter-toolbar {
    top: 64px;
  }
}

.search-results {
  margin-top: 1rem;
  min-height: 120px;
  display: grid;
  gap: 0.75rem;
}

.search-empty {
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  padding: 1.1rem;
  color: var(--color-text-dim);
  font-size: 0.92rem;
  background: rgba(8, 9, 11, 0.45);
}

.search-result-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: var(--color-bg-elevated);
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.search-result-card.has-thumb {
  padding-left: 7rem;
}

.search-result-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.search-result-card.is-key-selected {
  border-color: rgba(200, 245, 60, 0.55);
  box-shadow: 0 0 0 2px rgba(200, 245, 60, 0.2), var(--shadow-card-hover);
  transform: translateY(-1px);
}

.search-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.search-result-thumb {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  width: 5.5rem;
  height: calc(100% - 1.4rem);
  min-height: 4.4rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.18rem 0.52rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.search-result-card[data-type="product"] .search-badge {
  color: var(--color-accent);
  border-color: rgba(200, 245, 60, 0.28);
}

.search-result-card[data-type="article"] .search-badge {
  color: var(--color-accent-amber);
  border-color: rgba(251, 191, 36, 0.25);
}

.search-result-card[data-search-entity-type="person"] .search-badge {
  color: #c8f53c;
  border-color: rgba(200, 245, 60, 0.28);
}

.search-result-card[data-search-entity-type="paper"] .search-badge {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.28);
}

.search-result-card[data-search-entity-type="company"] .search-badge,
.search-result-card[data-search-entity-type="institution"] .search-badge {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.28);
}

.search-result-card[data-search-entity-type="robot"] .search-badge {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.28);
}

.search-result-card[data-search-entity-type="duel"] .search-badge {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.28);
}

.search-result-card[data-search-entity-type="topic"] .search-badge {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.28);
}

.search-result-title {
  font-family: var(--font-display);
  font-size: 1.03rem;
  line-height: 1.3;
}

.search-result-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

mark.search-highlight {
  background: rgba(200, 245, 60, 0.24);
  color: var(--color-text);
  border-radius: 4px;
  padding: 0.02em 0.15em;
}

/* Global command palette */
.search-palette {
  position: fixed;
  inset: 0;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.search-palette.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.64);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-palette-panel {
  position: relative;
  width: min(860px, calc(100% - 2rem));
  max-height: 78vh;
  margin: 9vh auto 0;
  border: 1px solid var(--color-border-hover);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(17, 19, 24, 0.98), rgba(10, 12, 16, 0.98));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(200, 245, 60, 0.08) inset;
  overflow: hidden;
}

.search-palette-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.search-palette-input {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(8, 9, 11, 0.9);
  color: var(--color-text);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.search-palette-input:focus {
  outline: 2px solid transparent;
  border-color: rgba(200, 245, 60, 0.48);
  box-shadow: 0 0 0 3px rgba(200, 245, 60, 0.16);
}

.search-palette-close {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(22, 26, 32, 0.9);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 56px;
  min-height: 40px;
  cursor: pointer;
}

.search-palette-close:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
}

.search-palette-help {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  padding: 0.55rem 0.95rem 0.3rem;
}

.search-palette-results {
  max-height: calc(78vh - 120px);
  overflow-y: auto;
  padding: 0.75rem 0.95rem 1rem;
  display: grid;
  gap: 0.6rem;
}

/* Search palette cards — dark mode (default) */
.search-palette-results .search-result-card {
  background: rgba(20, 22, 28, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.search-palette-results .search-result-card:hover {
  background: rgba(28, 32, 40, 0.98);
  border-color: rgba(200, 245, 60, 0.28);
}
.search-palette-results .search-result-title {
  color: #f1f5f9;
}
.search-palette-results .search-result-desc {
  color: rgba(148, 163, 184, 0.9);
}
.search-palette-results .search-badge {
  color: rgba(148, 163, 184, 0.75);
  border-color: rgba(148, 163, 184, 0.18);
}
.search-palette-results .search-result-card[data-type="product"] .search-badge {
  color: #c8f53c;
  border-color: rgba(200, 245, 60, 0.28);
}
.search-palette-results .search-result-card[data-type="article"] .search-badge {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.25);
}
.search-palette-results mark.search-highlight {
  background: rgba(200, 245, 60, 0.2);
  color: #e2e8f0;
}

/* Search palette cards — light mode overrides */
[data-theme="light"] .search-palette-results .search-result-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .search-palette-results .search-result-card:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}
[data-theme="light"] .search-palette-results .search-result-title {
  color: #0f172a;
}
[data-theme="light"] .search-palette-results .search-result-desc {
  color: #475569;
}
[data-theme="light"] .search-palette-results .search-badge {
  color: #64748b;
  border-color: rgba(15, 23, 42, 0.15);
}
[data-theme="light"] .search-palette-results .search-result-card[data-type="product"] .search-badge {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}
[data-theme="light"] .search-palette-results .search-result-card[data-type="article"] .search-badge {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.25);
}
[data-theme="light"] .search-palette-results mark.search-highlight {
  background: rgba(37, 99, 235, 0.1);
  color: #1e3a8a;
}

/* ── Search palette Agent mode ─────────────────────────────────────────── */
.palette-agent-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 0 0.25rem;
}
.palette-agent-bubble {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 14px 14px 14px 4px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text);
  max-width: 92%;
}
.palette-agent-bubble.is-thinking {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 0.7rem 1rem;
}
.palette-agent-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: palette-dot-bounce 1.1s ease-in-out infinite;
}
.palette-agent-dot:nth-child(2) { animation-delay: 0.18s; }
.palette-agent-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes palette-dot-bounce {
  0%,60%,100% { transform:translateY(0); opacity:0.5; }
  30% { transform:translateY(-6px); opacity:1; }
}
.palette-agent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}
.palette-agent-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.palette-agent-card-name { font-weight:700; font-size:0.9rem; color:var(--color-text); }
.palette-agent-card-price { font-size:0.88rem; color:var(--color-accent); font-weight:600; }
.palette-agent-card-note { font-size:0.78rem; color:var(--color-text-muted); line-height:1.4; }
.palette-agent-card-actions { display:flex; gap:0.4rem; margin-top:0.35rem; flex-wrap:wrap; }
.palette-agent-btn {
  display: inline-flex; align-items: center;
  border-radius: 8px; padding: 0.3rem 0.65rem;
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card); color: var(--color-text-muted);
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.palette-agent-btn--primary { background:var(--color-accent); border-color:var(--color-accent); color:#082032; }
.palette-agent-btn--primary:hover { opacity:0.88; }
[data-theme="light"] .palette-agent-btn--primary { color:#ffffff; }
.palette-agent-btn:not(.palette-agent-btn--primary):hover { border-color:var(--color-border-hover); color:var(--color-text); }
.palette-agent-followup { display:flex; gap:0.45rem; margin-top:0.25rem; }
.palette-agent-input {
  flex:1; min-height:38px; border-radius:8px;
  border:1px solid var(--color-border); background:var(--color-bg-card);
  color:var(--color-text); padding:0 0.75rem;
  font-size:0.88rem; font-family:var(--font-body);
}
.palette-agent-input:focus { outline:none; border-color:var(--color-accent); box-shadow:0 0 0 2px var(--color-accent-dim); }
.palette-agent-send {
  min-height:38px; padding:0 0.85rem; border-radius:8px;
  background:var(--color-accent); color:#082032; border:none;
  font-size:0.85rem; font-weight:600; cursor:pointer;
}
[data-theme="light"] .palette-agent-send { color:#ffffff; }
.palette-agent-send:hover { opacity:0.88; }
.palette-agent-back { background:none; border:none; color:var(--color-text-muted); font-size:0.8rem; cursor:pointer; padding:0; }
.palette-agent-back:hover { color:var(--color-text); }
.palette-agent-email-gate {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--color-accent) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, transparent);
  border-radius: 12px;
}
.palette-agent-email-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}
[data-theme="light"] .palette-agent-email-gate {
  background: rgba(37,99,235,0.05);
  border-color: rgba(37,99,235,0.2);
}
.search-palette.is-agent-mode .search-palette-filters,
.search-palette.is-agent-mode .search-palette-help { display:none; }
[data-theme="light"] .palette-agent-bubble { background:#f8fafc; border-color:rgba(15,23,42,0.1); color:#0f172a; }
[data-theme="light"] .palette-agent-card { background:#fff; border-color:rgba(15,23,42,0.1); }
[data-theme="light"] .palette-agent-card-name { color:#0f172a; }
[data-theme="light"] .palette-agent-input { background:#f1f5f9; border-color:rgba(15,23,42,0.15); color:#0f172a; }
/* Conversation history thread — outer panel handles scrolling */
.palette-agent-history {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* User message bubble — right-aligned */
.palette-agent-user-msg {
  align-self: flex-end;
  background: var(--color-accent);
  color: #082032;
  border-radius: 14px 14px 4px 14px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 80%;
  word-break: break-word;
}
[data-theme="light"] .palette-agent-user-msg { color: #ffffff; }

.palette-agent-continue {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(6,182,212,0.12);
  color: var(--color-cyan);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.palette-agent-continue:hover {
  background: rgba(6,182,212,0.22);
}
.advisor-continue-link {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.85rem;
  background: rgba(6,182,212,0.1);
  color: #06b6d4;
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 5px;
  font-size: 0.78rem;
  text-decoration: none;
}
.advisor-continue-link:hover { background: rgba(6,182,212,0.2); }

/* Global core CTA */
.global-core-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 520;
  border-radius: 999px;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  box-shadow: 0 8px 30px rgba(200, 245, 60, 0.3), 0 0 0 1px rgba(200, 245, 60, 0.25) inset;
}

.global-core-cta:hover {
  box-shadow: 0 14px 34px rgba(200, 245, 60, 0.34), 0 0 0 1px rgba(200, 245, 60, 0.35) inset;
}

.global-core-cta.is-hidden-by-mobile-hero {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.mobile-hero-cta {
  position: fixed;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 530;
  background: linear-gradient(165deg, rgba(10, 13, 17, 0.97), rgba(14, 20, 28, 0.97));
  border: 1px solid rgba(200, 245, 60, 0.25);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  padding: 0.75rem 0.75rem 0.8rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-hero-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-hero-cta-close {
  position: absolute;
  top: 0.25rem;
  right: 0.3rem;
  border: none;
  background: transparent;
  color: var(--color-text-dim);
  font-size: 1.2rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.mobile-hero-cta-text {
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.15rem 0 0.65rem;
  padding-right: 1.5rem;
}

.mobile-hero-cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mobile-hero-cta-actions .btn {
  min-height: 42px;
  padding: 0.64rem 0.75rem;
  font-size: 0.82rem;
}

/* AI lead assistant */
.ai-lead-entry-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 525;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1rem 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 245, 60, 0.12) inset;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.ai-lead-entry-button:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 245, 60, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 245, 60, 0.22) inset;
}

[data-theme="light"] .ai-lead-entry-button {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.ai-lead-entry-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 245, 60, 0.18);
  color: #c8f53c;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ai-lead-entry-copy strong,
.ai-lead-entry-copy span {
  display: block;
}

.ai-lead-entry-copy strong {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: #e2e8f0;
}

.ai-lead-entry-copy span {
  display: none;
}

.ai-lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 540;
  background: rgba(3, 7, 18, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.ai-lead-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ai-lead-drawer {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 545;
  width: min(420px, calc(100vw - 1.4rem));
  height: min(680px, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(10, 16, 24, 0.98), rgba(7, 10, 16, 0.98));
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.62);
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.2) transparent;
}

.ai-lead-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-lead-drawer-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--color-text-muted);
  pointer-events: auto;
  cursor: pointer;
}

.lead-assistant-panel {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 245, 60, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 12, 18, 0.96));
  padding: 1rem;
  gap: 0.75rem;
}

.lead-assistant-panel.is-embedded {
  padding: 1.1rem;
}

.lead-assistant-header {
  display: grid;
  gap: 0.55rem;
}

.lead-assistant-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 60, 0.2);
  background: rgba(200, 245, 60, 0.08);
  color: rgba(200, 245, 60, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-assistant-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
}

.lead-assistant-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.lead-assistant-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lead-assistant-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.74);
  color: var(--color-text);
  padding: 0.52rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.lead-assistant-chip:hover {
  border-color: rgba(200, 245, 60, 0.38);
  color: #d7f4ff;
}

.lead-assistant-thread {
  display: grid;
  gap: 0.75rem;
  overflow-y: auto;
  min-height: 0;
  align-content: start;
  padding-right: 0.2rem;
}

.lead-assistant-empty {
  border: 1px dashed rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 1rem;
  color: var(--color-text-muted);
  background: rgba(15, 23, 42, 0.42);
}

.lead-assistant-message {
  max-width: 88%;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 0.95rem;
  white-space: pre-wrap;
}

.lead-assistant-message-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.lead-assistant-message strong {
  display: inline;
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

.lead-assistant-ts {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  opacity: 0.7;
}

/* Typing indicator */
.lead-assistant-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
}
.lead-assistant-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.7);
  animation: lead-typing-bounce 1.2s infinite ease-in-out;
}
.lead-assistant-typing span:nth-child(2) { animation-delay: 0.2s; }
.lead-assistant-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lead-typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.lead-assistant-message.is-user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.18));
  border: 1px solid rgba(200, 245, 60, 0.28);
}

.lead-assistant-message.is-assistant {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.lead-assistant-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lead-assistant-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.75);
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.lead-assistant-composer {
  display: grid;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.lead-assistant-composer textarea {
  width: 100%;
  min-height: 110px;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(6, 10, 17, 0.82);
  color: var(--color-text);
  resize: vertical;
}

.lead-assistant-composer-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.lead-assistant-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.lead-assistant-status.is-error,
.lead-form-status.is-error {
  color: var(--color-accent-amber);
}

.lead-assistant-status.is-success,
.lead-form-status.is-success {
  color: var(--color-accent);
}

.lead-assistant-conversation-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(200, 245, 60, 0.22);
  background: rgba(8, 145, 178, 0.08);
}

.lead-assistant-conversation-card strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d7f4ff;
}

.lead-assistant-conversation-id {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.lead-assistant-progress-link {
  color: var(--color-accent);
  font-size: 0.88rem;
}

.lead-form-status {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.lead-success-state {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(200, 245, 60, 0.22);
  background:
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 18, 0.92) 100%);
  color: var(--color-text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.lead-success-state__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.32rem 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 60, 0.24);
  background: rgba(8, 9, 11, 0.24);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead-success-state__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead-success-state__copy,
.lead-success-state__meta {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.lead-success-state__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  display: grid;
  gap: 0.45rem;
}

.lead-success-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lead-success-state__button,
.lead-success-state__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 60, 0.22);
  background: rgba(200, 245, 60, 0.08);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.lead-success-state__button {
  cursor: pointer;
  font-family: var(--font-body);
}

.lead-success-state__button:hover,
.lead-success-state__link:hover {
  border-color: rgba(200, 245, 60, 0.38);
  background: rgba(200, 245, 60, 0.14);
  transform: translateY(-1px);
}

.lead-success-state__button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.lead-upload-panel {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 12, 18, 0.72);
}

.lead-upload-panel[hidden] {
  display: none;
}

.lead-upload-panel__header {
  display: grid;
  gap: 0.25rem;
}

.lead-upload-panel__header span,
.lead-upload-panel__status {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lead-upload-panel__input,
.lead-upload-panel__note {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: rgba(11, 18, 28, 0.92);
  color: var(--color-text);
  font-family: var(--font-body);
}

.lead-upload-panel__note {
  resize: vertical;
  min-height: 88px;
}

.lead-upload-panel__input:focus,
.lead-upload-panel__note:focus {
  outline: 2px solid transparent;
  border-color: var(--color-accent);
}

.lead-upload-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lead-upload-panel__status.is-error {
  color: #fca5a5;
}

.lead-upload-panel__status.is-success {
  color: #86efac;
}

.teleop-spec-builder {
  margin-bottom: 1rem;
}

.teleop-spec-output {
  display: grid;
  gap: 0.8rem;
}

.teleop-spec-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.teleop-spec-card {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

.teleop-spec-card h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.teleop-spec-card p,
.teleop-spec-card li,
.teleop-spec-card pre {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.teleop-spec-card ul {
  margin: 0;
  padding-left: 1rem;
}

.teleop-spec-card pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 6vw, 4.75rem) 2rem;
  position: relative;
}

.section + .section { padding-top: clamp(1.75rem, 3vw, 2.5rem); }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 760px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.section-header p,
.section-header .search-meta {
  margin: 0.7rem auto 0;
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-header.is-spaced {
  margin-top: 4rem;
}

.section-copy {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Homepage visual proof strip */
.photo-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.photo-proof-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.photo-proof-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.photo-proof-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0) 0%, rgba(2, 8, 23, 0.9) 75%);
}

.photo-proof-overlay h3 {
  margin: 0 0 0.22rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.photo-proof-overlay p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Admin portal image layer */
.ops-visual-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.ops-visual-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 160px;
  background: var(--color-bg-card);
}

.ops-visual-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.ops-visual-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0) 0%, rgba(2, 8, 23, 0.9) 80%);
}

.ops-visual-card .overlay h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.ops-visual-card .overlay p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.ops-card-head {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
}

.ops-card-head img {
  width: 112px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.ops-card-head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Applications visual cards */
.value-card.has-photo {
  padding: 0;
  overflow: hidden;
}

.app-card-image {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.app-card-body {
  padding: 1.1rem 1.2rem 1.15rem;
}

.app-card-body h3 {
  margin-top: 0;
}

.industry-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.industry-photo-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.industry-photo-item img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}

.industry-photo-item p {
  margin: 0;
  padding: 0.62rem 0.7rem 0.68rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Value Props - Three pillars */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.value-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent), rgba(200, 245, 60, 0.4));
  border-radius: 0 2px 2px 0;
  opacity: 0.8;
}

.value-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-card h3::before {
  content: none;
}

.value-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.value-card__title-link:hover {
  color: var(--color-accent);
}

.value-card__title-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding-left: 0.5rem;
  line-height: 1.5;
}

.value-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  font-size: 0.875rem;
  padding-left: 0.5rem;
}

.value-card .link-arrow:hover { color: #7dd3fc; }

.value-props.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: var(--color-surface);
  display: block;
  overflow: hidden;
  position: relative;
}

.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.03);
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-tag {
  font-size: 0.7rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.product-card-price {
  font-weight: 600;
  color: var(--color-accent-amber);
  font-size: 0.95rem;
}

/* Events */
.events-section {
  background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 50%, var(--color-bg-elevated) 100%);
  position: relative;
}

.events-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(200, 245, 60, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.branch-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.branch-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px var(--color-accent-dim);
  transform: translateY(-2px);
}
.branch-card span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.branch-card strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}
.branch-card small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.event-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.event-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

a.event-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.location-card-image {
  width: calc(100% + 3rem);
  height: 170px;
  margin: -1.5rem -1.5rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.location-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.event-card:hover .location-card-image img {
  transform: scale(1.04);
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.content-image-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.content-image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.content-image-card span {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* Homepage footprint map */
.footprint-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.footprint-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 1rem;
  align-items: stretch;
}

.footprint-panel,
.footprint-map-shell {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.footprint-panel {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.footprint-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.footprint-subtitle {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
}

.footprint-status {
  border: 1px solid rgba(200, 245, 60, 0.25);
  background: rgba(200, 245, 60, 0.08);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.75rem;
}

.footprint-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footprint-search input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: rgba(8, 9, 11, 0.85);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.86rem;
  padding: 0.62rem 0.7rem;
}

.footprint-search input::placeholder {
  color: var(--color-text-dim);
}

.footprint-search input:focus {
  outline: 2px solid transparent;
  border-color: rgba(200, 245, 60, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 245, 60, 0.14);
}

.footprint-search .btn {
  width: 100%;
  min-height: 40px;
  font-size: 0.82rem;
  padding: 0.58rem 0.7rem;
}

.footprint-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.footprint-chip {
  border: 1px solid var(--color-border);
  background: rgba(8, 9, 11, 0.6);
  color: var(--color-text-muted);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.62rem;
  cursor: pointer;
  transition: var(--transition);
}

.footprint-chip:hover {
  color: var(--color-accent);
  border-color: rgba(200, 245, 60, 0.35);
  background: rgba(200, 245, 60, 0.1);
}

.footprint-chip.is-active {
  color: var(--color-accent);
  border-color: rgba(200, 245, 60, 0.52);
  background: rgba(200, 245, 60, 0.15);
  box-shadow: 0 0 0 2px rgba(200, 245, 60, 0.12);
}

.footprint-chip.is-pressing {
  transform: translateY(1px) scale(0.98);
}

.footprint-list {
  display: grid;
  gap: 0.55rem;
  max-height: 470px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.footprint-city {
  border: 1px solid var(--color-border);
  background: rgba(8, 9, 11, 0.5);
  border-radius: 10px;
  color: var(--color-text);
  text-align: left;
  padding: 0.7rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  display: grid;
  gap: 0.2rem;
}

.footprint-city strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.footprint-city span {
  color: var(--color-text-muted);
  font-size: 0.79rem;
  line-height: 1.35;
}

.footprint-city small {
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.footprint-city:hover,
.footprint-city.is-active {
  border-color: rgba(200, 245, 60, 0.4);
  background: rgba(200, 245, 60, 0.1);
}

.footprint-map-shell {
  padding: 0.4rem;
}

.footprint-map {
  width: 100%;
  min-height: 530px;
  border-radius: 12px;
  overflow: hidden;
}

.footprint-map .leaflet-popup-content-wrapper,
.footprint-map .leaflet-popup-tip {
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid rgba(200, 245, 60, 0.25);
}

.footprint-map .leaflet-popup-content {
  margin: 0.6rem 0.75rem;
  line-height: 1.45;
  font-size: 0.82rem;
}

.footprint-map .leaflet-control-zoom a {
  background: rgba(8, 9, 11, 0.85);
  color: var(--color-text);
  border-color: var(--color-border);
}

.footprint-map .leaflet-control-attribution {
  background: rgba(8, 9, 11, 0.72);
  color: var(--color-text-dim);
  font-size: 0.68rem;
}

.contact-info-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.event-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.news-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.news-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.model-card-image {
  width: calc(100% + 3rem);
  height: 150px;
  margin: -1.5rem -1.5rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-card:hover .model-card-image img {
  transform: scale(1.04);
}

.auto-card-image {
  width: calc(100% + 3rem);
  height: 145px;
  margin: -1.5rem -1.5rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

.auto-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-card:hover .auto-card-image img,
.event-card:hover .auto-card-image img {
  transform: scale(1.04);
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.media-card,
.event-card,
.news-card {
  box-shadow: var(--shadow-card);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Action Bar — Triple CTA (Get Robot | Request Data | Contact) */
.action-bar {
  text-align: center;
  padding: clamp(3rem, 5vw, 4.5rem) 2rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-elevated) 92%, transparent), color-mix(in srgb, var(--color-bg) 96%, transparent));
  border-top: 1px solid var(--color-border);
  position: relative;
}

.action-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200, 245, 60, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.action-bar h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.action-bar .action-bar-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 660px;
  margin-inline: auto;
}

.action-bar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.action-bar-buttons .btn {
  min-width: 180px;
}

.action-bar-buttons .btn-primary {
  font-weight: 600;
}

.action-bar-buttons .btn-secondary {
  border-color: var(--color-border);
}

.action-bar-buttons .btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Global internal link hub */
.internal-link-hub {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.internal-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto;
}

.internal-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.internal-link-chip:hover {
  border-color: var(--color-border-hover);
  color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.auto-inline-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.auto-inline-link:hover {
  color: var(--color-accent-2);
}

/* Footer */
.site-footer {
  padding: 2.5rem 2rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-deep);
}

.footer-brand {
  max-width: 1200px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand__left {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-brand__left p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand .logo {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.footer-social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
}
[data-theme="light"] .footer-social-link {
  border-color: rgba(15,23,42,0.15);
  color: #64748b;
}
[data-theme="light"] .footer-social-link:hover {
  color: #2563eb;
  border-color: #2563eb;
  background: rgba(37,99,235,0.06);
}

.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
}

.footer-links ul {
  list-style: none;
}

.footer-links li { margin-bottom: 0.3rem; }

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
}

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

.footer-globe-wrap {
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer-globe-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  opacity: 0.55;
}
.footer-globe-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  min-width: 200px;
  min-height: 200px;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(6,182,212,0.18)) drop-shadow(0 0 40px rgba(6,182,212,0.08));
  transition: filter 0.3s;
}
.footer-globe-container:hover {
  filter: drop-shadow(0 0 24px rgba(6,182,212,0.32)) drop-shadow(0 0 60px rgba(6,182,212,0.14));
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--color-text-dim);
  font-size: 0.85rem;
}

/* Trust and compliance */
.cookie-consent {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1400;
  display: grid;
  gap: 0.85rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(8, 14, 24, 0.96);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.45);
}

.cookie-consent-text {
  margin: 0;
  color: #dbe7fb;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: #7dd3fc;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.svrc-breadcrumbs {
  border-bottom: 1px solid var(--color-border);
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(8px);
}

.svrc-breadcrumbs ol {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.82rem;
}

.svrc-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.svrc-breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--color-text-dim);
}

.svrc-breadcrumbs a {
  color: var(--color-text-muted);
}

.svrc-breadcrumbs [aria-current="page"] {
  color: var(--color-text);
}

/* Page layouts */
.page-hero {
  padding: 8.5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(200, 245, 60, 0.12), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-bg-elevated) 96%, transparent) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 245, 60, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 23, 0.12));
  pointer-events: none;
}

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

.page-hero .section-label {
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(200, 245, 60, 0.18);
  border-radius: 999px;
  background: rgba(200, 245, 60, 0.08);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-hero p + p {
  margin-top: 0.8rem;
}

.page-hero .hero-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.8rem;
}

.page-hero .hero-cta-inline .btn {
  flex-shrink: 0;
  min-width: 180px;
}
.page-hero .hero-cta-inline .link-arrow { font-size: 0.95rem; }
.page-hero .search-meta {
  margin-top: 1rem;
  max-width: 720px;
}

/* Location detail page - city hero with photo */
.location-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 2rem 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--color-border);
}
.location-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 7, 0.3) 40%, rgba(5, 5, 7, 0.9) 100%);
  pointer-events: none;
}
.location-hero .location-hero-content {
  position: relative;
  z-index: 1;
}
.location-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 0.5rem; }
.location-hero .location-hero-badge { margin-bottom: 0.75rem; }
.location-hero .location-hero-subtitle { color: var(--color-text-muted); font-size: 1.1rem; }
.location-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 2rem 0; }
.location-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--color-border); }

/* Data Collection page - detailed */
.data-content {
  max-width: 800px;
  margin: 0 auto;
}

.data-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.data-content p, .data-content li {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.data-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Platform matrix table */
.platform-matrix-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.platform-matrix {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.platform-matrix th,
.platform-matrix td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.platform-matrix th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: var(--color-bg-elevated);
}

.platform-matrix td {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.platform-matrix tbody tr:last-child td {
  border-bottom: none;
}

.platform-matrix tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.rating {
  color: var(--color-accent-amber);
  letter-spacing: 0.1em;
}

.highlight-box {
  background: rgba(200, 245, 60, 0.06);
  border: 1px solid rgba(200, 245, 60, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.data-services-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 245, 60, 0.16), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(99, 102, 241, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.96), rgba(7, 11, 18, 0.88));
}

.data-services-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.data-services-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.data-services-section {
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
}

.data-services-shell {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.35rem;
}

.data-services-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.data-services-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.78fr);
  gap: 1rem;
  align-items: start;
}

.data-services-main-column,
.data-services-side-column {
  display: grid;
  gap: 1rem;
}

.data-services-panel {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(10, 14, 23, 0.92));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.18);
}

.data-services-panel--intro {
  padding: 1.4rem 1.45rem;
}

.data-services-panel--platform,
.data-services-panel--accent {
  border-color: rgba(200, 245, 60, 0.18);
  background: linear-gradient(180deg, rgba(10, 24, 34, 0.92), rgba(8, 15, 24, 0.96));
}

.data-services-panel--accent .btn {
  margin-top: 0.5rem;
}

.data-services-panel h2,
.data-services-panel h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  line-height: 1.2;
}

.data-services-panel h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.data-services-panel h3 {
  font-size: 1.15rem;
}

.data-services-panel p {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.72;
}

.data-services-panel p:last-child,
.data-services-panel ul:last-child {
  margin-bottom: 0;
}

.data-services-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 60, 0.18);
  background: rgba(200, 245, 60, 0.09);
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-services-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.data-services-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.data-services-mini-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.58);
}

.data-services-mini-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.data-services-mini-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.data-services-feature-list,
.data-services-bullet-list,
.data-services-compact-list {
  margin: 0;
  padding-left: 1.15rem;
}

.data-services-bullet-list li,
.data-services-compact-list li {
  margin-bottom: 0.55rem;
  color: var(--color-text-muted);
}

.data-services-feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.data-services-feature-list li {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.data-services-feature-list li strong {
  color: var(--color-text);
  font-size: 0.95rem;
}

.data-services-feature-list li span {
  color: var(--color-text-muted);
  line-height: 1.62;
  font-size: 0.9rem;
}

.data-services-form-panel {
  margin-top: 0.4rem;
}

.data-services-submit {
  width: 100%;
}

@media (max-width: 980px) {
  .data-services-top-grid,
  .data-services-body-grid,
  .data-services-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .data-services-panel,
  .data-services-panel--intro {
    padding: 1rem;
  }

  .data-services-inline-actions .btn {
    width: 100%;
  }

  .data-services-hero-meta {
    justify-content: flex-start;
  }
}

.services-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(200, 245, 60, 0.14), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(14, 165, 233, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 12, 19, 0.96), rgba(7, 11, 18, 0.9));
}

.services-hero::before,
.platform-hero::before,
.rl-environment-hero::before,
.leasing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.62));
  pointer-events: none;
}

.services-hero p,
.platform-hero p,
.rl-environment-hero p,
.leasing-hero p {
  color: #dbe7fb;
}

.services-section,
.platform-section {
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
}

.services-shell {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.services-top-grid,
.services-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

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

.services-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(10, 14, 23, 0.92));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.18);
}

.services-card__media {
  aspect-ratio: 16 / 9;
  background: rgba(15, 23, 42, 0.7);
}

.services-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-card__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.services-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.services-card__body p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.68;
}

.services-card__body .btn {
  justify-self: start;
}

.platform-hero {
  background:
    radial-gradient(circle at 15% 16%, rgba(200, 245, 60, 0.18), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.98), rgba(7, 10, 16, 0.92));
}

.platform-hero-note {
  margin-top: 0.95rem;
  color: var(--color-text-dim);
  font-size: 0.92rem;
}

.platform-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.platform-access-card,
.platform-flow-step {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.platform-access-card h3,
.platform-flow-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.platform-access-card p,
.platform-flow-step p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.62;
  font-size: 0.92rem;
}

.platform-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.platform-flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: rgba(200, 245, 60, 0.12);
  border: 1px solid rgba(200, 245, 60, 0.18);
  color: var(--color-accent);
  font-weight: 700;
}

.platform-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.platform-fusion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 1rem;
}

.comparison-table-wrap {
  margin-top: 0.8rem;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
  font-size: 0.88rem;
}

.comparison-table th {
  color: #e2ecff;
  background: rgba(15, 23, 42, 0.78);
}

.comparison-table td {
  color: #c8d8f4;
}

.platform-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.term-hint-strip {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.term-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  color: #d3e7fb;
  background: rgba(12, 18, 31, 0.72);
  cursor: help;
}

.form-step-badge {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  color: #9fc9f8;
}

.form-step-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.leasing-faq-block details {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
}

.leasing-faq-block summary {
  cursor: pointer;
  font-weight: 600;
}

.case-study-links {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.leasing-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 245, 60, 0.14), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(251, 191, 36, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 12, 19, 0.96), rgba(9, 13, 18, 0.9));
}

.leasing-section,
.rl-environment-section {
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
}

.leasing-detail-grid,
.leasing-platform-grid,
.rl-environment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.rl-environment-hero {
  background:
    radial-gradient(circle at 20% 18%, rgba(99, 102, 241, 0.16), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(200, 245, 60, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(8, 12, 19, 0.96), rgba(7, 11, 18, 0.9));
}

@media (max-width: 980px) {
  .services-top-grid,
  .services-detail-grid,
  .services-card-grid,
  .platform-access-grid,
  .platform-flow-grid,
  .platform-feature-grid,
  .platform-fusion-grid,
  .leasing-detail-grid,
  .leasing-platform-grid,
  .rl-environment-grid {
    grid-template-columns: 1fr;
  }

  .platform-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-card__body {
    padding: 1rem;
  }

  .cookie-consent {
    inset: auto 0.6rem 0.6rem 0.6rem;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }
}

a.link-arrow {
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition);
}
a.link-arrow:hover { color: #7dd3fc; }

/* Contact form */
.contact-intent-section {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.contact-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-intent-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.92) 0%, rgba(10, 12, 16, 0.92) 100%);
  color: inherit;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-intent-card:hover {
  border-color: var(--color-border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.contact-intent-card--primary {
  border-color: rgba(200, 245, 60, 0.28);
  background:
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(16, 26, 37, 0.98) 0%, rgba(10, 14, 20, 0.95) 100%);
}

.contact-intent-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 60, 0.2);
  background: rgba(8, 9, 11, 0.28);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-intent-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--color-text);
}

.contact-intent-card__copy {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.contact-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.contact-tab:hover {
  color: var(--color-text);
}

.contact-tab.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p, .contact-info a {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.account-form input,
.account-form textarea,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.forum-input,
.forum-textarea,
.forum-select,
#config-select,
#fulfillment-select,
#saved-address-select,
#address-label-input,
.cart-qty {
  width: 100%;
  padding: 0.92rem 1rem;
  background: color-mix(in srgb, var(--color-bg-card) 94%, transparent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  margin-bottom: 1rem;
}

.contact-form textarea,
.account-form textarea,
.forum-textarea,
.checkout-form textarea { resize: vertical; min-height: 100px; }

.forum-meta-reset,
.thread-meta-reset {
  margin: 0;
}

.forum-post-title {
  margin: 0.1rem 0 0.45rem;
  font-family: var(--font-display);
}

.forum-post-link {
  color: inherit;
  text-decoration: none;
}

.forum-post-body,
.thread-reply-body {
  margin: 0;
  line-height: 1.55;
}

.forum-reply-area {
  display: none;
  margin-top: 0.7rem;
}

.forum-reply-form {
  margin-top: 0.6rem;
}

.forum-textarea--compact {
  min-height: 72px;
}

.forum-actions--flush {
  margin-top: 0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.account-form input:focus,
.account-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.forum-input:focus,
.forum-textarea:focus,
.forum-select:focus,
#config-select:focus,
#fulfillment-select:focus,
#saved-address-select:focus,
#address-label-input:focus,
.cart-qty:focus {
  outline: 2px solid transparent;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
  background: var(--color-bg-card);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.account-form input::placeholder,
.account-form textarea::placeholder,
.checkout-form input::placeholder,
.checkout-form textarea::placeholder,
.forum-input::placeholder,
.forum-textarea::placeholder,
#address-label-input::placeholder {
  color: var(--color-text-dim);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.checkout-form,
.checkout-summary,
.cart-summary {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-card) 96%, transparent), color-mix(in srgb, var(--color-bg) 96%, transparent));
  box-shadow: var(--shadow-card);
}

.checkout-form {
  padding: 1.35rem;
}

.checkout-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.checkout-summary {
  padding: 1.35rem;
  position: sticky;
  top: 100px;
}

.discount-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.shipping-option:hover,
.shipping-option.selected {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
  box-shadow: 0 0 0 1px rgba(200, 245, 60, 0.08);
}

.shipping-option input {
  margin: 0;
  width: auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.cart-empty,
#checkout-empty {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 900px) {
  .ai-lead-entry-button {
    bottom: 4.8rem;
    right: 0.8rem;
    padding: 0.72rem 0.9rem;
  }

  .ai-lead-entry-copy span {
    display: none;
  }
}

@media (max-width: 768px) {
  .ai-lead-drawer {
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
    bottom: 0.5rem;
    max-height: calc(100vh - 1rem);
    padding: 0.75rem;
  }

  .lead-assistant-message {
    max-width: 100%;
  }

  .lead-assistant-composer-row {
    align-items: stretch;
  }
}

/* Humanoid Intelligence Hub */
.hub-hero .container {
  position: relative;
  z-index: 1;
}

.hub-section {
  padding-top: 2.75rem;
  padding-bottom: 8rem;
}

.hub-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hub-region-filter {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hub-pill {
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.hub-pill.is-active,
.hub-pill:hover {
  color: var(--color-accent);
  border-color: rgba(200, 245, 60, 0.35);
  background: rgba(200, 245, 60, 0.09);
}

.hub-search input {
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: rgba(8, 9, 11, 0.88);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
}

.hub-search input:focus {
  outline: 2px solid transparent;
  border-color: rgba(200, 245, 60, 0.55);
  box-shadow: 0 0 0 3px rgba(200, 245, 60, 0.16);
}

.hub-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.hub-tab {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.62rem 0.95rem;
  cursor: pointer;
}

.hub-tab.is-active,
.hub-tab:hover {
  border-color: rgba(200, 245, 60, 0.35);
  color: var(--color-accent);
  background: rgba(200, 245, 60, 0.08);
}

.hub-view {
  display: none;
}

.hub-view.is-active {
  display: block;
}

.hub-section-header {
  margin-bottom: 1.45rem;
}

.hub-oem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.hub-oem-card,
.hub-network-card,
.hub-component-card,
.hub-risk-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}

.hub-oem-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hub-oem-head h3,
.hub-network-card h3,
.hub-component-card h3,
.hub-risk-card h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.25;
}

.hub-oem-region {
  border-radius: 999px;
  padding: 0.17rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}

.hub-oem-region-us {
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.5);
}

.hub-oem-region-cn {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.4);
}

.hub-oem-region-other {
  color: #d4d4d8;
  border-color: rgba(212, 212, 216, 0.36);
}

.hub-oem-card p,
.hub-component-card p,
.hub-risk-description {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.hub-oem-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--color-text-dim);
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.hub-oem-ctas,
.hub-network-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hub-card-cta {
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
}

.hub-network-grid {
  display: grid;
  gap: 1rem;
}

.hub-supplier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.95rem 0 1rem;
}

.hub-supplier-chip {
  display: flex;
  flex-direction: column;
  background: rgba(200, 245, 60, 0.08);
  border: 1px solid rgba(200, 245, 60, 0.2);
  border-radius: 10px;
  padding: 0.45rem 0.62rem;
  min-width: 140px;
}

.hub-supplier-chip strong {
  font-size: 0.77rem;
}

.hub-supplier-chip small {
  color: var(--color-text-dim);
  font-size: 0.72rem;
}

.hub-buildout-list {
  display: grid;
  gap: 0.85rem;
}

.hub-buildout-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  padding: 1rem;
}

.hub-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
}

.hub-buildout-content h3 {
  font-family: var(--font-display);
  font-size: 1.03rem;
  margin-bottom: 0.35rem;
}

.hub-buildout-content p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.hub-buildout-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.77rem;
  margin-top: 0.65rem;
}

.hub-component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.hub-component-card ul {
  margin: 0 0 1rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.87rem;
}

.hub-component-card li {
  margin-bottom: 0.42rem;
}

.hub-component-cta .btn {
  width: 100%;
}

.hub-risk-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.hub-risk-controls select {
  min-width: 260px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.58rem 0.7rem;
}

.hub-risk-table {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.hub-risk-row {
  display: grid;
  grid-template-columns: 70px 75px 1fr;
  gap: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  background: rgba(8, 9, 11, 0.4);
}

.hub-risk-region {
  color: var(--color-text-dim);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-risk-level {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-risk-level-high {
  color: #fda4af;
}

.hub-risk-level-medium {
  color: #fcd34d;
}

.hub-risk-level-low {
  color: #86efac;
}

.hub-risk-detail {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.hub-attribution {
  margin-top: 1.2rem;
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

.hub-attribution a {
  color: var(--color-accent);
}

.hub-kpi-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  background: rgba(5, 6, 8, 0.9);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.hub-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 0.45rem 0.75rem;
}

.hub-kpi span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
}

.hub-kpi small {
  color: var(--color-text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--env-banner-height) + 57px);
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem;
    gap: 0;
  }
  .nav.open .nav-links > li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav.open .nav-links > li:last-child { border-bottom: none; }
  
  /* Mobile: dropdowns hidden by default, expand on tap */
  .nav.open .nav-dropdown {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.25s ease;
  }
  .nav.open .nav-links > li.dropdown-open .nav-dropdown {
    max-height: 300px;
    padding: 0.5rem 0 0 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid var(--color-border);
  }
  .nav.open .nav-dropdown-inner {
    box-shadow: none;
    padding: 0;
    background: transparent;
    border: none;
  }
  .nav.open .nav-dropdown a {
    padding: 0.4rem 0;
    font-size: 0.85rem;
  }
  .nav.open .nav-dropdown a.nav-priority-link {
    padding: 0.48rem 0.55rem;
    margin-bottom: 0.3rem;
    border-left: 2px solid var(--color-accent);
    border-radius: 8px;
    background: rgba(200, 245, 60, 0.12);
    color: var(--color-text);
    font-weight: 700;
  }
  .nav.open .nav-dropdown a.nav-secondary-link {
    padding-left: 0.2rem;
    color: var(--color-text-muted);
  }
  
  .hero { padding: 5.25rem 1.25rem 2.75rem; }
  .page-home .hero {
    padding-top: 4.8rem;
    padding-bottom: 2.15rem;
  }
  .hero-scroll {
    display: none;
  }
  .hero-location {
    margin-bottom: 1.35rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }
  .page-home .home-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 760px;
    margin-top: 1.1rem;
  }
  .page-home .home-persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .home-core-grid__intro {
    grid-column: 1 / -1;
    text-align: center;
  }
  .page-home .home-core-grid__eyebrow {
    justify-content: center;
  }
  .page-home .home-core-grid__intro p {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .home-core-card {
    min-height: 132px;
    padding: 0.95rem;
  }
  .page-home .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    margin-bottom: 0.8rem;
  }
  .page-home .hero-subtitle {
    font-size: 1rem;
    max-width: 22rem;
    margin-bottom: 0.9rem;
  }
  .page-home .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .page-home .hero-learn-strip {
    margin-top: 0.95rem;
    font-size: 0.86rem;
    max-width: 24rem;
  }
  .section { padding: 2.75rem 1.25rem; }
  .page-home .section {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }
  .section-header {
    margin-bottom: 1.35rem;
  }
  .section-title {
    font-size: clamp(1.35rem, 5.2vw, 1.75rem);
  }
  .search-section { padding-top: 1.5rem; }
  .search-shell { padding: 1rem; }
  .search-controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .search-tab {
    flex: 1;
  }
  #site-search-input {
    padding-right: 4.6rem;
  }
  .search-shortcut-hint {
    display: none;
  }
  .theme-switcher,
  .locale-switcher {
    min-height: 34px;
    font-size: 0.74rem;
    padding: 0.25rem 0.45rem;
  }
  .locale-switcher {
    padding-right: 1.6rem;
  }
  .search-result-card.has-thumb {
    padding-left: 1rem;
    padding-top: 6.1rem;
  }
  .search-result-thumb {
    top: 0.8rem;
    left: 0.8rem;
    width: calc(100% - 1.6rem);
    height: 4.6rem;
  }
  .search-palette-panel {
    width: calc(100% - 1rem);
    margin-top: 5vh;
    max-height: 86vh;
  }
  .search-palette-results {
    max-height: calc(86vh - 120px);
  }
  .global-core-cta {
    right: 0.75rem;
    bottom: 0.75rem;
    min-height: 44px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  .mobile-hero-cta {
    display: block;
  }
  
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .nav-links { flex-wrap: wrap; gap: 1rem; }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-intent-grid {
    grid-template-columns: 1fr;
  }
  
  .value-props { grid-template-columns: 1fr; }
  .value-props.four-cols { grid-template-columns: 1fr; }
  .photo-proof-grid { grid-template-columns: 1fr 1fr; }
  .page-home #academy-system .section-header {
    margin-bottom: 1rem;
  }
  .page-home #academy-system .academy-stack-wrap {
    margin-top: 1rem;
  }
  .page-home #academy-system .academy-stack-layer {
    grid-template-columns: 3rem 1fr;
    gap: 0.5rem 0.7rem;
    padding: 0.6rem 0.75rem;
  }
  .page-home #academy-system .academy-stack-layer strong {
    font-size: 0.9rem;
  }
  .page-home #academy-system .academy-stack-layer span.academy-stack-layer__sub {
    font-size: 0.77rem;
    line-height: 1.45;
  }
  .page-home .home-academy-links {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .page-home .home-academy-links .academy-module-card {
    padding: 0.95rem 1rem;
  }
  .photo-proof-card img {
    height: 168px;
  }
  .footprint-layout { grid-template-columns: 1fr; }
  .footprint-list { max-height: none; }
  .footprint-map { min-height: 360px; }
  .products-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .action-bar-buttons { flex-direction: column; }
  .action-bar-buttons .btn { min-width: 100%; max-width: 280px; }
  .product-detail-grid { grid-template-columns: 1fr !important; }
  .checkout-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .checkout-form .row {
    grid-template-columns: 1fr;
  }
  .hub-toolbar {
    grid-template-columns: 1fr;
  }
  .hub-buildout-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .hub-risk-row {
    grid-template-columns: 1fr;
  }
  .hub-risk-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .hub-risk-controls select {
    min-width: 100%;
  }
  .hub-kpi-bar {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .page-home #svrc-video-proof .trust-strip {
    display: none;
  }
}

@media (max-width: 1360px) {
  .nav-links {
    gap: 1.15rem;
  }
  .nav-cta .btn {
    padding: 0.62rem 0.9rem;
    font-size: 0.84rem;
  }
  .nav-cta .nav-inline-search {
    min-width: 200px;
    width: clamp(200px, 20vw, 260px);
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  .site-header {
    padding: 0.8rem 1.35rem;
  }
  .nav {
    max-width: 1200px;
    gap: 0.85rem;
  }
  .nav-links {
    gap: 1.02rem;
  }
  .nav-links a,
  .nav-dropdown-trigger {
    font-size: 0.85rem;
  }
  .logo {
    font-size: 1.14rem;
    padding: 0.3rem 0.54rem 0.34rem;
  }
  .nav-cta .btn {
    padding: 0.58rem 0.82rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .site-header {
    padding: 0.72rem 1rem;
  }
  .nav {
    max-width: 1140px;
    gap: 0.65rem;
  }
  .nav-links {
    gap: 0.82rem;
  }
  .nav-links a,
  .nav-dropdown-trigger {
    font-size: 0.8rem;
  }
  .nav-cta {
    gap: 0.42rem;
  }
  .logo {
    font-size: 1.06rem;
    padding: 0.28rem 0.48rem 0.3rem;
  }
  .nav-cta .btn {
    padding: 0.5rem 0.72rem;
    font-size: 0.76rem;
  }
  .theme-switcher,
  .locale-switcher {
    min-height: 32px;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
  }
  .locale-switcher {
    padding-right: 1.5rem;
  }
}

@media (max-width: 1220px) {
  .nav-cta .nav-inline-search {
    display: none;
  }
}

@media (max-width: 1200px) {
  .nav-inline-search {
    min-width: 220px;
    width: min(26vw, 300px);
  }
}

@media (max-width: 980px) {
  .nav-inline-search {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--env-banner-height) + 57px);
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem;
    gap: 0;
  }
  .nav.open .nav-links > li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav.open .nav-links > li:last-child { border-bottom: none; }

  .nav.open .nav-dropdown {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.25s ease;
  }
  .nav.open .nav-links > li.dropdown-open .nav-dropdown {
    max-height: 300px;
    padding: 0.5rem 0 0 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid var(--color-border);
  }
  .nav.open .nav-dropdown-inner {
    box-shadow: none;
    padding: 0;
    background: transparent;
    border: none;
  }
  .nav.open .nav-dropdown a {
    padding: 0.4rem 0;
    font-size: 0.85rem;
  }
  .nav.open .nav-dropdown a.nav-priority-link {
    padding: 0.48rem 0.55rem;
    margin-bottom: 0.3rem;
    border-left: 2px solid var(--color-accent);
    border-radius: 8px;
    background: rgba(200, 245, 60, 0.12);
    color: var(--color-text);
    font-weight: 700;
  }
  .nav.open .nav-dropdown a.nav-secondary-link {
    padding-left: 0.2rem;
    color: var(--color-text-muted);
  }
}

@media (min-width: 769px) {
  .mobile-hero-cta {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .photo-proof-grid { grid-template-columns: 1fr; }
  .industry-photo-strip { grid-template-columns: 1fr; }
  .page-home .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .page-home .home-core-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .page-home .home-persona-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .page-home .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.35rem);
  }
  .page-home .hero-subtitle {
    font-size: 0.95rem;
  }
  .page-home .hero-learn-strip {
    font-size: 0.82rem;
  }
  .page-home #academy-system .academy-stack-layer {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .page-home #academy-system .academy-stack-layer__step,
  .page-home #academy-system .academy-stack-layer span.academy-stack-layer__sub {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .ops-visual-grid { grid-template-columns: 1fr; }
  .ops-card-head { grid-template-columns: 1fr; }
  .ops-card-head img { width: 100%; height: 140px; }
  .industry-photo-strip { grid-template-columns: 1fr 1fr; }
}

.env-banner {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(90deg, #b42318, #dc6803);
  box-shadow: 0 6px 18px rgba(12, 17, 29, 0.28);
}

.env-banner strong {
  text-transform: uppercase;
  white-space: nowrap;
}

.env-banner span {
  font-weight: 500;
  opacity: 0.96;
}

.env-banner-link {
  color: #fff;
  margin-left: 0.2rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.env-banner-link:hover {
  text-decoration-thickness: 2px;
}

.env-banner-development {
  background: linear-gradient(90deg, #175cd3, #0ba5ec);
}

.env-banner-admin {
  background: linear-gradient(90deg, #6941c6, #7a5af8);
}

@media (max-width: 768px) {
  .env-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
    font-size: 0.76rem;
    padding: 0.45rem 0.55rem;
  }
}

/* —— Robotics Academy (multi-page primer) —— */
.academy-layout {
  display: grid;
  grid-template-columns: minmax(200px, 230px) 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.academy-sidebar {
  position: sticky;
  top: calc(72px + var(--env-banner-height, 0px));
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 0;
  font-size: 0.88rem;
}

.academy-sidebar h2 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  margin: 0 1rem 0.75rem;
}

.academy-sidebar nav {
  display: flex;
  flex-direction: column;
}

.academy-sidebar a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color var(--transition), background var(--transition);
}

.academy-sidebar a:hover {
  color: var(--color-text);
  background: var(--color-accent-dim);
}

.academy-sidebar a[aria-current="page"] {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  background: var(--color-accent-dim);
}

.academy-main {
  min-width: 0;
}

.academy-main .section-label {
  margin-bottom: 0.5rem;
}

.academy-diagram {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  color: var(--color-text-muted);
  margin: 1rem 0;
}

.academy-callout {
  background: var(--color-bg-elevated);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.academy-callout strong {
  color: var(--color-text);
}

@media (max-width: 900px) {
  .academy-layout {
    grid-template-columns: 1fr;
  }

  .academy-sidebar {
    position: relative;
    top: auto;
  }
}

/* Academy — interactive & motion */
.page-hero.academy-hero {
  position: relative;
  overflow: hidden;
}

.page-hero.academy-hero::before,
.page-hero.academy-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.page-hero.academy-hero::before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200, 245, 60, 0.5), transparent 70%);
  top: -80px;
  right: 10%;
  animation: academy-float 14s ease-in-out infinite;
}

.page-hero.academy-hero::after {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 70%);
  bottom: -40px;
  left: 5%;
  animation: academy-float 18s ease-in-out infinite reverse;
}

.page-hero.academy-hero > * {
  position: relative;
  z-index: 1;
}

@keyframes academy-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -10px) scale(1.05); }
}

.academy-stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding: 1.25rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.academy-step {
  flex: 1 1 140px;
  text-align: center;
  position: relative;
}

.academy-step-num {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border: 2px solid var(--color-border-glow);
  animation: academy-pulse 2.8s ease-in-out infinite;
}

.academy-step:nth-child(2) .academy-step-num { animation-delay: 0.3s; }
.academy-step:nth-child(3) .academy-step-num { animation-delay: 0.6s; }
.academy-step:nth-child(4) .academy-step-num { animation-delay: 0.9s; }

@keyframes academy-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(200, 245, 60, 0); }
}

.academy-step h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

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

.academy-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.academy-badge--starter {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.academy-badge--intermediate {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.academy-badge--advanced {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.academy-module-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.academy-module-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card-hover);
}

.academy-module-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.academy-module-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

/* Academy — imagery (index cards + chapter heroes) */
.academy-hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-width: 52rem;
  margin: 1.75rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.academy-hero-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

@media (min-width: 640px) {
  .academy-hero-gallery img {
    height: 168px;
  }
}

.academy-hero-gallery img:hover {
  transform: scale(1.03);
}

@media (max-width: 560px) {
  .academy-hero-gallery {
    grid-template-columns: 1fr;
  }

  .academy-hero-gallery img {
    height: 200px;
  }
}

.academy-module-card--media {
  padding: 0;
  overflow: hidden;
}

.academy-module-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface);
}

.academy-module-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.academy-module-card--media:hover .academy-module-card__media img {
  transform: scale(1.04);
}

.academy-module-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.academy-module-card__body .link-arrow {
  margin-top: auto;
}

.academy-chapter-hero {
  margin: 1.5rem auto 0;
  max-width: min(920px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.academy-chapter-hero img {
  width: 100%;
  height: auto;
  max-height: min(380px, 42vh);
  object-fit: cover;
  display: block;
}

.academy-chapter-hero figcaption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.55rem 0.85rem;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

/* Academy — role entry + modular “stack” */
.academy-section--persona {
  background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.academy-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .academy-persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .academy-persona-grid {
    grid-template-columns: 1fr;
  }
}

.academy-persona-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  background: var(--color-bg-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  min-height: 7.5rem;
}

.academy-persona-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card-hover);
}

.academy-persona-card__icon {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.academy-persona-card--edu .academy-persona-card__icon {
  background: rgba(200, 245, 60, 0.15);
  color: var(--color-accent);
}

.academy-persona-card--students .academy-persona-card__icon {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
}

.academy-persona-card--industry .academy-persona-card__icon {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.academy-persona-card--owners .academy-persona-card__icon {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
}

.academy-persona-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.academy-persona-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0 0 0.65rem;
  flex: 1;
  line-height: 1.45;
}

.academy-persona-card .link-arrow {
  font-size: 0.8rem;
  margin-top: auto;
}

.academy-stack-wrap {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  text-align: center;
}

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

.academy-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}

.academy-stack-layer {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.65rem 0.85rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.academy-stack-layer:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.academy-stack-layer__step {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-dim);
}

.academy-stack-layer strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.academy-stack-layer span.academy-stack-layer__sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  grid-column: 2;
}

.academy-stack-layer--hw {
  background: linear-gradient(90deg, rgba(200, 245, 60, 0.12), var(--color-bg-card));
  border-left: 4px solid var(--color-accent);
}

.academy-stack-layer--sw {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), var(--color-bg-card));
  border-left: 4px solid #818cf8;
}

.academy-stack-layer--de {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.1), var(--color-bg-card));
  border-left: 4px solid #fbbf24;
}

.academy-stack-layer--in {
  background: linear-gradient(90deg, rgba(244, 114, 182, 0.1), var(--color-bg-card));
  border-left: 4px solid #f472b6;
}

.academy-stack-layer--op {
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.12), var(--color-bg-card));
  border-left: 4px solid #34d399;
}

.academy-home-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  .academy-hero-gallery img:hover,
  .academy-module-card--media:hover .academy-module-card__media img {
    transform: none;
  }

  .academy-stack-layer:hover,
  .academy-persona-card:hover {
    transform: none;
  }
}

.academy-nav-group-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  padding: 0.75rem 1rem 0.35rem;
  margin-top: 0.25rem;
}

.academy-nav-group-label:first-child {
  padding-top: 0.25rem;
  margin-top: 0;
}

.academy-tabs {
  margin: 1.5rem 0;
}

.academy-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.academy-tab {
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.academy-tab[aria-selected="true"] {
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border-color: var(--color-border-glow);
}

.academy-tabpanel[hidden] {
  display: none;
}

.academy-accordion details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--color-bg-elevated);
  overflow: hidden;
}

.academy-accordion summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.academy-accordion summary::-webkit-details-marker {
  display: none;
}

.academy-accordion summary::after {
  content: "+";
  font-weight: 700;
  color: var(--color-accent);
  transition: transform 0.2s;
}

.academy-accordion details[open] summary::after {
  content: "−";
}

.academy-accordion .academy-accordion-body {
  padding: 0 1rem 1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Academy — module template (outcomes, learn–practice–challenge, educator hook, self-check) */
.academy-module-tools {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.academy-module-tools__title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.academy-outcomes {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.academy-outcomes li {
  margin-bottom: 0.35rem;
}

.academy-lpc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (max-width: 640px) {
  .academy-lpc {
    grid-template-columns: 1fr;
  }
}

.academy-lpc__step {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.academy-lpc__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.academy-lpc__step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.academy-teacher {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.academy-teacher strong {
  color: var(--color-text);
}

.academy-teacher ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.academy-selfcheck {
  margin-top: 1rem;
}

.academy-selfcheck > h3 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.academy-standards {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}

.academy-industry-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

@media (max-width: 700px) {
  .academy-industry-path {
    grid-template-columns: 1fr;
  }
}

.academy-industry-path__step {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}

.academy-industry-path__step strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.academy-industry-path__step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.academy-cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-card));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.academy-cta-strip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

.academy-cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.academy-chapter-format {
  padding-top: 0.5rem;
}

/* Academy — embed footer (related, forum, feedback) */
.academy-embed-panel {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.academy-guide {
  margin-bottom: 1.5rem;
}

.academy-guide__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.academy-guide__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.academy-guide__summary {
  margin: 0;
  max-width: 46rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.academy-guide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.academy-guide__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

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

@media (max-width: 760px) {
  .academy-guide-grid {
    grid-template-columns: 1fr;
  }
}

.academy-guide-card {
  background: linear-gradient(180deg, var(--color-bg-card), var(--color-bg-elevated));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}

.academy-guide-card--discuss {
  border-color: var(--color-border-glow);
}

.academy-guide-card__title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.academy-guide-card__copy {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.academy-guide-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.academy-embed-related__title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.academy-embed-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

a.academy-embed-related__link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.86rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

a.academy-embed-related__link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-dim);
}

.academy-embed-discuss__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.academy-embed-feedback {
  margin-bottom: 1rem;
}

.academy-embed-feedback__q {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.academy-embed-feedback__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.academy-embed-feedback__btn {
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  transition: border-color var(--transition), background var(--transition);
}

.academy-embed-feedback__btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
}

.academy-embed-feedback__thanks {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-dim);
}

.academy-embed-graph-link {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

.academy-graph-mermaid {
  margin: 1.25rem 0 2rem;
  padding: 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.academy-graph-mermaid .mermaid {
  display: flex;
  justify-content: center;
}

/* CSS-only joint demo (stacked links) */
.academy-arm-demo {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  margin: 1rem 0;
}

.academy-arm-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.academy-arm-base {
  width: 52px;
  height: 24px;
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg-deep));
  border: 1px solid var(--color-border);
  border-radius: 8px 8px 4px 4px;
}

.academy-arm-link {
  width: 18px;
  height: 44px;
  margin-top: -2px;
  background: linear-gradient(90deg, var(--color-accent-dim), var(--color-surface));
  border: 1px solid var(--color-border-glow);
  border-radius: 4px;
  transform-origin: 50% 0%;
  animation: academy-swing 2.8s ease-in-out infinite;
}

.academy-arm-link--2 {
  height: 38px;
  width: 16px;
  animation-delay: 0.12s;
}

.academy-arm-link--3 {
  height: 28px;
  width: 14px;
  animation-delay: 0.24s;
}

@keyframes academy-swing {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(18deg); }
}

.academy-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.academy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Finger motion demo (dexterous / gloves pages) */
.academy-hand-demo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 1.5rem 1rem;
  margin: 1rem 0;
  min-height: 100px;
}

.academy-finger {
  width: 10px;
  height: 44px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--color-accent-dim), var(--color-surface));
  border: 1px solid var(--color-border-glow);
  transform-origin: bottom center;
  animation: academy-finger-curl 2.4s ease-in-out infinite;
}

.academy-finger:nth-child(2) {
  height: 52px;
  animation-delay: 0.08s;
}
.academy-finger:nth-child(3) {
  height: 48px;
  animation-delay: 0.16s;
}
.academy-finger:nth-child(4) {
  height: 40px;
  animation-delay: 0.24s;
}

@keyframes academy-finger-curl {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(-28deg); }
  60% { transform: rotate(-10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero.academy-hero::before,
  .page-hero.academy-hero::after {
    animation: none;
  }
  .academy-step-num,
  .academy-arm-link,
  .academy-finger {
    animation: none !important;
  }
  .academy-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Global page motion: scroll reveal + optional “principle” flow diagrams --- */
html[data-svrc-motion='on'].js-svrc-motion-ready .svrc-reveal:not(.svrc-reveal--visible) {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

html[data-svrc-motion='on'] .svrc-reveal {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--svrc-reveal-delay, 0s);
  will-change: opacity, transform;
}

html[data-svrc-motion='on'] .svrc-reveal.svrc-reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.svrc-principle-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.svrc-principle-flow {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  padding: 1rem 1.1rem 1.15rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.svrc-principle-flow__caption {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.svrc-principle-flow__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.svrc-principle-flow__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-glow);
  background: var(--color-surface);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.svrc-principle-flow__connector {
  position: relative;
  flex: 1 1 24px;
  min-width: 20px;
  max-width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-accent), var(--color-border));
  opacity: 0.85;
  overflow: hidden;
}

html[data-svrc-motion='on'] .svrc-principle-flow__connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 245, 60, 0.55),
    rgba(200, 245, 60, 0.9),
    rgba(200, 245, 60, 0.55),
    transparent
  );
  transform: translateX(-100%);
  animation: svrc-flow-shimmer 2.4s ease-in-out infinite;
}

@keyframes svrc-flow-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

html[data-svrc-motion='on'] .svrc-principle-flow__node {
  animation: svrc-node-pulse 3.2s ease-in-out infinite;
}

.svrc-principle-flow__track > .svrc-principle-flow__node:nth-child(1) {
  animation-delay: 0s;
}
.svrc-principle-flow__track > .svrc-principle-flow__node:nth-child(3) {
  animation-delay: 0.15s;
}
.svrc-principle-flow__track > .svrc-principle-flow__node:nth-child(5) {
  animation-delay: 0.3s;
}
.svrc-principle-flow__track > .svrc-principle-flow__node:nth-child(7) {
  animation-delay: 0.45s;
}

@keyframes svrc-node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 245, 60, 0);
    border-color: var(--color-border-glow);
  }
  50% {
    box-shadow: 0 0 18px rgba(200, 245, 60, 0.18);
    border-color: rgba(200, 245, 60, 0.45);
  }
}

@media (max-width: 640px) {
  .svrc-principle-flow__track {
    flex-direction: column;
  }
  .svrc-principle-flow__connector {
    flex: 0 0 auto;
    width: 3px;
    height: 18px;
    max-width: none;
    background: linear-gradient(180deg, var(--color-border), var(--color-accent), var(--color-border));
  }
  html[data-svrc-motion='on'] .svrc-principle-flow__connector::after {
    animation-name: svrc-flow-shimmer-v;
  }
}

@keyframes svrc-flow-shimmer-v {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-svrc-motion='on'] .svrc-principle-flow__connector::after,
  html[data-svrc-motion='on'] .svrc-principle-flow__node {
    animation: none !important;
  }
  html.js-svrc-motion-ready .svrc-reveal:not(.svrc-reveal--visible) {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Robotics Data Summit */
.summit-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.summit-hero-media,
.summit-hero-media img,
.summit-hero-overlay {
  position: absolute;
  inset: 0;
}

.summit-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summit-hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.34) 0%, rgba(8, 9, 11, 0.72) 56%, rgba(8, 9, 11, 0.94) 100%),
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.22), transparent 34%);
}

.summit-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 9rem 0 5rem;
}

.summit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 9, 11, 0.55);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  color: var(--color-accent);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.summit-hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.summit-lead {
  max-width: 760px;
  color: rgba(241, 245, 249, 0.9);
  font-size: 1.12rem;
  line-height: 1.75;
}

.summit-hero .hero-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.75rem;
}

.summit-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 920px;
}

.summit-stat,
.summit-why-card,
.summit-theme-card,
.summit-program-card,
.summit-flow-step {
  background: rgba(14, 16, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.summit-stat {
  padding: 1.15rem 1.2rem;
  backdrop-filter: blur(14px);
}

.summit-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.summit-stat span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.summit-why-grid,
.summit-theme-grid,
.summit-program-grid {
  display: grid;
  gap: 1.2rem;
}

.summit-why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summit-theme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summit-program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summit-why-card,
.summit-theme-card,
.summit-program-card {
  padding: 1.5rem;
}

.summit-why-card h3,
.summit-theme-card h3,
.summit-hardware-card h3,
.summit-flow-step h3,
.summit-program-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.summit-why-card p,
.summit-theme-card p,
.summit-hardware-card p,
.summit-flow-step p,
.summit-program-card p {
  color: var(--color-text-muted);
}

.summit-dark-section {
  background:
    linear-gradient(180deg, rgba(200, 245, 60, 0.06), transparent 28%),
    var(--color-bg-deep);
}

.summit-hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.summit-hardware-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.summit-hardware-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.summit-hardware-card div {
  padding: 1.35rem;
}

.summit-solution-section {
  background: linear-gradient(180deg, transparent 0%, rgba(200, 245, 60, 0.04) 100%);
}

.summit-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.summit-flow-step {
  position: relative;
  padding: 1.5rem;
}

.summit-flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-glow);
  color: var(--color-accent);
  font-weight: 700;
}

.summit-program-time {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.summit-gallery-section {
  background: var(--color-bg-elevated);
}

.summit-gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

.summit-gallery-grid img {
  width: 100%;
  min-height: 260px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

@media (max-width: 1080px) {
  .summit-why-grid,
  .summit-hardware-grid,
  .summit-program-grid,
  .summit-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .summit-hero {
    min-height: auto;
  }

  .summit-hero-inner {
    width: min(100%, calc(100% - 2rem));
    padding: 8rem 0 4rem;
  }

  .summit-stat-row,
  .summit-why-grid,
  .summit-theme-grid,
  .summit-hardware-grid,
  .summit-program-grid,
  .summit-flow,
  .summit-gallery-grid {
    grid-template-columns: 1fr;
  }

  .summit-hardware-card img,
  .summit-gallery-grid img {
    height: 220px;
    min-height: 220px;
  }
}

/* Virtual teleop sandbox */
.sandbox-hero {
  background:
    radial-gradient(circle at top center, rgba(200, 245, 60, 0.12), transparent 40%),
    linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
}

.sandbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.sandbox-stage-card,
.sandbox-controls-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.sandbox-stage-card {
  padding: 1rem;
}

.sandbox-controls-card {
  padding: 1.4rem;
}

.sandbox-stage-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.sandbox-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-glow);
}

.sandbox-stage {
  background:
    radial-gradient(circle at top right, rgba(200, 245, 60, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(8, 9, 11, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 0.8rem;
}

.sandbox-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.sandbox-grid line {
  stroke: rgba(148, 163, 184, 0.16);
  stroke-width: 1;
}

#sandbox-target {
  fill: rgba(251, 191, 36, 0.14);
  stroke: rgba(251, 191, 36, 0.9);
  stroke-width: 3;
}

.sandbox-floor {
  fill: rgba(200, 245, 60, 0.18);
}

.sandbox-floor-secondary {
  fill: rgba(148, 163, 184, 0.18);
}

#sandbox-base,
#sandbox-joint-1,
#sandbox-joint-2,
#sandbox-end {
  fill: #e2e8f0;
}

#sandbox-link-1,
#sandbox-link-2,
#sandbox-link-3,
#sandbox-grip-a,
#sandbox-grip-b {
  stroke: url(#sandboxArmGlow);
  stroke-width: 10;
  stroke-linecap: round;
}

#sandbox-grip-a,
#sandbox-grip-b {
  stroke-width: 6;
}

.sandbox-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.sandbox-metric {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: var(--color-bg-elevated);
}

.sandbox-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.22rem;
}

.sandbox-metric span,
.sandbox-help,
.sandbox-note p {
  color: var(--color-text-muted);
}

.sandbox-controls-card h3,
.sandbox-note strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.sandbox-help {
  margin-top: 0.4rem;
  margin-bottom: 1.1rem;
}

.sandbox-slider {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 68px;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.95rem;
}

.sandbox-slider span,
.sandbox-slider strong {
  font-size: 0.92rem;
}

.sandbox-slider strong {
  color: var(--color-text);
  text-align: right;
}

.sandbox-slider input[type="range"] {
  width: 100%;
}

.sandbox-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.sandbox-targets {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.sandbox-target-card {
  width: 100%;
  text-align: left;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.sandbox-target-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.sandbox-target-card strong {
  display: block;
  font-size: 0.97rem;
  margin-bottom: 0.18rem;
}

.sandbox-target-card span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.sandbox-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(200, 245, 60, 0.06);
  border: 1px solid rgba(200, 245, 60, 0.16);
}

.answer-summary {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(10, 14, 23, 0.96));
  box-shadow: var(--shadow-card);
}

.answer-summary-section--moved {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

.answer-summary__lede {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
}

.answer-summary__lede strong {
  color: var(--color-accent);
}

.answer-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.answer-summary__item {
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
}

.answer-summary__item h2,
.answer-summary__item h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.answer-summary__item p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.answer-summary__links {
  margin: 0.95rem 0 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.answer-summary__links a {
  color: var(--color-accent);
}

[data-theme="light"] .answer-summary {
  background: linear-gradient(135deg, #eef4ff, #f5f7fb);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .answer-summary__item {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .answer-summary__item h2,
[data-theme="light"] .answer-summary__item h3,
[data-theme="light"] .answer-summary__item p {
  color: var(--color-text);
}

@media (max-width: 980px) {
  .answer-summary__grid {
    grid-template-columns: 1fr;
  }

  .sandbox-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sandbox-readout {
    grid-template-columns: 1fr;
  }

  .sandbox-slider {
    grid-template-columns: 1fr;
  }

  .sandbox-slider strong {
    text-align: left;
  }
}

/* ── Featured report card responsive ── */
@media (max-width: 700px) {
  .featured-report-card {
    grid-template-columns: 1fr !important;
  }
  .featured-report-stats {
    flex-direction: row !important;
    border-left: none !important;
    border-top: 1px solid var(--color-border) !important;
    padding: 1.5rem !important;
    min-width: unset !important;
    gap: 0.75rem !important;
    justify-content: space-around !important;
  }
  .featured-report-stats > div[style*="height: 32px"] {
    width: 32px !important;
    height: 1px !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 9999;
  text-decoration: none;
  box-shadow: var(--shadow-card-hover);
}
/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  z-index: 9998;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-consent__text {
  flex: 1;
  min-width: 200px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.cookie-consent__link {
  color: var(--color-accent);
  text-decoration: underline;
}
.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
/* Trust Signal Bar */
.trust-bar {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2rem;
  text-align: center;
}
.trust-bar__number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}
.trust-bar__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}
.trust-bar__divider {
  width: 1px;
  height: 2.5rem;
  background: var(--color-border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .trust-bar__item { padding: 0.5rem 1rem; }
  .trust-bar__divider { display: none; }
}
/* Mobile sticky CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9990;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(56,189,248,0.35);
}
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
}

/* =========================================================
   Light-mode component overrides
   These fix elements that use hardcoded dark rgba() values
   instead of CSS variables.
   ========================================================= */

/* Navigation header */
[data-theme="light"] .site-header {
  background: rgba(245, 247, 251, 0.94);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* Logo shadow in light mode */
[data-theme="light"] .logo {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-shadow: none;
}
[data-theme="light"] .logo:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
[data-theme="light"] .logo span {
  text-shadow: none;
}

/* Body background gradient — swap dark cyan tint for light blue tint */
[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(37, 99, 235, 0.02) 0%, transparent 40%);
}

/* Hero background layers */
[data-theme="light"] .hero-gradient {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(180, 83, 9, 0.03) 0%, transparent 50%);
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .hero-lines {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(37, 99, 235, 0.025) 80px,
    rgba(37, 99, 235, 0.025) 81px
  );
}

/* Hero badge */
[data-theme="light"] .hero-badge {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Home persona/action cards — these use hardcoded dark gradients */
[data-theme="light"] .page-home .home-core-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .page-home .home-core-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5fb 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .page-home .home-core-card--primary {
  border-color: rgba(37, 99, 235, 0.25);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .page-home .home-core-card--primary:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #eaf0ff 100%);
}

[data-theme="light"] .page-home .home-core-card--primary .home-core-card__title {
  color: #0f172a;
}

/* Eyebrow label in core grid */
[data-theme="light"] .page-home .home-core-grid__eyebrow {
  background: rgba(245, 247, 251, 0.8);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Core grid intro panel */
[data-theme="light"] .page-home .home-core-grid__intro {
  border-color: rgba(37, 99, 235, 0.2);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.02) 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* Mini-cart drawer (product pages inline style uses #050a14) */
[data-theme="light"] .mini-cart-drawer {
  background: #ffffff;
}
[data-theme="light"] .mini-cart-overlay {
  background: rgba(15, 23, 42, 0.4);
}

/* Agent mode — hide visual decoration, emphasize content */
[data-mode="agent"] .hero-bg,
[data-mode="agent"] .hero-gradient,
[data-mode="agent"] .hero-grid,
[data-mode="agent"] .hero-lines {
  display: none;
}

[data-mode="agent"] .site-header {
  background: var(--color-bg-elevated);
  border-bottom: 2px solid var(--color-border);
  backdrop-filter: none;
}

/* Agent mode toggle button */
.agent-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 999px;
  border: 1px solid var(--color-border-hover);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.agent-mode-toggle:hover {
  border-color: var(--color-border-glow);
  color: var(--color-text);
  background: var(--color-surface-hover);
}

.agent-mode-toggle[aria-pressed="true"] {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.agent-mode-toggle__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.agent-mode-toggle[aria-pressed="true"] .agent-mode-toggle__dot {
  opacity: 1;
}

/* Agent mode banner */
.agent-mode-banner {
  display: none;
  background: var(--color-accent-dim);
  border-bottom: 1px solid var(--color-border-glow);
  padding: 0.5rem 2rem;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-family: var(--font-body);
}

.agent-mode-banner code {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.77rem;
  color: var(--color-text-muted);
}

[data-mode="agent"] .agent-mode-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT MODE OVERRIDES — added 2026-04-06
   Fix: dark-hardcoded backgrounds become unreadable in light mode
   ═══════════════════════════════════════════════════════════════ */

/* Logo: wider text for "Robotics Center" */
.logo { font-size: 1.05rem; letter-spacing: -0.01em; }
.footer-brand .logo { font-size: 1.25rem; }
@media (max-width: 768px) { .logo { font-size: 0.9rem; } }

/* Data-services panels (community cards, service panels) */
[data-theme="light"] .data-services-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .data-services-panel--platform,
[data-theme="light"] .data-services-panel--accent {
  background: linear-gradient(180deg, #f0f4ff 0%, #eaf0ff 100%);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 2px 14px rgba(37, 99, 235, 0.07);
}
[data-theme="light"] .data-services-kicker {
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(37, 99, 235, 0.22);
}
[data-theme="light"] .data-services-panel h2,
[data-theme="light"] .data-services-panel h3,
[data-theme="light"] .data-services-panel p,
[data-theme="light"] .data-services-panel li,
[data-theme="light"] .data-services-panel a:not(.btn) {
  color: var(--color-text);
}
[data-theme="light"] .data-services-bullet-list li::before {
  background: var(--color-accent);
}

/* Search result cards */
[data-theme="light"] .search-result-card {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .search-result-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.14);
}
[data-theme="light"] .search-result-card.is-key-selected {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18), var(--shadow-card-hover);
}

/* Summit / event cards */
[data-theme="light"] .summit-stat,
[data-theme="light"] .summit-why-card,
[data-theme="light"] .summit-theme-card,
[data-theme="light"] .summit-program-card,
[data-theme="light"] .summit-flow-step {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .summit-badge {
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--color-accent);
}
[data-theme="light"] .summit-stat strong { color: var(--color-text); }
[data-theme="light"] .summit-why-card h3,
[data-theme="light"] .summit-theme-card h3,
[data-theme="light"] .summit-program-card h3,
[data-theme="light"] .summit-flow-step h3 { color: var(--color-text); }

/* Nav dropdown in light mode */
[data-theme="light"] .nav-dropdown-inner {
  background: rgba(255,255,255, 0.97);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .nav-dropdown a:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-accent);
}
[data-theme="light"] .nav-dropdown a.nav-priority-link {
  background: rgba(37, 99, 235, 0.07);
  border-left-color: var(--color-accent);
}
[data-theme="light"] .nav-dropdown a.nav-priority-link:hover {
  background: rgba(37, 99, 235, 0.12);
}

/* Agent mode banner — sticky below header so it's always visible */
[data-mode="agent"] .agent-mode-banner {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: var(--color-accent-dim);
  border-bottom: 1px solid var(--color-accent);
  font-size: 0.82rem;
  padding: 0.45rem 1.5rem;
}
[data-mode="agent"] .agent-mode-toggle {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 10px var(--color-accent-glow);
}
[data-mode="agent"] .agent-mode-toggle .agent-mode-toggle__dot {
  background: #fff;
  opacity: 1;
  animation: agent-pulse 1.4s ease-in-out infinite;
}
@keyframes agent-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* Consistent footer links spacing */
[data-theme="light"] .site-footer {
  background: #eef2f8;
}
[data-theme="light"] .footer-bottom {
  border-color: rgba(15, 23, 42, 0.1);
}

/* Industry cards — clean text layout without images */
.news-grid .news-card { min-height: 160px; }

/* ==========================================================
   Light-mode contrast fixes
   Buttons, nav cart, and map controls that used hardcoded
   dark values and lack light-mode overrides.
   ========================================================== */

/* Primary button — white text on blue in light mode */
[data-theme="light"] .btn-primary {
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.22);
}
[data-theme="light"] .btn-primary:hover {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* Nav cart button — light mode */
[data-theme="light"] .nav-cta > a.btn-primary[href="/store/cart"],
[data-theme="light"] .nav-cta > a.btn-primary[href="cart"],
[data-theme="light"] .nav-cta > a.btn-primary[href="../store/cart"],
[data-theme="light"] .nav-cta > a.btn-primary[id="cart-nav-btn"] {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}
[data-theme="light"] .nav-cta > a.btn-primary[href="/store/cart"]:hover,
[data-theme="light"] .nav-cta > a.btn-primary[href="cart"]:hover,
[data-theme="light"] .nav-cta > a.btn-primary[href="../store/cart"]:hover,
[data-theme="light"] .nav-cta > a.btn-primary[id="cart-nav-btn"]:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  color: #ffffff;
}

/* Leaflet map controls — light mode */
[data-theme="light"] .footprint-map .leaflet-popup-content-wrapper,
[data-theme="light"] .footprint-map .leaflet-popup-tip {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .footprint-map .leaflet-control-zoom a {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}
[data-theme="light"] .footprint-map .leaflet-control-zoom a:hover {
  background: #f0f4f8;
}
[data-theme="light"] .footprint-map .leaflet-control-attribution {
  background: rgba(245, 247, 251, 0.92);
  color: #334155;
}

/* ============================================================
   Theme toggle icon button (replaces select dropdown)
   ============================================================ */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
  background: var(--color-surface-hover);
  transform: rotate(15deg);
}

.theme-toggle-btn[data-mode="light"] {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.theme-toggle-btn[data-mode="dark"] {
  color: #818cf8;
  border-color: rgba(129, 140, 248, 0.3);
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.25);
}

@media (max-width: 640px) {
  .theme-toggle-btn {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   Breadcrumb — light mode background fix
   ============================================================ */
[data-theme="light"] .svrc-breadcrumbs {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .svrc-breadcrumbs a {
  color: #475569;
}

[data-theme="light"] .svrc-breadcrumbs [aria-current="page"] {
  color: #0f172a;
}

[data-theme="light"] .svrc-breadcrumbs li:not(:last-child)::after {
  color: #94a3b8;
}

/* ============================================================
   Search palette — category filter tabs
   ============================================================ */
.search-palette-filters {
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem 1rem 0;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.search-palette-filters::-webkit-scrollbar {
  display: none;
}

.search-filter-tab {
  flex-shrink: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.search-filter-tab:hover {
  background: var(--color-surface-hover);
  color: var(--color-text);
}

.search-filter-tab.is-active {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

[data-theme="light"] .search-palette-panel {
  background: linear-gradient(170deg, #ffffff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 26px 90px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.06) inset;
}

[data-theme="light"] .search-palette-input {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

[data-theme="light"] .search-palette-input:focus {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .search-palette-close {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #64748b;
}

[data-theme="light"] .search-palette-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .search-palette-head {
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .search-empty {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .search-palette-filters {
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .search-filter-tab:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

[data-theme="light"] .search-filter-tab.is-active {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563eb;
}

/* ============================================================
   Context-aware pre-footer CTA
   ============================================================ */
.svrc-footer-cta {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.svrc-footer-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.svrc-footer-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.svrc-footer-cta__body {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.svrc-footer-cta__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

[data-theme="light"] .svrc-footer-cta {
  background: #f8fafc;
  border-top-color: rgba(15, 23, 42, 0.1);
}

/* ============================================================
   Article last-updated meta
   ============================================================ */
.article-last-updated {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.article-last-updated time {
  font-weight: 500;
  color: var(--color-text-muted);
}

[data-theme="light"] .article-last-updated {
  color: #64748b;
}

[data-theme="light"] .article-last-updated time {
  color: #475569;
}

/* ══════════════════════════════════════════════════════════════════════════════
   LIGHT MODE FIXES — audit 2026-04-06
   Fixes: invisible text, dark islands, hardcoded colors with no light override
   ══════════════════════════════════════════════════════════════════════════════ */

/* 1. CRITICAL — hub-search input: near-black bg → text invisible in light mode */
[data-theme="light"] .hub-search input {
  background: var(--color-bg-card);
  border-color: var(--color-border);
  color: var(--color-text);
}

/* 2. CRITICAL — services/platform/leasing/rl-environment hero paragraphs */
[data-theme="light"] .services-hero p,
[data-theme="light"] .platform-hero p,
[data-theme="light"] .rl-environment-hero p,
[data-theme="light"] .leasing-hero p {
  color: var(--color-text-muted);
}
[data-theme="light"] .data-services-hero,
[data-theme="light"] .platform-hero,
[data-theme="light"] .leasing-hero,
[data-theme="light"] .rl-environment-hero,
[data-theme="light"] .services-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(37,99,235,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(56,189,248,0.10) 0%, transparent 50%),
    linear-gradient(180deg, #eaf2ff 0%, #f5f7fb 100%);
  border-bottom-color: rgba(37,99,235,0.12);
}
[data-theme="light"] .services-hero::before,
[data-theme="light"] .platform-hero::before,
[data-theme="light"] .rl-environment-hero::before,
[data-theme="light"] .leasing-hero::before {
  background: none;
}
[data-theme="light"] .data-services-hero h1,
[data-theme="light"] .platform-hero h1,
[data-theme="light"] .leasing-hero h1,
[data-theme="light"] .rl-environment-hero h1,
[data-theme="light"] .services-hero h1 {
  color: #0f172a;
}
[data-theme="light"] .data-services-hero .section-label,
[data-theme="light"] .platform-hero .section-label,
[data-theme="light"] .services-hero .section-label,
[data-theme="light"] .leasing-hero .section-label,
[data-theme="light"] .rl-environment-hero .section-label {
  background: rgba(37,99,235,0.09);
  border-color: rgba(37,99,235,0.22);
  color: #2563eb;
}

/* 3. CRITICAL — floating cookie consent popup: hardcoded dark bg, no light override */
[data-theme="light"] .cookie-consent-wrap {
  background: #ffffff;
  border-color: rgba(15,23,42,0.14);
  box-shadow: 0 8px 32px rgba(15,23,42,0.16);
}
[data-theme="light"] .cookie-consent-text {
  color: var(--color-text);
}
[data-theme="light"] .cookie-consent-text a {
  color: var(--color-accent);
}

/* 4. HIGH — .nav-utility-trigger: white-alpha border/bg invisible in light mode */
[data-theme="light"] .nav-utility-trigger {
  border-color: rgba(15,23,42,0.14);
  background: rgba(15,23,42,0.03);
  color: var(--color-text-muted);
}
[data-theme="light"] .nav-utility-trigger:hover {
  background: rgba(15,23,42,0.07);
  border-color: rgba(15,23,42,0.22);
  color: var(--color-text);
}

/* 5. HIGH — leasing form tip/badge: hardcoded light-blue text on dark bg */
[data-theme="light"] .form-step-tip-wrap {
  background: rgba(15,23,42,0.05);
  color: var(--color-text-muted);
  border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .form-step-badge {
  color: var(--color-accent);
  background: rgba(37,99,235,0.1);
}

/* 6. MEDIUM — .summit-lead: near-white hardcoded over photo overlay */
[data-theme="light"] .summit-lead {
  color: rgba(15,23,42,0.85);
}

/* 7. MEDIUM — .data-services-mini-card: dark bg, no light override */
[data-theme="light"] .data-services-mini-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.1);
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
  color: var(--color-text);
}

/* 8. MEDIUM — .platform-access-card / .platform-flow-step: nearly invisible in light */
[data-theme="light"] .platform-access-card,
[data-theme="light"] .platform-flow-step {
  background: #ffffff;
  border-color: rgba(15,23,42,0.1);
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

/* 9. MEDIUM — .page-hero::after: dark gradient fade sits on light hero */
[data-theme="light"] .page-hero::after {
  background: linear-gradient(180deg, transparent, rgba(240,244,248,0.12));
}

[data-theme="light"] .data-services-hero p {
  color: var(--color-text-muted);
}

/* 10. MEDIUM — .data-services-hero-meta span: dark semi-transparent chip */
[data-theme="light"] .data-services-hero-meta span {
  background: rgba(15,23,42,0.07);
  color: var(--color-text-muted);
  border-color: rgba(15,23,42,0.12);
}

/* ── Get in Touch widget — light mode ─────────────────────────────────── */
[data-theme="light"] .ai-lead-entry-button {
  background: linear-gradient(135deg, #1e40af, #0369a1);
  border-color: rgba(30,64,175,0.3);
  box-shadow: 0 4px 24px rgba(30,64,175,0.25);
}
[data-theme="light"] .ai-lead-drawer {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(30,64,175,0.15);
  box-shadow: 0 24px 80px rgba(15,23,42,0.18);
}
[data-theme="light"] .ai-lead-drawer-close {
  background: rgba(241,245,249,0.9);
  border-color: rgba(15,23,42,0.12);
  color: #475569;
}
[data-theme="light"] .ai-lead-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
[data-theme="light"] .lead-assistant-panel {
  background: linear-gradient(180deg, #f0f7ff, #ffffff);
  border: 1px solid rgba(30,64,175,0.15);
}
[data-theme="light"] .lead-assistant-badge {
  background: rgba(30,64,175,0.08);
  border-color: rgba(30,64,175,0.2);
  color: #1e40af;
}
[data-theme="light"] .lead-assistant-header h3 {
  color: #0f172a;
}
[data-theme="light"] .lead-assistant-chip {
  background: rgba(241,245,249,0.9);
  border-color: rgba(15,23,42,0.15);
  color: #334155;
}
[data-theme="light"] .lead-assistant-chip:hover {
  background: #e2eeff;
  border-color: rgba(30,64,175,0.35);
  color: #1e40af;
}
[data-theme="light"] .lead-assistant-empty {
  background: rgba(241,245,249,0.7);
  border-color: rgba(15,23,42,0.15);
}
[data-theme="light"] .lead-assistant-message.is-user {
  background: linear-gradient(135deg, rgba(30,64,175,0.12), rgba(14,165,233,0.1));
  border-color: rgba(30,64,175,0.25);
  color: #0f172a;
}
[data-theme="light"] .lead-assistant-message.is-assistant {
  background: #f1f5f9;
  border-color: rgba(15,23,42,0.1);
  color: #1e293b;
}
[data-theme="light"] .lead-assistant-pill {
  background: #f1f5f9;
  border-color: rgba(15,23,42,0.12);
  color: #475569;
}
[data-theme="light"] .lead-assistant-composer textarea {
  background: #ffffff;
  border-color: rgba(15,23,42,0.2);
  color: #0f172a;
}
[data-theme="light"] .lead-assistant-composer textarea:focus {
  border-color: rgba(30,64,175,0.45);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
[data-theme="light"] .lead-assistant-conversation-card {
  background: rgba(30,64,175,0.06);
  border-color: rgba(30,64,175,0.2);
}
[data-theme="light"] .lead-assistant-conversation-card strong {
  color: #1e40af;
}

/* ── Top Platform Bar ── */
.top-platform-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 0 1.5rem;
  background: rgba(4, 6, 10, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.45);
}
.top-platform-bar a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 0 0.7rem;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.top-platform-bar a:first-child {
  border-left: 1px solid rgba(255,255,255,0.07);
}
.top-platform-bar a:hover { color: rgba(255,255,255,0.9); }
.top-platform-bar a .tpb-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #06b6d4;
  margin-right: 5px;
  flex-shrink: 0;
}
[data-theme="light"] .top-platform-bar {
  background: rgba(240, 243, 248, 0.98);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.4);
}
[data-theme="light"] .top-platform-bar a { color: rgba(0,0,0,0.5); }
[data-theme="light"] .top-platform-bar a:hover { color: rgba(0,0,0,0.85); }
@media (max-width: 600px) {
  .top-platform-bar { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   WCAG 2.1 CONTRAST AUDIT FIXES — 2026-04-12
   Fixes contrast failures in light mode for:
   1. CRITICAL: Academy badge text (colors designed for dark bg only)
   2. CRITICAL: Hub OEM region badge colors (dark-only palette)
   3. CRITICAL: Hub risk level indicator colors (dark-only palette)
   4. MAJOR: --color-text-dim (#64748b) failing 4.5:1 on non-white light surfaces
   5. MAJOR: Placeholder text below AA threshold on light backgrounds
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CRITICAL: Academy badges — swap to dark, legible text in light mode ── */
/* Dark mode uses bright pastel text on semi-transparent colored bg → fine on dark cards.
   Light mode: same pastels fail on near-white effective bg. Switch to darker equivalents. */
[data-theme="light"] .academy-badge--starter {
  background: rgba(22, 101, 52, 0.10);
  color: #166534;
  border-color: rgba(22, 101, 52, 0.32);
}
[data-theme="light"] .academy-badge--intermediate {
  background: rgba(146, 64, 14, 0.10);
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.28);
}
[data-theme="light"] .academy-badge--advanced {
  background: rgba(185, 28, 28, 0.10);
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.28);
}

/* ── 2. CRITICAL: Hub OEM region badges — dark-only colors, no light override ── */
/* Original: #7dd3fc (US), #fca5a5 (CN), #d4d4d8 (Other) — all fail on white bg */
[data-theme="light"] .hub-oem-region-us {
  color: #0369a1;
  border-color: rgba(3, 105, 161, 0.4);
}
[data-theme="light"] .hub-oem-region-cn {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.35);
}
[data-theme="light"] .hub-oem-region-other {
  color: #52525b;
  border-color: rgba(82, 82, 91, 0.3);
}

/* ── 3. CRITICAL: Hub risk level indicators — dark-only pastels ── */
/* Original: #fda4af (high), #fcd34d (medium), #86efac (low) — all fail on white */
[data-theme="light"] .hub-risk-level-high {
  color: #b91c1c;
}
[data-theme="light"] .hub-risk-level-medium {
  color: #92400e;
}
[data-theme="light"] .hub-risk-level-low {
  color: #15803d;
}

/* ── 4. MAJOR: --color-text-dim upgrade on light non-white surfaces ── */
/* #64748b gives only 4.23–4.44:1 on colored light surfaces (--color-bg, --color-surface,
   --color-bg-deep). Bump to #5e6e84 which clears 4.5:1 on these backgrounds.
   On white (#ffffff) it's 4.76:1 so white is already fine. */
[data-theme="light"] {
  --color-text-dim: #5e6e84;
}

/* ── 5. MAJOR: Placeholder text — ensure 4.5:1 on light inputs ── */
/* Inputs/textareas in light mode use bg ~#f5f7fb or #f1f5f9.
   --color-text-dim as placeholder is now #5e6e84 (4.55:1 on #f5f7fb) via the override above.
   Explicitly set placeholder color for forms using hardcoded backgrounds. */
[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder,
[data-theme="light"] .account-form input::placeholder,
[data-theme="light"] .account-form textarea::placeholder,
[data-theme="light"] .checkout-form input::placeholder,
[data-theme="light"] .checkout-form textarea::placeholder,
[data-theme="light"] .forum-input::placeholder,
[data-theme="light"] .forum-textarea::placeholder,
[data-theme="light"] #address-label-input::placeholder,
[data-theme="light"] .nav-inline-search-input::placeholder,
[data-theme="light"] .hub-search input::placeholder,
[data-theme="light"] .footprint-search input::placeholder,
[data-theme="light"] #site-search-input::placeholder,
[data-theme="light"] .search-palette-input::placeholder {
  color: #5e6e84;
}


/* ── University logo trust bar ── */
.trust-bar-section {
  padding: 0.5rem 0;
}
.trust-bar-section .trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 2rem 0;
  overflow: hidden;
  background: transparent;
}
.trust-bar-section .trust-bar__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marquee-scroll 24s linear infinite;
  flex-shrink: 0;
}
.trust-bar__logo {
  height: 28px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.8);
  transition: opacity 0.2s, filter 0.2s;
  flex-shrink: 0;
}
[data-theme="light"] .trust-bar__logo {
  filter: grayscale(1) brightness(0.3);
  opacity: 0.5;
}
.trust-bar__logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-bar__overflow {
  display: flex;
  overflow: hidden;
  gap: 2.5rem;
}

/* ── Testimonial card ── */
.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.6;
}
.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-top: 1rem;
}
.testimonial-card__cite {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: normal;
}
.testimonial-card__cite strong {
  color: var(--color-text);
}

/* ── Hero video background ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
/* Ensure overlay sits above video */
.hero-bg .hero-gradient { position: relative; z-index: 1; }
.hero-bg .hero-grid { position: relative; z-index: 2; }
.hero-bg .hero-lines { position: relative; z-index: 2; }
/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}

/* ── Location region tabs ── */
.loc-region-tabs {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 64px;
  z-index: 90;
  padding: 0.75rem 0;
}
.loc-tab-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.loc-tab {
  padding: 0.375rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.loc-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.loc-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
