/* ============================================================
   vendor / hub — design system
   Same brand as the product itself (vendor.ng): deep indigo ink,
   warm paper, marigold gold, leaf green, coral. The one addition
   here is the Harlow Solid Italic wordmark treatment — used
   sparingly, everything else stays disciplined around it.
   ============================================================ */

:root {
  --ink: #1B1F3B;
  --ink-soft: #363B63;
  --paper: #FBF7EF;
  --paper-raised: #FFFFFF;
  --marigold: #F2A93B;
  --marigold-deep: #D98F1F;
  --leaf: #2E9E5B;
  --leaf-soft: #E4F3EA;
  --coral: #E4572E;
  --coral-soft: #FBE7DF;
  --charcoal: #20222B;
  --charcoal-soft: #5B5E6B;
  --line: #E7DFCB;
  --line-on-ink: rgba(255,255,255,0.16);

  --font-wordmark: 'Harlow Solid Italic', 'Kaushan Script', cursive;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-tag: 8px;

  --shadow-card: 0 2px 10px rgba(27, 31, 59, 0.07);
  --shadow-raised: 0 12px 32px rgba(27, 31, 59, 0.14);

  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--charcoal-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 20px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }

/* ---- Wordmark ---- */
.wordmark {
  font-family: var(--font-wordmark);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}
.wordmark--footer { color: var(--paper); font-size: 2.4rem; }
.wordmark--hero { font-size: clamp(3.2rem, 9vw, 6rem); display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--marigold); color: var(--ink); }
.btn-primary:hover { background: var(--marigold-deep); transform: translateY(-1px); box-shadow: var(--shadow-raised); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-ink { background: var(--marigold); color: var(--ink); }
.btn-outline-on-ink { background: transparent; color: #fff; border-color: var(--line-on-ink); }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251,247,239,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); }
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 880px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--paper); flex-direction: column; padding: 32px 24px; gap: 4px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-header__actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); margin-top: 96px; padding: 72px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { color: rgba(255,255,255,0.6); margin: 4px 0 0; }
.site-footer__tagline-note { font-size: 13.5px; max-width: 220px; }
.site-footer__col h3 { color: #fff; font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.site-footer__col a { display: block; color: rgba(255,255,255,0.68); text-decoration: none; font-size: 14.5px; padding: 6px 0; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid var(--line-on-ink); padding: 24px; font-size: 13px; }
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---- Sections & shared layout patterns ---- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-ink { background: var(--ink); color: rgba(255,255,255,0.85); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255,255,255,0.72); }
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--marigold-deep); margin-bottom: 14px; display: block; }
.section-ink .eyebrow { color: var(--marigold); }
.lede { font-size: 1.2rem; max-width: 640px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper-raised); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.card h3 { margin-bottom: 10px; }

/* ---- Hero ---- */
.hero { padding: 88px 0 64px; text-align: center; }
.hero .wordmark--hero { color: var(--ink); }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--marigold-deep); margin: 8px 0 28px; }
.hero-lede { font-size: 1.25rem; max-width: 640px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Stat / differentiator strip ---- */
.diff-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px; }
.diff-strip__item { background: var(--paper-raised); padding: 28px 22px; }
.diff-strip__item h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.diff-strip__item p { font-size: 14px; margin: 0; }
@media (max-width: 880px) { .diff-strip { grid-template-columns: 1fr 1fr; } }

/* ---- Numbered process (genuine sequence — used only where order matters) ---- */
.process { counter-reset: step; }
.process-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.process-step:first-child { border-top: none; }
.process-step__num { counter-increment: step; font-family: var(--font-display); font-size: 1.6rem; color: var(--marigold-deep); }
.process-step__num::before { content: counter(step); }

/* ---- Market price tag (signature element — pricing page) ---- */
.tag-line { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; padding: 20px 0 8px; }
.price-tag {
  position: relative; background: var(--paper-raised); width: 230px;
  padding: 26px 20px 22px; border-radius: 6px 6px var(--radius-tag) var(--radius-tag);
  box-shadow: var(--shadow-card); text-align: center;
}
.price-tag::before {
  content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 16px; background: var(--charcoal-soft);
}
.price-tag::after {
  content: ""; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--charcoal-soft); background: var(--paper);
}
.price-tag__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.price-tag__formula { font-family: var(--font-mono); font-size: 13px; color: var(--marigold-deep); font-weight: 600; margin-bottom: 10px; }
.price-tag__note { font-size: 13px; color: var(--charcoal-soft); margin: 0; }

.example-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 32px; margin-top: 40px; }
.example-card h3 { color: #fff; }
.example-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-on-ink); font-family: var(--font-mono); font-size: 14.5px; }
.example-row:last-child { border-bottom: none; font-weight: 600; color: var(--marigold); font-size: 16px; padding-top: 16px; }
.example-row span:first-child { color: rgba(255,255,255,0.68); font-family: var(--font-body); }

/* ---- Comparison table ---- */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 32px; background: var(--paper-raised); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare-table th { font-family: var(--font-display); font-weight: 600; color: var(--ink); background: var(--paper); }
.compare-table td.yes { color: var(--leaf); font-weight: 600; }
.compare-table td.no { color: var(--charcoal-soft); }
.compare-table tr:last-child td { border-bottom: none; }

/* ---- Callout / trust box ---- */
.callout { border-left: 4px solid var(--leaf); background: var(--leaf-soft); padding: 22px 26px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 32px 0; }
.callout--warn { border-color: var(--coral); background: var(--coral-soft); }
.callout p:last-child { margin-bottom: 0; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); cursor: pointer; font-weight: 600; }
.faq-item p { margin-top: 12px; }

/* ---- Legal pages ---- */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 2.2em; }
.legal-content ul { padding-left: 1.2em; }
.legal-content li { margin-bottom: 0.5em; color: var(--charcoal-soft); }
.legal-updated { font-size: 13.5px; color: var(--charcoal-soft); font-family: var(--font-mono); }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.72); }

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { gap: 24px; }
  .cta-band { padding: 40px 24px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
