/* ============ VIREO — design tokens ============ */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 660px;
  --content-default: 1000px;
  --content-wide: 1220px;

  --font-display: 'Cabinet Grotesk', 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;
}

/* ---- Light (default) ---- */
:root, [data-theme='light'] {
  --color-bg: #f6f4ef;
  --color-surface: #fbfaf6;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efece4;
  --color-ink: #14201b;
  --color-text: #1c2b25;
  --color-text-muted: #61706a;
  --color-text-faint: #97a29d;
  --color-text-inverse: #f6f4ef;
  --color-border: #ddd8cc;
  --color-divider: #e8e3d9;

  --color-primary: #0d6b4f;
  --color-primary-hover: #0a5540;
  --color-primary-soft: #dfeae3;

  --color-accent: #c07a10;
  --color-accent-soft: #f2e6cf;

  --shadow-sm: 0 1px 2px rgba(20, 32, 27, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 32, 27, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 32, 27, 0.13);
}

/* ---- Dark ---- */
[data-theme='dark'] {
  --color-bg: #101614;
  --color-surface: #151d1a;
  --color-surface-2: #1a2320;
  --color-surface-offset: #1c2622;
  --color-ink: #0a0f0d;
  --color-text: #dfe4e0;
  --color-text-muted: #8a978f;
  --color-text-faint: #5f6d66;
  --color-text-inverse: #0f1614;
  --color-border: #2b3733;
  --color-divider: #212b28;

  --color-primary: #46b489;
  --color-primary-hover: #63cca1;
  --color-primary-soft: #1a2f27;

  --color-accent: #dda23f;
  --color-accent-soft: #2c2519;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);
}

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  transition: background 300ms ease, color 300ms ease;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
p { text-wrap: pretty; max-width: 68ch; }

