:root {
  --lf-ink: #171a19;
  --lf-graphite: #252a28;
  --lf-muted: #626864;
  --lf-paper: #f4f5f1;
  --lf-white: #ffffff;
  --lf-line: #d8dbd5;
  --lf-line-dark: #3f4642;
  --lf-gold: #b68a2d;
  --lf-gold-dark: #856319;
  --lf-gold-soft: #f1e7cc;
  --lf-green: #245b47;
  --lf-green-dark: #174031;
  --lf-green-soft: #dceae4;
  --lf-danger: #9d2f2f;
  --lf-success: #17653f;
  --lf-shadow: 0 16px 42px rgba(23, 26, 25, 0.12);
  --lf-radius: 6px;
  --lf-header-height: 76px;
  --lf-container: 1180px;
  --lf-reading: 760px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lf-header-height) + 24px);
}

body.leanflow-v2 {
  margin: 0;
  background: var(--lf-white);
  color: var(--lf-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--lf-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lf-green-dark);
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--lf-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  hyphens: none;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: 64px;
}

h2 {
  margin-bottom: 22px;
  font-size: 42px;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

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

.content-narrow {
  max-width: var(--lf-reading);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--lf-white);
  color: var(--lf-ink);
  transform: translateY(-160%);
}

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

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--lf-gold-dark);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow--light {
  color: #e4c675;
}

.lead {
  max-width: 760px;
  color: var(--lf-muted);
  font-size: 21px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--lf-green);
  border-radius: var(--lf-radius);
  background: var(--lf-green);
  color: var(--lf-white);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--lf-green-dark);
  background: var(--lf-green-dark);
  color: var(--lf-white);
  transform: translateY(-1px);
}

.button:disabled,
.button.is-loading {
  cursor: wait;
  opacity: 0.92;
  pointer-events: none;
  transform: none;
}

.button:disabled:hover,
.button.is-loading:hover {
  transform: none;
}

.button__spinner {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: lf-spin 0.7s linear infinite;
}

@keyframes lf-spin {
  to { transform: rotate(360deg); }
}

.button--gold {
  border-color: var(--lf-gold);
  background: var(--lf-gold);
  color: var(--lf-ink);
}

.button--gold:hover {
  border-color: #d3ac55;
  background: #d3ac55;
  color: var(--lf-ink);
}

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

.button--outline:hover {
  border-color: var(--lf-green);
  background: var(--lf-green-soft);
  color: var(--lf-green-dark);
}

.button--compact {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 720;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--lf-header-height);
  border-bottom: 1px solid rgba(216, 219, 213, 0.9);
  background: var(--lf-white);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-brand {
  display: block;
  flex: 0 0 auto;
}

.site-brand img {
  width: 184px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav__list,
.nav-dropdown__menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 25px;
}

.primary-nav__list > li > a,
.nav-dropdown__toggle {
  display: inline-flex;
  height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lf-graphite);
  font-size: 15px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.primary-nav__list > li > a:hover,
.primary-nav__list > li > a[aria-current="page"],
.nav-dropdown__toggle:hover,
.nav-dropdown__toggle[aria-expanded="true"] {
  color: var(--lf-green);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle .icon {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.nav-dropdown__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 9px);
  left: -18px;
  width: 260px;
  padding: 10px;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: var(--lf-white);
  box-shadow: var(--lf-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 4px;
  color: var(--lf-graphite);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}

.nav-dropdown__menu a:hover {
  background: var(--lf-paper);
  color: var(--lf-green);
}

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

.nav-toggle__lines {
  display: grid;
  width: 20px;
  gap: 4px;
}

.nav-toggle__lines span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-main {
  min-height: 60vh;
}

.home-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  height: calc(100svh - 112px);
  max-height: 780px;
  align-items: center;
  overflow: hidden;
  background-color: var(--lf-ink);
  background-image: url("../images/leanflow-workflow-hero.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--lf-white);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 16, 0.27);
  content: "";
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(620px, 56%);
  padding-block: 76px;
}

.home-hero h1 {
  color: var(--lf-white);
  text-wrap: balance;
}

.home-hero .eyebrow {
  color: #e3c36d;
}

.home-hero__lead {
  max-width: 590px;
  margin-bottom: 31px;
  color: #f0f2ef;
  font-size: 21px;
  line-height: 1.58;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.home-hero .button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(15, 17, 16, 0.18);
  color: var(--lf-white);
}

.home-hero .button--outline:hover {
  border-color: var(--lf-white);
  background: var(--lf-white);
  color: var(--lf-ink);
}

.home-hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  color: #e6e8e5;
  font-size: 14px;
}

