/* ==========================================================================
   Qatiqa — Design System
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Typography
   5. Buttons, badges, pills
   6. Cards & surfaces
   7. Header & navigation
   8. Footer
   9. Section components
   10. Blog & articlet 
   11. Forms
   12. Utilities
   13. Responsive
   14. Motion
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Brand */
  --q-blue:        #2563EB;
  --q-blue-hover:  #1D4FD8;
  --q-blue-dark:   #1E3AAF;
  --q-navy:        #0B2A4A;
  --q-navy-deep:   #071E36;

  /* Ink */
  --q-ink:         #1F2937;
  --q-muted:       #636C7A;
  --q-muted-soft:  #68727F;

  /* Lines & tints */
  --q-line:        #E6EAF1;
  --q-line-soft:   #EFF3F9;
  --q-tint:        #F4F7FE;
  --q-tint-2:      #EEF3FB;
  --q-blue-50:     #E8F0FE;
  --q-blue-100:    #E4ECF9;
  --q-blue-200:    #D8E3F6;
  --q-blue-300:    #BBD5F0;
  --q-blue-400:    #A9C6E8;
  --q-sky:         #7FB3E8;
  --q-slate-blue:  #6E9BC6;

  /* Status */
  --q-green:       #16A34A;
  --q-green-700:   #0E7A3E;
  --q-green-text:  #0E7A3E;   /* green that passes AA as text on white */
  --q-green-950:   #06341B;
  --q-green-50:    #E9F8EF;
  --q-whatsapp:    #25D366;
  --q-amber:       #F59E0B;
  --q-amber-700:   #A85206;
  --q-amber-50:    #FDF3E7;
  --q-red:         #C81E1E;
  --q-red-50:      #FEF2F2;

  /* Surfaces */
  --q-white:       #FFFFFF;
  --q-page:        #FFFFFF;

  /* Type */
  --q-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --q-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --q-fs-base: 16.5px;

  /* Radii */
  --q-r-xs: 9px;
  --q-r-sm: 11px;
  --q-r-md: 14px;
  --q-r-lg: 18px;
  --q-r-xl: 22px;
  --q-r-2xl: 26px;
  --q-r-pill: 999px;

  /* Shadows */
  --q-shadow-card: 0 1px 2px rgba(11,42,74,.04), 0 14px 28px -22px rgba(11,42,74,.28);
  --q-shadow-card-hover: 0 2px 4px rgba(11,42,74,.05), 0 22px 44px -26px rgba(11,42,74,.34);
  --q-shadow-blue: 0 8px 20px -8px rgba(37,99,235,.7);
  --q-shadow-green: 0 8px 20px -8px rgba(37,211,102,.55);
  --q-shadow-float: 0 30px 70px -50px rgba(11,42,74,.4);
  --q-shadow-deep: 0 50px 90px -30px rgba(0,0,0,.7);

  /* Layout */
  --q-container: min(1840px, 96vw);
  --q-container-narrow: min(1400px, 90vw);
  --q-gutter: clamp(20px, 3.5vw, 88px);
  --q-section-y: clamp(52px, 6.5vw, 92px);
  --q-section-y-lg: clamp(56px, 7vw, 100px);
  --q-header-h: 72px;

  /* Motion */
  --q-ease: cubic-bezier(.22,.61,.36,1);
  --q-t-fast: .16s var(--q-ease);
  --q-t: .24s var(--q-ease);
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--q-header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--q-font);
  font-size: var(--q-fs-base);
  line-height: 1.6;
  color: var(--q-ink);
  background: var(--q-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
svg { flex: none; }

a { color: var(--q-blue); text-decoration: none; transition: color var(--q-t-fast); }
a:hover { color: var(--q-blue-dark); }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--q-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--q-blue); color: #fff; }

hr { border: 0; border-top: 1px solid var(--q-line); }

.screen-reader-text, .sr-only {
  position: absolute !important;
  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: -100px;
  z-index: 999; background: var(--q-navy); color: #fff;
  padding: 12px 20px; border-radius: var(--q-r-xs); font-weight: 600;
  transition: top var(--q-t);
}
.skip-link:focus { top: 12px; color: #fff; }

/* 3. LAYOUT PRIMITIVES ===================================================== */
.q-container {
  width: 100%;
  max-width: var(--q-container);
  margin-inline: auto;
  padding-inline: var(--q-gutter);
}
.q-container--narrow { max-width: var(--q-container-narrow); }

.q-section { padding-block: var(--q-section-y); }
.q-section--lg { padding-block: var(--q-section-y-lg); }
.q-section--tight { padding-block: clamp(36px, 4.5vw, 64px); }

.q-section--tint  { background: var(--q-tint); }
.q-section--tint2 { background: var(--q-tint-2); }
.q-section--navy  { background: var(--q-navy); color: #fff; }
.q-section--green { background: var(--q-green-950); color: #fff; }

.q-grid { display: grid; gap: 22px; }
.q-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.q-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.q-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.q-grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.q-split   { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.q-split--even { grid-template-columns: 1fr 1fr; }
.q-split--wide-left { grid-template-columns: 1.4fr 1fr; }

.q-stack   { display: flex; flex-direction: column; }
.q-row     { display: flex; align-items: center; }
.q-row--wrap { flex-wrap: wrap; }
.q-gap-6  { gap: 6px;  }
.q-gap-8  { gap: 8px;  }
.q-gap-10 { gap: 10px; }
.q-gap-12 { gap: 12px; }
.q-gap-14 { gap: 14px; }
.q-gap-16 { gap: 16px; }
.q-gap-20 { gap: 20px; }
.q-gap-24 { gap: 24px; }
.q-gap-32 { gap: 32px; }

/* 4. TYPOGRAPHY ============================================================ */
.q-eyebrow {
  font-family: var(--q-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--q-blue);
}
.q-eyebrow--muted { color: var(--q-muted-soft); }
.q-eyebrow--light { color: var(--q-sky); }

.q-h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--q-navy);
}
.q-h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--q-navy);
}
.q-h3 {
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--q-navy);
}
.q-h4 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--q-navy);
}
.q-h5 { font-size: 19px; font-weight: 700; color: var(--q-navy); line-height: 1.3; }
.q-h6 { font-size: 17px; font-weight: 700; color: var(--q-navy); line-height: 1.35; }

.q-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--q-muted);
}
.q-body { font-size: 16.5px; line-height: 1.65; color: var(--q-muted); }
.q-small { font-size: 14px; line-height: 1.55; color: var(--q-muted); }
.q-tiny  { font-size: 12.5px; line-height: 1.5; color: var(--q-muted-soft); }

