/* base.css - Shared variables, reset, typography, and buttons
   Used by ALL pages on Compare.org.nz */

:root {
    --primary: #166434;
    --primary-light: #22c55e;
    --primary-dark: #0a2e18;
    --primary-bg: #f0fdf4;
    --accent: #15803d;
    --text: #111827;
    --text-secondary: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.75rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s; font-family: inherit; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: var(--bg); }
.btn-outline:hover { border-color: var(--text-secondary); background: var(--bg-light); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-bg); transform: translateY(-1px); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Breadcrumbs */
.breadcrumb { padding: 1rem 2rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-secondary); }
.breadcrumb-inner { max-width: var(--max-width); margin: 0 auto; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
