:root {
  color-scheme: light;
  --page: #f3f6f2;
  --surface: #ffffff;
  --surface-soft: #eaf1ec;
  --ink: #16342b;
  --muted: #65766f;
  --line: #d9e3dc;
  --brand: #0d503e;
  --brand-dark: #093d30;
  --brand-soft: #dfece5;
  --accent: #d8ac45;
  --accent-dark: #6a4a00;
  --danger: #bd433d;
  --warning: #d58d2f;
  --success: #39845b;
  --shadow: 0 18px 48px rgba(20, 52, 43, 0.09);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font: 15px/1.5 Inter, "Segoe UI", Arial, sans-serif;
}

body > main {
  flex: 1 0 auto;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(216, 172, 69, 0.65);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  display: block;
  width: min(320px, 42vw);
  height: 64px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #36544a;
  font-size: 14px;
  font-weight: 700;
  padding: 0 15px;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--brand);
}

.site-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 22px;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 24px;
}

.site-footer__identity strong {
  display: block;
  color: var(--brand);
  font-size: 19px;
  line-height: 1.2;
}

.site-footer__identity span {
  display: block;
  max-width: 480px;
  margin-top: 6px;
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--brand);
  font-weight: 700;
}

.site-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  padding: 0 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(13, 80, 62, 0.18);
}

.button--primary:hover {
  background: var(--brand-dark);
}

.button--secondary {
  border-color: #b9ccc1;
  background: var(--surface);
  color: var(--brand);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .site-header__inner {
    width: min(100% - 28px, 1180px);
    min-height: 0;
    flex-direction: column;
    gap: 5px;
    padding: 8px 0;
  }

  .site-brand img {
    width: min(250px, 78vw);
    height: 50px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    min-height: 36px;
    flex: 1;
    padding: 0 8px;
  }

  .site-footer__inner {
    width: min(100% - 28px, 1180px);
  }

  .site-footer__top,
  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__top {
    gap: 20px;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
