:root {
  color-scheme: light;
  --background: #f4f7f7;
  --surface: #ffffff;
  --border: #d8e0e1;
  --text: #172328;
  --muted: #637277;
  --brand: #215c63;
  --brand-dark: #17484f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(33, 92, 99, 0.11), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

main {
  width: min(820px, calc(100% - 32px));
  margin: 32px auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(28, 48, 53, 0.1);
  padding: clamp(24px, 5vw, 52px);
}

.document-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  padding-bottom: 20px;
}

.document-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.document-brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 11px;
  object-fit: cover;
}

.document-header p,
.document-note,
footer {
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: -0.035em;
}

h2 {
  margin-top: 36px;
  font-size: 23px;
}

h3 {
  margin-top: 24px;
  font-size: 18px;
}

a {
  color: var(--brand);
  text-underline-offset: 0.16em;
}

li + li {
  margin-top: 7px;
}

.document-note {
  border-left: 4px solid var(--brand);
  background: #f0f7f7;
  padding: 12px 15px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 14px;
}

footer a + a {
  margin-left: 14px;
}

@media (max-width: 560px) {
  .document-brand {
    align-items: flex-start;
  }

  .document-brand img {
    width: 46px;
    height: 46px;
  }
}
