:root { color-scheme: dark; --guide-bg: #070a12; --guide-surface: #101b2b; --guide-line: #293b50; --guide-text: #eff6fc; --guide-muted: #b1c1d2; --guide-accent: #43def4; }
* { box-sizing: border-box; }
body.guide-page { margin: 0; background: var(--guide-bg); color: var(--guide-text); font: 16px/1.75 "Segoe UI", system-ui, sans-serif; }
.guide-page a { color: var(--guide-accent); text-underline-offset: 4px; }
.guide-page a:hover { color: white; }
.guide-page :focus-visible { outline: 3px solid #f9d076; outline-offset: 5px; }
.guide-page img { max-width: 100%; }
.guide-skip { position: absolute; top: -100px; left: 16px; padding: 12px; background: #101b2b; z-index: 100; }
.guide-skip:focus { top: 10px; }
.guide-header { padding: 20px max(24px, calc((100% - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--guide-line); }
.guide-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white !important; font-weight: 800; line-height: 1.3; }
.guide-brand small { display: block; color: var(--guide-muted); font-size: 12px; font-weight: 500; margin-top: 4px; }
.guide-header nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.guide-header nav a { text-decoration: none; color: var(--guide-muted); padding: 8px 0; }
.guide-layout { max-width: 1320px; margin: auto; padding: 42px 24px 64px; display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 60px; }
.guide-sidebar { align-self: start; position: sticky; top: 24px; }
.guide-sidebar nav { display: grid; gap: 6px; }
.guide-sidebar nav a { padding: 11px 15px; border-radius: 9px; text-decoration: none; color: var(--guide-muted); }
.guide-sidebar a[aria-current="page"] { background: #123345; color: #73e8fa; box-shadow: inset 3px 0 #43def4; font-weight: 700; }
.guide-sidebar-note { color: var(--guide-muted); border-top: 1px solid var(--guide-line); margin-top: 24px; padding: 22px 4px; font-size: 13px; }
.guide-layout main { min-width: 0; max-width: 930px; }
.guide-eyebrow, .guide-number { color: var(--guide-accent); font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.guide-hero h1 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.14; letter-spacing: -.025em; margin: 12px 0 22px; max-width: 850px; }
.guide-intro { color: #cad7e4; font-size: 19px; line-height: 1.65; max-width: 780px; }
.guide-date { color: var(--guide-muted); font-size: 13px; }
.guide-toc { padding: 20px 25px; border: 1px solid var(--guide-line); background: #0c1523; border-radius: 12px; margin: 32px 0; }
.guide-toc ul { margin: 10px 0 0; padding-left: 22px; }
.guide-toc li { padding: 3px 0; }
.guide-toc a { text-decoration: none; }
.guide-section { margin-top: 38px; padding-top: 12px; scroll-margin-top: 24px; overflow-wrap: anywhere; }
.guide-section h2 { font-size: 26px; line-height: 1.3; margin: 0 0 20px; }
.guide-section h3 { font-size: 20px; line-height: 1.35; margin: 12px 0; }
.guide-section p, .guide-section li { color: #c4d1df; }
.guide-section p { margin: 16px 0; }
.guide-section strong { color: var(--guide-text); }
.guide-section li { padding: 5px 0 5px 4px; }
.guide-section ul, .guide-section ol { padding-left: 24px; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.guide-cards article { padding: 24px; border: 1px solid var(--guide-line); border-radius: 12px; background: linear-gradient(145deg, #132235, #0d1725); }
.guide-cards article p { font-size: 15px; }
.guide-cards article a { font-size: 15px; font-weight: 650; }
.guide-note { padding: 20px 24px; border-left: 3px solid var(--guide-accent); background: #102532; border-radius: 0 10px 10px 0; color: #d1e1e9; margin: 24px 0; }
.guide-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--guide-line); border-radius: 10px; }
.guide-table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide-table-wrap caption { text-align: left; padding: 14px 18px; background: #17283b; font-weight: 700; }
.guide-table-wrap th, .guide-table-wrap td { text-align: left; padding: 15px; border-bottom: 1px solid var(--guide-line); vertical-align: top; min-width: 115px; }
.guide-table-wrap td { color: #c4d1df; }
.guide-page code { background: #17283b; padding: 2px 5px; border-radius: 4px; color: #b3f2fc; }
.guide-page pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.9 ui-monospace, monospace; background: #101b2b; border: 1px solid var(--guide-line); border-radius: 10px; padding: 22px; }
.guide-definition dt { color: var(--guide-muted); margin-top: 18px; font-size: 14px; }
.guide-definition dd { margin: 4px 0 0; }
.guide-next { margin-top: 44px; padding: 26px; background: #102532; border: 1px solid #23546a; border-radius: 12px; }
.guide-next p { color: var(--guide-muted); }
.guide-footer { padding: 26px max(24px, calc((100% - 1272px) / 2)); border-top: 1px solid var(--guide-line); color: var(--guide-muted); font-size: 14px; }
.guide-footer nav { display: flex; gap: 12px 26px; flex-wrap: wrap; margin-top: 12px; }
/* Scoped enhancements for the existing storefront; no checkout or Hub styles. */
.public-help { max-width: 1270px; margin: 0 auto; padding: 54px 24px; }
.public-help h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.2; }
.public-help-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.public-help-links a { display: block; padding: 24px; background: #101b2b; border: 1px solid #293b50; border-radius: 12px; }
.public-help-links a:hover { border-color: #43def4; }
.public-help-links strong { display: block; font-size: 18px; color: #eff6fc; margin-bottom: 10px; }
.public-help-links span { color: #b1c1d2; font-size: 14px; }
.public-help > p a { color: #43def4; text-decoration: underline; text-underline-offset: 3px; }
.home-page .site-footer, .pricing-page .site-footer { flex-wrap: wrap; }
.home-page .site-footer > div, .pricing-page .site-footer > div { flex-wrap: wrap; gap: 12px 20px; }
.home-page .topbar, .pricing-page .topbar { gap: 18px; }
.home-page .nav-links, .pricing-page .nav-links { gap: 18px; flex-wrap: wrap; }
.stage-toolbar .stage-demo-button { height: 32px; padding: 0 13px; display: flex; align-items: center; gap: 6px; border-radius: 5px; background: #ee3f9d; color: white; font-size: 9px; font-weight: 900; }
.stage-demo-button svg { width: 11px; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .guide-sidebar { position: static; }
  .guide-sidebar nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .guide-sidebar nav a { padding: 8px 12px; font-size: 14px; background: #101b2b; }
  .guide-sidebar-note { display: none; }
}
@media (max-width: 620px) {
  .guide-header { flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 12px; }
  .guide-header nav { gap: 8px 22px; font-size: 14px; }
  .guide-layout { padding: 22px 20px 42px; }
  .guide-cards, .public-help-links { grid-template-columns: minmax(0, 1fr); }
  .guide-intro { font-size: 17px; }
  .guide-toc { padding: 18px; }
  .guide-section h2 { font-size: 23px; }
  .guide-cards article { padding: 20px; }
}
