/* Lutenant. Self-hosted fonts (SIL OFL, see assets/fonts), no third-party requests. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f4;
  --surface: #ffffff;
  --ink: #0f1a17;
  --ink-soft: #46524e;
  --ink-faint: #5f6b66;
  --line: #e2e7e4;
  --line-strong: #cfd7d3;
  --green: #133a30;
  --green-2: #1d5a49;
  --green-tint: #e8f1ed;
  --brass: #86642c;
  --amber: #8f520a;
  --amber-tint: #fbf1e3;
  --ok: #1d7a55;
  --ok-tint: #e3f3eb;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(15, 26, 23, 0.04), 0 8px 24px rgba(15, 26, 23, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 26, 23, 0.05), 0 24px 48px rgba(15, 26, 23, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--green-2); }
.num, .timeline li::before, .step::before { font-variant-numeric: lining-nums; }

p { margin: 0 0 1em; }
strong { font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand img { width: 30px; height: 30px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.93rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn { color: #fff; }
.header-cta { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--green);
  box-shadow: 0 1px 2px rgba(15, 26, 23, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; transform: translateY(-1px); }
.btn::after { content: "\2192"; transition: transform 0.15s ease; }
.btn:hover::after { transform: translateX(2px); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }
.btn-small::after { content: none; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost::after { content: none; }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); border-color: var(--line-strong); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-intro { max-width: 680px; margin-bottom: 44px; color: var(--ink-soft); font-size: 1.08rem; }
.section-head .section-intro { margin-bottom: 0; }
.aside-note {
  margin-top: 36px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--brass);
  padding-left: 16px;
  max-width: 620px;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 88% 22%, rgba(29, 90, 73, 0.12), transparent 68%),
    radial-gradient(ellipse 45% 50% at 8% 90%, rgba(134, 100, 44, 0.06), transparent 60%),
    linear-gradient(to bottom, #f7f9f7 0%, transparent 55%, var(--bg) 100%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-brand {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.hero-kicker {
  margin: 0 0 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-2);
}
.hero h1 { font-size: clamp(2.15rem, 4.2vw, 3.35rem); }
.hero-trust { margin-top: 34px; font-size: 0.88rem; color: var(--ink-faint); }
.hero-trust b { color: var(--ink-soft); font-weight: 600; }

/* Hero illustration: a morning's work handled */
.flow { position: relative; padding: 0 0 132px 0; }
.flow-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.flow-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.flow-bar .dots { display: flex; gap: 6px; }
.flow-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.flow-bar .when { margin-left: auto; font-weight: 500; color: var(--ink-faint); }
.flow-list { list-style: none; margin: 0; padding: 6px 0; }
.flow-list li {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.flow-list li:last-child { border-bottom: 0; }
.flow-list .src {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.flow-list b { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.flow-list small { color: var(--ink-faint); font-size: 0.78rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ok-tint);
  color: var(--ok);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.wait { background: var(--amber-tint); color: var(--amber); }
.flow-approve {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 290px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  font-size: 0.85rem;
}
.flow-approve .label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.flow-approve p { margin: 6px 0 12px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.flow-approve .row { display: flex; gap: 8px; }
.flow-approve .row span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.flow-approve .row span.primary { background: var(--green); border-color: var(--green); color: #fff; }
.flow-caption { position: absolute; left: 0; bottom: 6px; margin: 0; font-size: 0.75rem; color: var(--ink-faint); }

/* ---------- Credentials strip ---------- */
.creds { padding: 0 0 88px; }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cred { padding: 30px 24px 28px 0; }
.cred + .cred { padding-left: 24px; border-left: 1px solid var(--line); }
.cred .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.cred .what { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.previously {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 28px;
  color: var(--ink-faint);
}
.previously .label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.previously .co { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; color: #66726d; }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.statement h2 { margin: 0; font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.statement p { font-size: 1.12rem; color: var(--ink-soft); }
.statement p:first-child::first-line { color: var(--ink); }

/* ---------- Comparison ---------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 20px 24px; font-size: 0.98rem; }
.compare-row .topic { font-weight: 600; color: var(--ink); }
.compare-row .them { color: var(--ink-faint); border-left: 1px solid var(--line); }
.compare-row .us { color: var(--ink); background: var(--green-tint); border-left: 1px solid #d3e4dc; }
.compare-head > div {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: #fbfcfb;
}
.compare-head .us { color: var(--green); background: #dcebe4; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards.three { grid-template-columns: 1fr; } }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.card .more::after { content: " \2192"; }
.card.featured { background: var(--green); border-color: var(--green); color: #fff; }
.card.featured h3 { color: #fff; }
.card.featured p { color: #c9dbd3; }
.card.featured .more { color: #fff; }
.wedge {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px 48px;
  align-items: end;
}
.wedge .card.featured { max-width: none; }
.wedge-aside {
  margin: 0;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 2px solid var(--brass);
  padding-left: 16px;
}
@media (max-width: 760px) {
  .wedge { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}
.card .tag {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e6efe9;
}

/* ---------- Timeline (how it works) ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: var(--line-strong);
}
.timeline li { position: relative; counter-increment: step; }
.timeline li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 26px;
  position: relative;
}
.timeline li:first-child::before { background: var(--green); border-color: var(--green); color: #fff; }
.timeline .meta { font-size: 0.82rem; font-weight: 600; color: var(--brass); margin: -4px 0 12px; letter-spacing: 0.02em; }
.timeline p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* Older step cards (kept for inner pages) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--serif);
  margin-bottom: 16px;
}
.step .meta { font-size: 0.82rem; font-weight: 600; color: var(--brass); margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0; }

/* ---------- Ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-tint);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.45em + 4px);
  width: 6px;
  height: 4px;
  border-left: 1.8px solid var(--green-2);
  border-bottom: 1.8px solid var(--green-2);
  transform: rotate(-45deg);
}

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot-bar span { margin-left: 10px; font-size: 0.75rem; color: var(--ink-faint); }
.shot img { width: 100%; height: auto; }
.shot-caption { margin-top: 12px; font-size: 0.8rem; color: var(--ink-faint); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; margin: 30px 0 34px; }
.stats .num { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--ink); }
.stats .what { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }

/* Older proof panel (kept for compatibility) */
.proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.proof-panel { background: var(--green); color: #e6efe9; border-radius: var(--radius); padding: 32px; }

/* ---------- About ---------- */
.about-strip { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.portrait {
  width: 260px;
  height: 260px;
  border-radius: 20px;
  object-fit: cover;
  background: var(--green);
  box-shadow: var(--shadow-lg);
}
.signature { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); margin-top: 6px; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--green);
  color: #e6efe9;
  text-align: center;
  padding: 112px 0;
}
.cta h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.cta p { color: #bcd1c8; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta .actions { justify-content: center; }
.cta .btn { background: #fff; color: var(--green); border-color: #fff; }
.cta .btn:hover { background: #eef4f1; border-color: #eef4f1; color: var(--green); }
.cta a.plain { color: #fff; }
.cta .small { font-size: 0.92rem; margin-top: 22px; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 1.5em; font-size: 1.9rem; }
.prose ul { padding-left: 1.2em; }
.prose ul.ticks { padding-left: 0; }
.prose li { margin-bottom: 0.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 84px; font-size: 0.88rem; color: var(--ink-faint); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .statement, .case { grid-template-columns: 1fr; gap: 48px; }
  .flow { max-width: 560px; }
  .flow-approve { right: 0; }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Compact header before the full nav + CTA runs out of room */
@media (max-width: 1040px) {
  .site-header .container { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .nav { width: 100%; order: 3; gap: 20px; overflow-x: auto; white-space: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a.btn { display: none; }
  .header-cta { display: inline-flex !important; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .flow { padding-bottom: 0; }
  .flow-list li { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .flow-list .src { grid-column: 1 / -1; }
  .flow-approve { position: relative; right: auto; width: auto; margin: -12px 12px 0; }
  .flow-caption { position: static; margin-top: 10px; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row .them, .compare-row .us { border-left: 0; border-top: 1px solid var(--line); }
  .compare-row .them::before { content: "Chat tool: "; font-weight: 600; }
  .compare-row .us::before { content: "Lutenant: "; font-weight: 600; color: var(--green); }
  .compare-head { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; }
  .timeline li { padding-left: 68px; }
  .timeline li::before { position: absolute; left: 0; top: -6px; margin: 0; }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .previously { gap: 10px 24px; }
  .previously .label { width: 100%; }
  .stats { gap: 20px; }
  .cred { padding-right: 12px; }
  .cred + .cred { padding-left: 12px; }
  .cred .num { font-size: 2rem; }
  .cred:nth-child(odd) { padding-left: 0; border-left: 0; }
  .about-strip { grid-template-columns: 1fr; gap: 28px; }
  .portrait { width: 160px; height: 160px; }
}

/* ---------- Hero motion: the morning's work arrives, item by item ---------- */
@media (prefers-reduced-motion: no-preference) {
  .flow-window { animation: rise 0.6s ease-out both; }
  .flow-list li { animation: rowIn 0.45s ease-out both; }
  .flow-list li:nth-child(1) { animation-delay: 0.35s; }
  .flow-list li:nth-child(2) { animation-delay: 0.85s; }
  .flow-list li:nth-child(3) { animation-delay: 1.35s; }
  .flow-list li:nth-child(4) { animation-delay: 1.85s; }
  .flow-list .status { animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
  .flow-list li:nth-child(1) .status { animation-delay: 0.7s; }
  .flow-list li:nth-child(2) .status { animation-delay: 1.2s; }
  .flow-list li:nth-child(3) .status { animation-delay: 1.7s; }
  .flow-list li:nth-child(4) .status { animation-delay: 2.2s; }
  .flow-approve { animation: rise 0.5s ease-out 2.6s both; }
  .flow-approve .primary { animation: nudge 2.4s ease-in-out 3.4s infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(19, 58, 48, 0); } 50% { box-shadow: 0 0 0 5px rgba(19, 58, 48, 0.14); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--green-2); }
.faq-list details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 640px; }
@media (max-width: 980px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 56vh; display: flex; align-items: center; }

/* ---------- Requirement Assistant Drawer ---------- */
.lt-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 600 0.94rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(19, 58, 48, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.lt-launcher:hover { background: var(--green-2); transform: translateY(-1px); }
.lt-launcher[hidden] { display: none; }

.lt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 26, 23, 0.35);
}
.lt-backdrop[hidden] { display: none; }

.lt-drawer {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(420px, calc(100vw - 24px));
  height: min(580px, calc(100vh - 100px));
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 26, 23, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (max-width: 520px) {
  .lt-drawer {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 96px);
  }
}
.lt-drawer[hidden] { display: none; }

.lt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.lt-head-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin: 0; }
.lt-head-sub { font-size: 0.82rem; color: var(--ink-soft); margin: 2px 0 0; }
.lt-head-actions { display: flex; gap: 8px; align-items: center; }
.lt-icon-btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  font: 500 0.82rem/1.2 var(--sans);
  cursor: pointer;
}
.lt-icon-btn:hover { background: var(--bg); }

.lt-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lt-starters { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.lt-starter {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 500 0.9rem/1.35 var(--sans);
  cursor: pointer;
}
.lt-starter:hover { border-color: var(--green); background: var(--green-tint); }

.lt-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.94rem;
  line-height: 1.48;
  white-space: pre-wrap;
}
.lt-msg.user {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.lt-msg.assistant {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.lt-draft {
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lt-draft h3 { margin: 0; font-size: 1rem; color: var(--green); font-family: var(--sans); font-weight: 600; }
.lt-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.lt-field input, .lt-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: 400 0.9rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--bg-alt);
}
.lt-draft-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-draft-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }

.lt-status {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(19, 58, 48, 0.2);
}
.lt-status.err { background: #fdf2f2; color: #8c1d18; border-color: #e8b4b4; }

.lt-foot {
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lt-compose { display: flex; gap: 8px; align-items: flex-end; }
.lt-compose textarea {
  flex: 1;
  resize: none;
  min-height: 42px;
  max-height: 120px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: 400 0.94rem/1.4 var(--sans);
  color: var(--ink);
}
.lt-foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lt-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  font: 600 0.84rem/1.2 var(--sans);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lt-link-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.lt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- What happens on the call ---------- */
.call-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.call-steps li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #e3ece7;
}
.call-steps strong { display: block; color: #fff; margin-bottom: 4px; font-size: 0.92rem; }
@media (max-width: 720px) {
  .call-steps { grid-template-columns: 1fr; }
}

.cta .btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.cta .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------- Case study visual enhancements ---------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 36px;
}
.ba-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.ba-card.before {
  background: #fdf9f5;
  border-color: #ead7c0;
}
.ba-card.after {
  background: var(--green-tint);
  border-color: rgba(19, 58, 48, 0.25);
}
.ba-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ba-card.before .ba-label { color: var(--amber); }
.ba-card.after .ba-label { color: var(--green); }
.ba-card ul { margin: 0; padding-left: 18px; font-size: 0.94rem; color: var(--ink-soft); }
.ba-card li + li { margin-top: 6px; }
@media (max-width: 680px) {
  .before-after { grid-template-columns: 1fr; }
}

.wf-frame {
  margin: 28px 0 36px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.wf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.wf-dots { display: inline-flex; gap: 6px; align-items: center; }
.wf-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.wf-rows { list-style: none; margin: 0; padding: 0; }
.wf-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.wf-rows li:last-child { border-bottom: 0; }
.wf-rows strong { color: var(--ink); display: block; font-size: 0.93rem; }
.wf-rows span { color: var(--ink-soft); font-size: 0.84rem; }
.wf-pill {
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.wf-pill.ok { background: var(--ok-tint); color: var(--ok); }
.wf-pill.warn { background: var(--amber-tint); color: var(--amber); }
.wf-pill.ready { background: var(--green-tint); color: var(--green); }

.card .kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.card .kpi {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.card.featured .kpi {
  background: rgba(255, 255, 255, 0.12);
  color: #e6f0ec;
  border-color: rgba(255, 255, 255, 0.2);
}

.lt-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: 400 0.9rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--bg-alt);
}
.lt-starter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 6px;
}

/* ---------- Recruitment page: founding offer and cost calculator ---------- */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px 56px;
  align-items: start;
}
.offer .card.featured { max-width: none; }
.offer-title { color: #fff; margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.offer .offer-btn { margin-top: 22px; background: #fff; color: var(--green); }
.offer .offer-btn:hover { background: var(--green-tint); color: var(--green); }
.offer-terms { display: grid; gap: 28px; }
.offer-terms h3 { margin: 0 0 12px; }
.offer-terms .ticks { margin: 0; }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; }
}

.calc {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 920px;
}
.calc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.calc-field { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.calc-field span { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); line-height: 1.35; }
.calc-field input {
  width: 100%;
  font: inherit;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
}
.calc-field input:focus-visible { outline: 2px solid var(--green-2); outline-offset: 1px; border-color: var(--green-2); }
.calc-result {
  margin-top: 26px;
  padding: 26px;
  background: var(--green-tint);
  border: 1px solid rgba(19, 58, 48, 0.2);
  border-radius: var(--radius);
}
.calc-result[hidden] { display: none; }
.calc-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.calc-figures .num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.calc-figures .what { font-size: 0.86rem; color: var(--ink-soft); margin-top: 8px; }
.calc-note { margin: 22px 0 20px; max-width: 68ch; color: var(--ink-soft); font-size: 0.98rem; }
.calc-note strong { color: var(--ink); }
.calc-small { margin: 16px 0 0; font-size: 0.82rem; color: var(--ink-faint); }
@media (max-width: 720px) {
  .calc { padding: 20px; }
  .calc-result { padding: 20px; }
  .calc-inputs, .calc-figures { grid-template-columns: 1fr; }
}