::selection { background: var(--color-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

a, button, [role='button'], input, select, textarea {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

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

/* ============ layout ============ */
.wrap { width: min(100% - 2.5rem, var(--content-wide)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(100% - 2rem, var(--content-wide)); } }

section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.6;
}

.section-head { max-width: 700px; margin-bottom: var(--space-12); }
.section-head h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.section-head p { color: var(--color-text-muted); font-size: var(--text-base); }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; line-height: 1;
  padding: 0.85rem 1.4rem; border-radius: var(--radius-full);
  border: 1px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
[data-theme='dark'] .btn--primary { color: #06120d; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--color-border); color: var(--color-text); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.75rem; }
.btn svg { width: 16px; height: 16px; }

/* ============ header ============ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.header--scrolled { border-bottom-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: var(--space-8); height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--color-text); }
.logo svg { width: 30px; height: 30px; color: var(--color-primary); flex: none; }
.logo__word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.nav { display: flex; align-items: center; gap: var(--space-6); margin-inline-start: auto; }
.nav a { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.nav a:hover { color: var(--color-primary); }

.header__actions { display: flex; align-items: center; gap: var(--space-3); }

.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--radius-full); border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.icon-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.icon-btn svg { width: 18px; height: 18px; }

.burger { display: none; }

@media (max-width: 960px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: grid; margin-inline-start: auto; }
  .header__actions { margin-inline-start: 0; }
}

.mobile-nav {
  display: none; flex-direction: column; gap: var(--space-1);
  padding: var(--space-4) 0 var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: var(--space-3) 0; font-weight: 500; border-bottom: 1px solid var(--color-divider); }
.mobile-nav .btn { margin-top: var(--space-4); }

/* ============ hero ============ */
.hero { position: relative; padding-block: clamp(var(--space-16), 8vw, var(--space-24)) clamp(var(--space-16), 8vw, var(--space-24)); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% 40% 40% -20%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent);
  pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero h1 { font-size: var(--text-3xl); margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--color-primary); }
.hero__lede { font-size: var(--text-lg); color: var(--color-text-muted); margin-bottom: var(--space-8); max-width: 46ch; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }
.hero__note { font-size: var(--text-xs); color: var(--color-text-faint); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__note svg { width: 14px; height: 14px; color: var(--color-primary); }

.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.hero__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.hero__card {
  position: absolute; left: -8%; bottom: -10%;
  width: min(300px, 78%);
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--space-5);
}
.hero__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.hero__card-label { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pill {
  font-size: 0.6875rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
  background: var(--color-primary-soft); color: var(--color-primary); letter-spacing: 0.02em;
}
.hero__card-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: var(--space-4); }
.spark { width: 100%; height: 46px; color: var(--color-primary); }
.spark path.line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark path.area { fill: currentColor; opacity: 0.12; stroke: none; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__card { left: auto; right: 4%; bottom: -8%; }
  .hero p { max-width: none; }
}
@media (max-width: 620px) {
  .hero__visual { order: 0; margin-top: var(--space-10); }
  .hero__card { position: static; width: 100%; margin-top: var(--space-4); }
}

/* ============ marquee / trust bar ============ */
.trust { border-block: 1px solid var(--color-divider); padding-block: var(--space-6); background: var(--color-surface); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.trust__item { display: flex; flex-direction: column; gap: 0.2rem; }
.trust__num { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); }
.trust__lab { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ============ service cards ============ */
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-5);
}
.svc {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.svc:hover { transform: translateY(-4px); border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.svc__icon {
  width: 42px; height: 42px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--color-primary-soft); color: var(--color-primary); flex: none;
}
.svc__icon svg { width: 21px; height: 21px; }
.svc h3 { font-size: var(--text-lg); }
.svc ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.svc li {
  font-size: var(--text-xs); color: var(--color-text-muted);
  border: 1px solid var(--color-divider); border-radius: var(--radius-full);
  padding: 0.25rem 0.6rem; background: var(--color-bg);
}
.svc__price { margin-top: auto; padding-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.svc__price strong { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text); letter-spacing: -0.02em; }

/* ============ steps ============ */
.steps { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-8); counter-reset: step; }
.step { position: relative; padding-top: var(--space-8); border-top: 2px solid var(--color-divider); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: var(--space-4); left: 0;
  font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; color: var(--color-primary);
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============ split feature ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.split > div > p { color: var(--color-text-muted); margin-bottom: var(--space-6); }
.checks { list-style: none; display: grid; gap: var(--space-4); }
.checks li { display: flex; gap: var(--space-3); font-size: var(--text-sm); }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--color-primary); margin-top: 1px; }
.checks strong { display: block; color: var(--color-text); font-weight: 600; }
.checks span { color: var(--color-text-muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

/* ============ pricing ============ */
.pricing { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--space-5); align-items: start; }
.plan {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.plan--featured {
  background: var(--color-ink); border-color: var(--color-ink); color: #e8ece9;
  box-shadow: var(--shadow-lg); position: relative;
}
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__feats li { color: #a9b7b1; }
.plan--featured .plan__feats svg { color: #46b489; }
.plan--featured .btn--ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.plan--featured .btn--ghost:hover { border-color: #46b489; color: #46b489; }
.plan__tag {
  position: absolute; top: var(--space-5); right: var(--space-5);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #06120d; background: #46b489; padding: 0.25rem 0.6rem; border-radius: var(--radius-full);
}
.plan h3 { font-size: var(--text-lg); }
.plan__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
.plan__price { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; color: var(--color-text-muted); letter-spacing: 0; }
.plan__feats { list-style: none; display: grid; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.plan__feats li { display: flex; gap: var(--space-2); }
.plan__feats svg { width: 17px; height: 17px; flex: none; color: var(--color-primary); margin-top: 3px; }
.plan .btn { width: 100%; margin-top: auto; }
[data-theme='dark'] .plan { background: var(--color-bg); }
[data-theme='dark'] .plan--featured {
  background: var(--color-surface-2);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}

.pricing__note { margin-top: var(--space-8); font-size: var(--text-xs); color: var(--color-text-faint); }

/* ============ testimonials ============ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); }
.quote {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-6); background: var(--color-surface);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.quote p { font-size: var(--text-base); line-height: 1.55; }
.quote footer { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.avatar {
  width: 38px; height: 38px; border-radius: var(--radius-full); flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: var(--text-xs);
  background: var(--color-primary-soft); color: var(--color-primary);
  font-family: var(--font-display); letter-spacing: 0.02em;
}
.quote cite { font-style: normal; font-size: var(--text-sm); font-weight: 600; display: block; }
.quote small { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ============ faq ============ */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.faq__list { border-top: 1px solid var(--color-divider); }
details { border-bottom: 1px solid var(--color-divider); }
summary {
  list-style: none; cursor: pointer; padding: var(--space-5) var(--space-8) var(--space-5) 0;
  font-weight: 600; font-size: var(--text-base); position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; position: absolute; right: var(--space-2); top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--color-text-muted); border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg); transition: transform 200ms ease;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
summary:hover { color: var(--color-primary); }
details p { padding-bottom: var(--space-5); color: var(--color-text-muted); font-size: var(--text-sm); }
@media (max-width: 800px) { .faq__grid { grid-template-columns: 1fr; } }

/* ============ cta banner ============ */
.cta-band { padding-block: 0; }
.cta-box {
  background: var(--color-ink); color: #e8ece9; border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-20));
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::after {
  content: ''; position: absolute; inset: auto -10% -60% -10%; height: 300px;
  background: radial-gradient(closest-side, rgba(70,180,137,0.28), transparent);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: var(--text-xl); color: #fff; margin-bottom: var(--space-4); }
.cta-box p { color: #a9b7b1; margin: 0 auto var(--space-8); font-size: var(--text-base); }
.cta-box .btn--primary { background: #46b489; color: #06120d; }
.cta-box .btn--primary:hover { background: #63cca1; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.cta-box .btn--ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.cta-box .btn--ghost:hover { border-color: #46b489; color: #46b489; }

/* ============ footer ============ */
.footer { border-top: 1px solid var(--color-divider); padding-block: var(--space-16) var(--space-8); margin-top: clamp(var(--space-16), 9vw, var(--space-32)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-8); margin-bottom: var(--space-12); }
.footer__blurb { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: grid; gap: var(--space-3); }
.footer ul a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer ul a:hover { color: var(--color-primary); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  padding-top: var(--space-6); border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs); color: var(--color-text-faint);
}
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--color-text-muted); }
.footer__social a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer__social svg { width: 16px; height: 16px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Naira sign: display face lacks the glyph — render it in the body face */
.naira { font-family: var(--font-body); font-weight: 700; }
