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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 240, 249, 0.74), rgba(251, 247, 239, 0.3) 620px),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  color: var(--brand-deep);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
  color: var(--brand-deep);
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--brand-deep);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.section {
  padding: var(--space-2xl) 0;
}

.section--band {
  background: var(--band);
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
}

.section__header {
  margin-bottom: var(--space-lg);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 640px;
}

.section__subtitle {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
  color: var(--brand-deep);
  margin-bottom: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