.signal-strip {
  border-bottom: 1px solid var(--lf-line);
  background: var(--lf-white);
}

.signal-strip__inner {
  display: grid;
  min-height: 78px;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  align-items: stretch;
}

.signal-strip p,
.signal-strip a {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 15px 20px;
  border-right: 1px solid var(--lf-line);
  color: var(--lf-graphite);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
}

.signal-strip p {
  padding-left: 0;
  color: var(--lf-muted);
  font-weight: 560;
}

.signal-strip a:last-child {
  border-right: 0;
}

.signal-strip a:hover {
  color: var(--lf-green);
}

.section {
  padding-block: 96px;
}

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

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

.section--green {
  background: var(--lf-green-dark);
  color: #eff5f1;
}

.section--ink {
  background: var(--lf-ink);
  color: #eef0ed;
}

.section--green h2,
.section--green h3,
.section--ink h2,
.section--ink h3 {
  color: var(--lf-white);
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: center;
  gap: 64px;
}

.section-heading h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.section-heading p:last-child {
  color: var(--lf-muted);
  font-size: 18px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 88px;
  align-items: start;
}

.intro-grid__aside {
  padding-top: 8px;
}

.intro-grid__aside p {
  color: var(--lf-muted);
}

.pain-list {
  border-top: 1px solid var(--lf-line);
}

.pain-item {
  display: grid;
  min-height: 126px;
  padding-block: 28px;
  border-bottom: 1px solid var(--lf-line);
  grid-template-columns: 58px 1fr;
  gap: 20px;
}

.pain-item__number {
  color: var(--lf-gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
}

.pain-item h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.pain-item p {
  color: var(--lf-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: var(--lf-white);
}

.service-card__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  border: 1px solid #c5d8cf;
  border-radius: var(--lf-radius);
  background: var(--lf-green-soft);
  color: var(--lf-green-dark);
}

.service-card__icon .icon {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  font-size: 28px;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--lf-muted);
}

.service-card .text-link {
  margin-top: auto;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--lf-line-dark);
  border-bottom: 1px solid var(--lf-line-dark);
}

.workflow-step {
  position: relative;
  min-height: 250px;
  padding: 34px 24px 30px;
  border-right: 1px solid var(--lf-line-dark);
}

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

.workflow-step__marker {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border: 1px solid #668475;
  border-radius: 50%;
  color: #e4c675;
  font-weight: 760;
}

.workflow-step h3 {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 17px;
  font-weight: 740;
  line-height: 1.35;
}

.workflow-step p {
  color: #c8d0cb;
  font-size: 15px;
}

.demo-split,
.about-split,
.content-split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 76px;
}

.demo-media {
  position: relative;
  padding: 18px;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: #eef0ec;
}

.demo-media img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: var(--lf-white);
}

.demo-label {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 3px;
  background: var(--lf-ink);
  color: var(--lf-white);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
}

.feature-list,
.check-list,
.plain-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--lf-line);
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--lf-gold);
  border-radius: 50%;
  content: "";
}

.section--green .feature-list li,
.section--ink .feature-list li {
  border-color: var(--lf-line-dark);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--lf-line-dark);
}

.quality-item {
  min-height: 230px;
  padding: 34px 26px 26px 0;
  border-right: 1px solid var(--lf-line-dark);
}

.quality-item:not(:first-child) {
  padding-left: 26px;
}

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

.quality-item .icon {
  width: 25px;
  height: 25px;
  margin-bottom: 32px;
  color: #e4c675;
}

.quality-item h3 {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 17px;
  font-weight: 740;
}

.quality-item p {
  color: #c8d0cb;
  font-size: 15px;
}

.process-list {
  counter-reset: process;
  border-top: 1px solid var(--lf-line);
}

.process-item {
  counter-increment: process;
  display: grid;
  min-height: 150px;
  padding-block: 31px;
  border-bottom: 1px solid var(--lf-line);
  grid-template-columns: 80px 0.8fr 1.2fr;
  align-items: start;
  gap: 24px;
}

.process-item::before {
  color: var(--lf-gold-dark);
  content: "0" counter(process);
  font-size: 15px;
  font-weight: 760;
}

