:root {
  --bg: #f4f2e8;
  --surface: #fffcf6;
  --surface-2: #f5faf4;
  --surface-strong: #fffdf7;
  --text: #1f2b23;
  --muted: #66756d;
  --line: rgba(31, 43, 35, 0.1);
  --line-strong: rgba(31, 43, 35, 0.18);
  --primary: #2f6f52;
  --primary-strong: #204f3f;
  --primary-soft: #ddf0e5;
  --secondary: #c38f2f;
  --secondary-soft: #fff1cf;
  --accent: #366c9d;
  --accent-soft: #dcebf8;
  --danger: #b55343;
  --danger-soft: #f7e0d8;
  --success: #3d7d52;
  --success-soft: #ddefde;
  --orange: #ff8400;
  --soil: #7b4818;
  --white: #ffffff;
  --shadow-sm: 0 10px 24px rgba(52, 43, 21, 0.08);
  --shadow-lg: 0 22px 54px rgba(62, 50, 26, 0.16);
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(221, 240, 229, 0.9), transparent 30%),
    linear-gradient(180deg, var(--bg), #fffdf7 52%, var(--bg));
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--primary-strong);
  border-radius: 999px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px rgba(31, 43, 35, 0.1);
}

.nav {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
}

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

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
}

.mobile-menu-action {
  display: none !important;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: rgba(47, 111, 82, 0.1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--primary-strong);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.button,
.nav-cta,
.nav-login {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 19px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.nav-login:hover,
.nav-login:focus-visible {
  transform: translateY(-1px);
}

.button-primary,
.nav-cta {
  color: var(--white);
  background: linear-gradient(145deg, var(--primary-strong), var(--primary));
  box-shadow: 0 14px 28px rgba(47, 111, 82, 0.24);
}

.nav-login {
  color: var(--primary);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 82, 0.2);
}

.button-soft {
  color: var(--primary);
  background: var(--primary-soft);
}

.button-outline {
  color: var(--primary);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 82, 0.2);
}

.hero {
  position: relative;
  padding: 84px 0 74px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -170px;
  top: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 132, 0, 0.18), transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--primary);
  background: rgba(47, 111, 82, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  justify-items: center;
}

.phone-shell {
  width: min(100%, 390px);
  padding: 16px;
  border-radius: 38px;
  background: #16261d;
  box-shadow: var(--shadow-lg);
}

.phone-bar {
  width: 86px;
  height: 6px;
  margin: 6px auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-card,
.field-card,
.chat-preview,
.metric-strip > div {
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

.app-hero-card {
  min-height: 222px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  color: #f9fff8;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.36), transparent 36%),
    linear-gradient(145deg, var(--primary), #699840);
  box-shadow: none;
}

.app-hero-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.app-hero-card p {
  margin-bottom: 0;
  color: rgba(249, 255, 248, 0.82);
}

.micro {
  margin-bottom: 8px !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.yellow {
  color: #7a5707;
  background: var(--secondary-soft);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0;
}

.metric-strip > div {
  padding: 14px;
}

.metric-strip small,
.chat-preview span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-strip strong {
  display: block;
  color: var(--primary-strong);
  font-size: 24px;
}

.field-card,
.chat-preview {
  padding: 16px;
}

.field-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.field-card p,
.chat-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
}

.dot.yellow {
  background: var(--secondary);
}

.chat-preview {
  margin-top: 12px;
  background: var(--secondary-soft);
}

.section {
  padding: 86px 0;
}

.decision-band {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 132, 0, 0.26), transparent 34%),
    linear-gradient(145deg, var(--primary-strong), var(--primary));
}

.decision-band .eyebrow,
.decision-band p {
  color: rgba(255, 255, 255, 0.76);
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.decision-list {
  display: grid;
  gap: 14px;
}

.decision-list article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.decision-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--secondary-soft);
  font-weight: 800;
}

.product-proof {
  background: var(--surface-strong);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--primary-soft);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-copy p,
.module-grid p,
.workflow-row p,
.price-card p,
.contact-panel p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.section-heading {
  margin-bottom: 40px;
}

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

.module-grid article,
.workflow-row article,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 246, 0.88);
  box-shadow: var(--shadow-sm);
}

.module-grid article {
  min-height: 218px;
  padding: 24px;
}

.module-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--white);
}

.module-icon svg {
  width: 23px;
  height: 23px;
}

.module-icon path,
.module-icon circle,
.module-icon rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-icon.green {
  background: linear-gradient(145deg, var(--primary), #7ba23f);
}

.module-icon.gold {
  background: linear-gradient(145deg, var(--secondary), var(--orange));
}

.module-icon.blue {
  background: linear-gradient(145deg, var(--accent), #70a4cf);
}

.module-icon.red {
  background: linear-gradient(145deg, var(--danger), #d68a6c);
}

.workflow {
  background: var(--surface-2);
}

.workflow-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-row article {
  padding: 24px;
}

.workflow-row strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
}

.plans {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card.highlighted {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 132, 0, 0.32), transparent 36%),
    linear-gradient(145deg, var(--primary-strong), var(--primary));
  border-color: transparent;
  transform: translateY(-10px);
}

.price-card.highlighted p,
.price-card.highlighted li {
  color: rgba(255, 255, 255, 0.76);
}

.plan-name {
  margin-bottom: 10px;
  font-weight: 800;
}

.plan-badge {
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #7a5707 !important;
  background: var(--secondary-soft);
  font-size: 12px;
  font-weight: 800;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 34px;
}

.price-card h3 span {
  color: inherit;
  opacity: 0.72;
  font-size: 15px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: var(--muted);
}

.price-card .button {
  margin-top: auto;
}

.contact {
  background: var(--primary-strong);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 440px);
  gap: 44px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 132, 0, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(47, 111, 82, 0.94), rgba(32, 79, 63, 0.98));
  box-shadow: var(--shadow-lg);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, 0.74);
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 0 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.footer {
  padding: 28px 0;
  background: var(--primary-strong);
  color: rgba(255, 255, 255, 0.7);
}

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

.footer img {
  width: 112px;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.footer p {
  margin: 0;
  font-size: 14px;
}

:focus-visible {
  outline: 3px solid rgba(54, 108, 157, 0.42);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open .mobile-menu-action {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 4px;
    color: var(--primary);
    background: var(--primary-soft);
  }

  .nav-links.is-open .mobile-menu-demo {
    color: var(--white);
    background: linear-gradient(145deg, var(--primary-strong), var(--primary));
  }

  .hero-grid,
  .decision-grid,
  .proof-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .pricing-grid,
  .workflow-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 112px;
  }

  .hero {
    padding: 54px 0 58px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .section {
    padding: 66px 0;
  }

  .module-grid,
  .pricing-grid,
  .workflow-row {
    grid-template-columns: 1fr;
  }

  .price-card.highlighted {
    transform: none;
  }

  .contact-panel {
    padding: 24px;
  }

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

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