/*
 * Top Roleta — tokens.css
 * Design tokens only. Component styles live in ui.css.
 * Naming convention: pb- prefixed utility/component classes, camelCase JS hooks.
 */

:root {
  /* Color system — light fintech dashboard */
  --clr-bg: #f5f7fa;
  --clr-surface: #ffffff;
  --clr-surface-alt: #eef1f6;
  --clr-primary: #3b34a8;
  --clr-primary-dark: #2b2580;
  --clr-primary-soft: #eceafd;
  --clr-cta: #e8563f;
  --clr-cta-dark: #c93e29;
  --clr-cta-soft: #fdeae6;
  --clr-ink: #101828;
  --clr-ink-soft: #475467;
  --clr-ink-faint: #98a2b3;
  --clr-line: #e4e7ec;
  --clr-line-strong: #cdd4df;
  --clr-positive: #12805c;
  --clr-positive-soft: #d8f5e7;
  --clr-warn: #9a5b00;
  --clr-warn-soft: #fff1d6;

  /* Typography */
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem);
  --fs-h2: clamp(1.45rem, 1.1rem + 1.3vw, 2rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Geometry */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --page-width: 1140px;
  --section-gap: clamp(3rem, 2rem + 3.5vw, 5rem);

  /* Elevation */
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-raised: 0 4px 10px rgba(16, 24, 40, 0.08), 0 16px 40px rgba(16, 24, 40, 0.1);
}

/* Minimal reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--clr-ink);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-hero);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

a {
  color: var(--clr-primary);
}

a:hover {
  color: var(--clr-primary-dark);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

.pb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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