/* ============================================================================
   GapSync — public marketing / portal styling (landing + public pages).
   Non-parallax, self-hosted imagery (public/assets/img/edo/*, real Benin City
   / Edo State road photography — CC BY-SA 4.0 / NASA PD, credited in the
   footer). Reuses the app.css/premium.css design tokens (emerald system,
   Sora / Plus Jakarta Sans / DM Mono). CSP-safe: no inline JS, no CDN.
   ========================================================================== */

.lp { --lp-max: 1200px; color: var(--ink); }
.lp a { color: inherit; }
.lp-container { max-width: var(--lp-max); margin: 0 auto; padding: 0 24px; }
.lp section { position: relative; }

/* ---------------------------------------------------------------- Top nav */
.lp-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg-1) 88%, transparent); border-bottom: 1px solid var(--line); }
.lp-nav__inner { max-width: var(--lp-max); margin: 0 auto; padding: 14px 24px; position: relative;
  display: flex; align-items: center; gap: 18px; }
.lp-nav__toggle { display: none; margin-left: auto; width: 42px; height: 42px; place-items: center;
  border: 1px solid var(--line); border-radius: 11px; background: var(--raise); color: var(--ink); cursor: pointer; }
.lp-nav__toggle svg { width: 22px; height: 22px; }
.lp-nav__toggle .ico-x { display: none; }
body.lp-nav-open .lp-nav__toggle .ico-x { display: block; }
body.lp-nav-open .lp-nav__toggle .ico-bars { display: none; }
.lp-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lp-crest { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--emerald), #123a28); border: 1px solid rgba(56,208,138,0.4);
  color: #f4fff9; font-family: var(--display, var(--sans)); font-weight: 800; font-size: 13px; letter-spacing: .06em; }
.lp-brand-name { font-family: var(--display, var(--sans)); font-weight: 800; font-size: 16px; letter-spacing: .01em; }
.lp-brand-sub { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 1px; }
.lp-nav__links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-dim);
  text-decoration: none; transition: background var(--ease), color var(--ease); }
.lp-nav__links a:hover { background: var(--raise-hover); color: var(--ink); }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 11px;
  font-weight: 700; font-size: 13.5px; text-decoration: none; transition: transform var(--ease), box-shadow var(--ease), background var(--ease); cursor: pointer; border: 0; }
.lp-btn--primary { background: linear-gradient(135deg, var(--emerald), var(--emerald-dim)); color: #f4fff9; box-shadow: var(--emerald-btn-shadow, 0 8px 20px rgba(15,125,73,.28)); }
.lp-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(15,125,73,.34); }
.lp-btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--panel); }
.lp-btn--ghost:hover { border-color: var(--emerald); color: var(--emerald-2); }
.lp-btn--lg { padding: 13px 24px; font-size: 15px; border-radius: 13px; }
.lp-btn--ondark { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.lp-btn--ondark:hover { background: rgba(255,255,255,.2); }

/* ---------------------------------------------------------------- Hero */
.lp-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  height: clamp(448px, 62vh, 582px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.lp-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; transform: scale(1.04); display: block; }
/* Readable-left, photo-revealing-right scrim: dark enough behind the copy for
   white text, fading to near-transparent over the right so the Edo road photo
   is clearly visible; plus a soft bottom grounding into the KPI strip. */
.lp-hero__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(3,20,13,.9) 0%, rgba(4,28,18,.7) 34%, rgba(6,40,26,.4) 62%, rgba(8,48,31,.2) 100%),
    linear-gradient(to top, rgba(3,18,12,.62) 0%, rgba(3,18,12,.06) 40%, transparent 60%); }
.lp-hero__inner { max-width: var(--lp-max); margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px); width: 100%; }
.lp-hero__card { width: min(680px, 100%); }
.lp-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #ffd98a; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,217,138,.34); background: rgba(255,217,138,.08); }
.lp-hero h1 { font-family: var(--display, var(--sans)); font-weight: 800; letter-spacing: -.02em; line-height: 1.04;
  font-size: clamp(2rem, 1rem + 4.2vw, 3.7rem); margin: 18px 0 16px; max-width: 15ch; text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.lp-hero__lead { font-size: clamp(1rem, .9rem + .4vw, 1.18rem); line-height: 1.58; color: rgba(255,255,255,.92); max-width: 58ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* KPI strip — coverage metrics on a clean white band under the hero (nnpc-modeled) */
.lp-kpi-strip { background: var(--bg-1); border-bottom: 1px solid var(--line); }
.lp-kpi-inner { max-width: var(--lp-max); margin: 0 auto; padding: 22px clamp(20px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lp-kpi-item { text-align: center; padding: 6px 8px; border-right: 1px solid var(--line); }
.lp-kpi-item:last-child { border-right: none; }
.lp-kpi-item strong { display: block; font-family: var(--display, var(--sans)); color: var(--emerald-2);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.95rem); font-weight: 800; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.lp-kpi-item strong em { color: var(--emerald); font-style: normal; }
.lp-kpi-item span { display: block; color: var(--muted); font-size: 0.76rem; line-height: 1.4; font-weight: 600; }

/* ---------------------------------------------------------------- Section shell */
.lp-band { padding: 76px 0; }
.lp-band--tint { background: var(--bg-1); border-block: 1px solid var(--line); }
.lp-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-2); }
.lp-h2 { font-family: var(--display, var(--sans)); font-weight: 800; letter-spacing: -.01em; line-height: 1.12;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); margin: 12px 0 0; text-wrap: balance; max-width: 22ch; }
.lp-sub { color: var(--ink-dim); font-size: 15.5px; line-height: 1.6; margin: 14px 0 0; max-width: 62ch; }
.lp-center { text-align: center; margin: 0 auto; }
.lp-center .lp-h2, .lp-center .lp-sub { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- Feature grid */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.lp-feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.lp-feature:hover { transform: translateY(-3px); border-color: rgba(47,157,104,.4); box-shadow: var(--shadow); }
.lp-feature__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(47,157,104,.12); margin-bottom: 16px; }
.lp-feature__ico svg { width: 24px; height: 24px; fill: var(--emerald-2); }
.lp-feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.lp-feature p { margin: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.55; }

/* ---------------------------------------------------------------- Split (image + copy) */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.lp-split--rev .lp-split__media { order: 2; }
.lp-split__media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; }
.lp-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.lp-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-dim); line-height: 1.5; }
.lp-checklist li::before { content: '\2713'; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--emerald-2);
  background: rgba(47,157,104,.14); border: 1px solid rgba(47,157,104,.32); margin-top: 1px; }
