@charset "UTF-8";
/* Generated from exact Learnaroo theme style.css. Original rule order is preserved. */
/*
Theme Name: Learnaroo
Theme URI: https://learnaroohub.com
Author: Humaira Ahmed
Author URI: https://learnaroohub.com/about/
Description: The Learnaroo Learning Engine — a vibrant, child-safe educational platform for UK families, teachers and schools. EYFS to GCSE.
Version: 2.45.8
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: learnaroo
Tags: education, children, e-learning, uk-curriculum, accessibility-ready
*/

/* ==========================================================================
   01 — RESET + BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Nunito', sans-serif; font-size: 16px; line-height: 1.6; color: #1A1A2E; background: #fff; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Fredoka', sans-serif; font-weight: 700; line-height: 1.2; color: #1A1A2E; }

/* ==========================================================================
   02 — VARIABLES
   ========================================================================== */
:root {
  --lwh-coral: #E91E63;
  --lwh-coral-dark: #C2185B;
  --lwh-coral-light: #FCE4EC;
  --lwh-purple: #6B2FA0;
  --lwh-purple-dark: #4A148C;
  --lwh-purple-light: #F3E5F5;
  --lwh-yellow: #FFD700;
  --lwh-yellow-light: #FFFDE7;
  --lwh-ink: #1A1A2E;
  --lwh-ink-soft: #4A4A6A;
  --lwh-grey: #6B7280;
  --lwh-grey-light: #F3F4F6;
  --lwh-white: #FFFFFF;
  --lwh-border: #E5E7EB;
  --lwh-success: #22C55E;
  --lwh-teal: #0D9488;
  --lwh-error: #EF4444;
  --lwh-warning: #F59E0B;
  --lwh-radius: 16px;
  --lwh-radius-sm: 10px;
  --lwh-radius-xs: 6px;
  --lwh-radius-pill: 999px;
  --lwh-shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
  --lwh-shadow-md: 0 4px 12px rgba(26,26,46,0.08);
  --lwh-shadow-lg: 0 12px 32px rgba(26,26,46,0.12);
  --lwh-shadow-hover: 0 8px 24px rgba(233,30,99,0.15);
  --lwh-container: min(95%, 1200px);
  --lwh-section-pad: clamp(3rem, 6vh, 5rem);
  /* Sprint 39 — richer accent palette for the playful desktop redesign.
     Used only inside min-width:900px enhancement rules, so mobile is untouched. */
  --lwh-tangerine: #FF7A1A;
  --lwh-sky: #2BB3FF;
  --lwh-lime: #7BD938;
  --lwh-grape: #9B4DFF;
  --lwh-bubble: #FF4FA3;
  --lwh-cream: #FFF6E9;
  --lwh-mint-bg: #EAFBF3;
  --lwh-sky-bg: #E8F6FF;
  --lwh-grad-hero: linear-gradient(135deg, #4A148C 0%, #6B2FA0 45%, #B5179E 80%, #E91E63 100%);
  --lwh-grad-sunset: linear-gradient(120deg, #FF7A1A 0%, #E91E63 55%, #9B4DFF 100%);
  --lwh-grad-candy: linear-gradient(135deg, #FF4FA3 0%, #9B4DFF 100%);

  /* Legacy compat aliases */
  --lh-display: 'Fredoka', sans-serif;
  --lh-font: 'Nunito', sans-serif;
  --lh-flame: #E91E63;
  --lh-ink: #1A1A2E;
  --lh-ink-soft: #4A4A6A;
}

/* ==========================================================================
   03 — TYPOGRAPHY
   ========================================================================== */
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; }
.lwh-eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--lwh-coral); margin-bottom: .5rem;
}
.lwh-section-head { text-align: center; margin-bottom: 2.5rem; }
.lwh-section-head h2 { margin-bottom: .6rem; }
.lwh-section-head p { color: var(--lwh-grey); max-width: 650px; margin: 0 auto; }

/* ==========================================================================
   04 — BUTTONS
   ========================================================================== */
