:root {
  --ink: #17201c;
  --muted: #58655e;
  --paper: #f7f6f1;
  --surface: #fffefa;
  --line: #d7ddd5;
  --green: #245842;
  --green-dark: #173d2d;
  --lime: #e6f056;
  --focus: #8a3ffc;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 0.14em;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(70rem, calc(100% - 2.5rem));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--ink);
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand span,
.text-green {
  color: var(--green);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
}
.nav-links a {
  text-decoration: none;
}
.nav-cta {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
}
.hero {
  padding-block: clamp(4rem, 10vw, 8.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.1em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 52rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 1.6rem;
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 42rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
}
.hero-aside {
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
  color: var(--muted);
}
.hero-aside strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--green);
  border-radius: 0.4rem;
  color: white;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
}
.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.button-secondary {
  color: var(--green);
  background: transparent;
}
.button-secondary:hover {
  color: white;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}
.section-head h2,
.section-head p {
  margin-bottom: 0;
}
.section-head p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.case {
  min-height: 23rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-featured {
  min-height: 21rem;
  grid-column: 1 / -1;
  color: white;
  background: var(--green);
}
.tag {
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.8;
}
.case h3 {
  margin-block: 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.75rem);
}
.case p {
  max-width: 43rem;
  color: var(--muted);
}
.case-featured p {
  color: #e0ece6;
}
.case-link {
  width: fit-content;
  margin-top: 1.75rem;
  font-weight: 800;
}
.steps,
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.step {
  padding-right: 1rem;
}
.number {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}
.step h3 {
  margin: 0.4rem 0;
  font-size: 1.35rem;
}
.step p,
.muted {
  color: var(--muted);
}
.offer {
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  background: var(--lime);
  border-radius: var(--radius);
}
.offer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 750;
}
.offer li {
  padding: 0.65rem 0;
  border-top: 1px solid #adb532;
}
.contact {
  padding-block: clamp(5rem, 11vw, 9rem);
}
.contact h2 {
  max-width: 56rem;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}
.mail {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--green);
  font-weight: 850;
  overflow-wrap: anywhere;
}
.contact-note {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--muted);
}
.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.page-hero h1 {
  max-width: 58rem;
}
.page-hero .lead {
  max-width: 49rem;
}
.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 750;
}
.prose {
  max-width: 48rem;
}
.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.prose h3 {
  margin-top: 2rem;
}
.prose li + li {
  margin-top: 0.5rem;
}
.notice {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border-left: 0.35rem solid var(--green);
  background: #e8efe9;
}
.fact {
  padding: 1.5rem;
  border-top: 2px solid var(--green);
  background: var(--surface);
}
.fact strong {
  display: block;
  margin-bottom: 0.35rem;
}

@media (max-width: 48rem) {
  .wrap {
    width: min(100% - 1.75rem, 70rem);
  }
  .nav {
    min-height: 4.5rem;
  }
  .nav-links li:not(:last-child) {
    display: none;
  }
  .hero,
  .section-head,
  .offer {
    grid-template-columns: 1fr;
  }
  .hero-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 0;
  }
  .work,
  .steps,
  .facts {
    grid-template-columns: 1fr;
  }
  .case-featured {
    grid-column: auto;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.brand,
.nav-cta {
  white-space: nowrap;
}
