/* base.css: tokens, reset, typography, container, buttons, focus, reduced motion */
:root {
  --ink: #0c1838;
  --ink-2: #14244f;
  --ink-3: #1d3166;
  --paper: #f6f7fb;
  --white: #ffffff;
  --line: #e3e7f2;
  --text: #1a2442;
  --muted: #5b6685;
  --brand: #2f5bff;
  --brand-dark: #1f44d6;
  --wa: #f27b13;
  --rv: #14a05a;
  --inv: #7c5cff;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
body { overflow-x: clip; }
.hero-grid > *, .switcher > *, .panel > *, .cta > *, .quotes > * { min-width: 0; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #e9edff; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

/* Buttons used by product pages */
.btn-product { background: var(--c, var(--brand)); color: var(--white); }
.btn-product:hover { filter: brightness(.92); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