/* Quiet text on dark surfaces */
.q-card--blue .q-eyebrow, .q-card--blue .q-eyebrow--light { color: #EAF1FE; }
.q-on-dark .q-stat__unit, .q-card--navy .q-stat__unit { color: var(--q-sky); }
.q-on-dark .q-tiny,
.q-section--navy .q-tiny,
.q-card--navy .q-tiny,
.q-card--blue .q-tiny,
.q-on-dark .q-small,
.q-on-dark .q-help-text { color: var(--q-blue-300); }
.q-on-dark .q-eyebrow--muted { color: var(--q-sky); }

/* On dark sections */
.q-section--navy .q-h1, .q-section--navy .q-h2, .q-section--navy .q-h3,
.q-section--navy .q-h4, .q-section--navy .q-h5, .q-section--navy .q-h6,
.q-on-dark .q-h1, .q-on-dark .q-h2, .q-on-dark .q-h3,
.q-on-dark .q-h4, .q-on-dark .q-h5, .q-on-dark .q-h6 { color: #fff; }
.q-section--navy .q-lead, .q-section--navy .q-body, .q-on-dark .q-lead, .q-on-dark .q-body { color: var(--q-blue-300); }
.q-section--green .q-h1, .q-section--green .q-h2, .q-section--green .q-h3 { color: #fff; }
.q-section--green .q-lead, .q-section--green .q-body { color: #A7E3BF; }

.q-measure { max-width: 62ch; }
.q-measure-sm { max-width: 46ch; }

/* 5. BUTTONS, BADGES, PILLS ================================================ */
.q-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px 26px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--q-t), box-shadow var(--q-t), background-color var(--q-t), color var(--q-t), border-color var(--q-t);
  text-align: center;
}
.q-btn:hover { transform: translateY(-2px); }
.q-btn:active { transform: translateY(0); }

.q-btn--primary {
  background: var(--q-blue);
  color: #fff;
  box-shadow: var(--q-shadow-blue);
}
.q-btn--primary:hover { background: var(--q-blue-hover); color: #fff; box-shadow: 0 12px 26px -8px rgba(37,99,235,.75); }

.q-btn--whatsapp {
  background: var(--q-whatsapp);
  color: var(--q-green-950);
  font-weight: 800;
  box-shadow: var(--q-shadow-green);
}
.q-btn--whatsapp:hover { background: #1FC15C; color: var(--q-green-950); box-shadow: 0 24px 46px -16px rgba(37,211,102,.6); }

.q-btn--white {
  background: #fff;
  color: var(--q-blue-dark);
  border-color: #C9D6F5;
  font-weight: 600;
}
.q-btn--white:hover { background: #fff; color: var(--q-blue-dark); border-color: var(--q-blue); box-shadow: var(--q-shadow-card); }

.q-btn--solid-white {
  background: #fff;
  color: var(--q-navy);
  font-weight: 600;
  border-color: transparent;
}
.q-btn--solid-white:hover { background: #fff; color: var(--q-blue-dark); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }

.q-btn--ghost-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  font-weight: 600;
}
.q-btn--ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.55); }

.q-btn--outline {
  background: transparent;
  color: var(--q-blue-dark);
  border-color: var(--q-line);
  font-weight: 600;
}
.q-btn--outline:hover { background: var(--q-tint); color: var(--q-blue-dark); border-color: var(--q-blue-300); }

.q-btn--lg { padding: 20px 34px; font-size: 19px; border-radius: var(--q-r-md); }
.q-btn--sm { padding: 11px 18px; font-size: 15px; border-radius: var(--q-r-sm); }
.q-btn--block { width: 100%; }

.q-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--q-blue);
}
.q-link-arrow::after { content: '→'; transition: transform var(--q-t); }
.q-link-arrow:hover::after { transform: translateX(4px); }
.q-link-arrow--light { color: var(--q-sky); }
.q-link-arrow--light:hover { color: #fff; }

/* Badge / pill */
.q-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--q-r-pill);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.q-badge--new {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}
.q-badge--new .q-badge__dot {
  background: var(--q-whatsapp);
  color: var(--q-green-950);
  font-family: var(--q-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--q-r-pill);
  padding: 4px 8px;
}
.q-badge--blue   { background: var(--q-blue-50);  color: var(--q-blue-dark); }
.q-badge--green  { background: var(--q-green-50); color: var(--q-green-700); }
.q-badge--amber  { background: var(--q-amber-50); color: var(--q-amber-700); }
.q-badge--red    { background: var(--q-red-50);   color: var(--q-red); }
.q-badge--grey   { background: var(--q-tint-2);   color: var(--q-muted); }

.q-tag {
  display: inline-block;
  border-radius: var(--q-r-pill);
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Trust row: small icon + label */
.q-trustline { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 28px); align-items: center; }
.q-trustline__item { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.q-on-dark .q-trustline__item { color: var(--q-blue-300); }

/* 6. CARDS & SURFACES ====================================================== */
.q-card {
  background: #fff;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-xl);
  padding: 26px;
  transition: transform var(--q-t), box-shadow var(--q-t), border-color var(--q-t);
}
.q-card--pad-lg { padding: 30px; }
.q-card--flush { padding: 0; overflow: hidden; }
.q-card--hover:hover { transform: translateY(-4px); box-shadow: var(--q-shadow-card-hover); border-color: var(--q-blue-200); }
.q-card--shadow { box-shadow: var(--q-shadow-card); }
.q-card--blue { background: var(--q-blue); border-color: var(--q-blue); color: #fff; }
.q-card--blue .q-card__title, .q-card--blue .q-h5, .q-card--blue .q-h6 { color: #fff; }
.q-card--blue .q-body, .q-card--blue .q-small, .q-card--blue .q-card__text, .q-card--blue .q-checklist li { color: #EDF3FE; }
.q-card--navy { background: var(--q-navy); border-color: var(--q-navy); color: #fff; }
.q-card--navy .q-h4, .q-card--navy .q-h5, .q-card--navy .q-h6 { color: #fff; }
.q-card--navy .q-body, .q-card--navy .q-small, .q-card--navy .q-card__text, .q-card--navy .q-checklist li { color: var(--q-blue-300); }
.q-card--tint { background: var(--q-tint); border-color: transparent; }

.q-card__title { font-size: 17.5px; font-weight: 700; color: var(--q-navy); line-height: 1.3; }
.q-card__text  { font-size: 15px; line-height: 1.6; color: var(--q-muted); }

/* Icon tile */
.q-icon-tile {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--q-r-sm);
  background: var(--q-blue-50);
  color: var(--q-blue);
  flex: none;
}
.q-icon-tile--green { background: var(--q-green-50); color: var(--q-green); }
.q-icon-tile--amber { background: var(--q-amber-50); color: var(--q-amber-700); }
.q-icon-tile--ghost { background: rgba(255,255,255,.1); color: #fff; }
.q-icon-tile--sm { width: 34px; height: 34px; border-radius: var(--q-r-xs); }

/* Numbered step chip */
.q-step-num {
  display: inline-grid;
  place-items: center;
  min-width: 34px; height: 34px;
  padding-inline: 8px;
  border-radius: var(--q-r-xs);
  background: var(--q-blue-50);
  color: var(--q-blue-dark);
  font-family: var(--q-mono);
  font-size: 13px;
  font-weight: 700;
}
.q-card--blue .q-step-num { background: rgba(7,30,54,.34); color: #fff; }

/* Image placeholder — swapped for a real featured image when one is set */
.q-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(45deg, #EEF3FB 0 10px, #E4ECF9 10px 20px);
  color: #5A6472;
  font-family: var(--q-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}
.q-photo img { width: 100%; height: 100%; object-fit: cover; }
.q-photo--tall { aspect-ratio: 4 / 5; }
.q-photo--wide { aspect-ratio: 21 / 9; }
.q-photo--square { aspect-ratio: 1; }

/* Panel used for dark inset boxes */
.q-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--q-r-md);
  padding: 20px 22px;
}

/* Stat */
.q-stat__value { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--q-navy); line-height: 1; }
.q-stat__unit  { font-size: .5em; font-weight: 700; color: var(--q-muted-soft); margin-left: 4px; }
.q-stat__label { font-size: 14px; color: var(--q-muted); margin-top: 8px; }
.q-on-dark .q-stat__value { color: #fff; }
.q-on-dark .q-stat__label { color: var(--q-blue-300); }
.q-stat--ruled { border-left: 3px solid var(--q-blue); padding-left: 18px; }
.q-stat--ruled-green { border-left-color: var(--q-green); }

/* 7. HEADER & NAVIGATION =================================================== */
.q-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--q-line);
}
.q-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  padding-block: 16px;
}

.q-logo { display: inline-flex; align-items: center; gap: 10px; }
.q-logo__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--q-r-sm);
  background: var(--q-blue);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex: none;
}
.q-logo__word {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--q-navy);
}
.q-logo img { max-height: 40px; width: auto; }
.q-logo:hover .q-logo__word { color: var(--q-blue-dark); }

.q-nav { display: flex; align-items: center; }
.q-nav ul { display: flex; align-items: center; gap: clamp(12px, 1.25vw, 24px); }
.q-nav .sub-menu { display: flex; }
.q-nav a {
  position: relative;
  font-size: clamp(14px, .95vw, 17px);
  font-weight: 500;
  color: var(--q-ink);
  white-space: nowrap;
  padding-block: 6px;
}
.q-nav a:hover { color: var(--q-blue); }
.q-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--q-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--q-t);
}
.q-nav a:hover::after,
.q-nav .current-menu-item > a::after,
.q-nav .current_page_item > a::after,
.q-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.q-nav .current-menu-item > a,
.q-nav .current_page_item > a { color: var(--q-blue); font-weight: 600; }

/* Sub menus */
.q-nav li { position: relative; }
.q-nav .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-md);
  box-shadow: var(--q-shadow-card-hover);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--q-t), transform var(--q-t), visibility var(--q-t);
  z-index: 60;
}
.q-nav li:hover > .sub-menu,
.q-nav li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.q-nav .sub-menu a { padding: 10px 14px; border-radius: var(--q-r-xs); font-size: 15.5px; }
.q-nav .sub-menu a::after { display: none; }
.q-nav .sub-menu a:hover { background: var(--q-tint); }

.q-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }

/* Language switch */
.q-lang { display: inline-flex; border: 1px solid var(--q-line); border-radius: var(--q-r-pill); overflow: hidden; background: #fff; }
.q-lang button, .q-lang a {
  padding: clamp(7px, .6vw, 9px) clamp(10px, .85vw, 13px);
  font-size: clamp(12px, .78vw, 14px);
  font-weight: 700;
  color: var(--q-muted-soft);
  background: #fff;
  white-space: nowrap;
  transition: background var(--q-t-fast), color var(--q-t-fast);
}
.q-lang .is-active, .q-lang button:hover, .q-lang a:hover { background: var(--q-blue-50); color: var(--q-blue-dark); }

.q-header__login { font-size: clamp(14px, .95vw, 17px); font-weight: 600; color: var(--q-blue-dark); padding: 10px 8px; white-space: nowrap; }
.q-header__login:hover { color: var(--q-blue); }

.q-icon-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--q-line);
  border-radius: 12px;
  background: #fff;
  color: var(--q-navy);
  flex: none;
  transition: background var(--q-t-fast), border-color var(--q-t-fast);
}
.q-icon-btn:hover { background: var(--q-tint); border-color: var(--q-blue-300); }

/* Mobile menu toggle */
.q-burger { display: none; }
.q-burger__bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--q-navy);
  border-radius: 2px;
  transition: transform var(--q-t), opacity var(--q-t-fast);
}
.q-burger__bar + .q-burger__bar { margin-top: 5px; }
.q-burger[aria-expanded="true"] .q-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.q-burger[aria-expanded="true"] .q-burger__bar:nth-child(2) { opacity: 0; }
.q-burger[aria-expanded="true"] .q-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.q-mobile-nav {
  position: fixed;
  inset: var(--q-header-h) 0 0 0;
  z-index: 45;
  background: #fff;
  padding: 24px var(--q-gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--q-t), transform var(--q-t), visibility var(--q-t);
}
.q-mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.q-mobile-nav ul { display: flex; flex-direction: column; }
.q-mobile-nav > ul > li > a {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--q-navy);
  border-bottom: 1px solid var(--q-line);
}
.q-mobile-nav .sub-menu { padding-left: 14px; }
.q-mobile-nav .sub-menu a { display: block; padding: 12px 0; font-size: 16px; color: var(--q-muted); border-bottom: 1px solid var(--q-line-soft); }
.q-mobile-nav__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
body.q-nav-open { overflow: hidden; }

