/* EzRewards persona tokens. Components only read --ez-* variables; each persona swaps the values. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/red-hat-mono-latin.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); }
@font-face { font-family: "EzGeist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); }

/* Visionary: warm paper + mint (light). Values from the rebuilt homepage design. */
:root,
html[data-persona="visionary"] {
  color-scheme: light;
  --ez-canvas: #faf8f4;
  --ez-band: #f2eee7;
  --ez-surface: #ffffff;
  --ez-surface-2: #f4f1eb;
  --ez-surface-3: #ede8e0;
  --ez-ink: #171614;
  --ez-text-2: #4a4844;
  --ez-text-3: #5c5a56;
  --ez-text-4: #8a867f;
  --ez-nav-link: #3d3b37;
  --ez-line: #e7e2da;
  --ez-line-2: #e0dad0;
  --ez-divider: #e7e2da;
  --ez-accent: #82efc8;
  --ez-on-accent: #0a1f17;
  --ez-accent-ink: #0b6b4e;
  --ez-accent-soft: #e3f9f0;
  --ez-on-accent-soft: #0b6b4e;
  --ez-signal: #2fbf8f;
  --ez-highlight: #82efc8;
  --ez-inverse: #171614;
  --ez-inverse-2: #232120;
  --ez-inverse-3: #2a2825;
  --ez-inverse-line: #34312d;
  --ez-on-inverse: #f4f1eb;
  --ez-on-inverse-2: #c9c4bb;
  --ez-on-inverse-3: #a8a49c;
  --ez-inverse-accent: #82efc8;
  --ez-btn-bg: #171614;
  --ez-btn-fg: #ffffff;
  --ez-btn-border: transparent;
  --ez-btn-shadow: inset 0 .5px 0 0 #ffffff80, inset 0 9px 14px -5px #757b8566, 0 0 0 1.5px #2c2e34, 0 4px 6px 0 #00000024;
  --ez-btn-hover-shadow: inset 0 .5px 0 0 #ffffff80, inset 0 9px 14px -5px #757b8566, 0 0 0 1.5px #2c2e34, 0 8px 16px -4px #00000040;
  --ez-btn-icon: #82efc8;
  --ez-btn2-bg: #ffffff;
  --ez-btn2-fg: #171614;
  --ez-btn2-border: #e0dad0;
  --ez-header-bg: rgb(250 248 244 / 88%);
  --ez-card-border: #e7e2da;
  --ez-shadow-card: 0 1px 2px 0 #18181b0f, 0 24px 48px -16px #18181b2e;
  --ez-shadow-pop: 0 12px 28px -10px #18181b38;
  --ez-shadow-hover: 0 12px 28px -12px #18181b40;
  --ez-lift: translateY(-2px);
  --ez-glow: radial-gradient(70% 90% at 50% 120%, #82efc8 0%, rgb(130 239 200 / 0%) 70%);
  --ez-chart-1: #d9f5ea;
  --ez-chart-2: #b6edd7;
  --ez-chart-3: #82efc8;
  --ez-chart-4: #2fbf8f;
  --ez-avatar-1: #ffd9a8;
  --ez-avatar-2: #d9ccff;
  --ez-avatar-3: #bfeff5;
  --ez-focus: #0b6b4e;
  --ez-radius-xl: 32px;
  --ez-radius-lg: 22px;
  --ez-radius-md: 16px;
  --ez-radius-sm: 14px;
  --ez-radius-pill: 9999px;
  --ez-font-body: "Inter", system-ui, sans-serif;
  --ez-font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --ez-font-mono: "Red Hat Mono", ui-monospace, monospace;
  --ez-display-weight: 500;
  --ez-display-tracking: -0.03em;
  --ez-eyebrow-bg: transparent;
  --ez-eyebrow-pad: 0;
  --ez-ease: cubic-bezier(.2, 0, 0, 1);
  --ez-dur: .5s;
  --ez-dur-fast: .15s;
  --ez-marquee-dur: 70s;
}

/* Operator: Cream & Lime (light, ink outlines, hard offset shadows). Values from the EzRewards design system. */
html[data-persona="operator"] {
  color-scheme: light;
  --ez-canvas: #f2ecdd;
  --ez-band: #e9e2cf;
  --ez-surface: #ffffff;
  --ez-surface-2: #fdfcf6;
  --ez-surface-3: #e6dfcc;
  --ez-ink: #111111;
  --ez-text-2: #333333;
  --ez-text-3: #555555;
  --ez-text-4: #69665e;
  --ez-nav-link: #111111;
  --ez-line: #111111;
  --ez-line-2: #111111;
  --ez-divider: rgb(17 17 17 / 22%);
  --ez-accent: #c2f24a;
  --ez-on-accent: #111111;
  --ez-accent-ink: #315800;
  --ez-accent-soft: #e6f8b5;
  --ez-on-accent-soft: #233f00;
  --ez-signal: #7ba05b;
  --ez-highlight: #c2f24a;
  --ez-inverse: #0b0d13;
  --ez-inverse-2: #1f2128;
  --ez-inverse-3: #2a2d35;
  --ez-inverse-line: #363941;
  --ez-on-inverse: #f2ecdd;
  --ez-on-inverse-2: #e4e1e6;
  --ez-on-inverse-3: #a9a9b3;
  --ez-inverse-accent: #c2f24a;
  --ez-btn-bg: #c2f24a;
  --ez-btn-fg: #111111;
  --ez-btn-border: #111111;
  --ez-btn-shadow: 4px 4px 0 #111111;
  --ez-btn-hover-shadow: 6px 6px 0 #111111;
  --ez-btn-icon: #111111;
  --ez-btn2-bg: #ffffff;
  --ez-btn2-fg: #111111;
  --ez-btn2-border: #111111;
  --ez-header-bg: rgb(242 236 221 / 92%);
  --ez-card-border: #111111;
  --ez-shadow-card: 6px 6px 0 #111111;
  --ez-shadow-pop: 4px 4px 0 #111111;
  --ez-shadow-hover: 6px 6px 0 #111111;
  --ez-lift: translate(-2px, -2px);
  --ez-glow: radial-gradient(70% 90% at 50% 120%, #c2f24a 0%, rgb(194 242 74 / 0%) 70%);
  --ez-chart-1: #e6f8b5;
  --ez-chart-2: #d1f578;
  --ez-chart-3: #c2f24a;
  --ez-chart-4: #111111;
  --ez-avatar-1: #f7cf52;
  --ez-avatar-2: #a78bfa;
  --ez-avatar-3: #f37c73;
  --ez-focus: #111111;
  --ez-radius-xl: 20px;
  --ez-radius-lg: 14px;
  --ez-radius-md: 10px;
  --ez-radius-sm: 8px;
  --ez-font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ez-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ez-display-weight: 600;
  --ez-display-tracking: -0.035em;
  --ez-eyebrow-bg: #c2f24a;
  --ez-eyebrow-pad: 3px 8px;
  --ez-dur: .32s;
  --ez-dur-fast: .12s;
  --ez-marquee-dur: 48s;
}

/* Strategist: Ember / Warm Charcoal, dark. */
html[data-persona="strategist"] {
  color-scheme: dark;
  --ez-canvas: #14100d;
  --ez-band: #1c1612;
  --ez-surface: #241c17;
  --ez-surface-2: #2d241e;
  --ez-surface-3: #3a2e26;
  --ez-ink: #fbf6f1;
  --ez-text-2: #e8dbd0;
  --ez-text-3: #c9b6a6;
  --ez-text-4: #a8917f;
  --ez-nav-link: #e8dbd0;
  --ez-line: #3d2f26;
  --ez-line-2: #56433a;
  --ez-divider: #33271f;
  --ez-accent: #f77331;
  --ez-accent-hover: #ff8a4c;
  --ez-accent-pressed: #e05f1f;
  --ez-accent-deep: #b9481a;
  --ez-on-accent: #1a0c04;
  --ez-accent-ink: #ff8a4c;
  --ez-accent-soft: rgb(247 115 49 / 14%);
  --ez-on-accent-soft: #ffb38a;
  --ez-signal: #f77331;
  --ez-highlight: rgb(247 115 49 / 34%);
  --ez-inverse: #0a0706;
  --ez-inverse-2: #1c1612;
  --ez-inverse-3: #241c17;
  --ez-inverse-line: #3d2f26;
  --ez-on-inverse: #fbf6f1;
  --ez-on-inverse-2: #e8dbd0;
  --ez-on-inverse-3: #c9b6a6;
  --ez-inverse-accent: #f77331;
  --ez-btn-bg: #f77331;
  --ez-btn-fg: #1a0c04;
  --ez-btn-border: transparent;
  --ez-btn-shadow: 0 0 0 1px rgb(247 115 49 / 40%), 0 10px 28px -10px rgb(247 115 49 / 55%);
  --ez-btn-hover-shadow: 0 0 0 1px rgb(255 138 76 / 60%), 0 14px 34px -10px rgb(247 115 49 / 70%);
  --ez-btn-icon: #1a0c04;
  --ez-btn2-bg: transparent;
  --ez-btn2-fg: #fbf6f1;
  --ez-btn2-border: #56433a;
  --ez-header-bg: rgb(20 16 13 / 84%);
  --ez-card-border: #3d2f26;
  --ez-shadow-card: inset 0 1px 0 rgb(255 241 226 / 4%), 0 24px 48px -16px rgb(0 0 0 / 60%);
  --ez-shadow-pop: 0 16px 36px -12px rgb(0 0 0 / 70%);
  --ez-shadow-hover: 0 0 0 1px rgb(247 115 49 / 28%), 0 18px 36px -14px rgb(0 0 0 / 70%);
  --ez-lift: translateY(-2px);
  --ez-glow: radial-gradient(70% 90% at 50% 120%, rgb(247 115 49 / 45%) 0%, rgb(247 115 49 / 0%) 70%);
  --ez-chart-1: #3a2e26;
  --ez-chart-2: #b9481a;
  --ez-chart-3: #e05f1f;
  --ez-chart-4: #f77331;
  --ez-avatar-1: #ffc163;
  --ez-avatar-2: #ffb38a;
  --ez-avatar-3: #ff8f7a;
  --ez-focus: #fff1e2;
  --ez-radius-xl: 24px;
  --ez-radius-lg: 18px;
  --ez-radius-md: 14px;
  --ez-radius-sm: 12px;
  --ez-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ez-dur: .6s;
  --ez-dur-fast: .18s;
  --ez-marquee-dur: 90s;
}

/* Chooser swatches show each persona's palette regardless of the active one. */
[data-persona-option="visionary"] { --ez-option-swatch: linear-gradient(135deg, #faf8f4 0 50%, #82efc8 50% 100%); }
[data-persona-option="operator"] { --ez-option-swatch: linear-gradient(135deg, #f2ecdd 0 50%, #c2f24a 50% 100%); }
[data-persona-option="strategist"] { --ez-option-swatch: linear-gradient(135deg, #14100d 0 50%, #f77331 50% 100%); }
