:root {
  color-scheme: dark;
  --guide-bg: #090a12;
  --guide-surface: rgba(21, 23, 37, .86);
  --guide-border: rgba(255, 255, 255, .1);
  --guide-text: #f5f6fb;
  --guide-muted: #b3bbcb;
  --guide-teal: #00cec9;
  --guide-purple: #9a78ff;
  --guide-pink: #fd79a8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 80% 2%, rgba(116, 69, 224, .2), transparent 35rem),
    radial-gradient(ellipse at 0% 30%, rgba(0, 206, 201, .1), transparent 30rem),
    var(--guide-bg);
  color: var(--guide-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: #8ce8e3; text-underline-offset: .22em; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--guide-teal); outline-offset: 4px; }
.guide-skip { position: absolute; left: -9999px; top: 0; z-index: 10; padding: .7rem 1rem; background: #fff; color: #111; }
.guide-skip:focus { left: 1rem; top: 1rem; }
.guide-topbar { border-bottom: 1px solid var(--guide-border); background: rgba(9, 10, 18, .78); }
.guide-nav, .guide-shell { width: min(100% - 2rem, 1080px); margin-inline: auto; }
.guide-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.guide-brand img { width: 40px; height: 40px; }
.guide-nav-links { display: flex; align-items: center; gap: 1.25rem; font-size: .92rem; }
.guide-nav-links a { color: var(--guide-muted); text-decoration: none; }
.guide-nav-links a:hover { color: #fff; }
.guide-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 2.5rem; }
.guide-eyebrow, .guide-tag { color: var(--guide-teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.guide-hero h1 { max-width: 880px; margin: .75rem 0 1rem; font-size: clamp(2.25rem, 6vw, 4.4rem); line-height: 1.06; letter-spacing: -.055em; }
.guide-lead { max-width: 760px; margin: 0; color: var(--guide-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.guide-meta { margin-top: 1.2rem; color: #929bb0; font-size: .86rem; }
.guide-hero-card { margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid rgba(0, 206, 201, .24); border-radius: 1rem; background: linear-gradient(120deg, rgba(0, 206, 201, .09), rgba(154, 120, 255, .08)); color: var(--guide-muted); }
.guide-hero-card strong { color: #fff; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.guide-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: .85rem; background: linear-gradient(105deg, #00a9a7, #6c5ce7); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 12px 34px rgba(0, 0, 0, .24); }
.guide-button:hover { filter: brightness(1.12); color: #fff; }
.guide-button-secondary { background: rgba(255, 255, 255, .05); box-shadow: none; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2.5rem; align-items: start; padding: 1.5rem 0 5rem; }
.guide-article { min-width: 0; }
.guide-article section { margin: 0 0 2.5rem; }
.guide-article h2 { margin: 0 0 .85rem; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.guide-article h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.guide-article p, .guide-article li { color: var(--guide-muted); }
.guide-article p { margin: .65rem 0; }
.guide-article ul, .guide-article ol { padding-left: 1.3rem; }
.guide-step-list { display: grid; gap: .8rem; padding: 0 !important; list-style: none; counter-reset: guide-step; }
.guide-step-list li { counter-increment: guide-step; display: grid; grid-template-columns: 2.5rem 1fr; gap: .85rem; padding: 1rem; border: 1px solid var(--guide-border); border-radius: 1rem; background: var(--guide-surface); }
.guide-step-list li::before { content: "0" counter(guide-step); color: var(--guide-teal); font-weight: 900; }
.guide-callout { margin: 1.1rem 0; padding: 1rem 1.15rem; border: 1px solid rgba(253, 121, 168, .25); border-left: 3px solid var(--guide-pink); border-radius: .8rem; background: rgba(253, 121, 168, .06); }
.guide-callout p { margin: 0; }
.guide-faq { display: grid; gap: .7rem; }
.guide-faq details { padding: 1rem 1.1rem; border: 1px solid var(--guide-border); border-radius: .9rem; background: var(--guide-surface); }
.guide-faq summary { cursor: pointer; color: #fff; font-weight: 750; }
.guide-faq details p { margin-bottom: .1rem; }
.guide-sidebar { position: sticky; top: 1.5rem; padding: 1.25rem; border: 1px solid var(--guide-border); border-radius: 1rem; background: var(--guide-surface); }
.guide-sidebar h2 { margin-top: 0; font-size: 1rem; }
.guide-sidebar ul { display: grid; gap: .7rem; padding-left: 1.1rem; color: var(--guide-muted); font-size: .9rem; }
.guide-sidebar p { margin-bottom: 0; color: var(--guide-muted); font-size: .87rem; }
.guide-breadcrumbs { padding-top: 1.5rem; color: #939cb0; font-size: .85rem; }
.guide-breadcrumbs a { color: #c3cbda; }
.guide-footer { padding: 1.6rem 1rem; border-top: 1px solid var(--guide-border); color: #939cb0; text-align: center; font-size: .85rem; }
.guide-footer p { margin: .25rem 0; }
.guide-404 { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.guide-404-card { max-width: 650px; padding: 2rem; border: 1px solid var(--guide-border); border-radius: 1.5rem; background: var(--guide-surface); }
.guide-404-card h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.1; }
@media (max-width: 800px) {
  .guide-layout { grid-template-columns: 1fr; gap: 1rem; }
  .guide-sidebar { position: static; order: -1; }
}
@media (max-width: 560px) {
  .guide-nav, .guide-shell { width: min(100% - 1.25rem, 1080px); }
  .guide-nav { min-height: 64px; }
  .guide-brand img { width: 34px; height: 34px; }
  .guide-nav-links { gap: .75rem; font-size: .82rem; }
  .guide-hero { padding-top: 3rem; }
  .guide-step-list li { grid-template-columns: 2rem 1fr; padding: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
