﻿/* Silver, starlight and deep blue taken from the blue-eye artwork. */
html:root[data-sirinova-theme="light"] body.sirinova-ambient {
  --ambient-paper:#f4f8fc; --ambient-surface:#fff; --ambient-panel:#e5eff9;
  --ambient-panel-soft:#f0f6fc; --ambient-line:#b9cadb; --ambient-ink:#152b43;
  --ambient-muted:#455e76; --ambient-gold:#315b87; --ambient-cta:#214e7a;
  --ambient-cta-text:#fff; --site-action:#214e7a; --site-action-text:#fff;
  --scene-line:var(--ambient-line); --scene-muted:var(--ambient-muted);
  background-image:radial-gradient(ellipse at 85% 22%,#dcecfb80,transparent 48%),linear-gradient(155deg,#f8fbff,#edf4fb) !important;
}
html:root[data-sirinova-theme="dark"] body.sirinova-ambient {
  --ambient-paper:#08090e; --ambient-surface:#17131b; --ambient-panel:#29202b;
  --ambient-panel-soft:#201923; --ambient-line:#71545e; --ambient-ink:#fff4f6;
  --ambient-muted:#d2c2c8; --ambient-gold:#ffabc0; --ambient-cta:#ad1238;
  --ambient-cta-text:#fff; --site-action:#ad1238; --site-action-text:#fff;
  --scene-line:var(--ambient-line); --scene-muted:var(--ambient-muted);
  background-image:radial-gradient(ellipse at 88% 24%,#6e1f394d,transparent 53%),linear-gradient(145deg,#08090e,#21131e 54%,#08090e) !important;
}
html:root[data-sirinova-theme="light"] .sirinova-ambient .ambient-header {
  background:linear-gradient(110deg,#fffffffa,#eaf3fcfa) !important; border-color:#c6d8e9;
}
html:root[data-sirinova-theme="dark"] .sirinova-ambient .ambient-header {
  background:linear-gradient(110deg,#0a0a10f7,#24131cf7) !important; border-color:#ff718b35;
}
html:root[data-sirinova-theme] .sirinova-ambient .ambient-brand { color:var(--ambient-ink) !important; }
html:root[data-sirinova-theme] .sirinova-ambient .ambient-brand span { color:var(--ambient-gold); }
html:root[data-sirinova-theme] .sirinova-ambient .ambient-nav :is(a:hover,[aria-current]) { background:var(--ambient-panel); }
html:root[data-sirinova-theme] .sirinova-ambient .ambient-nav a.ambient-account {
  background:var(--ambient-cta) !important; color:var(--ambient-cta-text) !important;
}
html:root[data-sirinova-theme] .sirinova-ambient .ambient-theme-switch { background:var(--ambient-panel-soft); color:var(--ambient-ink); border-color:var(--ambient-line); }
html:root[data-sirinova-theme="dark"] .sirinova-ambient .observatory-hero .olympus-title h1 {
  color:#fff1f5; text-shadow:0 3px 22px #000,0 0 46px #f41c544d;
}
html:root[data-sirinova-theme="dark"] .sirinova-ambient .observatory-hero .olympus-title h1 span,
html:root[data-sirinova-theme="dark"] .sirinova-ambient .observatory-hero .olympus-copy :is(h2,p) { color:#fff0f3; }
html:root[data-sirinova-theme="dark"] .sirinova-ambient .observatory-hero .olympus-button {
  background:#ad1238 !important; border-color:#ef657f; box-shadow:0 5px 22px #8d0b303d;
}
html:root[data-sirinova-theme="dark"] .sirinova-ambient .observatory-hero .olympus-button:hover { background:#c31b45 !important; }
html:root[data-sirinova-theme="dark"] .sirinova-ambient .observatory-hero .olympus-text { background:#130d14e8; color:#ffeaf0; border-color:#e2607b99; }
html:root[data-sirinova-theme="light"] .sirinova-ambient .observatory-hero .olympus-button { background:#214e7a; color:#fff; }
html:root[data-sirinova-theme="light"] .sirinova-ambient .observatory-hero .olympus-text { color:#214e7a; border-color:#6586a5; }
html:root[data-sirinova-theme] .sirinova-chat-launcher { --launcher-bg:var(--ambient-cta); --launcher-text:#fff; --launcher-line:var(--ambient-line); }
html:root[data-sirinova-theme] .support-page { --chat-action:var(--ambient-cta); --chat-on-action:#fff; }
html:root[data-sirinova-theme] .sirinova-ambient :focus-visible { outline-color:var(--ambient-gold); }

/* Artwork supplied for the readiness banner and the three learning cards. */
html:root[data-sirinova-theme="light"] .sirinova-ambient .assessment-feature::before {
  background-image:url('/theme-artwork/light/assessment.webp');
}
html:root[data-sirinova-theme="dark"] .sirinova-ambient .assessment-feature::before {
  background-image:url('/theme-artwork/dark/assessment.webp');
}
html:root[data-sirinova-theme="light"] .sirinova-ambient #features .feature-card--statistics { --eye-art:url('/theme-artwork/light/statistics.webp'); }
html:root[data-sirinova-theme="light"] .sirinova-ambient #features .feature-card--pretest { --eye-art:url('/theme-artwork/light/pretest.webp'); }
html:root[data-sirinova-theme="light"] .sirinova-ambient #features .feature-card--downloads { --eye-art:url('/theme-artwork/light/free-resources.webp'); }
html:root[data-sirinova-theme="dark"] .sirinova-ambient #features .feature-card--statistics { --eye-art:url('/theme-artwork/dark/statistics.webp'); }
html:root[data-sirinova-theme="dark"] .sirinova-ambient #features .feature-card--pretest { --eye-art:url('/theme-artwork/dark/pretest.webp'); }
html:root[data-sirinova-theme="dark"] .sirinova-ambient #features .feature-card--downloads { --eye-art:url('/theme-artwork/dark/free-resources.webp'); }
html:root[data-sirinova-theme="light"] .sirinova-ambient #features :is(.feature-card--statistics,.feature-card--pretest,.feature-card--downloads) {
  --feature-accent:#315b87; background:linear-gradient(90deg,#f8fbfff5,#f8fbffbc 48%,#f8fbff2e),var(--eye-art) right center / cover;
  border-color:#a9bfd5; color:#152b43;
}
html:root[data-sirinova-theme="light"] .sirinova-ambient #features :is(.feature-card--statistics,.feature-card--pretest,.feature-card--downloads) :is(h3,p,.feature-title,.feature-description) { color:#152b43; }
html:root[data-sirinova-theme="light"] .sirinova-ambient #features :is(.feature-card--statistics,.feature-card--pretest,.feature-card--downloads) .feature-symbol { background:#d7e7f5; color:#214e7a; }
html:root[data-sirinova-theme="dark"] .sirinova-ambient #features :is(.feature-card--statistics,.feature-card--pretest,.feature-card--downloads) {
  --feature-accent:#ffabc0; background:linear-gradient(90deg,#090b12f5,#090b12b8 48%,#090b1238),var(--eye-art) right center / cover;
  border-color:#b7506d; color:#fff4f6;
}
html:root[data-sirinova-theme="dark"] .sirinova-ambient #features :is(.feature-card--statistics,.feature-card--pretest,.feature-card--downloads) :is(h3,p,.feature-title,.feature-description) { color:#fff4f6; }
html:root[data-sirinova-theme="dark"] .sirinova-ambient #features :is(.feature-card--statistics,.feature-card--pretest,.feature-card--downloads) .feature-symbol { background:#ad1238; color:#fff; }

/* A soft constellation fills the quiet space above the light-theme hero copy. */
.hero-orbits { display:none; }
@media (min-width:701px) {
  html:root[data-sirinova-theme="light"] .sirinova-ambient .observatory-hero .light-cosmos-image {
    right:clamp(5%,calc(12vw - 40px),12%);
  }
  html:root[data-sirinova-theme="light"] .observatory-hero .hero-orbits {
    display:block; position:absolute; z-index:1; pointer-events:none;
    top:2%; left:3%; width:min(52%,760px); height:min(31%,270px);
    color:#6e9bc8; opacity:.48;
  }
  .hero-orbits g:first-child { stroke-width:1.2; }
  .hero-orbits g:last-child { transform-origin:center; animation:hero-orbit-glimmer 5s ease-in-out infinite alternate; }
}
@keyframes hero-orbit-glimmer { from { opacity:.4; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .hero-orbits g:last-child { animation:none; } }

html:root[data-sirinova-theme="light"] .sirinova-layout #exams .promotion-track .book-promotion.alevel-bundle {
  background:linear-gradient(90deg,#f8fbfff5 0%,#f8fbffd9 36%,#f8fbff2e 75%),url('/theme-artwork/bundle-background-light.webp') center / cover no-repeat !important;
}
html:root[data-sirinova-theme="light"] .sirinova-layout #exams .promotion-track .book-promotion.alevel-bundle .volume-bundle-kicker { color:#315b87 !important; }
html:root[data-sirinova-theme="light"] .sirinova-layout #exams .promotion-track .book-promotion.alevel-bundle .physics-shop-buy { background:#214e7a !important; color:#fff !important; }
html:root[data-sirinova-theme="dark"] .sirinova-layout #exams .promotion-track .book-promotion.alevel-bundle {
  background:linear-gradient(90deg,#080b12ef 0%,#080b12d4 36%,#080b122e 75%),url('/theme-artwork/bundle-background-dark.webp') center / cover no-repeat !important;
}


/* Keep both hero actions aligned, including labels formerly followed by an arrow. */
html:root .sirinova-ambient .observatory-hero .olympus-actions{align-items:center}
html:root .sirinova-ambient .observatory-hero .olympus-actions>a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:50px;min-height:50px;padding-block:0;gap:0;text-align:center;line-height:1.4}
html:root .sirinova-ambient .observatory-hero .olympus-button>span:empty{display:none}
@media(max-width:700px){html:root .sirinova-ambient .observatory-hero .olympus-actions{justify-content:center}}
