:root {
    /* Lighter slate base (less gloomy) */
    --gm-bg: #22304a; /* brighter than #121826 */
    --gm-panel: #2a3a58;
    --gm-panel2: #253552;
    --gm-border: rgba(255,255,255,0.10);
    /* Slightly dimmer text = less contrast */
    --gm-text: rgba(255,255,255,0.80);
    --gm-muted: rgba(255,255,255,0.62);
    --gm-dim: rgba(255,255,255,0.46);
    /* keep your accents */
    --gm-accent: #7CFFCB;
    --gm-accent2: #8BB7FF;
    --gm-radius: 18px;
}

html, body {
  height: 100%;
}

body {
    margin: 0;
    background: radial-gradient(1200px 700px at 20% 10%, rgba(124,255,203,0.16), transparent 60%), radial-gradient(900px 500px at 80% 40%, rgba(139,183,255,0.14), transparent 55%), var(--gm-bg);
    color: var(--gm-text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

a { color: var(--gm-accent); }
a:hover { color: #b7ffe6; }

code { color: #c5d1ff; }

.gm-shell { min-height: 100vh; display: flex; flex-direction: column; }

.gm-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gm-border);
    backdrop-filter: blur(10px);
    background: rgba(34,48,74,0.66);
}

.gm-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;  
}

.gm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gm-text); }
.gm-brand:hover { color: var(--gm-text); }

.gm-logo {
    height: 40px; /* bump to 44px if you want */
    width: auto;
    max-width: 260px;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    opacity: .90;
    filter: brightness(.92) saturate(.92) contrast(.96) drop-shadow(0 6px 14px rgba(0,0,0,.24));
}


@media (max-width: 640px) {
    .gm-logo {
        height: 34px;
        max-width: 190px;
    }
}

.gm-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.gm-brand-name { font-size: 16px; letter-spacing: 0.3px; font-weight: 800; }
.gm-brand-tagline { font-size: 12px; color: var(--gm-dim); max-width: 54ch; }

.gm-topbar-cta { display: flex; gap: 8px; }

.gm-body {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
}

.gm-nav {
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius);
    background: linear-gradient(180deg, rgba(42,58,88,0.72), rgba(37,53,82,0.72));
    padding: 14px;
    height: fit-content;
    position: sticky;
    top: 78px;
}

.gm-nav-inner { display: flex; flex-direction: column; gap: 8px; }
.gm-nav-section { font-size: 12px; color: var(--gm-dim); letter-spacing: 0.22em; text-transform: uppercase; margin: 6px 0 2px; }

.gm-navlink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--gm-text);
}

.gm-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.25);
}

.gm-navlink.active {
  border-color: rgba(124,255,203,0.35);
  background: rgba(124,255,203,0.10);
}

.gm-navlink.active .gm-dot { background: var(--gm-accent); }

.gm-content {
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius);
    background: rgba(42,58,88,0.46);
}

.gm-content-inner { padding: 22px 22px 10px; }

.gm-hero {
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  background: linear-gradient(135deg, rgba(124,255,203,0.16), rgba(139,183,255,0.12));
  padding: 22px;
}

.gm-hero-inner { max-width: 90ch; }

.gm-h1 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 850; letter-spacing: -0.02em; margin: 0 0 10px; }
.gm-h2 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.gm-h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }

.gm-lead { font-size: 18px; color: var(--gm-muted); margin: 0 0 14px; }
.gm-muted { color: var(--gm-muted); }

.gm-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.gm-hero-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.20);
  background: rgba(11,14,18,0.22);
  color: rgba(255,255,255,0.84);
}

.gm-section { margin-top: 18px; }

.gm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.gm-card {
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius);
    background: rgba(37,53,82,0.46);
    padding: 14px;
}

.gm-card-accent {
  background: linear-gradient(135deg, rgba(124,255,203,0.10), rgba(139,183,255,0.08));
}

.gm-card-title { font-weight: 850; margin-bottom: 6px; }
.gm-card-foot { margin-top: 10px; color: rgba(255,255,255,0.78); }

.gm-callout {
  border: 1px solid rgba(124,255,203,0.25);
  background: rgba(124,255,203,0.08);
  padding: 14px;
  border-radius: var(--gm-radius);
  color: rgba(255,255,255,0.88);
}

.gm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.gm-list { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.85); }
.gm-list li { margin-bottom: 6px; }

.gm-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--gm-border);
  background: rgba(15,20,32,0.55);
  text-decoration: none;
}

.gm-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.gm-diagram-box {
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  background: rgba(15,20,32,0.55);
  padding: 14px;
}

.gm-diagram-title { font-weight: 850; margin-bottom: 6px; }
.gm-diagram-arrow { display: grid; place-items: center; color: var(--gm-dim); font-size: 24px; }

.gm-steps { margin: 0; padding-left: 18px; }
.gm-steps li { margin: 10px 0; }
.gm-step-title { font-weight: 850; }

.gm-tablewrap {
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  overflow: hidden;
}

.table {
  margin: 0;
  --bs-table-color: rgba(255,255,255,0.90);
  --bs-table-bg: rgba(15,20,32,0.35);
  --bs-table-border-color: rgba(255,255,255,0.09);
}

.table thead th { color: rgba(255,255,255,0.75); font-weight: 700; }

.gm-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gm-download {
  display: block;
  text-decoration: none;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  background: rgba(15,20,32,0.55);
  padding: 14px;
  color: var(--gm-text);
}

.gm-download:hover { border-color: rgba(124,255,203,0.35); }
.gm-download-title { font-weight: 850; margin-bottom: 6px; }

.gm-footer {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--gm-border);
}

.gm-footer-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-end; }
.gm-footer-title { font-weight: 850; }
.gm-footer-links { display: flex; gap: 10px; flex-wrap: wrap; }
.gm-footer-links a { color: var(--gm-dim); text-decoration: none; }
.gm-footer-links a:hover { color: var(--gm-text); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.40);
}

@media (max-width: 980px) {
  .gm-body { grid-template-columns: 1fr; }
  .gm-nav { position: static; }
  .gm-grid3 { grid-template-columns: 1fr; }
  .gm-grid2 { grid-template-columns: 1fr; }
  .gm-split { grid-template-columns: 1fr; }
  .gm-diagram { grid-template-columns: 1fr; }
  .gm-diagram-arrow { display: none; }
  .gm-downloads { grid-template-columns: 1fr; }
}
