@font-face {
  font-family: HelveticaNeue;
  font-display: swap;
  src: url("../assets/fonts/HelveticaNeue-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: HelveticaNeue;
  font-display: swap;
  src: url("../assets/fonts/HelveticaNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: HelveticaNeue;
  font-display: swap;
  src: url("../assets/fonts/HelveticaNeue-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: HelveticaNeue;
  font-display: swap;
  src: url("../assets/fonts/HelveticaNeue-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: IBMPlexMono;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: IBMPlexMono;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

:root {
  --green: #559853;
  --black: #111;
  --white: #fff;
  --gray: #f7f7f7;
  --line: #e8e8e8;
  --muted: #666;
  --radius: 20px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
}

body {
  font-family: HelveticaNeue, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.32px;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open,
body:has(.overlay.is-open) { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
a, button { -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-family: IBMPlexMono, ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

h1, h2, h3 {
  font-family: IBMPlexMono, ui-monospace, monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover { background: #478046; }

.btn-ghost {
  box-shadow: inset 0 0 0 1px #ccc;
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--black);
}

.btn-full { width: 100%; }
.btn-lg { min-height: 52px; padding-inline: 28px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  padding-top: env(safe-area-inset-top, 0px);
}

.header.is-scrolled { border-bottom: 1px solid var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  min-height: 80px;
  gap: 24px;
}

.logo img { width: 140px; }

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  margin-right: 20px;
}

.nav a { font-size: 15px; }
.nav a:hover { color: var(--green); }
.nav__phone,
.nav__cta { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone { font-weight: 500; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #ccc;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--white);
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--black);
  transition: 0.2s ease;
}

.menu-open .burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-open .burger span:nth-child(2) { opacity: 0; }

.menu-open .burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero { padding: 36px 0 20px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.hero__copy .lead {
  margin: 18px 0 24px;
  max-width: 520px;
  font-size: 18px;
  color: #333;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.hero-stats b {
  display: block;
  font-family: IBMPlexMono, ui-monospace, monospace;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 2px;
}

.lead-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dcdcdc;
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(12px);
}

.lead-card h3 { margin-bottom: 8px; }

.muted {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 15px;
}

.form { display: grid; gap: 14px; }

.form-fields {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  display: block;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  padding: 14px 16px;
  outline: none;
  font-size: 16px;
}

.form textarea { min-height: 80px; resize: vertical; }

.form input:focus,
.form textarea:focus {
  box-shadow: inset 0 0 0 1px var(--green);
}

.form-note {
  font-size: 12px;
  color: #999;
}

.form-success { display: none; text-align: center; padding-top: 8px; }
.form.is-success .form-fields,
.form.is-success .btn { display: none; }
.form.is-success .form-success { display: block; }

.form-success h4 {
  font-family: IBMPlexMono, ui-monospace, monospace;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.trust { padding: 20px 0 64px; }

.trust__row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 10px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.mosaic img:first-child { grid-row: span 2; }

.quote {
  background: var(--gray);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote p {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.quote b {
  margin-top: 24px;
  font-family: IBMPlexMono, ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.section { padding: 72px 0; }
.section-cream { background: var(--gray); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head .eyebrow { margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 17px; }

.pains,
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.pain,
.module {
  background: var(--gray);
  border-radius: 18px;
  padding: 22px;
}

.section-cream .pain,
.section-cream .module { background: var(--white); }

.pain h3,
.module h3 { margin-bottom: 8px; }

.pain p,
.module p { color: var(--muted); font-size: 15px; }

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  background: var(--gray);
  border-radius: 18px;
  padding: 22px;
}

.step h3 { margin-bottom: 10px; }

.cases {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.case {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 280px;
}

.case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__body {
  position: relative;
  z-index: 1;
  min-height: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.72));
}

.case small {
  font-family: IBMPlexMono, ui-monospace, monospace;
  font-size: 12px;
  opacity: 0.85;
}

.case h3 { font-size: 22px; margin: 6px 0; }

.cases-side { display: grid; gap: 12px; }
.cases-side .case,
.cases-side .case__body { min-height: 134px; }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.person { background: var(--white); border-radius: 18px; overflow: hidden; }

.person img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  background: #eee;
}

.person__body { padding: 16px; }
.person h3 { margin-bottom: 6px; }
.person p { font-size: 14px; color: var(--muted); }

.extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.extra {
  background: var(--gray);
  border-radius: 18px;
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.extra p { color: var(--muted); font-size: 15px; margin-top: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 20px;
}

.faq-item .plus {
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.faq-item .answer {
  display: none;
  padding: 0 40px 18px 0;
  color: var(--muted);
  max-width: 720px;
}

.faq-item.is-open .answer { display: block; }
.faq-item.is-open .plus { transform: rotate(45deg); }

.cta-final {
  background: var(--black);
  color: var(--white);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.cta-final .eyebrow,
.modal .eyebrow { color: #cde7cc; }
.cta-final .lead {
  margin: 14px 0 22px;
  color: #cfcfcf;
  max-width: 480px;
}

.cta-final .lead-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-final .form input,
.cta-final .form textarea,
.modal .form input,
.modal .form textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.cta-final .field span,
.modal .field span {
  color: rgba(255, 255, 255, 0.8);
}

.cta-final .form input::placeholder,
.cta-final .form textarea::placeholder,
.modal .form input::placeholder,
.modal .form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cta-final .muted,
.modal .muted { color: #bdbdbd; }

.footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 0 110px;
  margin-top: 64px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer .logo img { width: 150px; margin-bottom: 14px; }
.footer p, .footer a { font-size: 14px; color: #bbb; }
.footer a:hover { color: var(--white); }
.footer nav { display: grid; gap: 8px; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
}

.mobile-bar button {
  width: 100%;
  min-height: 48px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
}

.overlay.is-open { display: grid; }

.modal {
  width: min(100%, 420px);
  background: #111;
  color: var(--white);
  border-radius: 24px;
  padding: 24px;
  position: relative;
}

.modal h3 { padding-right: 36px; }

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .hero__grid,
  .trust__row,
  .section-head,
  .cases,
  .cta-final {
    grid-template-columns: 1fr;
  }

  .pains,
  .modules,
  .steps,
  .team,
  .extras {
    grid-template-columns: repeat(2, 1fr);
  }

  .header {
    z-index: 80;
    background: var(--white);
  }
  .header__inner { min-height: 64px; }
  .header__phone { display: none; }
  .header__actions {
    margin-left: auto;
    gap: 0;
  }
  .header__actions .btn { display: none; }

  html {
    scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .nav {
    display: none;
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    z-index: 55;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 20px;
    border-bottom: 1px solid var(--line);
  }

  .nav__phone,
  .nav__cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    border-bottom: 0;
    border-radius: 100px;
  }

  .nav__phone {
    box-shadow: inset 0 0 0 1px #ccc;
    font-size: 16px;
  }

  .nav__cta {
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
  }

  .nav__cta:hover { color: var(--white); }

  .menu-open .nav { display: flex; }
  .menu-open .mobile-bar,
  body:has(.overlay.is-open) .mobile-bar { display: none; }

  .burger { display: inline-flex; }

  .mobile-bar { display: flex; }
  .hero__cta .btn,
  .center-cta .btn { width: 100%; }
  .center-cta { display: block; }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 16px; }

  .logo img { width: 118px; }
  .hero { padding: 20px 0 8px; }
  .hero__copy .lead {
    margin: 14px 0 20px;
    font-size: 16px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    font-size: 12px;
  }

  .hero-stats b { font-size: 18px; }

  .lead-card { padding: 20px 16px; }

  .pains,
  .modules,
  .steps {
    grid-template-columns: 1fr;
  }

  .team,
  .extras {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 140px;
  }

  .mosaic img:first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .quote { padding: 22px 18px; }
  .quote p { font-size: 18px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; gap: 12px; }
  .section-head p { font-size: 15px; }

  .pain,
  .module,
  .step,
  .extra { padding: 18px; }

  .extra { min-height: 0; }

  .case,
  .case__body { min-height: 220px; }
  .cases-side .case,
  .cases-side .case__body { min-height: 180px; }
  .case h3 { font-size: 20px; }

  .person img { height: 200px; }
  .person__body { padding: 12px; }
  .person p { font-size: 13px; }

  .faq-item button {
    font-size: 16px;
    line-height: 1.3;
    padding: 16px 0;
    min-height: 52px;
    align-items: flex-start;
  }

  .faq-item .answer { padding-right: 0; }

  .cta-final { padding: 22px 16px; gap: 22px; border-radius: 20px; }
  .cta-final .lead { font-size: 15px; }
  .cta-final .btn { width: 100%; }

  .overlay { padding: 12px; align-items: end; }
  body:has(.overlay.is-open) .header { z-index: 1; }
  .modal {
    width: 100%;
    max-height: min(92dvh, 720px);
    overflow-y: auto;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding: 36px 0 calc(108px + env(safe-area-inset-bottom, 0px));
    margin-top: 40px;
  }

  .btn { white-space: normal; text-align: center; }
}

@media (max-width: 400px) {
  .container { width: min(100% - 24px, var(--container)); }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }

  .team,
  .extras { grid-template-columns: 1fr; }

  .person img { height: 240px; }

  .hero-stats { font-size: 11px; gap: 8px; }
  .hero-stats b { font-size: 16px; }

  .mobile-bar button { font-size: 15px; }
}
