:root {
  color-scheme: light;
  --background: #f7f5ef;
  --surface: #ffffff;
  --text: #25332e;
  --muted: #607069;
  --primary: #276657;
  --primary-dark: #18483d;
  --accent: #d99b46;
  --border: #dce4df;
  --shadow: 0 18px 45px rgba(23, 56, 47, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--primary-dark);
  color: #ffffff;
}

.header-inner,
.article,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50% 50% 50% 12%;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 21px;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
}

.site-nav a:hover {
  color: #f7cf96;
}

.hero {
  padding: 72px 0 44px;
  background: linear-gradient(180deg, var(--primary-dark) 0, var(--primary) 100%);
  color: #ffffff;
}

.hero-inner {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f4c27c;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin: 0 auto 20px;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -0.035em;
}

.lead {
  max-width: 740px;
  margin: 0 auto 20px;
  color: #e9f2ee;
  font-size: clamp(19px, 2.5vw, 24px);
}

.updated {
  margin: 0;
  color: #c7ddd5;
  font-size: 14px;
}

.article {
  margin-top: 48px;
  margin-bottom: 72px;
}

.featured-image {
  overflow: hidden;
  margin: 0 0 48px;
  border-radius: 24px;
  background: #d9d2c6;
  box-shadow: var(--shadow);
}

.featured-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-content {
  max-width: 780px;
  margin-inline: auto;
}

.article-content h2 {
  margin: 54px 0 18px;
  color: var(--primary-dark);
  font-size: clamp(31px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content strong {
  color: var(--primary-dark);
}

.principles,
.frequency-list {
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.principles li,
.frequency-list li {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.principles li {
  counter-increment: principle;
}

.principles li::before {
  content: counter(principle);
}

.principles li::before,
.frequency-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e5f0eb;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.frequency-list li::before {
  content: "✓";
}

.closing-note {
  margin-top: 44px;
  padding: 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: #fff8ed;
  color: var(--primary-dark);
  font-size: 21px;
}

.site-footer {
  padding: 48px 0 28px;
  background: #102f28;
  color: #d7e5df;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}

.footer-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
}

.footer-copy {
  max-width: 570px;
  margin: 0;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 8px;
}

.contact-label {
  color: #f4c27c;
  font-weight: 800;
}

.legal {
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #9fb8ae;
  font-size: 13px;
  text-align: center;
}

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

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    padding: 54px 0 38px;
  }

  .article {
    margin-top: 28px;
    margin-bottom: 52px;
  }

  .featured-image {
    margin-bottom: 34px;
    border-radius: 16px;
  }

  .principles li,
  .frequency-list li {
    padding-right: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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