/* ===========================
   Document Container
=========================== */

main.doc {
  padding: 50px 0 50px;
}

.doc .container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   Typography
=========================== */

.doc h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--textColor);
  letter-spacing: -0.01em;
  font-weight: 800;
}

.doc h2 {
  font-size: clamp(18px, 2.6vw, 20px);
  margin: 40px 0 12px;
  line-height: 1.2;
  color: var(--textColor);
  border-left: 4px solid var(--black);
  padding-left: 12px;
  font-weight: 700;
}

.doc h3 {
  font-size: 1.02rem;
  margin: 20px 0 8px;
  line-height: 1.4;
  color: var(--textColor);
  font-weight: 600;
  padding-left:5px;
}

.doc p {
    padding-left: 5px;
  color: var(--textColor);
}

.doc p + ul,
.doc p + ol {
  margin-top: 0.2em;

}

/* ===========================
   Lists
=========================== */

.doc ul,
.doc ol {
  padding-left: 1.5em;
  margin: 0.4em 0 0.9em;
}

.doc ul li {
  margin: 0.2em 0;
  position: relative;
}

.doc ul li::before {
  content: "•";
  position: absolute;
    left: -15px;
    top: -3px;
    font-size: 21px;
  color: var(--black);
}

/* ===========================
   Text Formatting
=========================== */

.doc strong {
  font-weight: 800;
  color: var(--textColor);
}

.doc em {
  font-style: italic;
}

.doc code {
  background: #f4f5f7;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
}

/* ===========================
   Layout / Utility
=========================== */

.backlink {
  margin-top: 32px;
}

.backlink a {
  display: inline-block;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.hide-sm {
  display: none;
}

/* ===========================
   Tables
=========================== */

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.doc th,
.doc td {
  border: 1px solid var(--border);
  padding: 10px;
  vertical-align: top;
}

.doc th {
  background: #fafafa;
  text-align: left;
  font-weight: 700;
}

/* ===========================
   Horizontal Rule
=========================== */

.doc hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* ===========================
   Alerts
=========================== */

.note,
.warning {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  background: var(--white);
}

.warning {
  border-color: var(--textColor);
}

/* ===========================
   Responsive
=========================== */

@media (min-width: 360px) {
  .hide-sm {
    display: inline;
  }
}

/* ===========================
   Print Styles
=========================== */

@media print {
  .site-header,
  .site-footer,
  .backlink {
    display: none !important;
  }

  .doc .container {
    max-width: none;
    padding: 0;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
  }
}