*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #4894b6;
  --primary-light: #d6eaf5;
  --primary-dark: #2c6d8a;
  --accent: #e8f4f9;
  --white: #ffffff;
  --grey-5: #f5f5f5;
  --grey-10: #e9eef1;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --warning: #8f2b2b;
  --warning-bg: #fff0f0;
  --success: #286b51;
  --success-bg: #edf8f3;
  --radius: 16px;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Ubuntu', sans-serif; color: var(--text-dark); line-height: 1.65; background: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.sheet { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 14px 0;
}
header .sheet { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
nav a {
  display: inline-block;
  padding: 6px 14px;
  border-right: 2px solid #ddd;
  color: #333;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
nav li:last-child a { border-right: none; }
nav a:hover, nav a.active { color: var(--primary); }
.lang-pill {
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 4px 10px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.hero {
  background: linear-gradient(rgba(15, 50, 65, 0.72), rgba(15, 50, 65, 0.58)), url('../images/00032-2396442280.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 78px 0 66px;
}
.breadcrumb { font-size: 0.9rem; margin-bottom: 24px; color: rgba(255,255,255,0.84); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.hero-content { max-width: 880px; }
.eyebrow { color: #d8edf6; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0; font-weight: 700; margin-bottom: 12px; }
h1 { font-size: 2.7rem; line-height: 1.18; margin-bottom: 22px; color: var(--white); }
.hero p { font-size: 1.16rem; color: rgba(255,255,255,0.9); max-width: 820px; }
main { background: var(--white); }
section { padding: 66px 0; }
section.alt { background: var(--primary-light); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 46px; align-items: start; }
.main-flow { min-width: 0; }
.main-flow > * + * { margin-top: 22px; }
h2 { color: var(--primary); font-size: 2rem; line-height: 1.25; margin-bottom: 14px; }
h3 { color: var(--text-dark); font-size: 1.28rem; line-height: 1.35; margin-bottom: 8px; }
p { color: var(--text-mid); }
.lead { font-size: 1.08rem; color: var(--text-mid); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.topic-card, .side-card {
  background: var(--white);
  border: 1px solid var(--grey-10);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.topic-card h3 { color: var(--primary-dark); }
.topic-card p { font-size: 0.96rem; margin: 10px 0 14px; }
.topic-card a, .text-link { color: var(--primary-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.side-card { position: sticky; top: 92px; background: var(--accent); }
.side-card h2 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 12px; }
.side-card ul, .bullet-list { list-style: none; }
.side-card li, .bullet-list li { display: flex; gap: 10px; margin-bottom: 11px; color: var(--text-mid); }
.side-card li::before, .bullet-list li::before { content: ">"; color: var(--primary); font-weight: 700; flex: 0 0 auto; }
.info-box, .warning-box, .tip-box, .disclaimer {
  border-radius: var(--radius);
  padding: 26px;
  margin: 28px 0;
}
.info-box { background: var(--accent); border-left: 5px solid var(--primary); }
.warning-box { background: var(--warning-bg); border-left: 5px solid var(--warning); }
.tip-box { background: var(--success-bg); border-left: 5px solid var(--success); }
.info-box strong, .warning-box strong, .tip-box strong { display: block; color: var(--text-dark); font-size: 1.08rem; margin-bottom: 8px; }
.disclaimer { background: var(--grey-5); border: 1px solid var(--grey-10); font-size: 0.9rem; }
.source-box {
  background: var(--grey-5);
  border: 1px solid var(--grey-10);
  border-radius: var(--radius);
  padding: 26px;
}
.source-box h2 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.source-list {
  list-style: none;
}
.source-list li {
  margin-bottom: 8px;
  color: var(--text-mid);
}
.source-list a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--grey-10); margin: 26px 0; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey-10); }
th { background: var(--primary); color: var(--white); font-weight: 700; }
tr:last-child td { border-bottom: none; }
td:first-child { font-weight: 700; color: var(--text-dark); }
.timeline-table th:first-child,
.timeline-table td:first-child {
  width: 170px;
  min-width: 170px;
  white-space: normal;
}
.glossary-table th:first-child,
.glossary-table td:first-child {
  width: 230px;
  min-width: 230px;
}
.glossary-table th:nth-child(3),
.glossary-table td:nth-child(3) {
  width: 240px;
  min-width: 240px;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related-links a {
  display: inline-block;
  border: 1px solid var(--primary);
  border-radius: 14px;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 10px;
  white-space: nowrap;
}
.cta {
  background: var(--primary);
  color: var(--white);
  padding: 50px 0;
}
.cta .sheet { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,0.88); max-width: 760px; }
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.contact-list { margin-top: 14px; color: rgba(255,255,255,0.9); }
footer { background: var(--primary); color: var(--white); padding: 42px 0 26px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-bottom: 24px; }
.footer-col h5 { margin-bottom: 12px; }
.footer-col p, .footer-col address { color: rgba(255,255,255,0.86); font-style: normal; font-size: 0.92rem; }
.footer-col a { color: var(--white); opacity: 0.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 18px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.72); }
@media (max-width: 940px) {
  header .sheet { align-items: flex-start; flex-direction: column; }
  nav ul { flex-wrap: wrap; }
  nav a { border-right: none; padding-left: 0; padding-right: 16px; }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cta .sheet { display: block; }
  .cta .btn { margin-top: 22px; }
}
@media (max-width: 680px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .hero { padding: 56px 0 48px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
