/* QR Code Planet design tokens: the one source for colour, type, spacing and shape on every page.
   Generated from the design system (tokens.json). Change values there, not in pages. */
:root, [data-theme="light"] {
  color-scheme: light; /* native controls, scrollbars and autofill follow the theme */
  --background: #FFFFFF;
  --surface: #F7F6F4;
  --panel: #F5F3F1;
  --muted: #F1EFEC;
  --border: #ECE9E6;
  --border-strong: #DAD6D1;
  --input: #8792A4;
  --foreground: #0A0B0D;
  --fg-2: #57534E;
  --fg-3: #6F6A63;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-bright: #3B82F6;
  --accent-text: #1D4ED8;
  --accent-soft: #EFF6FF;
  --on-accent: #FFFFFF;
  --success: #15803D;
  --success-dot: #22C55E;
  --success-soft: #F0FDF4;
  --warning: #B45309;
  --warning-soft: #FFFBEB;
  --danger: #B91C1C;
  --danger-soft: #FEF2F2;
  --info: var(--accent-text);
  --info-soft: var(--accent-soft);
  --inverse: #0A0B0D;
  --on-inverse: #F4F4F5;
  --inverse-2: #A1A1AA;
  --inverse-border: #26292E;
  --inverse-card: rgba(255,255,255,.035);
  --nav: rgba(255,255,255,.72);
  --overlay: rgba(10,11,13,.48);
  --inverse-tint: rgba(59,130,246,.16);
  --inverse-dot: rgba(255,255,255,.09);
  --shadow: 0 1px 2px rgba(15,23,42,.04),0 12px 32px -16px rgba(15,23,42,.18);
  --dot: rgba(15,23,42,.13);
  --spot: rgba(59,130,246,.08);
  --skel: #F1EFEC;
  --skel-hi: #F7F6F4;
  --canvas: #ECE9E6;
  --shadow-xs: 0 1px 2px rgba(20,18,16,.06);
  --shadow-card: 0 1px 2px rgba(20,18,16,.04), 0 30px 60px -36px rgba(20,18,16,.28);
  --shadow-pop: 0 12px 30px -12px rgba(20,18,16,.28), 0 0 0 1px rgba(20,18,16,.06);
  --shadow-modal: 0 40px 80px -30px rgba(20,18,16,.45);
  --shadow-device: 0 30px 60px -34px rgba(20,18,16,.5);
}
[data-theme="dark"] {
  color-scheme: dark;
  --background: #0A0B0D;
  --surface: #111316;
  --panel: #141619;
  --muted: #1A1D21;
  --border: #23262B;
  --border-strong: #34383F;
  --input: #5B6370;
  --foreground: #F4F4F5;
  --fg-2: #A1A1AA;
  --fg-3: #8A8F98;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-bright: #3B82F6;
  --accent-text: #60A5FA;
  --accent-soft: rgba(59,130,246,.14);
  --on-accent: #FFFFFF;
  --success: #4ADE80;
  --success-dot: #22C55E;
  --success-soft: rgba(34,197,94,.12);
  --warning: #FBBF24;
  --warning-soft: rgba(251,191,36,.12);
  --danger: #F87171;
  --danger-soft: rgba(248,113,113,.12);
  --info: var(--accent-text);
  --info-soft: var(--accent-soft);
  --inverse: #F4F4F5;
  --on-inverse: #0A0B0D;
  --inverse-2: #3F3F46;
  --inverse-border: #D4D4D8;
  --inverse-card: #FFFFFF;
  --nav: rgba(10,11,13,.72);
  --overlay: rgba(0,0,0,.6);
  --inverse-tint: #EFF6FF;
  --inverse-dot: rgba(15,23,42,.10);
  --shadow: 0 1px 2px rgba(0,0,0,.4),0 16px 40px -20px rgba(0,0,0,.7);
  --dot: rgba(255,255,255,.10);
  --spot: rgba(59,130,246,.14);
  --skel: #181B1F;
  --skel-hi: #22262B;
  --canvas: #050607;
  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -20px rgba(0,0,0,.7);
  --shadow-pop: 0 16px 40px -16px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
  --shadow-modal: 0 40px 80px -30px rgba(0,0,0,.85);
}
:root {
  /* type scale (px at desktop; components clamp the large sizes) */
  --text-display: 56px;
  --leading-display: 1.02;
  --weight-display: 500;
  --tracking-display: -0.045em;
  --text-h1: 44px;
  --leading-h1: 1.08;
  --weight-h1: 500;
  --tracking-h1: -0.035em;
  --text-h2: 30px;
  --leading-h2: 1.15;
  --weight-h2: 500;
  --tracking-h2: -0.03em;
  --text-h3: 24px;
  --leading-h3: 1.2;
  --weight-h3: 500;
  --tracking-h3: -0.025em;
  --text-h4: 20px;
  --leading-h4: 1.25;
  --weight-h4: 500;
  --tracking-h4: -0.02em;
  --text-h5: 17px;
  --leading-h5: 1.3;
  --weight-h5: 500;
  --tracking-h5: -0.01em;
  --text-h6: 14.5px;
  --leading-h6: 1.4;
  --weight-h6: 600;
  --tracking-h6: 0;
  --text-body-lg: 17px;
  --leading-body-lg: 1.6;
  --weight-body-lg: 400;
  --text-body: 16px;
  --leading-body: 1.6;
  --weight-body: 400;
  --text-body-sm: 14.5px;
  --leading-body-sm: 1.55;
  --weight-body-sm: 400;
  --text-caption: 13px;
  --leading-caption: 1.5;
  --weight-caption: 400;
  --text-label: 12.5px;
  --leading-label: 1.2;
  --weight-label: 500;
  --tracking-label: 0.08em;
  --text-field-label: 14px;
  --leading-field-label: 1.4;
  --weight-field-label: 500;
  --text-button: 14.5px;
  --leading-button: 1.4;
  --weight-button: 500;
  --text-link: 14.5px;
  --leading-link: 1.4;
  --weight-link: 500;
  --text-numeral: 48px;
  --leading-numeral: 1;
  --weight-numeral: 500;
  --tracking-numeral: -0.04em;
  --text-code: 12.5px;
  --leading-code: 1.5;
  --weight-code: 400;
  --font-sans: Satoshi, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* spacing */
  --space-0_5: 2px;
  --space-1: 4px;
  --space-1_5: 6px;
  --space-2: 8px;
  --space-2_5: 10px;
  --space-3: 12px;
  --space-3_5: 14px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-18: 72px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  /* radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 28px;
  --radius-pill: 999px;
  /* borderWidth */
  --border-hairline: 1px;
  --border-emphasis: 1.5px;
  --border-focus: 2px;
  /* layout */
  --container: 1200px;
  --container-text: 720px;
  --gutter: 24px;
  --gutter-mobile: 16px;
  --section-y: 128px;
  --header-height: 64px;
  --sidebar-width: 240px;
  --grid-columns: 12;
  --bp-sm: 440px;
  --bp-md: 720px;
  --bp-lg: 1060px;
  --bp-xl: 1440px;
  /* iconSize */
  --icon-xs: 12px;
  --icon-sm: 15px;
  --icon-md: 18px;
  --icon-lg: 20px;
  --icon-stroke: 1.75;
  /* zIndex */
  --z-base: 1;
  --z-sticky: 30;
  --z-dropdown: 40;
  --z-toast: 50;
  --z-overlay: 60;
  --z-modal: 70;
  --z-tooltip: 80;
  /* opacity */
  --opacity-disabled: 0.5;
  --opacity-hint: 0.7;
  /* duration */
  --duration-fast: 0.18s;
  --duration-base: 0.25s;
  --duration-roll: 0.45s;
  --duration-reveal: 0.8s;
  /* Older names still used by a few templates (404, Admin, SEO pages). Point new work at the names above. */
  --bg: var(--background);
  --fg: var(--foreground);
  --fg2: var(--fg-2);
  --fg3: var(--fg-3);
  --line: var(--border);
  --line2: var(--border-strong);
  --ok: var(--success);
}
