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

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

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

main,
header,
footer,
section {
  width: 100%;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a {
  color: var(--color-navy);
  text-decoration-line: underline;
  text-decoration-color: var(--color-red);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--color-red);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  color: var(--color-navy);
}

h1,
h2 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 52px;
  line-height: 1.04;
}

h2 {
  font-size: 28px;
  line-height: 1.12;
}

h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
}

p,
ul,
table {
  margin: 0;
}

strong {
  color: var(--color-navy);
}

ul {
  padding-left: 1.1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

th {
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }
}
