/* ─── Design tokens ────────────────────────────────────────────────────── */
:root {
  --ink: #1f2937;
  --ink-soft: #3f4a5a;
  --muted: #64748b;
  --line: #e4e9ee;
  --line-soft: #eef2f5;
  --paper: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f3f6f8;
  --petrol: #0b4f6c;
  --teal: #0ea5a0;
  --teal-soft: rgba(14, 165, 160, 0.12);
  --petrol-soft: rgba(11, 79, 108, 0.1);
  --brand-gradient: linear-gradient(135deg, var(--petrol), var(--teal));
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 60px -16px rgba(15, 23, 42, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
}

h2 em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
  display: block;
  font-size: 0.56em;
  letter-spacing: -0.01em;
  margin-top: 10px;
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

section[id] { scroll-margin-top: 88px; }

.section { padding: 128px 0; position: relative; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head.is-left { margin: 0 0 56px; text-align: left; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { background: var(--petrol); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-on-dark {
  background: var(--surface);
  color: var(--ink);
}
.btn-on-dark:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost-on-dark {
  border: 1.5px solid rgba(248, 250, 252, 0.3);
  color: var(--paper);
}
.btn-ghost-on-dark:hover { border-color: var(--paper); transform: translateY(-1px); }

.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.wa-icon { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary .wa-icon { color: #25d366; }
.btn-on-dark .wa-icon { color: #1db954; }
.btn-ghost-on-dark .wa-icon { color: #25d366; }

/* ─── Navbar ───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; }
.brand .ia { color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { margin: 5px 0; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding: 200px 0 128px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.topo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 44ch;
  margin: 0 auto 20px;
}

.hero-copy {
  font-size: 1rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto 28px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-tags span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petrol);
  background: var(--petrol-soft);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero .cta-row { justify-content: center; margin-bottom: 0; }

.hero-alt-link {
  display: block;
  text-align: center;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.hero-alt-link:hover { color: var(--petrol); }

/* ─── Dashboard mockup ─────────────────────────────────────────────────── */
.hero-visual { margin-top: 72px; }

.laptop {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(180deg, #2a313c, var(--ink));
  padding: 14px 14px 26px;
  box-shadow: var(--shadow-lg);
}

.laptop .screen {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

.laptop::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background: rgba(248, 250, 252, 0.15);
  border-radius: 4px;
  margin: 14px auto 0;
}

.dash-mock {
  --brand: var(--teal);
  --brand-2: var(--petrol);
  --mock-bg: #ffffff;
  --mock-surface: #ffffff;
  --mock-sidebar: var(--surface-alt);
  --mock-border: var(--line-soft);
  --mock-text: var(--ink);
  --mock-muted: var(--muted);
  --mock-active-bg: color-mix(in srgb, var(--brand) 16%, transparent);
  --mock-active-text: var(--brand);
  --mock-heading-font: inherit;
  font-size: 13px;
  background: var(--mock-bg);
  color: var(--mock-text);
  transition: background 0.5s ease, color 0.5s ease;
}

.dash-mock[data-theme="dark"] {
  --mock-bg: hsl(100, 25%, 7%);
  --mock-surface: hsl(100, 18%, 11%);
  --mock-sidebar: hsl(100, 18%, 11%);
  --mock-border: hsl(90, 25%, 22%);
  --mock-text: hsl(43, 35%, 90%);
  --mock-muted: hsl(43, 15%, 58%);
  --mock-active-bg: hsla(88, 45%, 55%, 0.16);
  --mock-active-text: hsl(88, 55%, 68%);
  --mock-heading-font: "Oswald", sans-serif;
  font-family: "Source Sans 3", sans-serif;
}

.dash-mock__browserbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--mock-border);
  background: var(--mock-bg);
}

.dash-mock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mock-border); }
.dash-mock__url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--mock-muted);
  background: var(--mock-sidebar);
  padding: 4px 10px;
  border-radius: 6px;
}

.dash-mock__apptopbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}
.dash-mock__apptopbar img,
.dash-mock__apptopbar .logo-fallback {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.dash-mock__apptopbar strong { font-family: var(--mock-heading-font); font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.dash-mock__apptopbar .role {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 9px;
  border-radius: 999px;
}
.dash-mock__apptopbar .logout { font-size: 11px; opacity: 0.8; }

.dash-mock__body { display: grid; grid-template-columns: 168px 1fr; min-height: 400px; background: var(--mock-bg); }

.dash-mock__sidebar {
  background: var(--mock-sidebar);
  border-right: 1px solid var(--mock-border);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-mock__navsection label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mock-muted);
  margin-bottom: 6px;
  padding: 0 10px;
}

.dash-mock__sidebar nav,
.dash-mock__navsection nav { display: flex; flex-direction: column; gap: 2px; }
.dash-mock__sidebar nav span,
.dash-mock__navsection nav span {
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--mock-muted);
  font-weight: 500;
}
.dash-mock__sidebar nav span.active,
.dash-mock__navsection nav span.active {
  background: var(--mock-active-bg);
  color: var(--mock-active-text);
  font-weight: 600;
}

.dash-mock__main { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--mock-bg); flex: 1; }

.dash-mock__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat {
  border: 1px solid var(--mock-border);
  border-radius: 12px;
  padding: 14px;
  background: var(--mock-surface);
}
.stat label { display: block; font-size: 11px; color: var(--mock-muted); margin-bottom: 6px; }
.stat strong { display: block; font-size: 1.05rem; color: var(--mock-text); }
.stat span { font-size: 11px; font-weight: 700; }
.stat span.up { color: #27ab6e; }
.stat span.down { color: #e35353; }

.dash-mock__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; flex: 1; }

.dash-mock__chart, .dash-mock__list {
  border: 1px solid var(--mock-border);
  border-radius: 12px;
  padding: 16px;
  background: var(--mock-surface);
}

.dash-mock__chart label, .dash-mock__list label {
  display: block;
  font-size: 11px;
  color: var(--mock-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  transform-origin: bottom;
  transition: background 0.5s ease;
}

.dash-mock__list ul { display: flex; flex-direction: column; gap: 10px; }
.dash-mock__list li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--mock-muted);
}
.dash-mock__list li span { font-weight: 700; color: var(--mock-text); }

.dash-mock__footerrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--mock-border);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--mock-surface);
  font-size: 12px;
  color: var(--mock-muted);
}

