/* =========================================================
   Nexlev Retail — marketing site
   One stylesheet. Mobile-first. Vanilla CSS.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — Product Orange (matches the actual Nexlev Retail app) */
  --primary: #ff9f43;
  /* vibrant orange — main brand */
  --primary-600: #ff8a1f;
  /* deeper orange */
  --primary-700: #e67a00;
  /* rich orange */
  --primary-900: #c46200;
  /* dark orange */
  --primary-050: #fff5e8;
  /* soft orange tint */
  --primary-100: #ffe5c2;
  /* light orange */

  /* Accent — Secondary actions and highlights */
  --accent: #2563eb;
  /* modern blue */
  --accent-600: #1d4ed8;
  --accent-700: #1e40af;
  --accent-soft: #60a5fa;
  
  /* Supporting colors */
  --success: #10b981;
  /* emerald green */
  --success-soft: #d1fae5;
  --warning: #f59e0b;
  /* amber */
  --error: #ef4444;
  /* red */
  
  /* Gradients for modern look */
  --gradient-primary: linear-gradient(135deg, #ff9f43 0%, #ff8a1f 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-subtle: linear-gradient(135deg, #fff5e8 0%, #ffffff 100%);

  /* Neutrals — Cleaner, cooler palette */
  --bg: #ffffff;
  /* pure white page */
  --bg-2: #f8fafc;
  /* cool light gray */
  --bg-3: #f1f5f9;
  /* slightly darker */
  --surface: #ffffff;
  --ink: #0f172a;
  /* slate 900 — crisp dark text */
  --ink-2: #475569;
  /* slate 600 — muted text */
  --ink-3: #94a3b8;
  /* slate 400 — subtle text */
  --line: #e2e8f0;
  /* slate 200 — clean divider */
  --line-2: #cbd5e1;
  /* slate 300 */

  /* Effects — Modern, subtle shadows */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, .10), 0 4px 6px -4px rgba(15, 23, 42, .05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, .10), 0 8px 10px -6px rgba(15, 23, 42, .04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, .25);
  --shadow-accent: 0 10px 30px -8px rgba(255, 159, 67, .45);

  /* Decorative calligraphy for section kickers + title accents */
  --font-script: "Kaushan Script", "Great Vibes", "Segoe Script", cursive;
  --font-brush: "Caveat Brush", "Brush Script MT", cursive;

  --maxw: 1200px;
  --maxw-narrow: 800px;
  --measure: 65ch;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-bounce: cubic-bezier(.68, -0.55, .265, 1.55);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  /* Guard against accidental sideways scroll from decorative overflows.
     `clip` (unlike `hidden`) does not create a scroll container, so it
     leaves the sticky header working. */
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top .15s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.muted {
  color: var(--ink-2);
}

/* Section kicker — handwritten calligraphy label that introduces
   and visually separates each section. */
.eyebrow {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.9rem;
  font-weight: 400;
  /* script glyphs have long ascenders/descenders — give them room
     so they don't clip or crowd the heading underneath */
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--primary-700);
  margin-bottom: 6px;
  padding: 0;
  background: none;
  border-radius: 0;
}

.eyebrow.on-dark {
  color: var(--primary);
  background: none;
}

/* The hero kicker is a long category line, so keep it as the
   original compact uppercase tag (script would be unreadable there). */
.hero .eyebrow {
  font-family: inherit;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  background: #eff6ff; /* soft complimenting blue */
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 12px;
  border: none;
  background: var(--btn-bg);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-accent);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff8a1f 0%, #e67a00 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 12px 40px -10px rgba(255, 159, 67, .6);
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.08rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 12px 20px;
  font-size: .9rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn-text {
  background: none;
  color: var(--primary);
  padding: 14px 8px;
  font-weight: 600;
  box-shadow: none;
  border-radius: 8px;
}

.btn-text:hover {
  background: var(--primary-050);
  transform: none;
  box-shadow: none;
}

/* =========================================================
   1. HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(29, 33, 48, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-name-accent {
  color: var(--ink-2);
  font-weight: 700;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: 6px 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: right .22s var(--ease);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after {
  right: 0;
}

.nav-list a[aria-current="page"] {
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
  background:
    radial-gradient(900px 400px at 70% -20%, rgba(255, 159, 67, .07), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: var(--maxw-narrow);
}

.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 16px;
}

.page-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: var(--ink-2);
  max-width: var(--measure);
}

/* Compact page intro — flows into first content section (e.g. features page) */
.page-intro-section {
  padding-top: clamp(20px, 4vw, 40px) !important;
}

.page-intro {
  max-width: 42rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-intro .eyebrow {
  margin-bottom: 12px;
}

.page-intro-title {
  /* Page H1 must outrank in-page .section-title H2s below it (max 3rem) —
     stays just under the homepage .hero-title (max 3.5rem). */
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-intro-lead {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: var(--measure);
}

.section-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-subhead h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.section-subhead p {
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 38ch;
  margin: 0;
  line-height: 1.6;
}

.section-subhead.is-spaced {
  margin-top: clamp(40px, 5vw, 56px);
}

.capabilities.page-section-tight {
  padding-top: clamp(32px, 4vw, 48px);
}

.supported-businesses.page-intro-section,
.resources.page-intro-section {
  padding-top: clamp(36px, 5vw, 56px);
}

.supported-businesses .page-intro,
.resources .page-intro {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.differentiator.page-section-tight {
  padding-top: clamp(32px, 4vw, 48px);
}

.lead-magnet.lead-magnet-compact {
  margin-top: 0;
}

.lead-magnet.lead-magnet-compact .lead-magnet-copy {
  display: none;
}

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 60px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(255, 159, 67, .08), transparent 60%),
    radial-gradient(760px 420px at 8% 0%, rgba(37, 99, 235, .06), transparent 55%),
    var(--bg);
}

.hero-inner {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}

/* Prevent grid blowout from horizontal scroll children (like .pay-row) */
.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  letter-spacing: -.03em;
  margin-bottom: 20px;
  max-width: 16ch;
}

/* Hero headline: the calligraphy accent sits on its own line (see the
   <br> in the markup) and is sized to fit, so the bold headline and the
   script read as two cleanly aligned lines rather than colliding. */
.hero-title .hero-highlight {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1.08;
  margin-top: 8px;
}

/* Hand-drawn arrow doodle that fills the trailing whitespace after the
   short "Like a Pro" line and points the eye toward the hero photo. */
.hero-title-flourish {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  margin-bottom: 4px;
  color: var(--primary);
  opacity: .85;
}

