.background-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(11, 27, 42, 0.86), rgba(11, 27, 42, 0.94)),
    url("/assets/imgs/detective-tool.webp") no-repeat center/cover;
}

.guide-main {
  width: min(100%, 1100px);
  padding: 18vh 20px 60px;
}

.guide-hero {
  padding: 38px 24px;
  border: 1px solid rgba(218, 165, 32, 0.45);
  border-radius: 16px;
  background: rgba(8, 19, 31, 0.82);
  text-align: center;
}

.guide-hero p {
  max-width: 780px;
  margin: 18px auto 0;
  color: #dce3e9;
  line-height: 1.8;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.guide-card {
  padding: 24px;
  border-radius: 12px;
  background: #f8f6f1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.guide-card h2,
.guide-card h3,
.guide-card p,
.guide-card li,
.guide-card summary {
  color: #222;
}

.guide-card h2,
.guide-card h3 {
  margin-bottom: 12px;
}

.guide-card p + p,
.guide-card ul + p {
  margin-top: 12px;
}

.guide-card ul,
.guide-card ol {
  padding-left: 1.25rem;
}

.guide-card li {
  margin-top: 8px;
  line-height: 1.7;
}

.guide-card details {
  padding: 12px 0;
  border-top: 1px solid #d8d3c9;
}

.guide-card details:first-of-type {
  border-top: 0;
}

.guide-card summary {
  cursor: pointer;
  font-weight: 700;
}

.guide-card details p {
  margin-top: 10px;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.guide-cta a {
  padding: 14px 22px;
  border-radius: 8px;
  background: goldenrod;
  color: #07192a;
  font-weight: 800;
}

.guide-cta a.secondary {
  background: #fff;
}

.simple-footer {
  width: 100%;
  padding: 28px 20px;
  background: #07131f;
  text-align: center;
}

.simple-footer p,
.simple-footer a {
  color: #d2d8de;
}

.simple-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 14px;
}

@media (min-width: 800px) {
  .guide-grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
