/* ============================================================
   RustMatch, content.css
   Guides and tools: the public, indexable side of the site.
   Same palette as the app so the two never look like different
   companies, but built for reading rather than swiping.
   ============================================================ */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 18px 80px;
  position: relative;
  z-index: 1;
}

.doc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.doc-nav__logo {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}
.doc-nav__logo span { color: var(--orange); }
.doc-nav__cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #E05010;
  color: #fff;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 999px;
}

.doc h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 26px 0 10px;
}
.doc h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 34px 0 10px;
}
.doc h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }

.doc p, .doc li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 18px; }
.doc li { margin-bottom: 7px; }
.doc a { color: #ff8a4c; }

.doc__meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}

/* The one call to action inside an article. Deliberately a single block, not
   a banner repeated between every section: a guide that sells on every scroll
   stops being a guide. */
.doc__cta {
  margin: 34px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  background: var(--bg-card);
}
.doc__cta p { margin: 0 0 12px; }

.doc__faq dt { font-weight: 700; margin-top: 18px; color: #fff; }
.doc__faq dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.doc-list { list-style: none; padding: 0; margin: 24px 0 0; }
.doc-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.doc-list a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
}
.doc-list a:hover { color: #ff8a4c; }
.doc-list p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

.doc-footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