.hero-highlight {
  font-family: var(--font-script);
  font-weight: 400;
  /* script glyphs read smaller, so scale up and give a little breathing room */
  font-size: 1.18em;
  letter-spacing: .01em;
  padding-right: .06em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.06rem, 2.2vw, 1.22rem);
  color: var(--ink-2);
  max-width: var(--measure);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 30px 0 18px;
}

.hero-reassure {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .96rem;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-reassure.on-dark {
  color: rgba(255, 255, 255, .82);
}

.reassure-icon {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

.hero-reassure.on-dark .reassure-icon {
  color: var(--primary);
}

/* --- Dashboard mockup --- */
.hero-visual {
  position: relative;
}

.device-glow {
  position: absolute;
  inset: -10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 159, 67, 0.15), transparent 70%);
  filter: blur(40px);
}

.dash {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 12px;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
}

.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.dash-tabs {
  display: flex;
  gap: 6px;
}

.dash-tab {
  font-size: .76rem;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg-2);
}

.dash-tab.is-active {
  background: var(--primary);
  color: #fff;
}

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

.dash-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.dash-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
  font-weight: 600;
}

.dash-sales {
  background: linear-gradient(160deg, var(--primary), #383caa);
  border: 0;
  color: #fff;
}

.dash-sales .dash-label {
  color: rgba(255, 255, 255, .78);
}

.dash-figure {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 4px;
}

.dash-trend {
  font-size: .78rem;
  margin-top: 2px;
}

.dash-trend.up {
  color: #9be7c4;
}

.dash-figure-sm {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 6px;
}

.dash-chart {
  display: grid;
  gap: 12px;
}

.dash-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-chip {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: #fdeae3;
  padding: 3px 9px;
  border-radius: 999px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 84px;
}

.bars span {
  flex: 1;
  height: var(--h);
  min-height: 6px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #c7cbf0, #9aa0e0);
}

.bars .bar-peak {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}

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

.dash-list ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 7px;
}

.dash-list li {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
}

.dash-list b {
  font-variant-numeric: tabular-nums;
}

.dash-alert {
  background: #fdeee9;
  border-color: #f6d3c6;
}

.dash-alert-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent-600);
}

.dash-alert-item {
  font-size: .8rem;
  color: var(--ink-2);
  margin-top: 6px;
}

.dash-alert-item b {
  color: var(--ink);
}

.dash-alert-btn {
  margin-top: 10px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  cursor: default;
}

/* =========================================================
   3. TRUST STRIP
   ========================================================= */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-inner {
  padding: 26px 20px;
  display: grid;
  gap: 18px;
  text-align: center;
}

.trust-lead {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}

.logo-row {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  align-items: center;
}

.logo-pill {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #9aa0b0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 9px 20px;
  background: var(--bg);
}

.trust-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 28px;
  font-size: .92rem;
  color: var(--ink-2);
}

.trust-stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.trust-proof b {
  color: var(--ink);
}

.trust-served {
  position: relative;
  padding-left: 28px;
}

.trust-served::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  transform: translateY(-50%);
}

/* =========================================================
   Shared section scaffolding
   ========================================================= */
.section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.section-head {
  max-width: 50ch;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head.center,
.problems .section-head,
.solutions .section-head,
.differentiator .section-head,
.customers .section-head,
.resources .section-head,
.benefits .section-head {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
}

.section-lead {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 1.15rem;
  max-width: 60ch;
  line-height: 1.7;
}

.problems .section-lead,
.solutions .section-lead,
.benefits .section-lead,
.differentiator .section-lead,
.customers .section-lead,
.resources .section-lead {
  margin-inline: auto;
}

.cards-3 {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

/* =========================================================
   4. PROBLEM ROWS (alternating layout)
   ========================================================= */
.problems {
  background: var(--bg-2);
}

.problem-rows {
  display: grid;
  gap: clamp(48px, 8vw, 80px);
}

.problem-row {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  grid-template-columns: 1fr;
}

.problem-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.problem-visual:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.problem-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.problem-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
}

.problem-copy {
  display: grid;
  gap: 14px;
}

.problem-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--error);
}

.problem-copy h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2;
}

.problem-desc {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 48ch;
}

.problem-solution {
  margin-top: 8px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--primary-100);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.solution-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-050);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.problem-solution p {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 900px) {
  .problem-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 64px);
  }

  .problem-row.reverse .problem-visual {
    order: 2;
  }

  .problem-row.reverse .problem-copy {
    order: 1;
  }
}

/* Legacy card styles kept for reduced-motion overrides */
.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.problem-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-050);
  color: var(--primary);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.problem-card p {
  color: var(--ink-2);
}

/* =========================================================
   5. SOLUTION ROWS (alternating layout)
   ========================================================= */
.solutions {
  background: var(--bg);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.solutions.page-intro-section {
  padding-top: clamp(36px, 5vw, 56px);
}

.solutions .section-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.solution-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 24px 28px;
  margin-bottom: clamp(48px, 8vw, 72px);
  background: var(--gradient-subtle);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-xl);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.flow-step-highlight {
  border-color: var(--primary);
  background: var(--primary-050);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-050);
  color: var(--primary-700);
}

.flow-step-highlight .flow-icon {
  background: var(--primary);
  color: #fff;
}

.flow-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.flow-arrow {
  font-size: 1.1rem;
  color: var(--ink-3);
  font-weight: 600;
}

/* =========================================================
   5. SOLUTION GRID (Compact layout)
   ========================================================= */
.solution-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card-v2 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all .3s var(--ease);
}

.solution-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.solution-panel-compact {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
}

