:root {
  color-scheme: light;
  --ink: #17332f;
  --muted: #5f6f6b;
  --line: #dce5df;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #123d36;
  --green-soft: #dcece3;
  --gold: #c4923f;
  --blue: #336b87;
  --rose: #9b5f55;
  --shadow: 0 18px 60px rgba(18, 61, 54, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 244, 0.92);
  border-bottom: 1px solid rgba(220, 229, 223, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--green);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-cta,
.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--green);
  border-color: var(--line);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(18, 61, 54, 0.16);
}

.nav-toggle {
  display: none;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(34px, 5vw, 60px) clamp(18px, 4vw, 56px) 42px;
}

.hero-grid {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
}

h2 {
  font-size: clamp(31px, 4.2vw, 52px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero .lead {
  margin: 22px 0 0;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip span {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  font-weight: 750;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bot-preview {
  position: absolute;
  right: 18px;
  bottom: -24px;
  width: min(330px, 76%);
  padding: 18px;
  border: 1px solid rgba(220, 229, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 46px rgba(18, 61, 54, 0.16);
}

.bot-line {
  height: 12px;
  margin: 8px 0;
  border-radius: 999px;
  background: var(--green-soft);
}

.bot-line.short {
  width: 58%;
  background: rgba(196, 146, 63, 0.3);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card,
.tariff,
.step,
.legal-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  padding: 24px;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
}

.card p,
.step p,
.tariff p,
.legal-block p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: start;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 24px 24px 78px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
  font-weight: 800;
}

.demo-section {
  background: #edf3ef;
}

.demo-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.demo-card {
  display: grid;
  gap: 16px;
}

.demo-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-card-head span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
  font-weight: 850;
}

.phone-frame {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 560px;
  overflow: hidden;
  border: 10px solid #102823;
  border-radius: 34px;
  background: #f4f7f8;
  box-shadow: var(--shadow);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #102823;
  z-index: 2;
}

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 28px 18px 12px;
  background: #2d83b6;
  color: var(--white);
}

.phone-appbar span {
  font-size: 12px;
  opacity: 0.86;
}

.phone-chat {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 4px 14px 18px;
}

.phone-message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 5px 14px rgba(18, 61, 54, 0.08);
}

.phone-message.user {
  justify-self: end;
  background: #dbeeff;
}

.phone-message.menu,
.phone-message.status {
  width: 100%;
  max-width: 100%;
  border: 1px solid #c7dbe5;
  background: #ffffff;
  color: var(--blue);
  font-weight: 760;
  text-align: center;
}

.phone-message.status {
  color: var(--green);
  background: var(--green-soft);
}

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

.tariff {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
}

.tariff.featured {
  border-color: rgba(196, 146, 63, 0.55);
  box-shadow: var(--shadow);
}

.price {
  margin: 14px 0 4px;
  color: var(--green);
  font-size: 30px;
  font-weight: 850;
}

.free-setup {
  display: inline-flex;
  width: fit-content;
  margin: 12px 0;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.tariff ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.tariff li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold);
  font-weight: 900;
}

.tariff .button {
  margin-top: auto;
}

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

.trust-band h2,
.trust-band .lead,
.trust-band p {
  color: var(--white);
}

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

.trust-item {
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-section {
  background: var(--white);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--paper);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(51, 107, 135, 0.22);
  border-color: var(--blue);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-size: 14px;
  font-weight: 500;
}

.consent input {
  margin-top: 4px;
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 750;
}

.form-status.error {
  color: #9b2d2d;
}

.legal-block {
  padding: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(18px, 4vw, 56px);
  background: #eef2ea;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--green);
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.open .site-nav,
  .site-header.open .header-cta {
    display: flex;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-header.open .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .tariffs,
  .trust-grid,
  .demo-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-head,
  .site-footer {
    display: block;
  }

  .features-grid,
  .tariffs,
  .trust-grid,
  .demo-showcase,
  .proof-strip,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .bot-preview {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .site-footer nav {
    margin-top: 24px;
  }
}
