/* Shared inner-page art direction: mirrors the homepage navy/cyan G HUB system. */
body.inner-page {
  --bg: #05070b;
  --surface: #0b0f18;
  --surface-2: #101827;
  --ink: #f4f7fb;
  --ink-muted: #99a8bd;
  --brand: #00a5e0;
  --accent: #3bc4f3;
  --border: rgba(255, 255, 255, 0.1);
  --glow: rgba(0, 165, 224, 0.18);
  --radius: 4px;
  background:
    radial-gradient(900px 460px at 82% 0%, rgba(0, 165, 224, 0.08), transparent 58%),
    #05070b;
  overflow-x: hidden;
}

body.inner-page .site-header {
  background: rgba(4, 11, 36, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.15);
}
body.inner-page .site-header.is-scrolled {
  background: rgba(4, 10, 30, 0.96);
  box-shadow: 0 18px 42px -32px #000;
}
body.inner-page .nav-link { color: #b9c4d8; }
body.inner-page .nav-link:hover,
body.inner-page .nav-link.is-active { color: #fff; }
body.inner-page .nav-link.is-active::after {
  height: 2px;
  background: #00a5e0;
}

body.inner-page .btn-primary {
  min-height: 44px;
  border-radius: 999px;
  border-color: #00a5e0;
  background: #00a5e0;
  color: #04122e;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}
body.inner-page .btn-primary:hover {
  background: #1cb8ef;
  border-color: #1cb8ef;
  filter: none;
  transform: translateY(-1px);
}
body.inner-page .btn-secondary {
  min-height: 44px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(6, 16, 52, 0.32);
  color: #fff;
}
body.inner-page .btn-secondary:hover {
  border-color: rgba(0, 165, 224, 0.7);
  background: rgba(0, 165, 224, 0.09);
}

body.inner-page main > section:first-child {
  position: relative;
  isolation: isolate;
  min-height: 44vh;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #061034 url("media/g-hub-hero-desktop.webp") center / cover no-repeat;
}
body.inner-page main > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 16, 52, 0.82), rgba(6, 16, 52, 0.52) 50%, rgba(6, 16, 52, 0.2)),
    linear-gradient(180deg, rgba(6, 16, 52, 0.35), transparent 50%, rgba(5, 7, 11, 0.72));
}
body.inner-page main > section:first-child > .pointer-events-none { display: none; }
body.inner-page main > section:first-child h1 {
  color: #fff;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
body.inner-page main > section:first-child p:first-child {
  color: #3bc4f3;
}
body.inner-page main > section:first-child p {
  color: #c2ccdc;
}

body.inner-page .surface-panel,
body.inner-page .accordion-item {
  border-radius: 4px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(180deg, #101724, #0a0e16) !important;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
body.inner-page .surface-panel:hover,
body.inner-page .accordion-item:hover {
  border-color: rgba(0, 165, 224, 0.38) !important;
  box-shadow: 0 24px 55px -42px rgba(0, 165, 224, 0.8);
  transform: translateY(-2px);
}

body.inner-page .profile-rail {
  border-radius: 4px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 18, 0.78);
}
body.inner-page .profile-rail::before {
  background: linear-gradient(90deg, transparent, #00a5e0, #3bc4f3, transparent);
}
body.inner-page .rail-step { border-radius: 3px; }

body.inner-page .window-chrome,
body.inner-page .shot {
  border-radius: 4px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.inner-page .window-chrome {
  box-shadow: 0 30px 80px -48px #000, 0 0 0 1px rgba(0, 165, 224, 0.05);
}
body.inner-page .window-chrome:hover,
body.inner-page .shot:hover {
  border-color: rgba(0, 165, 224, 0.35) !important;
}

body.inner-page .section-divider::before,
body.inner-page .section-divider::after,
body.inner-page .feature-divider::before,
body.inner-page .feature-divider::after {
  background: linear-gradient(90deg, transparent, rgba(0, 165, 224, 0.3), transparent);
}
body.inner-page .feature-divider .node {
  border-radius: 3px;
  border-color: rgba(0, 165, 224, 0.25);
  background: #080d16;
  color: #84dfff;
}

body.inner-page table {
  border-color: rgba(255, 255, 255, 0.1);
}
body.inner-page table thead {
  background: #0c121e;
}
body.inner-page table tbody tr {
  transition: background 180ms ease;
}
body.inner-page table tbody tr:hover {
  background: rgba(0, 165, 224, 0.06) !important;
}
body.inner-page code {
  border-radius: 4px !important;
}

body.inner-page footer {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #040609 !important;
}
body.inner-page footer .feature-divider { display: none; }

body.inner-page .float-download {
  border-radius: 6px;
  border-color: rgba(0, 165, 224, 0.3);
  background: rgba(7, 11, 18, 0.95);
}
body.inner-page .float-download:hover {
  border-color: rgba(0, 165, 224, 0.62);
}
body.inner-page .float-download .dl-ico {
  border-radius: 4px !important;
}

@media (max-width: 640px) {
  body.inner-page .site-header .btn-primary {
    width: 44px;
    min-width: 44px;
    padding-inline: 0 !important;
    font-size: 0;
  }
  body.inner-page .site-header .btn-primary svg {
    width: 18px;
    height: 18px;
  }
  body.inner-page main > section:first-child {
    min-height: 48vh;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-position: 55% center;
  }
  body.inner-page main > section:first-child::before {
    background: rgba(6, 16, 52, 0.68);
  }
  body.inner-page main > section:first-child h1 {
    max-width: 100%;
    font-size: clamp(1.45rem, 7.2vw, 1.8rem) !important;
    overflow-wrap: anywhere;
  }
}