.panel-chrome-mini {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.panel-chrome-mini .panel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

.panel-chrome-mini .panel-dot:first-child { background: #ef4444; }
.panel-chrome-mini .panel-dot:nth-child(2) { background: #f59e0b; }
.panel-chrome-mini .panel-dot:nth-child(3) { background: #10b981; }

.panel-body-mini {
  padding: 12px;
  min-height: 140px;
  display: grid;
}

.panel-main-mini {
  display: grid;
  gap: 8px;
  align-content: start;
}

.panel-head-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.panel-chip-mini {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-700);
  background: #fff;
  padding: 2px 8px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.panel-metric-mini {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.panel-metric-mini.success {
  color: var(--success);
  background: var(--success-soft);
}

.panel-line-mini {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.panel-line-mini b.warn { color: var(--warning); }

.panel-action-mini {
  text-align: center;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 8px;
  border-radius: 6px;
  box-shadow: var(--shadow-accent);
}

.panel-meter-mini {
  height: 6px;
  background: #fff;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.panel-meter-mini span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 100px;
}

.panel-figure-mini {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 4px 0;
}

.panel-bars-mini {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.panel-bars-mini span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: var(--primary-100);
}

.panel-bars-mini .peak {
  background: var(--gradient-primary);
}

.solution-copy-compact {
  display: grid;
  gap: 8px;
}

.solution-copy-compact .solution-kicker {
  font-size: 0.7rem;
  margin-bottom: 0;
}

.solution-copy-compact h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
}

.solution-copy-compact p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.solution-list-compact {
  margin-top: 4px;
  display: grid;
  gap: 8px;
}

.solution-list-compact li {
  font-size: 0.85rem;
  padding-left: 28px;
}

.solution-list-compact li::before {
  width: 18px;
  height: 18px;
  top: 1px;
}

/* Legacy solution rows */
.solution-rows {
  display: grid;
  gap: clamp(48px, 8vw, 80px);
}

.solution-row {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  grid-template-columns: 1fr;
}

.solution-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.solution-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.solution-panel-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.panel-dot:first-child { background: #ef4444; }
.panel-dot:nth-child(2) { background: #f59e0b; }
.panel-dot:nth-child(3) { background: #10b981; }

.panel-title {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.solution-panel-body {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 260px;
}

.panel-sidebar {
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

.panel-main {
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--bg-2);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.panel-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-700);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.panel-metric {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.panel-metric-fast {
  color: var(--primary-700);
  background: var(--primary-050);
}

.panel-metric-sync,
.panel-metric-up {
  color: var(--success);
  background: var(--success-soft);
}

.panel-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.panel-line b.ok { color: var(--success); }
.panel-line b.warn { color: var(--warning); }

.panel-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  padding: 6px 12px;
  font-size: 0.95rem;
}

.panel-action {
  text-align: center;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px;
  border-radius: 10px;
  margin-top: 4px;
  box-shadow: var(--shadow-accent);
}

.panel-status,
.panel-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
  margin-top: 4px;
}

.panel-alert {
  color: var(--warning);
}

.panel-meter {
  height: 8px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.panel-meter span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 999px;
}

.panel-figure {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.panel-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.panel-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: var(--primary-100);
}

.panel-bars .peak {
  background: var(--gradient-primary);
}

.panel-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--ink-2);
}

.panel-foot b {
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.solution-copy {
  display: grid;
  gap: 14px;
}

.solution-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
}

.solution-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.solution-headline h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 0;
}

.solution-stat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--primary-050);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
}

.solution-desc {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 48ch;
}

.solution-list {
  margin-top: 4px;
}

@media (min-width: 900px) {
  .solution-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 64px);
  }

  .solution-row.reverse .solution-panel {
    order: 2;
  }

  .solution-row.reverse .solution-copy {
    order: 1;
  }
}

/* Inline CTA */
.inline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 24px;
  margin-top: clamp(32px, 5vw, 48px);
  background: var(--gradient-subtle);
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-xl);
  text-align: center;
}

.inline-cta-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 12px;
  color: var(--ink);
}

.inline-cta-content p {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 auto;
}

.inline-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .inline-cta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .inline-cta-content {
    flex: 1;
  }
}

/* Legacy solution cards (kept for reference) */
.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solution-card h3 {
  font-size: 1.18rem;
  margin: 18px 4px 8px;
}

.solution-card p {
  color: var(--ink-2);
  padding-inline: 4px;
}

/* Mini product screenshots inside solution cards */
.shot {
  border-radius: var(--radius-sm);
  padding: 14px;
  min-height: 168px;
  display: grid;
  gap: 9px;
  align-content: start;
  background: linear-gradient(165deg, var(--primary-050), #ffffff);
  border: 1px solid var(--line);
}

.shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shot-pill {
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary-700);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.shot-time,
.shot-sync,
.shot-up {
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
}

.shot-sync {
  color: var(--success);
}

.shot-up {
  color: var(--success);
}

.shot-line {
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  background: #fff;
  padding: 9px 11px;
  border-radius: 9px;
}

.shot-line b.ok {
  color: #1c8a5b;
}

.shot-line b.warn {
  color: var(--accent-600);
}

.shot-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  padding: 4px 11px;
}

.shot-cta {
  text-align: center;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: .84rem;
  padding: 9px;
  border-radius: 9px;
  margin-top: auto;
}

.shot-meter {
  height: 8px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.shot-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}

.shot-figure {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.shot-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.shot-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: #c7cbf0;
}

.shot-bars .peak {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}

/* =========================================================
   6. FEATURES
   ========================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 84px);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-kicker {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 12px;
}

.feature-kicker.on-dark {
  color: var(--accent-soft);
}

.feature-text h3 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin-bottom: 14px;
}

.feature-text>p {
  color: var(--ink-2);
  max-width: var(--measure);
  font-size: 1.06rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #e3f3ea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' stroke='%231c8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.ticks.on-dark li {
  color: rgba(255, 255, 255, .92);
}

.ticks.on-dark li::before {
  background-color: rgba(255, 255, 255, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' stroke='%23ffd9c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-text .btn {
  margin-top: 26px;
}

.feature-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  background: var(--primary-050);
  border: 1px solid #dcdef6;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .96rem;
  color: var(--primary-700);
  max-width: 54ch;
}

.feature-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

/* Feature mockups */
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: .95rem;
}

.mock-chip {
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-050);
  padding: 4px 11px;
  border-radius: 999px;
}

.mock-chip.ok {
  color: #1c8a5b;
  background: #e3f3ea;
}

.mock-figure {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 14px 0 18px;
}

.mock-up {
  font-size: .9rem;
  font-weight: 700;
  color: #1c8a5b;
  vertical-align: middle;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 130px;
}

.mock-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #c7cbf0, #9aa0e0);
}

.mock-bars .peak {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}

.mock-foot {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: .86rem;
  color: var(--ink-2);
}

.mock-foot b {
  color: var(--ink);
}

.mock-integrations .mock-head {
  margin-bottom: 18px;
}

.integration-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.integration-grid li {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-2);
  padding: 14px 6px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
}

.int-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 700;
  color: #9aa0b0;
}

