:root {
  --black: #070807;
  --ink: #151713;
  --muted: #626b61;
  --soft: #f6f5ef;
  --paper: #fffefa;
  --line: #e5e3da;
  --green: #3b6f44;
  --green-soft: #dfeedd;
  --lime: #a6c96a;
  --shadow: 0 24px 70px rgba(24, 28, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 0%, rgba(166, 201, 106, 0.18), transparent 32rem),
    linear-gradient(180deg, #fbfaf5 0%, #f4f3ec 48%, #fffefa 100%);
  line-height: 1.5;
}

#root {
  min-height: 100vh;
}

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

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1140px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(21, 23, 19, 0.09);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(24, 28, 22, 0.08);
}

.brand,
.nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fffefa;
  background: var(--black);
  font-size: 0.76rem;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a,
.header-cta,
.button,
summary {
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav a:hover,
summary:hover {
  color: var(--green);
}

.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(59, 111, 68, 0.22);
  border-radius: 8px;
  color: var(--green);
  background: rgba(223, 238, 221, 0.62);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 48px;
  align-items: center;
  width: min(1140px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 78px 0 72px;
}

.ambient-glow {
  position: absolute;
  top: 6%;
  right: -9%;
  z-index: -1;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 254, 250, 0.9), transparent 13%),
    radial-gradient(circle at 52% 48%, rgba(166, 201, 106, 0.34), transparent 36%),
    radial-gradient(circle at 62% 54%, rgba(59, 111, 68, 0.18), transparent 48%);
  filter: blur(18px);
  opacity: 0.82;
  transform: translate3d(0, 0, 0);
  animation: ambient-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-copy {
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-text {
  max-width: 710px;
  margin-bottom: 0;
  color: #3d433c;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.headline-line {
  display: block;
  will-change: transform, opacity;
}

.motion-ready .headline-line,
.motion-ready .hero-reveal,
.motion-ready .cta-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.motion-ready .headline-line {
  animation: calm-rise 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-ready .headline-line:nth-child(1) {
  animation-delay: 120ms;
}

.motion-ready .headline-line:nth-child(2) {
  animation-delay: 240ms;
}

.motion-ready .headline-line:nth-child(3) {
  animation-delay: 360ms;
}

.motion-ready .hero-reveal {
  animation: calm-rise 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-ready .hero-reveal:nth-of-type(1) {
  animation-delay: 40ms;
}

.motion-ready .hero-text {
  animation-delay: 540ms;
}

.motion-ready .workflow-visual {
  animation-delay: 380ms;
}

.motion-ready .microcopy {
  animation-delay: 920ms;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 14px;
}

.hero-actions > span {
  display: inline-flex;
}

.motion-ready .cta-reveal {
  animation: calm-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-ready .cta-reveal:nth-child(1) {
  animation-delay: 700ms;
}

.motion-ready .cta-reveal:nth-child(2) {
  animation-delay: 790ms;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  will-change: transform;
}

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

.primary {
  color: #fffefa;
  background: var(--black);
  box-shadow: 0 18px 40px rgba(7, 8, 7, 0.16);
}

.primary:hover {
  background: #172018;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 254, 250, 0.72);
}

.secondary:hover {
  border-color: rgba(59, 111, 68, 0.28);
  background: rgba(255, 254, 250, 0.94);
}

.motion-ready .motion-button {
  transition:
    transform 220ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.motion-ready .motion-button:hover {
  transform: translate3d(0, -2px, 0) scale(1.015);
}

.motion-ready .motion-button:active {
  transform: translate3d(0, 0, 0) scale(0.99);
}

.microcopy {
  color: var(--muted);
  font-size: 0.95rem;
}

.workflow-visual {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid rgba(21, 23, 19, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 254, 250, 0.94), rgba(246, 245, 239, 0.74)),
    var(--paper);
  box-shadow: var(--shadow);
}

@keyframes ambient-drift {
  0% {
    opacity: 0.66;
    transform: translate3d(-10px, 6px, 0) scale(0.96);
  }

  100% {
    opacity: 0.9;
    transform: translate3d(16px, -10px, 0) scale(1.04);
  }
}

@keyframes calm-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.motion-ready .reveal-card {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.workflow-heading,
.workflow-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.workflow-heading {
  margin-bottom: 10px;
}

.workflow-heading span {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-row {
  position: relative;
  margin-top: 10px;
}

.workflow-row::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% - 8px);
  width: 16px;
  height: 1px;
  background: var(--green);
}

.workflow-row div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.82);
}

.workflow-row div:nth-child(2) {
  border-color: rgba(59, 111, 68, 0.2);
  background: linear-gradient(180deg, #f4fbf1, #fffefa);
}

.workflow-row p {
  margin-bottom: 0;
  color: #343a33;
  font-weight: 650;
}

.trust-section,
.section,
.about-section {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.trust-section {
  padding: 44px 0 86px;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading p:not(.eyebrow),
.service-card p,
.process-grid p,
.about-copy p,
.faq-list p,
.final-cta p,
.site-footer,
.case-content p {
  color: var(--muted);
}

.trust-grid,
.service-grid,
.process-grid,
.industry-grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

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

.trust-grid article,
.service-card,
.process-grid article,
.faq-list details,
.industry-grid article,
.pain-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.78);
  box-shadow: 0 16px 46px rgba(24, 28, 22, 0.07);
}

.trust-grid article {
  padding: 24px;
}

.trust-grid span,
.service-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-weight: 800;
}

.pain-section {
  padding-top: 30px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.pain-grid article {
  display: flex;
  align-items: flex-end;
  min-height: 148px;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
}

.service-card {
  min-height: 292px;
  padding: 24px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 82px 0;
}

.founder-image {
  display: grid;
  place-items: end start;
  min-height: 480px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 8, 7, 0), rgba(7, 8, 7, 0.48)),
    linear-gradient(135deg, #dfeedd, #f8f5ea 48%, #c5d7bd);
  box-shadow: var(--shadow);
}

.founder-image span {
  padding: 8px 10px;
  border-radius: 8px;
  color: #fffefa;
  background: rgba(7, 8, 7, 0.58);
  font-size: 0.88rem;
  font-weight: 750;
}

.about-copy {
  max-width: 680px;
}

.about-copy p {
  font-size: 1.06rem;
}

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

.process-grid article {
  min-height: 190px;
  padding: 22px;
}

.process-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
}

.proof-section {
  padding-top: 62px;
}

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

.industry-grid article {
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-weight: 800;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 8px;
  color: #fffefa;
  background:
    radial-gradient(circle at 82% 8%, rgba(166, 201, 106, 0.24), transparent 18rem),
    linear-gradient(135deg, #151713, #070807);
  box-shadow: var(--shadow);
}

.case-content h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.case-content p:not(.eyebrow) {
  color: #d4d8cf;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.case-stats div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.case-stats strong {
  font-size: 2.15rem;
}

.case-stats span {
  color: #d4d8cf;
}

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

.faq-list details {
  padding: 21px 22px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

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

.final-cta {
  width: min(980px, calc(100% - 32px));
  margin: 32px auto 86px;
  padding: 62px 34px;
  border-radius: 8px;
  text-align: center;
  color: #fffefa;
  background:
    radial-gradient(circle at 76% 0%, rgba(166, 201, 106, 0.26), transparent 22rem),
    linear-gradient(135deg, #151713, #070807);
  box-shadow: var(--shadow);
}

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

.final-cta h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta p {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  color: #d4d8cf;
}

.final-cta .button {
  margin-top: 18px;
  color: var(--black);
  background: #fffefa;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .about-section,
  .case-study {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .workflow-visual {
    max-width: 680px;
  }

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

  .trust-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .founder-image {
    min-height: 360px;
  }
}

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

  .nav {
    display: none;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding: 58px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.7rem);
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions > span {
    width: 100%;
  }

  .ambient-glow {
    top: 2%;
    right: -42%;
    width: 118vw;
    opacity: 0.58;
    filter: blur(24px);
  }

  .workflow-heading,
  .workflow-row,
  .pain-grid,
  .industry-grid,
  .process-grid,
  .case-stats {
    grid-template-columns: 1fr;
  }

  .workflow-row::after {
    top: calc(50% - 5px);
    left: 20px;
    width: 1px;
    height: 10px;
  }

  .workflow-row div {
    min-height: auto;
  }

  .section {
    padding: 70px 0;
  }

  .trust-section {
    padding-bottom: 62px;
  }

  .pain-grid article,
  .industry-grid article {
    min-height: 112px;
  }

  .about-section {
    padding: 66px 0;
    gap: 26px;
  }

  .founder-image {
    min-height: 310px;
  }

  .case-study,
  .final-cta {
    padding: 26px 18px;
  }

  .case-stats div {
    min-height: 136px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .ambient-glow {
    animation: none;
  }
}
