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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

main {
  min-height: 70vh;
}

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

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

.section {
  padding: 48px 0 72px;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.65));
}

.section--dark {
  color: #fff;
  background: linear-gradient(135deg, #1d2430, #2f4355 60%, #6c8572 120%);
}

.section--compact {
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.page-heading {
  margin-bottom: 32px;
  max-width: 900px;
}

.page-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.page-heading__text {
  max-width: 740px;
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.text-link,
.text-button {
  color: var(--primary);
  font-weight: 700;
}

.text-button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(51, 72, 93, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.empty-state {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.55);
  color: var(--text-muted);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 84px;
  }

  .eyebrow {
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .eyebrow::before {
    width: 18px;
  }

  .page-heading {
    margin-bottom: 24px;
  }

  .page-heading h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .page-heading__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .chip {
    padding: 9px 12px;
    font-size: 0.88rem;
  }
}