/* Announcement bar */
.q-announce {
  background: var(--q-navy);
  color: var(--q-blue-300);
  font-size: 14px;
  text-align: center;
  padding: 10px 20px;
}
.q-announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 8. FOOTER ================================================================ */
.q-footer {
  background: var(--q-navy-deep);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--q-blue-300);
}
.q-footer__main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(48px, 5.5vw, 72px);
}
.q-footer .q-logo__word { color: #fff; }
.q-footer__about { font-size: 15px; line-height: 1.65; color: var(--q-slate-blue); margin-top: 16px; max-width: 34ch; }
.q-footer__col-title {
  font-family: var(--q-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--q-slate-blue);
  margin-bottom: 16px;
}
.q-footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.q-footer__col a { font-size: 15px; color: var(--q-blue-300); }
.q-footer__col a:hover { color: #fff; }
.q-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--q-slate-blue);
}
.q-footer__marks { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--q-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.q-store-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.q-store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--q-r-xs);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.q-store-badge:hover { background: rgba(255,255,255,.14); color: #fff; }

/* 9. SECTION COMPONENTS ==================================================== */

/* --- Hero --- */
.q-hero {
  position: relative;
  background: var(--q-navy);
  color: #fff;
  overflow: hidden;
}
.q-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(37,99,235,.34), transparent 62%),
    radial-gradient(620px 380px at 4% 92%, rgba(37,211,102,.07), transparent 62%);
  pointer-events: none;
}
.q-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 4.6vw, 92px);
}

/* Hero scale: the design was drawn at a ~2010px viewport where the heading is
   74px. Expressed as a slope (74/2010 = 3.68vw) it keeps that proportion at
   every width instead of hitting the cap on any normal desktop.
   --q-hero-measure is one shared line length, so the heading and the paragraph
   below it are always exactly the same width. */
.q-hero__copy {
  --q-hero-fs: clamp(32px, 3.68vw, 74px);
  --q-hero-measure: min(100%, calc(9.4 * var(--q-hero-fs)));
}
.q-hero__title {
  color: #fff;
  margin-block: .3em .27em;
  font-size: var(--q-hero-fs);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: var(--q-hero-measure);
}
.q-hero__text {
  font-size: clamp(16px, 1.094vw, 22px);
  line-height: 1.55;
  color: var(--q-blue-400);
  max-width: var(--q-hero-measure);
}
.q-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block: clamp(24px,2vw,32px) clamp(20px,1.6vw,26px); }
.q-hero__cta .q-btn--lg {
  font-size: clamp(16px, .95vw, 19px);
  padding: clamp(15px, 1vw, 20px) clamp(24px, 1.7vw, 34px);
}
.q-hero .q-trustline__item { font-size: clamp(14px, .8vw, 16px); }
.q-hero__stats .q-stat__value { font-size: clamp(22px, 1.5vw, 30px); }
.q-hero__stats .q-stat__unit { font-size: .53em; color: var(--q-sky); }
.q-hero__stats .q-stat__label { font-size: clamp(12.5px, .7vw, 14px); color: var(--q-sky); }
.q-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.q-hero__visual { position: relative; display: grid; place-items: center; min-height: 0; }


.q-hero--light { background: var(--q-tint); color: var(--q-ink); }
.q-hero--light::before { background: radial-gradient(760px 460px at 82% 12%, rgba(37,99,235,.12), transparent 62%); }
.q-hero--light .q-hero__title { color: var(--q-navy); }
.q-hero--light .q-hero__text { color: var(--q-muted); }

/* Compact page hero for inner pages */
.q-pagehero {
  background: var(--q-navy);
  color: #fff;
  padding-block: clamp(44px, 5.5vw, 76px) clamp(44px, 5.5vw, 72px);
  position: relative;
  overflow: hidden;
}
.q-pagehero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 84% 12%, rgba(37,99,235,.32), transparent 62%);
  pointer-events: none;
}
.q-pagehero__inner { position: relative; }
.q-pagehero__title { color: #fff; margin-block: 16px 18px; }
.q-pagehero__text { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--q-blue-300); max-width: 62ch; }
.q-pagehero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Breadcrumbs */
.q-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--q-muted-soft); }
.q-crumbs a { color: var(--q-muted); }
.q-crumbs a:hover { color: var(--q-blue); }
.q-pagehero .q-crumbs { color: var(--q-slate-blue); }
.q-pagehero .q-crumbs a { color: var(--q-blue-300); }
.q-pagehero .q-crumbs a:hover { color: #fff; }

/* --- Payment rail strip --- */
.q-rail {
  border-block: 1px solid var(--q-line);
  background: #fff;
  padding-block: 22px;
}
.q-rail__inner { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); flex-wrap: wrap; }
.q-rail__label {
  font-family: var(--q-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--q-muted-soft);
}
.q-rail__logos { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); flex-wrap: wrap; }
.q-rail__logo { font-size: 15px; font-weight: 700; color: var(--q-navy); opacity: .82; }
.q-rail__note { margin-left: auto; font-size: 12.5px; color: var(--q-muted-soft); }

/* --- Section head --- */
.q-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.q-sechead__text { max-width: 62ch; }
.q-sechead__title { margin-top: 12px; }
.q-sechead__sub { margin-top: 14px; }
.q-sechead--center { flex-direction: column; align-items: center; text-align: center; }
.q-sechead--center .q-sechead__text { max-width: 56ch; }

/* --- Steps grid --- */
.q-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.q-step { display: flex; flex-direction: column; gap: 14px; }
.q-step .q-card__text { margin-top: 2px; }

/* --- Feature list (icon + copy rows) --- */
.q-featlist { display: flex; flex-direction: column; gap: 22px; }
.q-featrow { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.q-featrow__title { font-size: 16.5px; font-weight: 700; color: var(--q-navy); }
.q-featrow__text { font-size: 15px; line-height: 1.6; color: var(--q-muted); margin-top: 4px; }
.q-on-dark .q-featrow__title { color: #fff; }
.q-on-dark .q-featrow__text { color: #A7E3BF; }

/* --- WhatsApp section --- */
.q-whatsapp {
  background: var(--q-green-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.q-whatsapp::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(720px 460px at 88% 78%, rgba(37,211,102,.28), transparent 62%);
  pointer-events: none;
}
.q-whatsapp__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.q-whatsapp .q-badge {
  background: rgba(37,211,102,.16);
  border: 1px solid rgba(37,211,102,.35);
  color: #6EE7A0;
  font-family: var(--q-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.q-whatsapp .q-icon-tile { background: rgba(37,211,102,.16); color: #6EE7A0; }

/* --- Device mockups --- */
/* iPhone 17 Pro Max: 440 x 956pt screen (aspect 2.173), Dynamic Island.
   Every dimension inside the phone is em, driven by this one font-size, so
   the whole device scales as a single unit. */
.q-phone {
  font-size: clamp(7.6px, .59vw, 9.6px);
  width: 26em;
  max-width: 86vw;
  padding: .85em;
  border-radius: 5.4em;
  background: #0A0A0A;
  box-shadow: var(--q-shadow-deep);
  position: relative;
}
.q-phone__screen {
  position: relative;
  aspect-ratio: 440 / 956;
  border-radius: 4.7em;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.q-phone__island {
  position: absolute; top: .9em; left: 50%; transform: translateX(-50%);
  width: 8.6em; height: 2.5em; border-radius: 999px; background: #0A0A0A; z-index: 3;
}
.q-browser {
  border-radius: var(--q-r-md);
  border: 1px solid var(--q-line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--q-shadow-float);
}
.q-browser__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--q-tint-2);
  border-bottom: 1px solid var(--q-line);
}
.q-browser__dot { width: 10px; height: 10px; border-radius: 50%; }
.q-browser__url {
  margin-left: 10px;
  background: #fff;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-pill);
  padding: 4px 14px;
  font-size: 11.5px;
  color: var(--q-muted);
  font-family: var(--q-mono);
}

/* Floating callout chips around mockups */
.q-float {
  position: absolute;
  background: #fff;
  border-radius: 1.15em;
  box-shadow: var(--q-shadow-float), 0 1px 2px rgba(11,42,74,.06);
  padding: .95em 1.15em;
  font-size: clamp(10.5px, .78vw, 12.5px);
  line-height: 1.45;
  color: var(--q-ink);
  max-width: 19em;
  z-index: 3;
}
.q-float__title { font-size: .88em; font-weight: 700; color: var(--q-navy); }
/* Floating callouts are light cards even inside a dark section. */
.q-on-dark .q-float,
.q-on-dark .q-float p,
.q-on-dark .q-float .q-h1, .q-on-dark .q-float .q-h2, .q-on-dark .q-float .q-h3,
.q-on-dark .q-float .q-h4, .q-on-dark .q-float .q-h5, .q-on-dark .q-float .q-h6 { color: var(--q-navy); }
.q-on-dark .q-float .q-body, .q-on-dark .q-float .q-small, .q-on-dark .q-float .q-tiny { color: var(--q-muted); }

/* --- Why / feature card grid --- */
.q-featcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }

/* --- Use-case cards --- */
.q-usecases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.q-usecase { display: flex; flex-direction: column; }
.q-usecase__body { padding: 20px 22px 24px; }
.q-usecase__title { font-size: 17px; font-weight: 700; color: var(--q-navy); }
.q-usecase__text { font-size: 14.5px; line-height: 1.55; color: var(--q-muted); margin-top: 8px; }

/* --- Protection / split dark --- */
.q-protect { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.q-protect__list { display: flex; flex-direction: column; gap: 14px; }

/* --- Testimonials --- */
.q-quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.q-quote__text { font-size: 15.5px; line-height: 1.6; color: var(--q-ink); }
.q-quote__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.q-quote__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--q-blue-100); color: var(--q-blue-dark);
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; flex: none;
  overflow: hidden;
}
.q-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.q-quote__name { font-size: 13.5px; font-weight: 700; color: var(--q-navy); }
.q-quote__role { font-size: 12px; color: var(--q-muted-soft); }

/* --- Fee calculator --- */
.q-calc { background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-r-xl); padding: 26px; box-shadow: var(--q-shadow-card); }
.q-calc__label { font-size: 13px; font-weight: 600; color: var(--q-muted); margin-bottom: 8px; display: block; }
.q-calc__controls { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.q-calc__rows { margin-top: 20px; display: flex; flex-direction: column; }
.q-calc__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 13px;
  border-top: 1px solid var(--q-line-soft);
  font-size: 14.5px;
}
.q-calc__row span:first-child { color: var(--q-muted); }
.q-calc__row span:last-child { font-weight: 700; color: var(--q-navy); font-variant-numeric: tabular-nums; }
.q-calc__row--total span:last-child { color: var(--q-green-text); }
.q-calc__payer { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.q-calc__payer button {
  border: 1px solid var(--q-line);
  background: #fff;
  border-radius: var(--q-r-pill);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--q-muted);
  transition: all var(--q-t-fast);
}
.q-calc__payer button[aria-pressed="true"] { background: var(--q-blue-50); border-color: var(--q-blue-300); color: var(--q-blue-dark); }

/* --- FAQ accordion --- */
.q-faq { display: flex; flex-direction: column; }
.q-faq__item { border-top: 1px solid var(--q-line); }
.q-faq__item:last-child { border-bottom: 1px solid var(--q-line); }
.q-faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--q-navy);
  text-align: left;
}
.q-faq__q:hover { color: var(--q-blue); }
.q-faq__icon {
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--q-blue);
  font-size: 20px;
  line-height: 1;
  transition: transform var(--q-t);
}
.q-faq__q[aria-expanded="true"] .q-faq__icon { transform: rotate(45deg); }
.q-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--q-t);
}
.q-faq__a > div { overflow: hidden; }
.q-faq__item.is-open .q-faq__a { grid-template-rows: 1fr; }
.q-faq__a p { font-size: 15.5px; line-height: 1.65; color: var(--q-muted); padding-bottom: 22px; max-width: 72ch; }

