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

body {
  background: #f5f5f3;
  color: #111111;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* DOC HERO */
.doc-hero {
  background: #0F1613;
  padding: 130px 48px 72px;
  border-bottom: 1px solid #1c2920;
}
.doc-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.doc-eyebrow {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00D97E;
  margin-bottom: 16px;
}
.doc-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 14px;
}
.doc-hero h1 em { font-style: italic; color: #00D97E; }
.doc-meta {
  font-size: 0.78rem;
  color: #4a6058;
  letter-spacing: 0.04em;
}

/* DOCUMENT BODY */
.doc-body {
  padding: 72px 48px 96px;
}
.doc-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* BACK LINK */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888888;
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s;
}
.back-link:hover { color: #007A47; }

/* CONTENT TYPOGRAPHY */
.doc-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: #111111;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  line-height: 1.2;
}
.doc-content h2:first-child { margin-top: 0; }

.doc-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  margin: 28px 0 8px;
}

.doc-content p {
  font-size: 0.93rem;
  color: #444444;
  line-height: 1.82;
  margin-bottom: 16px;
}

.doc-content ul, .doc-content ol {
  margin: 12px 0 20px 20px;
}
.doc-content li {
  font-size: 0.93rem;
  color: #444444;
  line-height: 1.78;
  margin-bottom: 6px;
}

.doc-content a {
  color: #007A47;
  text-decoration: underline;
  text-decoration-color: rgba(0,122,71,0.35);
  transition: text-decoration-color 0.2s;
}
.doc-content a:hover { text-decoration-color: #007A47; }

.doc-content strong { font-weight: 600; color: #111111; }

/* SECTION DIVIDER */
.doc-content hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 40px 0;
}

/* HIGHLIGHT BOX */
.doc-note {
  background: #f0faf5;
  border-left: 3px solid #00D97E;
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0;
}
.doc-note p { margin: 0; color: #333333; }

/* TABLES */
.doc-content table {
  width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 0.88rem;
}
.doc-content th {
  background: #f5f5f3; font-weight: 600; color: #111111; text-align: left;
  padding: 10px 14px; border: 1px solid #e5e5e5; font-size: 0.78rem;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.doc-content td {
  padding: 10px 14px; border: 1px solid #e5e5e5; color: #444444;
  vertical-align: top; line-height: 1.6;
}
.doc-content tr:nth-child(even) td { background: #fafaf8; }

/* CONTACT INFO BOX */
.doc-content .contact-info-box {
  background: #f5f5f3; border-left: 3px solid #e5e5e5; padding: 16px 20px;
  margin-bottom: 32px; font-size: 0.88rem; color: #555555; line-height: 1.7;
}
.doc-content h4 {
  font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 600;
  color: #333333; margin: 18px 0 6px; letter-spacing: 0.01em;
}

/* BACK TO HUB FOOTER */
.doc-hub-link {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.doc-hub-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007A47;
  text-decoration: none;
  transition: opacity 0.2s;
}
.doc-hub-link a:hover { opacity: 0.75; }
.doc-hub-link span { font-size: 0.78rem; color: #aaaaaa; }

@media (max-width: 860px) {
  .doc-hero { padding: 120px 24px 56px; }
  .doc-body { padding: 48px 24px 72px; }
}
