@import url('lrl-tokens.css');
/* =========================================================
   Learning Rewired Lab — Ask the Lab (redesign)
   Page-specific styles. Pairs with global.css + ask.js.
   Layout is inline on the elements; this file holds only
   what inline styles can't express (keyframes, media
   queries, hover states).
   ========================================================= */

.ask-home { box-sizing: border-box; }
.ask-home *, .ask-home *::before, .ask-home *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.ask-home main { overflow: hidden; }
.ask-home ::selection { background: rgba(22,184,217,.22); }

/* ---- keyframes ---- */
@keyframes ak-pulse { 0%,100% { opacity:.4; } 50% { opacity:1; } }
@keyframes ak-sheen { 0%, 58% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes ak-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ak-blink { 0%,100% { opacity:.25; } 50% { opacity:1; } }
@media (prefers-reduced-motion: reduce) { .ak-float { animation: none !important; } }

/* ---- hover states ---- */
.h-cyan:hover  { background:#0ea5c2 !important; }
.h-mint:hover  { background:#ffffff !important; }
.h-ink:hover   { background:rgba(255,255,255,.14) !important; }
.h-ghost:hover { border-color:#16b8d9 !important; color:#0789a2 !important; }
.h-link:hover  { color:#07111f !important; }
.h-bright:hover { filter:brightness(1.08); }
.ak-lane:hover { border-color:rgba(110,231,216,.6) !important; }

.h-eco { transition:transform .2s, box-shadow .2s, border-color .2s; }
.h-eco:hover { transform:translateY(-3px); box-shadow:0 18px 40px rgba(15,23,42,.1) !important; border-color:var(--ea) !important; }

.h-path { transition:border-color .2s, background .2s, transform .2s; }
.h-path:hover { border-color:rgba(22,184,217,.4) !important; background:var(--lrl-mist, #f8fafc) !important; transform:translateX(3px); }

/* ---- responsive ---- */
@media (max-width: 980px) {
  [data-r="hero"], [data-r="pc"], [data-r="chat"] { grid-template-columns: 1fr !important; gap: 0 !important; }
  [data-r="hero"] { gap: 40px !important; }
  [data-r="pc"] > div:first-child { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
  [data-r="h1"] { font-size: 48px !important; }
  [data-r="chat"] { border-radius: 24px !important; }
  [data-r="chat-media"] { min-height: 220px !important; border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; }
  [data-r="eco"], [data-r="paths"], [data-r="thesis"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  [data-r="h1"] { font-size: 38px !important; }
  [data-r="pc-lanes"] { grid-template-columns: 1fr !important; }
  [data-r="sec-h"] { font-size: 30px !important; }
}

/* Sheen respects reduced-motion (added with the shared hero-sheen pass). */
@media (prefers-reduced-motion: reduce) {
  [style*="ak-sheen"], [class*="sheen"], [class*="shimmer"], [class*="accent"] {
    animation: none !important;
  }
}
