/* ===========================================================================
   SpleroERP — marketing site
   Visual-first landing page. Product mockups are built in CSS (no screenshots
   to go stale, no images to slow down a 4G connection).
   =========================================================================== */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-soft: #eef2ff;

  --ink: #0b1020;
  --ink-2: #1e2438;
  --body: #4a5169;
  --muted: #767d94;

  --line: #e6e8f0;
  --line-soft: #f0f1f6;
  --surface: #ffffff;
  --tint: #f7f8fc;
  --dark: #0d1124;

  --green: #16a34a;
  --green-bg: #dcfce7;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --red: #dc2626;
  --red-bg: #fee2e2;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .05);
  --shadow: 0 4px 18px rgba(11, 16, 32, .07);
  --shadow-lg: 0 24px 60px -18px rgba(11, 16, 32, .26);

  --wrap: 1180px;
  --nav-h: 66px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.028em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -.04em; }
h1 em { font-style: normal; color: var(--indigo); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 750; letter-spacing: -.034em; }
h3 { font-size: 1.24rem; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

.eyebrow {
  display: inline-block; font-size: .73rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 14px;
}
.eyebrow.light { color: #a5b4fc; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-size: .92rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.btn.full { width: 100%; }

.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 6px 18px -6px rgba(79, 70, 229, .6); }
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: #c9cddd; background: var(--tint); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }

.link-arrow { color: var(--indigo); font-weight: 600; font-size: .94rem; }
.link-arrow:hover { color: var(--indigo-dark); }

/* ---------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
.brand-mark { color: var(--indigo); font-size: 1.1rem; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 9px; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; padding: 74px 0 88px;
  background:
    radial-gradient(900px 420px at 88% -8%, #e6e9ff 0%, transparent 62%),
    radial-gradient(700px 400px at 4% 8%, #f2ecff 0%, transparent 60%),
    var(--surface);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.lede { font-size: 1.14rem; color: var(--body); max-width: 500px; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span {
  font-size: .8rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px;
}

/* ========================= PRODUCT MOCK (shared shell) ===================== */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-tilt { transform: perspective(1500px) rotateY(-7deg) rotateX(2.5deg); }

.mock-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d7dae6; }

