-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
345 lines (313 loc) · 12.4 KB
/
Copy pathstyles.css
File metadata and controls
345 lines (313 loc) · 12.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
@import "tailwindcss" source(none);
@source "../src";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
@theme inline {
--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--radius-2xl: calc(var(--radius) + 8px);
--radius-3xl: calc(var(--radius) + 12px);
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-surface: var(--surface);
--color-surface-elevated: var(--surface-elevated);
--color-grid-line: var(--grid-line);
--color-signal: var(--signal);
--color-signal-foreground: var(--signal-foreground);
/* Instrumentation band — an intentionally dark surface used for the hero and
other "evidence" sections. Identical in light and dark mode so the brand
always opens on the same note. */
--color-deep: var(--deep);
--color-deep-elevated: var(--deep-elevated);
--color-deep-sunken: var(--deep-sunken);
--color-deep-foreground: var(--deep-foreground);
--color-deep-muted: var(--deep-muted);
--color-deep-border: var(--deep-border);
--shadow-elevated: 0 1px 2px 0 oklch(0 0 0 / 0.04), 0 8px 24px -8px oklch(0 0 0 / 0.08);
--shadow-glow: 0 0 0 1px var(--primary), 0 8px 32px -4px color-mix(in oklab, var(--primary) 35%, transparent);
--shadow-cta: 0 10px 30px -10px color-mix(in oklab, var(--primary) 60%, transparent);
--shadow-panel: 0 40px 80px -32px oklch(0 0 0 / 0.65);
--gradient-radial-red: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in oklab, var(--primary) 18%, transparent), transparent 70%);
--gradient-mesh: radial-gradient(circle at 20% 0%, color-mix(in oklab, var(--primary) 10%, transparent), transparent 50%), radial-gradient(circle at 80% 30%, color-mix(in oklab, var(--primary) 6%, transparent), transparent 50%);
/* Tailwind v4 keyframes — exposed as `animate-*` utilities */
--animate-fade-in: fade-in 0.3s ease-out both;
--animate-fade-out: fade-out 0.3s ease-out both;
--animate-fade-up: fade-up 0.6s ease-out both;
--animate-scale-in: scale-in 0.2s ease-out both;
--animate-scale-out: scale-out 0.2s ease-out both;
--animate-slide-in-right: slide-in-right 0.3s ease-out both;
--animate-slide-out-right: slide-out-right 0.3s ease-out both;
--animate-accordion-down: accordion-down 0.2s ease-out;
--animate-accordion-up: accordion-up 0.2s ease-out;
/* Cinematic chart reveal keyframes */
--animate-chart-fade: chart-fade 0.8s ease-out both;
--animate-chart-slide-up: chart-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
--animate-chart-slide-right: chart-slide-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
--animate-chart-grow-up: chart-grow-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
--animate-chart-scale-in: chart-scale-in 0.6s ease-out both;
@keyframes fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-out {
from { opacity: 1; transform: translateY(0); }
to { opacity: 0; transform: translateY(10px); }
}
@keyframes scale-in {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}
@keyframes scale-out {
from { opacity: 1; transform: scale(1); }
to { opacity: 0; transform: scale(0.95); }
}
@keyframes slide-in-right {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
@keyframes slide-out-right {
from { transform: translateX(0); }
to { transform: translateX(100%); }
}
@keyframes accordion-down {
from { height: 0; opacity: 0; }
to { height: var(--radix-accordion-content-height); opacity: 1; }
}
@keyframes accordion-up {
from { height: var(--radix-accordion-content-height); opacity: 1; }
to { height: 0; opacity: 0; }
}
@keyframes chart-fade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes chart-slide-up {
from { opacity: 0; transform: translateY(40px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes chart-slide-right {
from { opacity: 0; transform: translateX(30px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes chart-grow-up {
from { transform: scaleY(0); transform-origin: bottom; }
to { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes chart-scale-in {
from { opacity: 0; transform: scale(0.97); }
to { opacity: 1; transform: scale(1); }
}
}
:root {
--radius: 0.5rem;
/* Light, Twilio/Stripe-grade neutrals */
--background: oklch(1 0 0);
--foreground: oklch(0.18 0.01 270);
--surface: oklch(0.985 0.002 270);
--surface-elevated: oklch(1 0 0);
--grid-line: oklch(0.93 0.005 270);
/* Instrumentation band (theme-independent) */
--deep: oklch(0.16 0.014 265);
--deep-elevated: oklch(0.21 0.014 265);
--deep-sunken: oklch(0.13 0.014 265);
--deep-foreground: oklch(0.985 0 0);
--deep-muted: oklch(0.73 0.012 265);
--deep-border: oklch(1 0 0 / 12%);
--card: oklch(1 0 0);
--card-foreground: oklch(0.18 0.01 270);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.18 0.01 270);
/* Pure power red — no pink undertones */
--primary: oklch(0.54 0.24 28);
--primary-foreground: oklch(0.99 0 0);
/* Lime green — signal of life / "it works" */
--signal: oklch(0.86 0.24 130);
--signal-foreground: oklch(0.18 0.05 140);
/* Chart baseline series (the "ungraded" comparator) — CVD-validated
against --primary on the light surface. */
--chart-baseline: #4a63b8;
--secondary: oklch(0.97 0.003 270);
--secondary-foreground: oklch(0.22 0.01 270);
--muted: oklch(0.965 0.003 270);
--muted-foreground: oklch(0.5 0.012 270);
--accent: oklch(0.96 0.005 270);
--accent-foreground: oklch(0.2 0.01 270);
/* Errors must not read as CTAs: destructive is a deeper crimson (hue 8)
while --primary is the orange-leaning action red (hue 28). */
--destructive: oklch(0.45 0.2 8);
--destructive-foreground: oklch(0.99 0 0);
--border: oklch(0.92 0.004 270);
--input: oklch(0.93 0.004 270);
--ring: oklch(0.54 0.24 28);
}
.dark {
--background: oklch(0.14 0.01 270);
--foreground: oklch(0.98 0 0);
--surface: oklch(0.18 0.01 270);
--surface-elevated: oklch(0.22 0.012 270);
--grid-line: oklch(0.28 0.01 270);
--card: oklch(0.18 0.01 270);
--card-foreground: oklch(0.98 0 0);
--popover: oklch(0.18 0.01 270);
--popover-foreground: oklch(0.98 0 0);
--primary: oklch(0.62 0.22 25);
--primary-foreground: oklch(0.99 0 0);
/* CVD-validated against dark --primary on the dark surface. */
--chart-baseline: #6d84d6;
--secondary: oklch(0.24 0.012 270);
--secondary-foreground: oklch(0.98 0 0);
--muted: oklch(0.24 0.012 270);
--muted-foreground: oklch(0.72 0.01 270);
--accent: oklch(0.26 0.012 270);
--accent-foreground: oklch(0.98 0 0);
--destructive: oklch(0.6 0.19 8);
--destructive-foreground: oklch(0.99 0 0);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 12%);
--ring: oklch(0.62 0.22 25);
}
@layer base {
* { border-color: var(--color-border); }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; overflow-x: hidden; }
body {
background-color: var(--color-background);
color: var(--color-foreground);
font-family: var(--font-sans);
font-feature-settings: "ss01", "cv11";
overflow-x: hidden;
}
::selection { background: color-mix(in oklab, var(--primary) 25%, transparent); color: var(--foreground); }
}
@layer utilities {
.font-mono { font-family: var(--font-mono); }
.grid-bg {
background-image:
linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
background-size: 56px 56px;
mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
}
.hero-glow { background: var(--gradient-radial-red); }
/* Fine technical grid for the instrumentation band, faded at the edges. */
.deep-grid {
background-image:
linear-gradient(to right, oklch(1 0 0 / 0.045) 1px, transparent 1px),
linear-gradient(to bottom, oklch(1 0 0 / 0.045) 1px, transparent 1px);
background-size: 64px 64px;
mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black 60%, transparent 100%);
}
.deep-glow {
background: radial-gradient(ellipse 55% 45% at 25% 0%, color-mix(in oklab, var(--primary) 26%, transparent), transparent 70%);
}
@keyframes sweep {
0% { transform: translateX(-100%); }
100% { transform: translateX(200%); }
}
.sweep::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.18), transparent);
animation: sweep 3.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
.sweep::after { animation: none; opacity: 0; }
}
.mesh-bg { background: var(--gradient-mesh); }
.text-gradient {
background: linear-gradient(180deg, var(--foreground) 0%, color-mix(in oklab, var(--foreground) 70%, transparent) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.ring-soft { box-shadow: 0 0 0 1px var(--border); }
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.85); }
}
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }
@keyframes marquee {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
.marquee { animation: marquee 40s linear infinite; }
/* Typing caret */
@keyframes caret-blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
.caret {
display: inline-block;
width: 0.55ch;
height: 1em;
margin-left: 2px;
background: currentColor;
vertical-align: -2px;
animation: caret-blink 1s steps(1) infinite;
}
/* Fade up on mount */
@keyframes fade-up {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.6s ease-out both; }
/* Cinematic chart reveal utilities */
.chart-fade { animation: chart-fade 0.8s ease-out both; }
.chart-slide-up { animation: chart-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.chart-slide-right { animation: chart-slide-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.chart-grow-up { animation: chart-grow-up 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.chart-scale-in { animation: chart-scale-in 0.6s ease-out both; }
.chart-delay-100 { animation-delay: 100ms; }
.chart-delay-200 { animation-delay: 200ms; }
.chart-delay-300 { animation-delay: 300ms; }
.chart-delay-400 { animation-delay: 400ms; }
.chart-delay-500 { animation-delay: 500ms; }
.chart-delay-600 { animation-delay: 600ms; }
.chart-delay-700 { animation-delay: 700ms; }
.chart-delay-800 { animation-delay: 800ms; }
.chart-delay-900 { animation-delay: 900ms; }
/* Skip link for keyboard users */
.skip-link {
position: absolute;
left: -9999px;
top: 0;
z-index: 100;
padding: 0.5rem 0.875rem;
border-radius: 0.375rem;
background: var(--background);
color: var(--foreground);
font-size: 0.875rem;
box-shadow: 0 0 0 1px var(--border);
}
.skip-link:focus { left: 1rem; top: 1rem; outline: 2px solid var(--primary); }
}
/* Respect reduced motion across all animations and transitions */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}