:root {
  --sl-bg: hsl(221, 85%, 5%);
  --sl-card: hsl(221, 65%, 9%);
  --sl-border: hsl(221, 44%, 15%);
  --sl-primary: hsl(221, 100%, 57%);
  --sl-primary-fg: hsl(194, 82%, 76%);
  --sl-muted: hsl(221, 34%, 65%);
  --sl-foreground: hsl(0, 0%, 100%);
  --sl-warning: hsl(33, 92%, 61%);
  --sl-success: hsl(158, 56%, 48%);
  --sl-radius: calc(0.5rem - 4px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.sl-page {
  background: var(--sl-bg);
  color: var(--sl-foreground);
  font-family: "GeistSans", "GeistSans Fallback", ui-sans-serif, system-ui, sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
}

.sl-page a {
  color: inherit;
  text-decoration: none;
}

.sl-page img {
  max-width: 100%;
}

/* ── Header ── */
.sl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-bottom: 1px solid var(--sl-border);
  background: hsl(221, 85%, 5%, 0.6);
  backdrop-filter: blur(16px);
}

.sl-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.sl-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--sl-foreground);
  flex-shrink: 0;
}

.sl-logo img {
  width: 24px;
  height: 24px;
}

.sl-logo-text {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
}

.sl-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sl-nav a {
  font-size: 0.875rem;
  color: var(--sl-muted);
  transition: color 0.15s;
  white-space: nowrap;
}

.sl-nav a:hover,
.sl-nav a.active {
  color: var(--sl-foreground);
}

@media (max-width: 767px) {
  .sl-header-inner {
    padding: 0 1rem;
  }
  .sl-nav {
    display: none;
  }
}

/* ── Layout ── */
.sl-content-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 767px) {
  .sl-content-wrap {
    padding: 0 1rem;
  }
}

.sl-main {
  padding-top: 64px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.sl-page-body {
  flex: 1;
  padding: 2.5rem 0 5rem;
}

@media (max-width: 767px) {
  .sl-page-body {
    padding: 1.5rem 0 4rem;
  }
}

/* ── Page heading ── */
.sl-page-title {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sl-primary-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.sl-page-subtitle {
  font-size: 0.875rem;
  color: var(--sl-muted);
  margin: 0 0 2.5rem;
  max-width: 640px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .sl-page-title {
    font-size: 1.125rem;
  }
}

/* ── Section label ── */
.sl-section-label {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sl-primary-fg);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sl-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sl-border);
}

/* ── Card ── */
.sl-card {
  background: var(--sl-card);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  padding: 1.5rem;
  transition: background 0.15s;
}

.sl-card:hover {
  background: hsl(221, 65%, 11%);
}

/* ── FAQ / Q&A ── */
.sl-qa-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sl-qa-item {
  background: var(--sl-card);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  overflow: hidden;
  transition: border-color 0.15s;
}

.sl-qa-item:hover {
  border-color: hsl(221, 44%, 25%);
}

.sl-qa-question {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--sl-foreground);
  margin: 0;
  padding: 1.25rem 1.5rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: default;
}

.sl-qa-answer {
  font-size: 0.875rem;
  color: var(--sl-muted);
  line-height: 1.7;
  margin: 0;
  padding: 0 1.5rem 1.25rem;
}

.sl-qa-answer a {
  color: var(--sl-primary-fg);
  text-decoration: underline;
  text-decoration-color: hsl(194, 82%, 76%, 0.4);
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.sl-qa-answer a:hover {
  color: var(--sl-foreground);
}

.sl-qa-divider {
  height: 1px;
  background: var(--sl-border);
  margin: 0 1.5rem;
}

@media (max-width: 767px) {
  .sl-qa-question {
    padding: 1rem;
    font-size: 0.8125rem;
  }
  .sl-qa-answer {
    padding: 0 1rem 1rem;
  }
  .sl-qa-divider {
    margin: 0 1rem;
  }
}

/* ── About sections ── */
.sl-about-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sl-about-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--sl-border);
}

