/* ============================================================
   SV Internet — /help flat guide (atlas harmonisation 2026-11-07)
   Homepage atlas type/palette only; the geometry rules below are
   unchanged and materials (frost, rings, link gold) live in
   luxury-glass.css, which the shell loads after this sheet.
   ============================================================ */

:root {
  --hp-onyx: oklch(0.17 0.015 50);        /* walnut ground              */
  --hp-gold: oklch(0.8 0.11 82);          /* brass                      */
  --hp-gold-hi: oklch(0.92 0.09 90);      /* champagne                  */
  --hp-text: oklch(0.95 0.02 85);         /* cream                      */
  --hp-serif: 'Cormorant Garamond', Georgia, 'Nirmala UI', serif;
  --hp-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* Walnut ground. Equal specificity (0,2,1) to site-editorial's
   body.custom-content-page:not(.woodcraft-site) background rule, but
   this sheet loads later, so the !important fight resolves to atlas. */
body.public-reference-shell:has(.help-guide) {
  background-color: var(--hp-onyx) !important;
  color: var(--hp-text);
}

/* Replace the global DM Mono/flat-copper .eyebrow inside the guide. The
   :has() form reaches (0,4,1) so it beats luxury-glass's guide-paragraph
   color rule (0,3,2), since the eyebrow itself is a <p>. */
body.public-reference-shell:has(.help-guide) .help-guide .eyebrow {
  font-family: var(--hp-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hp-gold);
}

/* Atlas display type. The global sheet forces h1-h3 to Instrument
   Serif at (0,1,2); these body-scoped rules are (0,2,2) so Cormorant
   wins on /help. Sizes stay on the plain .help-guide rules below. */
body.public-reference-shell .help-guide h1,
body.public-reference-shell .help-guide h2 {
  font-family: var(--hp-serif);
  font-weight: 400;
  color: var(--hp-text);
  letter-spacing: normal;
}

.help-guide { max-width: 1120px; }
.help-guide-hero { max-width: 850px; padding: 32px 0; }
.help-guide h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.08; }
.help-guide p { color: var(--muted); line-height: 1.8; max-width: 72ch; }
.help-guide img { max-width: 100%; height: auto; border-radius: 16px; }
.help-guide-topics, .help-guide-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.help-guide-topics { margin-top: 28px; }
.help-guide a { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.help-guide a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.help-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.help-guide-card, .help-guide-contact { border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); margin-bottom: 24px; scroll-margin-top: 110px; }
.help-guide-grid .help-guide-card { margin: 0; }
.help-guide h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 0; }
.help-guide-links a, .help-guide-topics a, .help-guide-contact > a, .help-guide-direct a { display: inline-flex; align-items: center; min-height: 44px; }
.help-guide-contact { margin-top: 24px; }
.help-guide-direct { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 8px; }
@media (max-width: 700px) {
  .help-guide-grid { grid-template-columns: 1fr; }
}