/* --- App CTA --- */
.q-appcta { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.q-appcta .q-store-badge { background: var(--q-navy); border-color: var(--q-navy); }
.q-appcta .q-store-badge:hover { background: var(--q-blue-dark); border-color: var(--q-blue-dark); }
.q-qr { width: 78px; height: 78px; border-radius: var(--q-r-xs); background: repeating-conic-gradient(var(--q-navy) 0 25%, #fff 0 50%) 0 0/12px 12px; flex: none; }

/* --- Final CTA banner --- */
.q-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--q-r-2xl);
  background: linear-gradient(105deg, var(--q-blue) 0%, #1E4FD8 52%, #3B82F6 100%);
  color: #fff;
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
  flex-wrap: wrap;
}
.q-cta::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  pointer-events: none;
}
.q-cta__title { position: relative; font-size: clamp(25px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.q-cta__text { position: relative; font-size: 15.5px; color: #F0F6FF; margin-top: 10px; }
.q-cta__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
/* The CTA gradient is lighter than the navy hero, so its ghost button needs a darker fill. */
.q-cta .q-btn--ghost-light { background: rgba(7,30,54,.26); border-color: rgba(255,255,255,.5); }
.q-cta .q-btn--ghost-light:hover { background: rgba(7,30,54,.36); }

/* --- Pricing --- */
.q-plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: start; }
.q-plan { display: flex; flex-direction: column; gap: 18px; position: relative; }
.q-plan--featured { border-color: var(--q-blue); box-shadow: var(--q-shadow-card-hover); }
.q-plan__badge { position: absolute; top: -12px; left: 26px; }
.q-plan__price { font-size: clamp(30px, 3vw, 42px); font-weight: 800; color: var(--q-navy); letter-spacing: -.02em; line-height: 1; }
.q-plan__per { font-size: 14px; color: var(--q-muted-soft); font-weight: 600; }
.q-plan__features { display: flex; flex-direction: column; gap: 11px; }
.q-plan__features li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--q-muted); }
.q-plan__features svg { color: var(--q-green); margin-top: 3px; }

.q-table-wrap { overflow-x: auto; border: 1px solid var(--q-line); border-radius: var(--q-r-lg); background: #fff; }
.q-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.q-table th, .q-table td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--q-line-soft); }
.q-table th { font-size: 12px; font-family: var(--q-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--q-muted-soft); font-weight: 500; background: var(--q-tint); }
.q-table td { color: var(--q-muted); }
.q-table td:first-child { color: var(--q-navy); font-weight: 600; }
.q-table tr:last-child td { border-bottom: 0; }

/* --- Timeline (how it works) --- */
.q-timeline { display: flex; flex-direction: column; gap: 0; }
.q-tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 34px; position: relative; }
.q-tl-item:last-child { padding-bottom: 0; }
.q-tl-item::before {
  content: '';
  position: absolute;
  left: 27px; top: 56px; bottom: 0;
  width: 2px;
  background: var(--q-line);
}
.q-tl-item:last-child::before { display: none; }
.q-tl-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--q-blue-50);
  color: var(--q-blue-dark);
  font-family: var(--q-mono);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--q-line);
  position: relative; z-index: 1;
}
.q-tl-item--done .q-tl-marker { background: var(--q-green-50); color: var(--q-green-700); }

/* --- Help centre --- */
.q-help-search { position: relative; max-width: 640px; }
.q-help-search input { padding-left: 48px; }
.q-help-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--q-muted-soft); pointer-events: none; }
.q-help-cats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.q-help-cat__count { font-family: var(--q-mono); font-size: 11.5px; color: var(--q-muted-soft); letter-spacing: .06em; }

/* --- Contact --- */
.q-contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.q-contact-methods { display: flex; flex-direction: column; gap: 14px; }
.q-contact-method { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }

/* --- Legal / prose --- */
.q-prose { max-width: 74ch; font-size: 16.5px; line-height: 1.75; color: var(--q-ink); }
.q-prose > * + * { margin-top: 1.1em; }
.q-prose h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--q-navy); letter-spacing: -.02em; margin-top: 2em; line-height: 1.25; }
.q-prose h3 { font-size: 20px; font-weight: 700; color: var(--q-navy); margin-top: 1.7em; }
.q-prose h4 { font-size: 17.5px; font-weight: 700; color: var(--q-navy); margin-top: 1.5em; }
.q-prose p, .q-prose li { color: var(--q-ink); }
.q-prose ul, .q-prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: .5em; }
.q-prose ul { list-style: disc; }
.q-prose ol { list-style: decimal; }
.q-prose li::marker { color: var(--q-blue-300); }
.q-prose a { text-decoration: underline; text-underline-offset: 3px; }
.q-prose blockquote {
  border-left: 3px solid var(--q-blue);
  padding: 4px 0 4px 22px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--q-navy);
  font-weight: 500;
}
.q-prose img, .q-prose figure { border-radius: var(--q-r-md); overflow: hidden; }
.q-prose figcaption { font-size: 13px; color: var(--q-muted-soft); margin-top: 10px; text-align: center; }
.q-prose code {
  font-family: var(--q-mono); font-size: .88em;
  background: var(--q-tint-2); padding: 2px 6px; border-radius: 5px; color: var(--q-blue-dark);
}
.q-prose pre {
  background: var(--q-navy); color: #E6EDF7; padding: 20px 22px;
  border-radius: var(--q-r-md); overflow-x: auto; font-family: var(--q-mono); font-size: 13.5px; line-height: 1.6;
}
.q-prose pre code { background: none; color: inherit; padding: 0; }
.q-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.q-prose th, .q-prose td { border: 1px solid var(--q-line); padding: 11px 14px; text-align: left; }
.q-prose th { background: var(--q-tint); font-weight: 700; color: var(--q-navy); }

/* Legal side nav */
.q-legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.q-legal__nav { position: sticky; top: calc(var(--q-header-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
.q-legal__nav a { padding: 10px 14px; border-radius: var(--q-r-xs); font-size: 14.5px; font-weight: 500; color: var(--q-muted); }
.q-legal__nav a:hover { background: var(--q-tint); color: var(--q-navy); }
.q-legal__nav a.is-active { background: var(--q-blue-50); color: var(--q-blue-dark); font-weight: 600; }

/* 10. BLOG & ARTICLE ======================================================= */
.q-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.q-postgrid--feature { grid-template-columns: 1.6fr 1fr 1fr; }

.q-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-xl);
  overflow: hidden;
  transition: transform var(--q-t), box-shadow var(--q-t), border-color var(--q-t);
  height: 100%;
}
.q-post:hover { transform: translateY(-4px); box-shadow: var(--q-shadow-card-hover); border-color: var(--q-blue-200); }
.q-post__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.q-post__title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--q-navy); letter-spacing: -.01em; }
.q-post:hover .q-post__title { color: var(--q-blue-dark); }
.q-post__excerpt { font-size: 14.5px; line-height: 1.6; color: var(--q-muted); }
.q-post__meta { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--q-muted-soft); }
.q-post--lg .q-post__title { font-size: 22px; }
.q-post--lg .q-post__excerpt { font-size: 15px; }

