:root {
  --ink: #221812;
  --muted: #6d5d52;
  --deep: #2b160d;
  --deep-2: #3b2419;
  --brown: #7a4b2d;
  --warm: #b07a4f;
  --sand: #e6d5bd;
  --cream: #fbf6ee;
  --off: #f4eadc;
  --panel: #fffaf3;
  --line: #e4d4bf;
  --shadow: 0 22px 70px rgba(43, 22, 13, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--deep);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(122, 75, 45, 0.18);
  background: rgba(251, 246, 238, 0.93);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 188px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 760;
}

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

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(43, 22, 13, 0.12);
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 104px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(circle at 86% 12%, rgba(176, 122, 79, 0.18), transparent 24rem),
    linear-gradient(135deg, #fffaf3 0%, #f4eadc 52%, #e8d5bd 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  right: -7%;
  top: 12%;
  width: min(620px, 78vw);
  height: 260px;
  border-top: 18px solid rgba(122, 75, 45, 0.1);
  border-bottom: 18px solid rgba(176, 122, 79, 0.12);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.hero::after {
  left: 45%;
  bottom: -120px;
  width: min(760px, 90vw);
  height: 220px;
  border-top: 14px solid rgba(43, 22, 13, 0.08);
  border-radius: 50%;
  transform: rotate(4deg);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.78fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brown);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.1vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 24px);
}

.hero-actions,
.cta-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 16px 38px rgba(43, 22, 13, 0.18);
}

.button.secondary {
  border: 1px solid rgba(43, 22, 13, 0.18);
  background: rgba(255, 250, 243, 0.66);
  color: var(--deep);
}

.trust-line {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(122, 75, 45, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px 20px auto auto;
  width: 118px;
  height: 34px;
  border-top: 5px solid rgba(176, 122, 79, 0.32);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.flow-head {
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
}

.flow-head span,
.control-list p,
.frustration-grid span,
.card-grid p,
.pricing-grid p,
.steps p,
.faq-list p,
.case-copy p,
.process-map span,
.contact-card,
.section-lead {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.flow-head span {
  color: var(--brown);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.flow-head strong {
  max-width: 280px;
  font-size: 25px;
  line-height: 1.16;
}

.hero-flow,
.process-map {
  display: grid;
  gap: 10px;
}

.hero-flow span,
.process-map span {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font-size: 14px;
  font-weight: 760;
}

.hero-flow span:not(:last-child)::after,
.process-map span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -11px;
  width: 1px;
  height: 10px;
  background: var(--warm);
}

.control-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.control-list p {
  margin-bottom: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section:nth-of-type(even) {
  background: var(--off);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.section-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
}

.frustration-grid,
.card-grid,
.pricing-grid,
.steps,
.case-grid {
  display: grid;
  gap: 14px;
}

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

.frustration-grid span,
.card-grid article,
.pricing-grid article,
.steps article,
.solution-panel,
.faq-list details,
.case-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.frustration-grid span {
  min-height: 64px;
  align-items: center;
  display: flex;
  padding: 14px 16px;
  color: var(--deep);
  font-weight: 760;
}

.solution-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(43, 22, 13, 0.98), rgba(75, 43, 25, 0.96));
  color: #fff;
  box-shadow: var(--shadow);
}

.solution-panel .section-kicker {
  color: var(--sand);
}

.solution-panel .section-lead {
  color: rgba(255, 250, 243, 0.78);
}

.mini-flow,
.proof-list {
  margin: 0;
}

.mini-flow {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.mini-flow li {
  padding-left: 6px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

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

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(220px, 0.72fr);
  gap: 22px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(43, 22, 13, 0.08);
}

.case-copy p {
  color: var(--muted);
}

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

.card-grid article,
.pricing-grid article,
.steps article {
  padding: 22px;
}

.card-grid p,
.pricing-grid p,
.steps p,
.faq-list p {
  color: var(--muted);
}

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

.steps span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(176, 122, 79, 0.15);
  color: var(--deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
}

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

.pricing-grid .featured {
  border-color: rgba(122, 75, 45, 0.45);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 14px;
  color: var(--deep);
  font-size: 28px;
  font-weight: 900;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 108px) 0;
  background: var(--deep);
  color: #fff;
}

.cta-section::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 28px;
  width: min(620px, 90vw);
  height: 170px;
  border-top: 14px solid rgba(230, 213, 189, 0.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.cta-content {
  max-width: 850px;
  flex-direction: column;
  align-items: flex-start;
}

.cta-content .section-kicker {
  color: var(--sand);
}

.cta-content h2 {
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255, 250, 243, 0.78);
  font-size: 20px;
}

.contact-card {
  padding: 22px;
  background: rgba(255, 250, 243, 0.08);
  color: #fff;
}

.contact-card a {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
}

.contact-card p {
  margin: 14px 0 0;
  color: rgba(255, 250, 243, 0.72);
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 34px 0;
  background: #1c100b;
  color: rgba(255, 250, 243, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand img {
  width: 176px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.site-footer p {
  margin-bottom: 4px;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero-layout,
  .split,
  .solution-panel,
  .case-grid,
  .case-card,
  .pricing-grid,
  .faq-list,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 540px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .nav {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    min-height: 82px;
    gap: 12px;
  }

  .brand img {
    width: min(152px, 43vw);
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero {
    padding: 48px 0 44px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .hero-lead,
  .section-lead {
    font-size: 18px;
  }

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

  .button {
    padding: 0 16px;
    text-align: center;
  }

  .frustration-grid,
  .card-grid,
  .pricing-grid,
  .steps,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .case-card,
  .hero-card {
    padding: 20px;
  }

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