:root {
  color-scheme: light;
  --ink: #26301f;
  --muted: #65705d;
  --line: #dfe4d7;
  --paper: #fffef9;
  --background: #f4f6ef;
  --accent: #b7ef4a;
  --accent-dark: #3f5d1e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.96);
}

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

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

.brand {
  color: var(--ink);
  font: 700 28px/1 Georgia, "Times New Roman", serif;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  margin-right: 7px;
  font-family: ui-sans-serif, sans-serif;
  letter-spacing: -0.3em;
  transform: translateX(-0.12em);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav a[aria-current="page"] {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
}

.page {
  margin-block: 48px 72px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(38, 48, 31, 0.07);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.05;
}

.metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 38px;
  padding-bottom: 26px;
  border-bottom: 4px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
}

h2 {
  margin: 44px 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

p,
ul {
  margin-block: 0 18px;
}

li + li {
  margin-top: 8px;
}

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

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: #f3fadf;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #f6f8f1;
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.site-footer a {
  color: #d9f89a;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .page {
    width: min(100% - 24px, 820px);
    margin-block: 20px 40px;
    border-radius: 14px;
  }
}
