/* Shared screen treatment for the product guides. */
.guide-page {
  --guide-bg: #07062c;
  --guide-surface: #110d3d;
  --guide-surface-2: #17134d;
  --guide-text: #f7f5fa;
  --guide-muted: #a8a4bc;
  --guide-line: rgba(143, 92, 246, 0.3);
  --guide-accent: #e62cd4;
  --guide-hot: #f26de6;
  --guide-cyan: #1691aa;
  min-height: 100vh;
  color: var(--guide-text);
  background:
    radial-gradient(circle at 82% 0, rgba(143, 92, 246, 0.18), transparent 30rem),
    radial-gradient(circle at 10% 78%, rgba(230, 44, 212, 0.08), transparent 24rem),
    repeating-linear-gradient(90deg, rgba(168, 164, 188, 0.025) 0 1px, transparent 1px 96px),
    var(--guide-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.guide-grooveforge {
  width: auto;
  margin: 0;
}

.guide-breadcrumbs {
  margin: 0 0 1.25rem;
  color: var(--guide-muted, #a8a4bc);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-breadcrumbs a {
  color: var(--guide-cyan, #1691aa);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.guide-page main {
  width: min(1120px, calc(100% - 3rem));
  max-width: none;
  margin: 0 auto;
  padding: 5.5rem 0 6rem;
}

.guide-page header,
.guide-page .cover {
  color: var(--guide-text);
  background:
    linear-gradient(135deg, rgba(7, 6, 44, 0.94), rgba(30, 11, 75, 0.88)),
    radial-gradient(circle at 88% 12%, rgba(230, 44, 212, 0.28), transparent 28rem);
  border-bottom: 3px solid var(--guide-accent);
}

.guide-page header {
  padding: 4rem max(1.5rem, calc((100% - 1120px) / 2));
}

.guide-page .cover {
  min-height: 100svh;
  margin: 0;
  padding: 5rem max(1.5rem, calc((100% - 1120px) / 2));
}

.guide-page header h1,
.guide-page .cover h1,
.guide-page h1,
.guide-page h2,
.guide-page h3 {
  color: var(--guide-text);
  font-family: "Arial Narrow", "Roboto Condensed", Inter, ui-sans-serif, sans-serif;
  letter-spacing: -0.04em;
}

.guide-page header h1,
.guide-page .cover h1 {
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  line-height: 0.9;
}

.guide-page header p,
.guide-page .cover .tagline,
.guide-page p,
.guide-page li,
.guide-page figcaption {
  color: var(--guide-muted);
}

.guide-page .tag,
.guide-page .eyebrow {
  color: var(--guide-cyan);
  border-color: rgba(22, 145, 170, 0.46);
}

.guide-page nav {
  padding: 0.8rem max(1.5rem, calc((100% - 1120px) / 2));
  background: rgba(7, 6, 44, 0.94);
  border-bottom: 1px solid var(--guide-line);
  backdrop-filter: blur(18px);
}

.guide-page nav a,
.guide-page a {
  color: var(--guide-cyan);
}

.guide-page nav a:hover,
.guide-page a:hover {
  color: var(--guide-hot);
}

.guide-page h2 {
  margin-top: 3.5rem;
  padding-bottom: 0.65rem;
  border-bottom-color: rgba(143, 92, 246, 0.36);
}

.guide-page h3 {
  color: var(--guide-hot);
}

.guide-page .card,
.guide-page .panel,
.guide-page table,
.guide-page .callout {
  background:
    linear-gradient(145deg, rgba(143, 92, 246, 0.12), rgba(17, 13, 61, 0.7)),
    var(--guide-surface);
  border-color: var(--guide-line);
  box-shadow: 0 18px 60px rgba(1, 0, 20, 0.35);
}

.guide-page .callout {
  border-left-color: var(--guide-accent);
}

.guide-page .warning {
  border-left-color: var(--guide-hot);
}

.guide-page .download,
.guide-page .guide-download {
  color: var(--guide-text);
  background: linear-gradient(135deg, var(--guide-accent), var(--guide-hot));
  border-color: transparent;
  box-shadow: 0 14px 44px rgba(230, 44, 212, 0.24);
}

.guide-page .download:hover,
.guide-page .guide-download:hover {
  color: var(--guide-text);
  background: linear-gradient(135deg, var(--guide-hot), var(--guide-accent));
}

.guide-page img {
  border-color: rgba(22, 145, 170, 0.38);
  box-shadow: 0 18px 58px rgba(1, 0, 20, 0.54);
}

.guide-page code {
  color: var(--guide-cyan);
  background: rgba(7, 6, 44, 0.88);
}

.guide-page th {
  color: var(--guide-text);
  background: var(--guide-surface-2);
}

.guide-page th,
.guide-page td {
  border-color: rgba(143, 92, 246, 0.24);
}

.guide-page strong {
  color: var(--guide-text);
}

.guide-page footer {
  color: var(--guide-muted);
  border-top-color: var(--guide-line);
}

@media (max-width: 720px) {
  .guide-page main {
    width: min(100% - 2rem, 42rem);
    padding-top: 3.5rem;
  }

  .guide-page header {
    padding: 3.5rem 1rem;
  }

  .guide-page .cover {
    min-height: auto;
    padding: 3.5rem 1rem;
  }
}

@media print {
  .guide-page {
    min-height: auto;
    color: #171a20;
    background: #fff;
  }

  .guide-page main {
    width: auto;
    padding: 15mm 16mm 18mm;
  }

  .guide-grooveforge {
    width: 210mm;
    margin: 0 auto;
  }

  .guide-page header,
  .guide-page .cover {
    background: #121419;
    border-bottom-color: #e62cd4;
  }
}
