:root {
  --canvas: #f4f1e9;
  --paper: #fbfaf6;
  --ink: #1f2925;
  --muted: #68736c;
  --line: #d8d9d0;
  --green: #146a52;
  --green-dark: #0e4939;
  --green-pale: #dcebe1;
  --warm: #ece7dc;
  --shadow: 0 18px 48px rgba(34, 48, 40, 0.08);
  --radius-lg: 1.25rem;
  --radius-md: 0.8rem;
  --max-width: 76rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid #e8a631;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0.45rem;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 790;
  letter-spacing: -0.055em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-domain { font-weight: 580; }

.wordmark-mark {
  width: 1.48rem;
  height: 1.48rem;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.13rem;
  border-radius: 0.28rem;
  padding: 0.22rem;
  background: var(--green);
  transform: rotate(-4deg);
}

.wordmark-mark i { display: block; border-radius: 999px; background: #f8f6ee; }
.wordmark-mark i:nth-child(1) { height: 42%; }
.wordmark-mark i:nth-child(2) { height: 82%; }
.wordmark-mark i:nth-child(3) { height: 58%; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.site-nav a { color: #4f5a53; font-size: 0.9rem; font-weight: 630; text-decoration: none; }
.site-nav a:hover { color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.18rem;
  padding: 0.85rem 1.2rem;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 0.45rem;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.button:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.button--small { min-height: 2.62rem; padding: 0.62rem 0.85rem; font-size: 0.83rem; }
.button--light { background: #fbfaf6; border-color: #fbfaf6; color: var(--green-dark); }
.button--light:hover { background: #eaf5ee; border-color: #eaf5ee; }

.section { width: min(calc(100% - 3rem), var(--max-width)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(27rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
  padding: clamp(4.2rem, 8vw, 7.6rem) 0 clamp(5.6rem, 10vw, 9.7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1, h2, h3 { text-wrap: balance; }

h1 {
  max-width: 11.5ch;
  margin-bottom: 1.45rem;
  font-size: clamp(3rem, 5.1vw, 5rem);
  letter-spacing: -0.073em;
  line-height: 0.99;
}

.hero-intro {
  max-width: 39rem;
  margin-bottom: 1.9rem;
  color: #435047;
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; }

.text-link {
  color: var(--green-dark);
  font-size: 0.94rem;
  font-weight: 720;
  text-underline-offset: 0.28rem;
}

.supporting-line { margin: 1.45rem 0 0; color: var(--muted); font-size: 0.87rem; }

.improvement-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #d5d8ce;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.improvement-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 1.5rem 0.9rem;
}

.improvement-label, .improvement-tag { margin: 0; font-size: 0.72rem; font-weight: 780; letter-spacing: 0.055em; text-transform: uppercase; }
.improvement-label { color: var(--green); }
.improvement-tag { padding: 0.3rem 0.5rem; border-radius: 99px; background: var(--green-pale); color: var(--green-dark); }

.improvement-card__body { padding: 1.45rem 1.5rem 1.35rem; }
.improvement-card h2 { margin: 0 0 0.72rem; font-size: clamp(1.55rem, 2.5vw, 2.03rem); letter-spacing: -0.052em; line-height: 1.06; }
.improvement-intro { margin: 0 0 1.38rem; color: #526057; font-size: 0.89rem; line-height: 1.52; }

.improvement-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #dce0d7; }
.improvement-list li { display: grid; grid-template-columns: 2.35rem 1fr; gap: 0.4rem; padding: 0.9rem 0; border-bottom: 1px solid #dce0d7; }
.improvement-index { padding-top: 0.13rem; color: var(--green); font-size: 0.7rem; font-weight: 840; letter-spacing: 0.06em; }
.improvement-list h3 { margin: 0 0 0.22rem; font-size: 0.95rem; letter-spacing: -0.023em; line-height: 1.18; }
.improvement-list p { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }

.improvement-card__footer { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 0.88rem 1.5rem; background: #eaf1eb; }
.improvement-card__footer p { margin: 0; color: #4e6157; font-size: 0.74rem; line-height: 1.42; }
.improvement-card__footer .improvement-note { color: var(--green-dark); font-size: 0.68rem; font-weight: 830; letter-spacing: 0.045em; text-transform: uppercase; white-space: nowrap; }

.work-section { padding: 0 0 clamp(5.8rem, 10vw, 9.2rem); }
.section-heading { max-width: 47rem; margin-bottom: clamp(2.3rem, 4vw, 3.75rem); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(15rem, 0.48fr); gap: 2rem 4rem; align-items: end; }
.section-heading h2, .custom-copy h2, .cta-panel h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4.1vw, 3.7rem); letter-spacing: -0.066em; line-height: 1.02; }
.section-heading--split > p { margin: 0 0 0.25rem; color: var(--muted); font-size: 0.98rem; }

.build-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.build-card { min-height: 16.5rem; padding: 1.65rem; background: var(--paper); }
.build-card h3 { max-width: 17rem; margin: 1.85rem 0 0.8rem; font-size: 1.27rem; letter-spacing: -0.038em; line-height: 1.15; }
.build-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.91rem; }
.card-number, .process-number { margin: 0; color: var(--green); font-size: 0.74rem; font-weight: 820; letter-spacing: 0.08em; }
.section-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.88rem; }

.custom-section {
  display: grid;
  grid-template-columns: minmax(17rem, 0.86fr) minmax(21rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5.8rem, 10vw, 9.2rem) 0;
  border-top: 1px solid var(--line);
}

.workplace-figure { margin: 0; }
.workplace-figure img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.workplace-figure figcaption { margin-top: 0.8rem; color: var(--muted); font-size: 0.79rem; }
.custom-copy .eyebrow { margin-bottom: 0.9rem; }
.body-copy { margin: 1.35rem 0 1.75rem; color: #49554d; font-size: 1.01rem; }
.benefit-list { display: grid; gap: 0.95rem; margin: 0; padding: 0; list-style: none; }
.benefit-list li { display: grid; grid-template-columns: 2.3rem 1fr; gap: 0.65rem; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.benefit-list strong { color: var(--ink); }
.benefit-icon { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid #b9d4c5; border-radius: 0.42rem; color: var(--green); font-size: 0.63rem; font-weight: 840; }

.process-section { padding: clamp(5.8rem, 10vw, 9.2rem) 0; border-top: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; padding-top: 1.1rem; border-top: 2px solid var(--green); }
.process-list h3 { max-width: 16rem; margin: 1.35rem 0 0.75rem; font-size: 1.25rem; letter-spacing: -0.035em; line-height: 1.16; }
.process-list p:last-child { max-width: 18rem; margin-bottom: 0; color: var(--muted); font-size: 0.91rem; }

.cta-section { padding: 0 0 clamp(5rem, 8vw, 7rem); }
.cta-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(2rem, 4vw, 4rem); padding: clamp(2rem, 4vw, 3.75rem); background: var(--green-dark); border-radius: var(--radius-lg); color: #fff; }
.eyebrow--light { color: #b8dac8; }
.cta-panel h2 { max-width: 13ch; color: #fff; }
.cta-description { margin: 1.4rem 0 1.1rem; color: #e2ece6; font-size: 1.02rem; }
.cta-examples { max-width: 29rem; color: #c1d7ca; font-size: 0.9rem; }
.cta-email { margin-top: 2.2rem; }
.cta-email p { margin-bottom: 0.35rem; color: #c1d7ca; font-size: 0.8rem; }
.email-link { color: #fff; font-size: 0.92rem; font-weight: 720; text-underline-offset: 0.25rem; }

.lead-form { min-width: 0; padding: clamp(1.2rem, 2.5vw, 2rem); background: var(--paper); border-radius: var(--radius-md); color: var(--ink); }
.form-heading h3 { margin: 0 0 0.3rem; font-size: 1.3rem; letter-spacing: -0.04em; }
.form-heading p { margin-bottom: 1.4rem; color: #526057; font-size: 0.82rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.form-field { min-width: 0; margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: 0.38rem; font-size: 0.82rem; font-weight: 740; }
.form-field label span { color: #59645e; font-size: 0.73rem; font-weight: 450; }
.form-field input, .form-field textarea { display: block; width: 100%; min-height: 3rem; border: 1px solid #b6c3b9; border-radius: 0.38rem; padding: 0.7rem 0.8rem; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.45; }
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #667168; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid #146a52; outline-offset: 2px; }
.form-field [aria-invalid="true"] { border-color: #a32c2c; }
.field-hint, .form-privacy { margin: 0.4rem 0 0; color: #59645e; font-size: 0.76rem; line-height: 1.45; }
.field-error { margin: 0.4rem 0 0; color: #a32c2c; font-size: 0.79rem; font-weight: 600; }
.form-status { margin: 0.85rem 0; padding: 0.7rem 0.8rem; border-radius: 0.38rem; background: #edf1eb; color: #425449; font-size: 0.82rem; }
.form-status:empty { display: none; }
.form-status[data-kind="error"] { background: #fbeeee; color: #902626; }
.form-status[data-kind="success"] { background: #dceee2; color: #155d43; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 1rem; }
.form-actions .button { gap: 1rem; cursor: pointer; }
.form-actions .button:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.form-retry { min-height: 2.75rem; border: 0; background: transparent; color: var(--green-dark); cursor: pointer; font: inherit; font-size: 0.84rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.cta-section { scroll-margin-top: 1.5rem; }

.site-footer { width: min(calc(100% - 3rem), var(--max-width)); margin: 0 auto; padding: 1.75rem 0 2.25rem; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.site-footer p { margin: 0; }
.site-footer > a:last-child { color: var(--green-dark); font-weight: 700; text-underline-offset: 0.22rem; }
.wordmark--footer { font-size: 1.05rem; }
.wordmark--footer .wordmark-mark { width: 1.25rem; height: 1.25rem; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { max-width: 43rem; }
  .improvement-card { max-width: 38rem; }
  .build-list, .process-list { grid-template-columns: 1fr; }
  .build-card { min-height: auto; }
  .build-card h3 { margin-top: 1.15rem; }
  .section-heading--split, .custom-section { grid-template-columns: 1fr; }
  .section-heading--split { gap: 1rem; }
  .custom-media { max-width: 40rem; }
  .process-list { gap: 1.4rem; }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .site-header { width: min(calc(100% - 2rem), var(--max-width)); min-height: 4.8rem; gap: 0.8rem; }
  .site-nav { display: none; }
  .site-header .button { margin-left: auto; }
  .button--small { min-height: 2.45rem; padding: 0.5rem 0.65rem; font-size: 0.73rem; }
  .wordmark { font-size: 1.08rem; }
  .wordmark-mark { width: 1.25rem; height: 1.25rem; }
  .section, .site-footer { width: min(calc(100% - 2rem), var(--max-width)); }
  .hero { padding: 3.75rem 0 5.6rem; }
  h1 { font-size: clamp(2.68rem, 13vw, 3.8rem); }
  .improvement-card__topline, .improvement-card__body, .improvement-card__footer { padding-left: 1.1rem; padding-right: 1.1rem; }
  .improvement-card__footer { grid-template-columns: 1fr; gap: 0.38rem; }
  .site-footer { grid-template-columns: 1fr; gap: 0.65rem; }
  .cta-panel { padding: 1.3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