.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 316px; }
.mock-side { background: #fbfbfe; border-right: 1px solid var(--line-soft); padding: 14px 10px; }
.mock-logo { font-size: .76rem; font-weight: 750; color: var(--indigo); padding: 0 8px 12px; }
.mock-nav { font-size: .76rem; color: var(--muted); padding: 7px 9px; border-radius: 7px; margin-bottom: 2px; }
.mock-nav.on { background: var(--indigo-soft); color: var(--indigo); font-weight: 650; }

.mock-main { padding: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 14px; }
.mock-stat { background: var(--tint); border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px; }
.mock-stat small { display: block; font-size: .63rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.mock-stat b { font-size: 1.28rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-stat.alert b { color: var(--red); }

.mock-panel { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.mock-panel-head { font-size: .72rem; font-weight: 700; color: var(--ink); padding: 9px 12px; background: var(--tint); border-bottom: 1px solid var(--line-soft); }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; font-size: .74rem; color: var(--body); border-bottom: 1px solid var(--line-soft); }
.mock-row:last-child { border-bottom: 0; }

.pill { font-style: normal; font-size: .64rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill.red { background: var(--red-bg); color: var(--red); }
.pill.amber { background: var(--amber-bg); color: var(--amber); }
.pill.green { background: var(--green-bg); color: var(--green); }
.pill.grey { background: #eef0f5; color: var(--muted); }

/* table-style mock body (used in tabs) */
.mock-plain { padding: 0; min-height: 284px; }
.mock-th, .mock-tr {
  display: grid; grid-template-columns: 1.7fr 1fr .9fr; gap: 10px; align-items: center;
  padding: 11px 16px; font-size: .8rem; border-bottom: 1px solid var(--line-soft);
}
.mock-th { font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: var(--tint); }
.mock-tr b { display: block; color: var(--ink); font-weight: 600; font-size: .82rem; }
.mock-tr i { font-style: normal; font-size: .7rem; color: var(--muted); }
.mock-tr .r, .mock-th .r { text-align: right; font-variant-numeric: tabular-nums; }
.mock-tr.dim { opacity: .5; }
.mock-tr .ok { color: var(--green); font-weight: 650; }
.mock-tr .bad { color: var(--red); font-weight: 650; }

.mock-wo { padding: 12px 16px; font-size: .78rem; font-weight: 650; color: var(--ink); background: var(--tint); border-bottom: 1px solid var(--line-soft); }
.mock-foot { padding: 11px 16px; font-size: .74rem; color: var(--muted); background: var(--tint); border-top: 1px solid var(--line-soft); }
.mock-foot.bad { color: var(--red); background: var(--red-bg); font-weight: 600; }

/* stage list */
.stagerow { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 12px 16px; font-size: .84rem; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.stagerow i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; background: #eef0f5; color: var(--muted); }
.stagerow em { font-style: normal; font-size: .72rem; color: var(--muted); }
.stagerow em.red { color: var(--red); font-weight: 650; }
.stagerow.done { color: var(--ink); }
.stagerow.done i { background: var(--green-bg); color: var(--green); }
.stagerow.active { color: var(--ink); font-weight: 650; background: #fbfaff; }
.stagerow.active i { background: var(--indigo-soft); color: var(--indigo); }

/* ---------------------------------------------------------------- sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.tight { margin-bottom: 34px; }
.section-sub { font-size: 1.05rem; color: var(--body); margin-top: 14px; }

/* ------------------------------------------------------- before/after strip */
.compare-section { padding: 70px 0; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare-arrow { align-self: center; font-size: 1.7rem; color: var(--indigo); font-weight: 300; }

.compare-col { border-radius: var(--r-lg); padding: 26px 26px 28px; border: 1px solid var(--line); background: var(--surface); }
.compare-col.before { background: #fdfafa; border-color: #f2dede; }
.compare-col.after { background: #f8fdfa; border-color: #d6eede; }

.compare-tag { font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 18px; }
.before .compare-tag { color: var(--red); }
.after .compare-tag { color: var(--green); }

.compare-col li { position: relative; padding-left: 26px; font-size: .95rem; margin-bottom: 13px; color: var(--ink-2); }
.compare-col li:last-child { margin-bottom: 0; }
.compare-col li::before { position: absolute; left: 0; top: -1px; font-weight: 700; font-size: .95rem; }
.before li::before { content: '✕'; color: #e08b8b; }
.after li::before { content: '✓'; color: var(--green); }

/* -------------------------------------------------------------------- tabs */
.tabs {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px; width: fit-content; margin: 0 auto 40px; box-shadow: var(--shadow-sm);
}
.tab {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: .89rem; font-weight: 600; color: var(--body);
  padding: 9px 18px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab.on { background: var(--ink); color: #fff; }

/* Panels differ in height; without a floor the whole page jumps on every tab click. */
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fade .32s ease; min-height: 392px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ split layout */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 84px; }
.split.reverse .split-copy { order: 2; }

.split-copy h3 { font-size: 1.62rem; margin-bottom: 16px; letter-spacing: -.028em; }
.split-copy p { font-size: 1.02rem; margin-bottom: 16px; }

.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: .99rem; color: var(--ink-2); }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  border-radius: 50%; background: var(--indigo-soft); color: var(--indigo);
  font-size: .64rem; font-weight: 700; display: grid; place-items: center;
}
.ticks { margin-bottom: 22px; }

.num-tag {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(165, 180, 252, .14); border: 1px solid rgba(165, 180, 252, .28);
  color: #a5b4fc; font-size: .78rem; font-weight: 750; margin-bottom: 16px;
}
.foot-note { display: block; font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------- dark section */
.section-dark { background: var(--dark); color: #aab1c6; padding: 96px 0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head { max-width: 760px; }
.section-dark p { color: #99a1b8; }
.section-dark .foot-note { color: #6f7896; }
.split-dark .split-visual { min-height: 200px; }

/* flow diagram (process builder) */
.flowmock {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0; position: relative;
  background: #131832; border: 1px solid #242b4d; border-radius: var(--r-lg);
  padding: 40px 28px 52px; justify-content: center;
}
.fnode {
  background: #1c2445; border: 1px solid #323b64; color: #e2e6f3;
  padding: 11px 17px; border-radius: 10px; font-size: .86rem; font-weight: 600; white-space: nowrap;
}
.fnode.qc { border-color: var(--indigo); background: rgba(79, 70, 229, .2); color: #c7d2fe; }
.fline { width: 30px; height: 2px; background: #323b64; position: relative; }
.fline::after {
  content: ''; position: absolute; right: -1px; top: -3px;
  border-left: 6px solid #323b64; border-block: 4px solid transparent;
}
.fback {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: .76rem; color: #f0abab; background: rgba(220, 38, 38, .12);
  border: 1px dashed rgba(220, 38, 38, .35); padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

/* PDF preview */
.pdfmock {
  background: #fff; border-radius: 10px; padding: 22px; color: #111;
  box-shadow: var(--shadow-lg); max-width: 430px; font-size: .74rem;
}
.pdf-head { text-align: center; border-bottom: 2px solid #111; padding-bottom: 9px; margin-bottom: 10px; }
.pdf-head b { display: block; font-size: .84rem; letter-spacing: .01em; }
.pdf-head span { font-size: .66rem; color: #666; }
.pdf-meta { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 700; margin-bottom: 10px; }
.pdf-tbl { border: 1px solid #ccc; border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.pdf-tr { display: grid; grid-template-columns: 1.6fr .7fr 1fr; padding: 7px 10px; border-bottom: 1px solid #eee; font-size: .7rem; }
.pdf-tr:last-child { border-bottom: 0; }
.pdf-tr.th { background: #f3f4f8; font-weight: 700; font-size: .64rem; text-transform: uppercase; letter-spacing: .04em; }
.pdf-tr .r { text-align: right; font-variant-numeric: tabular-nums; }
.pdf-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f3f4f8; padding: 8px 10px; border-radius: 4px; font-size: .68rem; margin-bottom: 14px; }
.pdf-total b { font-size: .82rem; }
.pdf-sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: .6rem; color: #888; text-align: center; }
.pdf-sign span { border-top: 1px solid #ccc; padding-top: 5px; }

/* approval rule */
.rulemock { background: #131832; border: 1px solid #242b4d; border-radius: var(--r-lg); padding: 28px; }
.rule-line { font-size: .95rem; color: #d5daea; padding: 13px 16px; background: #0d1124; border-radius: 9px; margin-bottom: 9px; }
.rule-line i { font-style: normal; font-weight: 750; color: var(--indigo); margin-right: 10px; font-size: .78rem; letter-spacing: .06em; }
.rule-line b { color: #fff; }
.rule-state { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .82rem; color: #99a1b8; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- module grid */
/* Compact, scannable: the point is breadth at a glance, not paragraphs. */
.modgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.mod {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 16px; transition: border-color .15s ease, transform .15s ease;
}
.mod:hover { border-color: var(--indigo); transform: translateY(-2px); }
.mod:hover .mod-ico { background: var(--indigo); color: #fff; }
.mod-ico {
  flex: 0 0 auto; width: 30px; height: 30px; padding: 6px; border-radius: 8px;
  background: var(--indigo-soft); color: var(--indigo);
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: background .15s ease, color .15s ease;
}
.mod b { display: block; font-size: .93rem; color: var(--ink); font-weight: 650; margin-bottom: 3px; }
.mod span { font-size: .8rem; color: var(--muted); line-height: 1.45; display: block; }

/* ----------------------------------------------------------- onboarding */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 22px 26px;
}
.step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--indigo-soft); color: var(--indigo); font-size: .82rem; font-weight: 750;
  margin-bottom: 14px;
}
.step b { display: block; color: var(--ink); font-size: 1rem; font-weight: 650; margin-bottom: 7px; }
.step p { font-size: .9rem; }

/* --------------------------------------------------------------- bento grid */
/* dense so the wide tiles never leave a hole in the row */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-flow: row dense; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7dbe8; }
.tile b { display: block; color: var(--ink); font-size: 1.04rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.015em; }
.tile p { font-size: .93rem; }
.tile-wide { grid-column: span 2; }
.tile-accent { background: linear-gradient(150deg, var(--indigo) 0%, #6d5ce7 100%); border-color: transparent; color: #dcd9fb; }
.tile-accent b { color: #fff; }
.tile-accent p { color: #dcd9fb; }

/* --------------------------------------------------------------- demo band */
.demo-band {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 52px 40px 44px; box-shadow: var(--shadow);
}
.steps + .demo-band { margin-top: 58px; }
.demo-band h2 { margin-bottom: 14px; }
.demo-band > p { font-size: 1.05rem; max-width: 500px; margin: 0 auto 30px; }
.demo-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.demo-band-note { font-size: .87rem; color: var(--muted); }

/* ---------------------------------------------------------------------- faq */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 34px 19px 0; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--indigo); transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 34px 20px 0; font-size: .98rem; }

/* ---------------------------------------------------------------------- cta */
/* No form here by design -- every enquiry goes to WhatsApp, phone or email, so the
   whole site stays static: no database, no server, no personal data at rest. */
.cta-section { background: var(--dark); padding: 92px 0; }
.cta-single { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-single h2 { color: #fff; margin-bottom: 16px; }
.cta-lede { color: #99a1b8; font-size: 1.08rem; margin-bottom: 32px; }

.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.btn-whatsapp { background: #25d366; color: #05331a; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); }
.btn-light { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.btn-light:hover { background: rgba(255, 255, 255, .13); transform: translateY(-1px); }

.cta-points { display: inline-block; text-align: left; margin-bottom: 30px; }
.cta-points li { position: relative; padding-left: 28px; color: #c3c9da; margin-bottom: 12px; font-size: .97rem; }
.cta-points li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(79, 70, 229, .25); color: #a5b4fc; font-size: .64rem; font-weight: 700;
  display: grid; place-items: center;
}

.cta-address { font-size: .89rem; color: #6f7896; line-height: 1.9; }
.cta-address a { color: #a5b4fc; }
.cta-address a:hover { color: #c7d2fe; }

/* ------------------------------------------------------------------- footer */
.footer { background: #080b18; color: #838aa3; padding: 62px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .91rem; max-width: 300px; color: #6f7791; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { color: #fff; font-size: .87rem; margin-bottom: 4px; }
.footer-col a { font-size: .89rem; color: #838aa3; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: .89rem; color: #6f7791; line-height: 1.5; }
.footer-base {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; font-size: .84rem; color: #5f6780;
}

/* --------------------------------------------------------------- mobile cta */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; gap: 10px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }

/* ================================ responsive ============================== */
@media (max-width: 980px) {
  .hero-inner, .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy { order: 0; }
  .split + .split { margin-top: 62px; }
  /* Keep the hero mock on tablet/phone -- it is the page's strongest visual and most
     visitors arrive from a WhatsApp link on a phone. Drop the tilt so it stays readable. */
  .mock-tilt { transform: none; }
  .hero { padding: 58px 0 64px; }
  .compare { grid-template-columns: 1fr; gap: 14px; }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .modgrid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  /* clamp()'s 5.6vw term is only ~22px at phone width, so it floors at 2.5rem (40px) --
     far too big. "Run the whole factory" needs ~460px there against ~342px available. */
  h1 { font-size: 2rem; letter-spacing: -.03em; }
  h2 { font-size: 1.6rem; }
  .lede { font-size: 1.02rem; }
  .wrap { padding: 0 20px; }

  /* Full-width stacked buttons: bigger tap targets, no ragged wrap. */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* The flow is a horizontal row of ~383px inside ~286px -- it wraps and the connectors
     strand at line ends. Run it vertically instead, with the arrows pointing down. */
  .flowmock { flex-direction: column; padding: 26px 18px 44px; }
  .fnode { width: 100%; text-align: center; }
  .fline { width: 2px; height: 20px; }
  .fline::after {
    right: auto; left: -3px; top: auto; bottom: -1px;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 6px solid #323b64; border-bottom: 0;
  }

  /* Scrollable tab strip, without an ugly scrollbar sitting under it. */
  .tabs { scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  /* Stacked panels are taller than the floor anyway; keeping it only adds dead space. */
  .tab-panel.on { min-height: 0; }

  /* Buy back horizontal room inside the mockups. */
  .mock-th, .mock-tr { padding: 10px 12px; }
  .stagerow { padding: 11px 12px; }
  .mock-wo, .mock-foot { padding: 10px 12px; }
  .pdfmock { padding: 16px; }
  .pdf-total { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rule-line { font-size: .88rem; padding: 11px 13px; }

  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 62px 0; }
  .section-dark, .cta-section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }

  .tabs { width: 100%; justify-content: flex-start; overflow-x: auto; border-radius: 12px; flex-wrap: nowrap; }
  .tab { flex: 0 0 auto; }

  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  /* Two columns holds on a phone because each module is a label plus one short line. */
  .modgrid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .mod { padding: 12px 11px; gap: 9px; }
  .mod-ico { width: 25px; height: 25px; padding: 5px; border-radius: 7px; }
  .mod b { font-size: .85rem; }
  .mod span { font-size: .73rem; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 20px 18px; }
  .demo-band { padding: 38px 22px 32px; }
  .demo-band-actions .btn { width: 100%; }

  /* The mock's sidebar costs 132px that a phone cannot spare -- drop it and keep the
     dashboard content, which is the part that actually sells. */
  .mock-side { display: none; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-stats { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .mock-stat { padding: 9px 8px; }
  .mock-stat b { font-size: 1.1rem; }

  .cta-buttons .btn { width: 100%; }

  /* One long stack of links made the footer enormous and ragged. Two columns, with the
     brand spanning both, reads as deliberate and halves the height. */
  .footer { padding: 46px 0 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }

  .mobile-cta { display: flex; box-shadow: 0 -6px 22px rgba(11, 16, 32, .13); }
  /* Clear the sticky bar with room to spare, so the last footer line is never tucked
     under it -- that overlap is what makes the footer look cut off. */
  body { padding-bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
