/* The public landing page (templates/landing.html), in Ontech's product-site system as on
   ictm.ontech.co.zm (aligned 2026-09-24). Its own palette on purpose: the app's tokens are in
   theme/variables.css. */
/* Ontech's product-site system, as on ictm.ontech.co.zm: slate navy, an emerald accent,
   blue/amber/purple/red for variety, Inter. Tabler supplies the grid and components. */
:root, [data-bs-theme=light] {
    --lp-primary: #0f172a;
    --lp-primary-light: #1e293b;
    --lp-accent: #10b981;
    --lp-accent-dark: #059669;
    --lp-accent-light: #d1fae5;
    --lp-secondary: #3b82f6;
    --lp-warning: #f59e0b;
    --lp-danger: #ef4444;
    --lp-purple: #8b5cf6;
    --lp-text: #1e293b;
    --lp-text-light: #64748b;
    --lp-border: #e2e8f0;
    --lp-bg: #fafafa;
    --lp-bg-alt: #f1f5f9;
    --lp-glass-bg: rgba(255, 255, 255, .08);
    --lp-glass-border: rgba(255, 255, 255, .15);
    --tblr-primary: #10b981;
    --tblr-primary-rgb: 16, 185, 129;
    --tblr-primary-fg: #ffffff;
    --tblr-primary-lt: #d1fae5;
    --tblr-link-color: #059669;
    --tblr-link-color-rgb: 5, 150, 105;
    --tblr-font-sans-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --tblr-body-color: #1e293b;
}
body { background: var(--lp-bg); color: var(--lp-text); }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

/* ---- navigation: transparent over the hero, glass once scrolled ---- */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: .875rem 0;
          background: transparent; transition: background .3s, box-shadow .3s; }