.avatars { display: inline-flex; margin-right: 8px; vertical-align: middle; }
.avatars i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 2px solid var(--mock-surface);
  margin-left: -8px;
  transition: background 0.5s ease;
}
.avatars i:first-child { margin-left: 0; }

.stock-flag { color: #b45309; font-weight: 600; }
.dash-mock[data-theme="dark"] .stock-flag { color: #e0a742; }

/* ─── Kanban mini-board (gastronomy module) ──────────────────────────────── */
.dash-mock__kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}

.kanban-col {
  background: var(--mock-surface);
  border: 1px solid var(--mock-border);
  border-top: 3px solid var(--col-color, var(--brand));
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kanban-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mock-heading-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--mock-text);
}
.kanban-col__head .count {
  font-size: 10px;
  font-weight: 700;
  background: var(--mock-border);
  color: var(--mock-text);
  padding: 2px 7px;
  border-radius: 999px;
}

.kanban-card {
  background: var(--mock-bg);
  border: 1px solid var(--mock-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--mock-text);
}
.kanban-card .tag {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--mock-muted);
  margin-bottom: 3px;
}
.kanban-card .item { font-weight: 600; }

/* ─── Social proof ─────────────────────────────────────────────────────── */
.social-proof { padding: 88px 0; border-bottom: 1px solid var(--line-soft); border-top: 1px solid var(--line-soft); }
.social-proof .container { text-align: center; }
.social-proof h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 40px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.client-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.client-logo:hover { opacity: 1; }
.client-logo b { color: inherit; }
.client-logo.gr { color: hsl(88, 40%, 30%); }
.client-logo.amoros { color: #b5502e; }
.client-logo.mg { color: #1c3f66; }

.proof-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  background: var(--teal-soft);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
}
.proof-count strong { color: var(--teal); font-size: 1.1rem; }

/* ─── Problem ──────────────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.problem-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.problem-chip .x {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fdecec;
  color: #c0392b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.problem-foot { max-width: 640px; margin: 0 auto; text-align: center; }
.problem-foot p { color: var(--ink-soft); margin-bottom: 10px; }
.problem-foot p.strong { font-weight: 700; color: var(--ink); font-size: 1.1rem; }

/* ─── Solution modules ─────────────────────────────────────────────────── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.module-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-soft);
  color: var(--petrol);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.module-icon svg { width: 22px; height: 22px; }

.module-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.module-card p { font-size: 0.9rem; color: var(--muted); }

.module-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ─── Differentiator ───────────────────────────────────────────────────── */
.differentiator { background: var(--ink); color: var(--paper); overflow: hidden; }

.diff-head { text-align: center; max-width: 760px; margin: 0 auto 24px; }
.diff-head h2 { color: var(--paper); }
.diff-head .line1 { display: block; }
.diff-head .pause { display: block; height: 18px; }
.diff-head .line2 { display: block; color: var(--teal); }
.diff-head p { color: rgba(248, 250, 252, 0.68); margin: 24px auto 0; max-width: 52ch; }

.brand-switch {
  max-width: 980px;
  margin: 64px auto 40px;
}

.brand-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.brand-pill {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.16);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.brand-pill.is-active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.brand-stage {
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

.brand-stage .dash-mock {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease);
}
.brand-stage .dash-mock.is-active { opacity: 1; visibility: visible; }

.diff-tagline {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 44px 0 40px;
  color: var(--paper);
}

.diff-checklist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.diff-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.85);
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.1);
  padding: 12px 14px;
  border-radius: 10px;
}
.diff-checklist svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

