:root {
  color-scheme: dark;
  --guide-bg: #08090d;
  --guide-panel: #11131a;
  --guide-panel-soft: #171a23;
  --guide-border: rgba(255, 255, 255, 0.1);
  --guide-text: #f7f7f8;
  --guide-muted: #b5b8c2;
  --guide-red: #e3132d;
  --guide-red-dark: #a70d20;
  --guide-gold: #f1c66a;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--guide-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(227, 19, 45, 0.2), transparent 32rem),
    var(--guide-bg);
  color: var(--guide-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 0.5rem;
  background: #fff;
  color: #111;
  padding: 0.65rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.guide-shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--guide-border);
  background: rgba(8, 9, 13, 0.92);
  backdrop-filter: blur(14px);
}

.guide-header__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.guide-brand {
  display: inline-flex;
  align-items: center;
}

.guide-brand img {
  display: block;
  width: auto;
  max-width: 132px;
}

.guide-header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.guide-header__nav a {
  color: var(--guide-muted);
  text-decoration: none;
}

.guide-header__nav a:hover,
.guide-header__nav a:focus-visible {
  color: #fff;
}

.guide-header__nav .guide-header__home {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--guide-red), var(--guide-red-dark));
  color: #fff;
  padding: 0.55rem 0.9rem;
}

.guide-hero {
  border-bottom: 1px solid var(--guide-border);
  background:
    linear-gradient(125deg, rgba(227, 19, 45, 0.13), transparent 55%),
    rgba(255, 255, 255, 0.015);
}

.guide-hero__inner {
  padding-block: clamp(3.25rem, 8vw, 6.5rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 2rem;
  color: #9296a1;
  font-size: 0.84rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: #fff;
}

.guide-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--guide-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.guide-lead {
  max-width: 820px;
  margin: 1.5rem 0 0;
  color: #d2d4da;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.guide-update {
  margin: 1.2rem 0 0;
  color: #7f838e;
  font-size: 0.82rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.guide-article {
  min-width: 0;
}

.guide-section {
  padding: 0 0 2.25rem;
  margin: 0 0 2.25rem;
  border-bottom: 1px solid var(--guide-border);
}

.guide-section h2,
.guide-sidebar h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.guide-section p {
  margin: 0.8rem 0 0;
  color: #c7cad1;
}

.guide-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  border: 1px solid var(--guide-border);
  border-radius: 0.75rem;
  background: var(--guide-panel);
  color: #d9dbe0;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
}

.guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--guide-gold);
  font-weight: 900;
}

.guide-faq details {
  border: 1px solid var(--guide-border);
  border-radius: 0.8rem;
  background: var(--guide-panel);
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 750;
}

.guide-faq details p {
  margin-top: 0.65rem;
}

.responsible-note {
  border: 1px solid rgba(241, 198, 106, 0.35);
  border-radius: 1rem;
  background: rgba(241, 198, 106, 0.07);
  padding: 1.2rem;
}

.responsible-note strong {
  color: var(--guide-gold);
}

.responsible-note p {
  margin: 0.45rem 0 0;
  color: #d6d0c4;
}

.guide-sidebar {
  position: sticky;
  top: 6rem;
}

.guide-sidebar h2 {
  font-size: 1.15rem;
}

.guide-links {
  display: grid;
  gap: 0.7rem;
}

.guide-links a {
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--guide-border);
  border-radius: 0.85rem;
  background: var(--guide-panel);
  padding: 0.9rem 1rem;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.guide-links a:hover,
.guide-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(227, 19, 45, 0.62);
  background: var(--guide-panel-soft);
}

.guide-links span {
  font-weight: 750;
}

.guide-links small {
  color: #8f939e;
}

.guide-footer {
  border-top: 1px solid var(--guide-border);
  background: #06070a;
}

.guide-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 6rem;
  color: #888c96;
  font-size: 0.85rem;
}

.guide-footer__inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.guide-footer a {
  text-decoration: none;
}

.guide-footer a:hover,
.guide-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 860px) {
  .guide-header__nav a:not(.guide-header__home) {
    display: none;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .guide-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .guide-shell {
    width: min(100% - 1.25rem, 1160px);
  }

  .guide-header__inner {
    min-height: 4rem;
  }

  .guide-brand img {
    max-width: 108px;
  }

  .guide-hero__inner {
    padding-block: 2.8rem 3.3rem;
  }

  .guide-links {
    grid-template-columns: 1fr;
  }

  .guide-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }
}