.lp-nav.is-scrolled, .lp-nav.is-open { background: rgba(15, 23, 42, .85); backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0, 0, 0, .2); }
.lp-nav .nav-link { color: rgba(255, 255, 255, .78); font-weight: 500; font-size: .92rem; }
.lp-nav .nav-link:hover { color: #fff; }
.lp-brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.lp-brand:hover { color: #fff; text-decoration: none; }
.lp-brand img { height: 30px; width: auto; }
.lp-brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.lp-brand-name span { color: var(--lp-accent); }
.lp-ussd { border: 1px solid rgba(16, 185, 129, .45); color: var(--lp-accent); border-radius: 100px;
           padding: .3rem .8rem; font-size: .8rem; font-weight: 700; text-decoration: none; }
.lp-ussd:hover { color: #fff; background: rgba(16, 185, 129, .15); text-decoration: none; }

/* ---- buttons ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
          padding: .8rem 1.6rem; border-radius: 10px; font-weight: 600; font-size: 1rem;
          text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; border: 1px solid transparent; }
.lp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.lp-btn-sm { padding: .5rem 1rem; font-size: .88rem; border-radius: 8px; }
.lp-btn-primary { background: var(--lp-accent); color: #fff; box-shadow: 0 0 20px rgba(16, 185, 129, .3); }
.lp-btn-primary:hover { background: var(--lp-accent-dark); color: #fff; }
.lp-btn-glass { background: var(--lp-glass-bg); color: #fff; border-color: var(--lp-glass-border);
                backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lp-btn-glass:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.lp-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.lp-btn-outline:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---- hero ---- */
.lp-hero { position: relative; min-height: 100vh; display: flex; align-items: center; text-align: center;
           color: #fff; background: #0a0e1a; overflow: hidden; padding: 9rem 0 5rem; }
.lp-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-veil { position: absolute; inset: 0;
    background: radial-gradient(ellipse at 85% 10%, rgba(16, 185, 129, .28), transparent 50%),
                radial-gradient(ellipse at 10% 90%, rgba(139, 92, 246, .30), transparent 50%),
                linear-gradient(180deg, rgba(10, 14, 26, .78) 0%, rgba(10, 14, 26, .88) 100%); }
.lp-hero-body { position: relative; }
.lp-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 100px;
           background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35);
           color: #34d399; font-size: .85rem; font-weight: 600; }
.lp-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.03em;
              line-height: 1.08; margin: 1.5rem auto 1.25rem; max-width: 1100px; }
.lp-hero h1 span { color: var(--lp-accent); }
.lp-hero-line { font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: rgba(255, 255, 255, .92); }
.lp-hero-line span { color: var(--lp-accent); }
.lp-hero-sub { color: rgba(255, 255, 255, .62); font-size: 1.05rem; max-width: 760px; margin: 1rem auto 0; line-height: 1.7; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2.5rem; }
.lp-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 100px;
           background: var(--lp-glass-bg); border: 1px solid var(--lp-glass-border); color: rgba(255, 255, 255, .85);
           font-size: .85rem; font-weight: 500; }
.lp-chip i { color: var(--lp-accent); }
.lp-channels { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 2rem; }
.lp-channel { display: inline-flex; align-items: center; gap: .75rem; padding: .55rem 1.2rem .55rem .6rem;
              border-radius: 100px; text-decoration: none; border: 1px solid; }
.lp-channel:hover { text-decoration: none; transform: translateY(-1px); }
.lp-channel .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.lp-channel small { display: block; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lp-channel b { display: block; font-size: 1.1rem; font-weight: 800; line-height: 1.1; }
.lp-channel--call { color: #34d399; border-color: rgba(16, 185, 129, .4); background: rgba(16, 185, 129, .1); }
.lp-channel--call .ico { background: rgba(16, 185, 129, .2); }
.lp-channel--sms { color: #60a5fa; border-color: rgba(59, 130, 246, .4); background: rgba(59, 130, 246, .1); }
.lp-channel--sms .ico { background: rgba(59, 130, 246, .2); }
.lp-channel--ussd { color: #fbbf24; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1); }
.lp-channel--ussd .ico { background: rgba(245, 158, 11, .2); }

/* ---- stats band ---- */
.lp-stats { background: var(--lp-primary); padding: 3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lp-stat { font-size: 2.75rem; font-weight: 800; color: var(--lp-accent); line-height: 1; margin-bottom: .5rem; }
.lp-stat-label { color: rgba(255, 255, 255, .6); font-size: .9rem; }

/* ---- sections ---- */
.lp-section { padding: 5.5rem 0; background: #fff; }
.lp-section--alt { background: var(--lp-bg-alt); }
.lp-section--dark { background: var(--lp-primary); color: #fff; }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.lp-badge { display: inline-block; background: linear-gradient(135deg, var(--lp-accent), #34d399); color: #fff;
            font-size: .7rem; font-weight: 700; padding: .3rem .85rem; border-radius: 100px;
            text-transform: uppercase; letter-spacing: .5px; margin-bottom: .75rem; }
.lp-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--lp-primary); margin: 0; }
.lp-section--dark .lp-head h2 { color: #fff; }
.lp-head p { color: var(--lp-text-light); font-size: 1.1rem; margin: .9rem 0 0; line-height: 1.65; }
.lp-section--dark .lp-head p { color: rgba(255, 255, 255, .65); }

/* ---- cards: white, a coloured left edge that rotates through the palette ---- */
.lp-card { background: #fff; border: 1px solid var(--lp-border); border-left: 3px solid var(--lp-secondary);
           border-radius: 12px; padding: 1.5rem; height: 100%; transition: box-shadow .2s, transform .2s; }
.lp-card:hover { box-shadow: 0 12px 30px rgba(15, 23, 42, .08); transform: translateY(-2px); }
.lp-grid > :nth-child(6n+2) .lp-card { border-left-color: var(--lp-accent); }
.lp-grid > :nth-child(6n+3) .lp-card { border-left-color: #22c55e; }
.lp-grid > :nth-child(6n+4) .lp-card { border-left-color: var(--lp-warning); }
.lp-grid > :nth-child(6n+5) .lp-card { border-left-color: var(--lp-purple); }
.lp-grid > :nth-child(6n+6) .lp-card { border-left-color: var(--lp-danger); }
.lp-card h3 { line-height: 1.35; font-size: 1.05rem; font-weight: 700; color: var(--lp-primary); margin: .85rem 0 .5rem; }
.lp-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
          background: var(--lp-accent-light); color: var(--lp-accent-dark); }
.lp-pain { color: var(--lp-danger); font-size: .85rem; margin: .25rem 0; }
.lp-gain { color: var(--lp-text); font-size: .88rem; margin: .5rem 0 0; }
.lp-gain b { color: var(--lp-accent-dark); }
.lp-points { list-style: none; padding: 0; margin: .75rem 0 0; }
.lp-points li { display: flex; gap: .5rem; padding: .25rem 0; font-size: .86rem; color: var(--lp-text-light); }
.lp-points i { color: var(--lp-accent); margin-top: .2rem; }
.lp-metric { display: inline-block; margin-top: .9rem; background: var(--lp-accent-light); color: var(--lp-accent-dark);
             font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 100px; }
.lp-section--dark .lp-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #fff; }
.lp-section--dark .lp-card h3 { color: #fff; }
.lp-section--dark .lp-card p { color: rgba(255, 255, 255, .7); }
.lp-threshold { border-top: 1px dashed rgba(255, 255, 255, .18); margin-top: .9rem; padding-top: .7rem;
                font-size: .82rem; color: #fbbf24; }
.lp-step { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
           background: var(--lp-accent); color: #fff; font-weight: 800; }

/* ---- rulebook table (Tabler card, restyled) ---- */
#rulebook .card { border-radius: 12px; border-color: var(--lp-border); }
#rulebook .nav-pills .nav-link.active { background: var(--lp-primary); }
.gp-filters > * { flex: 1 1 auto; }
@media (min-width: 576px) { .gp-filter-select { width: auto; } }
@media (max-width: 575.98px) { .gp-filters { width: 100%; } }
.gp-rows.htmx-request { opacity: .45; transition: opacity .12s; }

/* ---- readiness check ---- */
.lp-quiz { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--lp-border);
           border-radius: 16px; padding: 2rem; box-shadow: 0 10px 40px rgba(15, 23, 42, .06); }
.lp-quiz-step { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
                color: var(--lp-text-light); text-align: center; }
.lp-quiz h3 { text-align: center; font-size: 1.2rem; font-weight: 700; color: var(--lp-primary); margin: .75rem 0 1.25rem; }
.lp-option { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .85rem 1rem;
             margin-bottom: .6rem; border: 1px solid var(--lp-border); border-radius: 10px; background: #fff;
             color: var(--lp-text); font-size: .95rem; cursor: pointer; transition: border-color .15s, background .15s; }
.lp-option:hover, .lp-option:focus { border-color: var(--lp-accent); background: #f0fdf9; outline: none; }
.lp-option::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; }
.lp-progress { height: 4px; background: var(--lp-border); border-radius: 4px; overflow: hidden; margin-bottom: 1.25rem; }
.lp-progress > div { height: 100%; background: var(--lp-accent); width: 0; transition: width .25s; }
.lp-score { font-size: 3rem; font-weight: 800; color: var(--lp-accent); text-align: center; line-height: 1; }
.lp-result li { padding: .35rem 0; color: var(--lp-text); font-size: .92rem; }

/* ---- FAQ ---- */
.lp-faq { max-width: 820px; margin: 0 auto; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-border); border-radius: 12px; margin-bottom: .75rem; overflow: hidden; }
.lp-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; align-items: center;
                  gap: .75rem; font-weight: 600; color: var(--lp-primary); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto;
                         color: var(--lp-accent); font-size: .8rem; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(180deg); }
.lp-faq .tag { background: var(--lp-accent-light); color: var(--lp-accent-dark); font-size: .65rem; font-weight: 700;
               padding: .2rem .55rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.lp-faq .answer { padding: 0 1.25rem 1.2rem; color: var(--lp-text-light); line-height: 1.65; }

/* ---- contact ---- */
.lp-contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.lp-contact-item i { color: var(--lp-accent); font-size: 1.1rem; margin-top: .2rem; width: 20px; text-align: center; }
.lp-contact-item b { display: block; color: var(--lp-primary); }
.lp-contact-item span, .lp-contact-item a { color: var(--lp-text-light); }
.lp-form { background: #fff; border: 1px solid var(--lp-border); border-radius: 16px; padding: 2rem; }
.lp-form label { font-weight: 600; font-size: .85rem; color: var(--lp-primary); margin-bottom: .35rem; }

/* ---- call to action band ---- */
.lp-cta { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); padding: 5rem 0;
          text-align: center; color: #fff; }
.lp-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lp-cta p { color: rgba(255, 255, 255, .65); font-size: 1.1rem; }
.lp-cta-channels { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 2rem;
                   display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center;
                   color: rgba(255, 255, 255, .6); font-size: .9rem; }
.lp-cta-channels a { color: #fff; border: 1px solid var(--lp-glass-border); background: var(--lp-glass-bg);
                     border-radius: 100px; padding: .4rem 1rem; font-weight: 600; text-decoration: none; }

/* ---- footer ---- */
.lp-footer { background: var(--lp-primary); padding: 3.5rem 0 1.5rem; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.lp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.lp-footer h4 { color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer li { padding: .3rem 0; }
.lp-footer a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.lp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.5rem; display: flex;
                    flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .8rem; }
.lp-social { display: flex; gap: 1rem; font-size: 1.05rem; }
.lp-disclaimer { font-size: .78rem; max-width: 90ch; margin-top: 1rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 991.98px) { .lp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .lp-footer-grid { grid-template-columns: 1fr; } .lp-hero { padding-top: 7rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-hero video { display: none; }
    .lp-btn, .lp-card, .lp-channel { transition: none; } }
.lp-title { color: var(--lp-primary); }
.lp-note-dark { color: rgba(255, 255, 255, .6); }
.lp-restart { background: #fff; color: var(--lp-primary); border-color: var(--lp-border); }
.lp-restart:hover { color: var(--lp-primary); background: var(--lp-bg-alt); }