/* Support feature (emphasised, dark) */
.feature-feature {
  background: linear-gradient(155deg, var(--primary-900), var(--primary-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

.feature-feature .feature-text h3 {
  color: #fff;
}

.feature-feature .feature-text>p {
  color: rgba(255, 255, 255, .82);
}

.mock-support {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.support-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .95);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
}

.support-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #162132;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.support-name {
  font-weight: 700;
  font-size: .94rem;
}

.support-role {
  font-size: .78rem;
  color: var(--ink-2);
}

.support-status {
  margin-left: auto;
  color: #28c281;
  font-size: 1.1rem;
}

.support-msg {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: .9rem;
}

.support-msg.them {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.support-msg.you {
  background: var(--accent);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.mock-support {
  display: grid;
  gap: 10px;
}

/* =========================================================
   7. BENEFITS / ROI
   ========================================================= */
.benefits {
  background: var(--bg-2);
}

.benefits.page-intro-section {
  padding-top: clamp(36px, 5vw, 56px);
}

.benefits .page-intro {
  margin-bottom: clamp(36px, 4vw, 48px);
}

.roi-illustration {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}

.roi-illustration::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}

.roi-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.roi-statement {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.roi-highlight {
  color: var(--accent-600);
}

.roi-note {
  margin-top: 16px;
  color: var(--ink-2);
}

.roi-columns {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.roi-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.roi-col-goals {
  background: var(--primary-050);
  border-color: #dcdef6;
}

.roi-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.16rem;
}

.roi-col .roi-col-head svg {
  color: #1c8a5b;
}

.roi-col-goals .roi-col-head svg {
  color: var(--primary);
}

.roi-col-sub {
  color: var(--ink-2);
  font-size: .9rem;
  margin: 6px 0 18px;
}

.roi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.roi-list li {
  padding-left: 26px;
  position: relative;
}

.roi-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.roi-col-goals .roi-list li::before {
  background: var(--primary);
}

.roi-list b {
  color: var(--accent-600);
}

.switch-block {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: left;
}

.switch-block h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.switch-block>p {
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 auto;
}

.switch-steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 0;
  text-align: left;
}

.switch-step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.switch-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.switch-illustration {
  overflow: hidden;
  background: var(--gradient-subtle);
  border-bottom: 1px solid var(--line);
}

.switch-illustration img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* UI-mockup panels for the onboarding steps — same mocked-interface
   language as .mock/.mock-support elsewhere, kept consistent with the
   photo + script aesthetic instead of introducing a third illustration
   style. */
.switch-mock {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.switch-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.switch-mock-file {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}

.switch-mock-file svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Each panel gets its own focal point (figure / badges / seal) rather
   than three copies of the same row list, so the steps read as distinct
   moments instead of one repeated template. */
.switch-mock-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.switch-mock-figure {
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

.switch-mock-figure span {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-top: 4px;
}

.switch-mock-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.switch-mock-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-primary);
}

.switch-mock-badges {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.switch-mock-badge {
  position: relative;
  width: clamp(44px, 14vw, 56px);
  height: clamp(44px, 14vw, 56px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.switch-mock-badge.tone-orange {
  background: var(--primary-050);
  color: var(--primary-700);
}

.switch-mock-badge.tone-blue {
  background: #f0f9ff;
  color: #0369a1;
}

.switch-mock-badge.tone-green {
  background: #f0fdf4;
  color: #15803d;
}

.switch-mock-badge .badge-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1c8a5b;
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
}

.switch-mock-badge-labels {
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding: 0;
  margin: 0;
  text-align: center;
}

.switch-mock-badge-labels li {
  flex: 1;
  font-size: .74rem;
  font-weight: 700;
  color: var(--ink-2);
}

.switch-mock-seal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0 auto;
  box-shadow: var(--shadow-accent);
}

.switch-mock-seal span {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.switch-mock-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 46px;
}

.switch-mock-bars span {
  flex: 1;
  max-width: 18px;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #c7cbf0, #9aa0e0);
}

.switch-mock-bars .peak {
  background: var(--gradient-primary);
}

.switch-mock-foot {
  font-size: .82rem;
  color: var(--ink-2);
  margin: 0;
}

.switch-mock-foot b {
  color: var(--ink);
}

.switch-step-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}

.switch-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.switch-step p {
  font-size: .96rem;
  color: var(--ink-2);
}

.switch-step b {
  color: var(--ink);
}

/* =========================================================
   8. DIFFERENTIATOR
   ========================================================= */
.compare {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}

.compare-col {
  border-radius: var(--radius);
  padding: 28px;
}

.compare-them {
  background: var(--surface);
  border: 1px solid var(--line);
}

.compare-us {
  background: linear-gradient(155deg, var(--primary-900), var(--primary-700));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.compare-head {
  font-weight: 800;
  font-size: 1.16rem;
  margin-bottom: 18px;
}

.compare-them .compare-head {
  color: var(--ink-2);
}

.compare-head svg {
  margin-bottom: 8px;
  color: var(--primary);
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.compare-them .compare-list li {
  color: var(--ink-2);
}

.compare-us .compare-list li {
  color: rgba(255, 255, 255, .92);
}

.compare-list .x,
.compare-list .c {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 800;
  font-size: .82rem;
}

.compare-list .x {
  background: #f0ebe2;
  color: #a39685;
}

.compare-list .c {
  background: var(--accent);
  color: #fff;
}

.diff-quote {
  max-width: 760px;
  margin: clamp(34px, 4vw, 52px) auto 0;
  text-align: center;
}

.diff-quote blockquote {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink);
}

.diff-quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  text-align: left;
}

.quote-avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  color: #9aa0b0;
  font-size: .78rem;
  flex: none;
}

.quote-avatar.sm {
  width: 40px;
  height: 40px;
}

.quote-avatar.tone-orange {
  background: var(--primary-050);
  color: var(--primary-700);
  border: none;
  font-weight: 700;
}

.quote-avatar.tone-blue {
  background: #f0f9ff;
  color: #0369a1;
  border: none;
  font-weight: 700;
}

.quote-avatar.tone-green {
  background: #f0fdf4;
  color: #15803d;
  border: none;
  font-weight: 700;
}

.quote-avatar.tone-purple {
  background: #f5f3ff;
  color: #6d28d9;
  border: none;
  font-weight: 700;
}

.quote-avatar.tone-red {
  background: #fff1f2;
  color: #be123c;
  border: none;
  font-weight: 700;
}

.quote-avatar.tone-pink {
  background: #fdf2f8;
  color: #9d174d;
  border: none;
  font-weight: 700;
}

/* =========================================================
   9. CUSTOMERS
   ========================================================= */
.customers {
  background: var(--bg-2);
}

.case-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: #fdeae3;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.case-snapshot {
  font-size: .98rem;
  margin-bottom: 16px;
}

.case-dl {
  display: grid;
  gap: 4px;
  margin: 0;
}

.case-dl dt {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-2);
  margin-top: 12px;
}

.case-dl dt:first-child {
  margin-top: 0;
}

.case-dl dd {
  margin: 0;
  color: var(--ink-2);
  font-size: .95rem;
}

.case-stat {
  color: var(--accent-600);
  font-size: 1.05rem;
}