.lp-checklist li strong { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------- Steps */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; counter-reset: lp-step; }
.lp-step { position: relative; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); }
.lp-step::before { counter-increment: lp-step; content: counter(lp-step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; font-family: var(--mono); font-weight: 600; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dim)); color: #f4fff9; }
.lp-step h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.lp-step p { margin: 0; font-size: 13.5px; color: var(--ink-dim); line-height: 1.5; }

/* ---------------------------------------------------------------- Stats band (photo bg) */
.lp-statsband { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: 70px 0; }
.lp-statsband__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.lp-statsband__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,32,22,.9), rgba(9,45,30,.82)); }
.lp-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.lp-statgrid .lp-stat__num { font-size: clamp(1.8rem, 1rem + 2.4vw, 2.8rem); }
.lp-statgrid .lp-stat__label { color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------- Stakeholders */
.lp-audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.lp-aud { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); }
.lp-aud h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.lp-aud p { margin: 0; font-size: 13px; color: var(--ink-dim); line-height: 1.5; }
.lp-aud .lp-tag { display: inline-block; margin-bottom: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--emerald-2); background: rgba(47,157,104,.1); border: 1px solid rgba(47,157,104,.3); border-radius: 7px; padding: 2px 8px; }

/* ---------------------------------------------------------------- CTA band */
.lp-cta { text-align: center; padding: 74px 24px; border-radius: var(--radius-xl); margin: 0 24px;
  background: radial-gradient(700px 340px at 50% 0%, rgba(47,157,104,.16), transparent 70%),
              linear-gradient(135deg, rgba(15,125,73,.1), rgba(11,106,58,.03)), var(--panel);
  border: 1px solid rgba(56,208,138,.28); }
.lp-cta .lp-h2 { margin-inline: auto; }
.lp-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------------------------------------------------------------- Footer */
.lp-footer { background: var(--bg-0); border-top: 1px solid var(--line); padding: 54px 0 30px; margin-top: 0; }
.lp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.lp-footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lp-footer a { color: var(--ink-dim); font-size: 13.5px; text-decoration: none; }
.lp-footer a:hover { color: var(--emerald-2); }
.lp-footer__blurb { color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; max-width: 40ch; }
.lp-footer__bar { max-width: var(--lp-max); margin: 34px auto 0; padding: 20px 24px 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.lp-credits { font-size: 11.5px; color: var(--faint); line-height: 1.5; max-width: 70ch; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .lp-features, .lp-steps, .lp-statgrid, .lp-audience { grid-template-columns: repeat(2, 1fr); }
  .lp-split { grid-template-columns: 1fr; gap: 28px; }
  .lp-split--rev .lp-split__media { order: 0; }
  .lp-footer__grid { grid-template-columns: 1fr 1fr; }
  .lp-kpi-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
  .lp-kpi-item:nth-child(3n) { border-right: none; }
}
@media (max-width: 720px) {
  /* Public/landing top nav collapses to a hamburger drawer (no lost links). */
  .lp-nav__toggle { display: inline-grid; }
  .lp-nav__links {
    position: absolute; top: calc(100% + 1px); left: 12px; right: 12px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 10px;
    background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 24px 48px rgba(6, 35, 27, 0.18);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }
  body.lp-nav-open .lp-nav__links { opacity: 1; visibility: visible; transform: none; }
  .lp-nav__links a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .lp-nav__links .lp-btn { margin-top: 4px; justify-content: center; }
}
@media (max-width: 560px) {
  .lp-features, .lp-steps, .lp-statgrid, .lp-audience, .lp-footer__grid { grid-template-columns: 1fr; }
  .lp-hero { height: auto; min-height: 0; padding: 54px 0 58px; }
  .lp-hero h1 { max-width: none; }
  .lp-kpi-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 18px 20px; }
  .lp-kpi-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .lp-kpi-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 6px; }
  .lp-band { padding: 52px 0; }
}
