/**
 * Chargebackhit — Design Tokens (CSS Custom Properties)
 *
 * Extracted & rationalized from design.pen (Pencil reference design mirror of chargebackhit.com).
 * Unified scheme for all 3 LPs (Flagship / VAMP / PayPal). Consistent portfolio.
 *
 * Source: chargebackhit/design.pen (7 frames — Main + Prevent/Resolve/Recover/PayPal/Footer/Menu)
 * Pencil had 150+ color values, dozens of font-sizes. This is the rationalized ~40-token set.
 *
 * Updated: 2026-04-20
 */

:root {
  /* ==================================================================
   * COLOR — Brand
   * ================================================================== */
  --color-brand-primary: #000; /* Near-black — headers, hero-dark sections */
  --color-brand-accent: #930fff; /* Purple — primary brand accent (from Main hero) */
  --color-brand-accent-soft: #f6e9ff; /* Soft purple — backgrounds, hover states */
  --color-brand-accent-muted: #f8efff; /* Even softer — section fills */

  /* ==================================================================
   * COLOR — Text
   * ================================================================== */
  --color-text-primary: #000;
  --color-text-secondary: #4b5059;
  --color-text-muted: #727784;
  --color-text-disabled: #9ca1ab;
  --color-text-inverse: #fff;

  /* ==================================================================
   * COLOR — Background
   * ================================================================== */
  --color-bg-primary: #fff;
  --color-bg-secondary: #f6f6f7; /* Gray-washed sections */
  --color-bg-muted: #f4f4f5;
  --color-bg-dark: #26282c; /* Dark sections (CTA, footer accent) */
  --color-bg-darker: #000;

  /* ==================================================================
   * COLOR — Border
   * ================================================================== */
  --color-border-default: #dadada;
  --color-border-muted: #eeeff1;
  --color-border-strong: #8f8f8f;

  /* ==================================================================
   * COLOR — State
   * ================================================================== */
  --color-state-success: #01c15d;
  --color-state-warning: #ffa524;
  --color-state-danger: #ed002d;
  --color-state-info: #0072e0;

  /* State backgrounds (15% opacity versions) */
  --color-state-success-bg: #00c15d1a;
  --color-state-warning-bg: #ff7e231f;
  --color-state-danger-bg: #ffe5e5;
  --color-state-info-bg: #e5f3ff;

  /* ==================================================================
   * TYPOGRAPHY
   * ================================================================== */
  --font-sans: "Onest", "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "TT Hoves", "Onest", sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", monospace;

  /* Font sizes — 10-step scale (Pencil had 50+, this is the rationalized set) */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  --text-5xl: 54px;
  --text-6xl: 68px;
  --text-hero: 96px; /* Hero-H1 on desktop */

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Line heights (unitless multipliers) */
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-loose: 1.7;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;

  /* ==================================================================
   * SPACING
   * ================================================================== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --space-40: 168px; /* Seen in Pencil hero padding 168px */

  /* ==================================================================
   * BORDER RADIUS
   * ================================================================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-full: 9999px;

  /* ==================================================================
   * SHADOWS
   * ================================================================== */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 5%);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 8%);
  --shadow-lg: 0 12px 32px rgb(0 0 0 / 12%);
  --shadow-xl: 0 24px 56px rgb(0 0 0 / 16%);

  /* ==================================================================
   * LAYOUT
   * ================================================================== */
  --container-max: 1440px; /* Max content width */
  --container-padding: 24px; /* Mobile side padding */

  /* Breakpoints (inform JS; CSS media queries hardcode values) */
  --bp-mobile: 360px;
  --bp-tablet: 768px;
  --bp-desktop: 1200px;
  --bp-wide: 1600px;

  /* ==================================================================
   * MOTION
   * ================================================================== */
  --motion-fast: 150ms;
  --motion-normal: 250ms;
  --motion-slow: 400ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
}

/* ==================================================================
 * TYPOGRAPHY — Base styles (mobile-first)
 * ================================================================== */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

h1 {
  font-size: var(--text-4xl);
} /* mobile */
h2 {
  font-size: var(--text-3xl);
}
h3 {
  font-size: var(--text-2xl);
}
h4 {
  font-size: var(--text-xl);
}
h5 {
  font-size: var(--text-lg);
}
h6 {
  font-size: var(--text-base);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }
  h2 {
    font-size: var(--text-4xl);
  }
  h3 {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: var(--text-6xl);
  }
}

/* ==================================================================
 * RESET / DEFAULTS
 * ================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: var(--color-brand-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  font: inherit;
}

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