:root {
  --ink: #20251f;
  --muted: #697168;
  --line: #dde4d8;
  --panel: #ffffff;
  --panel-soft: #f7f9f4;
  --green: #173227;
  --green-2: #1f6b4b;
  --blue: #2f6fed;
  --blue-soft: #e8f0ff;
  --amber: #c99435;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(25, 37, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcf8;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(190px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 228, 216, 0.9);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 8px;
}

.site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover {
  color: var(--ink);
}

.nav-cta {
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 56px) clamp(40px, 6vw, 84px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  max-width: 760px;
  font-size: clamp(48px, 5.3vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI",
    sans-serif;
  font-weight: 780;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 3.45vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI",
    sans-serif;
  font-weight: 760;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-lede,
.hero-slogan,
.section-head p,
.copy-panel p,
.cta-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-slogan {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 720;
}

.hero-lede {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 19px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.proof-strip {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.proof-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 750;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #eef2ea;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section.compact {
  padding-top: 26px;
}

.section-head {
  max-width: 1080px;
  margin-bottom: 28px;
}

.feature-grid,
.boundary-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.boundary-grid article,
.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
}

.feature-grid article span,
.plan-label {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid p,
.boundary-grid p,
.pricing-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
}

.visual-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  box-shadow: 0 16px 46px rgba(25, 37, 29, 0.11);
  overflow: hidden;
}

.visual-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.copy-panel {
  max-width: 660px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #dff4e9;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid #157347;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pricing {
  background: #f2f5ee;
}

.pricing-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: rgba(201, 148, 53, 0.65);
  background: #fff9ec;
  box-shadow: 0 16px 38px rgba(128, 90, 28, 0.13);
}

.pricing-cards h3 {
  margin: 12px 0 10px;
  font-size: 34px;
}

.plan-subtitle {
  min-height: 44px;
}

.plan-features {
  display: grid;
  gap: 9px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 21px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.plan-features li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green-2);
}

.select-plan {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.select-plan.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.plan-comparison-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: end;
  margin: 26px 0 10px;
}

.plan-comparison-head h3 {
  margin: 0;
}

.plan-comparison-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.plan-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 37, 29, 0.06);
}

.plan-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.plan-table th,
.plan-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  text-align: center;
  vertical-align: middle;
}

.plan-table th:first-child,
.plan-table td:first-child {
  width: 30%;
  text-align: left;
  font-weight: 720;
}

.plan-table th {
  position: sticky;
  top: 0;
  background: #f8faf5;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-table tr:last-child td {
  border-bottom: 0;
}

.yes,
.no {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 900;
}

.yes {
  background: #dff4e9;
  color: #157347;
}

.no {
  background: #fde2df;
  color: #c43c31;
}

.cta-band {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(48px, 7vw, 86px);
  border-radius: 18px;
  background: var(--green);
  color: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.cta-band p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.cta-band h2 {
  max-width: 720px;
}

.cta-band .button.primary {
  flex: 0 0 auto;
  background: #fff;
  color: var(--green);
}

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

.site-footer > div:last-child {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.brand.small .brand-mark {
  width: 32px;
  height: 32px;
}

.text-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 88px) 20px;
}

.text-page h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.text-page p,
.text-page li {
  color: var(--muted);
  line-height: 1.65;
}

.text-page section {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid,
  .boundary-grid,
  .pricing-grid,
  .pricing-cards {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-comparison-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr;
  }

  .nav-cta {
    justify-self: stretch;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .feature-grid,
  .boundary-grid,
  .pricing-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

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