:root {
  --cm-evergreen: #10251F;
  --cm-forest: #164A3B;
  --cm-fern: #4F9C70;
  --cm-sage: #8DBDA0;
  --cm-terracotta: #C76D4E;
  --cm-terracotta-dark: #B05C3E;
  --cm-linen: #F4F0E8;
  --cm-card: #FBF9F4;
  --cm-radius: 10px;
  --cm-shadow: 0 12px 32px rgb(16 37 31 / 18%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--cm-forest);
  background: var(--cm-linen);
}

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

a { color: var(--cm-forest); }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Hero */
.hero {
  background: var(--cm-evergreen);
  color: var(--cm-linen);
  position: relative;
  padding-bottom: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cm-linen);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.nav-links a:hover { color: var(--cm-sage); }

.hero-body { padding-top: 72px; padding-bottom: 150px; max-width: 1080px; }

.eyebrow, .label {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.eyebrow { color: var(--cm-sage); }
.label { color: var(--cm-fern); }

.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  max-width: 16ch;
}

.hero .lede {
  font-size: 20px;
  max-width: 600px;
  margin: 28px 0 0;
  color: #E3DED2;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 0;
}

.ridge {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--cm-radius);
  background: var(--cm-terracotta);
  color: var(--cm-linen);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: 2px solid var(--cm-terracotta);
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover { background: var(--cm-terracotta-dark); border-color: var(--cm-terracotta-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--cm-linen);
  color: var(--cm-linen);
}

.btn-ghost:hover { background: rgb(244 240 232 / 12%); border-color: var(--cm-linen); }

.btn-small { padding: 9px 18px; font-size: 15px; }

.nav-links a.btn:hover { color: var(--cm-linen); }

/* Sections */
.section { padding: 88px 0; }

.section-alt { background: #ECE7DC; }

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  max-width: 22ch;
  color: var(--cm-forest);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--cm-card);
  border: 1px solid #DDD6C6;
  border-top: 4px solid var(--cm-fern);
  border-radius: var(--cm-radius);
  padding: 28px;
}

.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { margin: 0; }

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps li {
  border-top: 2px solid var(--cm-forest);
  padding-top: 18px;
}

.step-num {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 14px;
  color: var(--cm-fern);
  margin-bottom: 8px;
}

.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 17px; }

.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.about-text p { margin: 0 0 18px; }
.about-text p:last-child { margin-bottom: 0; }

.contact {
  background: var(--cm-evergreen);
  color: var(--cm-linen);
}

.contact h2 { color: var(--cm-linen); max-width: 24ch; }
.contact .label { color: var(--cm-sage); }
.contact .lede { font-size: 20px; margin: 24px 0 0; max-width: 560px; color: #E3DED2; }

/* Footer */
.footer {
  background: var(--cm-evergreen);
  border-top: 1px solid rgb(244 240 232 / 18%);
  color: var(--cm-sage);
  font-size: 15px;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { height: 34px; width: auto; }
.footer p { margin: 0; }

/* Small screens */
@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav-links li:not(:last-child) { display: none; }
  .brand img { height: 36px; }
  .hero-body { padding-top: 40px; padding-bottom: 120px; }
  .hero .lede, .contact .lede { font-size: 18px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .btn { width: 100%; text-align: center; }
  .btn-small { width: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
