
:root {
  --color-bg: #f5f3ef;
  --color-header: #419988;
  --color-heading: #006b5d;
  --color-text: #33424c;
  --color-text-soft: #5b6772;
  --color-rule: #dedad0;
  --color-badge-bg: #419988;
  --color-badge-text: #f5f3ef;

  --font-sans: "Mulish", sans-serif;

  --container-width: 840px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}


.site-header {
  background: var(--color-header);
}

.site-header__bar {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) 24px clamp(16px, 2vw, 24px) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  height: clamp(24px, 3vw, 36px);
  width: auto;
}

.site-header a {
  text-decoration: none;
  color: #fff;
}

.site-header a:hover {
  text-decoration: underline;
}

/* ---------- Page layout ---------- */

#home {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: calc(100dvh - 70px);
}

.page {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 24px) clamp(64px, 8vw, 96px);
}

.page__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.doc-meta {
  margin: 0 0 20px;
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  color: var(--color-text-soft);
}

.doc-title {
  margin: 0 0 40px;
  font-size: clamp(1.8rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.section {
  margin-bottom: 44px;
}

.section__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}

.section__badge {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.section__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--color-heading);
  flex: 1 1 auto;
  min-width: 0;
}

.section__rule {
  order: 2;
  flex: 1 1 100%;
  width: 100%;
  height: 1px;
  background: var(--color-rule);
  margin-top: 12px;
}

.section__body p {
  margin: 0 0 18px;
  font-size: clamp(0.95rem, 0.95vw, 1rem);
  color: var(--color-text);
}

.section__body p:last-child {
  margin-bottom: 0;
}

.section__body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.section__body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.section__body li:last-child {
  margin-bottom: 0;
}

.section__subheading {
  margin: 24px 0 12px;
  font-size: clamp(1rem, 1.7vw, 1.05rem);
  font-weight: 700;
  color: var(--color-heading);
}

.sections--loading,
.sections--error {
  color: var(--color-text-soft);
  font-style: italic;
}

@media (max-width: 960px) {
  .doc-title {
    font-size: clamp(1.95rem, 3.8vw, 2rem);
  }

  .section__title {
    font-size: clamp(1.2rem, 2.2vw, 1.3rem);
  }

  .section__heading {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section__title {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .site-header__bar {
    padding: 18px 20px;
  }

  .site-header__logo {
    height: 28px;
  }

  .page {
    padding: 36px 18px 72px;
  }

  .doc-title {
    font-size: 1.9rem;
    margin-bottom: 32px;
  }

  .section__title {
    font-size: 1.25rem;
  }

  .section__badge {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .section__body p,
  .section__body li {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .site-header__bar {
    padding: 16px 18px;
  }

  .site-header__logo {
    height: 24px;
  }

  .page {
    padding: 28px 16px 60px;
  }

  .doc-title {
    font-size: 1.7rem;
    margin-bottom: 28px;
  }

  .section {
    margin-bottom: 32px;
  }

  .section__heading {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section__title {
    font-size: 1.15rem;
  }

  .section__badge {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }

  .section__body p,
  .section__body li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 24px 14px 52px;
  }

  .doc-title {
    font-size: 1.45rem;
  }

  .section__title {
    font-size: 1rem;
  }

  .section__badge {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .section__body p,
  .section__body li {
    font-size: 0.92rem;
  }

  .dpo-badge {
    max-width: 220px;
    margin-top: 32px;
  }
}

.dpo-badge {
  margin: 48px auto 0;
  max-width: 320px;
  text-align: center;
}

.dpo-badge img {
  width: 100%;
  height: auto;
  display: inline-block;
}

@media (max-width: 640px) {
  .dpo-badge {
    max-width: 260px;
    margin-top: 36px;
  }
}