.case-quote {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.case-quote blockquote {
  font-size: .98rem;
  font-style: italic;
  color: var(--ink);
}

.case-quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: .86rem;
}

.testimonial-row {
  list-style: none;
  padding: 4px 20px 16px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  margin-inline: -20px; /* full bleed */
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 85%, 380px); /* 85% on small, max 380px on large */
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.testimonial-row::-webkit-scrollbar {
  display: none;
}

.testimonial-row > .testimonial {
  scroll-snap-align: center;
  margin: 0;
}

/* ---------- Google Business card style ---------- */
.g-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

.g-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

/* Top row: avatar | name+date */
.g-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-card-top .quote-avatar {
  width: 42px;
  height: 42px;
  flex: none;
}

.g-card-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.g-card-meta b {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.3;
}

.g-date {
  font-size: .72rem;
  color: var(--ink-2);
}

/* 5 stars */
.g-stars {
  color: #FBBC05;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}

/* Review text */
.g-text {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
}

/* Business source line */
.g-source {
  font-size: .75rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
}

.g-source strong {
  color: var(--ink);
  font-weight: 600;
}

/* Legacy alias kept for backwards compat with grid selector */
.testimonial {
  /* Inherit layout from generic class but styles from g-card */
}

.testimonials {
  padding-top: 0;
}

/* Testimonial slider is horizontal on all sizes */

/* =========================================================
   10. RESOURCES
   ========================================================= */
.article-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 24px;
}

.article-thumb {
  height: 150px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .92);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .82rem;
}

.article-thumb span {
  background: rgba(0, 0, 0, .16);
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.thumb-1 {
  background: linear-gradient(150deg, #3a3ea6, #6a6fd8);
}

.thumb-2 {
  background: linear-gradient(150deg, #1d8a6a, #46c39a);
}

.thumb-3 {
  background: linear-gradient(150deg, var(--accent), var(--accent-soft));
}

.article-kicker {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-600);
  margin: 20px 22px 8px;
}

.article-card h3 {
  font-size: 1.2rem;
  margin: 0 22px 8px;
}

.article-card p {
  color: var(--ink-2);
  margin: 0 22px;
  font-size: .96rem;
}

.article-more {
  display: inline-block;
  margin: 16px 22px 0;
  font-weight: 600;
  color: var(--primary);
  font-size: .94rem;
}

.article-card:hover .article-more {
  color: var(--accent-600);
}

.lead-magnet {
  margin-top: clamp(34px, 4vw, 52px);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: center;
  background: linear-gradient(155deg, var(--primary-900), var(--primary-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}

.lead-magnet h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 6px 0 10px;
}

.lead-magnet-copy p {
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form .field label {
  color: rgba(255, 255, 255, .9);
}

.lead-form input {
  background: rgba(255, 255, 255, .95);
}

/* =========================================================
   Forms
   ========================================================= */
.field {
  display: grid;
  gap: 7px;
  text-align: left;
}

.field label {
  font-size: .88rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.field input::placeholder {
  color: #a6a294;
}

.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 44, 113, .16);
}

.form-micro {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: var(--ink-2);
}

.form-micro svg {
  flex: none;
  margin-top: 1px;
  color: var(--ink-2);
}

.lead-form .form-micro {
  color: rgba(255, 255, 255, .74);
}

/* =========================================================
   11. FINAL CTA
   ========================================================= */
.final-cta {
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(255, 159, 67, .18), transparent 60%),
    linear-gradient(160deg, #0f172a, #1e293b);
  color: #fff;
  padding: clamp(40px, 8vw, 100px) 0;
}

.final-cta-inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: 16px;
  /* the base heading colour is dark ink — force white so "Book a … ."
     reads against the dark CTA background (the script accent keeps its
     own gradient colour) */
  color: #fff;
}

.final-cta-sub {
  color: rgba(255, 255, 255, .84);
  font-size: 1.1rem;
  max-width: 48ch;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.cta-points li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .92);
}

.cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' stroke='%23ffd9c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.cta-benefits {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.cta-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cta-benefit-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 159, 67, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.cta-benefit p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}

.final-cta-socials {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.socials-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -6px rgba(255, 159, 67, 0.6);
}

.demo-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}

.demo-form h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.demo-form .btn {
  margin-top: 4px;
}

/* =========================================================
   12. FOOTER
   ========================================================= */
.site-footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, .7);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-inner {
  display: grid;
  gap: 32px;
  /* minmax(0, …) lets tracks shrink below their content's intrinsic
     width so long emails wrap instead of pushing the page sideways */
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 24px;
}

.brand-footer {
  color: #fff;
}

.brand-footer .brand-mark {
  background: var(--primary);
}

.footer-tagline {
  margin: 14px 0 18px;
  max-width: 34ch;
  font-size: .95rem;
}

.footer-signup {
  display: flex;
  gap: 8px;
  max-width: 380px;
}

.footer-signup input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.footer-signup input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.footer-signup input:focus-visible {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(255, 122, 85, .3);
}

.footer-nav {
  display: grid;
  gap: 28px;
  /* minmax(0, …) prevents long words/emails from forcing the track wider */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .94rem;
  transition: color .15s var(--ease);
  /* long email addresses must wrap instead of forcing the column wider */
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  font-size: .8rem;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, .16);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  font-size: .84rem;
}

.legal-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 22px;
}

.legal-links a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.legal-links a:hover {
  color: #fff;
}

/* Compact, tidy footer for phones.
   Placed after the base footer rules so these overrides win on source order. */
@media (max-width: 719px) {
  .site-footer {
    padding-top: 40px;
  }

  .footer-inner {
    gap: 26px;
    padding-bottom: 22px;
  }

  .footer-tagline {
    margin: 10px 0 14px;
    font-size: .9rem;
  }

  .footer-nav {
    gap: 22px 18px;
  }

  .footer-nav .footer-col:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: .8rem;
  }

  .footer-col ul {
    gap: 9px;
  }

  .footer-col a {
    font-size: .92rem;
  }

  /* Legal bar: stack and centre so copyright + links read cleanly.
     Extra bottom space keeps text clear of the floating WhatsApp button. */
  .footer-legal {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 92px;
  }

  .legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }
}

/* =========================================================
   Reveal-on-scroll animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .btn:hover,
  .problem-card:hover,
  .problem-visual:hover,
  .solution-panel:hover,
  .solution-card-v2:hover,
  .solution-card:hover,
  .case-card:hover,
  .article-card:hover,
  .switch-step:hover {
    transform: none;
  }
}

/* =========================================================
   Responsive — tablet & up
   ========================================================= */
