*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Inter", -apple-system, system-ui, sans-serif;
  color: #1A1C1F;
  background: #F5F6F7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.doc-header {
  border-bottom: 1px solid rgba(26, 28, 31, 0.08);
  background: #F5F6F7;
}
.doc-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.doc-brand {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.doc-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.doc-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.doc-brand-name {
  font-family: "Prata", "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #1A1C1F;
}
.doc-brand-sub {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #868A90;
  text-transform: uppercase;
  margin-top: 4px;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(26, 28, 31, 0.16);
  border-radius: 999px;
  background: #FFFFFF;
  color: #1A1C1F;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.doc-back:hover {
  background: #1A1C1F;
  color: #FFFFFF;
  border-color: #1A1C1F;
}
.doc-back svg {
  width: 14px;
  height: 10px;
  flex-shrink: 0;
}

.doc-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 56px) 80px;
}

.doc-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #868A90;
  margin-bottom: 14px;
  font-weight: 500;
}

.doc-title {
  font-family: "Prata", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: #1A1C1F;
  font-weight: 400;
}
.doc-title em {
  font-style: italic;
  color: #4A4D52;
}

.doc-card {
  background: #FFFFFF;
  border: 1px solid rgba(26, 28, 31, 0.08);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 1px 2px rgba(26, 28, 31, 0.03);
}

.doc-card h2 {
  font-family: "Prata", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
  color: #1A1C1F;
}
.doc-card h2:first-child { margin-top: 0; }

.doc-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #2A2D32;
}

.doc-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #2A2D32;
}
.doc-card ul li { margin-bottom: 6px; }

.doc-card strong { font-weight: 600; color: #1A1C1F; }

.doc-card a { color: #1A1C1F; border-bottom: 1px solid rgba(26, 28, 31, 0.25); }
.doc-card a:hover { border-bottom-color: #1A1C1F; }

.doc-table-wrap {
  overflow-x: auto;
  margin: 0 0 14px;
}
.doc-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  color: #2A2D32;
}
.doc-table th,
.doc-table td {
  border: 1px solid rgba(26, 28, 31, 0.12);
  padding: 10px 14px;
  vertical-align: top;
  text-align: left;
}
.doc-table th {
  background: #F5F6F7;
  font-weight: 600;
  color: #1A1C1F;
}

.doc-note {
  padding: 16px 20px;
  border-radius: 4px;
  background: #F5F6F7;
  border-left: 2px solid #1A1C1F;
  color: #4A4D52;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.doc-muted {
  color: #868A90;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-top: 32px;
}

.doc-divider {
  height: 1px;
  background: rgba(26, 28, 31, 0.08);
  border: 0;
  margin: 36px 0 24px;
}

.doc-section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #868A90;
  margin: 32px 0 12px;
  font-weight: 500;
}

.doc-footer {
  border-top: 1px solid rgba(26, 28, 31, 0.08);
  padding: 28px 0;
  text-align: center;
  font-size: 12px;
  color: #868A90;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .doc-header-inner {
    padding: 18px 20px;
    gap: 16px;
  }
  .doc-brand img { height: 40px; }
  .doc-brand-name { font-size: 20px; }
  .doc-back { padding: 8px 14px; font-size: 12px; }
  .doc-back .doc-back-text { display: none; }
}

@media (max-width: 430px) {
  .doc-card { padding: 22px; }
  .doc-card h2 { margin-top: 28px; }
}