/* ─── Process ──────────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  padding: 30px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.process-step .num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: block;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--muted); }

.process-foot {
  text-align: center;
  margin-top: 48px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 640px;
  margin-inline: auto;
}

/* ─── Business intelligence ────────────────────────────────────────────── */
.bi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.bi-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.bi-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.bi-card.warn .tag { color: #b45309; background: #fef3e2; }
.bi-card.bad .tag { color: #c0392b; background: #fdecec; }
.bi-card.good .tag { color: var(--petrol); background: var(--petrol-soft); }
.bi-card.alert .tag { color: #b45309; background: #fef3e2; }

.bi-card h3 { font-size: 0.98rem; margin-bottom: 10px; }
.bi-card blockquote {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: normal;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}

.bi-foot { text-align: center; font-weight: 700; font-size: 1.1rem; color: var(--ink); }

/* ─── Modular growth ───────────────────────────────────────────────────── */
.growth-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}

.growth-stage {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px dashed var(--line);
}
.growth-stage.is-core { border-style: solid; border-color: var(--teal); background: var(--teal-soft); }
.growth-stage .stage-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
.growth-stage ul { display: flex; flex-direction: column; gap: 8px; }
.growth-stage li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.growth-arrow {
  display: none;
}

.growth-foot { text-align: center; max-width: 640px; margin: 0 auto; color: var(--ink-soft); }

/* ─── Custom development ───────────────────────────────────────────────── */
.custom-dev-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.custom-dev-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.custom-dev-list li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

/* ─── Case study ────────────────────────────────────────────────────────── */
.case-study { background: var(--surface-alt); }
.case-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.case-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.case-quote {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  border-left: 3px solid hsl(88, 40%, 32%);
  padding-left: 18px;
  margin: 24px 0;
}
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case-chips span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: hsla(88, 40%, 42%, 0.12);
  color: hsl(88, 40%, 28%);
}

.case-visual .laptop { max-width: 100%; }

/* ─── Comparison ───────────────────────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-soft);
}
.comparison-table thead th {
  background: var(--surface-alt);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table td.old { color: var(--muted); }
.comparison-table td.new { color: var(--ink); font-weight: 600; }
.comparison-table td.new::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 10px;
}

/* ─── Final CTA ─────────────────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(160deg, var(--ink) 0%, #0e2430 60%, var(--petrol) 100%);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.final-cta .topo-bg { opacity: 0.25; }
.final-cta .container { position: relative; z-index: 1; max-width: 680px; }
.final-cta h2 { color: var(--paper); }
.final-cta h2 em { color: var(--teal); }
.final-cta p { color: rgba(248, 250, 252, 0.72); margin: 24px 0 36px; }
.final-cta .cta-row { justify-content: center; margin-bottom: 20px; }
.final-cta .fineprint { font-size: 0.85rem; color: rgba(248, 250, 252, 0.5); }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(248, 250, 252, 0.7); padding: 72px 0 36px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
  margin-bottom: 28px;
}
.footer-brand .brand { color: var(--paper); margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(248, 250, 252, 0.45);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Reveal animation ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .problem-grid, .module-grid, .bi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .diff-checklist { grid-template-columns: repeat(2, 1fr); }
  .growth-track { grid-template-columns: 1fr; }
  .custom-dev-wrap, .case-wrap { grid-template-columns: 1fr; gap: 36px; }
  .dash-mock__stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .hero { padding: 140px 0 72px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s var(--ease), opacity 0.2s ease;
  }
  .nav-links a { padding: 10px 0; width: 100%; }
  .navbar.is-open .nav-links { max-height: 300px; opacity: 1; }
  .nav-toggle { display: flex; position: relative; z-index: 1; }
  .navbar.is-open .nav-toggle span { opacity: 0; }
  .navbar.is-open .nav-toggle::before { transform: translateY(5px) rotate(45deg); }
  .navbar.is-open .nav-toggle::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-right .btn-primary { padding: 10px 18px; font-size: 0.88rem; }
  .problem-grid, .module-grid, .bi-grid, .diff-checklist, .process-steps { grid-template-columns: 1fr; }
  .custom-dev-list { grid-template-columns: 1fr; }
  .dash-mock { font-size: 11px; }
  .dash-mock__body { grid-template-columns: 1fr; min-height: unset; }
  .dash-mock__sidebar { flex-direction: row; overflow-x: auto; }
  .dash-mock__sidebar nav { flex-direction: row; }
  .dash-mock__row { grid-template-columns: 1fr; }
  .dash-mock__stats { grid-template-columns: repeat(2, 1fr); }
  .comparison-table { display: block; overflow-x: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .logo-row { gap: 32px; }
}
