@import url("/assets/css/utilities.css");

/* ==========================================================================
   AIQBrain – Core Styles (Light/Dark, A11y, Utilities)
   Drop-in replacement for /assets/css/aiqbrain.css
   ========================================================================== */

/* ---------------------------
   0) Base resets & preferences
---------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

.skip-link {
  position: absolute;
  top: -200px;
  left: var(--space-md);
  padding: .5rem 1rem;
  background: var(--accent-500);
  color: #041226;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
  z-index: 100;
  transition: top .2s ease;
}

.skip-link:focus {
  top: var(--space-md);
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}

:root {
  /* Motion & timing */
  --easing: cubic-bezier(.2, .7, .2, 1);
  --transition: all .25s var(--easing);
  --focus-ring-color: rgba(39, 160, 248, .55);
  --focus-ring: 0 0 0 3px var(--focus-ring-color);

  /* Type scale */
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --lh: 1.6;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Legacy font scale aliases */
  --fs-xxs: var(--text-xs);
  --fs-xs: .8125rem;
  --fs-sm: .925rem;
  --fs-md: var(--text-base);
  --fs-lg: 1.25rem;
  --fs-xl: var(--text-2xl);
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;

  /* Spacing scale */
  --space-3xs: .125rem;
  --space-2xs: .25rem;
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Shape & elevation */
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --r-sm: var(--radius-sm);
  --shadow: 0 10px 30px rgba(2, 6, 23, .35);
  --shadow-light: 0 6px 18px rgba(2, 6, 23, .22);
  --shadow-lg: 0 20px 40px rgba(2, 6, 23, .4);

  /* Brand tokens (stable) */
  --ink-950: #0A1A2F;
  --ink-900: #0B1220;
  --ink-800: #1E293B;
  --ink-700: #223047;
  --ink-600: #334155;
  --teal-500: #1DE9B6;
  --accent-500: #27A0F8;
  --violet-500: #7C59FF;
  --gold-400: #F5C542;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --zebra: rgba(39, 160, 248, .06);
  --grad-brand: linear-gradient(135deg, var(--violet-500), var(--accent-500), var(--teal-500));
  --gradient-brand: var(--grad-brand);

  /* Theme (default: DARK) */
  --bg: var(--ink-950);
  --bg-2: #121C2C;
  --bg-3: #1A2536;
  --bg-secondary: var(--bg-2);
  --text: #E6EAF2;
  --text-secondary: rgba(230, 234, 242, .86);
  --text-2: var(--text-secondary);
  --text-3: rgba(230, 234, 242, .65);
  --muted: var(--text-3);
  --border: #2A3A52;
  --border-light: #364663;
  --link: #7FB6FF;
  --link-hover: #B3D2FF;
  --brand-fg: #CFE6FF;
  --header-bg: rgba(10, 26, 47, .85);
}

/* Light overrides */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F7F8FA;
  --bg-3: #EDF2F7;
  --bg-secondary: var(--bg-2);
  --text: #111827;
  --text-secondary: #374151;
  --text-2: var(--text-secondary);
  --text-3: #6B7280;
  --muted: var(--text-3);
  --border: #E5E7EB;
  --border-light: #D1D5DB;
  --shadow: 0 10px 30px rgba(15, 23, 42, .16);
  --shadow-light: 0 6px 18px rgba(15, 23, 42, .08);
  --ink-800: #0F172A;
  --ink-600: #334155;
  --link: #1A56E7;
  --link-hover: #2B6FFF;
  --brand-fg: #1A56E7;
  --header-bg: rgba(255, 255, 255, .85);
}

/* Auto-hint color-scheme to browsers for native form controls, etc. */
:root {
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

/* Respect system preference when no explicit data-theme set */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------
   1) Base layout & typography
---------------------------- */
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-sans);
  line-height: var(--lh);
  font-size: var(--fs-md);
  background: var(--bg);
  color: var(--text);
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

svg {
  fill: currentColor;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container.narrow {
  max-width: 800px;
}

p {
  color: var(--text-secondary);
  margin: .75rem 0 1rem;
}

/* Links */
a {
  color: var(--link);
  text-decoration: none;
  transition: color .2s var(--easing);
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Headings with rhythm */
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent-500);
  margin: .5rem 0 1rem;
}

h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--teal-500);
  margin: 1.5rem 0 1rem;
  position: relative;
  padding-bottom: .3rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--teal-500);
  border-radius: 2px;
}

h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  margin: 1rem 0 .5rem;
}

/* Focus visibility */
:focus-visible,
.focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

