/* ==========================================================================
   EAGLE EYE 2027 — FLAGSHIP COMMAND-BLUE DESIGN SYSTEM
   Synthesizing Chrome editorial clarity, Adobe bento & mega-menus,
   Bolt bold display stretch, ClickUp interactive workspace stage,
   Hugging Face live telemetry cards, and Android Studio technical precision.
   ========================================================================== */
:root {
  /* Core Eagle Command Blues (from eagle/index.php) */
  --blue-600: #0066e6;
  --blue-500: #0088ff;
  --blue-400: #00a3ff;
  --blue-300: #38bdf8;
  --blue-indigo: #4f6bff;
  --blue-50: #f2f8fe;
  --blue-100: #e3f1fd;
  --blue-200: #c7e2fc;

  /* Surfaces & Ink */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --ink-950: #060d1e;
  --ink-900: #0a162e;
  --ink-800: #0b2545;

  /* Status Accents */
  --green-500: #00ba55;
  --green-50: #e3f8ed;
  --amber-500: #f5a600;
  --amber-50: #fef4d9;
  --rose-500: #f8285a;
  --rose-50: #ffe8ef;

  /* Typography */
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii & Elevation */
  --r-2xl: 32px;
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-pill: 999px;
  --shadow-stage: 0 36px 90px -24px rgba(0, 102, 230, 0.28), 0 0 0 1px rgba(0, 136, 255, 0.14);
  --shadow-float: 0 18px 42px -14px rgba(6, 13, 30, 0.16);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink-950);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.mono { font-family: var(--font-mono); }

.container {
  width: min(1240px, calc(100dvw - 2.5rem));
  margin-inline: auto;
}

/* Compositor-only Scroll Reveal (opt-in under no-preference) */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ANDROID STUDIO-INSPIRED FULL-WIDTH STICKY NAVBAR & HOVER MEGA-MENUS
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--slate-200);
  overflow: visible;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 6px 24px -8px rgba(6, 13, 30, 0.12);
}

.header-inner {
  width: min(1320px, calc(100dvw - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
  overflow: visible;
}

.header-left {
  display: flex;
  align-items: stretch;
  gap: 2.25rem;
  overflow: visible;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--blue-50);
  padding: 3px;
  border: 1px solid var(--blue-200);
}

.brand-title { font-size: 1.1rem; line-height: 1.1; }
.brand-accent { color: var(--blue-500); }
.brand-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.site-nav {
  display: none;
  align-items: stretch;
  overflow: visible;
}

.desktop-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  overflow: visible;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: visible;
}

.nav-link,
.nav-dropdown-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 1.05rem;
  height: 100%;
  color: var(--slate-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.16s ease;
}

/* Android Developers Signature Bottom Blue Active Bar */
.nav-link::after,
.nav-dropdown-btn::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover > .nav-link,
.nav-item:hover > .nav-dropdown-btn,
.nav-link:focus-visible,
.nav-dropdown-btn[aria-expanded="true"] {
  color: var(--blue-600);
}

.nav-item:hover > .nav-link::after,
.nav-item:hover > .nav-dropdown-btn::after,
.nav-dropdown-btn[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.chev {
  transition: transform 0.2s ease;
  color: var(--slate-400);
}

.nav-item:hover > .nav-dropdown-btn .chev,
.nav-dropdown-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
  color: var(--blue-500);
}

/* Floating Mega-Menu Dropdown (Zero Clipping, Zero Scrollbars) */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 580px;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 2px solid var(--blue-500);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 28px 64px -12px rgba(6, 13, 30, 0.22), 0 8px 20px -6px rgba(0, 102, 230, 0.12);
  z-index: 1200;
  overflow: visible;
}

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

/* Smooth hover bridge so cursor travels seamlessly from header into panel */
@media (min-width: 1060px) and (hover: hover) {
  .nav-item.has-dropdown:hover > .mega-panel,
  .nav-item.has-dropdown.is-open > .mega-panel {
    display: block;
    animation: megaDrop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

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

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.4rem 0.75rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.06em;
}

.mega-all-link {
  color: var(--blue-600);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
}
.mega-all-link:hover { text-decoration: underline; }

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.72rem 0.82rem;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink-950);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mega-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
}

.mega-item-wide {
  grid-column: 1 / -1;
  background: var(--slate-50);
  border-color: var(--slate-200);
}

.mega-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.mega-item strong { display: block; font-size: 0.87rem; line-height: 1.25; }
.mega-item span { display: block; font-size: 0.76rem; color: var(--slate-500); margin-top: 2px; }

.nav-ctas {
  display: none;
  align-items: center;
  gap: 1rem;
}