.q-cat-filter { display: flex; gap: 9px; flex-wrap: wrap; }
.q-cat-filter a {
  border: 1px solid var(--q-line);
  background: #fff;
  border-radius: var(--q-r-pill);
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 600;
  color: var(--q-muted);
  transition: all var(--q-t-fast);
}
.q-cat-filter a:hover { border-color: var(--q-blue-300); color: var(--q-blue-dark); background: var(--q-tint); }
.q-cat-filter a.is-active { background: var(--q-navy); border-color: var(--q-navy); color: #fff; }

/* Article layout */
.q-article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 4vw, 72px); align-items: start; }
.q-article__aside { position: sticky; top: calc(var(--q-header-h) + 24px); display: flex; flex-direction: column; gap: 26px; }
.q-toc { display: flex; flex-direction: column; gap: 3px; }
.q-toc a { font-size: 14px; color: var(--q-muted); padding: 7px 12px; border-radius: var(--q-r-xs); border-left: 2px solid transparent; }
.q-toc a:hover { color: var(--q-navy); background: var(--q-tint); }
.q-toc a.is-active { color: var(--q-blue-dark); border-left-color: var(--q-blue); font-weight: 600; }

.q-article__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--q-muted-soft); }
.q-share { display: flex; gap: 8px; }
.q-share a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-xs);
  color: var(--q-muted);
  transition: all var(--q-t-fast);
}
.q-share a:hover { border-color: var(--q-blue-300); color: var(--q-blue); background: var(--q-tint); }

.q-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.q-pagination .page-numbers {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding-inline: 12px;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-xs);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--q-muted);
  background: #fff;
}
.q-pagination .page-numbers:hover { border-color: var(--q-blue-300); color: var(--q-blue-dark); }
.q-pagination .page-numbers.current { background: var(--q-navy); border-color: var(--q-navy); color: #fff; }
.q-pagination .dots { border-color: transparent; background: none; }

/* Comments */
.q-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--q-line); }
.q-comment { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--q-line-soft); }
.q-comment img { border-radius: 50%; }
.q-comment__name { font-size: 15px; font-weight: 700; color: var(--q-navy); }
.q-comment__date { font-size: 12.5px; color: var(--q-muted-soft); }
.q-comment__text { font-size: 15px; line-height: 1.65; color: var(--q-ink); margin-top: 10px; }
.q-comments .children { padding-left: 30px; }

/* 11. FORMS ================================================================ */
.q-field { display: flex; flex-direction: column; gap: 7px; }
.q-label { font-size: 13.5px; font-weight: 600; color: var(--q-navy); }
.q-input, .q-select, .q-textarea,
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="password"], input[type="search"], input[type="date"], textarea, select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-sm);
  padding: 13px 15px;
  font-size: 15.5px;
  color: var(--q-ink);
  transition: border-color var(--q-t-fast), box-shadow var(--q-t-fast);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--q-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}
input::placeholder, textarea::placeholder { color: var(--q-muted-soft); }
.q-help-text { font-size: 12.5px; color: var(--q-muted-soft); }
.q-error { font-size: 13px; color: var(--q-red); }

.q-checkbox { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--q-muted); line-height: 1.5; }
.q-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--q-blue); }

.q-notice { border-radius: var(--q-r-sm); padding: 14px 16px; font-size: 14.5px; }
.q-notice--ok  { background: var(--q-green-50); color: var(--q-green-700); }
.q-notice--err { background: var(--q-red-50); color: var(--q-red); }

/* Search form */
.q-searchform { display: flex; gap: 10px; }
.q-searchform input { flex: 1; }

/* 12. UTILITIES ============================================================ */
.q-hidden { display: none !important; }
.q-center { text-align: center; }
.q-left { text-align: left; }
.q-right { text-align: right; }
.q-mt-0 { margin-top: 0; }  .q-mt-8 { margin-top: 8px; }
.q-mt-12 { margin-top: 12px; } .q-mt-16 { margin-top: 16px; }
.q-mt-20 { margin-top: 20px; } .q-mt-24 { margin-top: 24px; }
.q-mt-32 { margin-top: 32px; } .q-mt-40 { margin-top: 40px; }
.q-mt-48 { margin-top: 48px; } .q-mt-56 { margin-top: 56px; }
.q-mb-16 { margin-bottom: 16px; } .q-mb-24 { margin-bottom: 24px; }
.q-mb-32 { margin-bottom: 32px; } .q-mb-40 { margin-bottom: 40px; }
.q-flex-1 { flex: 1; }
.q-ml-auto { margin-left: auto; }
.q-full { width: 100%; }
.q-nowrap { white-space: nowrap; }
.q-mono { font-family: var(--q-mono); }
.q-num { font-variant-numeric: tabular-nums; }
.q-relative { position: relative; }

/* WordPress core alignment + blocks */
.alignleft  { float: left;  margin: .4em 1.6em 1.2em 0; }
.alignright { float: right; margin: .4em 0 1.2em 1.6em; }
.aligncenter{ display: block; margin-inline: auto; }
.alignwide  { width: min(1180px, 92vw); margin-inline: auto; }
.alignfull  { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--q-muted-soft); text-align: center; margin-top: 8px; }
.sticky .q-post__title::before { content: '★ '; color: var(--q-amber); }
.wp-block-image img { border-radius: var(--q-r-md); }