button:focus-visible,
.btn:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  border-radius: var(--radius-sm);
}

/* ---------------------------
   2) Header & Navigation
---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg, transparent);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

.site-header__inner,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 32px);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.brand__logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  color: var(--brand-fg);
}

.brand__name {
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--brand-fg, currentColor);
}

@media (min-width: 768px) {
  .brand__logo {
    height: 32px;
  }
}

.menu {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--text);
  font-weight: 600;
  padding: .4rem .6rem;
  border-radius: .5rem;
  transition: var(--transition);
}

.menu a:hover {
  color: var(--teal-500);
  background: color-mix(in oklab, var(--accent-500) 10%, transparent);
}

.menu a.is-active {
  color: var(--ink-800);
  background: var(--teal-500);
  font-weight: 800;
  text-decoration: none;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: .4rem .7rem;
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.theme-toggle:hover {
  border-color: var(--accent-500);
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* Theme toggle: icon visibility based on theme */
.theme-toggle [data-icon="sun"],
.theme-toggle [data-icon="moon"] {
  display: inline-block;
}

/* Default (dark theme) shows moon */
:root:not([data-theme]),
:root:not([data-theme]) body {}

:root:not([data-theme]) .theme-toggle [data-icon="sun"] {
  display: none;
}

:root:not([data-theme]) .theme-toggle [data-icon="moon"] {
  display: inline-block;
}

/* Explicit dark */
:root[data-theme="dark"] .theme-toggle [data-icon="sun"] {
  display: none;
}

:root[data-theme="dark"] .theme-toggle [data-icon="moon"] {
  display: inline-block;
}

/* Explicit light */
:root[data-theme="light"] .theme-toggle [data-icon="sun"] {
  display: inline-block;
}

:root[data-theme="light"] .theme-toggle [data-icon="moon"] {
  display: none;
}

/* Keyboard focus styling */
.theme-toggle:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

/* Ensure icon spans have consistent layout */
.theme-toggle__icon { display: inline-block; line-height: 1; }

/* ---------------------------
   3) Footer
---------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  color: var(--muted);
  text-align: center;
  margin-top: auto;
  font-size: var(--fs-sm);
}

/* ---------------------------
   4) Components
---------------------------- */
/* Panels / cards */
.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-light);
  margin-bottom: var(--space-lg);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius, 12px);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-light);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  height: clamp(48px, 6vw, 64px);
  width: clamp(48px, 6vw, 64px);
}

.card__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card__title {
  margin: 0 0 .5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.1rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s var(--easing), box-shadow .2s var(--easing), opacity .2s var(--easing);
  border: 1px solid transparent;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn:active {
  transform: translateY(-1px);
}

.btn[disabled],
.btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  border-color: var(--accent-500);
  color: var(--accent-500);
}

.btn.ghost:hover {
  background: color-mix(in oklab, var(--accent-500) 12%, transparent);
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.outline:hover {
  border-color: var(--accent-500);
}

/* Lists */
ul {
  padding-left: 1.1rem;
}

/* Tables (if needed for comparisons) */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.table th,
.table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.table th {
  color: var(--text);
  font-weight: 700;
  background: color-mix(in oklab, var(--bg-secondary) 80%, var(--border) 20%);
}

.table tr:last-child td {
  border-bottom: 0;
}

/* Code blocks */
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}

pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  overflow: auto;
}

/* Forms (for affiliate/contact pages) */
input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

.input,
.select,
.textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem .8rem;
  transition: border-color .2s var(--easing), box-shadow .2s var(--easing);
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  border-color: var(--accent-500);
  box-shadow: var(--focus-ring);
  outline: none;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--text);
}

/* Alerts */
.alert {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-500);
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  color: var(--text-secondary);
}

/* ---------------------------
   5) Utilities
---------------------------- */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-sm {
  margin-top: var(--space-sm) !important;
}

.mt-md {
  margin-top: var(--space-md) !important;
}

.mt-lg {
  margin-top: var(--space-lg) !important;
}

.mt-xl {
  margin-top: var(--space-xl) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-sm {
  margin-bottom: var(--space-sm) !important;
}

.mb-md {
  margin-bottom: var(--space-md) !important;
}

.mb-lg {
  margin-bottom: var(--space-lg) !important;
}

.mb-xl {
  margin-bottom: var(--space-xl) !important;
}

.flex {
  display: flex !important;
}

.inline-flex {
  display: inline-flex !important;
}

.center {
  align-items: center;
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.round {
  border-radius: var(--radius);
}

.round-sm {
  border-radius: var(--radius-sm);
}

.max-w-narrow {
  max-width: 800px;
}

.max-w-wide {
  max-width: 1200px;
}

/* ---------------------------
   6) Responsive tweaks
---------------------------- */
@media (max-width: 1024px) {
  .container {
    padding-inline: var(--space-sm);
  }
}

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: var(--fs-2xl);
  }
}

