/* Shared screen treatment for the product guides. */
.guide-page { margin: 0; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.guide-page *, .guide-page *::before, .guide-page *::after { box-sizing: border-box; }
.guide-page h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.1; }
.guide-page figure { margin: 2rem 0; }
.guide-page img { display: block; max-width: 100%; width: 100%; height: auto; border: 1px solid; }
.guide-page figcaption { margin-top: .75rem; font-size: .9rem; }
.guide-page .callout { border-left: 4px solid; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.guide-page .guide-download { display: inline-block; padding: .9rem 1.3rem; border-radius: .4rem; font-weight: 700; text-decoration: none; }
.guide-page code { padding: .1rem .3rem; border-radius: .25rem; overflow-wrap: anywhere; }
.guide-page pre { overflow-x: auto; padding: 1rem; }
.guide-page .table-scroll { max-width: 100%; overflow-x: auto; }
.guide-page table { width: 100%; border-collapse: collapse; }
.guide-page th, .guide-page td { padding: .7rem; text-align: left; border: 1px solid; vertical-align: top; }
.guide-page a { overflow-wrap: anywhere; }
.guide-page .guide-contents { padding: 1rem 1.5rem; }
.guide-related { margin-top: 3rem; border-top: 1px solid var(--guide-line); padding-top: 1.5rem; }
.guide-related ul { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; padding: 0; }

.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;
  }
}

/* Purchase button shared by the product guides. */
.guide-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin: 0.4rem 0 1.25rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #101113;
  background: linear-gradient(135deg, #e62cd4, #f26de6);
  box-shadow: 0 14px 44px rgba(230, 44, 212, 0.24);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-download:hover,
.guide-download:focus-visible {
  color: #101113;
  transform: translateY(-1px);
  box-shadow: 0 16px 48px rgba(242, 109, 230, 0.32);
}

.guide-download {
  gap: 0.8rem;
}

.guide-download[hidden] {
  display: none;
}

.guide-download .vst-buy-price {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(16, 17, 19, 0.25);
  font-size: 0.82em;
}

/* Current application captures: keep the complete interface visible. */
.product-interface { margin: 32px 0; max-width: 1100px; }
.product-interface img { display: block; width: 100%; height: auto; border-radius: 8px; }
.product-interface figcaption { margin-top: 12px; font-size: .85rem; line-height: 1.6; }
.r-next-image { display: block; max-width: 600px; margin: 20px 0; }
.r-next-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
