:root {
  --bg: #f6f3ea;
  --paper: #fffdf6;
  --paper-2: #fbf7ed;
  --ink: #18221e;
  --muted: #657169;
  --line: #d8d0bf;
  --line-strong: #b8aa91;
  --green: #184f43;
  --green-2: #2d6d5e;
  --clay: #b75f3b;
  --gold: #c9943a;
  --blue: #315d74;
  --cream: #fffaf0;
  --danger: #9b2c2c;
  --shadow: 0 22px 50px rgba(45, 38, 28, 0.12);
  --shadow-soft: 0 12px 32px rgba(45, 38, 28, 0.08);
  --radius: 8px;
  --container: 1160px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(24, 79, 67, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 79, 67, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  background: rgba(183, 95, 59, 0.28);
}

a {
  color: inherit;
}

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

.page-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(24, 34, 30, 0.018),
      rgba(24, 34, 30, 0.018) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: 0.75;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(216, 208, 191, 0.85);
  background: rgba(246, 243, 234, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 820;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.14);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  border-radius: var(--radius);
  padding: 0.5rem 0.72rem;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(24, 79, 67, 0.08);
  color: var(--green);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.4rem, 7vw, 6.8rem) 0 clamp(3rem, 6vw, 5.4rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(112deg, rgba(255, 253, 246, 0.95), rgba(250, 244, 230, 0.76)),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(24, 79, 67, 0.08) 74% 74.5%, transparent 74.5%),
    linear-gradient(180deg, rgba(183, 95, 59, 0.13), transparent 34%);
  pointer-events: none;
}

.hero-grid,
.split-layout,
.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.pilot-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(183, 95, 59, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.84);
  color: #7a3d24;
  padding: 0.38rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 850;
}

.pilot-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 5px rgba(183, 95, 59, 0.13);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.65rem, 6.7vw, 5.45rem);
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.22rem;
}

.hero-text,
.section-heading p,
.split-layout p,
.contact-layout p,
.cta-inner p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 670px;
  margin-bottom: 1.85rem;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.82rem 1.08rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(183, 95, 59, 0.28);
  outline-offset: 3px;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(24, 79, 67, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-2);
  box-shadow: 0 16px 34px rgba(24, 79, 67, 0.25);
}

.button.secondary {
  background: rgba(255, 253, 246, 0.84);
  border-color: var(--line);
  color: var(--green);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.button.light {
  background: var(--paper);
  color: var(--green);
}

.trust-line {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.market-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.market-strip span {
  border: 1px solid rgba(49, 93, 116, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.72);
  color: var(--blue);
  padding: 0.35rem 0.58rem;
  font-size: 0.82rem;
  font-weight: 820;
}

.hero-panel {
  width: 100%;
}

.workflow-card,
.process-panel,
.credentials,
.contact-form,
.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.9);
  box-shadow: var(--shadow);
}

.workflow-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.05rem, 3vw, 1.45rem);
}

.workflow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 43px, rgba(24, 79, 67, 0.07) 44px),
    linear-gradient(135deg, rgba(201, 148, 58, 0.16), transparent 38%);
  pointer-events: none;
}

.workflow-card > * {
  position: relative;
}

.workflow-header,
.workflow-footer,
.lead-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workflow-header {
  margin-bottom: 1.05rem;
  color: var(--green);
  font-weight: 850;
}

.workflow-header div {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.lead-summary {
  margin-bottom: 0.85rem;
  border: 1px solid rgba(24, 79, 67, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 0.9rem;
}

.lead-summary span,
.workflow-footer span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

.lead-summary strong,
.workflow-footer strong {
  color: var(--ink);
  text-align: right;
}

.workflow-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid rgba(24, 79, 67, 0.12);
}

.workflow-list strong,
.workflow-list li span:not(.icon) {
  display: block;
}

.workflow-list li span:not(.icon) {
  color: var(--muted);
  font-size: 0.95rem;
}

.workflow-footer {
  margin-top: 0.2rem;
  border-top: 1px solid rgba(24, 79, 67, 0.18);
  padding-top: 1rem;
}

.icon,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 50%;
  background: #edf0e6;
  color: var(--green);
  font-weight: 900;
}

.icon {
  width: 38px;
  height: 38px;
  line-height: 1;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.section {
  padding: clamp(3.25rem, 7vw, 6.5rem) 0;
}

.problem-section,
.about-section {
  background: var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading.wide {
  max-width: 900px;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

.mini-card,
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.92);
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.mini-card:hover,
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.mini-card {
  min-height: 152px;
  padding: 1.15rem;
}

.mini-card::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--clay), var(--gold));
  opacity: 0.75;
}