.nav-portal-link {
  color: var(--slate-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-portal-link:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.btn-nav {
  padding: 0.58rem 1.2rem;
  font-size: 0.86rem;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--ink-950);
  border: 1px solid var(--blue-200);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}

/* Mobile Drawer Popover (Strictly for < 1060px) */
.mobile-drawer {
  margin: 0;
  padding: 1.25rem;
  position: fixed;
  inset: 74px 1rem auto auto;
  width: min(92dvw, 350px);
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  box-shadow: 0 28px 64px -12px rgba(6, 13, 30, 0.26);
}
.mobile-drawer:not(:popover-open) { display: none; }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--slate-200);
}

.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-group {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.mobile-drawer-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue-600);
  margin-bottom: 0.3rem;
}

.mobile-drawer-group a {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-950);
  font-weight: 600;
  font-size: 0.88rem;
}
.mobile-drawer-group a:hover { background: var(--blue-50); color: var(--blue-600); }

.mobile-drawer-actions {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-200);
}

@media (min-width: 1060px) {
  .menu-button { display: none; }
  .site-nav { display: flex; }
  .nav-ctas { display: inline-flex; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.38rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px -8px rgba(0, 136, 255, 0.65);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 100%);
  box-shadow: 0 16px 34px -8px rgba(0, 136, 255, 0.78);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink-950);
  border-color: var(--slate-200);
}
.btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
  background: var(--blue-50);
}

.btn-dark-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-dark-ghost:hover {
  background: rgba(0, 136, 255, 0.22);
  border-color: var(--blue-300);
}

.btn-lg {
  padding: 0.92rem 1.85rem;
  font-size: 0.96rem;
}

/* ==========================================================================
   CHROME-STYLE EDITORIAL HERO + CLICKUP INTERACTIVE COMMAND STAGE
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(2.8rem, 5dvh, 4.5rem) 0 clamp(3.5rem, 6dvh, 5rem);
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 136, 255, 0.12), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  overflow: hidden;
}

.hero-center {
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1.35rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.7);
    animation: pingBlue 2.2s infinite;
  }
}
@keyframes pingBlue {
  0% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(0, 136, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0); }
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 1.4rem + 4.2vw, 4.95rem);
  font-weight: 800;
  font-variation-settings: "wdth" 94, "opsz" 72;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink-950);
}

/* Google Chrome-inspired inline highlight pill inside H1 */
.title-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.04em 0.34em 0.08em;
  border-radius: 0.34em;
  background: linear-gradient(135deg, var(--blue-100) 0%, #d4ebff 100%);
  color: var(--blue-600);
  border: 1px solid rgba(0, 136, 255, 0.22);
  font-variation-settings: "wdth" 100, "opsz" 72;
}

.hero-sub {
  margin: 0 auto 1.85rem;
  max-width: 64ch;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  color: var(--slate-700);
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-office-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 2.75rem;
}

.hero-office-chip {
  padding: 0.3rem 0.78rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.76rem;
  font-weight: 700;
}

/* CLICKUP-STYLE INTERACTIVE COMMAND STAGE */
.stage-shell {
  background: var(--ink-950);
  border-radius: var(--r-2xl);
  padding: 1rem;
  box-shadow: var(--shadow-stage);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

.stage-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.35rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  margin-bottom: 1rem;
}

