@tailwind base; @tailwind components; @tailwind utilities; /* ── DESIGN TOKENS ── */ :root { --font-geist-sans: 'Geist', system-ui, sans-serif; --font-geist-mono: 'Geist Mono', monospace; /* Light base */ --bg: #f9fafb; /* Light surface steps (for shadows / borders if needed) */ --s1: #ffffff; --s2: #f3f4f6; --s3: #e5e7eb; --s4: #d1d5db; /* Borders tuned for light theme */ --border: rgba(15,23,42,0.08); --border-h: rgba(15,23,42,0.16); /* Dark text on light bg */ --text: #020617; /* almost black */ --muted: #6b7280; /* slate-500 */ --faint: #e5e7eb; /* light divider */ --tr: 180ms cubic-bezier(.16,1,.3,1); --tr-slow: 320ms cubic-bezier(.16,1,.3,1); } /* ── BASE ── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; scroll-padding-top: 72px; } body { background: var(--bg); color: var(--text); font-family: var(--font-geist-sans); font-size: 1rem; line-height: 1.65; overflow-x: hidden; min-height: 100dvh; } ::selection { background: rgba(15,23,42,0.12); color: #000; } :focus-visible { outline: 1.5px solid rgba(15,23,42,0.4); outline-offset: 3px; border-radius: 4px; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } } /* ── GLASS CARD (light, for all elements using .glass) ── */ .glass { background: rgba(255,255,255,0.78); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border: 1px solid var(--border); box-shadow: 0 0 0 1px rgba(15,23,42,0.02), 0 10px 30px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.9); border-radius: 16px; } .glass:hover { border-color: var(--border-h); box-shadow: 0 0 0 1px rgba(15,23,42,0.03), 0 14px 40px rgba(15,23,42,0.13), inset 0 1px 0 rgba(255,255,255,1); } /* ── NOISE TEXTURE (hero) ── */ .noise { position: relative; isolation: isolate; } .noise::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; pointer-events: none; z-index: 0; opacity: .45; } /* ── DOT GRID BG ── */ .dot-grid { background-image: radial-gradient(circle, rgba(15,23,42,0.06) 1px, transparent 1px); background-size: 32px 32px; } /* ── SECTION LABELS ── */ .label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(15,23,42,0.55); margin-bottom: 16px; } .label::before { content: ''; display: block; width: 18px; height: 1px; background: rgba(15,23,42,0.35); } /* ── SKELETON ── */ @keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} } .skel { background: linear-gradient(90deg,var(--s2) 25%,var(--s3) 50%,var(--s2) 75%); background-size: 200% 100%; animation: shimmer 1.8s ease-in-out infinite; border-radius: 6px; } /* ── SCROLL REVEALS ── */ .reveal { opacity: 1; } @supports (animation-timeline: scroll()) { .reveal { opacity: 0; animation: fade-in linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; } @keyframes fade-in { to { opacity: 1; } } } /* ── BUTTONS ── */ .btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 10px; cursor: pointer; transition: all var(--tr); border: 1px solid transparent; } .btn:hover { transform: translateY(-1px); } .btn:active { transform: translateY(0); } .btn-primary { background: #020617; color: #f9fafb; border-color: rgba(15,23,42,0.3); box-shadow: 0 4px 20px rgba(15,23,42,0.15); } .btn-primary:hover { background: #000; box-shadow: 0 6px 26px rgba(15,23,42,0.22); } .btn-ghost { background: rgba(255,255,255,0.75); color: var(--muted); border-color: var(--border); } .btn-ghost:hover { background: #ffffff; color: var(--text); border-color: var(--border-h); } /* ── CALENDAR CELLS ── */ .cal-cell { rx: 3px; transition: opacity 0.12s; } .cal-cell:hover { opacity: .75; cursor: default; } /* ── COMMIT TIMELINE ── */ .commit-line { position: relative; } .commit-line::before { content: ''; position: absolute; left: 4px; top: 20px; bottom: -8px; width: 1px; background: var(--faint); } .commit-line:last-child::before { display: none; }