/* ABC 24 Times — palette tokens (light values from DESIGN.md 'Kinetic Editorial'; dark variant is ours) */
:root {
  --c-background: 250 248 255;
  --c-border-subtle: 231 235 243;
  --c-canvas-cream: 255 253 245;
  --c-canvas-subtle: 250 250 252;
  --c-error: 186 26 26;
  --c-error-container: 255 218 214;
  --c-ink: 19 23 34;
  --c-inverse-on-surface: 238 240 255;
  --c-inverse-primary: 183 196 255;
  --c-inverse-surface: 44 48 60;
  --c-live-punch: 255 74 90;
  --c-on-background: 23 27 38;
  --c-on-error: 255 255 255;
  --c-on-error-container: 147 0 10;
  --c-on-primary: 255 255 255;
  --c-on-primary-container: 223 227 255;
  --c-on-primary-fixed: 0 20 82;
  --c-on-primary-fixed-variant: 0 56 182;
  --c-on-secondary: 255 255 255;
  --c-on-secondary-container: 107 75 0;
  --c-on-secondary-fixed: 39 25 0;
  --c-on-secondary-fixed-variant: 94 66 0;
  --c-on-surface: 23 27 38;
  --c-on-surface-variant: 67 70 86;
  --c-on-tertiary: 255 255 255;
  --c-on-tertiary-container: 106 255 177;
  --c-on-tertiary-fixed: 0 33 17;
  --c-on-tertiary-fixed-variant: 0 82 48;
  --c-orchid-purple: 139 61 255;
  --c-outline: 115 118 136;
  --c-outline-variant: 195 197 217;
  --c-primary: 0 62 199;
  --c-primary-container: 0 82 255;
  --c-primary-fixed: 221 225 255;
  --c-primary-fixed-dim: 183 196 255;
  --c-secondary: 124 88 0;
  --c-secondary-container: 254 183 0;
  --c-secondary-fixed: 255 222 168;
  --c-secondary-fixed-dim: 255 186 32;
  --c-surface: 250 248 255;
  --c-surface-bright: 250 248 255;
  --c-surface-container: 234 237 253;
  --c-surface-container-high: 229 231 247;
  --c-surface-container-highest: 223 226 242;
  --c-surface-container-low: 242 243 255;
  --c-surface-container-lowest: 255 255 255;
  --c-surface-dim: 214 217 233;
  --c-surface-tint: 0 76 237;
  --c-surface-tint-amber: 255 249 230;
  --c-surface-tint-blue: 240 245 255;
  --c-surface-tint-mint: 237 253 246;
  --c-surface-variant: 223 226 242;
  --c-tangerine-sun: 255 122 0;
  --c-tertiary: 0 90 54;
  --c-tertiary-container: 0 117 71;
  --c-tertiary-fixed: 87 255 172;
  --c-tertiary-fixed-dim: 46 225 146;
  --c-white-fixed: 255 255 255;
}
html { color-scheme: light; }
html.dark {
  --c-surface: 13 17 29;
  --c-background: 13 17 29;
  --c-surface-bright: 13 17 29;
  --c-surface-dim: 9 12 21;
  --c-surface-container-lowest: 21 27 43;
  --c-surface-container-low: 26 34 54;
  --c-surface-container: 33 43 68;
  --c-surface-container-high: 42 53 83;
  --c-surface-container-highest: 52 64 95;
  --c-surface-variant: 52 64 95;
  --c-on-surface: 232 236 250;
  --c-on-background: 232 236 250;
  --c-on-surface-variant: 185 192 216;
  --c-outline: 139 147 176;
  --c-outline-variant: 58 69 101;
  --c-border-subtle: 42 53 83;
  --c-primary: 155 178 255;
  --c-on-primary: 0 26 107;
  --c-primary-container: 0 82 255;
  --c-on-primary-container: 223 227 255;
  --c-primary-fixed: 31 47 102;
  --c-primary-fixed-dim: 183 196 255;
  --c-on-primary-fixed: 221 225 255;
  --c-on-primary-fixed-variant: 183 196 255;
  --c-surface-tint: 155 178 255;
  --c-inverse-primary: 0 62 199;
  --c-secondary: 255 201 77;
  --c-on-secondary: 39 25 0;
  --c-secondary-container: 254 183 0;
  --c-on-secondary-container: 39 25 0;
  --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: 255 222 168;
  --c-tertiary: 79 227 160;
  --c-on-tertiary: 0 33 17;
  --c-tertiary-container: 0 117 71;
  --c-on-tertiary-container: 106 255 177;
  --c-tertiary-fixed: 87 255 172;
  --c-tertiary-fixed-dim: 46 225 146;
  --c-on-tertiary-fixed: 0 33 17;
  --c-on-tertiary-fixed-variant: 106 255 177;
  --c-inverse-surface: 229 232 247;
  --c-inverse-on-surface: 27 32 48;
  --c-error: 255 180 171;
  --c-on-error: 105 0 5;
  --c-error-container: 122 31 31;
  --c-on-error-container: 255 218 214;
  --c-surface-tint-blue: 22 34 74;
  --c-surface-tint-amber: 44 36 16;
  --c-surface-tint-mint: 15 42 34;
  --c-canvas-cream: 36 31 16;
  --c-canvas-subtle: 13 17 29;
  --c-live-punch: 255 74 90;
  --c-orchid-purple: 181 140 255;
  --c-tangerine-sun: 255 146 56;
  --c-ink: 5 7 13;
}
html.dark { color-scheme: dark; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
.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 link: whole card clickable while inner buttons stay usable */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.above-stretch { position: relative; z-index: 2; }
/* Editorial cards: 1.5px hairline, tinted lift on hover (DESIGN.md "tactile pop elevation") */
.lift { border: 1px solid rgb(var(--c-border-subtle)); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgb(0 82 255 / .10); border-color: rgb(var(--c-primary-fixed-dim)); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { display: inline-flex; animation: marquee 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes bars { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.wave span { transform-origin: center; }
.wave.playing span { animation: bars .9s ease-in-out infinite; }
.wave.playing span:nth-child(2n) { animation-delay: .15s; } .wave.playing span:nth-child(3n) { animation-delay: .3s; } .wave.playing span:nth-child(5n) { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) { .marquee, .wave.playing span { animation: none; } * { scroll-behavior: auto !important; } .marquee { flex-wrap: wrap; } }
.fade-edge { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
:focus-visible { outline: 2px solid rgb(var(--c-primary-container)); outline-offset: 2px; }
.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; }
::selection { background: rgb(var(--c-primary-fixed)); color: rgb(var(--c-on-primary-fixed)); }

/* Article body typography (replaces @tailwindcss/typography) */
.prose-article { font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; line-height: 30px; font-weight: 400; color: rgb(var(--c-on-surface)); }
.prose-article > * + * { margin-top: 1.1em; }
.prose-article h2 { font-family: "Space Grotesk", sans-serif; font-size: 26px; line-height: 32px; font-weight: 700; margin-top: 1.9em; letter-spacing: -0.02em; scroll-margin-top: 150px; }
.prose-article h3 { font-family: "Space Grotesk", sans-serif; font-size: 20px; line-height: 26px; font-weight: 700; margin-top: 1.5em; letter-spacing: -0.015em; scroll-margin-top: 150px; }
.prose-article ul, .prose-article ol { padding-left: 1.4em; }
.prose-article ul { list-style: disc; } .prose-article ol { list-style: decimal; }
.prose-article li { margin-top: .45em; padding-left: .2em; } .prose-article li::marker { color: rgb(var(--c-primary-container)); font-weight: 700; }
.prose-article strong { font-weight: 700; }
.prose-article > p:first-child::first-letter { font-size: 3.1em; line-height: .9; font-weight: 700; float: left; margin: .06em .12em 0 0; color: rgb(var(--c-primary-container)); }
.prose-article blockquote { font-family: 'Space Grotesk', sans-serif; border-left: 4px solid rgb(var(--c-secondary-container)); background: rgb(var(--c-surface-tint-amber)); padding: 16px 20px; border-radius: 0 1rem 1rem 0; font-size: 19px; line-height: 30px; font-weight: 600; }
.prose-article a { color: rgb(var(--c-primary)); text-decoration: underline; }
@media (max-width: 767px) { .prose-article { font-size: 16.5px; line-height: 28px; } .prose-article h2 { font-size: 22px; line-height: 28px; } }
