:root {
  --ink: #17312d;
  --muted: #5b6b67;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe5df;
  --green: #2f5b52;
  --green-strong: #17312d;
  --red: #b4051c;
  --red-strong: #8f0015;
  --red-soft: #fde9e9;
  --mint: #eef5ef;
  --gold: #c99035;
  --coral: #dd725f;
  --shadow: 0 18px 45px rgba(28, 52, 48, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(253, 233, 233, 0.68), rgba(251, 250, 246, 0) 520px),
    var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 49, 45, 0.1);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 230px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a,
.header-cta,
.btn {
  text-decoration: none;
}

.nav a:hover {
  color: var(--red);
}

.header-cta,
.btn,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
}

.header-cta {
  padding: 0 16px;
  background: var(--red);
  color: white;
  box-shadow: 0 10px 24px rgba(180, 5, 28, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

main {
  overflow: hidden;
}

.hero,
.section-band,
.services,
.ai-section,
.faq,
.final-cta {
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 54px;
  padding-bottom: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.23rem;
  line-height: 1.2;
}

.hero-text,
.section-intro,
.ai-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 0;
}

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

.btn {
  padding: 0 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 16px 30px rgba(180, 5, 28, 0.22);
}

.btn.primary:hover,
.header-cta:hover {
  background: var(--red-strong);
}

.btn.secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 0;
}

.hero-metrics div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(31, 92, 79, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.hero-metrics dt {
  font-weight: 900;
  color: var(--red);
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-strong);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 59, 53, 0.02), rgba(21, 59, 53, 0.72));
}

.insight-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(330px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.insight-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-panel strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
}

.section-band {
  padding-top: 86px;
  padding-bottom: 86px;
  background: #fff0f0;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 34px;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.problem-grid article,
.service-card,
.timeline article,
.fit-grid p,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.problem-grid article {
  min-height: 236px;
  padding: 26px;
}

.problem-grid svg,
.service-icon svg,
.automation-board svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.problem-grid h3,
.service-card h3 {
  margin-top: 24px;
}

.problem-grid p,
.service-card p,
.timeline p,
.fit-grid p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.services,
.faq {
  padding-top: 92px;
  padding-bottom: 92px;
}

.service-card {
  min-height: 465px;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(28, 52, 48, 0.08);
}

.crm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.crm-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.crm-copy .btn {
  margin-top: 24px;
}

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

.crm-pipeline article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(31, 92, 79, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(28, 52, 48, 0.08);
}

.crm-pipeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-pipeline strong {
  display: block;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card.featured {
  border-color: rgba(180, 5, 28, 0.22);
  background: #fff7f7;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--red-soft);
}

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

.service-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.45;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

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

.timeline article {
  min-height: 270px;
  padding: 24px;
}

.timeline span {
  display: block;
  margin-bottom: 30px;
  color: var(--red);
  font-weight: 900;
}

.timeline h3 {
  margin-bottom: 12px;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.ai-copy p {
  max-width: 640px;
}

.automation-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-strong);
  box-shadow: var(--shadow);
}

.automation-board div {
  display: grid;
  gap: 18px;
  min-height: 172px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 900;
}

.automation-board svg {
  color: var(--red);
}

.proof .section-intro {
  max-width: 700px;
}

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

.fit-grid p {
  min-height: 144px;
  margin: 0;
  padding: 22px;
  font-weight: 700;
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  line-height: 1.4;
}

.faq p {
  margin-bottom: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-inline: clamp(18px, 5vw, 72px);
  margin-bottom: 42px;
  padding-top: 42px;
  padding-bottom: 42px;
  border-radius: var(--radius);
  background: var(--green-strong);
  color: white;
}

.final-cta .eyebrow {
  color: var(--mint);
}

.final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta .btn.primary {
  background: white;
  color: var(--green-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

svg {
  flex: 0 0 auto;
}

.btn svg,
.header-cta svg,
.menu-toggle svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1020px) {
  .hero,
  .ai-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 440px;
  }

  .problem-grid,
  .service-list,
  .timeline,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-cta {
    display: none;
  }
}

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

  .brand img {
    width: 156px;
    max-height: 42px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 65px 12px auto 12px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .nav a {
    min-height: 44px;
    padding: 12px;
    border-radius: var(--radius);
  }

  body.nav-open .nav {
    display: flex;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .hero-metrics,
  .problem-grid,
  .service-list,
  .timeline,
  .fit-grid,
  .crm-grid,
  .crm-pipeline,
  .automation-board,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline article,
  .problem-grid article {
    min-height: auto;
  }

  .final-cta {
    margin-inline: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .ai-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }
}
