:root {
  --bg: #f7f2e8;
  --bg-soft: #eef4ec;
  --surface: #fffdf7;
  --surface-strong: #ffffff;
  --ink: #10221c;
  --ink-2: #214c40;
  --muted: #5f7069;
  --line: rgba(16, 34, 28, 0.14);
  --line-strong: rgba(16, 34, 28, 0.24);
  --green: #0d6b57;
  --green-dark: #0a4f40;
  --mint: #8dd7b5;
  --gold: #f2b94b;
  --coral: #f26f4c;
  --cream: #fbf7ee;
  --shadow: 0 24px 70px rgba(16, 34, 28, 0.14);
  --radius: 8px;
  --radius-lg: 18px;
  --header-height: 76px;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(242, 111, 76, 0.65);
  outline-offset: 3px;
}

::selection {
  color: var(--surface);
  background: var(--green);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(247, 242, 232, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px rgba(16, 34, 28, 0.08);
  background: rgba(251, 247, 238, 0.94);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(16, 34, 28, 0.72);
  font-size: 15px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--ink);
  background: rgba(13, 107, 87, 0.1);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button--primary:hover {
  background: var(--green-dark);
}

.button--light {
  color: var(--ink);
  background: var(--surface);
}

.button--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.button--ghost {
  color: var(--ink);
  background: rgba(16, 34, 28, 0.06);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--coral);
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 74px;
  font-weight: 850;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 46px;
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 800;
}

h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 660px;
  font-size: 20px;
  line-height: 1.55;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--surface);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 34, 28, 0.98) 0%, rgba(16, 34, 28, 0.82) 37%, rgba(16, 34, 28, 0.24) 72%, rgba(16, 34, 28, 0.72) 100%),
    linear-gradient(0deg, rgba(16, 34, 28, 0.7) 0%, rgba(16, 34, 28, 0) 38%);
}

.hero__visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__content {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 0 104px;
}

.hero .eyebrow {
  color: #d5f1e3;
}

.hero p {
  color: rgba(255, 253, 247, 0.78);
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.hero__proof {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 253, 247, 0.16);
  background: rgba(16, 34, 28, 0.58);
  backdrop-filter: blur(12px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 86px;
  padding: 20px 26px;
  border-right: 1px solid rgba(255, 253, 247, 0.12);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--surface);
  font-size: 23px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
}

.section {
  padding: 104px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  color: var(--surface);
  background: var(--ink);
}

.section--dark p,
.section--dark .muted {
  color: rgba(255, 253, 247, 0.68);
}

.section-header {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 54px;
}

.section-header--single {
  display: block;
}

.section-header p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.visual-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
}

.dashboard-frame {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(221, 237, 227, 0.74));
  box-shadow: var(--shadow);
}

.dashboard-frame img {
  border-radius: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid,
.service-grid,
.case-grid,
.blog-grid,
.pricing-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature,
.service,
.case-card,
.blog-card,
.price-card,
.team-member,
.value-card,
.faq-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature,
.service,
.team-member,
.value-card,
.contact-card {
  padding: 26px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--mint);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.service {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.service ul,
.check-list,
.plain-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service li,
.check-list li,
.plain-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 26px;
  color: var(--muted);
}

.service li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--coral);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 253, 247, 0.14);
}

.process-step {
  min-height: 260px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 253, 247, 0.14);
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 850;
}

.testimonial {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius-lg);
  color: var(--surface);
  background: linear-gradient(135deg, #10221c, #214c40);
}

.testimonial blockquote {
  margin: 0;
  font-size: 34px;
  line-height: 1.22;
  font-weight: 760;
}

.testimonial p {
  color: rgba(255, 253, 247, 0.72);
}

.quote-meta {
  margin-top: 26px;
  color: rgba(255, 253, 247, 0.8);
}

.quote-meta strong {
  display: block;
  color: var(--surface);
}

.page-hero {
  padding: 92px 0 70px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(141, 215, 181, 0.36), transparent 28%),
    linear-gradient(135deg, var(--cream), var(--bg-soft));
}

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