@media (min-width: 720px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .roi-columns {
    grid-template-columns: 1fr 1fr;
  }

  .compare {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .testimonial-row {
    gap: 24px;
    grid-auto-columns: 380px;
  }

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

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lead-magnet {
    grid-template-columns: 1.1fr 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .lead-form .form-micro {
    grid-column: 1 / -1;
  }
}

@media (min-width: 940px) {
  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
  }

  .feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row.reverse .feature-text {
    order: 2;
  }

  .feature-feature {
    grid-template-columns: 1.05fr .95fr;
  }

  .final-cta-inner {
    grid-template-columns: 1.05fr .95fr;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  }

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

/* =========================================================
   Responsive — mobile nav
   ========================================================= */
@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  /* Backdrop scrim behind the open drawer so page content doesn't
     bleed through underneath it. */
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 70px 0 0 0;
    background: rgba(15, 23, 42, .45);
    z-index: 80;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line-2);
  }

  .nav-list a {
    display: block;
    padding: 15px 4px;
    font-size: 1.05rem;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
    padding: 15px;
  }

  /* hamburger -> X */
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

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

/* Small phones: tighten the dashboard so it never overflows */
@media (max-width: 420px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-sales {
    grid-column: 1 / -1;
  }

  .logo-hide-sm {
    display: none;
  }

  /* Tighten footer nav gaps on small phones */
  .footer-nav {
    gap: 18px 14px;
  }

  /* Newsletter signup fits the full width so the input never gets squeezed */
  .footer-signup {
    max-width: 100%;
  }
}

/* =========================================================
   Localization + imagery (Kenya / East Africa revision)
   ========================================================= */

/* Brand locale chip */
.brand-locale {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1.4;
  align-self: center;
}

/* Payment methods row (hero) */
.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 18px;        /* tighter than before */
}

.pay-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  margin-right: 2px;
}

.pay-pill {
  font-size: .70rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pay-pill.etims {
  color: var(--accent-600);
  background: #fdeae3;
  border-color: #f6d3c6;
}

/* Hero accent photo (overlaps the dashboard on desktop) */
.hero-photo {
  position: absolute;
  left: -16px;
  bottom: -32px;
  width: 205px;
  margin: 0;
  z-index: 3;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 142px;
  object-fit: cover;
}

.hero-photo-cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: .66rem;
  font-weight: 600;
  color: #fff;
  background: rgba(21, 23, 58, .82);
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Trust strip eTIMS badge */
.trust-etims {
  position: relative;
  padding-left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-etims::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  transform: translateY(-50%);
}

.trust-etims .dot {
  color: #1c8a5b;
  font-size: .68rem;
}

/* =========================================================
   6. DEPARTMENTAL HUBS (Capabilities)
   ========================================================= */
.hub-container {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .hub-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hub-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 8px;
}

.hub-text h3 {
  /* Calligraphy + a tonal color (instead of the icon badge that used to
     sit here) is what now separates the category heading from the
     .cap-info h4 card titles in the list below it. Script glyphs read
     smaller than the sans-serif body, so size and spacing are tuned up
     to match, the same way .eyebrow does. */
  font-size: clamp(1.7rem, 3.2vw, 2.1rem);
  letter-spacing: .01em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hub-text p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-cards {
  display: grid;
  gap: 16px;
}

.cap-card-v2 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: all .3s var(--ease);
}

.cap-card-v2:hover {
  transform: translateX(6px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}

.cap-icon-v2 {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink-2);
  flex-shrink: 0;
  transition: all .3s var(--ease);
}

.cap-card-v2:hover .cap-icon-v2 {
  background: var(--primary);
  color: #fff;
}

.cap-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.cap-info p {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Legacy grid styles kept for reference or cleanup */
.cap-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

/* Integration logos sized to fit text labels (M-PESA, eTIMS, …) */
.int-logo {
  width: auto;
  min-width: 52px;
  height: 36px;
  padding: 0 10px;
  font-size: .64rem;
  letter-spacing: .02em;
}

/* Case-study photos */
.case-photo {
  display: block;
  width: calc(100% + 52px);
  height: 188px;
  object-fit: cover;
  object-position: center 30%;
  margin: -26px -26px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Photo avatars in quotes */
.quote-avatar.has-img {
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #1d2130;
}

.quote-avatar.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Resource card photos with readable overlay */
.article-thumb {
  position: relative;
  overflow: hidden;
}

.article-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 23, 58, .12), rgba(21, 23, 58, .58));
}

.article-thumb span {
  position: relative;
  z-index: 1;
}

/* Footer address line */
.footer-addr {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
}

/* Hero photo: sit it static under the dashboard on stacked layouts */
@media (max-width: 939px) {
  .hero-photo {
    position: static;
    width: min(64%, 260px);
    margin: 16px auto 0;
  }

  .hero-photo img {
    height: 130px;
  }
}

/* Hero visual with realistic image and floating chips */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.float-chip {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: heroFloat 5s ease-in-out infinite;
}

.float-a {
  top: 15%;
  left: -10%;
}

.float-b {
  top: 25%;
  right: -5%;
  animation-delay: 0.7s;
}

.float-c {
  bottom: 15%;
  left: -5%;
  animation-delay: 1.4s;
}

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.chip-icon.success {
  background: var(--success-soft);
  color: var(--success);
}

.chip-icon.warning {
  background: #fffbeb;
  color: var(--warning);
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.chip-sub {
  font-size: 0.75rem;
  color: var(--ink-2);
}

/* Below 940px the chips no longer have room to float outside the photo,
   so they tuck inside its corners instead of disappearing — losing them
   entirely would leave the photo with no tie back to the product. */
@media (max-width: 940px) {
  .float-chip {
    max-width: 122px;
    padding: 7px 9px;
    gap: 6px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
  }

  .float-a {
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
  }

  .float-b {
    top: 10px;
    right: 10px;
    left: auto;
    bottom: auto;
  }

  .float-c {
    bottom: 10px;
    left: 10px;
    top: auto;
    right: auto;
  }

  .float-chip .chip-icon {
    width: 20px;
    height: 20px;
  }

  .float-chip .chip-icon svg {
    width: 10px;
    height: 10px;
  }

  .float-chip .chip-title {
    font-size: .66rem;
    line-height: 1.2;
  }

  .float-chip .chip-sub {
    font-size: .58rem;
    line-height: 1.2;
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (min-width: 940px) {
  .hero-image {
    max-width: 560px;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-illustration .float-a {
    animation: heroFloat 5s ease-in-out infinite;
  }

  .hero-illustration .float-b {
    animation: heroFloat 6.2s ease-in-out infinite .7s;
  }

  .hero-illustration .float-c {
    animation: heroFloat 5.4s ease-in-out infinite 1.1s;
  }
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* =========================================================
   Platform revision: capability badges, edge grid (offline /
   M-Pesa / eTIMS), personas, FAQ, sticky mobile CTA
   ========================================================= */

/* Capability badges in the trust strip */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}

.trust-badge svg {
  flex: none;
}

.trust-badge.is-orange {
  color: var(--accent-600);
  background: var(--tint-orange);
  border-color: #f6dcc2;
}

.trust-badge .pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

/* Pay-row: add an "offline" variant pill */
.pay-pill.offline {
  color: var(--primary);
  background: var(--primary-050);
  border-color: #d8dbf3;
}

/* Section intro that allows a kicker + supporting note */
.section-kicker {
  color: var(--accent-600);
}

/* ---- Edge grid: built for Kenyan trading conditions (bento) ---- */
.edge-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.edge-feature {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, var(--primary-900), var(--primary-700));
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}

.edge-feature::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 67, .35), transparent 70%);
}

