:root {
  --bg: #f7f9f6;
  --surface: #ffffff;
  --surface-strong: #eef4ef;
  --ink: #202124;
  --muted: #5e6660;
  --line: #d9e0da;
  --green: #70bf44;
  --green-dark: #3f7e2a;
  --teal: #1d6f7a;
  --amber: #b97627;
  --shadow: 0 18px 55px rgba(30, 45, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 224, 218, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand-link {
  flex: 0 0 auto;
}

.brand-link img {
  width: 210px;
  height: auto;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 8px;
  color: #38413c;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-strong);
  color: var(--green-dark);
  outline: none;
}

.home-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(238, 246, 240, 0.72) 100%),
    linear-gradient(135deg, #ffffff 0%, #eaf2ed 68%, #f8fbf8 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 84px;
}

.hero-inner h1 {
  max-width: 850px;
  margin: 18px 0 0;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

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

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  background: var(--green);
  color: #10200d;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #63ad3a;
  outline: 3px solid rgba(112, 191, 68, 0.22);
}

.secondary-action {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #27322b;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: rgba(29, 111, 122, 0.35);
  outline: 3px solid rgba(29, 111, 122, 0.12);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.92;
}

.hero-pattern::before {
  position: absolute;
  right: clamp(12px, 7vw, 110px);
  bottom: 58px;
  width: min(520px, 45vw);
  height: 300px;
  border: 1px solid rgba(29, 111, 122, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(112, 191, 68, 0.12) 18% 19%, transparent 19% 100%),
    linear-gradient(0deg, transparent 0 27%, rgba(29, 111, 122, 0.12) 27% 28%, transparent 28% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(238, 246, 240, 0.55));
  box-shadow: var(--shadow);
  content: "";
}

.pattern-line {
  position: absolute;
  right: clamp(52px, 11vw, 210px);
  bottom: 170px;
  width: min(420px, 36vw);
  height: 2px;
  transform-origin: right center;
  background: linear-gradient(90deg, rgba(112, 191, 68, 0), rgba(112, 191, 68, 0.86));
}

.pattern-line-a {
  transform: rotate(-14deg);
}

.pattern-line-b {
  bottom: 220px;
  background: linear-gradient(90deg, rgba(29, 111, 122, 0), rgba(29, 111, 122, 0.68));
  transform: rotate(10deg);
}

.pattern-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(63, 126, 42, 0.25);
}

.pattern-node-a {
  right: clamp(80px, 15vw, 270px);
  bottom: 190px;
}

.pattern-node-b {
  right: clamp(170px, 26vw, 430px);
  bottom: 250px;
  background: var(--teal);
}

.pattern-node-c {
  right: clamp(220px, 32vw, 540px);
  bottom: 148px;
  background: var(--amber);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band p {
  min-height: 130px;
  margin: 0;
  padding: 30px clamp(20px, 4vw, 44px);
  background: var(--surface);
  color: #26312a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2,
.split-section h2,
.cta-band h2 {
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.page-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(32, 33, 36, 0.04);
}

.page-card:hover,
.page-card:focus-visible {
  border-color: rgba(112, 191, 68, 0.65);
  outline: 3px solid rgba(112, 191, 68, 0.18);
  transform: translateY(-2px);
}

.page-card span {
  font-size: 19px;
  font-weight: 800;
}

.page-card p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  border-top: 1px solid var(--line);
}

.split-section > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green-dark);
  outline: none;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-list article {
  min-height: 166px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.service-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.cta-band {
  width: min(1120px, calc(100% - 40px));
  margin: 10px auto 90px;
  padding: 48px;
  border: 1px solid rgba(29, 111, 122, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(238, 246, 240, 0.92), rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.cta-band p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 242, 0.9)),
    var(--surface);
}

.page-hero > div {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 72px;
}

.page-hero h1 {
  margin: 14px 0 0;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

.article-wrap {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 26px;
}

.content-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.content-section h2 {
  max-width: 780px;
  margin: 0;
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: 0;
}

.content-section p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #3f4843;
  font-size: 18px;
  line-height: 1.78;
}

.content-section a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 56px;
  padding: 16px 18px 16px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #2f3933;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.example-panel {
  margin-top: 30px;
  padding: 28px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #f0f6f5;
}

.example-panel h2 {
  margin: 0;
  color: #203638;
  font-size: 22px;
  line-height: 1.25;
}

.example-panel p {
  color: #3f504e;
  font-size: 16px;
}

.contact-form {
  display: grid;
  max-width: 680px;
  gap: 10px;
  margin-top: 26px;
}

.contact-form label {
  margin-top: 12px;
  color: #2f3933;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bfc9c1;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(29, 111, 122, 0.14);
}

.contact-form .form-help,
.contact-form .form-note {
  margin-top: 8px;
  font-size: 15px;
}

.contact-form .primary-action {
  width: fit-content;
  margin-top: 10px;
  cursor: pointer;
}

.related-section {
  border-top: 1px solid var(--line);
}

.related-section .page-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer img {
  width: 185px;
  height: auto;
}

.site-footer p {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 1020px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-inner h1 {
    max-width: 720px;
    font-size: 48px;
  }

  .hero-pattern::before {
    width: 420px;
    max-width: calc(100% - 32px);
    opacity: 0.42;
  }

  .proof-band,
  .page-card-grid,
  .related-section .page-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    padding: 14px 18px;
  }

  .brand-link img {
    width: 178px;
  }

  .site-nav a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .site-nav {
    padding-bottom: 6px;
    scrollbar-color: var(--line) transparent;
    scrollbar-width: thin;
  }

  .site-nav::-webkit-scrollbar {
    display: block;
    height: 5px;
  }

  .site-nav::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: var(--line);
  }

  .home-hero {
    min-height: auto;
  }

  .hero-pattern {
    display: none;
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding: 66px 0 58px;
  }

  .hero-inner h1,
  .page-hero h1 {
    font-size: 39px;
  }

  .hero-lede,
  .page-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .proof-band,
  .page-card-grid,
  .related-section .page-card-grid,
  .service-list,
  .check-list {
    grid-template-columns: 1fr;
  }

  .section,
  .cta-band,
  .article-wrap,
  .page-hero > div {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 60px 0;
  }

  .section-heading h2,
  .split-section h2,
  .cta-band h2 {
    font-size: 31px;
  }

  .page-card {
    min-height: 190px;
  }

  .cta-band {
    margin-bottom: 64px;
    padding: 28px;
  }

  .page-hero > div {
    padding: 56px 0 48px;
  }

  .content-section {
    padding: 34px 0;
  }

  .content-section h2 {
    font-size: 26px;
  }

  .content-section p {
    font-size: 17px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
