:root {
  --md-text-font: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --md-code-font: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --gg-surface: linear-gradient(180deg, #f8fbfd 0%, #eef3f7 100%);
  --gg-panel: rgba(255, 255, 255, 0.9);
  --gg-border: rgba(23, 36, 48, 0.08);
  --gg-ink: #14202b;
  --gg-muted: #486172;
  --gg-accent: #9fdb4d;
}

[data-md-color-scheme="slate"] {
  --gg-surface: linear-gradient(180deg, #10171c 0%, #172128 100%);
  --gg-panel: rgba(22, 31, 39, 0.88);
  --gg-border: rgba(255, 255, 255, 0.08);
  --gg-ink: #f0f5f7;
  --gg-muted: #a9b9c3;
  --gg-accent: #b5ec64;
}

.md-main {
  background: var(--gg-surface);
}

.md-header {
  backdrop-filter: saturate(180%) blur(16px);
}

.gg-home {
  display: grid;
  gap: 2rem;
}

.gg-hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--gg-border);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(159, 219, 77, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(8, 18, 24, 0.95), rgba(32, 54, 70, 0.86));
  color: #f4f8fb;
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.18);
}

.gg-hero__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

.gg-hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.gg-hero__lead {
  margin: 0;
  max-width: 48rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.gg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gg-button:hover {
  transform: translateY(-1px);
}

.gg-button--primary {
  background: var(--gg-accent);
  color: #10202c;
  box-shadow: 0 10px 24px rgba(159, 219, 77, 0.28);
}

.gg-button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4f8fb;
  background: rgba(255, 255, 255, 0.06);
}

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

.gg-card {
  padding: 1.15rem;
  border: 1px solid var(--gg-border);
  border-radius: 1.15rem;
  background: var(--gg-panel);
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
}

.gg-card h2,
.gg-card h3,
.gg-card p:last-child {
  margin-top: 0;
}

.gg-card p:last-child {
  margin-bottom: 0;
}

.gg-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--gg-ink);
}

.gg-section > h2 {
  margin-bottom: 0.55rem;
}

.gg-section > p {
  margin-top: 0;
  color: var(--gg-muted);
}

.gg-doc-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.gg-doc-link {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--gg-border);
  border-radius: 1rem;
  color: inherit;
  text-decoration: none;
  background: var(--gg-panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gg-doc-link:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 219, 77, 0.45);
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.1);
}

.gg-doc-link strong {
  display: block;
  margin-bottom: 0.25rem;
}

.gg-doc-link span {
  color: var(--gg-muted);
}

@media (min-width: 960px) {
  .gg-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
    align-items: end;
  }
}
