/* Shared MapLogiQ styles: colour tokens, base type, header, buttons and footer.
   Every page links this file first; page <style> blocks only hold layout that is unique to that page. */
:root{
  color-scheme:dark;
  --bg:#050c1c; --bg-2:#08132a;
  --ink:#eef3ff; --muted:#a3b1cf; --muted-2:#6f7d9c;
  --line:rgba(150,180,235,.13); --line-strong:rgba(150,180,235,.24);
  --accent:#ff7a1a; --accent-2:#ff3d00; --accent-3:#f52a00; --accent-ink:#ffffff;
  --brand-grad:linear-gradient(180deg,#ff8a1f 10%,var(--accent-2) 60%,var(--accent-3));
  --signal:#6fd3ff;
  --radius:16px; --radius-lg:24px; --maxw:1180px;
  --shadow:0 30px 80px -30px rgba(0,0,0,.8);
  --font-display:'Sora',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'IBM Plex Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--bg)}
body{font-family:var(--font-body);font-size:16px;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--font-display);text-wrap:balance}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-stopped{overflow:hidden}

.eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-mono);font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:18px}
.eyebrow::before{content:"";width:18px;height:1px;background:currentColor;opacity:.7}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--font-body);font-size:15px;font-weight:600;padding:13px 22px;border-radius:999px;border:1px solid transparent;cursor:pointer;transition:transform .18s ease,box-shadow .25s ease,background .2s ease;white-space:nowrap}
.btn svg{width:17px;height:17px}
.btn-primary{color:var(--accent-ink);background:linear-gradient(180deg,var(--accent),var(--accent-2) 70%,var(--accent-3));box-shadow:0 10px 30px -8px rgba(255,72,0,.55),inset 0 1px 0 rgba(255,255,255,.3)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 38px -8px rgba(255,72,0,.7)}
.btn-outline{color:var(--ink);background:rgba(255,255,255,.05);border-color:var(--line-strong);backdrop-filter:blur(10px)}
.btn-outline:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}
.btn-ghost{color:var(--ink);background:rgba(255,255,255,.06);border-color:var(--line-strong);padding:9px 18px}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* HEADER */
/* position + z-index keep the header clickable above hero blocks that are shifted up over it (e.g. the homepage hero) */
/* logo grew 52 → 68px; padding shrank 22 → 14px so the header keeps its 96px height and nothing below it moves */
.nav{position:relative;z-index:5;width:100%;max-width:var(--maxw);margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center}
.brand-logo{height:68px;width:auto;display:block}
.nav-links{display:flex;gap:30px;font-size:14.5px;color:rgba(255,255,255,.88);text-shadow:0 1px 8px rgba(0,0,0,.6)}
.nav-links a{position:relative}
.nav-links a:hover,.nav-links a[aria-current]{color:var(--ink)}
.nav-links a[aria-current]::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:2px;background:var(--brand-grad)}

/* FOOTER */
.footer{display:flex;justify-content:space-between;gap:48px;flex-wrap:wrap;margin-top:clamp(64px,calc(9vw / var(--vz, 1)),110px);padding-top:48px;border-top:1px solid var(--line)}
.footer-brand .brand-logo{height:60px}
.footer-brand p{margin-top:14px;max-width:300px;color:rgba(255,255,255,.8);font-size:14.5px;line-height:1.6}
.footer-cols{display:flex;gap:clamp(32px,calc(6vw / var(--vz, 1)),72px);flex-wrap:wrap}
.footer-col h4{font-family:var(--font-mono);font-size:11.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-bottom:14px}
.footer-col a{display:block;font-size:14.5px;color:rgba(255,255,255,.85);padding:4px 0}
.footer-col a:hover{color:var(--ink)}
.copyright{margin-top:56px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:13px;color:rgba(255,255,255,.82);text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 12px rgba(0,0,0,.7)}
.copyright span:last-child{font-family:var(--font-mono);font-size:12px}

@media (max-width:720px){
  .nav-links{display:none}
  .nav{padding:10px 20px}
}
@media (max-width:600px){ .nav .brand-logo{height:50px} .nav{padding-top:13px;padding-bottom:13px} }   /* 40 → 50px logo, header still 76px tall */
@media (max-width:560px){ .footer{flex-direction:column} }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* back-to-top button, added by to-top.js on every page */
.to-top{position:fixed;right:24px;bottom:24px;z-index:50;width:52px;height:52px;padding:0;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;background:rgba(10,20,44,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.45);opacity:0;transform:translateY(14px) scale(.9);pointer-events:none;transition:opacity .3s ease,transform .3s ease,box-shadow .25s ease}
.to-top.show{opacity:1;transform:none;pointer-events:auto}
.to-top:hover{box-shadow:0 10px 34px rgba(255,61,0,.45)}
.to-top:hover .to-top-arrow{transform:translateY(-2px)}
.to-top:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.to-top-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.to-top-ring circle{fill:none;stroke-width:2.5}
.to-top-track{stroke:rgba(150,180,235,.22)}
.to-top-bar{stroke:url(#to-top-grad);stroke-linecap:round;transition:stroke-dashoffset .1s linear}
.to-top-arrow{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
@media (max-width:600px){ .to-top{right:16px;bottom:16px;width:46px;height:46px} }
@media (prefers-reduced-motion:reduce){ .to-top,.to-top-arrow{transition:none} }

/* gradient words in headings: no dark text-shadow showing through the transparent letters, and each line gets the full gradient (matches the bright R7 000 price) */
h1 em,h2 em,.hero-title em{text-shadow:none;-webkit-box-decoration-break:clone;box-decoration-break:clone}
