negotiation-arena-master / web /shared /design_tokens.css
the-ashutosh's picture
Add application file
1a91b23
Raw History Blame Contribute Delete
4.91 kB
/* Shared design tokens for the V3 landing page + replay UI.
Spec: docs/v3/WEBSITE_DESIGN.md */
:root {
/* ---------------------------------------------------------------
* Backgrounds
* --------------------------------------------------------------- */
--bg-primary: #0A0A0F;
--bg-secondary: #12121A;
--bg-tertiary: #1A1A24;
--bg-glass: rgba(20, 20, 30, 0.6);
/* ---------------------------------------------------------------
* Borders
* --------------------------------------------------------------- */
--border-subtle: rgba(255, 255, 255, 0.06);
--border-default: rgba(255, 255, 255, 0.10);
--border-bright: rgba(255, 255, 255, 0.18);
/* ---------------------------------------------------------------
* Text
* --------------------------------------------------------------- */
--text-primary: #F5F5F7;
--text-secondary: #A1A1AA;
--text-tertiary: #6B7280;
/* ---------------------------------------------------------------
* Accent palette (tribunal theme)
* --------------------------------------------------------------- */
--accent-vendor: #7C3AED;
--accent-client: #10B981;
--accent-neutral: #F59E0B;
--accent-danger: #EF4444;
/* ---------------------------------------------------------------
* Gradients
* --------------------------------------------------------------- */
--gradient-hero: linear-gradient(135deg, #7C3AED 0%, #10B981 50%, #F59E0B 100%);
--gradient-card: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, transparent 100%);
--gradient-glow: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15), transparent 70%);
/* ---------------------------------------------------------------
* Typography
* --------------------------------------------------------------- */
--font-sans: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI',
Roboto, Oxygen, Ubuntu, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular,
Menlo, monospace;
--font-display: var(--font-sans);
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.5rem;
--text-2xl: 2rem;
--text-3xl: 3rem;
--text-display: clamp(3rem, 8vw, 6rem);
/* ---------------------------------------------------------------
* Spacing scale
* --------------------------------------------------------------- */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-12: 3rem;
--space-16: 4rem;
--space-24: 6rem;
--space-32: 8rem;
/* ---------------------------------------------------------------
* Shadows
* --------------------------------------------------------------- */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
--shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.30);
--shadow-glow-green: 0 0 40px rgba(16, 185, 129, 0.30);
--shadow-glow-amber: 0 0 40px rgba(245, 158, 11, 0.30);
/* ---------------------------------------------------------------
* Animation tokens
* --------------------------------------------------------------- */
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 150ms;
--duration-base: 250ms;
--duration-slow: 500ms;
--duration-cinematic: 1000ms;
/* ---------------------------------------------------------------
* Layout
* --------------------------------------------------------------- */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 20px;
--max-width: 1200px;
}
/* -----------------------------------------------------------------
* Minimal reset + base typography (shared by both UIs)
* ----------------------------------------------------------------- */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
background: var(--bg-primary);
color: var(--text-primary);
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
img, svg, canvas, video {
display: block;
max-width: 100%;
}
button {
font: inherit;
color: inherit;
background: none;
border: 0;
cursor: pointer;
}
a {
color: inherit;
text-decoration: none;
}
code, pre, kbd {
font-family: var(--font-mono);
}
::selection {
background: rgba(124, 58, 237, 0.35);
color: var(--text-primary);
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}