.process-item h3 {
  margin: 0;
  font-size: 24px;
}

.process-item p {
  color: var(--lf-muted);
}

.price-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.price-preview__figures {
  border-top: 1px solid var(--lf-line-dark);
}

.price-figure {
  display: grid;
  padding-block: 23px;
  border-bottom: 1px solid var(--lf-line-dark);
  grid-template-columns: 128px minmax(230px, 0.8fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 28px;
}

.price-figure strong {
  color: var(--lf-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.2;
}

.price-figure span {
  color: #c8d0cb;
  font-size: 14px;
}

.price-figure__prefix {
  font-weight: 680;
}

.price-figure__description {
  line-height: 1.5;
}

.price-preview__tax {
  margin-top: 16px;
  color: #c8d0cb;
  font-size: 13px;
  line-height: 1.5;
}

.about-split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

.about-split--profile .about-split__media {
  width: min(100%, 430px);
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 760px) 112px;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
}

.home-about__content {
  min-width: 0;
}

.home-about__avatar {
  width: 112px;
  justify-self: end;
}

.home-about__avatar img {
  display: block;
  width: 112px;
  height: 112px;
  border: 3px solid var(--lf-white);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 0 0 1px var(--lf-line);
}

.about-facts {
  display: grid;
  margin: 30px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--lf-line);
}

.about-facts div {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--lf-line);
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  margin-bottom: 3px;
  color: var(--lf-green-dark);
  font-size: 16px;
}

.about-facts span {
  color: var(--lf-muted);
  font-size: 14px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--lf-line);
}

.faq-list details {
  border-bottom: 1px solid var(--lf-line);
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--lf-ink);
  font-size: 18px;
  font-weight: 720;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 26px;
  right: 4px;
  color: var(--lf-green);
  content: "+";
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

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

.faq-list details > div {
  max-width: 760px;
  padding: 0 52px 25px 0;
  color: var(--lf-muted);
}

.page-hero {
  padding-block: 100px 82px;
  border-bottom: 1px solid var(--lf-line);
  background: var(--lf-paper);
}

.page-hero--compact {
  padding-block: 74px 62px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 72px;
}

.page-hero__grid > *,
.cta-band__inner > *,
.contact-grid > *,
.content-split > *,
.intro-grid > *,
.demo-split > *,
.about-split > *,
.price-preview > * {
  min-width: 0;
}

.page-hero h1 {
  font-size: 58px;
}

.page-hero__aside {
  padding-bottom: 8px;
  color: var(--lf-muted);
  font-size: 19px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.breadcrumb a {
  color: inherit;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--lf-line);
  border-left: 1px solid var(--lf-line);
}

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

.use-case {
  min-height: 220px;
  padding: 27px;
  border-right: 1px solid var(--lf-line);
  border-bottom: 1px solid var(--lf-line);
}

.use-case h3 {
  font-size: 23px;
}

.use-case p {
  color: var(--lf-muted);
  font-size: 16px;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--lf-line);
}

.scope-table th,
.scope-table td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--lf-line);
  text-align: left;
  vertical-align: top;
}

.scope-table th {
  color: var(--lf-muted);
  font-size: 14px;
  font-weight: 720;
}

.scope-table td:first-child {
  color: var(--lf-ink);
  font-weight: 720;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-item {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: var(--lf-paper);
}

.price-item__amount {
  margin: 22px 0 20px;
  color: var(--lf-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
}

.price-item__amount small {
  display: block;
  margin-top: 7px;
  color: var(--lf-muted);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 14px;
  font-weight: 560;
}

.price-item p {
  color: var(--lf-muted);
}

.price-item .text-link {
  margin-top: auto;
}

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

.contact-aside {
  position: sticky;
  top: calc(var(--lf-header-height) + 36px);
}

.contact-aside__facts {
  margin-top: 35px;
  border-top: 1px solid var(--lf-line);
}

.contact-aside__fact {
  padding-block: 19px;
  border-bottom: 1px solid var(--lf-line);
}

.contact-aside__fact strong,
.contact-aside__fact span {
  display: block;
}

.contact-aside__fact strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-aside__fact span {
  color: var(--lf-muted);
  font-size: 15px;
}

#kontakt-formular {
  scroll-margin-top: calc(var(--lf-header-height) + 24px);
}

.contact-form {
  position: relative;
  padding: 34px;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: var(--lf-white);
}

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

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

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

.form-field label,
.form-label {
  color: var(--lf-graphite);
  font-size: 15px;
  font-weight: 690;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #aeb4af;
  border-radius: 4px;
  background: var(--lf-white);
  color: var(--lf-ink);
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--lf-green);
  outline: 3px solid rgba(36, 91, 71, 0.17);
  outline-offset: 0;
}

