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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(6, 180, 196, 0.06), transparent 28%),
    var(--color-bg);
}

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

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

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

.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section__header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__title--upper {
  text-transform: none;
  letter-spacing: -0.02em;
}

.section__title--upper::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.section__header--center .section__title--upper::after {
  margin-inline: auto;
}

.section--dark {
  background:
    linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(15, 20, 25, 0.98) 100%);
  border-block: 1px solid var(--color-border);
}

.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 (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section__header {
    margin-bottom: 36px;
  }
}
