/* ============================================
   BETTER PLACE SUPPLEMENTS — BASE
   Fonts, icon sets, design tokens, reset.
   Linked first on every page (site + tools).

   CHANGE BRAND COLOR → --primary + variants
   CHANGE FONT        → Google Fonts @import + --font-*
   ICONS              → Material Symbols: <span class="ms">eco</span>
                        Lucide:           <i class="icon-arrow-right"></i>
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..900;1,300..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block');
@import url('https://cdn.jsdelivr.net/npm/lucide-static@0.460.0/font/lucide.css');

:root {
  /* Brand */
  --primary:         #0D3B5E;
  --primary-dark:    #082840;
  --primary-deeper:  #041820;
  --primary-light:   #1A5A8A;
  --primary-lighter: #2272A8;
  --primary-rgb:     13, 59, 94;
  --accent-blue:     #2196F3;

  /* Amazon */
  --amazon:        #FF9900;
  --amazon-hover:  #E8890A;
  --amazon-text:   #111111;
  --amazon-shadow: 0 8px 24px rgba(255, 153, 0, 0.35);

  /* Backgrounds */
  --bg-page:       #F5F2EE;
  --bg-light:      #FFFFFF;
  --bg-light-soft: #FAF8F5;
  --bg-dark:       #111111;
  --bg-dark-2:     #1A1A1A;
  --bg-black:      #0A0A0A;

  /* Text */
  --text:              #111111;
  --text-soft:         #444444;
  --text-muted:        #888888;
  --text-white:        #FFFFFF;
  --text-on-dark:      rgba(255, 255, 255, 0.65);
  --text-on-dark-soft: rgba(255, 255, 255, 0.45);
  --text-on-dark-dim:  rgba(255, 255, 255, 0.25);
  --danger:            #B91C1C;
  --success:           #15803D;

  /* Borders */
  --border-dark:  rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-card:  rgba(0, 0, 0, 0.06);

  /* Fonts */
  --font-body:    'Montserrat', system-ui, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;

  /* Type scale */
  --line-height:       1.6;
  --line-height-tight: 1.1;
  --line-height-loose: 1.75;
  --text-display: clamp(40px, 6vw, 72px);
  --text-h1:      clamp(40px, 6vw, 72px);
  --text-h2:      clamp(32px, 4vw, 52px);
  --text-h3:      clamp(22px, 3vw, 32px);
  --text-h4:      18px;
  --text-lg:      18px;
  --text-base:    16px;
  --text-sm:      14px;
  --text-label:   11px;
  --text-badge:   10px;
  --text-caption: 12px;

  /* Weights */
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;

  /* Tracking */
  --tracking-tight:   -0.025em;
  --tracking-wide:    0.06em;
  --tracking-widest:  0.25em;
  --tracking-label:   0.25em;
  --tracking-badge:   0.12em;
  --tracking-btn:     0.1em;

  /* Spacing */
  --header-h:      80px;
  --section-pad:   100px;
  --container-max: 1280px;
  --container-pad: 40px;
  --gap-xs: 8px;  --gap-sm: 16px; --gap-md: 24px;
  --gap-lg: 40px; --gap-xl: 60px; --gap-2xl: 80px;

  /* Radius */
  --radius-xs: 2px;  --radius-sm: 4px;  --radius-md: 8px;
  --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 100px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-sm:      0 2px 12px rgba(0, 0, 0, 0.12);
  --shadow-md:      0 8px 32px rgba(0, 0, 0, 0.18);
  --shadow-lg:      0 20px 60px rgba(0, 0, 0, 0.28);
  --shadow-primary: 0 8px 32px rgba(var(--primary-rgb), 0.4);

  /* Motion */
  --ease-fast:   0.2s ease;
  --ease-med:    0.4s ease;
  --ease-slow:   0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --reveal-distance: 30px;
}

@media (max-width: 1024px) { :root { --section-pad: 80px; --container-pad: 28px; } }
@media (max-width: 768px)  { :root { --section-pad: 60px; --container-pad: 20px; --text-lg: 16px; } }
@media (max-width: 480px)  { :root { --section-pad: 48px; --container-pad: 16px; --header-h: 68px; } }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg-page);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ── ICONS ──
   .ms  → Google Material Symbols (ligature text)
   .icon-* → Lucide (class name picks the glyph) */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1.5em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  display: inline-block;
  vertical-align: middle;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
  user-select: none;
}
.ms--fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48; }

[class^="icon-"], [class*=" icon-"] {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}
