:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #5c6863;
  --line: #dfe5df;
  --teal: #137c72;
  --green: #7aa95c;
  --yellow: #f0b84b;
  --charcoal: #26302c;
  --shadow: 0 22px 70px rgba(22, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.88);
  border-bottom: 1px solid rgba(223, 229, 223, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 64px);
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.button.secondary {
  background: var(--surface);
  color: var(--charcoal);
}

.button.full {
  width: 100%;
  margin-top: 14px;
}

.hero-visual {
  align-self: stretch;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 780px);
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.org-switch {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-block: 1px solid var(--line);
  background: #eef3ec;
}

.org-switch p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.switch-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.switch-buttons button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cbd7cf;
  border-radius: 8px;
  background: white;
  color: var(--charcoal);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.switch-buttons button.active {
  background: var(--charcoal);
  color: white;
  border-color: var(--charcoal);
}

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

.section.alt {
  background: var(--surface);
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.problem-grid,
.feature-grid,
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

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

.feature-grid article {
  background: #f7f8f5;
}

article p,
.demo p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--teal);
  font-weight: 850;
}

.impact {
  background: var(--charcoal);
  color: white;
}

.impact .eyebrow,
.impact p {
  color: #c7e2d4;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.impact-list p {
  min-height: 120px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
  background: #eaf2ee;
}

.demo h2 {
  margin-bottom: 16px;
}

.demo-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 40px rgba(22, 32, 29, 0.09);
}

.demo-box p + p {
  margin-top: 10px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: white;
}

.footer p {
  margin-top: 4px;
  color: #cdd8d2;
}

@media (max-width: 980px) {
  .hero,
  .demo {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 680px) {
  .site-header,
  .org-switch,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4.2rem);
  }

  .problem-grid,
  .feature-grid,
  .business-grid,
  .impact-list {
    grid-template-columns: 1fr;
  }

  article,
  .impact-list p {
    min-height: auto;
  }
}
