Spaces:
Running
Running
File size: 3,865 Bytes
8a37195 c7f2f22 8a37195 c7f2f22 8a37195 c7f2f22 8a37195 9f9a669 8a37195 c7f2f22 8a37195 c7f2f22 8a37195 bb732a4 8a37195 bb732a4 c7f2f22 8a37195 edcd057 c7f2f22 edcd057 c7f2f22 edcd057 74a60a9 | 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 | @import "tailwindcss";
/* ββ Design tokens ββββββββββββββββββββββββββββββββββββββββββββββββ
Consolidated palette + surface scale. Use via Tailwind arbitrary
values (bg-[var(--surface-1)]) or via the semantic helpers below. */
:root {
/* surface / depth scale */
--bg: #0a0e17;
--surface-0: #0d1220;
--surface-1: #11172a;
--surface-2: #151c33;
--border-subtle: rgba(255, 255, 255, 0.05);
--border-strong: rgba(255, 255, 255, 0.1);
/* text scale */
--text-primary: #e7ebf3;
--text-muted: #9aa3b5;
--text-faint: #5b6274;
/* single accent (cyan). Orange is reserved for destructive. */
--accent: #38bdf8;
--accent-soft: rgba(56, 189, 248, 0.18);
--accent-ring: rgba(56, 189, 248, 0.55);
--radius: 6px;
}
@theme inline {
--color-bg: var(--bg);
--color-surface-0: var(--surface-0);
--color-surface-1: var(--surface-1);
--color-surface-2: var(--surface-2);
--color-accent: var(--accent);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
html {
font-size: 18px;
}
body {
background: var(--bg);
color: var(--text-primary);
font-feature-settings:
"cv11" 1,
"ss01" 1;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
/* Numeric readouts always use tabular figures so rows don't jitter. */
.tabular,
[data-tabular] {
font-variant-numeric: tabular-nums;
}
/* ββ Semantic helpers ββββββββββββββββββββββββββββββββββββββββββββββ */
.panel {
@apply rounded-md border border-white/5 bg-white/[0.02];
}
.panel-raised {
@apply rounded-md border border-white/10 bg-white/[0.03];
}
/* Scrollbar: thin, subtle, matches the surface palette. */
*::-webkit-scrollbar {
width: 10px;
height: 10px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.06);
border-radius: 10px;
border: 2px solid transparent;
background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.12);
background-clip: padding-box;
}
/* ββ Background video (used on the landing page) βββββββββββββββββββ */
.video-background {
@apply fixed top-0 right-0 bottom-0 left-0 -z-10 overflow-hidden w-screen h-screen;
}
.video-background video {
@apply absolute top-1/2 left-1/2 pointer-events-none bg-black;
min-width: 100vw;
min-height: 100vh;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
filter: brightness(0.55) saturate(0.85);
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.55s ease-out forwards;
}
/* Late entry β used for elements that should arrive after the hero stack
has settled, so they read as a quiet afterthought rather than another
simultaneous CTA. `both` fill mode keeps the element invisible during
the delay so it doesn't briefly flash with the parent's animation. */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-late {
animation: fadeIn 0.45s ease-out 0.55s both;
}
/* Pop animation for dropdowns β anchors at top-right and scales up
slightly while fading in. Short enough (140ms) to feel snappy. */
@keyframes menuPop {
from {
opacity: 0;
transform: translateY(-2px) scale(0.97);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.animate-menu-pop {
animation: menuPop 0.14s ease-out forwards;
transform-origin: top right;
}
|