:root {
  --c-surface: 250 248 255;
  --c-surface-dim: 210 217 244;
  --c-surface-bright: 250 248 255;
  --c-surface-container-lowest: 255 255 255;
  --c-surface-container-low: 242 243 255;
  --c-surface-container: 234 237 255;
  --c-surface-container-high: 226 231 255;
  --c-surface-container-highest: 218 226 253;
  --c-on-surface: 19 27 46;
  --c-on-surface-variant: 92 63 66;
  --c-inverse-surface: 40 48 68;
  --c-inverse-on-surface: 238 240 255;
  --c-outline: 144 111 114;
  --c-outline-variant: 229 189 192;
  --c-surface-tint: 189 0 66;
  --c-primary: 185 0 64;
  --c-on-primary: 255 255 255;
  --c-primary-container: 227 23 84;
  --c-on-primary-container: 255 251 255;
  --c-inverse-primary: 255 178 186;
  --c-secondary: 124 88 0;
  --c-on-secondary: 255 255 255;
  --c-secondary-container: 254 183 0;
  --c-on-secondary-container: 107 75 0;
  --c-tertiary: 0 101 123;
  --c-on-tertiary: 255 255 255;
  --c-tertiary-container: 0 127 155;
  --c-on-tertiary-container: 250 253 255;
  --c-error: 186 26 26;
  --c-on-error: 255 255 255;
  --c-error-container: 255 218 214;
  --c-on-error-container: 147 0 10;
  --c-primary-fixed: 255 217 220;
  --c-primary-fixed-dim: 255 178 186;
  --c-on-primary-fixed: 64 0 17;
  --c-on-primary-fixed-variant: 145 0 48;
  --c-secondary-fixed: 255 222 168;
  --c-secondary-fixed-dim: 255 186 32;
  --c-on-secondary-fixed: 39 25 0;
  --c-on-secondary-fixed-variant: 94 66 0;
  --c-tertiary-fixed: 182 235 255;
  --c-tertiary-fixed-dim: 71 214 255;
  --c-on-tertiary-fixed: 0 31 40;
  --c-on-tertiary-fixed-variant: 0 78 96;
  --c-background: 250 248 255;
  --c-on-background: 19 27 46;
  --c-surface-variant: 218 226 253;
  --c-ink: 15 23 42;
  --c-white-fixed: 255 255 255;
  --c-amber-wash: 255 251 235;
  --c-coral-wash: 255 241 245;
  --c-cyan-wash: 240 249 255;
  color-scheme: light;
}
html.dark {
  --c-surface: 14 19 34;
  --c-surface-dim: 10 15 28;
  --c-surface-bright: 42 50 71;
  --c-surface-container-lowest: 21 27 45;
  --c-surface-container-low: 26 33 52;
  --c-surface-container: 32 40 60;
  --c-surface-container-high: 40 48 70;
  --c-surface-container-highest: 49 58 81;
  --c-on-surface: 230 233 248;
  --c-on-surface-variant: 224 196 199;
  --c-inverse-surface: 230 233 248;
  --c-inverse-on-surface: 40 48 68;
  --c-outline: 169 138 141;
  --c-outline-variant: 92 63 66;
  --c-surface-tint: 189 0 66;
  --c-primary: 255 143 163;
  --c-on-primary: 64 0 17;
  --c-primary-container: 227 23 84;
  --c-on-primary-container: 255 251 255;
  --c-inverse-primary: 185 0 64;
  --c-secondary: 255 186 32;
  --c-on-secondary: 39 25 0;
  --c-secondary-container: 254 183 0;
  --c-on-secondary-container: 107 75 0;
  --c-tertiary: 71 214 255;
  --c-on-tertiary: 0 31 40;
  --c-tertiary-container: 0 127 155;
  --c-on-tertiary-container: 250 253 255;
  --c-error: 255 180 171;
  --c-on-error: 255 255 255;
  --c-error-container: 147 0 10;
  --c-on-error-container: 255 218 214;
  --c-primary-fixed: 90 16 38;
  --c-primary-fixed-dim: 255 178 186;
  --c-on-primary-fixed: 255 217 220;
  --c-on-primary-fixed-variant: 255 178 186;
  --c-secondary-fixed: 74 53 0;
  --c-secondary-fixed-dim: 255 186 32;
  --c-on-secondary-fixed: 255 222 168;
  --c-on-secondary-fixed-variant: 94 66 0;
  --c-tertiary-fixed: 0 57 71;
  --c-tertiary-fixed-dim: 71 214 255;
  --c-on-tertiary-fixed: 182 235 255;
  --c-on-tertiary-fixed-variant: 0 78 96;
  --c-background: 14 19 34;
  --c-on-background: 230 233 248;
  --c-surface-variant: 49 58 81;
  --c-ink: 15 23 42;
  --c-white-fixed: 255 255 255;
  --c-amber-wash: 29 26 18;
  --c-coral-wash: 34 20 28;
  --c-cyan-wash: 15 29 42;
  color-scheme: dark;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; background: rgb(var(--c-surface)); }
.no-scrollbar { scrollbar-width: none; } .no-scrollbar::-webkit-scrollbar { display: none; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; line-height: 1; user-select: none; }
.icon-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 0px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.above-stretch { position: relative; z-index: 2; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile { background: linear-gradient(135deg, var(--t1), var(--t2)); }
.marquee { display: inline-flex; white-space: nowrap; animation: marquee 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } html { scroll-behavior: auto; } .animate-ping, .animate-pulse, .animate-bounce { animation: none !important; } }
.lift { transition: transform .2s, box-shadow .2s; } .lift:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px rgba(15,23,42,.08), 0 12px 20px -4px rgba(15,23,42,.06); }
.pop-grad { background-image: linear-gradient(135deg, #e31754 0%, #b90040 55%, #7c5800 130%); color: #fff; }
.prose-article { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 17px; line-height: 29px; color: rgb(var(--c-on-surface)); }
.prose-article p { margin: 0 0 1.1em; }
.prose-article h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; line-height: 32px; letter-spacing: -0.015em; margin: 1.8em 0 .6em; scroll-margin-top: 12rem; }
.prose-article h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; line-height: 26px; margin: 1.4em 0 .5em; color: rgb(var(--c-primary)); }
.prose-article ul, .prose-article ol { margin: 0 0 1.2em 1.4em; } .prose-article ul { list-style: disc; } .prose-article ol { list-style: decimal; }
.prose-article li { margin: .35em 0; padding-left: .2em; } .prose-article li::marker { color: rgb(var(--c-primary-container)); }
.prose-article blockquote { margin: 1.6em 0; padding: 1rem 1.25rem; border-left: 5px solid rgb(var(--c-primary-container)); background: rgb(var(--c-coral-wash)); border-radius: 0 1rem 1rem 0; font-family: 'Syne', sans-serif; font-size: 20px; line-height: 30px; font-weight: 600; }
.prose-article blockquote p { margin: 0; }
.prose-article strong { font-weight: 700; }
.prose-article a { color: rgb(var(--c-primary)); text-decoration: underline; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid rgb(var(--c-primary-container)); outline-offset: 2px; }