.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--lf-muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--lf-green);
}

.form-aux {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.form-message {
  display: none;
  width: 100%;
  margin: 0;
  padding: 13px 15px;
  border-left: 4px solid currentColor;
  background: var(--lf-paper);
  font-size: 15px;
}

.form-message.is-visible {
  display: block;
}

.form-message:focus {
  outline: none;
}

.form-message--success {
  color: var(--lf-success);
}

.form-message--error {
  color: var(--lf-danger);
}

.prose {
  color: var(--lf-graphite);
}

.prose > * + * {
  margin-top: 1.2em;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
}

.prose li + li {
  margin-top: 0.5em;
}

.legal-prose h2 {
  font-size: 30px;
}

.legal-prose h3 {
  font-size: 23px;
}

.legal-note {
  padding: 13px 15px;
  border-left: 4px solid var(--lf-gold);
  background: var(--lf-paper);
}

.legal-table-wrap,
.content-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.legal-table-wrap:focus-visible,
.content-table-wrap:focus-visible {
  outline-offset: 5px;
}

.article-takeaway {
  margin-block: 34px;
  padding: 20px 22px;
  border-left: 4px solid var(--lf-gold);
  background: var(--lf-paper);
  color: var(--lf-graphite);
}

.article-takeaway strong {
  color: var(--lf-ink);
}

.resource-preview img {
  aspect-ratio: 1800 / 1248;
  object-fit: contain;
}

.post-summary {
  padding-block: 27px;
  border-bottom: 1px solid var(--lf-line);
}

.post-summary h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.post-summary h2 a {
  color: var(--lf-ink);
  text-decoration: none;
}

.cta-band {
  padding-block: 70px;
  background: var(--lf-ink);
  color: #dce1dd;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 76px;
}

.cta-band .button {
  justify-self: start;
}

.cta-band h2 {
  max-width: 22ch;
  margin-bottom: 13px;
  color: var(--lf-white);
  font-size: 38px;
}

.cta-band p:last-child {
  max-width: 670px;
}

.site-footer {
  border-top: 1px solid var(--lf-line);
  background: var(--lf-paper);
}

.site-footer__grid {
  display: grid;
  padding-block: 72px 56px;
  grid-template-columns: 1.5fr repeat(3, 0.75fr);
  gap: 56px;
}

.site-brand--footer img {
  width: 205px;
}

.site-footer__brand p {
  max-width: 390px;
  margin: 23px 0;
  color: var(--lf-muted);
  font-size: 15px;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 680;
}

.site-footer nav h2 {
  margin-bottom: 19px;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

.site-footer nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer nav li + li {
  margin-top: 10px;
}

.site-footer nav a {
  color: var(--lf-muted);
  font-size: 15px;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--lf-green);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--lf-line);
  color: var(--lf-muted);
  font-size: 13px;
}

.site-footer__bottom p {
  margin: 0;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lf-muted);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--lf-green);
  text-decoration: underline;
}

