:root {
  --ivory: #fbf8f1;
  --ivory-strong: #fffdf8;
  --warm-gray: #ede8dd;
  --soft-gray: #f4f1ea;
  --graphite: #202923;
  --muted: #617068;
  --line: rgba(46, 69, 55, 0.14);
  --green: #218554;
  --green-deep: #245c3a;
  --green-soft: #e6f4e9;
  --shadow: 0 24px 70px rgba(39, 55, 45, 0.12);
  --small-shadow: 0 14px 34px rgba(39, 55, 45, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--graphite);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), 1180px);
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 14px 40px rgba(48, 57, 50, 0.11);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 750;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(33, 133, 84, 0.18);
}

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

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green-deep);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 18px;
  color: #f9fff9;
  background: var(--green-deep);
  box-shadow: 0 12px 28px rgba(36, 92, 58, 0.2);
}

.hero {
  position: relative;
  min-height: 780px;
  isolation: isolate;
  overflow: hidden;
  padding: 136px max(24px, calc((100vw - 1180px) / 2)) 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-workspace.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.98) 0%, rgba(251, 248, 241, 0.9) 35%, rgba(251, 248, 241, 0.24) 72%),
    linear-gradient(180deg, rgba(251, 248, 241, 0.2), rgba(251, 248, 241, 0.82));
}

.hero-content {
  width: 100%;
  max-width: 640px;
  padding-top: 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.25rem, 6.5vw, 5.7rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: #536159;
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  min-width: 160px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.96rem;
}

.button.primary {
  color: #f8fff8;
  background: var(--green-deep);
  box-shadow: 0 16px 34px rgba(36, 92, 58, 0.22);
}

.button.secondary {
  color: var(--graphite);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-metrics {
  display: grid;
  width: min(620px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--small-shadow);
}

.hero-metrics dt {
  font-weight: 820;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.section {
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.intro-grid,
.workflow-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.step,
.price-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--small-shadow);
}

.feature-card {
  min-height: 268px;
  padding: 28px;
}

.feature-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.feature-card h3,
.step h3,
.price-card h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.feature-card p,
.step p,
.price-card p {
  color: var(--muted);
  line-height: 1.65;
}

.workflow-band {
  background: #f3efe6;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.step {
  min-height: 260px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
}

.step span {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-split {
  background: var(--ivory-strong);
}

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

.list-panel > div {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--soft-gray);
  box-shadow: var(--small-shadow);
}

.list-panel h3 {
  font-size: 1.45rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  color: #415149;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 0.16rem;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.premium-list li::before {
  background: var(--green-deep);
}

.pricing {
  background: #f7f3eb;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.price-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.66);
}

.price-card .button {
  margin-top: auto;
}

.plan-name {
  margin: 0;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0 0 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #ddf3e2;
  font-size: 0.76rem;
  font-weight: 850;
}

.price-card.highlighted {
  border-color: rgba(33, 133, 84, 0.24);
  background: #fffdf7;
  box-shadow: var(--shadow);
  transform: translateY(-12px);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  gap: 40px;
  align-items: center;
  color: #f8fff8;
  background: var(--green-deep);
}

.proof-band .eyebrow {
  color: #bce7c8;
}

.proof-band h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
}

.proof-band p:not(.eyebrow) {
  margin: 0;
  color: rgba(248, 255, 248, 0.78);
  font-size: 1.2rem;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 48px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: #fffdf8;
}

.footer-brand {
  color: var(--graphite);
}

.site-footer p {
  max-width: 520px;
  margin: 14px 0 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: flex-start;
  justify-content: flex-end;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding-top: 126px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(251, 248, 241, 0.98), rgba(251, 248, 241, 0.78) 62%, rgba(251, 248, 241, 0.48)),
      linear-gradient(90deg, rgba(251, 248, 241, 0.95), rgba(251, 248, 241, 0.3));
  }

  .hero-content {
    max-width: calc(100vw - 36px);
    padding-top: 34px;
  }

  h1 {
    max-width: 12ch;
  }

  .section-heading,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .workflow-grid,
  .pricing-grid,
  .list-panel {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.highlighted {
    transform: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 1180px);
    min-height: 58px;
    border-radius: 20px;
  }

  .brand span {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 104px 18px 58px;
  }

  .hero-media {
    background-position: 58% center;
    opacity: 0.62;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-copy {
    font-size: 1rem;
    max-width: 330px;
  }

  .hero-actions,
  .hero-metrics {
    max-width: calc(100vw - 36px);
  }

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

  .hero-metrics,
  .intro-grid,
  .workflow-grid,
  .pricing-grid,
  .list-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 18px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 28px;
  }

  .feature-card,
  .step,
  .price-card,
  .list-panel > div {
    border-radius: 24px;
    padding: 24px;
  }

  .proof-band {
    padding-block: 70px;
  }

  .site-footer {
    flex-direction: column;
    padding: 38px 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
