/* =============================================================================
   MN MARKETING — Public Marketing Pages Shared Stylesheet
   Used by: index.html, website.html, system.html, contact.html
   =============================================================================
   Consolidates what was previously 4 separately-maintained copies of the same
   design system — root variables, base reset, nav, buttons, stat bar, and
   footer were already near-identical (verified before writing this, not
   assumed), just formatted differently per file. The one real divergence was
   the "guarantee card" component: index.html used a light card on a white
   section, website.html used a dark glassy card on a black section — for the
   same two guarantees. Standardised on the dark/glassy treatment here, since
   both pages already use black sections elsewhere for emphasis (hero,
   agitate/offer-hero), and a guarantee is exactly the kind of high-stakes
   commitment that emphasis treatment fits.

   This file also carries the real mobile improvements requested — resizing
   dense content for small screens rather than naively stacking every grid to
   a single column (or, worse, hiding it). See the MOBILE section at the
   bottom. Each page keeps its own <style> block for genuinely page-specific
   sections (e.g. contact.html's form, website.html's pricing table).
============================================================================= */

:root {
  --black:#0a0a0a; --white:#fff;
  --gray-50:#fafafa; --gray-100:#f5f5f5; --gray-200:#e5e5e5;
  --gray-300:#d4d4d4; --gray-400:#a3a3a3; --gray-500:#737373;
  --gray-600:#525252; --gray-700:#404040; --gray-800:#262626;
  --green:#16a34a; --green-light:#f0fdf4; --green-border:#bbf7d0;
  --red:#dc2626; --red-light:#fef2f2; --red-border:#fecaca;
  --yellow:#facc15;
  --max-width:1200px; --font-head:'Syne',sans-serif; --font-body:'DM Sans',sans-serif;
  --shadow:0 1px 3px rgba(0,0,0,0.08); --shadow-md:0 4px 16px rgba(0,0,0,0.08);
  --radius:0.5rem; --radius-lg:1rem;
  --transition:color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  --space-section:4.5rem;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; scroll-padding-top:70px; color-scheme:light; }
