/* Aurora + Apple-inspired web. Preserve the responsive/access rules in ui-ux.css. */
html { background: var(--aurora-canvas); }
body.aurora {
  isolation: isolate;
  background: var(--aurora-canvas);
  color: var(--aurora-ink);
  font: 400 var(--aurora-copy)/1.6 var(--aurora-font);
  font-synthesis: none;
}
body.aurora::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 660px at 12% -10%, rgba(var(--aurora-brand), .075) 0%, transparent 68%),
    radial-gradient(760px 620px at 94% 4%, rgba(10, 132, 255, .045) 0%, transparent 70%),
    radial-gradient(720px 640px at 62% 96%, rgba(var(--aurora-brand), .025) 0%, transparent 70%);
}
.aurora :is(button, input, select, textarea, .storybook-page p, .storybook-heading h3, .storybook-art figcaption strong, .page-number) { font-family: var(--aurora-font); }
.aurora :is(strong, b) { font-weight: 500; }
.aurora h1, .aurora .hero h1, .aurora .auth-intro h1, .aurora .page-title h1, .aurora .hero-panel h1, .aurora .lesson-head h1 {
  font-size: var(--aurora-title); font-weight: 500; letter-spacing: -.04em; line-height: 1.13;
  overflow-wrap: anywhere; white-space: normal; max-width: 100%;
}
.aurora :is(h2, h3, .showcase-heading strong, .journey-card strong, .promise-card strong), .aurora .section-heading h2, .aurora .how-heading h2, .aurora .section-head h2 {
  font-size: var(--aurora-section); font-weight: 500; letter-spacing: -.025em; line-height: 1.3;
}
.aurora :is(p, .hero-copy > p, .section-intro, .how-intro, .hero-panel p, .course-hero p, .route-hero p, .lesson-head p) {
  font-size: var(--aurora-copy); font-weight: 400; line-height: 1.6;
}
.aurora :is(.hero-copy > p, .section-intro, .how-definition, .how-audience p, .how-steps p, .how-availability, .how-aside, .journey-card small, .showcase-foot, .promise-card p, .course-card p, .hero-panel p, .course-hero p, .route-hero p, .install-card p, .hero p, .hero-trust, .field-hint, .route-card p, .panel-intro) { color: var(--aurora-muted); }
.aurora :is(.eyebrow, .kicker, .audience-label, .how-audience-label, .journey-card > div > span, .showcase-heading > span) {
  color: var(--aurora-link); font-weight: 500; letter-spacing: .045em; font-size: .8125rem;
}
.aurora :is(.brand, .account-brand) { font-weight: 500; }
.aurora main { padding-block: var(--aurora-page-space); }
.aurora .hero { min-height: 0; padding-block: 0 var(--aurora-page-space); }
.aurora .hero-logo { width: min(260px, 85%); margin-bottom: 24px; }
.aurora .hero h1 .hero-word { white-space: normal; }
.aurora :is(.site-header, .account-header, .topbar) {
  background: var(--aurora-glass); border-bottom: var(--aurora-edge);
  -webkit-backdrop-filter: var(--aurora-blur); backdrop-filter: var(--aurora-blur);
}
.aurora :is(.learning-showcase, .promise-card, .finder, .course-card, .how-it-works, .how-audience, .auth-card, .surface, .learner-card, .metric-card, .table-wrap, .account-detail, .account-list-panel, .route-card, .learning-card, .practice-panel, .mastery-panel, .official-note, .source-card, .card, .q-card, .hero-panel, .route-hero, .course-hero, .install-card, .sidebar, .course-sidebar) {
  color: var(--aurora-ink); background: var(--aurora-surface); border: var(--aurora-edge);
  border-radius: var(--aurora-radius); box-shadow: var(--aurora-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.aurora :is(.learning-showcase, .promise-card, .finder, .course-card, .how-it-works, .how-audience, .auth-card, .surface, .learner-card, .metric-card, .route-card, .learning-card, .practice-panel, .mastery-panel, .official-note, .source-card, .card, .q-card, .hero-panel, .route-hero, .course-hero, .install-card) { padding: var(--aurora-card-space); }
.aurora .learning-showcase { min-height: 0; }
.aurora :is(.hero-panel, .course-hero, .route-hero)::after, .aurora .route-hero::before, .aurora .learning-showcase::before, .aurora .showcase-glow { display: none; }
.aurora .journey-card { padding: 16px; border: var(--aurora-edge); border-radius: var(--aurora-radius); background: rgba(var(--aurora-brand), .045); }
.aurora .journey-card:nth-child(2) { margin-left: 0; }
.aurora .journey-card small { font-size: var(--aurora-ui); }
.aurora .showcase-foot { margin-top: 24px; }
.aurora :is(.hero-facts span, .course-meta span) { color: #4b2fc7; background: var(--aurora-control); border: 0; }
.aurora :where(button, .primary-button, .text-button, .course-link, .button, .route-card a, nav a, .back-link, .reset-btn, .primary, .secondary, .ghost) {
  font-size: var(--aurora-ui); font-weight: 500; border-radius: var(--aurora-pill);
  transition: transform var(--aurora-time), filter var(--aurora-time), background var(--aurora-time), box-shadow var(--aurora-time);
}
.aurora :is(button, .button, .primary-button, .text-button, .course-link, .back-link, .route-card a, nav a) { min-height: 44px; }
.aurora :where(button, .text-button, .button-secondary, .button-quiet, .reset-btn, .secondary, .ghost, .sidebar a) { color: #4b2fc7; background: var(--aurora-control); border-color: transparent; }
.aurora button, .aurora .button { border-radius: var(--aurora-pill); font-size: var(--aurora-ui); font-weight: 500; }
.aurora button { color: #4b2fc7; background: var(--aurora-control); }
.aurora :is(.primary-button, .button:not(.secondary):not(.ghost):not(.danger), .button-primary, .course-link, .route-card a, .primary, .voice-button, .video-controls button, .studio-challenge button, .nav-account),
.aurora :is(.filter-button.active, .side-nav button.active, .nav-btn.active, .sidebar [aria-current="page"], .admin-tabs button[aria-selected="true"]) {
  color: #fff; background: var(--aurora-action); border-color: transparent; box-shadow: var(--aurora-glow);
}
.aurora :is(.button.secondary, .button.ghost, .hero-panel .button.secondary) { color: #4b2fc7; background: var(--aurora-control); box-shadow: none; }
.aurora .button.danger { color: #92233b; background: #fff0f3; box-shadow: none; }
.aurora :is(.text-button, .text-link, .back-link) { text-decoration: underline; text-underline-offset: 4px; }
.aurora .text-button { padding: 10px 18px; }
.aurora :is(.filter-button, .clear-search, .nav-toggle) { border-color: transparent; }
.aurora.navigation-ready .nav-toggle { background: var(--aurora-control); color: #4b2fc7; font-weight: 500; border-radius: var(--aurora-pill); }
.aurora :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  color: var(--aurora-ink); background: var(--aurora-surface); border: 1px solid #898692; border-radius: var(--aurora-field);
  font-size: 1rem; font-weight: 400;
}
.aurora input::placeholder, .aurora textarea::placeholder { color: #6b5f7e; opacity: 1; }
.aurora :is(.field label, .field-hint, .check-row label) { font-weight: 400; }
.aurora .search-box { background: var(--aurora-surface); border: 1px solid #898692; border-radius: var(--aurora-field); }
.aurora .search-box input { border: 0; background: transparent; }
.aurora .password-toggle { background: #e7dfff; }
.aurora :is(.course-emoji, .subject-icon, .route-number, .game-mode .game-icon, .custom-avatar) {
  display: inline-grid; place-items: center; color: #fff; background: var(--aurora-action);
  border-radius: var(--aurora-icon); box-shadow: var(--aurora-glow); transform: none;
}
.aurora .aurora-icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; vertical-align: -.25em; pointer-events: none; }
.aurora :is(.course-emoji, .subject-icon, .route-number) .aurora-icon { width: 28px; height: 28px; }
.aurora :is(.nav-icon, .side-nav .nav-icon) { background: transparent; color: inherit; }
.aurora :is(.filter-button, .active-run strong) .aurora-icon { width: 20px; height: 20px; margin-right: 6px; }
.aurora :is(.loading-star, .loading-mark, .finale-icon) .aurora-icon { width: 56px; height: 56px; }
.aurora :is(.game-mode, .recall-actions button, .confidence-options button, .account-row) { background: var(--aurora-control); border-radius: var(--aurora-field); }
.aurora :is(.game-mode.active, .account-row[aria-pressed="true"]) { outline: 2px solid #4b2fc7; outline-offset: -2px; }
.aurora .option { background: #f5f1ff; color: var(--aurora-ink); border: 2px solid #9a8bb6; border-radius: var(--aurora-field); }
.aurora .option.selected { border-color: #4b2fc7; background: #eae1ff; }
.aurora .option.correct { border-color: #167453; background: #eafaf5; }
.aurora .option.incorrect { border-color: #a52b50; background: #fff0f5; }
.aurora :is(.microvideo, .video-board, .active-run, .activation-code) { background: linear-gradient(140deg, #352453, #211a37); border-radius: var(--aurora-radius); }
.aurora :is(.microvideo, .video-board, .active-run) p { color: #fff; }
.aurora :is(.video-stage small, .active-run small) { color: #e5ddf6; }
.aurora .storybook { border-radius: var(--aurora-radius); box-shadow: var(--aurora-shadow); }
.aurora .storybook-page p { font-weight: 400; }
.aurora .custom-avatar > span { color: #fff; }
.aurora .custom-avatar .aurora-icon { color: #fff; }
.aurora :is(.music-search, .music-detail, .lyrics-workshop, .listening-lab-launcher, .explorer-hero) { padding: var(--aurora-card-space); color: var(--aurora-ink); background: var(--aurora-surface); border: var(--aurora-edge); border-radius: var(--aurora-radius); box-shadow: var(--aurora-shadow); }
.aurora .explorer-hero::after { display: none; }
.aurora .explorer-hero :is(p, .explorer-kicker) { color: var(--aurora-muted); }
.aurora :is(.explorer-hero h2, .workshop-heading h2, .listening-lab-title) { font-size: var(--aurora-section); font-weight: 500; letter-spacing: -.02em; }
.aurora :is(.listening-lab-launcher > a, .music-search button, .detail-action.primary) { color: #fff; background: var(--aurora-action); box-shadow: var(--aurora-glow); border-radius: var(--aurora-pill); font-weight: 500; }
.aurora :is(.student-route-card, .learner-progress-card, .invitation-row) { padding: var(--aurora-card-space); background: var(--aurora-surface); border: var(--aurora-edge); border-radius: var(--aurora-radius); box-shadow: var(--aurora-shadow); }
.aurora .stage .hero { display: block; padding: var(--aurora-card-space); color: var(--aurora-ink); background: var(--aurora-surface); border: var(--aurora-edge); border-radius: var(--aurora-radius); }
.aurora .stage .hero::before, .aurora .stage .hero::after { display: none; }
.aurora .stage .hero .eyebrow { color: #4b2fc7; }
.aurora .hero-panel .eyebrow { color: #4b2fc7 !important; }
.aurora :is(th, td) { padding-block: 20px; }
.aurora th { color: var(--aurora-muted); font-size: .71875rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.aurora :is(dialog, [role="dialog"], .modal-card) { padding: var(--aurora-modal-space); border-radius: var(--aurora-radius); background: var(--aurora-surface); box-shadow: var(--aurora-float); }
.aurora :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #4b2fc7; outline-offset: 4px; }
.aurora button:disabled { cursor: not-allowed; }
.aurora :is(.music-result, .print-button, .clear-lyrics-button) { border-radius: var(--aurora-field); }
.aurora .hero-entrance, .aurora .install-device, .aurora .custom-avatar, .aurora .hero h1 .hero-word { animation: none; }
.aurora .reveal, .aurora.motion-ready .reveal { opacity: 1; transform: none; }
/* Calm hierarchy: recognizable controls without a glow on every surface. */
.aurora :is(.nav-shell, .topbar-inner) { min-height: 64px; }
.aurora :is(.site-header, .account-header, .topbar) { box-shadow: none; animation: none; }
.aurora .brand img { box-shadow: none; }
.aurora :is(.site-header nav a, .account-nav a, .topbar nav a) { font-weight: 400; }
.aurora :is(.text-button, .back-link) {
  color: var(--aurora-link); background: transparent; box-shadow: none;
  text-decoration: none; font-weight: 400;
}
.aurora :is(.text-button, .back-link):hover { text-decoration: underline; }
.aurora :is(.text-button, .back-link):focus-visible { text-decoration: underline; }
.aurora .primary-button { padding: .8rem 1.4rem; font-weight: 400; }
.aurora .nav-account { box-shadow: none; }
.aurora :is(.filter-button, .side-nav button, .nav-btn, .admin-tabs button) { box-shadow: none; }
.aurora :is(.filter-button.active, .side-nav button.active, .nav-btn.active, .admin-tabs button[aria-selected="true"]) {
  color: #4b2fc7; background: var(--aurora-control); box-shadow: inset 0 0 0 1px rgba(var(--aurora-brand), .3);
  font-weight: 500;
}
.aurora :is(.side-nav, .admin-tabs) { gap: 6px; }
.aurora :is(.side-nav button:not(.active), .admin-tabs button[aria-selected="false"]) { background: transparent; color: var(--aurora-muted); }
.aurora .filter-button:not(.active) { background: var(--aurora-surface); color: var(--aurora-muted); }
.aurora :is(.hero-facts span, .course-meta span, .course-tags span, .status, .course-soon) { font-weight: 400; }
.aurora :is(.course-card h4, .learner-card h3, .route-card h3) { font-weight: 500; }
.aurora :is(.promise-card, .journey-card):hover { transform: none; box-shadow: var(--aurora-shadow); }
.aurora :is(.course-card, .promise-card)::after { display: none; }
.aurora :is(.metric-card, .official-note, .source-card) { box-shadow: none; }
.aurora .option { background: #faf9fd; }
.aurora .table-wrap { box-shadow: none; }
.aurora :is(.account-row, .game-mode) { background: #f5f4f8; }
.aurora .account-row[aria-pressed="true"] { background: var(--aurora-control); }
.aurora :is(.surface, .auth-card) > :first-child { margin-top: 0; }
.aurora .auth-card { box-shadow: var(--aurora-float); }
.aurora .auth-card .auth-footer { margin-top: 20px; margin-bottom: 0; }
.aurora .auth-copy h1 { font-weight: 500; letter-spacing: -.04em; }
.aurora .storybook-page p { line-height: 1.75; }
.aurora .journey-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
.aurora :is(.how-step-number, .promise-number, .how-steps h4) { font-weight: 500; }
.aurora .course-card:hover .course-emoji { transform: none; }
.aurora button:active:not(:disabled), .aurora .primary-button:active { filter: brightness(.95); }
/* Left-aligned brand; editorial copy and three equal audience panels. */
.aurora.landing-page .hero {
  grid-template-columns: minmax(0, 1fr); gap: 52px; padding-block: 12px var(--aurora-section-space);
}
.aurora.landing-page .hero-copy { width: 100%; max-width: 1020px; margin-inline: auto; text-align: center; }
.aurora.landing-page .hero-brand-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: -24px; }
.aurora.landing-page .hero-logo { display: block; width: 208px; max-width: 100%; margin: 0; }
.aurora.landing-page .motion-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--aurora-separator); background: var(--aurora-surface); color: var(--aurora-muted); font-size: .8125rem; }
.aurora.landing-page .motion-toggle[aria-pressed="true"] { color: var(--aurora-link); background: var(--aurora-control); }
.aurora.landing-page .motion-state { font-size: .75rem; }
.aurora.landing-page .hero .eyebrow { text-transform: none; letter-spacing: .015em; font-size: .9375rem; }
.aurora.landing-page .hero h1 {
  font-size: var(--aurora-display); font-weight: 500; line-height: 1.055; letter-spacing: -.05em;
  margin: 18px auto 24px; max-width: 100%; text-wrap: balance;
}
.aurora.landing-page .hero h1 .hero-word {
  padding: 0 .05em .06em; background-image: linear-gradient(105deg, #6d4aff 15%, #513bd2 46%, #0874db 84%);
  background-size: 100%;
}
.aurora.landing-page .hero-copy > p {
  max-width: 610px; margin: 0 auto 28px; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.5;
}
.aurora.landing-page .hero-actions { justify-content: center; gap: 10px 20px; }
.aurora.landing-page .hero-trust { display: flex; justify-content: center; width: auto; margin-top: 24px; font-size: .8125rem; font-weight: 400; }
.aurora.landing-page .hero-trust li::before { width: 5px; height: 5px; box-shadow: none; background: #1b9275; }
.aurora.landing-page .learning-showcase {
  width: 100%; max-width: 1080px; padding: 0; margin-inline: auto; overflow: visible;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; text-align: center;
}
.aurora.landing-page .showcase-heading { padding: 0 0 24px; }
.aurora.landing-page .showcase-heading > span { text-transform: none; color: var(--aurora-muted); letter-spacing: 0; font-size: .875rem; }
.aurora.landing-page .showcase-heading strong { max-width: none; font-size: 1.75rem; letter-spacing: -.035em; }
.aurora.landing-page .audience-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aurora.landing-page .journey-card {
  grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center; gap: 18px;
  min-height: 0; padding: 28px 22px; background: var(--aurora-surface); border: var(--aurora-edge);
  border-radius: var(--aurora-radius); box-shadow: var(--aurora-shadow); margin: 0;
}
.aurora.landing-page .journey-card > div:last-child { width: 100%; }
.aurora.landing-page .journey-card strong { font-size: 1.25rem; line-height: 1.25; margin: 7px 0 8px; }
.aurora.landing-page .journey-card small { max-width: 245px; margin-inline: auto; font-size: .9375rem; line-height: 1.45; }
.aurora.landing-page .journey-card > div > span { font-size: .75rem; letter-spacing: .06em; }
.aurora.landing-page .journey-visual { width: 108px; height: 96px; margin: 0 auto; }
.aurora.landing-page .journey-visual > img { filter: drop-shadow(0 5px 6px rgba(29, 29, 35, .12)); }
.aurora.landing-page .custom-avatar {
  width: 76px; height: 76px; margin: 10px auto; rotate: 0;
  background: linear-gradient(145deg, #6d4aff, #0a84ff 70%, #31c7a1); border-radius: 21px;
}
.aurora.landing-page .showcase-foot { justify-content: center; margin-top: 20px; padding: 0; font-size: .875rem; }
.aurora.landing-page .showcase-foot > span { flex: 0 0 6px; width: 6px; height: 6px; box-shadow: none; background: #1b9275; }
.aurora.landing-page .how-it-works { padding: 0; margin-bottom: var(--aurora-section-space); border: 0; background: transparent; box-shadow: none; }
.aurora.landing-page .how-heading { max-width: 760px; text-align: center; margin: 0 auto 36px; }
.aurora.landing-page :is(.how-heading h2, .section-heading h2, .install-card h2) { font-size: var(--aurora-heading); letter-spacing: -.04em; line-height: 1.12; }
.aurora.landing-page .how-intro { font-size: 1.1875rem; }
.aurora.landing-page .how-audiences { gap: 20px; }
.aurora.landing-page .how-audience { box-shadow: none; padding: clamp(24px, 3.4vw, 44px); }
.aurora.landing-page .how-audience h3 { font-size: 1.5rem; line-height: 1.22; margin-bottom: 18px; }
.aurora.landing-page .how-aside { font-size: .9375rem; }
.aurora.landing-page .how-start-title { margin-top: 48px; }
.aurora.landing-page .how-steps { gap: 28px; }
.aurora.landing-page .how-step-number { background: transparent; border-radius: 0; color: var(--aurora-link); font-size: 1.625rem; width: auto; }
.aurora.landing-page .how-steps p { font-size: .9375rem; }
.aurora.landing-page .how-bottom { border-color: var(--aurora-separator); }
.aurora.landing-page .how-availability { font-size: .875rem; }
.aurora.landing-page .promise-grid { gap: 20px; margin-bottom: var(--aurora-section-space); }
.aurora.landing-page .promise-card { padding: var(--aurora-card-space); min-height: 0; box-shadow: none; }
.aurora.landing-page .promise-card .audience-label { margin-top: 24px; }
.aurora.landing-page .promise-card strong { max-width: none; font-size: 1.5rem; }
.aurora.landing-page .finder { padding: clamp(24px, 4vw, 48px); box-shadow: none; }
.aurora.landing-page .section-heading { align-items: flex-end; gap: 16px; }
.aurora.landing-page .courses { padding-block: var(--aurora-section-space); }
.aurora.landing-page .course-grid { gap: 20px; }
.aurora.landing-page .course-card { min-height: 320px; }
.aurora.landing-page .subject-section + .subject-section { margin-top: 56px; }
.aurora.landing-page .course-emoji { box-shadow: none; }
.aurora.landing-page .install-card { padding: clamp(24px, 4vw, 52px); margin-bottom: var(--aurora-section-space); }
.aurora.landing-page .install-card::before, .aurora.landing-page .install-card::after { display: none; }
.aurora.landing-page .install-note { color: var(--aurora-muted); border-color: var(--aurora-separator); }
.aurora.landing-page .install-note > span:first-child { color: var(--aurora-link); background: var(--aurora-control); }
.aurora.landing-page .install-device { rotate: 0; width: 220px; box-shadow: var(--aurora-float); }
.aurora.landing-page .device-screen { background: linear-gradient(155deg, #f0ecff, #e9f4ff); font-weight: 500; }
.aurora.landing-page .device-screen small { font-weight: 400; }
.aurora.landing-page .footer-logo { width: 180px; }
@media (min-width: 621px) and (max-width: 1100px) {
  .aurora.landing-page .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .aurora.landing-page .audience-stage { grid-template-columns: minmax(0, 1fr); }
  .aurora.landing-page .journey-card { grid-template-columns: 86px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; padding: 22px 18px; gap: 16px; }
  .aurora.landing-page .journey-card small { margin-inline: 0; }
  .aurora.landing-page .journey-card .journey-visual { width: 80px; }
  .aurora.landing-page .journey-card .custom-avatar { width: 68px; height: 68px; }
  .aurora.landing-page .hero { gap: 40px; padding-top: 0; }
  .aurora.landing-page .hero-logo { width: clamp(128px, 42vw, 180px); }
  .aurora.landing-page .motion-toggle { flex-direction: column; gap: 0; max-width: 46%; text-align: center; }
  .aurora.landing-page .showcase-heading strong { font-size: 1.5rem; }
  .aurora.landing-page .how-audiences { grid-template-columns: minmax(0, 1fr); }
  .aurora.landing-page .promise-card .audience-label { margin-top: 0; }
}
@media (max-width: 360px) {
  .aurora.landing-page .journey-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .aurora.landing-page .journey-card small { margin-inline: auto; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .aurora :is(.promise-card, .journey-card, .course-card, .route-card, .learner-card) { transition: transform var(--aurora-time), box-shadow var(--aurora-time); }
  .aurora.landing-page.motion-enabled :is(.promise-card, .journey-card, .course-card) { transition: transform var(--aurora-time), box-shadow var(--aurora-time); }
  .aurora :is(.promise-card, .journey-card, .course-card, .route-card, .learner-card):hover { transform: translateY(var(--aurora-card-lift)); box-shadow: var(--aurora-float); }
  .aurora :is(button:not(:disabled), .button, .primary-button, .text-button, .course-link, .route-card a):hover { transform: translateY(var(--aurora-button-lift)); filter: brightness(1.08); }
  .aurora .course-card:hover .course-emoji { transform: rotate(-4deg) scale(1.05); }
}
/* Motion is progressive enhancement: no permanently hidden reveal content. */
@media (prefers-reduced-motion: no-preference) {
  body.aurora.landing-page.motion-enabled::before { animation: aurora-atmosphere var(--aurora-atmosphere-time) ease-in-out infinite; }
  .aurora.landing-page.motion-enabled .hero-entrance { animation: aurora-enter var(--aurora-enter-time) var(--aurora-ease-out) both; }
  .aurora.landing-page.motion-enabled .hero-logo { animation-delay: 40ms; }
  .aurora.landing-page.motion-enabled .hero .eyebrow { animation-delay: 100ms; }
  .aurora.landing-page.motion-enabled .hero h1 { animation-delay: 180ms; }
  .aurora.landing-page.motion-enabled .hero-copy > p { animation-delay: 260ms; }
  .aurora.landing-page.motion-enabled .hero-actions { animation-delay: 340ms; }
  .aurora.landing-page.motion-enabled .hero-trust { animation-delay: 420ms; }
  .aurora.landing-page.motion-enabled .learning-showcase { animation-delay: 460ms; }
  .aurora.landing-page.motion-enabled .hero h1 .hero-word { background-size: 200% auto; animation: gradient-flow 6s ease-in-out infinite alternate; }
  .aurora.landing-page.motion-enabled :is(.journey-visual, .install-device) { animation: aurora-float var(--aurora-float-time) ease-in-out infinite; }
  .aurora.landing-page.motion-enabled .journey-teen .journey-visual { animation-delay: -2s; }
  .aurora.landing-page.motion-enabled .journey-adult .journey-visual { animation-delay: -4s; }
  .aurora.landing-page.motion-enabled .reveal.is-visible { animation: aurora-reveal var(--aurora-reveal-time) var(--aurora-ease-out) backwards; animation-delay: calc(var(--reveal-index, 0) * 70ms); }
  .aurora.landing-page.motion-enabled .reveal:focus-within { animation: none; }
  .aurora.landing-page.motion-enabled :is(.primary-button, .course-link):active { transform: scale(.98); }
  @keyframes aurora-enter { from { opacity: .15; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes aurora-reveal { from { opacity: .25; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
  @keyframes aurora-float { 50% { transform: translateY(-7px) rotate(1.2deg); } }
  @keyframes aurora-atmosphere { 50% { opacity: .5; } }
}
body.aurora.landing-page.motion-paused::before,
.aurora.landing-page.motion-paused *, .aurora.landing-page.motion-paused *::before, .aurora.landing-page.motion-paused *::after {
  animation: none !important; transition: none !important; transform: none !important; translate: none !important; scroll-behavior: auto !important;
}
.aurora.landing-page.motion-paused .reveal { opacity: 1 !important; }
html.motion-paused { scroll-behavior: auto !important; }
body.aurora.landing-page.motion-backgrounded::before,
.aurora.landing-page.motion-backgrounded *, .aurora.landing-page.motion-backgrounded *::before, .aurora.landing-page.motion-backgrounded *::after { animation-play-state: paused !important; }
@media (max-width: 1100px) {
  .aurora.navigation-ready #main-navigation { background: var(--aurora-glass); border: var(--aurora-edge); border-radius: var(--aurora-radius); box-shadow: var(--aurora-float); }
}
@media (max-width: 620px) {
  .aurora .hero-logo { margin-inline: auto; }
  .aurora .journey-card { grid-template-columns: 1fr; text-align: center; }
  .aurora .journey-visual { margin-inline: auto; }
  .aurora .promise-card { align-items: flex-start; flex-direction: column; }
  .aurora .how-steps li { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .aurora .lesson-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .aurora .lesson-nav .nav-btn { width: 100%; min-width: 0; white-space: normal; grid-template-columns: 28px minmax(0, 1fr); }
  .aurora .lesson-nav .nav-check { display: none; }
}
@media (max-width: 420px) { .aurora .lesson-nav { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  body.aurora::before { animation: none !important; }
  .aurora *, .aurora *::before, .aurora *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .aurora { --aurora-glass: #f7f7fa; }
  .aurora *, .aurora *::before { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  body.aurora::before { display: none; }
}
@media (forced-colors: active) {
  body.aurora::before { display: none; }
  .aurora :is(button, input, select, textarea, .button, .primary-button, .text-button, .course-link, .card, .surface) { border: 1px solid ButtonText; }
  .aurora :is(button, a, input, select, textarea):focus-visible { outline-color: Highlight; }
  .aurora .hero h1 .hero-word, .aurora.landing-page .hero h1 .hero-word { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; }
}
@media (prefers-contrast: more) {
  .aurora { --aurora-muted: #35313d; --aurora-edge: 1px solid #756382; --aurora-glass: #fff; }
  .aurora :is(.site-header, .account-header, .topbar) { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .aurora :is(.surface, .auth-card, .course-card, .route-card, .learning-card, .practice-panel, .mastery-panel) { border: 2px solid #756382; }
}