.mini-card h3 {
  max-width: 18rem;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.card-icon {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border: 1px solid rgba(24, 79, 67, 0.12);
  background: #edf0e6;
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.icon-call::before {
  width: 17px;
  height: 17px;
  border: 3px solid var(--green);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.icon-question::before {
  content: "?";
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 900;
}

.icon-calendar::before {
  width: 19px;
  height: 17px;
  border: 2px solid var(--green);
  border-top-width: 5px;
  border-radius: 3px;
}

.icon-sync::before,
.icon-sync::after {
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.icon-sync::after {
  transform: rotate(180deg);
}

.icon-folder::before {
  width: 20px;
  height: 15px;
  border: 2px solid var(--green);
  border-radius: 3px;
}

.icon-folder::after {
  left: 11px;
  top: 12px;
  width: 10px;
  height: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--green);
}

.icon-tools::before {
  width: 18px;
  height: 2px;
  background: var(--green);
  transform: rotate(45deg);
}

.icon-tools::after {
  width: 18px;
  height: 2px;
  background: var(--green);
  transform: rotate(-45deg);
}

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

.service-card {
  display: grid;
  align-content: start;
  min-height: 284px;
  padding: clamp(1.2rem, 3vw, 1.65rem);
}

.service-card p {
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.service-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-tag {
  width: fit-content;
  align-self: end;
  border: 1px solid rgba(49, 93, 116, 0.18);
  border-radius: 999px;
  background: rgba(49, 93, 116, 0.07);
  color: var(--blue);
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 850;
}

.pilot-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(24, 79, 67, 0.08) 1px, transparent 1px),
    var(--paper-2);
  background-size: 28px 28px;
}

.pilot-section .split-layout,
.about-section .split-layout {
  align-items: start;
}

.process-panel,
.credentials {
  padding: clamp(1.1rem, 3vw, 1.45rem);
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.check-list li {
  padding-left: 0.2rem;
}

.check-list li::marker {
  color: var(--green);
  font-size: 1rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.use-case-grid span {
  display: flex;
  align-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.94);
  padding: 0.85rem;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.25;
}

.use-case-grid span:nth-child(3n) {
  background: rgba(49, 93, 116, 0.08);
}

.use-case-grid span:nth-child(4n) {
  background: rgba(183, 95, 59, 0.08);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
  background: var(--green);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 12px
    );
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner > div {
  max-width: 760px;
}

.cta-inner .eyebrow,
.cta-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-inner h2 {
  margin-bottom: 0.85rem;
}

.cta-inner p {
  margin-bottom: 0;
}

.contact-section {
  background: var(--paper);
}

.contact-layout {
  align-items: start;
}

.contact-note {
  display: grid;
  gap: 0.2rem;
  max-width: 380px;
  margin-top: 1.5rem;
  padding: 1rem;
  box-shadow: none;
}

.contact-note a {
  color: var(--green);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.form-row {
  display: grid;
  gap: 0.42rem;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row.two-col > div {
  display: grid;
  gap: 0.42rem;
}

label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc4ad;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.82rem 0.9rem;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green-2);
  outline: 3px solid rgba(45, 109, 94, 0.18);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status.success {
  color: var(--green);
  font-weight: 800;
}

.form-status.error {
  color: var(--danger);
  font-weight: 800;
}

.site-footer {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--green);
  font-weight: 850;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-panel,
  .section-heading,
  .mini-card,
  .service-card,
  .process-panel,
  .credentials,
  .contact-form {
    animation: rise-in 620ms var(--ease) both;
  }

  .hero-panel {
    animation-delay: 120ms;
  }

  .mini-card:nth-child(2),
  .service-card:nth-child(2) {
    animation-delay: 80ms;
  }

  .mini-card:nth-child(3),
  .service-card:nth-child(3) {
    animation-delay: 140ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
  }

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

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

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

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.45rem 0.55rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .market-strip {
    display: none;
  }

  .problem-grid,
  .services-grid,
  .use-case-grid,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .mini-card,
  .service-card {
    min-height: auto;
  }

  .workflow-header,
  .workflow-footer,
  .lead-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .lead-summary strong,
  .workflow-footer strong {
    text-align: left;
  }

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