body { font-family:var(--font-body); color:var(--gray-800); background:var(--white); -webkit-font-smoothing:antialiased; line-height:1.6; }
::selection { background:var(--black); color:var(--white); }
.container { max-width:var(--max-width); margin:0 auto; padding:0 1.5rem; }
h1,h2,h3,h4 { font-family:var(--font-head); font-weight:700; line-height:1.15; color:var(--black); }
h1 { font-size:clamp(1.75rem,4vw,2.75rem); margin-bottom:1.25rem; }
h2 { font-size:clamp(1.4rem,3vw,2rem); margin-bottom:1rem; }
h3 { font-size:1.15rem; margin-bottom:0.75rem; }
p { margin-bottom:1.25rem; font-size:1.05rem; color:var(--gray-700); line-height:1.75; }
a { color:var(--black); text-decoration:none; transition:var(--transition); }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav { background:var(--white); border-bottom:1px solid var(--gray-200); position:sticky; top:0; z-index:100; padding:1rem 0; }
nav .container { display:flex; justify-content:space-between; align-items:center; }
.logo { font-family:var(--font-head); font-size:1.35rem; font-weight:800; color:var(--black); letter-spacing:-0.02em; line-height:1.1; }
.logo span { opacity:0.4; }
.logo-sub { font-size:0.65rem; font-weight:500; opacity:0.45; letter-spacing:0.01em; text-transform:uppercase; display:block; line-height:1; margin-top:0.15rem; }
.nav-links { display:flex; list-style:none; gap:2rem; align-items:center; }
.nav-links a { color:var(--gray-600); font-weight:500; font-size:0.95rem; padding:0.5rem 0; position:relative; transition:color 0.2s ease; }
.nav-links a:hover { color:var(--black); }
.nav-links a::after { content:''; position:absolute; width:0; height:2px; bottom:0; left:0; background:var(--black); transition:width 0.2s ease; }
.nav-links a:hover::after { width:100%; }
.nav-links a:focus-visible { outline:2px solid var(--black); outline-offset:4px; border-radius:2px; }
.nav-links a.active { color:var(--black); }
.nav-links a.active::after { width:100%; }
.nav-cta { background:var(--black); color:var(--white)!important; padding:0.6rem 1.25rem!important; border-radius:var(--radius); font-weight:600!important; transition:opacity 0.2s ease !important; }
.nav-cta:hover { opacity:0.82; }
.nav-cta::after { display:none!important; }
.nav-cta:focus-visible { outline:2px solid var(--black); outline-offset:4px; }
.menu-toggle { display:none; flex-direction:column; cursor:pointer; gap:5px; padding:4px; border-radius:4px; }
.menu-toggle span { width:24px; height:2px; background:var(--gray-700); border-radius:2px; }
.menu-toggle:focus-visible { outline:2px solid var(--black); outline-offset:4px; border-radius:var(--radius); }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn { display:inline-block; padding:0.9rem 2rem; font-size:1rem; font-weight:600; font-family:var(--font-body); text-align:center; border:2px solid transparent; border-radius:var(--radius); cursor:pointer; transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease; background:var(--black); color:var(--white); line-height:1.4; }
.btn:hover { background:var(--gray-800); transform:translateY(-1px); }
.btn:focus-visible { outline:2px solid var(--black); outline-offset:3px; }
.btn-outline { background:transparent; color:var(--black); border-color:var(--black); }
.btn-outline:hover { background:var(--black); color:var(--white); }
.btn-outline-white { color:var(--white); border-color:var(--white); }
.btn-outline-white:hover { background:var(--white); color:var(--black); }
.btn-white { background:var(--white); color:var(--black); border-color:var(--white); }
.btn-white:hover { background:var(--gray-100); }
.btn-wa { background:#25D366; border-color:#25D366; color:var(--white)!important; }
.btn-wa:hover { background:#1da851; border-color:#1da851; }
.btn-wa:focus-visible { outline-color:#1da851; }
.btn-lg { padding:1.1rem 2.5rem; font-size:1.1rem; }

/* ── STAT BAR ────────────────────────────────────────────────────────────── */
.stat-bar { background:var(--black); color:var(--white); padding:0.9rem 0; text-align:center; font-family:var(--font-head); font-size:0.9rem; letter-spacing:0.03em; }
.stat-bar strong { color:var(--yellow); }

/* ── GUARANTEE CARDS (standardised dark/glassy treatment — see note above) ── */
.guarantee { padding:var(--space-section) 0; background:var(--black); color:var(--white); }
.guarantee h2 { color:var(--white); text-align:center; margin-bottom:0.75rem; }
.guarantee-sub { text-align:center; color:rgba(255,255,255,0.6); max-width:580px; margin:0 auto 2.5rem; }
.guarantee-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; max-width:900px; margin:0 auto; }
.g-card { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12); border-radius:var(--radius-lg); padding:2rem; opacity:0; transform:translateY(16px); transition:opacity 0.45s ease, transform 0.45s ease; }
.g-card.visible { opacity:1; transform:translateY(0); }
.g-card:hover { background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.2); }
.g-name { font-family:var(--font-head); font-size:1.25rem; color:var(--white); margin-bottom:0.5rem; }
.g-badge { display:inline-block; background:rgba(255,255,255,0.1); color:rgba(255,255,255,0.6); padding:0.2rem 0.6rem; border-radius:1rem; font-size:0.72rem; font-weight:600; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:1rem; }
.g-card p { color:rgba(255,255,255,0.75); font-size:0.95rem; margin-bottom:0.75rem; }
.g-condition { font-size:0.82rem; color:rgba(255,255,255,0.4); border-top:1px solid rgba(255,255,255,0.1); padding-top:0.75rem; margin-top:0.5rem; margin-bottom:0; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer { background:var(--black); color:var(--white); text-align:center; padding:2.5rem 0; border-top:1px solid rgba(255,255,255,0.08); }
footer p { color:var(--gray-500); margin:0.3rem 0; font-size:0.9rem; }
footer a { color:var(--gray-400); transition:color 0.2s ease; }
footer a:hover { color:var(--white); }
footer a:focus-visible { outline:2px solid var(--gray-400); outline-offset:3px; border-radius:2px; }
.footer-brand { color:var(--gray-300)!important; font-family:var(--font-head); font-size:1.1rem; margin-bottom:0.25rem!important; }
.footer-tagline { color:var(--gray-500)!important; font-size:0.75rem!important; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:0.75rem!important; }
.footer-legal { margin-top:1rem!important; font-size:0.8rem!important; color:var(--gray-700)!important; }

/* =============================================================================
   MOBILE — real resizing, not naive full-width stacking
   =============================================================================
   The pattern being fixed here: every page previously collapsed EVERY
   multi-column grid straight to grid-template-columns:1fr at a single ~900px
   breakpoint, with no further adjustment — turning a compact multi-column
   section into a long vertical scroll of full-width blocks, and in one case
   (index.html's hero stat visual) hiding a whole section outright rather than
   resizing it. Fixed here with two general techniques applied consistently:
     1. Two-column grids (guarantee cards, comparisons) stay at 2 columns much
        further down (480px) instead of dropping to 1 at 900px — most phones
        in portrait are wide enough for two narrower columns of this content.
     2. Wider grids (3–4 columns) step down to 2 columns at tablet width
        before finally reaching 1 column only on the narrowest phones.
============================================================================= */
@media(max-width:768px) {
  .menu-toggle { display:flex; }
  .nav-links { position:fixed; top:65px; left:0; width:100%; background:var(--white); flex-direction:column; align-items:center; padding:2rem; gap:1.5rem; border-bottom:1px solid var(--gray-200); transform:translateY(-110%); opacity:0; visibility:hidden; transition:transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; }
  .nav-links.active { transform:translateY(0); opacity:1; visibility:visible; }
  h1 { font-size:clamp(1.5rem,7vw,2.1rem); }
  h2 { font-size:clamp(1.25rem,6vw,1.6rem); }
  p { font-size:0.98rem; }
  .btn-lg { padding:0.95rem 1.75rem; font-size:1rem; }
}

@media(max-width:480px) {
  .guarantee-grid { grid-template-columns:1fr; }
}