/* 13. RESPONSIVE =========================================================== */
@media (max-width: 1180px) {
  .q-steps      { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q-featcards,
  .q-usecases,
  .q-quotes,
  .q-plans,
  .q-help-cats,
  .q-postgrid   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q-postgrid--feature { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q-grid--4, .q-grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q-footer__main { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
  .q-article { grid-template-columns: minmax(0,1fr); }
  .q-article__aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .q-toc { display: none; }
}

@media (max-width: 1024px) {
  :root { --q-header-h: 68px; }
  .q-nav, .q-header__login, .q-lang { display: none; }
  .q-burger { display: grid; place-items: center; }
  .q-header__inner { padding-block: 14px; }
  .q-hero__inner,
  .q-whatsapp__inner,
  .q-split, .q-split--even, .q-split--wide-left,
  .q-protect, .q-appcta, .q-contact { grid-template-columns: minmax(0,1fr); }
  .q-hero__visual { min-height: 0; order: 2; }
  .q-phone { font-size: clamp(9px, 2.6vw, 12px); }
  .q-hero__copy {
    --q-hero-fs: clamp(32px, 4.8vw, 52px);
    --q-hero-measure: min(100%, calc(11.5 * var(--q-hero-fs)));
  }
  .q-legal { grid-template-columns: minmax(0,1fr); }
  .q-legal__nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .q-float { position: static; max-width: none; margin-top: 12px; }
}

@media (max-width: 760px) {
  :root { --q-fs-base: 16px; }
  .q-steps,
  .q-featcards,
  .q-usecases,
  .q-quotes,
  .q-plans,
  .q-help-cats,
  .q-postgrid,
  .q-postgrid--feature,
  .q-grid--2, .q-grid--3, .q-grid--4, .q-grid--5 { grid-template-columns: minmax(0,1fr); }
  .q-footer__main { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q-sechead { flex-direction: column; align-items: flex-start; }
  .q-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .q-cta__actions { width: 100%; }
  .q-cta__actions .q-btn { flex: 1; }
  .q-rail__note { margin-left: 0; width: 100%; }
  .q-hero__cta .q-btn { width: 100%; }
  .q-calc__controls { grid-template-columns: 1fr; }
  .q-tl-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .q-tl-marker { width: 44px; height: 44px; font-size: 13px; }
  .q-tl-item::before { left: 21px; top: 44px; }
  .q-footer__bottom { flex-direction: column; align-items: flex-start; }
  .q-comments .children { padding-left: 12px; }
  .q-comment { grid-template-columns: 36px 1fr; gap: 12px; }
  .alignleft, .alignright { float: none; margin-inline: 0; }
}

@media (max-width: 480px) {
  .q-footer__main { grid-template-columns: minmax(0,1fr); }
  .q-logo__word { font-size: 21px; }
  .q-searchform { flex-direction: column; }
}

/* 14. MOTION =============================================================== */
.q-js .q-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--q-ease), transform .7s var(--q-ease);
}
.q-js .q-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .q-js .q-reveal { opacity: 1; transform: none; }
  .q-btn:hover, .q-card--hover:hover, .q-post:hover { transform: none; }
}

/* Print */
@media print {
  .q-header, .q-footer, .q-cta, .q-mobile-nav, .q-share { display: none !important; }
  body { color: #000; }
  .q-prose { max-width: none; }
}

/* 15. HERO MOCKUP ========================================================== */
.q-hero__visual { position: relative; }
.q-hero__photo {
  position: absolute;
  inset: 6% -5% 10% 4%;
  border-radius: var(--q-r-2xl);
  background: repeating-linear-gradient(135deg, #153E63 0 14px, #1A4770 14px 28px);
  opacity: .9;
}
.q-hero .q-phone {
  position: relative;
  z-index: 2;
  justify-self: start;
  align-self: end;
  margin-left: clamp(10px, 4.4vw, 92px);
}

.q-wallet__top {
  background: linear-gradient(168deg, #2563EB 0%, #3B82F6 58%, #5EA0F7 100%);
  color: #fff;
  padding: 1em 1.15em 1.2em;
  border-radius: 0 0 2.4em 2.4em;
  flex: none;
}
.q-wallet__status { display: flex; align-items: center; justify-content: space-between; font-size: 1.25em; font-weight: 700; height: 1.9em; }
.q-wallet__status-icons { display: inline-flex; align-items: center; gap: .45em; }
.q-wallet__bars { display: inline-flex; align-items: flex-end; gap: .12em; }
.q-wallet__bars i { display: block; width: .22em; background: #fff; border-radius: .1em; }
.q-wallet__bars i:nth-child(1) { height: .3em; }
.q-wallet__bars i:nth-child(2) { height: .48em; }
.q-wallet__bars i:nth-child(3) { height: .66em; }
.q-wallet__bars i:nth-child(4) { height: .84em; }
.q-wallet__battery {
  width: 1.5em; height: .72em; border: .1em solid rgba(255,255,255,.85);
  border-radius: .22em; position: relative;
  background: linear-gradient(90deg, #fff 70%, transparent 70%);
  background-clip: content-box; padding: .08em;
}
.q-wallet__battery::after {
  content: ''; position: absolute; right: -.22em; top: 50%; transform: translateY(-50%);
  width: .12em; height: .28em; background: rgba(255,255,255,.85); border-radius: 0 .1em .1em 0;
}

.q-wallet__user { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 1.15em; }
.q-wallet__hello { font-size: 1.02em; color: #CFE0FB; }
.q-wallet__name { font-size: 1.38em; font-weight: 800; letter-spacing: -.01em; }
.q-wallet__icons { display: inline-flex; align-items: center; gap: .6em; }
.q-wallet__bell {
  position: relative; width: 2.9em; height: 2.9em; border-radius: 50%;
  background: rgba(255,255,255,.2); display: grid; place-items: center; color: #fff;
}
.q-wallet__bell i { position: absolute; top: .45em; right: .55em; width: .55em; height: .55em; border-radius: 50%; background: #F59E0B; }
.q-wallet__avatar {
  width: 2.9em; height: 2.9em; border-radius: 50%; background: rgba(255,255,255,.26);
  display: grid; place-items: center; font-size: 1.05em; font-weight: 700; flex: none;
}
.q-wallet__label { font-size: 1.02em; color: #CFE0FB; margin-top: 1.1em; }
.q-wallet__balance { font-size: 2.35em; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.q-wallet__sub { font-size: .98em; color: #CFE0FB; }

.q-wallet__chips { display: grid; grid-template-columns: 1fr 1fr; gap: .65em; margin-top: 1em; }
.q-wallet__chip {
  background: rgba(255,255,255,.2); border-radius: 1.1em; padding: .7em .8em;
  display: flex; flex-direction: column; gap: .25em;
}
.q-wallet__chip i { display: flex; align-items: center; gap: .3em; font-style: normal; font-size: .88em; color: #DCE9FD; white-space: nowrap; }
.q-wallet__chip b { font-size: 1.18em; font-weight: 800; white-space: nowrap; }
.q-wallet__chip--ok {
  background: #fff; color: var(--q-green-text);
  flex-direction: row; align-items: center; gap: .5em;
}
.q-wallet__chip--ok b { font-size: 1em; color: var(--q-green-text); line-height: 1.2; white-space: normal; }

.q-wallet__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; margin-top: .85em; }
.q-wallet__actions span {
  background: #fff; border-radius: 1.1em; padding: .75em .15em;
  display: flex; flex-direction: column; align-items: center; gap: .35em;
  color: var(--q-blue);
}
.q-wallet__actions i { font-style: normal; font-size: .85em; font-weight: 600; color: var(--q-navy); white-space: nowrap; }

.q-wallet__body { padding: .95em 1.15em 0; display: flex; flex-direction: column; gap: .75em; flex: 1; min-height: 0; overflow: hidden; }
.q-wallet__pwa {
  display: flex; align-items: center; gap: .8em;
  background: var(--q-tint); border-radius: 1.15em; padding: .75em .85em; color: var(--q-blue);
}
.q-wallet__pwa b { display: block; font-size: .95em; color: var(--q-navy); }
.q-wallet__pwa i { display: block; font-size: .88em; color: var(--q-muted-soft); font-style: normal; }
.q-wallet__pwa em { margin-left: auto; font-style: normal; font-size: 1.4em; color: var(--q-muted-soft); line-height: 1; }

.q-wallet__heading { display: flex; align-items: center; gap: .45em; font-size: 1.05em; font-weight: 700; color: var(--q-navy); }
.q-wallet__heading svg { color: var(--q-amber); }
.q-wallet__count {
  background: var(--q-amber-50); color: var(--q-amber-700);
  border-radius: 999px; padding: .1em .55em; font-size: .85em; font-weight: 800;
}

.q-wallet__deals { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: .75em; overflow: hidden; }
.q-wallet__deal {
  border: .1em solid var(--q-line); border-radius: 1.25em; padding: .75em .85em .85em;
  display: flex; flex-direction: column; gap: .3em; background: #fff;
}
.q-wallet__pill {
  align-self: flex-start; border-radius: 999px; padding: .28em .6em;
  font-size: .82em; font-weight: 700; white-space: nowrap;
}
.q-wallet__pill--amber { background: var(--q-amber-50); color: var(--q-amber-700); }
.q-wallet__pill--green { background: var(--q-green-50); color: var(--q-green-700); }
.q-wallet__deal-title { font-size: 1.05em; font-weight: 700; color: var(--q-navy); line-height: 1.25; margin-top: .15em; }
.q-wallet__deal-meta { font-size: .85em; color: var(--q-muted-soft); }
.q-wallet__deal-next { font-size: .85em; color: var(--q-muted); line-height: 1.3; }
.q-wallet__deal-btn {
  margin-top: .6em; background: var(--q-blue); color: #fff;
  border-radius: .8em; padding: .6em; text-align: center; font-size: .92em; font-weight: 700;
}
.q-wallet__deal-btn--ok { background: var(--q-green); }

.q-wallet__tabs {
  margin-top: auto; flex: none;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: .65em .5em .85em; border-top: .1em solid var(--q-line); background: #fff;
}
.q-wallet__tabs > span { position: relative; display: grid; justify-items: center; gap: .25em; font-size: .92em; color: var(--q-muted-soft); }
.q-wallet__tabs i { font-style: normal; }
.q-wallet__tabs .is-active { color: var(--q-blue); }
.q-wallet__tab-badge em {
  position: absolute; top: -.35em; right: 1.1em;
  background: var(--q-red); color: #fff; font-style: normal;
  font-size: .82em; font-weight: 700; line-height: 1;
  border-radius: 999px; padding: .18em .42em;
}
.q-wallet__tab-fab {
  width: 3.6em; height: 3.6em; border-radius: 50%;
  background: var(--q-blue); color: #fff;
  display: grid !important; place-items: center;
  box-shadow: var(--q-shadow-blue);
}

/* Floating callouts */
.q-float--ussd { top: 0; right: -3%; }
.q-float--chat { bottom: 6%; right: -5%; padding: 0; overflow: hidden; max-width: 20.5em; }
.q-float__brands { display: flex; align-items: center; gap: .65em; margin-bottom: .65em; }
.q-float__title { font-family: var(--q-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--q-muted); }

.q-brandchip {
  border-radius: var(--q-r-xs);
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
  flex: none;
}
.q-brandchip--mtn { background: #FFCB05; color: var(--q-navy); }
.q-brandchip--om  { background: #FF7900; color: #fff; }

.q-chat__bar { display: flex; align-items: center; gap: .7em; background: #075E54; color: #fff; padding: .85em 1.1em; font-size: 1em; font-weight: 700; }
.q-chat__body { background: #EFE7DC; padding: .95em .95em 1.1em; display: grid; gap: .65em; }
.q-chat__bubble {
  max-width: 92%;
  background: #fff;
  border-radius: .35em 1em 1em 1em;
  padding: .7em .9em;
  font-size: .95em;
  line-height: 1.45;
  color: var(--q-ink);
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.q-chat__bubble strong { font-weight: 800; }
.q-chat__ok { color: var(--q-green-text); }

@media (max-width: 1024px) {
  .q-hero__photo { display: none; }
  .q-float--ussd, .q-float--chat { position: static; margin-top: 14px; max-width: min(320px, 82vw); }
  .q-hero__visual { gap: 14px; }
}

/* Header elevation once scrolled */
.q-header.is-stuck { box-shadow: 0 1px 0 var(--q-line), 0 10px 24px -20px rgba(11,42,74,.5); }

/* 16. DASHBOARD MOCKUP ===================================================== */
.q-app {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  background: #fff;
  font-size: 11px;
  line-height: 1.45;
  color: var(--q-ink);
}

.q-app__side {
  border-right: 1px solid var(--q-line);
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #FCFDFF;
}
.q-app__brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--q-navy); margin-bottom: 12px; }
.q-app__new {
  display: block;
  background: var(--q-blue);
  color: #fff;
  border-radius: var(--q-r-xs);
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: var(--q-shadow-blue);
}
.q-app__group {
  font-family: var(--q-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--q-muted-soft);
  margin: 12px 0 5px 8px;
}
.q-app__link {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--q-muted);
  font-size: 11px;
  font-weight: 500;
}
.q-app__link.is-active { background: var(--q-blue-50); color: var(--q-blue-dark); font-weight: 700; }
.q-app__link em {
  margin-left: auto;
  font-style: normal;
  background: var(--q-blue-50); color: var(--q-blue-dark);
  border-radius: var(--q-r-pill); padding: 1px 6px; font-size: 9px; font-weight: 700;
}
.q-app__link em.is-red { background: var(--q-red-50); color: var(--q-red); }
.q-app__user { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--q-line); display: flex; align-items: center; gap: 9px; }
.q-app__avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--q-navy); color: #fff;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; flex: none;
}
.q-app__user b { display: block; font-size: 10.5px; color: var(--q-navy); }
.q-app__user i { display: block; font-size: 9px; color: var(--q-muted-soft); font-style: normal; }

.q-app__main { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 14px; background: #FAFCFF; }
.q-app__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.q-app__crumb { font-size: 9.5px; color: var(--q-muted-soft); }
.q-app__title { font-size: 17px; font-weight: 800; color: var(--q-navy); letter-spacing: -.02em; }
.q-app__balance { font-size: 15px; font-weight: 800; color: var(--q-navy); }
.q-app__balance span { font-size: 9.5px; color: var(--q-muted-soft); font-weight: 600; }

.q-app__tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.q-app__tile { background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-r-xs); padding: 10px 12px; }
.q-app__tile--blue { background: var(--q-blue); border-color: var(--q-blue); color: #fff; }
.q-app__tile-label { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--q-muted-soft); }
.q-app__tile--blue .q-app__tile-label { color: #CFE0FB; }
.q-app__tile-value { font-size: 14px; font-weight: 800; color: var(--q-navy); margin-top: 4px; letter-spacing: -.01em; }
.q-app__tile--blue .q-app__tile-value { color: #fff; }
.q-app__tile-meta { font-size: 9px; color: var(--q-muted-soft); margin-top: 2px; }
.q-app__tile--blue .q-app__tile-meta { color: #CFE0FB; }

.q-app__section { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: var(--q-navy); }
.q-app__attention { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.q-app__att { background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-r-xs); padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.q-app__att .q-tag { align-self: flex-start; font-size: 8.5px; padding: 3px 7px; }
.q-app__att-title { font-size: 11px; font-weight: 700; color: var(--q-navy); margin-top: 3px; }
.q-app__att-meta { font-size: 9px; color: var(--q-muted-soft); }
.q-app__att-next { font-size: 9px; color: var(--q-muted); }
.q-app__att-btn {
  margin-top: 7px; border-radius: 7px; padding: 6px; text-align: center;
  font-size: 9.5px; font-weight: 700; background: var(--q-blue); color: #fff;
}
.q-app__att-btn--green { background: var(--q-green); }
.q-app__att-btn--outline { background: #fff; color: var(--q-red); border: 1px solid #F3C9C9; }

.q-app__bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.q-app__panel { background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-r-xs); padding: 11px 13px 13px; }
.q-app__panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 700; color: var(--q-navy); margin-bottom: 8px; }
.q-app__panel-head i { font-style: normal; font-size: 9px; color: var(--q-blue); font-weight: 600; }

.q-app__table { width: 100%; border-collapse: collapse; }
.q-app__table th {
  text-align: left; font-family: var(--q-mono); font-size: 7.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--q-muted-soft); font-weight: 500;
  padding-bottom: 6px; border-bottom: 1px solid var(--q-line);
}
.q-app__table td { padding: 7px 6px 7px 0; border-bottom: 1px solid var(--q-line-soft); font-size: 9.5px; color: var(--q-muted); vertical-align: middle; }
.q-app__table tr:last-child td { border-bottom: 0; }
.q-app__table td:first-child { display: flex; align-items: center; gap: 7px; }
.q-app__table b { display: block; font-size: 10px; color: var(--q-navy); }
.q-app__table i { display: block; font-size: 8.5px; color: var(--q-muted-soft); font-style: normal; }
.q-app__initials {
  width: 20px; height: 20px; border-radius: 6px; flex: none;
  background: var(--q-blue-50); color: var(--q-blue-dark);
  display: grid; place-items: center; font-size: 8px; font-weight: 800;
}

.q-app__donut-row { display: flex; align-items: center; gap: 12px; }
.q-app__donut {
  width: 62px; height: 62px; border-radius: 50%; flex: none;
  background: conic-gradient(#2563EB 0 46%, #16A34A 46% 70%, #F59E0B 70% 88%, #BBD5F0 88% 100%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
  mask: radial-gradient(circle, transparent 54%, #000 55%);
}
.q-app__legend { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.q-app__legend li { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--q-muted); }
.q-app__legend i { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.q-app__legend b { margin-left: auto; color: var(--q-navy); font-size: 9px; }

.q-app__activity { display: flex; flex-direction: column; gap: 8px; }
.q-app__activity li { display: flex; align-items: flex-start; gap: 8px; }
.q-app__activity b { display: block; font-size: 9.5px; color: var(--q-navy); }
.q-app__activity i { display: block; font-size: 8.5px; color: var(--q-muted-soft); font-style: normal; }
.q-app__dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 4px; flex: none; }
.q-app__dot--ok { background: var(--q-green); }
.q-app__dot--warn { background: var(--q-amber); }

@media (max-width: 980px) {
  .q-app { grid-template-columns: minmax(0,1fr); }
  .q-app__side { display: none; }
  .q-app__tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q-app__attention { grid-template-columns: minmax(0,1fr); }
  .q-app__bottom { grid-template-columns: minmax(0,1fr); }
  .q-app__table { min-width: 420px; }
  .q-app__panel:first-child { overflow-x: auto; }
}

/* 17. WHATSAPP MOCKUP ====================================================== */
.q-wa-mock {
  width: min(360px, 92%);
  margin-inline: auto;
  border-radius: var(--q-r-xl);
  overflow: hidden;
  box-shadow: var(--q-shadow-deep);
  background: #EFE7DC;
}
.q-wa-mock__bar { display: flex; align-items: center; gap: 10px; background: #075E54; color: #fff; padding: 12px 16px; }
.q-wa-mock__avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--q-blue); display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.q-wa-mock__bar b { display: flex; align-items: center; gap: 5px; font-size: 13.5px; }
.q-wa-mock__bar i { display: block; font-size: 10.5px; color: #9FD8CE; font-style: normal; }
.q-wa-mock__body { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.q-wa-mock__msg {
  max-width: 94%;
  background: #fff;
  border-radius: 4px 12px 12px 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--q-ink);
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.q-wa-mock__msg--out { align-self: flex-end; background: #D9FDD3; border-radius: 12px 4px 12px 12px; }
.q-wa-mock__voice { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: var(--q-green-700); }
.q-wa-mock__voice i { flex: 1; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, #16A34A 0 2px, transparent 2px 5px); }
.q-wa-mock__voice b { font-size: 10.5px; }
.q-wa-mock__card { display: flex; flex-direction: column; gap: 3px; }
.q-wa-mock__deal { font-size: 13.5px; font-weight: 800; color: var(--q-navy); }
.q-wa-mock__deal small { font-size: 11px; font-weight: 500; color: var(--q-muted); }
.q-wa-mock__meta { font-size: 11px; color: var(--q-muted); }
.q-wa-mock__btn {
  margin-top: 7px; text-align: center;
  background: var(--q-whatsapp); color: var(--q-green-950);
  border-radius: 8px; padding: 8px; font-size: 11.5px; font-weight: 800;
}
.q-wa-mock__btn--ghost { background: transparent; border: 1px solid var(--q-line); color: var(--q-muted); font-weight: 600; }
.q-wa-mock__note { text-align: center; font-size: 10.5px; color: #7C8A80; margin-top: 2px; }

/* 18. HOW IT WORKS ========================================================= */
.q-flow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--q-r-lg);
  padding: 22px clamp(20px, 3vw, 34px);
}
.q-flow__node { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.q-flow__dot {
  grid-row: 1 / 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: grid; place-items: center;
  color: #fff;
}
.q-flow__dot--lock { background: rgba(37,99,235,.35); color: var(--q-sky); }
.q-flow__dot--ok { background: rgba(22,163,74,.3); color: #6EE7A0; }
.q-flow__title { font-size: 15px; font-weight: 700; color: #fff; }
.q-flow__meta { font-size: 12.5px; color: var(--q-blue-300); }
.q-flow__line { flex: 1; min-width: 30px; height: 2px; margin-inline: clamp(12px, 2vw, 26px); background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.3)); border-radius: 2px; }
.q-flow__state { margin-left: auto; display: flex; align-items: center; gap: 8px; padding-left: clamp(12px, 2vw, 26px); }
.q-flow__label { font-family: var(--q-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--q-sky); }
.q-flow__value { background: rgba(22,163,74,.22); color: #6EE7A0; border-radius: var(--q-r-pill); padding: 6px 13px; font-size: 12.5px; font-weight: 700; }

.q-stepblock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--q-line);
}
.q-stepblock:first-child { border-top: 0; padding-top: 0; }
.q-stepblock--flip .q-stepblock__copy { order: 2; }
.q-stepblock__note {
  margin-top: 20px;
  background: var(--q-tint);
  border-left: 3px solid var(--q-blue);
  border-radius: 0 var(--q-r-xs) var(--q-r-xs) 0;
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--q-muted);
}
.q-stepblock__note strong { color: var(--q-navy); font-weight: 700; }

/* Mini app mockups */
.q-mini {
  background: #fff;
  border: 1px solid var(--q-line);
  border-radius: var(--q-r-lg);
  box-shadow: var(--q-shadow-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.q-mini__cap {
  font-family: var(--q-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--q-muted-soft);
  margin-bottom: 2px;
}
.q-mini__field { background: var(--q-tint); border-radius: var(--q-r-xs); padding: 10px 13px; }
.q-mini__field i { display: block; font-size: 10.5px; color: var(--q-muted-soft); font-style: normal; }
.q-mini__field b { display: block; font-size: 14px; color: var(--q-navy); margin-top: 2px; }
.q-mini__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.q-mini__pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.q-mini__pays span {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  border: 1px solid var(--q-line); border-radius: var(--q-r-xs);
  padding: 9px 6px; font-size: 12px; font-weight: 600; color: var(--q-muted);
}
.q-mini__pays .is-active { border-color: var(--q-blue); background: var(--q-blue-50); color: var(--q-blue-dark); }
.q-mini__ussd {
  background: var(--q-navy); color: #D8E3F6;
  border-radius: var(--q-r-xs); padding: 14px 16px;
  font-family: var(--q-mono); font-size: 12px; line-height: 1.5;
}

.q-mini__miles { display: flex; flex-direction: column; gap: 8px; }
.q-mini__miles li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--q-line); border-radius: var(--q-r-xs); padding: 10px 12px; }
.q-mini__ms {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--q-tint-2); color: var(--q-muted);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.q-mini__ms--done { background: var(--q-green-50); color: var(--q-green-700); }
.q-mini__miles b { font-size: 13px; color: var(--q-navy); font-weight: 600; }
.q-mini__miles i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--q-muted-soft); }
.q-mini__miles i.is-ok { color: var(--q-green-700); }
.q-mini__miles i.is-blue { color: var(--q-blue); }

.q-mini__rows { display: flex; flex-direction: column; }
.q-mini__rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; border-top: 1px solid var(--q-line-soft); font-size: 13.5px; color: var(--q-muted); }
.q-mini__rows b { color: var(--q-navy); font-variant-numeric: tabular-nums; }
.q-mini__rows .is-total b { color: var(--q-green-text); font-size: 15px; }

/* Check list */
.q-checklist { display: flex; flex-direction: column; gap: 12px; }
.q-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--q-muted); }
.q-checklist svg { color: var(--q-green); margin-top: 3px; }
.q-checklist--light li { color: var(--q-blue-300); }

@media (max-width: 1024px) {
  .q-stepblock { grid-template-columns: minmax(0,1fr); }
  .q-stepblock--flip .q-stepblock__copy { order: 0; }
  .q-flow__state { margin-left: 0; width: 100%; padding-left: 0; margin-top: 16px; }
  .q-flow__line { display: none; }
  .q-flow { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* 19. SECURITY / BUSINESS ================================================== */
.q-fundflow { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.q-fundflow__node { background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-r-sm); padding: 14px 16px; }
.q-fundflow__node b { display: block; font-size: 15px; color: var(--q-navy); }
.q-fundflow__node i { display: block; font-size: 12.5px; color: var(--q-muted); font-style: normal; margin-top: 3px; }
.q-fundflow__node--key { border-color: var(--q-blue); background: var(--q-blue-50); }
.q-fundflow__arrow { text-align: center; color: var(--q-slate-blue); font-size: 18px; line-height: 1.4; }

.q-pipeline { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); flex-wrap: wrap; }
.q-pipeline__box {
  flex: 1 1 200px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--q-r-md);
  padding: 20px 22px;
}
.q-pipeline__box--key { background: rgba(37,99,235,.24); border-color: rgba(37,99,235,.5); }
.q-pipeline__box b { display: block; font-size: 17px; color: #fff; }
.q-pipeline__box i { display: block; font-size: 13px; color: var(--q-blue-300); font-style: normal; margin-top: 4px; }
.q-pipeline__arrow { color: var(--q-sky); font-size: 20px; flex: none; }

.q-code {
  background: #071E36;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--q-r-lg);
  overflow: hidden;
  box-shadow: var(--q-shadow-float);
}
.q-code__head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--q-mono);
  font-size: 12.5px;
  color: var(--q-blue-300);
}
.q-code__verb { background: rgba(22,163,74,.24); color: #6EE7A0; border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
.q-code pre { margin: 0; padding: 18px; overflow-x: auto; }
.q-code code { font-family: var(--q-mono); font-size: 12.5px; line-height: 1.65; color: #C7D9F0; white-space: pre; }

.q-float--paid { bottom: 18px; left: -18px; }

@media (max-width: 1024px) {
  .q-pipeline__arrow { transform: rotate(90deg); align-self: center; width: 100%; text-align: center; }
  .q-pipeline { flex-direction: column; align-items: stretch; }
  .q-float--paid { position: static; margin-top: 14px; }
}

/* 20. ALTERNATE HOME ======================================================= */
.q-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: center; }
.q-sides__mid { text-align: center; }
.q-sides__badge {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--q-blue);
  color: #fff;
  margin-inline: auto;
  box-shadow: var(--q-shadow-blue);
}
@media (max-width: 900px) {
  .q-sides { grid-template-columns: minmax(0,1fr); }
}

/* 21. FEATURED POST ======================================================== */
.q-feature { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.q-feature .q-photo { aspect-ratio: auto; height: 100%; min-height: 320px; }
.q-feature__body { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) {
  .q-feature { grid-template-columns: minmax(0,1fr); }
  .q-feature .q-photo { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Comment form fields inherit the theme's input styling */
.comment-form p { display: flex; flex-direction: column; gap: 7px; }
.comment-form label { font-size: 13.5px; font-weight: 600; color: var(--q-navy); }
.comment-notes, .comment-form-cookies-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--q-muted-soft); }

/* Hero: accent word + photo (replaces phone mockup) */
.q-hero__accent { color: var(--q-green); text-transform: uppercase; }
.q-hero__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 640px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

/* Rail: payment logos */
.q-rail__logo { display: inline-flex; align-items: center; gap: 8px; }
.q-rail__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

/* WhatsApp section: photo replaces chat mockup */
.q-whatsapp__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--q-shadow-deep);
}

/* About: WhatsApp Assistant card */
.q-card--whatsapp {
  background: var(--q-green);
  border-color: var(--q-green);
  color: rgba(255,255,255,.88);
}
.q-card--whatsapp .q-h5 { color: #fff; }
.q-card--whatsapp .q-card__text { color: rgba(255,255,255,.88); }
.q-card--whatsapp .q-icon-tile { background: #fff; color: var(--q-green); }
.q-card--whatsapp .q-tag { background: #fff; color: var(--q-green-700); }
.q-card--whatsapp.q-card--hover:hover { background: var(--q-green-700); border-color: var(--q-green-700); }

/* Photo slots: real image fills the frame */
.q-photo:has(> img) { padding: 0; background: none; border-radius: 24px; overflow: hidden; }
.q-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-card > .q-photo:has(> img) { border-radius: 0; }

/* About: smaller story photo */
.q-split > .q-photo--tall:has(> img) { width: 100%; max-width: 400px; margin: 0 auto; }

/* About: team photo under "Where we are" */
.q-about__team-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 20px;
  box-shadow: var(--q-shadow-float);
}

/* App CTA: show the full app screenshot */
.q-appcta .q-photo--wide:has(> img) { aspect-ratio: auto; background: none; box-shadow: none; }
.q-appcta .q-photo--wide > img { height: auto; object-fit: contain; }

/* Hero on phones: solid navy (no gradient); callouts overlay the photo —
   USSD prompt pinned to the top of the image, WhatsApp card hanging off the bottom. */
@media (max-width: 760px) {
  .q-hero::before { display: none; }
  .q-hero__visual {
    display: block;
    position: relative;
    padding-bottom: 52px; /* room for the WhatsApp card to hang below the photo */
  }
  .q-hero__visual .q-float--ussd,
  .q-hero__visual .q-float--chat {
    position: absolute;
    margin-top: 0;
    z-index: 2;
    max-width: min(300px, 80vw);
  }
  .q-hero__visual .q-float--ussd { top: 14px; left: 14px; right: auto; }
  .q-hero__visual .q-float--chat { bottom: 0; right: 14px; left: auto; }
}

/* Hero: darker WhatsApp button, softer shadow */
.q-hero .q-btn--whatsapp {
  background: #039B48;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45);
}
.q-hero .q-btn--whatsapp:hover,
.q-hero .q-btn--whatsapp:focus-visible {
  background: #02813C;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5);
}

/* Hero: staggered entrance on page load */
@keyframes q-hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes q-hero-visual-in {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.q-hero__copy > * {
  opacity: 0;
  animation: q-hero-in .7s var(--q-ease) forwards;
}
.q-hero__copy > :nth-child(1) { animation-delay: .05s; }
.q-hero__copy > :nth-child(2) { animation-delay: .15s; }
.q-hero__copy > :nth-child(3) { animation-delay: .25s; }
.q-hero__copy > :nth-child(4) { animation-delay: .35s; }
.q-hero__copy > :nth-child(5) { animation-delay: .45s; }
.q-hero__copy > :nth-child(6) { animation-delay: .55s; }
.q-hero__visual {
  opacity: 0;
  animation: q-hero-visual-in .9s var(--q-ease) .3s forwards;
}
.q-hero__visual .q-float {
  opacity: 0;
  animation: q-hero-in .6s var(--q-ease) forwards;
}
.q-hero__visual .q-float--ussd { animation-delay: .9s; }
.q-hero__visual .q-float--chat { animation-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) {
  .q-hero__copy > *, .q-hero__visual, .q-hero__visual .q-float { opacity: 1; animation: none; }
}

/* Hero trustline on phones: keep all three items on one line */
@media (max-width: 760px) {
  .q-hero .q-trustline { flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
  .q-hero .q-trustline__item { font-size: clamp(10.5px, 2.85vw, 13px); gap: 5px; white-space: nowrap; }
  .q-hero .q-trustline__item svg { width: 13px; height: 13px; flex: 0 0 13px; }
}

/* Help centre: article index (blog-style cards + topic tabs) */
.q-help-tab__count { margin-left: 6px; opacity: .6; font-weight: 600; font-size: .9em; }
.q-help-grid .q-post__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.q-help-grid .q-post__meta { margin-top: auto; }
.q-cat-filter a[role="tab"] { cursor: pointer; }