.edge-feature .edge-eyebrow {
  color: var(--brand-orange);
}

.edge-feature h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 12px 0 12px;
  position: relative;
}

.edge-feature p {
  color: rgba(255, 255, 255, .84);
  max-width: 46ch;
  position: relative;
}

.edge-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.offline-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  position: relative;
}

.offline-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 9px 15px;
}

.offline-chip .pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.offline-chip .pip.off {
  background: var(--accent-soft);
}

.offline-chip .pip.on {
  background: #28c281;
}

@media (prefers-reduced-motion: no-preference) {
  .offline-chip .pip.on {
    animation: syncPulse 1.8s ease-out infinite;
  }
}

@keyframes syncPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(40, 194, 129, .55);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(40, 194, 129, 0);
  }
}

.edge-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.edge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.edge-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--tint-orange);
  color: var(--accent-600);
  margin-bottom: 16px;
}

.edge-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.edge-card p {
  color: var(--ink-2);
  font-size: .96rem;
}

.edge-card .edge-meta {
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 860px) {
  .edge-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
  }

  .edge-feature {
    grid-row: 1 / span 2;
  }
}

/* ---- Personas: who it's for ---- */
.persona-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.persona-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.persona-card.is-highlight {
  border-color: #f0d9c4;
  box-shadow: 0 0 0 1px #f0d9c4, var(--shadow);
}

.persona-badge {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--primary-050);
  color: var(--primary);
  margin-bottom: 16px;
}

.persona-role {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 4px;
}

.persona-card h3 {
  font-size: 1.22rem;
  margin-bottom: 14px;
}

@media (min-width: 820px) {
  .persona-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- FAQ (native <details>, styled) ---- */
.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}

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

.faq-item summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
  border-radius: var(--radius);
}

.faq-toggle {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint-orange);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent-600);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faq-toggle::before {
  width: 11px;
  height: 2.4px;
}

.faq-toggle::after {
  width: 2.4px;
  height: 11px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
  max-width: 66ch;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer {
    animation: faqIn .28s var(--ease);
  }
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Sticky mobile CTA bar (thumb-reachable) ---- */
.mobile-cta {
  display: none;
}

@media (max-width: 880px) {
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(29, 33, 48, .5);
  }

  .mobile-cta .mobile-cta-note {
    font-size: .76rem;
    color: var(--ink-2);
    line-height: 1.25;
    flex: 1;
  }

  .mobile-cta .btn {
    flex: none;
  }

  /* only reserve space when a sticky CTA bar is actually present —
     otherwise this left an empty strip below the footer */
  body:has(.mobile-cta) {
    padding-bottom: 84px;
  }
}

/* ---- Creative orange touches that echo the app brand ---- */
/* ---------- Supported Businesses ---------- */
.business-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
}

.business-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.business-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.business-card:hover .business-image img {
  transform: scale(1.05);
}

.device-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.business-content {
  padding: 25px;
}

