:root {
  --ink: #10233f;
  --ink-soft: #40516a;
  --brand: #30803d;
  --brand-dark: #1f632c;
  --brand-light: #7bd48d;
  --brand-pale: #edf7ef;
  --orange: #ffb547;
  --paper: #fbfcfe;
  --white: #ffffff;
  --line: #dce5ef;
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
  --shadow-small: 0 12px 32px rgba(16, 35, 63, 0.09);
  --radius: 22px;
  --radius-small: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--brand);
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 239, 0.86);
  background: rgba(251, 252, 254, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 5px;
  background: currentColor;
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

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

.site-nav .nav-cta {
  padding: 10px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(48, 128, 61, 0.22);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 85% 18%, rgba(48, 128, 61, 0.17), transparent 30%),
    radial-gradient(circle at 4% 80%, rgba(48, 128, 61, 0.1), transparent 25%),
    linear-gradient(180deg, #f7fbf7 0%, #fbfcfe 100%);
}

.hero::before {
  position: absolute;
  inset: 22px auto auto calc(50% + 275px);
  width: 340px;
  height: 340px;
  border: 1px solid rgba(48, 128, 61, 0.16);
  border-radius: 50%;
  content: "";
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-pale);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.15rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--brand);
}

.lede {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(48, 128, 61, 0.2);
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button::after {
  content: "→";
}

.button:hover {
  color: var(--white);
  background: var(--brand-dark);
  box-shadow: 0 14px 30px rgba(48, 128, 61, 0.25);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.button.small {
  min-height: 44px;
  padding: 9px 17px;
  font-size: 0.88rem;
}

.button.no-arrow::after {
  content: none;
}

.microcopy {
  margin: 14px 0 0;
  color: #607087;
  font-size: 0.84rem;
}

.product-stage {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(48, 128, 61, 0.16);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(237,247,239,0.8));
  box-shadow: var(--shadow);
}

.product-stage::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: repeating-linear-gradient(45deg, rgba(48,128,61,0.17) 0 2px, transparent 2px 12px);
  content: "";
  z-index: -1;
}

.product-stage img {
  width: 100%;
  aspect-ratio: 1460 / 799;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  right: 18px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-small);
  font-size: 0.8rem;
  font-weight: 800;
}

.product-badge::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.trust-strip {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  align-items: center;
  gap: 20px;
}

.trust-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 750;
}

.trust-item::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-pale);
  content: "✓";
}

.section {
  padding: 100px 0;
}

.section.compact {
  padding: 72px 0;
}

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

.section.blue-wash {
  background: var(--brand-pale);
}

.section.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(48, 128, 61, 0.3), transparent 30%),
    var(--ink);
}

.dark .eyebrow {
  color: var(--brand-light);
}

.dark .eyebrow::before {
  background: var(--brand-light);
  box-shadow: 0 0 0 5px rgba(123, 212, 141, 0.16);
}

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

.section-head > div:first-child {
  max-width: 730px;
}

.section-head p,
.section-intro {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.dark .section-head p,
.dark .section-intro {
  color: #c8d5e6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(16,35,63,0.02);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.card:hover {
  border-color: #b8d8be;
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.card .number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 13px;
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: 0.78rem;
  font-weight: 850;
}

.card p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.card-link::after {
  content: "→";
}

.feature-layout,
.case-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.case-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-media {
  overflow: hidden;
  border-radius: 26px;
  background: var(--brand-pale);
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature-media.product img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 22px 10px 0;
}

.feature-copy > p {
  color: var(--ink-soft);
}

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

.check-list li {
  position: relative;
  padding-left: 36px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 0.75rem;
  font-weight: 900;
  content: "✓";
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workflow-step {
  padding: 30px;
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.workflow-step span {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow-step h3 {
  margin-top: 10px;
}

.workflow-step p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  align-items: center;
  gap: 40px;
  margin-top: 34px;
}

.logo-row img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.case-note {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
}

.case-note p {
  margin: 0;
  color: #d8e2ef;
}

.case-note + .case-note {
  margin-top: 16px;
}

.case-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.faq-list details {
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--brand);
  font-size: 1.4rem;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--ink-soft);
}

.cta-band {
  padding: 46px;
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(123,212,141,0.34), transparent 28%),
    linear-gradient(135deg, var(--brand-dark), var(--ink));
  box-shadow: var(--shadow);
}

.cta-band-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 36px;
}

.cta-band p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #d8e4f2;
}

.cta-band .cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.cta-band .button {
  color: var(--brand-dark);
  border-color: var(--white);
  background: var(--white);
}

.page-hero {
  padding: 86px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(48,128,61,0.15), transparent 25%),
    var(--brand-pale);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.page-hero .lede {
  max-width: 800px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 70px;
}

.prose h2 {
  margin-top: 54px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 34px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 22px;
}

.side-panel {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.side-panel p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.side-panel .button {
  width: 100%;
}

.solution-nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.solution-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
}

.solution-nav a:hover,
.solution-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-pale);
}

.use-case-image {
  overflow: hidden;
  margin: 36px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.use-case-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.contact-layout {
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
}

.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

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

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bdcad8;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 1.6em;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-details {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.contact-detail {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  padding: 70px 0 28px;
  color: #d9e3f0;
  background: #09182c;
}

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

.site-footer .brand img {
  filter: brightness(0) invert(1);
}

.footer-about {
  max-width: 380px;
  margin-top: 18px;
  color: #aebdd0;
  font-size: 0.9rem;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-links a {
  color: #b9c7d8;
  font-size: 0.88rem;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #8fa1b8;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 22px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-small);
  }

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

  .site-nav .nav-cta {
    justify-self: start;
  }

  .hero-grid,
  .feature-layout,
  .case-layout,
  .contact-layout,
  .two-column,
  .cta-band-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 52px;
  }

  .product-stage {
    max-width: 720px;
  }

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

  .trust-grid p {
    grid-column: 1 / -1;
  }

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

  .side-panel {
    position: static;
  }

  .cta-band .cta-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

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

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

  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 54px 0;
  }

  .hero-grid {
    display: block;
  }

  .product-stage {
    margin-top: 46px;
    padding: 10px;
    border-radius: 22px;
  }

  .product-badge {
    display: none;
  }

  .trust-grid,
  .card-grid,
  .workflow,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .button {
    margin-top: 24px;
  }

  .feature-layout,
  .case-layout,
  .contact-layout {
    gap: 38px;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .cta-band {
    padding: 30px 24px;
  }

  .field.full {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
