/* LeoGreenAI company site — extends styles.css */

/* Banner logo: rounded box matches topbar so corners blend; overflow clips non-transparent PNG corners */
.logoHalo.logoHalo--banner{
  width: fit-content;
  max-width: min(220px, 48vw);
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(8, 11, 16, 0.96) !important;
  border: 3px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  overflow: hidden;
}
.logoHalo.logoHalo--banner .brandLogo{
  display: block;
  width: auto;
  height: clamp(58px, 12vw, 78px);
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  filter: none;
}
/* Larger logo in site headers (see .siteTopbar / .siteTopbarNews rules below) */
.siteTopbar .logoHalo.logoHalo--banner,
.siteTopbarNews .logoHalo.logoHalo--banner{
  max-width: min(300px, 52vw);
  padding: 8px 12px;
  border-radius: 16px;
}
.siteTopbar .logoHalo.logoHalo--banner .brandLogo,
.siteTopbarNews .logoHalo.logoHalo--banner .brandLogo{
  height: clamp(76px, 11vw, 108px);
}

/* Animated eyes: green circle mask matches large face circle in leogreenai-brand.png (700×267); eyes are % of mask. */
.logoHalo.logoHalo--banner .brandLogoWrap{
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
}
.logoFaceAnimLayer{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
/* Large green face blob bbox ~ (143,96)–(232,180); use square 89×89 px aligned to bbox top-left so diameter matches circle. */
.logoFaceCircleMask{
  position: absolute;
  left: calc(143 / 700 * 100%);
  top: calc(96 / 267 * 100%);
  width: calc(89 / 700 * 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(59, 125, 35);
  box-sizing: border-box;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}
/* Invisible ring so “near the face” still triggers hover (parent :hover includes descendants). */
.logoFaceHit{
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  z-index: 0;
  pointer-events: auto;
}
.logoFaceMouth{
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 38%;
  height: 16%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  border: none;
  border-bottom: 3.5px solid rgba(6, 22, 4, 0.88);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.22s ease, border-bottom-color 0.22s ease, bottom 0.22s ease;
}
/* Mouth higher on hover so sad curve stays inside the circle */
.logoFaceCircleMask:hover .logoFaceMouth{
  bottom: 27%;
  transform: translateX(-50%) scaleY(-1);
  border-bottom-color: rgba(4, 16, 3, 0.95);
}
.logoFaceCircleMask:hover .logoFaceEye{
  transform: translate(-50%, -50%) !important;
}
/* Squint: only the white oval closes (scaleY); socket size unchanged. Pupil counter-scaled on Y so the black circle stays the same visual diameter. */
.logoFaceCircleMask:hover .logoFaceEyeInner{
  --logoEyeSquint: 0.4;
  animation: none !important;
  transition: transform 0.2s ease-out !important;
  transform: scaleY(var(--logoEyeSquint)) !important;
  transform-origin: 50% 50%;
}
.logoFaceCircleMask:hover .logoFacePupil{
  animation: none !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1, calc(1 / var(--logoEyeSquint))) !important;
}
.logoFaceEye{
  position: absolute;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50%;
  box-sizing: border-box;
  /* Equal %: mask is square, so this renders round (was 40×52 — too tall). */
  width: 42%;
  height: 42%;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease;
}
/* Eye centers — slightly higher on the face (see site.js comment). */
.logoFaceEye--l{
  left: 34.8%;
  top: 43.4%;
}
.logoFaceEye--r{
  left: 76.5%;
  top: 43.8%;
}
.logoFaceEyeInner{
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50%;
  position: relative;
  transform-origin: 50% 50%;
  transition: transform 0.07s ease-out;
}
/* Blink driven by site.js (~78% both, ~11% each single); fallback CSS only if JS absent */
.logoFaceEyeInner--blink{
  transform: scaleY(0.09);
}
.logoFacePupil{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  height: 46%;
  margin: 0;
  padding: 0;
  background: #121212;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.14s ease-out;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce){
  .logoFaceEyeInner--blink{
    transform: none;
  }
  .logoFacePupil{
    transition: none;
  }
}

/* Logo face click → Leo jump mini-game (dialog + canvas in site.js) */
.logoFaceGameDialog{
  padding: 0;
  border: none;
  border-radius: 18px;
  max-width: min(680px, calc(100vw - 24px));
  width: 100%;
  background: #0f172a;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}
.logoFaceGameDialog::backdrop{
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(5px);
}
.logoFaceGameInner{
  position: relative;
  padding: 18px 20px 22px;
  padding-top: 20px;
}
.logoFaceGameCloseX{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.logoFaceGameCloseX:hover{
  color: #f1f5f9;
  background: #334155;
  border-color: #64748b;
}
.logoFaceGameCloseX:focus-visible{
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.logoFaceGameTitle{
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.logoFaceGameHelp{
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #94a3b8;
}
.logoFaceGameHelp kbd{
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  background: #e2e8f0;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}
.logoFaceGameCanvasWrap{
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.logoFaceGameHudOverlay{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  pointer-events: none;
}
.logoFaceGameHudOverlayScore{
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.85);
}
.logoFaceGameHudOverlayRight{
  text-align: right;
  min-width: 0;
}
.logoFaceGameHeartsRow{
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-height: 1.25rem;
}
.logoFaceGameHeart{
  color: #f43f5e;
  font-size: 1.2rem;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(15, 23, 42, 0.35);
}
.logoFaceGameCanvas{
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 12px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.logoFaceGameWaitHint{
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #cbd5e1;
}
.logoFaceGameWaitHint kbd{
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  background: #e2e8f0;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}
.logoFaceGamePanel{
  margin-top: 14px;
  text-align: center;
}
.logoFaceGameOverTitle{
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 5.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #f8fafc;
  text-shadow: 0 0 20px rgba(248, 250, 252, 0.35), 0 2px 0 rgba(15, 23, 42, 0.5);
}
.logoFaceGameOverScore{
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #cbd5e1;
}
.logoFaceGameOverScore .logoFaceGameFinalScore{
  font-size: 1.35rem;
  font-weight: 800;
  color: #f1f5f9;
}
.logoFaceGameActions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.logoFaceGameBtn{
  appearance: none;
  cursor: pointer;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
}
.logoFaceGameBtn:hover{
  background: #334155;
}
.logoFaceGameBtn:focus-visible{
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.logoFaceGameBtn--primary{
  border-color: #16a34a;
  background: #15803d;
  color: #f0fdf4;
}
.logoFaceGameBtn--primary:hover{
  background: #166534;
}

/* Contact: light “shell” for native select (readable on Windows / dark OS) */
.contactShell{
  color-scheme: light;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px 14px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.contactShell .contactShellLabel{
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  margin: 0 0 8px;
}
.contactTopicSelect{
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 2px solid #64748b !important;
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.contactTopicSelect:focus{
  outline: none;
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.25);
}
.contactTopicSelect option{
  color: #0f172a !important;
  background-color: #ffffff !important;
  font-weight: 600;
  padding: 10px;
}
.contactGrid,
.contactPanel{
  overflow: visible;
}
.contactGrid.contactGrid--single{
  grid-template-columns: 1fr;
  max-width: 640px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.contactHoneypot{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* News page: same max width as main; brand + nav stacked like site pages */
.siteTopbarNews{
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.siteTopbarNews .siteNavRow{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.siteTopbarNews .siteNavRow .brand{
  width: 100%;
  justify-content: center;
}
.siteTopbarNews .siteNavRow .brandLink{
  justify-content: center;
  gap: 14px 18px;
}
.siteTopbarNews .brandText{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.siteTopbarNews .brandName{
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.siteTopbarNews .brandTag{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: clamp(13px, 1.85vw, 16px);
  line-height: 1.45;
  max-width: 42em;
  text-align: center;
}
.siteTopbarNews .brandTag .brandTagLine2{
  font-size: 0.92em;
  opacity: 0.95;
}
.siteTopbarNews .siteNavRow .siteNav{
  width: 100%;
  flex: none;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: visible;
  gap: 6px 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.siteTopbarNews .newsControls{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  justify-content: center;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Site pages header: centered brand row, nav below — width matches .siteMain (1100px) */
.topbar.siteTopbar{
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 16px 16px;
  box-sizing: border-box;
}
.siteTopbar{
  align-items: stretch;
}
.siteTopbar .brand,
.siteTopbarNews .brand{
  min-width: 0;
  width: 100%;
  justify-content: center;
}
.siteTopbar .brandLink{
  justify-content: center;
  gap: 14px 18px;
}
.siteTopbar .brandText{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.siteTopbar .brandName{
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.siteTopbar .brandTag{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: clamp(13px, 1.85vw, 16px);
  line-height: 1.45;
  max-width: 42em;
  text-align: center;
}
.siteTopbar .brandTag .brandTagLine2{
  font-size: 0.92em;
  opacity: 0.95;
}
.brandLink{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brandLink:hover .brandName{
  color: var(--accent);
}

.siteNav{
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.siteTopbar .siteNav{
  width: 100%;
  max-width: 100%;
  flex: none;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  overflow-x: visible;
  gap: 6px 8px;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.siteNav a{
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 7px 11px;
  border-radius: 10px;
  /* Faded outline: same accent hues, low alpha so boxes read as subtle guides */
  border: 1px solid rgba(88, 213, 255, 0.26);
  box-shadow: 0 0 0 1px rgba(124, 241, 198, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.siteNav a:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(88, 213, 255, 0.48);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(124, 241, 198, 0.12),
    0 0 10px rgba(88, 213, 255, 0.12);
}
.siteNav a[aria-current="page"]{
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(253, 224, 71, 0.45);
  background:
    linear-gradient(165deg, #3f0d0d 0%, #7c2d12 22%, #c2410c 42%, #d97706 52%, #ea580c 68%, #991b1b 88%, #3f0d0d 100%);
  background-size: 220% 220%;
  text-shadow:
    0 0 3px rgba(251, 191, 36, 0.35),
    0 0 2px #000,
    0 1px 2px #000;
  box-shadow:
    0 0 5px rgba(251, 146, 60, 0.28),
    0 0 14px rgba(234, 88, 12, 0.18),
    0 0 22px rgba(220, 38, 38, 0.1),
    inset 0 1px 8px rgba(254, 243, 199, 0.12),
    inset 0 -2px 10px rgba(69, 10, 10, 0.28);
  animation: siteNavFireShift 18s ease-in-out infinite, siteNavFireFlicker 4.5s ease-in-out infinite alternate;
}
.siteNav a[aria-current="page"]:hover{
  color: #fff;
  border-color: rgba(254, 240, 138, 0.65);
  filter: brightness(1.04);
}
@keyframes siteNavFireShift{
  0%, 100%{ background-position: 0% 40%; }
  50%{ background-position: 100% 60%; }
}
@keyframes siteNavFireFlicker{
  0%{
    filter: brightness(1) saturate(1);
    box-shadow:
      0 0 5px rgba(251, 146, 60, 0.28),
      0 0 14px rgba(234, 88, 12, 0.18),
      0 0 22px rgba(220, 38, 38, 0.1),
      inset 0 1px 8px rgba(254, 243, 199, 0.12),
      inset 0 -2px 10px rgba(69, 10, 10, 0.28);
  }
  100%{
    filter: brightness(1.05) saturate(1.04);
    box-shadow:
      0 0 8px rgba(251, 191, 36, 0.32),
      0 0 18px rgba(249, 115, 22, 0.22),
      0 0 26px rgba(239, 68, 68, 0.14),
      inset 0 1px 9px rgba(254, 249, 195, 0.16),
      inset 0 -2px 11px rgba(69, 10, 10, 0.32);
  }
}
@media (prefers-reduced-motion: reduce){
  .siteNav a[aria-current="page"]{
    animation: none;
    background-position: 50% 50%;
  }
}

.siteMain{
  padding: 20px 16px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero */
.siteHero{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 28px;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(88,213,255,0.22), transparent 60%),
    radial-gradient(700px 380px at 92% 20%, rgba(124,241,198,0.14), transparent 55%),
    rgba(0,0,0,0.22);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.siteHero::before{
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(88,213,255,0.06) 120deg, transparent 240deg);
  animation: heroGlow 18s linear infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  .siteHero::before{ animation: none; opacity: 0.5; }
}
@keyframes heroGlow{
  to{ transform: rotate(360deg); }
}
.siteHeroInner{
  position: relative;
  z-index: 1;
}
.siteHero h1{
  margin: 0 0 12px;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.siteHero h1 .siteHeroH1Line2{
  display: block;
  margin-top: 0.2em;
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.siteHeroLead{
  margin: 0 0 20px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.5;
  max-width: 52ch;
}
.siteHeroCtas{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.siteBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(88,213,255,0.45);
  background: linear-gradient(135deg, rgba(88,213,255,0.25), rgba(124,241,198,0.12));
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.siteBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(124,241,198,0.55);
}
.siteBtnSecondary{
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  box-shadow: none;
}
.siteBtnSecondary:hover{
  background: rgba(255,255,255,0.10);
}

/* Sections */
.siteSection{
  margin-bottom: 32px;
}
.siteSection h2{
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
}
.siteSection p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 65ch;
}
.siteSection ul{
  margin: 0 0 12px;
  padding-left: 1.2em;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.siteSection li{ margin: 6px 0; }

/* Partnerships page: research theme cards — float illustration top-right, body text wraps */
.partnershipTopicCard{
  display: flow-root;
  margin-top: 18px;
  padding: 20px 22px 22px 24px;
  border-radius: var(--radius2);
  border: 2px solid rgba(124, 241, 198, 0.4);
  background: rgba(15, 23, 34, 0.52);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.22),
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.partnershipTopicCard:hover{
  border-color: rgba(88, 213, 255, 0.55);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.42),
    0 16px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
@media (prefers-reduced-motion: reduce){
  .partnershipTopicCard{
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .partnershipTopicCard:hover{
    transform: none;
  }
}
/* Minimal inline SVG sketches — float top-right, text wraps; no frame around art */
.partnershipTopicFig{
  float: right;
  clear: right;
  width: 30%;
  max-width: 168px;
  margin: 0 0 6px 16px;
  shape-outside: margin-box;
}
.partnershipTopicFig .partnershipTopicSketch{
  width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  color: var(--accent2);
  opacity: 0.95;
}
.partnershipTopicFig .partnershipTopicSketch .sketchAccent{
  stroke: var(--accent);
  opacity: 0.85;
}
.partnershipTopicBody{
  min-width: 0;
}
@media (max-width: 960px){
  .partnershipTopicFig{
    float: none;
    width: min(200px, 55%);
    max-width: none;
    margin: 0 auto 12px;
  }
  .partnershipTopicFig .partnershipTopicSketch{
    max-height: 180px;
    margin-inline: auto;
  }
}

.partnershipTopicBody h3{
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--accent2);
  text-shadow: 0 1px 18px rgba(124, 241, 198, 0.22);
}
.partnershipTopicBody p{
  margin: 0 0 12px;
  line-height: 1.55;
}
.partnershipTopicBody ul{
  margin: 0;
  padding-left: 1.25em;
}
.partnershipTopicBody li{
  margin: 8px 0;
}

/* Cards grid */
.cardGrid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.siteCard{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(15,23,34,0.55);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.siteCardThumb{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  /* Solid black so PNG letterboxing matches typical image background (#000) */
  background: #000000;
  overflow: hidden;
  aspect-ratio: 12 / 7;
  flex-shrink: 0;
  max-height: 290px; /* ~20% from 242px — home offer-card thumbs */
  transition: border-color 0.15s ease;
}
.siteCardThumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
a.siteCard:hover{
  border-color: rgba(88,213,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
a.siteCard:hover .siteCardThumb{
  border-color: rgba(88,213,255,0.28);
}
.siteCard h3{
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}
.siteCard p{
  margin: 0;
  flex: 0 1 auto;
  font-size: 14px;
  color: var(--muted);
}
.siteCard p + p{
  margin-top: 2px;
}
.siteCard .siteCardLink{
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stack diagram */
.stackDiagram{
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 20px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.2);
}
.stackRow{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.stackBlock{
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  color: rgba(255,255,255,0.9);
}
.stackBlock.muted{
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}
.stackArrow{
  text-align: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

/* Stack page (HW/SW): boxed sections for compiler, execution, CSM */
.stackHwSectionBox{
  padding: 20px 22px 22px 24px;
  border-radius: var(--radius2);
  border: 2px solid rgba(124, 241, 198, 0.38);
  background: rgba(15, 23, 34, 0.48);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.2),
    0 10px 36px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.siteSection .stackHwSectionBox h2{
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
  color: var(--accent2);
  text-shadow: 0 1px 14px rgba(124, 241, 198, 0.18);
}
.siteSection .stackHwSectionBox p:last-child,
.siteSection .stackHwSectionBox ul:last-child{
  margin-bottom: 0;
}

/* Model zoo: roadmap LLM highlight + list spacing inside boxed sections */
.modelZooRoadmapHighlight{
  margin-top: 14px;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.modelZooRoadmapHighlight > strong:first-child{
  color: var(--accent2);
}
.siteSection .stackHwSectionBox .modelZooBoxList{
  margin-top: 14px;
}
.stackHwSectionBox .modelZooClassesGrid{
  margin-top: 0;
}
.siteSection .stackHwSectionBox .modelZooClassesFootnote{
  margin-top: 16px;
  margin-bottom: 0;
}

/* Model zoo: LLM card — distinct color, work-in-progress */
.siteCard.siteCard--modelZooLlm{
  border: 2px solid rgba(168, 130, 255, 0.5);
  background:
    linear-gradient(145deg, rgba(88, 60, 140, 0.35) 0%, rgba(15, 23, 34, 0.72) 55%, rgba(12, 16, 24, 0.85) 100%);
  box-shadow:
    0 0 0 1px rgba(168, 130, 255, 0.12) inset,
    0 10px 36px rgba(0, 0, 0, 0.28);
}
.siteCard.siteCard--modelZooLlm h3{
  color: #e8ddff;
}
.siteCard.siteCard--modelZooLlm .modelZooLlmStatus{
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e6b84d;
  text-shadow: 0 0 20px rgba(230, 184, 77, 0.25);
}

/* Stack page: closing callout — full-width copy inside main column, golden frame */
.stackWhyGoldenBox{
  padding: 22px 24px 24px;
  border-radius: var(--radius2);
  border: 2px solid rgba(184, 134, 11, 0.75);
  background:
    linear-gradient(165deg, rgba(232, 197, 71, 0.14) 0%, rgba(15, 23, 34, 0.55) 42%, rgba(12, 18, 28, 0.72) 100%);
  box-shadow:
    0 0 0 1px rgba(232, 197, 71, 0.22),
    0 12px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}
.siteSection .stackWhyGoldenBox h2{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: #e8c547;
  text-shadow: 0 1px 20px rgba(232, 197, 71, 0.28);
}
.siteSection .stackWhyGoldenBox p,
.siteSection .stackWhyGoldenBox ul{
  max-width: none;
  width: 100%;
}
.siteSection .stackWhyGoldenBox .stackWhyGoldenBoxActions{
  margin-bottom: 0;
}

/* Stack page: architecture PNG used as-authored (no frame, no crop, aspect preserved) */
.stackArchFig{
  margin: 18px 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  line-height: 0;
}
.stackArchImg{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
/* Stack page: end-to-end flow overview diagram (after generic .stackArchFig so framing wins) */
figure.stackArchFig.flowObservabilityFig{
  margin: 12px auto 22px;
  width: 60%;
  max-width: 60%;
  border: 1px solid rgba(88, 213, 255, 0.18);
  border-radius: var(--radius2);
  overflow: hidden;
  background: #080b10;
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.08) inset,
    0 20px 64px rgba(0, 0, 0, 0.45);
}
/* Model zoo page: intake + deployment overview (full column width) */
figure.stackArchFig.modelZooFlowFig{
  margin: 12px auto 24px;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(88, 213, 255, 0.18);
  border-radius: var(--radius2);
  overflow: hidden;
  background: #080b10;
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.08) inset,
    0 20px 64px rgba(0, 0, 0, 0.45);
}
/* Partnerships page: hand + possibilities / research areas hero visual */
figure.stackArchFig.partnershipHeroFig{
  margin: 12px auto 24px;
  width: 72%;
  max-width: 72%;
  border: 1px solid rgba(88, 213, 255, 0.18);
  border-radius: var(--radius2);
  overflow: hidden;
  background: #080b10;
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.08) inset,
    0 20px 64px rgba(0, 0, 0, 0.45);
}
.stackArchFig--missing .stackArchImg{
  display: none;
}
.stackArchMissingNote{
  margin: 0;
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(88, 213, 255, 0.08);
  border: 1px dashed rgba(88, 213, 255, 0.35);
  border-radius: 12px;
}
.stackArchMissingNote code{
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-word;
}

/* Configurability page: training/compiler/host/core diagram (matches site card framing) */
figure.stackArchFig.configDiagramFig{
  border: 1px solid rgba(88, 213, 255, 0.18);
  border-radius: var(--radius2);
  background: #000000;
  box-shadow:
    0 0 0 1px rgba(88, 213, 255, 0.08) inset,
    0 20px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* FPGA page: illustration; full content column width */
.fpgaUpdatesFig{
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Contact form */
.contactGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
  overflow: visible;
}
@media (max-width: 820px){
  .contactGrid{ grid-template-columns: 1fr; }
}
.contactPanel{
  padding: 22px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(15,23,34,0.5);
}
.contactPanel h3{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}
.contactForm label{
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 12px 0 6px;
}
.contactForm input,
.contactForm select,
.contactForm textarea{
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.92);
  color: #111;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
/* Select: keep chosen value readable (override global / dark styles) */
.contactForm select,
.contactForm select:focus,
.contactForm select:hover{
  color: #0f172a !important;
  background-color: #f1f5f9 !important;
  border-color: rgba(15,23,42,0.25) !important;
}
.contactForm select option{
  color: #0f172a !important;
  background-color: #ffffff !important;
}

/* End-to-end flow pipeline (stack page) */
.flowPipeline{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 24px 0;
  padding: clamp(16px,3vw,28px);
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(135deg, rgba(88,213,255,0.06), transparent 40%),
    linear-gradient(225deg, rgba(124,241,198,0.05), transparent 45%),
    rgba(0,0,0,0.25);
}
.flowStep{
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 200px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
}
.flowStepCard{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15,23,34,0.65);
  padding: 14px 12px;
  height: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.flowStepIcon{
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(88,213,255,0.35), rgba(124,241,198,0.2));
  border: 1px solid rgba(88,213,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
}
.flowStepTitle{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 6px;
}
.flowStepDesc{
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 600;
}
.flowArrow{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
  opacity: 0.85;
  user-select: none;
}
@media (max-width: 720px){
  .flowArrow{
    width: 100%;
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .flowStep{ max-width: none; }
}
.contactForm textarea{
  min-height: 140px;
  resize: vertical;
}
.contactForm .formActions{
  margin-top: 16px;
}
.contactForm button[type="submit"]{
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(88,213,255,0.45);
  background: rgba(88,213,255,0.2);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}
.contactForm button[type="submit"]:hover{
  background: rgba(88,213,255,0.28);
}
.formHint{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.4;
}

/* Configurability: lists are examples, not exhaustive */
.configListPreamble{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.configListMore{
  color: var(--muted);
  font-style: italic;
}

/* Configurability: two-pillar board (Leo Execution Core, then Leo Compiler) + facet cards */
.configPillarBoard{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}
.configPillar{
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(88, 213, 255, 0.07), transparent 42%),
    rgba(12, 16, 24, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.configPillar--compiler{
  border-top: 3px solid rgba(88, 213, 255, 0.85);
}
.configPillar--hardware{
  border-top: 3px solid rgba(167, 139, 250, 0.65);
  background:
    linear-gradient(165deg, rgba(167, 139, 250, 0.08), transparent 42%),
    rgba(12, 16, 24, 0.88);
}
.configPillarHead{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.configPillarHead h3{
  margin: 0 0 10px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}
.configPillarLead{
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}
.configPillarBody{
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.configFacet{
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 14px;
}
.configFacet h4{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(88, 213, 255, 0.92);
}
.configPillar--hardware .configFacet h4{
  color: rgba(196, 181, 253, 0.95);
}
.configFacet ul{
  margin: 0;
  padding-left: 1.15em;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}
.configFacet li{
  margin-bottom: 6px;
}
.configFacet li:last-child{
  margin-bottom: 0;
}
.configPillarFootnote{
  margin: 18px 0 0;
  padding: 14px 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 600;
}

/* RTL IP page: two license grade cards */
.rtlLicenseGradeBoard{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 18px 0 16px;
}
.rtlLicenseCard{
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(88, 213, 255, 0.08), transparent 45%),
    rgba(12, 16, 24, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 20px 18px 22px;
  min-width: 0;
}
.rtlLicenseCard--hardening{
  border-top: 3px solid rgba(124, 241, 198, 0.85);
  background:
    linear-gradient(165deg, rgba(124, 241, 198, 0.09), transparent 45%),
    rgba(12, 16, 24, 0.92);
}
.rtlLicenseCard--arch{
  border-top: 3px solid rgba(88, 213, 255, 0.88);
  background:
    linear-gradient(165deg, rgba(88, 213, 255, 0.11), transparent 45%),
    rgba(12, 16, 24, 0.92);
}
.rtlLicenseCardTitle{
  margin: 0 0 8px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}
.rtlLicenseCardLead{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.rtlLicenseCardList{
  margin: 0;
  padding-left: 1.15em;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}
.rtlLicenseCardList li{
  margin-bottom: 10px;
}
.rtlLicenseCardList li:last-child{
  margin-bottom: 0;
}
@media (max-width: 720px){
  .rtlLicenseGradeBoard{
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* RTL IP page: “Why teams license” — tab row + single connected detail card (blue selection) */
.rtlWhyLicenseWrap{
  margin-top: 8px;
}
.rtlWhyPicker{
  border: 1px solid rgba(88, 213, 255, 0.32);
  border-radius: var(--radius2);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 26, 48, 0.98) 0%, rgba(10, 20, 38, 0.97) 28%, rgba(6, 12, 24, 0.98) 55%, rgba(4, 8, 18, 1) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 22px 56px rgba(0, 0, 0, 0.5);
}
.rtlWhyTabStrip{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 4px 6px;
  overflow: visible;
  padding: 12px 12px 0;
  border-bottom: none;
  /* Single shared “field” for all topics — no per-tab boxes */
  background: rgba(4, 10, 22, 0.55);
}
.rtlWhyTab:focus-visible{
  outline: 2px solid rgba(120, 190, 255, 0.75);
  outline-offset: 2px;
  z-index: 1;
}
.rtlWhyTab{
  flex: 1 1 auto;
  min-width: min(132px, 100%);
  max-width: 220px;
  appearance: none;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 12px 14px;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  box-shadow: none;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  transition: color 0.15s ease, background 0.15s ease;
}
@media (min-width: 768px){
  .rtlWhyTab{
    font-size: 12px;
    padding: 11px 14px 15px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
  }
}
.rtlWhyTab:hover{
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
}
/* Active topic: same gradient family as the card below — flat bottom edge, no frame */
.rtlWhyTab.is-active{
  color: #fff;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(40, 78, 125, 0.92) 0%, rgba(28, 58, 98, 0.88) 55%, rgba(22, 48, 82, 0.95) 100%);
}
.rtlWhyCardDock{
  position: relative;
  padding: 0;
  background: transparent;
}
.rtlWhyLicenseList{
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
/* Override .siteSection ul/li defaults so the picker + card stay full-width and flush */
.siteSection .rtlWhyLicenseList{
  margin: 0;
  padding: 0;
}
.siteSection .rtlWhyLicenseList > li{
  margin: 0;
}
.rtlWhyCardDock .rtlWhyLicenseItem{
  display: none;
  margin: 0;
  min-width: 0;
}
.rtlWhyCardDock .rtlWhyLicenseItem.rtlWhyLicenseItem--active{
  display: flex;
  animation: rtlWhyCardIn 0.28s ease;
}
@keyframes rtlWhyCardIn{
  from{
    opacity: 0.7;
    transform: translateY(5px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce){
  .rtlWhyCardDock .rtlWhyLicenseItem.rtlWhyLicenseItem--active{
    animation: none;
  }
}
.rtlWhyLicenseItem--card{
  padding: 20px 20px 22px;
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(88, 213, 255, 0.38);
  border-top: 3px solid rgba(120, 190, 255, 0.95);
  box-shadow: 0 16px 40px rgba(0, 40, 90, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rtlWhyCardDock .rtlWhyLicenseItem--card{
  border-radius: 0;
  border-top: none;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  box-shadow: none;
}
.rtlWhyCardDock .rtlWhyLicenseItem--card.rtlWhyLicenseItem--active{
  background:
    linear-gradient(180deg, rgba(22, 48, 82, 0.98) 0%, rgba(22, 48, 88, 0.55) 14%, rgba(25, 55, 98, 0.42) 42%, rgba(14, 32, 62, 0.96) 100%);
}
.rtlWhyLicenseItem--card.rtlWhyLicenseItem--accentCyan{
  border-top: 3px solid rgba(88, 213, 255, 0.9);
  background:
    linear-gradient(155deg, rgba(88, 213, 255, 0.12), transparent 48%),
    rgba(12, 16, 24, 0.94);
}
.rtlWhyLicenseItem--card.rtlWhyLicenseItem--accentMint{
  border-top: 3px solid rgba(124, 241, 198, 0.88);
  background:
    linear-gradient(155deg, rgba(124, 241, 198, 0.11), transparent 48%),
    rgba(12, 16, 24, 0.94);
}
.rtlWhyCardDock .rtlWhyLicenseItem--active.rtlWhyLicenseItem--card.rtlWhyLicenseItem--accentCyan,
.rtlWhyCardDock .rtlWhyLicenseItem--active.rtlWhyLicenseItem--card.rtlWhyLicenseItem--accentMint{
  border: none;
  border-bottom: 1px solid rgba(88, 213, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(22, 48, 82, 0.98) 0%, rgba(25, 55, 98, 0.48) 28%, rgba(14, 32, 62, 0.96) 100%);
}
.rtlWhyLicenseItemBody{
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.rtlWhyLicenseItemBody a{
  font-weight: 800;
  color: var(--accent);
}
.rtlWhyLicenseItemBody strong{
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
}

/* Configurability: closing callout */
.configClosingHighlight{
  border-radius: var(--radius2);
  border: 1px solid rgba(88, 213, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(88, 213, 255, 0.12), transparent 55%),
    linear-gradient(225deg, rgba(124, 241, 198, 0.08), transparent 50%),
    rgba(15, 23, 34, 0.75);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  padding: clamp(18px, 3vw, 26px) clamp(20px, 3vw, 28px);
}
.configClosingHighlightText{
  margin: 0;
  font-size: clamp(14px, 1.9vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.configClosingHighlightText a{
  font-weight: 800;
}
@media (max-width: 1020px){
  .configPillarBoard{
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

.siteFooter{
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted2);
  text-align: center;
}

@media (max-width: 960px){
  .topbar.siteTopbar{
    padding-left: 14px;
    padding-right: 14px;
  }
  .siteTopbar .siteNav{
    gap: 4px 6px;
  }
  .siteTopbar .siteNav a{
    padding: 6px 8px;
    font-size: 12px;
  }
  .siteTopbar .brandTag,
  .siteTopbarNews .brandTag{
    font-size: clamp(12px, 1.65vw, 15px);
    line-height: 1.4;
  }
  .siteTopbarNews{
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Mobile: tighter padding; brand stack can wrap on very narrow screens */
@media (max-width: 720px){
  .topbar.siteTopbar{
    padding: 14px 12px 14px;
  }
  .siteTopbar .brandLink{
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .siteTopbar .logoHalo.logoHalo--banner,
  .siteTopbarNews .logoHalo.logoHalo--banner{
    max-width: min(320px, 92vw);
  }
  .siteTopbar .logoHalo.logoHalo--banner .brandLogo,
  .siteTopbarNews .logoHalo.logoHalo--banner .brandLogo{
    height: clamp(68px, 20vw, 96px);
  }
  .siteTopbar .brandText{
    min-width: 0;
    flex: 1 1 200px;
    max-width: 100%;
  }
  .siteTopbar .siteNav{
    padding-top: 12px;
    margin-top: 10px;
    gap: 6px 8px;
  }
  .siteTopbar .siteNav a{
    padding: 9px 12px;
    font-size: 13px;
    flex: 0 0 auto;
  }

  .siteTopbarNews{
    padding-left: 12px;
    padding-right: 12px;
  }
  .siteTopbarNews .siteNavRow .siteNav{
    gap: 6px 8px;
  }
  .siteTopbarNews .newsControls{
    justify-content: center;
  }
}