/* ---------------------------
   7) Nice extras
---------------------------- */
/* Smooth anchor scrolling (ignored when reduce-motion) */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: color-mix(in oklab, var(--accent-500) 30%, var(--teal-500) 20%);
  color: #fff;
}

.hero-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  margin: clamp(16px, 5vw, 56px) auto;
}

.emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 8vw, 72px);
  height: clamp(44px, 8vw, 72px);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
  transform: translateY(0);
  text-rendering: optimizeLegibility;
}

@supports (font-variation-settings: normal) {
  .emoji {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ---------------------------
   8) Site partials (CTA bar, newsletter, disclosure)
---------------------------- */
.cta-bar {
  position: sticky;
  top: 52px;
  /* sits below sticky header */
  z-index: 45;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
}

.cta-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: center;
}

.newsletter {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.newsletter h3 {
  color: var(--teal-500);
}

.newsletter form {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  flex: 1 1 260px;
}

.content-stack {
  display: grid;
  gap: var(--space-2xl);
  padding-block: var(--space-2xl);
}

.hero {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
}

.hero .disclosure {
  margin: 0;
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.kicker {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-xs);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--text-2);
  max-width: 65ch;
}

.game-hero {
  display: grid;
  gap: var(--space-sm);
}

.guide-container {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 1200px) {
  .guide-container {
    max-width: 1120px;
  }
}

.game-guide {
  display: grid;
  gap: var(--space-2xl);
}

.provider-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.provider-card .note {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
}

.game-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.game-table th {
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: var(--space-sm) var(--space-md);
  background: color-mix(in oklab, var(--bg-secondary) 85%, var(--border) 15%);
  color: var(--text);
}

.game-table td {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-2);
  border-top: 1px solid var(--border);
}

.game-table tbody tr:last-child td {
  border-bottom: none;
}

.game-table time {
  font-weight: 600;
  color: var(--text);
}

.back-link {
  display: flex;
  justify-content: flex-start;
}

.back-link .btn {
  width: auto;
}

.games-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 100%;
}

.coverage-maps {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.coverage-maps .map-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .coverage-maps .map-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.coverage-maps figure {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
}

.coverage-maps img {
  border-radius: var(--radius);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-light);
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent 30%);
}

.coverage-maps figcaption {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.game-card .game-header {
  display: grid;
  gap: var(--space-2xs);
}

.game-meta {
  display: grid;
  gap: var(--space-3xs);
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.game-meta .network {
  font-weight: 600;
  color: var(--text);
}

.game-content {
  display: grid;
  gap: var(--space-sm);
  flex: 1;
}

.cta-group {
  display: flex;
  margin-top: auto;
}

.cta-group .btn {
  width: 100%;
}

.game-details .details-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.detail-item {
  display: grid;
  gap: var(--space-3xs);
}

.streaming-options {
  display: grid;
  gap: var(--space-lg);
}

.provider-card {
  display: grid;
  gap: var(--space-sm);
}

.provider-card .btn {
  justify-self: flex-start;
}

.free-trial-note {
  font-size: var(--fs-sm);
  color: var(--accent-500);
}

.h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0;
}

.h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-xl);
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .content-stack {
    gap: var(--space-xl);
    padding-block: var(--space-xl);
  }
}

.disclosure {
  font: 500 0.875rem/1.5 var(--font-sans);
  color: var(--text-2);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.25rem;
}

.disclosure a {
  color: var(--accent-500);
  text-decoration: underline;
}

/* === DX: Token fallbacks & utilities =================================== */
:root {
  /* Safe fallbacks if a token is missing */
  --bg: var(--ink-950, #0A1A2F);
  --text: var(--text-primary, #E6EAF2);
  --border: var(--border, #2A3A52);
  --shadow-lg: var(--shadow-lg, 0 20px 40px rgba(2, 6, 23, 0.4));
}

/* Interactive card variant */
.card--interactive { cursor: pointer; transition: all 0.2s ease; }
.card--interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Accessibility utilities */
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.focus-ring:focus { box-shadow: 0 0 0 3px rgba(39,160,248,.35); outline: none; }

/* Progressive disclosure tweaks */
details { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