.stage-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.stage-tab-btn:hover { background: rgba(0, 136, 255, 0.16); color: #ffffff; }
.stage-tab-btn[aria-selected="true"] {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 22px -6px rgba(0, 136, 255, 0.7);
}

.stage-viewport {
  background: linear-gradient(160deg, #0b162c 0%, #071021 100%);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: var(--r-xl);
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.stage-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
.stage-panel[hidden] { display: none; }

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

.stage-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}

.stage-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stage-kpi {
  background: rgba(0, 136, 255, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--r-md);
  padding: 0.85rem;
}
.stage-kpi span { display: block; font-size: 0.7rem; color: var(--slate-400); text-transform: uppercase; font-weight: 700; }
.stage-kpi strong { display: block; font-size: 1.35rem; color: #ffffff; margin-top: 2px; }

.bar-track {
  height: 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.35rem;
}
.bar-fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
}

/* Animated Geo-Fence Radar Rings */
.radar-box {
  position: relative;
  height: 220px;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at center, rgba(0, 136, 255, 0.22) 0%, rgba(6, 13, 30, 0.9) 70%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.4);
}
.radar-ring.r1 { width: 84px; height: 84px; }
.radar-ring.r2 { width: 152px; height: 152px; }
.radar-ring.r3 { width: 220px; height: 220px; }
.radar-core {
  z-index: 2;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--blue-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(0, 136, 255, 0.9);
}

/* Mobile Phone Mockup inside Stage */
.phone-frame {
  max-width: 280px;
  margin-inline: auto;
  background: #050a14;
  border: 4px solid #1e293b;
  border-radius: 30px;
  padding: 1rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}
.phone-notch {
  width: 72px;
  height: 6px;
  border-radius: 99px;
  background: #334155;
  margin: 0 auto 0.85rem;
}

/* ==========================================================================
   HUGGING FACE-STYLE TELEMETRY RIBBON
   ========================================================================== */
.hf-ribbon {
  background: var(--white);
  border-block: 1px solid var(--slate-200);
  padding: 1.25rem 0;
}

.hf-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-950);
}
.hf-pill .dot-ok { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
.hf-pill .dot-blue { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

/* ==========================================================================
   SECTION HEADINGS & RHYTHM
   ========================================================================== */
.section {
  padding: clamp(4rem, 7dvh, 6.25rem) 0;
  background: var(--white);
}
.section-ice {
  background: linear-gradient(180deg, var(--blue-50) 0%, #ffffff 100%);
  border-block: 1px solid var(--blue-100);
}
.section-dark {
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(0, 136, 255, 0.25), transparent 65%),
    linear-gradient(180deg, var(--ink-950) 0%, var(--ink-800) 100%);
  color: #ffffff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 0.28rem 0.8rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.85rem;
}
.section-dark .kicker {
  background: rgba(0, 136, 255, 0.2);
  color: var(--blue-300);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 1.3rem + 2.2vw, 3.2rem);
  font-weight: 800;
  font-variation-settings: "wdth" 95;
  line-height: 1.08;
  letter-spacing: -0.036em;
}
.section-head p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--slate-500);
}
.section-dark .section-head p { color: #cbd5e1; }

/* ==========================================================================
   BOLT-STYLE 5 ELECTORAL OFFICES SHOWCASE
   ========================================================================== */
.office-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
}

.office-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--ink-950);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.office-pill-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.office-pill-btn[aria-selected="true"] {
  background: var(--ink-950);
  color: #ffffff;
  border-color: var(--ink-950);
  box-shadow: 0 12px 28px -10px rgba(6, 13, 30, 0.45);
}

.office-pill-code {
  font-size: 0.7rem;
  padding: 0.15rem 0.48rem;
  border-radius: 6px;
  background: var(--blue-100);
  color: var(--blue-600);
}
.office-pill-btn[aria-selected="true"] .office-pill-code {
  background: var(--blue-500);
  color: #ffffff;
}

.office-panel {
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 920px) {
  .office-panel { grid-template-columns: 1.15fr 0.85fr; }
}

.office-panel-left { padding: clamp(2rem, 3.8vw, 3rem); }
.office-panel-right {
  padding: clamp(2rem, 3.8vw, 2.75rem);
  background: linear-gradient(160deg, var(--ink-950) 0%, var(--ink-800) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.spec-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--r-md);
  padding: 0.95rem;
}
.spec-box span { display: block; font-size: 0.68rem; color: var(--slate-400); text-transform: uppercase; font-weight: 700; }
.spec-box strong { display: block; font-size: 1rem; color: #ffffff; margin-top: 3px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--slate-700);
}
.check-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.74rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.office-5-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.office-mini {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.office-mini:hover,
.office-mini.active {
  transform: translateY(-3px);
  border-color: var(--blue-500);
  box-shadow: 0 14px 30px -14px rgba(0, 136, 255, 0.35);
}
.office-mini h4 { margin: 0.55rem 0 0.3rem; font-size: 1rem; }
.office-mini p { margin: 0; font-size: 0.82rem; color: var(--slate-500); }

/* ==========================================================================
   ADOBE-STYLE ASYMMETRIC EDITORIAL BENTO GRID
   ========================================================================== */
.adobe-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}
@media (min-width: 920px) {
  .adobe-bento { grid-template-columns: repeat(12, 1fr); }
  .col-7 { grid-column: span 7; }
  .col-5 { grid-column: span 5; }
  .col-4 { grid-column: span 4; }
  .col-8 { grid-column: span 8; }
}