.page-hero h1 {
  color: var(--ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--green-dark);
  font-weight: 760;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-band__item {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.metric-band__item:last-child {
  border-right: 0;
}

.metric-band__item strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.metric-band__item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.case-card,
.blog-card {
  overflow: hidden;
}

.case-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: var(--bg-soft);
}

.case-card__body,
.blog-card__body {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--green-dark);
  background: rgba(13, 107, 87, 0.1);
  font-size: 13px;
  font-weight: 750;
}

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

.filter-bar button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--surface);
  font-weight: 760;
}

.filter-bar button[aria-pressed="true"] {
  color: var(--surface);
  border-color: var(--ink);
  background: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 800;
}

.link-arrow::after {
  content: "->";
}

.price-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.price-toggle button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  font-weight: 760;
}

.price-toggle button[aria-pressed="true"] {
  color: var(--surface);
  background: var(--ink);
}

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

.price-card.is-featured {
  border-color: rgba(242, 111, 76, 0.55);
  box-shadow: var(--shadow);
}

.price-card .badge {
  position: absolute;
  top: 22px;
  right: 22px;
}

.price {
  margin: 22px 0;
}

.price strong {
  font-size: 46px;
  line-height: 1;
}

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

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

.badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

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

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 0 24px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 820;
}

.faq-question svg {
  width: 20px;
  min-width: 20px;
  transition: transform 160ms ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
}

.form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.field label {
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 107, 87, 0.12);
  outline: none;
}

.field .error {
  min-height: 20px;
  color: #a23b25;
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.stack-sm > * + * {
  margin-top: 16px;
}

.center-actions {
  justify-content: center;
}

[hidden] {
  display: none !important;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  align-items: start;
}

.article-content {
  font-size: 18px;
}

.article-content h2 {
  margin-top: 54px;
  font-size: 34px;
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-content img {
  margin: 34px 0;
  border-radius: var(--radius-lg);
}

.article-aside {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-aside a {
  display: block;
  padding: 10px 0;
  color: var(--green-dark);
  font-weight: 760;
}

.site-footer {
  padding: 70px 0 32px;
  color: rgba(255, 253, 247, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 50px;
}

.footer-grid h2,
.footer-grid h3,
.footer-grid h4 {
  color: var(--surface);
}

.footer-grid p {
  color: rgba(255, 253, 247, 0.68);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 253, 247, 0.72);
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 253, 247, 0.12);
  padding-top: 24px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.not-found {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 70px 0;
  text-align: center;
}

.not-found h1 {
  margin-inline: auto;
  font-size: 110px;
}

.not-found p {
  max-width: 560px;
  margin-inline: auto;
}

@media (max-width: 1020px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .section-header,
  .split,
  .split--reverse,
  .page-hero__grid,
  .contact-grid,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .proof-grid,
  .metric-band,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .service-grid,
  .case-grid,
  .blog-grid,
  .pricing-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-aside {
    position: static;
  }

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

@media (max-width: 780px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

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

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    min-height: 48px;
    justify-content: flex-start;
    border-radius: var(--radius);
    font-size: 16px;
  }

  .nav-actions .button {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 33px;
  }

  h3 {
    font-size: 22px;
  }

  .lead {
    font-size: 18px;
  }

  .hero,
  .hero__content {
    min-height: 760px;
  }

  .hero__content {
    justify-content: flex-start;
    padding: 70px 0 250px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(16, 34, 28, 0.98) 0%, rgba(16, 34, 28, 0.8) 58%, rgba(16, 34, 28, 0.34) 100%),
      linear-gradient(0deg, rgba(16, 34, 28, 0.9) 0%, transparent 36%);
  }

  .hero__visual {
    object-position: 63% center;
  }

  .proof-grid,
  .metric-band,
  .process,
  .feature-grid,
  .service-grid,
  .case-grid,
  .blog-grid,
  .pricing-grid,
  .team-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .metric-band__item,
  .process-step {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 34, 28, 0.12);
  }

  .hero__proof .proof-item {
    border-bottom-color: rgba(255, 253, 247, 0.12);
  }

  .proof-item:nth-child(n + 3) {
    display: none;
  }

  .section {
    padding: 74px 0;
  }

  .page-hero {
    padding: 62px 0 54px;
  }

  .testimonial {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .testimonial blockquote {
    font-size: 26px;
  }

  .form {
    padding: 22px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .not-found h1 {
    font-size: 80px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .hero__actions,
  .section-actions {
    align-items: stretch;
  }

  .brand {
    font-size: 18px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