.lh-btn, .lwh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.4rem; border-radius: var(--lwh-radius-pill);
  font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  transition: all .2s ease; text-decoration: none; line-height: 1.3;
  white-space: nowrap;
}
.lh-btn--flame, .lwh-btn--coral, .lh-btn--coral {
  background: var(--lwh-coral); color: #fff; border-color: var(--lwh-coral);
}
.lh-btn--flame:hover, .lwh-btn--coral:hover { background: var(--lwh-coral-dark); border-color: var(--lwh-coral-dark); }
.lwh-btn--purple { background: var(--lwh-purple); color: #fff; border-color: var(--lwh-purple); }
.lwh-btn--purple:hover { background: var(--lwh-purple-dark); }
.lh-btn--ghost, .lwh-btn--ghost { background: transparent; }
.lh-btn--sm, .lwh-btn--sm { padding: .45rem .9rem; font-size: .85rem; }
.lh-btn--lg, .lwh-btn--lg { padding: .85rem 1.8rem; font-size: 1.05rem; }

/* ==========================================================================
   05 — LAYOUT UTILITIES
   ========================================================================== */
.lwh-container { width: var(--lwh-container); margin: 0 auto; }
.lwh-section { padding: var(--lwh-section-pad) 1.5rem; }
/* Wave divider */
.lwh-wave { width: 100%; line-height: 0; overflow: hidden; }
.lwh-wave svg { width: 100%; height: auto; display: block; }


/* ==========================================================================
   06 — TOP BAR + HEADER + NAV
   ========================================================================== */

/* Top bar */
:root { --lh-topbar-h: 40px; }
.lh-topbar {
  /* Distinct contrasting bar so it never fuses into the purple hero behind it.
     A vivid coral→tangerine gradient with a bottom border reads as its own
     independent strip above everything else. */
  background: linear-gradient(90deg, var(--lwh-coral) 0%, var(--lwh-tangerine, #FF7A1A) 100%);
  color: #fff; position: relative; z-index: 1200;
  height: var(--lh-topbar-h); display: flex; align-items: center;
  font-size: .84rem; font-weight: 700; letter-spacing: .01em;
  overflow: hidden; white-space: nowrap;
  border-bottom: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
/* The track holds two duplicated sets of messages and slides left forever,
   so the strip reads as a continuous marquee on every device. */
.lh-topbar__track {
  display: inline-block; white-space: nowrap;
  animation: lwhMarquee 38s linear infinite;
  will-change: transform;
}
@keyframes lh-loader-safety { 0%, 90% { opacity: 1; } 100% { opacity: 0; pointer-events: none; } }
.lh-loader--safe { animation: lh-loader-safety 3s forwards; }

/* Cards (generic) */
.lh-card { background: #fff; border: 1.5px solid var(--lwh-border); border-radius: var(--lwh-radius); padding: 1.5rem; }

/* Badges */
.lh-badge { display: inline-block; padding: .2rem .5rem; border-radius: var(--lwh-radius-xs); font-size: .72rem; font-weight: 800; }
.lh-badge--free  { background: #D1FAE5; color: #065F46; }
.lh-free-wall h2 { color: var(--lwh-ink); }
.lh-free-wall p { color: var(--lwh-grey); }

/* Muted text */
.lh-muted { color: var(--lwh-grey); font-size: .88rem; }

/* Visibility */
@media (max-width: 768px) { .lwh-hide-mobile { display: none; } }
@media (min-width: 769px) { .lwh-hide-desktop { display: none; } }

.entry-content li { margin-bottom: .35rem; }

/* Page title */
.lh-page-title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 1rem; padding: 1.5rem 0 0; }

/* Generic form styles */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  border: 1.5px solid var(--lwh-border); border-radius: var(--lwh-radius-sm);
  padding: .55rem .75rem; font-size: .92rem; width: 100%;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--lwh-coral); outline: none; box-shadow: 0 0 0 3px rgba(233,30,99,.1); }

/* WP block compat */
.wp-block-image { margin: 1.5rem 0; }
.lh-rp-related__h { font-size: 1.2rem; margin-bottom: 1rem; }
.lh-rp-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }

/* ==========================================================================
   26 — AUTH PAGES (backgrounds, shapes, cards)
   ========================================================================== */
.lh-authpage { min-height: 100vh;min-height: 100dvh; display: flex; align-items: stretch; }
.lh-authpage__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; position: relative; overflow: hidden; }
.lh-authpage__bar { position: absolute; bottom: 0; left: 0; right: 0; padding: .5rem 1rem; font-size: .78rem; color: rgba(255,255,255,.4); display: flex; justify-content: space-between; }
.lh-authpage__bar-links a { color: rgba(255,255,255,.5); margin: 0 .5rem; }
.lh-authpage__foot { text-align: center; font-size: .78rem; color: rgba(255,255,255,.4); padding: .75rem; }
.lh-authpage__brand { text-align: center; margin-bottom: 1.5rem; }
.lh-authpage__brand-a { color: #fff; font-family: 'Fredoka', sans-serif; font-size: 1.3rem; font-weight: 700; }
.lh-authpage__brand-b { color: var(--lwh-coral); }
.lh-authbg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.lh-authbg__aurora, .lh-authbg__wave, .lh-authbg__grid, .lh-authbg__beam, .lh-authbg__circle, .lh-authbg__dot, .lh-authbg__star, .lh-authbg__particle, .lh-authbg__sun { position: absolute; }
.lh-authcard { position: relative; z-index: 2; background: rgba(255,255,255,.95); border-radius: var(--lwh-radius); box-shadow: var(--lwh-shadow-lg); padding: 2rem; width: 100%; max-width: 440px; backdrop-filter: blur(8px); }
.lh-authcard--register { max-width: 520px; }
.lh-authcard__h { font-family: 'Fredoka', sans-serif; font-size: 1.5rem; text-align: center; margin-bottom: .5rem; }
.lh-authcard__lead { text-align: center; color: var(--lwh-grey); margin-bottom: 1.5rem; font-size: .92rem; }
.lh-authcard__form { }
.lh-authcard__form-h { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.lh-authcard__form-sub { font-size: .85rem; color: var(--lwh-grey); margin-bottom: 1rem; }
.lh-authcard__cta-row, .lh-authcard__cta-block { display: flex; gap: .5rem; margin-top: 1rem; }
.lh-authcard__cta-block { flex-direction: column; }
.lh-authcard__trust { text-align: center; margin-top: 1rem; font-size: .78rem; color: var(--lwh-grey); }
.lh-authcard__perks { margin: 1rem 0; font-size: .85rem; color: var(--lwh-ink-soft); }
.lh-authcard__perks li { padding: .2rem 0; }
.lh-authcard__perks li::before { content: "✓ "; color: var(--lwh-success); font-weight: 700; }
.lh-authcard__chip { display: inline-block; padding: .15rem .4rem; border-radius: var(--lwh-radius-xs); font-size: .72rem; font-weight: 700; background: var(--lwh-coral-light); color: var(--lwh-coral); }
.lh-authcard__copy { text-align: center; font-size: .82rem; color: var(--lwh-grey); margin-top: 1rem; }
.lh-authcard__copy a { color: var(--lwh-coral); font-weight: 700; }
.lh-authrow { display: flex; gap: .75rem; margin-bottom: .75rem; }
.lh-authrow > * { flex: 1; }
.lh-auth-stage__emblem { font-size: 3rem; margin-bottom: 1rem; }
.lh-auth-stage__copy { font-size: .82rem; color: rgba(255,255,255,.4); margin-top: 2rem; }
.lh-google-signin { margin: 1rem 0; }
.lh-google-signin__btn-wrap { text-align: center; }
.lh-google-signin__divider { text-align: center; color: var(--lwh-grey); font-size: .82rem; margin: 1rem 0; position: relative; }
.lh-google-signin__divider::before, .lh-google-signin__divider::after { content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--lwh-border); }
.lh-google-signin__divider::before { left: 0; }
.lh-google-signin__divider::after { right: 0; }

/* ==========================================================================
   27 — LANDING PAGES (Parent/Teacher)
   ========================================================================== */
.lh-landing__hero { background: linear-gradient(135deg, var(--lwh-purple-dark), var(--lwh-purple)); color: #fff; padding: clamp(3rem, 8vh, 5rem) 1.5rem; text-align: center; position: relative; overflow: hidden; }
.lh-landing__hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.lh-avatar--preset { background: var(--lwh-yellow-light); }
.lh-avatar--custom img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }

/* Misc */
.lh-check { display: flex; align-items: center; gap: .4rem; }
.lh-pill { display: inline-block; padding: .15rem .4rem; border-radius: var(--lwh-radius-pill); font-size: .72rem; font-weight: 700; }
.lh-pill--danger { background: #FEE2E2; color: #991B1B; }
.lh-empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--lwh-grey); }
.lh-empty-state__icon { font-size: 3rem; margin-bottom: .75rem; display: block; }
.lh-field { margin-bottom: .75rem; }
.lh-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .25rem; }
.lh-field--check { display: flex; align-items: center; gap: .4rem; }
.lh-field-row { display: flex; gap: .75rem; }
.lh-stars { color: var(--lwh-yellow); }
.lh-quote { font-style: italic; color: var(--lwh-ink-soft); padding: 1rem; border-left: 3px solid var(--lwh-coral); margin: 1rem 0; }
.lh-status { display: inline-block; padding: .15rem .4rem; border-radius: var(--lwh-radius-xs); font-size: .72rem; font-weight: 800; }
.lh-status--error, .lh-status--success { display: block; width: 100%; box-sizing: border-box; padding: .65rem .85rem; border-radius: 10px; font-size: .9rem; font-weight: 700; border: 1px solid transparent; margin: .5rem 0; }
.lh-status--error { color: #B42318; background: #FEF2F2; border-color: #FECDCA; }
.lh-login-redirect-notice__icon { font-size: 1.5rem; }
.lh-login-redirect-notice__body { font-size: .88rem; }
.lh-login-unified { max-width: 440px; margin: 0 auto; }


/* ==========================================================================
   31 — FINAL COVERAGE (BEM modifiers + remaining components)
   ========================================================================== */

/* Auth background shapes (positioned by inline styles, just need base) */
.lh-authbg__aurora { border-radius: 50%; filter: blur(60px); }
.lh-authbg__wave { border-radius: 40%; }
.lh-authbg__grid { opacity: .05; background-size: 40px 40px; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); }
.lh-authbg__beam { background: linear-gradient(180deg, rgba(255,255,255,.1), transparent); width: 2px; }
.lh-authbg__circle { border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.lh-authbg__dot { border-radius: 50%; background: rgba(255,255,255,.15); }
.lh-authbg__star { color: rgba(255,255,255,.3); }
.lh-authbg__particle { border-radius: 50%; background: rgba(255,255,255,.1); }
.lh-pagination__summary { font-size: .82rem; color: var(--lwh-grey); text-align: center; margin-top: .5rem; }
.lh-pagination__controls { display: flex; justify-content: center; gap: .35rem; }

/* Role switch */
.lh-role-switch { display: flex; gap: .5rem; justify-content: center; margin: 1rem 0; }
.lh-role-switch__pill { padding: .4rem .8rem; border-radius: var(--lwh-radius-pill); font-weight: 700; font-size: .85rem; border: 2px solid var(--lwh-border); cursor: pointer; transition: all .15s; }
.lh-role-switch__pill:hover, .lh-role-switch__pill.is-active { border-color: var(--lwh-coral); background: var(--lwh-coral-light); color: var(--lwh-coral); }
.lh-role-switch__icon { font-size: 1rem; }
.lh-role-switch__label { font-size: .85rem; }
.lh-role-switch__desc { font-size: .72rem; color: var(--lwh-grey); }

/* Resources block */
.lh-resources-block { margin: 1.5rem 0; }
.lh-resources-block__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.lh-tier-mini { font-size: .65rem; font-weight: 800; padding: .1rem .25rem; border-radius: 3px; }
.lh-tier-pill, .lh-tier-ribbon-inline { display: inline-block; padding: .15rem .4rem; border-radius: var(--lwh-radius-xs); font-size: .68rem; font-weight: 800; }
.lh-auth { max-width: 440px; margin: 0 auto; padding: 1.5rem; }
.lh-file-pick, .lh-file-clear { cursor: pointer; }
.lh-file-display { font-size: .85rem; color: var(--lwh-grey); }
/* ==========================================================================
   34 — FINAL RENDER-VERIFIED GAPS (from live template test)
   ========================================================================== */

/* Subject tile colour variants (homepage) */

/* Favourites empty state */
.lh-fav-empty { text-align: center; padding: 2rem 1.5rem; color: var(--lwh-grey); }
.lh-fav-empty__icon { font-size: 2.5rem; margin-bottom: .5rem; display: block; }

/* Auth body (login/register full-screen backgrounds) */
.lh-auth-body { min-height: 100vh;min-height: 100dvh; margin: 0; background: linear-gradient(135deg, var(--lwh-purple-dark) 0%, var(--lwh-purple) 50%, #8E24AA 100%); }
.lh-auth-body--register { background: linear-gradient(135deg, #1a0533, var(--lwh-purple), #0c1445); }
.lh-auth-body--student { background: linear-gradient(135deg, #ff6b9d, var(--lwh-purple), #3b82f6); }
.lh-auth-body--teacher { background: linear-gradient(135deg, #0D3A3F, #134E54, #1A6B73); }
.lh-auth-body--parent { background: linear-gradient(135deg, #92400E, #B45309, #D97706); }
.lh-authpage--register { }

/* Auth background aurora numbered variants */
.lh-authbg__aurora--1 { width: 500px; height: 500px; top: -150px; right: -100px; background: rgba(233,30,99,.2); border-radius: 50%; filter: blur(80px); }
.lh-authbg__aurora--2 { width: 350px; height: 350px; bottom: -100px; left: -80px; background: rgba(107,47,160,.25); border-radius: 50%; filter: blur(60px); }
.lh-authbg__aurora--3 { width: 250px; height: 250px; top: 30%; left: 40%; background: rgba(6,182,212,.15); border-radius: 50%; filter: blur(50px); }
.lh-authbg__beam--1 { height: 60%; top: 0; left: 25%; }
.lh-authbg__beam--2 { height: 40%; top: 20%; right: 20%; }
.lh-authbg__circle--3 { width: 100px; height: 100px; top: 60%; left: 60%; }
.lh-authbg__circle--4 { width: 80px; height: 80px; top: 30%; right: 30%; }
.lh-authbg__dot--1 { width: 6px; height: 6px; top: 20%; left: 30%; }
.lh-authbg__dot--2 { width: 4px; height: 4px; top: 50%; right: 25%; }
.lh-authbg__dot--3 { width: 5px; height: 5px; bottom: 30%; left: 50%; }
.lh-authbg__star--1 { top: 15%; right: 20%; font-size: 1.2rem; }
.lh-authbg__star--2 { bottom: 25%; left: 15%; font-size: .9rem; }
/* ============================================================================
   SPRINT 38 — HOMEPAGE ENHANCEMENTS (additive; existing rules untouched)
   Mobile sliders for card rows + premium featured variant + mobile centring.
   ============================================================================ */

/* Premium featured row tint (distinguishes from free row) */
.lh-featured--premium { background: var(--lwh-grey-light); }

/* Mobile: turn card rows into swipeable scroll-snap sliders.
   Targets the existing grids used by stage cards, audience strip, and the
   featured rows. Page itself never scrolls sideways (guard below). */
@media (max-width: 679px) {
  .lh-featured__grid,
  .lh-audiences-grid,
  .lh-stage-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
  }
  /* Every slide is the same width and height so no card looks larger than its
     neighbours (was rendering uneven). */
  .lh-stage-grid > * { scroll-snap-align: center; min-width: 0; height: 100%; }
  .lh-featured__grid::-webkit-scrollbar,
  .lh-audiences-grid::-webkit-scrollbar,
  .lh-stage-grid::-webkit-scrollbar { display: none; }
  .lh-featured__grid > *,
  .lh-audiences-grid > *,
  .lh-stage-grid > * { scroll-snap-align: center; }

  /* Mobile centring — no lonely left-aligned single boxes */
  .lh-hero__copy { text-align: center; }
  .lh-hero__cta { justify-content: center; }
  .lh-hero__trust { text-align: center; }
  .lh-featured__head,
  .lh-section__head { text-align: center; margin-inline: auto; }
}

/* Page-level guard: nothing should ever cause horizontal PAGE scroll */
html, body { overflow-x: clip; max-width: 100%; } /* clip (not hidden) so position:sticky header keeps working */

/* ═══════════════════════════════════════════════════════════════════
   SPRINT 39 — PLAYFUL DESKTOP HOMEPAGE ENHANCEMENT
   Scope: large screens only (min-width: 900px). Mobile/tablet below
   900px is intentionally untouched and renders exactly as before.
   These rules win by source order (appended last), no !important needed —
   except the prefers-reduced-motion override at the very end, where an
   accessibility reset legitimately must win unconditionally.
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {

  /* ---- Section rhythm: alternating coloured bands so no two adjacent
     sections share the same flat background. This alone kills most of
     the "bland" feeling on wide screens. ---- */
  .lh-home-stages   { background: var(--lwh-mint-bg); }
  .lh-home-subjects { background: #fff; }
  .lh-home-types    { background: var(--lwh-cream); }
  .lh-home-audience { background: var(--lwh-sky-bg); }
  .lh-home-how      { background: #fff; }
  .lh-home-faq      { background: var(--lwh-purple-light); }

  /* Generous, confident vertical space on big screens. */
  .lh-home-stages, .lh-home-subjects, .lh-home-types,
  .lh-home-audience, .lh-home-how, .lh-home-faq,
  .lh-home-section { padding-top: 5.5rem; padding-bottom: 5.5rem; }

  /* (Sprint 39 curved-separator overlap removed — Sprint 43 panel layout with
     even margins supersedes it; keeping both caused odd gaps.) */

  /* ---- Bigger, bolder section headings with a gradient accent ---- */
  .lwh-section-head { margin-bottom: 3.5rem; }
  .lwh-section-head h2 {
    font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.08;
    letter-spacing: -0.02em; max-width: 16ch; margin-inline: auto;
  }
  .lwh-section-head .lh-eyebrow {
    font-size: .9rem; padding: .35rem 1rem; border-radius: 999px;
    background: var(--lwh-coral-light); color: var(--lwh-coral-dark);
  }

  /* ---- Grids: use the width. Fixed sensible column counts instead of
     auto-fill packing tiny cards across a huge screen. ---- */
  .lh-stage-grid   { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; max-width: 1200px; margin-inline: auto; }
    .lh-type-grid    { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1100px; margin-inline: auto; }

  /* ---- Stage cards: vivid top accent, lift + tilt on hover ---- */
  .lh-stage-card {
    padding: 1.75rem 1.5rem; border-top-width: 6px; border-radius: 22px;
    box-shadow: 0 6px 20px rgba(26,26,46,.07);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  }
  .lh-stage-card:hover { transform: translateY(-10px) rotate(-1.2deg) scale(1.02); box-shadow: 0 22px 44px rgba(26,26,46,.16); }
  .lh-stage-card__label { font-size: 1.6rem; }
  .lh-stage-card__arrow {
    align-self: flex-end; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; background: var(--lwh-coral-light);
    color: var(--lwh-coral); font-weight: 800; transition: transform .25s, background .25s;
  }
  .lh-stage-card:hover .lh-stage-card__arrow { transform: translateX(4px); background: var(--lwh-coral); color: #fff; }

  /* ---- Resource-type cards: gradient wash on hover ---- */
  .lh-type-card {
    padding: 2rem 1.5rem; border-radius: 24px; border-width: 2px; position: relative; overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
  }
  .lh-type-card::before {
    content: ""; position: absolute; inset: 0; opacity: 0;
    background: var(--lwh-grad-candy); transition: opacity .3s; z-index: 0;
  }
  .lh-type-card > * { position: relative; z-index: 1; transition: color .3s; }
  .lh-type-card .lh-type-card__icon { font-size: 2.4rem; display: block; margin-bottom: .5rem; }
  .lh-type-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(233,30,99,.2); border-color: transparent; }
  .lh-type-card:hover::before { opacity: 1; }
  .lh-type-card:hover > *, .lh-type-card:hover strong, .lh-type-card:hover p { color: #fff; }

  /* ---- Audience tiles: big, distinct, gradient-edged ---- */
  .lh-audience-tile {
    padding: 2.25rem; border-radius: 26px; border-width: 2px;
    transition: transform .25s, box-shadow .25s;
  }
  .lh-audience-tile:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(43,179,255,.2); }
  .lh-audience-tile__icon { font-size: 2.6rem; display: inline-block; margin-bottom: .4rem; }
  .lh-audience-tile h3 { font-size: 1.5rem; }
  .lh-audience-tile--parent  { border-top: 6px solid var(--lwh-bubble); }
  .lh-audience-tile--teacher { border-top: 6px solid var(--lwh-sky); }
  .lh-audience-tile--school  { border-top: 6px solid var(--lwh-lime); }

  /* ---- Plan cards: featured one lifts and gets a gradient ring ---- */
  .lh-plan-card { padding: 2.5rem 2rem; border-radius: 26px; transition: transform .25s, box-shadow .25s; }
  .lh-plan-card:hover { transform: translateY(-6px); box-shadow: var(--lwh-shadow-lg); }
  .lh-plan-card--featured {
    transform: scale(1.05); border-color: var(--lwh-coral);
    box-shadow: 0 18px 44px rgba(233,30,99,.22);
  }
  .lh-plan-card--featured:hover { transform: scale(1.05) translateY(-6px); }
  .lh-plan-card__price-amount { font-size: 3rem; background: var(--lwh-grad-sunset); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

  /* ---- How-it-works: numbered discs get gradient + connecting dashes ---- */
  .lh-how-grid { max-width: 1000px; margin-inline: auto; position: relative; }
  .lh-how-step__num {
    width: 64px; height: 64px; font-size: 1.7rem; border-radius: 50%;
    background: var(--lwh-grad-candy); color: #fff; display: grid; place-items: center;
    margin: 0 auto 1rem; box-shadow: 0 8px 20px rgba(155,77,255,.3);
  }
  .lh-how-step h3 { font-size: 1.25rem; }

  /* ---- Stats row: gradient numbers, pill chips ---- */
  .lh-stats-row { gap: 1.5rem; margin-top: 1rem; }
  .lh-stat { background: #fff; border-radius: 20px; padding: 1.5rem 2rem; box-shadow: 0 6px 18px rgba(26,26,46,.06); min-width: 180px; }
  .lh-stat__num { font-size: 2.8rem; background: var(--lwh-grad-sunset); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

  /* ---- FAQ: card-style accordions ---- */
  .lh-faq-item { background: #fff; border-radius: 16px; margin-bottom: .9rem; box-shadow: 0 4px 14px rgba(26,26,46,.05); border: 1px solid transparent; transition: border-color .2s; }
  .lh-faq-item[open] { border-color: var(--lwh-coral); }
  .lh-faq-item summary { padding: 1.15rem 1.4rem; font-size: 1.05rem; }

  /* ---- HERO: richer 4-stop gradient + floating blobs + entrance ---- */
  /* Desktop: the hero fills the viewport height (minus the ~108px topbar +
     header above it) and vertically centres its content, so the whole hero is
     visible on load without scrolling. Padding trimmed to fit. Scoped to
     .lh-homepage-body so it overrides the base homepage padding rule. */
  .lh-homepage-body .lh-home-hero {
    background: var(--lwh-grad-hero);
    min-height: calc(100vh - 40px);min-height: calc(100dvh - 40px);
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 2.75rem; padding-bottom: 2.5rem; margin-bottom: 0;
  }
  .lh-home-hero__headline { font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: 1.04; }

  /* Decorative floating blobs in the hero background. */
  .lh-home-hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .35; pointer-events: none; }
  .lh-home-hero__blob--1 { width: 260px; height: 260px; background: var(--lwh-tangerine); top: -60px; left: -40px; animation: lwhFloat 9s ease-in-out infinite; }
  .lh-home-hero__blob--2 { width: 200px; height: 200px; background: var(--lwh-sky); bottom: -50px; right: 8%; animation: lwhFloat 11s ease-in-out infinite reverse; }
  .lh-home-hero__blob--3 { width: 150px; height: 150px; background: var(--lwh-yellow); top: 30%; right: -30px; animation: lwhFloat 7s ease-in-out infinite; }

  /* ---- Final CTA banner: sunset gradient + float ---- */
  .lh-home-cta-banner { background: var(--lwh-grad-sunset); padding: 5rem 2rem; border-radius: 42px 42px 0 0; }
  .lh-home-cta-banner h2 { font-size: clamp(2rem, 3.5vw, 3rem); }

  /* ---- Staggered entrance for section heads + grids on load ---- */
  .lwh-section-head, .lh-stage-grid, .lh-subject-cards, .lh-type-grid,
  .lwh-grid--3, .lh-how-grid, .lh-stats-row {
    animation: lwhRise .7s cubic-bezier(.16,1,.3,1) both;
  }
}

@keyframes lwhFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-14px) translateX(6px); }
}
.lh-cadence__opt:has(input:checked) { border-color:var(--lwh-purple,#6B2FA0); background:var(--lwh-purple-light,#F3E5F5); color:var(--lwh-purple,#6B2FA0); }
.lh-cadence__opt input { accent-color:var(--lwh-purple,#6B2FA0); }

/* ============================================================
   Sprint 48 — Uniform back-end modal system
   One canonical look for every dashboard/back-end modal. Rather
   than rewrite each modal's markup, we normalise the backdrop and
   panel of all existing modal families to identical tokens so they
   look and behave consistently.
   ============================================================ */
:root{
	--lh-modal-radius:22px;
	--lh-modal-pad:1.8rem;
	--lh-modal-maxw:560px;
	--lh-modal-backdrop:rgba(20,12,40,.55);
	--lh-modal-z:10050;
	--lh-modal-shadow:0 30px 80px rgba(20,12,40,.38);
}

/* --- Backdrops: same colour, blur, z-index across all modals --- */
.lh-assign-modal__backdrop,
.lh-master-assign__backdrop,
.lh-reviewmodal,
.lh-oops-modal,
.lh-agegate-modal,
.lh-childmgr-modal,
.lh-childmgr__modal {
	background:var(--lh-modal-backdrop) !important;
	backdrop-filter:blur(4px) !important;
}
.lh-assign-modal, .lh-master-assign { z-index:var(--lh-modal-z) !important; }
.lh-btn--hero-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5);}
.lh-btn--white{background:#fff;color:var(--lwh-purple,#6B2FA0);}
.lh-btn--lg{padding:1.1rem 2.1rem;font-size:1.08rem;}
@media(max-width:900px){.lh-hp__hero-inner,.lh-hp__about,.lh-hp__welcome{grid-template-columns:1fr;}.lh-hp__hero h1{font-size:2.3rem;}.lh-hp__ksgrid,.lh-hp__typegrid,.lh-hp__audgrid,.lh-hp__plangrid,.lh-hp__aboutstats{grid-template-columns:1fr;}}

/* ============================================================
   Resource completion control (Sprint 41) — explicit "mark done"
   for documents & embeds that can't always self-report finishing.
   ============================================================ */
.lh-rp-complete{display:flex;align-items:center;justify-content:center;gap:.8rem;flex-wrap:wrap;margin:1rem 0 .5rem;padding:1rem 1.2rem;background:var(--lwh-bg,#FAF8FD);border:1px solid var(--lwh-border,#ece6f5);border-radius:14px;}