.bento-tile {
  border-radius: var(--r-xl);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: var(--blue-400);
}
.bento-tile.tile-blue {
  background: linear-gradient(145deg, var(--blue-500) 0%, #004fc4 100%);
  color: #ffffff;
  border-color: transparent;
}
.bento-tile.tile-blue p { color: #dbeafe; }
.bento-tile.tile-navy {
  background: linear-gradient(155deg, var(--ink-950) 0%, var(--ink-800) 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.22);
}
.bento-tile.tile-navy p { color: #cbd5e1; }
.bento-tile.tile-ice {
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border-color: var(--blue-200);
}

.bento-tile h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.bento-tile p { margin: 0; font-size: 0.94rem; color: var(--slate-700); }

/* ==========================================================================
   ANDROID STUDIO-STYLE SECURITY & DEPLOYMENT CODE SPEC
   ========================================================================== */
.spec-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 920px) { .spec-split { grid-template-columns: 1fr 1.05fr; } }

.code-card {
  background: #040914;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 28px 64px -20px rgba(0, 0, 0, 0.65);
}
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: rgba(0, 136, 255, 0.12);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  font-size: 0.75rem;
  color: var(--blue-300);
}
.code-body {
  padding: 1.35rem 1.4rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #e2e8f0;
  overflow-x: auto;
}
.c-key { color: #38bdf8; }
.c-str { color: #34d399; }
.c-com { color: #64748b; }

/* ==========================================================================
   FAQ & COMMERCIAL DEMO FORM
   ========================================================================== */
.faq-list { display: grid; gap: 0.8rem; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-950);
  cursor: pointer;
}
.faq-trigger[aria-expanded="true"] { color: var(--blue-600); }
.faq-body { padding: 0 1.4rem 1.25rem; color: var(--slate-700); font-size: 0.93rem; }

.demo-card {
  background: var(--white);
  color: var(--ink-950);
  border-radius: var(--r-2xl);
  padding: clamp(1.8rem, 3.2vw, 2.75rem);
  box-shadow: 0 32px 72px -20px rgba(0, 0, 0, 0.55);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.35rem; }
.field input, .field select {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink-950);
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--blue-500); background: var(--white); }

.form-success {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--green-50);
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.88rem;
  font-weight: 700;
}

/* ==========================================================================
   MULTI-COLUMN FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-950);
  color: var(--slate-400);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 3.5rem 0 2.25rem;
  font-size: 0.86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  margin-bottom: 1.5rem;
}
.footer-col h4 { color: #ffffff; margin: 0 0 0.85rem; font-size: 0.88rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--slate-400); text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--blue-300); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom strong { color: #e2e8f0; }

.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.78rem;
  border-radius: var(--r-pill);
  background: rgba(0, 136, 255, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #cbd5e1;
  font-size: 0.76rem;
}
.powered-badge strong { color: #ffffff; }


/* ==========================================================================
   COVERAGE & AGENT BUDGET CALCULATOR MODAL
   ========================================================================== */
.drawer-calc-btn {
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
}

.calc-modal {
  margin: auto;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  width: min(880px, calc(100dvw - 1.5rem));
  max-height: calc(100dvh - 2rem);
  background: var(--white);
  color: var(--ink-950);
  box-shadow: 0 36px 96px -16px rgba(6, 13, 30, 0.38);
  overflow-y: auto;
}
.calc-modal::backdrop {
  background: rgba(6, 13, 30, 0.68);
  backdrop-filter: blur(6px);
}

.calc-shell {
  padding: clamp(1.35rem, 3vw, 2.1rem);
  display: grid;
  gap: 1.25rem;
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.calc-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  letter-spacing: -0.025em;
}
.calc-head p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-500);
}

.calc-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--ink-950);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.calc-close:hover { background: var(--blue-50); border-color: var(--blue-200); color: var(--blue-600); }

.calc-office-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.calc-office-btn {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-office-btn:hover { border-color: var(--blue-300); color: var(--blue-600); }
.calc-office-btn[aria-selected="true"] {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(0, 136, 255, 0.55);
}

.calc-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.calc-nationwide-pill {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  font-size: 0.88rem;
  color: var(--ink-800);
}

.calc-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .calc-kpis { grid-template-columns: repeat(2, 1fr); }
}

.calc-kpi {
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}
.calc-kpi span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}
.calc-kpi strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-950);
}
.calc-kpi-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-color: transparent;
  color: var(--white);
}
.calc-kpi-primary span { color: rgba(255, 255, 255, 0.84); }
.calc-kpi-primary strong { color: var(--white); }

.calc-table-wrap {
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  overflow-x: auto;
}
.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.calc-table th {
  text-align: left;
  padding: 0.75rem 0.95rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}
.calc-table td {
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
}
.calc-table tr:last-child td { border-bottom: 0; }
.calc-table .num { text-align: right; }

.opt-tag {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 0.64rem;
  font-weight: 800;
  vertical-align: middle;
}

.calc-amount-input {
  width: 138px;
  max-width: 100%;
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  color: var(--ink-950);
}
.calc-amount-input:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.calc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--ink-950);
  color: var(--white);
}
.calc-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.65rem;
}
.calc-totals span {
  display: block;
  font-size: 0.72rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.calc-totals strong {
  font-size: 1.2rem;
  font-weight: 800;
}
.calc-grand-money {
  color: var(--blue-300);
}
.calc-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.calc-footer-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.calc-footer-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}
