:root {
  --ink: #10231f;
  --muted: #55706a;
  --line: #dbe8e3;
  --surface: #f5faf8;
  --white: #ffffff;
  --green: #0e6b5a;
  --green-dark: #08483d;
  --teal: #0a8d86;
  --gold: #c49a42;
  --shadow: 0 18px 48px rgba(16, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  opacity: 1;
  transition: opacity 420ms ease, filter 420ms ease;
}

body.is-loading {
  opacity: 0;
  filter: blur(8px);
}

body.page-leaving {
  opacity: 0;
  filter: blur(6px);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
  transition: transform 520ms ease, opacity 520ms ease;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
  font-size: 0.9rem;
  letter-spacing: 0;
  transition: transform 620ms ease, box-shadow 620ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-3deg) scale(1.04);
  box-shadow: 0 12px 26px rgba(8, 72, 61, 0.22);
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-menu a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: color 360ms ease, background-color 360ms ease, transform 360ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: var(--green-dark);
  background: var(--surface);
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 360ms ease, transform 360ms ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-dark);
  transition: transform 360ms ease, opacity 360ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 36%, rgba(255, 255, 255, 0.18) 68%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 6vw, 72px);
  animation: riseIn 900ms ease 120ms both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 700px;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 620px;
  margin-top: 22px;
  color: #36534d;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 380ms ease, box-shadow 380ms ease, background-color 380ms ease, border-color 380ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 72, 61, 0.18);
}

.button.primary {
  color: var(--white);
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

.section,
.feature-grid,
.content-band,
.page-hero,
.article-body {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(64px, 8vw, 108px) 0 28px;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0 clamp(64px, 8vw, 110px);
}

.feature-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 35, 31, 0.06);
  transition: transform 520ms ease, box-shadow 520ms ease, border-color 520ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 141, 134, 0.32);
  box-shadow: 0 18px 42px rgba(16, 35, 31, 0.12);
}

.card-number {
  color: var(--gold);
  font-weight: 900;
}

.feature-card p {
  color: var(--muted);
}

.feature-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: start;
  padding: clamp(36px, 6vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.band-text p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list p {
  padding: 14px 16px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(64px, 8vw, 108px) 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 420ms ease, box-shadow 420ms ease;
}

details[open] {
  border-color: rgba(10, 141, 134, 0.34);
  box-shadow: 0 14px 32px rgba(16, 35, 31, 0.08);
}

summary {
  color: var(--green-dark);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.page-hero {
  padding: clamp(58px, 8vw, 104px) 0 26px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.page-hero p:last-child {
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 24px 0 clamp(64px, 8vw, 108px);
}

.article-main {
  display: grid;
  gap: 20px;
}

.article-section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  animation: riseIn 760ms ease both;
}

.article-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.article-section p,
.article-section li {
  color: var(--muted);
}

.article-section ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.side-box {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  animation: riseIn 840ms ease 120ms both;
}

.side-box h2 {
  font-size: 1.25rem;
}

.side-box a {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 32px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--green-dark);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer strong {
  color: var(--white);
  font-size: 0.98rem;
}

@media (max-width: 940px) {
  .menu-toggle {
    display: block;
  }

  .primary-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: max-height 620ms ease, opacity 460ms ease, transform 460ms ease;
  }

  .primary-menu.is-open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu a {
    padding: 14px 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 62%, rgba(255, 255, 255, 0.48) 100%);
  }

  .hero-content {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .intro,
  .content-band,
  .faq,
  .article-body {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-box {
    position: static;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body.is-loading,
  body.page-leaving {
    opacity: 1;
    filter: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand {
    max-width: calc(100% - 58px);
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

  .primary-menu {
    top: 66px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .content-band,
  .article-section {
    padding: 22px;
  }
}