/* ==========================================================================
   Cookie bar + cookie page choice
   ========================================================================== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  display: none;
  max-height: 72vh;
  overflow-y: auto;
  border-top: 1px solid var(--lf-line-dark);
  background: var(--lf-ink);
  color: #dce1dd;
}

.cookie-bar.is-visible {
  display: block;
}

.cookie-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, auto);
  align-items: end;
  gap: 28px 48px;
  padding-block: 28px 30px;
}

.cookie-bar__copy .eyebrow {
  margin-bottom: 8px;
}

.cookie-bar h2 {
  max-width: none;
  margin-bottom: 10px;
  color: var(--lf-white);
  font-size: 28px;
}

.cookie-bar p {
  max-width: 62ch;
  margin: 0;
  color: #c5cbc6;
  font-size: 15px;
  line-height: 1.55;
}

.cookie-bar a,
.cookie-bar__text {
  color: #e4c675;
}

.cookie-bar a:hover,
.cookie-bar__text:hover {
  color: #f1e7cc;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-bottom: 4px;
}

.cookie-bar .button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: var(--lf-white);
}

.cookie-bar .button--outline:hover {
  border-color: var(--lf-white);
  background: var(--lf-white);
  color: var(--lf-ink);
}

.cookie-bar__text {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

.cookie-bar__panel {
  border-top: 1px solid var(--lf-line-dark);
  background: #1d211f;
}

.cookie-bar__panel-inner {
  display: grid;
  padding-block: 8px 24px;
}

.cookie-bar .cookie-option {
  border-color: var(--lf-line-dark);
}

.cookie-bar .cookie-option strong {
  color: var(--lf-white);
}

.cookie-bar .cookie-option span {
  color: #b7beb9;
}

.cookie-bar__panel-inner [data-cookie-action="save"] {
  justify-self: start;
  margin-top: 12px;
}

.cookie-choice {
  margin: 28px 0 8px;
  padding: 28px 30px;
  border: 1px solid var(--lf-line);
  border-left: 4px solid var(--lf-gold);
  background: var(--lf-paper);
}

.cookie-choice .eyebrow {
  margin-bottom: 8px;
}

.cookie-choice__status {
  margin-bottom: 22px;
  color: var(--lf-ink);
  font-size: 16px;
  font-weight: 680;
}

.cookie-choice__list {
  border-top: 1px solid var(--lf-line);
}

.cookie-choice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--lf-line);
}

.cookie-option strong {
  display: block;
  margin-bottom: 3px;
  color: var(--lf-ink);
  font-size: 15px;
}

.cookie-option span {
  color: var(--lf-muted);
  font-size: 14px;
}

.cookie-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.cookie-switch input:disabled {
  cursor: default;
}

.cookie-switch i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--lf-line-dark);
  transition: background-color 160ms ease;
  pointer-events: none;
}

.cookie-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lf-white);
  transition: transform 160ms ease;
}

.cookie-switch input:checked + i {
  background: var(--lf-gold);
}

.cookie-switch input:checked + i::after {
  transform: translateX(20px);
}

.cookie-switch input:disabled + i {
  background: var(--lf-line-dark);
  opacity: 0.7;
}

.status-page {
  display: flex;
  min-height: 68vh;
  align-items: center;
  padding-block: 80px;
  background: var(--lf-paper);
}

.status-page__code {
  margin-bottom: 12px;
  color: var(--lf-gold-dark);
  font-size: 15px;
  font-weight: 800;
}

.status-page h1 {
  font-size: 52px;
}

.status-page p:not(.status-page__code) {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--lf-muted);
  font-size: 19px;
}

@media (max-width: 1080px) {
  h1,
  .page-hero h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 37px;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav__list {
    gap: 17px;
  }

  .primary-nav__list > li > a,
  .nav-dropdown__toggle {
    font-size: 14px;
  }

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

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

  .quality-item:nth-child(2) {
    border-right: 0;
  }

  .quality-item:nth-child(odd) {
    padding-left: 0;
  }

  .quality-item:nth-child(n + 3) {
    border-top: 1px solid var(--lf-line-dark);
  }

  .price-preview {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 35px;
  }
}

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

  .container {
    width: min(calc(100% - 38px), var(--lf-container));
  }

  .site-brand img {
    width: 164px;
  }

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

  .primary-nav {
    position: fixed;
    top: var(--lf-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 18px 19px 34px;
    overflow-y: auto;
    background: var(--lf-white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav__list {
    display: block;
    border-top: 1px solid var(--lf-line);
  }

  .primary-nav__list > li {
    border-bottom: 1px solid var(--lf-line);
  }

  .primary-nav__list > li > a,
  .nav-dropdown__toggle {
    width: 100%;
    height: auto;
    min-height: 56px;
    justify-content: space-between;
    font-size: 17px;
  }

  .primary-nav > .button {
    width: 100%;
    margin-top: 22px;
  }

  .nav-dropdown__menu {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 12px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown__menu.is-open {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown__menu:not(.is-open),
  .nav-dropdown:focus-within .nav-dropdown__menu:not(.is-open) {
    display: none;
  }

  .nav-dropdown__menu a {
    padding: 11px 0;
  }

  .home-hero {
    min-height: 600px;
    height: calc(100svh - 96px);
    max-height: 740px;
    background-position: 62% center;
  }

  .home-hero::before {
    background: rgba(15, 17, 16, 0.48);
  }

  .home-hero__content {
    width: min(640px, 82%);
  }

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

  .signal-strip p {
    display: none;
  }

  .signal-strip a:first-of-type {
    padding-left: 0;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading,
  .intro-grid,
  .demo-split,
  .about-split,
  .content-split,
  .contact-grid,
  .page-hero__grid,
  .price-preview,
  .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section-heading {
    align-items: start;
  }

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

  .workflow-step {
    min-height: 220px;
    border-bottom: 1px solid var(--lf-line-dark);
  }

  .workflow-step:nth-child(2n) {
    border-right: 0;
  }

  .workflow-step:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .process-item {
    grid-template-columns: 56px 0.9fr 1.1fr;
  }

  .contact-aside {
    position: static;
  }

  .about-split--profile .about-split__media {
    width: min(100%, 360px);
    justify-self: center;
  }

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

  .cookie-bar__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 22px 24px;
  }

  .cookie-bar h2 {
    font-size: 24px;
  }

  .cookie-bar__actions {
    justify-content: flex-start;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.leanflow-v2 {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 30px), var(--lf-container));
  }

  h1,
  .page-hero h1,
  .status-page h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .service-card h3,
  .pain-item h3,
  .process-item h3,
  .use-case h3,
  .post-summary h2 {
    font-size: 21px;
  }

  .legal-prose h2 {
    font-size: 23px;
  }

  .legal-prose h3 {
    font-size: 19px;
  }

  .page-hero--legal h1 {
    font-size: 28px;
  }

  .cta-band h2 {
    font-size: 28px;
  }

  .lead,
  .home-hero__lead {
    font-size: 18px;
  }

  .home-hero {
    min-height: 620px;
    height: calc(100svh - 82px);
    max-height: 720px;
    background-position: 67% center;
  }

  .home-hero::before {
    background: rgba(15, 17, 16, 0.62);
  }

  .home-hero__content {
    width: 100%;
    padding-block: 56px;
  }

  .about-split__media img {
    aspect-ratio: 3 / 2;
    object-position: 50% 8%;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .signal-strip__inner {
    width: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip a {
    min-height: 58px;
    padding: 12px;
  }

  .signal-strip a:first-of-type {
    padding-left: 12px;
  }

  .signal-strip a:nth-of-type(-n + 2) {
    border-bottom: 1px solid var(--lf-line);
  }

  .signal-strip a:nth-of-type(2) {
    border-right: 0;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading {
    margin-bottom: 35px;
    gap: 20px;
  }

  .service-grid,
  .use-case-grid,
	.use-case-grid--two,
  .price-list,
  .quality-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .service-card__icon {
    margin-bottom: 34px;
  }

  .workflow-rail {
    grid-template-columns: 1fr;
  }

  .workflow-step,
  .workflow-step:nth-child(2n) {
    min-height: 0;
    padding: 27px 0;
    border-right: 0;
    border-bottom: 1px solid var(--lf-line-dark);
  }

  .workflow-step:last-child {
    grid-column: auto;
  }

  .workflow-step__marker {
    margin-bottom: 20px;
  }

  .quality-item,
  .quality-item:not(:first-child) {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--lf-line-dark);
  }

  .quality-item:last-child {
    border-bottom: 0;
  }

  .process-item {
    min-height: 0;
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .process-item p {
    grid-column: 2;
  }

  .price-figure {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 10px;
  }

  .price-figure__description {
    grid-column: 1 / -1;
    padding-top: 3px;
  }

  .home-about {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-about__avatar {
    width: 88px;
    justify-self: start;
  }

  .home-about__avatar img {
    width: 88px;
    height: 88px;
  }

  .about-facts,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-block: 68px 58px;
  }

  .page-hero--compact {
    padding-block: 54px 48px;
  }

  .page-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero__actions .button {
    width: 100%;
  }

  .scope-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-band .button {
    width: 100%;
  }

  .cookie-bar__actions .button,
  .cookie-choice__actions .button {
    width: 100%;
  }

  .cookie-choice {
    padding: 22px 18px;
  }

  .site-footer__grid {
    padding-block: 58px 42px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    min-height: 0;
    padding-block: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .page-hero--legal h1 {
    font-size: 24px;
  }
}

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

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

  .button__spinner {
    animation: none;
    border-top-color: rgba(255, 255, 255, 0.35);
    background: #ffffff;
  }
}