.sl-about-section:first-child {
  border-top: none;
  padding-top: 0;
}

.sl-about-section-label {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sl-primary-fg);
  padding-top: 0.25rem;
  flex-shrink: 0;
}

.sl-about-section-body h2 {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--sl-foreground);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.sl-about-section-body p {
  font-size: 0.875rem;
  color: var(--sl-muted);
  line-height: 1.75;
  margin: 0 0 0.875rem;
  max-width: 680px;
}

.sl-about-section-body p:last-child {
  margin-bottom: 0;
}

.sl-about-section-body a {
  color: var(--sl-primary-fg);
  text-decoration: underline;
  text-decoration-color: hsl(194, 82%, 76%, 0.4);
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.sl-about-section-body a:hover {
  color: var(--sl-foreground);
}

@media (max-width: 767px) {
  .sl-about-section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ── Stats row ── */
.sl-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--sl-border);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  overflow: hidden;
  margin: 2rem 0;
}

.sl-stat-item {
  flex: 1;
  min-width: 140px;
  background: var(--sl-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sl-stat-value {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--sl-foreground);
}

.sl-stat-label {
  font-size: 0.75rem;
  color: var(--sl-muted);
}

/* ── Inline link chip ── */
.sl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--sl-muted);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  padding: 0.25rem 0.625rem;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none !important;
}

.sl-chip:hover {
  color: var(--sl-foreground);
  border-color: hsl(221, 44%, 28%);
}

/* ── Back / nav button ── */
.sl-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sl-muted);
  background: transparent;
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  text-decoration: none;
}

.sl-back-btn:hover {
  color: var(--sl-foreground);
  border-color: hsl(221, 44%, 28%);
  background: hsl(221, 44%, 15%, 0.4);
}

.sl-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sl-border);
}

/* ── Inline nav links within text ── */
.sl-inline-link {
  color: var(--sl-primary-fg);
  text-decoration: underline;
  text-decoration-color: hsl(194, 82%, 76%, 0.4);
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.sl-inline-link:hover {
  color: var(--sl-foreground);
}

/* ── Footer ── */
.sl-footer {
  border-top: 1px solid var(--sl-border);
  background: var(--sl-bg);
}

.sl-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  height: 48px;
}

.sl-footer-inner a {
  font-size: 0.875rem;
  color: var(--sl-muted);
  transition: color 0.15s;
}

.sl-footer-inner a:hover {
  color: var(--sl-foreground);
}

@media (max-width: 767px) {
  .sl-footer-inner {
    padding: 0 1rem;
    justify-content: center;
  }
}

/* ── Breadcrumb ── */
.sl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  color: var(--sl-muted);
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sl-breadcrumb a {
  color: var(--sl-muted);
  transition: color 0.15s;
  text-decoration: none;
}

.sl-breadcrumb a:hover {
  color: var(--sl-foreground);
}

.sl-breadcrumb-sep {
  opacity: 0.4;
}

.sl-breadcrumb-current {
  color: var(--sl-primary-fg);
}

/* ── Tag / badge ── */
.sl-tag {
  display: inline-block;
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: hsl(221, 100%, 57%, 0.12);
  color: var(--sl-primary-fg);
  border: 1px solid hsl(221, 100%, 57%, 0.2);
}

/* ── Horizontal rule ── */
.sl-hr {
  border: none;
  border-top: 1px solid var(--sl-border);
  margin: 2rem 0;
}

/* ── Utility ── */
.sl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sl-text-muted {
  color: var(--sl-muted);
}

.sl-text-primary {
  color: var(--sl-primary-fg);
}

.sl-text-mono {
  font-family: "ppSupplyMonoFont", "ppSupplyMonoFont Fallback", monospace;
}

.sl-upper {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}