.business-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.business-content p {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.bars .bar-peak,
.shot-bars .peak,
.mock-bars .peak {
  background: linear-gradient(180deg, var(--brand-orange), var(--accent));
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  color: white;
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* =========================================================
   Mobile homepage polish (phones ≤600px)
   Tighter hierarchy, full-width actions, neater groupings.
   Tablet & desktop are unaffected.
   ========================================================= */
@media (max-width: 600px) {
  /* Hero CTAs: stack into a clear, full-width primary action */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .btn-primary {
    width: 100%;
  }

  .hero-actions .btn-text {
    width: 100%;
    justify-content: center;
  }

  /* Eyebrow: tighter tracking so the locale line wraps neatly */
  .hero .eyebrow {
    letter-spacing: .06em;
    line-height: 1.5;
  }

  /* Payment row — single-line horizontal scroll strip on mobile */
  .pay-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-top: 16px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
            mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }

  .pay-row::-webkit-scrollbar {
    display: none;
  }

  .pay-label {
    flex: none;
    margin: 0;
  }

  /* Give the hero image a little more separation from the copy */
  .hero-visual {
    margin-top: 8px;
  }

  /* Capability badges — horizontal scroll strip on small screens */
  .trust-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 6px;
    /* Hide scrollbar on WebKit/Firefox while keeping it functional */
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE / Edge */
    /* Fade hint on the right so users know they can scroll */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
            mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  .trust-badges::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari */
  }

  .trust-badge {
    flex: none;                     /* prevent badges from shrinking */
    justify-content: center;
    white-space: nowrap;
  }

  /* Smaller, tighter-tucked so it intrudes less on content underneath
     as the page scrolls */
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* =========================================================
   Calligraphy & Brush Stroke Enhancements
   ========================================================= */

.font-calligraphy {
  font-family: var(--font-script) !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.font-brush {
  font-family: var(--font-brush) !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* Brush stroke highlights using SVG displacement filters defined in HTML */
.brush-highlight-dry,
.brush-highlight-wet,
.brush-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.brush-highlight-dry::before,
.brush-highlight-wet::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 15%;
  bottom: 2%;
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
  opacity: 0.9;
}

.brush-highlight-dry::before {
  background-color: var(--primary-100);
  filter: url(#dry-brush-edge);
}

.brush-highlight-wet::before {
  background: linear-gradient(100deg, var(--primary-100) 0%, #ffe5c2 100%);
  filter: url(#wet-paint-edge);
  transform: rotate(0.8deg);
  top: 25%;
  bottom: -4px;
}

/* Light / dark mode support for brush background colors */
.on-dark.brush-highlight-dry::before {
  background-color: rgba(255, 159, 67, 0.25) !important;
}
.on-dark.brush-highlight-wet::before {
  background: linear-gradient(100deg, rgba(255, 159, 67, 0.25) 0%, rgba(255, 229, 194, 0.2) 100%) !important;
}

.brush-underline::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -6px;
  height: 6px;
  background-color: var(--primary);
  filter: url(#dry-brush-edge);
  transform: rotate(-0.5deg);
  z-index: -1;
}

/* Text Gradients */
.text-gradient-primary {
  background: var(--gradient-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

.text-gradient-accent {
  background: var(--gradient-accent) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

.text-gradient-sunset {
  background: linear-gradient(135deg, #ff8a1f 0%, #ec4899 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

.text-gradient-ocean {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

.text-primary-solid {
  color: var(--primary-600) !important;
  -webkit-text-fill-color: var(--primary-600) !important;
}

.text-accent-solid {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

.text-success-solid {
  color: #15803d !important;
  -webkit-text-fill-color: #15803d !important;
}

/* Dynamic Multicolor word styling */
.multicolor-words span,
.multicolor-words b {
  display: inline-block;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.multicolor-words span:nth-child(5n+1) {
  color: var(--primary-600) !important;
  -webkit-text-fill-color: var(--primary-600) !important;
}
.multicolor-words span:nth-child(5n+2) {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}
.multicolor-words span:nth-child(5n+3) {
  color: var(--success) !important;
  -webkit-text-fill-color: var(--success) !important;
}
.multicolor-words span:nth-child(5n+4) {
  /* deeper amber than --warning so the word stays legible on a light bg */
  color: #d97706 !important;
  -webkit-text-fill-color: #d97706 !important;
}
.multicolor-words span:nth-child(5n+5) {
  color: #ec4899 !important; /* Pink */
  -webkit-text-fill-color: #ec4899 !important;
}

/* Dynamic Multicolor letter styling */
.multicolor-letters span {
  display: inline-block;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}
.multicolor-letters span:nth-child(5n+1) {
  color: var(--primary-600) !important;
  -webkit-text-fill-color: var(--primary-600) !important;
}
.multicolor-letters span:nth-child(5n+2) {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}
.multicolor-letters span:nth-child(5n+3) {
  color: var(--success) !important;
  -webkit-text-fill-color: var(--success) !important;
}
.multicolor-letters span:nth-child(5n+4) {
  color: var(--warning) !important;
  -webkit-text-fill-color: var(--warning) !important;
}
.multicolor-letters span:nth-child(5n+5) {
  color: #ec4899 !important;
  -webkit-text-fill-color: #ec4899 !important;
}

/* ==========================================================
   NAV DROPDOWN — Industries menu
   ========================================================== */
.nav-has-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: var(--ink);
  padding: 0;
  text-decoration: none;
}

.nav-dropdown-toggle svg { transition: transform 0.2s ease; flex-shrink: 0; }

.nav-has-dropdown:hover .nav-dropdown-toggle svg,
.nav-has-dropdown:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px -8px rgba(15,23,42,0.16);
  min-width: 250px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
  list-style: none;
  margin: 0;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.14s;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
  background: var(--primary-050, #fff5e8);
  color: var(--primary-700, #e67a00);
}

.nav-dropdown li a::after { display: none !important; }

.nav-dropdown-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-050, #fff5e8);
  color: var(--primary-700, #e67a00);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor;
}

@media (max-width: 880px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 0 16px;
    background: transparent;
    display: none;
  }
  .nav-has-dropdown.is-open .nav-dropdown { display: block; }
  .nav-dropdown li { border-bottom: 1px solid var(--line-2); }
  .nav-dropdown li a { padding: 12px 4px; font-size: 0.875rem; }
  .nav-has-dropdown > .nav-dropdown-toggle {
    display: flex; jus
/* ==========================================================
   INDUSTRY PAGES — RESPONSIVE (all screens)
   ========================================================== */

/* ── Proof grid: photo left + testimonial right ── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

/* ── Feature icon in industry cards ── */
.industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-050);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: .875rem;
}
.industry-icon svg { width: 22px; height: 22px; stroke: currentColor; }

/* ── Comparison table touch scroll hint ── */
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
          mask-image: linear-gradient(to right, black 90%, transparent 100%);
  margin-top: 1.5rem;
}

/* ──────────────────────────────────────────────────────────
   TABLET (≤ 900px): hero goes single-col with tighter gap
   ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    gap: clamp(28px, 4vw, 40px);
  }
}

/* ──────────────────────────────────────────────────────────
   PHABLET / LARGE PHONE (≤ 700px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Proof grid: stack vertically */
  .proof-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
  }

  /* Reduce section vertical padding */
  .section {
    padding: clamp(32px, 5vw, 56px) 0;
  }

  /* Section title tighter on phones */
  .section-title {
    font-size: clamp(1.55rem, 5.5vw, 2.2rem);
  }

  /* Comparison table: remove fade on small screens where scroll is obvious */
  .compare-scroll {
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* ──────────────────────────────────────────────────────────
   SMALL PHONE (≤ 480px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Container: tighter side padding */
  .container {
    padding-inline: 16px;
  }

  /* Hero copy */
  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    max-width: none;
  }
  .hero-sub {
    font-size: 1rem;
  }

  /* Hero actions: full-width stacked */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-text {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Pay row: horizontal scroll */
  .pay-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
            mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .pay-row::-webkit-scrollbar { display: none; }

  /* Pricing cards: always 1 column on tiny screens */
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  /* Section lead text */
  .section-lead {
    font-size: 1rem;
  }

  /* FAQ details: full width */
  details {
    padding: .875rem 1rem !important;
  }
  details summary {
    font-size: .95rem;
  }

  /* Testimonial blockquote font */
  blockquote p {
    font-size: .95rem !important;
    line-height: 1.65 !important;
  }

  /* Demo CTA form — tighter on phones */
  .final-cta-inner {
    gap: 2.5rem;
  }
  .demo-form {
    padding: 1.5rem !important;
  }

  /* Footer */
  .footer-inner {
    gap: 2rem;
  }
}

/* ──────────────────────────────────────────────────────────
   VERY SMALL (≤ 360px) — budget Android phones
   ────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .container {
    padding-inline: 14px;
  }
  .hero-title {
    font-size: clamp(1.7rem, 9vw, 2rem);
  }
  .btn-lg {
    padding: 13px 20px;
    font-size: .95rem;
  }
}

/* Two-column editorial content grid (e.g. eTIMS ETR vs eTIMS) */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.75rem;
  align-items: start;
}
@media (max-width: 680px) {
  .two-col-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
