/* Lectio public experience — cosmic redesign.  The existing style.css remains
   the shared fallback for the login/account pages; this file is scoped to the
   public homepage only. */
:root {
  --space-0: #040b1b;
  --space-1: #07152e;
  --space-2: #0c2445;
  --space-3: #123963;
  --electric: #008cff;
  --mint: #00d47a;
  --sun: #ffc400;
  --ember: #ff5a1f;
  --snow: #f7fbff;
  --ink: #07152e;
  --muted: #4d6685;
}

body.home-page {
  color: var(--ink);
  background: #edf4fb;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home-page::selection {
  color: var(--space-0);
  background: var(--sun);
}

body.home-page .site-header {
  color: var(--ink);
  background: rgba(244, 249, 255, .82);
  border-bottom: 1px solid rgba(7, 21, 46, .12);
  box-shadow: 0 12px 34px rgba(3, 13, 31, .08);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

body.home-page .color-stripe,
body.home-page .footer-stripe { height: 4px; }
body.home-page .color-stripe span:first-child,
body.home-page .footer-stripe span:first-child { background: var(--mint); }
body.home-page .color-stripe span:nth-child(2),
body.home-page .footer-stripe span:nth-child(2) { background: var(--ember); }
body.home-page .color-stripe span:nth-child(3),
body.home-page .footer-stripe span:nth-child(3) { background: var(--electric); }
body.home-page .color-stripe span:nth-child(4),
body.home-page .footer-stripe span:nth-child(4) { background: var(--sun); }
body.home-page .color-stripe span:nth-child(5),
body.home-page .footer-stripe span:nth-child(5) { background: #8d7cff; }

body.home-page .nav-shell { width: min(1280px, calc(100% - 44px)); height: 82px; }
body.home-page .brand,
body.home-page .brand img { width: 190px; height: 68px; }
body.home-page .desktop-nav { gap: 22px; }
body.home-page .desktop-nav a {
  color: var(--ink);
  padding: 26px 0;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.home-page .desktop-nav a::after { background: var(--electric); bottom: 15px; }
body.home-page .desktop-nav a.is-active { color: #13639b; }
body.home-page .instagram-link { color: #b43c73 !important; }
body.home-page .instagram-link::after { background: linear-gradient(90deg, #f8c548, #e54c63, #8b58cf) !important; }
body.home-page .login-link {
  color: var(--space-1);
  border-color: rgba(7, 21, 46, .15);
  border-radius: 999px;
  padding: 11px 15px;
}
body.home-page .login-link:hover { color: #0b76be; border-color: var(--electric); background: rgba(49, 183, 255, .1); }
body.home-page .nav-cta {
  color: var(--space-0);
  background: var(--sun);
  border-radius: 999px;
  padding: 12px 17px;
  box-shadow: 0 10px 22px rgba(247, 201, 74, .22);
}
body.home-page .nav-cta:hover { color: #fff; background: var(--electric); }

body.home-page .hero {
  min-height: 790px;
  padding-top: 160px;
  color: var(--snow);
  background:
    radial-gradient(circle at 76% 20%, rgba(49, 183, 255, .18), transparent 28%),
    radial-gradient(circle at 22% 78%, rgba(49, 224, 176, .1), transparent 25%),
    linear-gradient(135deg, var(--space-0), var(--space-1) 48%, #0b2850);
  isolation: isolate;
}
body.home-page .hero::before,
body.home-page .hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .35;
}
body.home-page .hero::before {
  width: 380px; height: 380px; right: -150px; top: 110px;
  border: 1px solid rgba(49, 183, 255, .8);
  box-shadow: 0 0 0 34px rgba(49, 183, 255, .04), 0 0 0 70px rgba(49, 183, 255, .025);
}
body.home-page .hero::after {
  width: 180px; height: 180px; left: -100px; bottom: 130px;
  border: 1px solid rgba(247, 201, 74, .8);
}
body.home-page .hero-grid {
  opacity: .23;
  background-image: linear-gradient(rgba(131, 201, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(131, 201, 255, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 82%, transparent);
}
body.home-page .orb-one { background: rgba(49, 183, 255, .18); box-shadow: 0 0 150px rgba(49, 183, 255, .2); }
body.home-page .orb-two { background: rgba(49, 224, 176, .15); }
body.home-page .hero-content { width: min(1240px, calc(100% - 44px)); gap: 72px; }
body.home-page .hero-copy { position: relative; z-index: 3; }
body.home-page .eyebrow { color: rgba(244, 248, 255, .72); letter-spacing: .19em; font-size: 11px; }
body.home-page .eyebrow span { background: var(--mint); box-shadow: 0 0 16px rgba(49, 224, 176, .8); }
body.home-page .hero h1 { font-size: clamp(54px, 7vw, 94px); letter-spacing: -.065em; }
body.home-page .highlight-word { color: var(--sun); text-shadow: 0 0 30px rgba(247, 201, 74, .16); }
body.home-page .highlight-word::after { background: var(--ember); box-shadow: 0 0 16px rgba(255, 136, 76, .6); }
body.home-page .hero-lead { color: rgba(244, 248, 255, .68); max-width: 570px; font-size: 17px; line-height: 1.8; }
body.home-page .hero-actions { flex-wrap: wrap; }
body.home-page .button { min-height: 50px; border-radius: 999px; padding: 0 21px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
body.home-page .button-primary { color: var(--space-0); background: var(--mint); box-shadow: 0 16px 34px rgba(49, 224, 176, .24); }
body.home-page .button-primary:hover { background: #63f1ca; }
body.home-page .button-ghost { border-color: rgba(244, 248, 255, .3); background: rgba(255, 255, 255, .03); }
body.home-page .button-ghost:hover { background: rgba(255, 255, 255, .1); }
body.home-page .button-instagram {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(120deg, #f6bd4a, #df4e66 48%, #8655cc);
  box-shadow: 0 16px 36px rgba(213, 69, 111, .22);
}
body.home-page .button-instagram:hover { filter: saturate(1.2) brightness(1.08); }
body.home-page .button-instagram svg { width: 17px; stroke-width: 1.7; }

body.home-page .hero-visual { height: 470px; }
body.home-page .hero-stars { position: absolute; inset: 0; pointer-events: none; }
body.home-page .hero-stars span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .7; box-shadow: 0 0 12px currentColor; }
body.home-page .planetary-stage {
  position: relative;
  z-index: 4;
  width: min(450px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: perspective(900px) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * 1deg));
  transition: transform .35s ease;
}
body.home-page .hero-logo-lockup {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 218px;
  height: 112px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  box-shadow: 0 28px 75px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255,255,255,.32), 0 0 55px rgba(49,183,255,.2);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
body.home-page .hero-logo-lockup img { width: 100%; height: auto; }
body.home-page .planetary-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transform: rotate(var(--orbit-rotation, 0deg));
}
body.home-page .planetary-orbit::after { content: ""; position: absolute; inset: 5%; border: 1px dashed rgba(49, 183, 255, .18); border-radius: 50%; }
body.home-page .planetary-orbit.orbit-one { width: 86%; height: 38%; --orbit-rotation: 18deg; }
body.home-page .planetary-orbit.orbit-two { width: 62%; height: 90%; --orbit-rotation: 57deg; border-color: rgba(247, 201, 74, .35); }
body.home-page .planetary-orbit.orbit-three { width: 100%; height: 55%; --orbit-rotation: -26deg; border-color: rgba(49, 224, 176, .28); }
body.home-page .planetary-orbit.orbit-one { animation: lectio-orbit-one 18s linear infinite; }
body.home-page .planetary-orbit.orbit-two { animation: lectio-orbit-two 24s linear infinite reverse; }
body.home-page .planetary-orbit.orbit-three { animation: lectio-orbit-three 30s linear infinite; }
body.home-page .planet { position: absolute; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--space-0); font-weight: 950; box-shadow: 0 0 0 5px rgba(255,255,255,.08), 0 0 24px currentColor; }
body.home-page .planet-blue { top: 13%; right: 4%; background: var(--electric); }
body.home-page .planet-orange { left: -3%; bottom: 28%; background: var(--ember); }
body.home-page .planet-green { right: 18%; bottom: -8%; background: var(--mint); }
body.home-page .planetary-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 20px var(--sun); }
body.home-page .dot-a { top: 13%; left: 23%; }
body.home-page .dot-b { right: 4%; bottom: 26%; background: var(--electric); box-shadow: 0 0 20px var(--electric); }
@keyframes lectio-orbit-one { from { transform: rotate(18deg); } to { transform: rotate(378deg); } }
@keyframes lectio-orbit-two { from { transform: rotate(57deg); } to { transform: rotate(417deg); } }
@keyframes lectio-orbit-three { from { transform: rotate(-26deg); } to { transform: rotate(334deg); } }
body.home-page .hero-visual > .orbit { border-color: rgba(255, 255, 255, .05); }
body.home-page .visual-card { z-index: 7; width: 190px; min-height: 184px; padding: 18px; border-radius: 22px; background: rgba(3, 11, 28, .64); transform: rotate(-4deg); box-shadow: 0 22px 44px rgba(0,0,0,.3); }
body.home-page .mini-label { margin-bottom: 19px; color: var(--sun); font-size: 8px; }
body.home-page .visual-card strong { font-size: 18px; }
body.home-page .card-rule { height: 10px; margin: 5px 0 9px; }
body.home-page .floating-pill { border: 1px solid rgba(255,255,255,.25); padding: 10px 14px; box-shadow: 0 18px 30px rgba(0,0,0,.25); }
body.home-page .pill-red { background: var(--ember); }
body.home-page .pill-yellow { color: var(--space-0); background: var(--sun); }
body.home-page .symbol-blue { background: var(--electric); }
body.home-page .symbol-green { background: var(--mint); }
body.home-page .hero-stats { background: rgba(2, 9, 23, .55); border-top-color: rgba(255,255,255,.1); }
body.home-page .hero-stats strong { color: var(--snow); font-size: 16px; }
body.home-page .hero-stats span { color: rgba(244,248,255,.58); }

body.home-page .promise-strip { color: var(--space-0); background: linear-gradient(90deg, var(--mint), #a4f2d9 48%, var(--sun)); letter-spacing: .15em; }
body.home-page .promise-strip span { color: var(--ember); }
body.home-page .section { width: min(1240px, calc(100% - 44px)); padding: 118px 0; }
body.home-page .section-heading h2,
body.home-page .centered-heading h2,
body.home-page .light-heading h2,
body.home-page .faq-title h2,
body.home-page .contact-copy h2 { color: var(--space-1); letter-spacing: -.06em; }
body.home-page .section-kicker { letter-spacing: .2em; font-size: 10px; }
body.home-page .red-kicker { color: var(--ember); }
body.home-page .blue-kicker { color: #2a8ecc; }
body.home-page .green-kicker { color: #159c7e; }
body.home-page .text-link { color: #52708f; border-bottom-color: var(--electric); }
body.home-page .heading-with-action { margin-bottom: 42px; }

body.home-page .announcements { background: #edf4fb; }
body.home-page .announcements-carousel { gap: 16px; }
body.home-page .announcements-viewport { padding: 8px; margin: -8px; }
body.home-page .announcements-track { gap: 18px; }
body.home-page .announcements-track .announcement-card { flex-basis: calc((100% - 36px) / 3); }
body.home-page .announcement-card {
  min-height: 254px;
  border: 1px solid rgba(7,21,46,.1);
  border-radius: 25px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 35px rgba(25, 65, 104, .1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.home-page .announcement-card:hover { border-color: rgba(49,183,255,.45); box-shadow: 0 22px 46px rgba(25,65,104,.17); }
body.home-page .announcement-card.green { border-top: 4px solid var(--mint); }
body.home-page .announcement-card.blue { border-top: 4px solid var(--electric); }
body.home-page .announcement-card.orange { border-top: 4px solid var(--ember); }
body.home-page .date-tile { width: 64px; height: 80px; border-radius: 17px; color: var(--space-0); background: linear-gradient(145deg, #dffbf2, var(--mint)); }
body.home-page .announcement-card.blue .date-tile { background: linear-gradient(145deg, #e0f5ff, var(--electric)); }
body.home-page .announcement-card.orange .date-tile { background: linear-gradient(145deg, #fff0df, var(--ember)); }
body.home-page .announcement-copy p { color: #2c82ae; letter-spacing: .17em; font-size: 9px; }
body.home-page .announcement-card.orange .announcement-copy p { color: #d55e2a; }
body.home-page .announcement-copy h3 { color: var(--space-1); }
body.home-page .announcement-copy > span { color: var(--muted); }
body.home-page .announcement-copy a { color: #157daf; }
body.home-page .carousel-button { border-color: rgba(7,21,46,.1); color: var(--space-1); background: rgba(255,255,255,.84); }
body.home-page .carousel-button:hover:not(:disabled) { color: var(--space-0); background: var(--sun); }
body.home-page .carousel-dot.is-active { background: var(--ember); }

body.home-page .all-courses {
  color: var(--snow);
  background:
    radial-gradient(circle at 85% 15%, rgba(49,183,255,.16), transparent 25%),
    linear-gradient(135deg, var(--space-0), var(--space-2));
  position: relative;
  overflow: hidden;
}
body.home-page .all-courses::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(255,255,255,.65) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(135deg, transparent, #000 42%, transparent 90%); }
body.home-page .all-courses-inner { position: relative; z-index: 1; }
body.home-page .light-heading h2 { color: var(--snow); }
body.home-page .subject-group { border-right-color: rgba(255,255,255,.12); }
body.home-page .subject-group::after { opacity: .14; }
body.home-page .subject-group h3 { color: var(--snow); }
body.home-page .subject-group li { color: rgba(244,248,255,.72); border-bottom-color: rgba(255,255,255,.1); }
body.home-page .subject-group li span { color: var(--sun); }
body.home-page .course-extra { border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .25s, background .25s; }
body.home-page .course-extra:hover { background: rgba(255,255,255,.14); transform: translateY(-5px); }
body.home-page .course-extra h3 { color: var(--snow); }
body.home-page .course-extra p { color: rgba(244,248,255,.64); }

body.home-page .lectio-success-section { color: var(--snow); background: linear-gradient(180deg, #0b2a4c, #06152d); }
body.home-page .lectio-success-section::before { background: rgba(49,183,255,.14); }
body.home-page .lectio-success-heading h2 { color: var(--snow); }
body.home-page .lectio-success-heading p:last-child { color: rgba(244,248,255,.66); }
body.home-page .lectio-success-panel { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); box-shadow: 0 25px 65px rgba(0,0,0,.22); }
body.home-page .lectio-success-item { border-bottom-color: rgba(255,255,255,.1); }
body.home-page .lectio-success-item:hover { background: rgba(255,255,255,.08); }
body.home-page .lectio-success-name { color: var(--snow); }
body.home-page .lectio-success-program { color: rgba(244,248,255,.62); }
body.home-page .lectio-success-footer { color: var(--sun); }

body.home-page .teachers { background: #edf4fb; }
body.home-page .teachers-grid { gap: 20px; }
body.home-page .teacher-card { border: 1px solid rgba(7,21,46,.1); border-radius: 24px; background: rgba(255,255,255,.76); box-shadow: 0 16px 34px rgba(25,65,104,.09); overflow: hidden; transition: transform .25s, box-shadow .25s; }
body.home-page .teacher-card:hover { box-shadow: 0 24px 48px rgba(25,65,104,.16); }
body.home-page .teacher-photo-wrap { background: linear-gradient(145deg, #dff5ff, #bde4f7); }
body.home-page .teacher-card.red .teacher-photo-wrap { background: linear-gradient(145deg, #fff0e5, #ffc5a8); }
body.home-page .teacher-card.blue .teacher-photo-wrap { background: linear-gradient(145deg, #e5ebff, #b7c5ff); }
body.home-page .teacher-card.orange .teacher-photo-wrap { background: linear-gradient(145deg, #fff5d9, #ffd56d); }
body.home-page .teacher-card.yellow .teacher-photo-wrap { background: linear-gradient(145deg, #e0fff7, #a2f0d6); }
body.home-page .teacher-info { background: rgba(255,255,255,.84); }
body.home-page .teacher-info p { color: #1687b1; }
body.home-page .teacher-card.red .teacher-info p { color: #d35f3b; }
body.home-page .teacher-card.blue .teacher-info p { color: #5069c8; }
body.home-page .teacher-card h3 { color: var(--space-1); }
body.home-page .teacher-info > span { color: var(--muted); }

body.home-page .faq-section { background: #f7fbff; }
body.home-page .faq-list details { border-color: rgba(7,21,46,.12); background: rgba(255,255,255,.76); }
body.home-page .faq-list summary { color: var(--space-1); }
body.home-page .faq-list p { color: var(--muted); }
body.home-page .contact-section { color: var(--snow); background: linear-gradient(135deg, var(--space-0), var(--space-2)); }
body.home-page .contact-copy h2 { color: var(--snow); }
body.home-page .contact-copy > p:not(.section-kicker),
body.home-page .contact-details span { color: rgba(244,248,255,.62); }
body.home-page .contact-details a { color: var(--snow); }
body.home-page .contact-details a:hover { color: var(--mint); }
body.home-page .contact-form { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.08); box-shadow: 0 22px 60px rgba(0,0,0,.22); }
body.home-page .contact-form label { color: rgba(244,248,255,.78); }
body.home-page .contact-form input,
body.home-page .contact-form select,
body.home-page .contact-form textarea { color: var(--snow); border-color: rgba(255,255,255,.2); background: rgba(3,11,28,.35); }
body.home-page .contact-form input::placeholder,
body.home-page .contact-form textarea::placeholder { color: rgba(244,248,255,.42); }
body.home-page .contact-form button { color: var(--space-0); background: var(--sun); border-radius: 999px; }
body.home-page .contact-form button:hover { background: var(--mint); }
body.home-page footer { color: var(--snow); background: #020918; }
body.home-page .footer-main a,
body.home-page .footer-main span { color: rgba(244,248,255,.6); }
body.home-page .footer-main a:hover { color: var(--mint); }
body.home-page .footer-main h3 { color: var(--sun); }
body.home-page .footer-bottom { color: rgba(244,248,255,.42); border-top-color: rgba(255,255,255,.12); }

body.home-page .game-promo { filter: drop-shadow(0 18px 30px rgba(0,0,0,.32)); }
body.home-page .game-promo-link { border-color: rgba(255,255,255,.24); background: linear-gradient(145deg, #0c3562, #06152d); }
body.home-page .game-promo-label { color: var(--space-0); background: var(--mint); }
body.home-page .game-promo-action { color: var(--sun); }
body.home-page .game-promo-close { color: #fff; background: rgba(255,255,255,.12); }

body.home-page .home-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
body.home-page .home-reveal.is-visible { opacity: 1; transform: none; }
body.home-page .tilt-card { transform: perspective(900px) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * 1deg)) translateY(var(--lift, 0)); }
body.home-page .tilt-card:hover { --lift: -5px; }

@media (max-width: 920px) {
  body.home-page .nav-shell { width: calc(100% - 30px); }
  body.home-page .mobile-menu summary { border-color: rgba(7,21,46,.16); background: rgba(255,255,255,.4); }
  body.home-page .mobile-menu summary span { background: var(--space-1); }
  body.home-page .mobile-menu nav { border-color: rgba(7,21,46,.12); background: rgba(244,249,255,.96); box-shadow: 0 20px 50px rgba(3,13,31,.2); }
  body.home-page .mobile-menu nav a:hover { background: rgba(49,183,255,.1); }
  body.home-page .hero { padding-top: 138px; }
  body.home-page .hero-content { width: calc(100% - 32px); }
  body.home-page .hero-copy { text-align: center; }
  body.home-page .hero-actions { justify-content: center; }
  body.home-page .hero-lead { margin-right: auto; margin-left: auto; }
  body.home-page .announcements-track .announcement-card { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 680px) {
  body.home-page .brand,
  body.home-page .brand img { width: 160px; height: 60px; }
  body.home-page .hero { min-height: auto; padding-top: 122px; }
  body.home-page .hero h1 { font-size: 52px; }
  body.home-page .hero-lead { font-size: 15px; }
  body.home-page .hero-actions { align-items: stretch; flex-direction: column; }
  body.home-page .button { width: 100%; }
  body.home-page .hero-visual { height: 410px; margin-top: -4px; transform: scale(.88); }
  body.home-page .hero-stats { position: relative; grid-template-columns: repeat(2, 1fr); padding: 0 14px; }
  body.home-page .hero-stats div { padding: 17px 12px; }
  body.home-page .hero-stats strong { font-size: 14px; }
  body.home-page .hero-stats span { font-size: 10px; }
  body.home-page .section { width: calc(100% - 30px); padding: 78px 0; }
  body.home-page .announcements-track .announcement-card { flex-basis: 100%; }
  body.home-page .announcement-card { min-height: 230px; }
  body.home-page .course-extra { padding: 24px; }
  body.home-page .teachers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.home-page .teacher-photo-wrap { height: 160px; }
  body.home-page .footer-main { grid-template-columns: 1fr 1fr; }
  body.home-page .footer-brand,
  body.home-page .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .home-reveal { opacity: 1; transform: none; transition: none; }
  body.home-page .planetary-stage { transform: none; transition: none; }
  body.home-page .planetary-orbit { animation: none; }
}

/* Vivid brand accents and the permanent, non-CMS Hypatia credit. */
body.home-page .hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 140, 255, .38), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(0, 212, 122, .22), transparent 25%),
    linear-gradient(135deg, #02102e 0%, #063b79 56%, #007db6 100%);
}

body.home-page .planetary-orbit.orbit-one { border: 2px solid rgba(0, 180, 255, .9); }
body.home-page .planetary-orbit.orbit-two { border: 2px solid rgba(255, 196, 0, .92); }
body.home-page .planetary-orbit.orbit-three { border: 2px solid rgba(0, 212, 122, .9); }
body.home-page .planetary-orbit::after { border-color: rgba(255, 255, 255, .28); }
body.home-page .planet {
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.2), 0 8px 24px rgba(0,0,0,.28), 0 0 24px currentColor;
}
body.home-page .planet::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  filter: blur(1px);
}
body.home-page .planet-blue { background: #008cff; color: #008cff; }
body.home-page .planet-orange { background: #ff5a1f; color: #ff5a1f; }
body.home-page .planet-green { background: #00d47a; color: #00d47a; }

body.home-page .hero-logo-lockup {
  width: 204px;
  height: 204px;
  padding: 28px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 8px rgba(0, 140, 255, .35),
    0 0 0 16px rgba(0, 212, 122, .16),
    0 24px 55px rgba(0, 8, 30, .34);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.home-page .hero-logo-lockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

body.home-page .announcements,
body.home-page .teachers { background: #f5faff; }
body.home-page .announcement-card,
body.home-page .teacher-card {
  background: #fff;
  border-color: #c5d9eb;
  box-shadow: 0 16px 34px rgba(20, 71, 122, .14);
}
body.home-page .announcement-card:hover,
body.home-page .teacher-card:hover {
  border-color: var(--electric);
  box-shadow: 0 22px 45px rgba(0, 140, 255, .2);
}
body.home-page .teacher-empty,
body.home-page .teacher-loading {
  grid-column: 1 / -1;
  padding: 34px 24px;
  border: 1px dashed #9bb9d3;
  border-radius: 20px;
  color: #31516f;
  background: #fff;
  text-align: center;
  font-weight: 800;
}
body.home-page .section-heading h2,
body.home-page .centered-heading h2,
body.home-page .faq-title h2,
body.home-page .contact-copy h2 { color: #062451; }

body.home-page .hypatia-credit {
  position: relative;
  padding: 34px 22px 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(0,185,255,.24), transparent 26%),
    linear-gradient(135deg, #031127, #092b57 58%, #061a38);
  border-top: 1px solid rgba(255,255,255,.12);
}
body.home-page .hypatia-credit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: radial-gradient(rgba(255,255,255,.72) 1px, transparent 1px);
  background-size: 31px 31px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
body.home-page .hypatia-credit-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto;
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition: transform .25s ease, filter .25s ease;
}
body.home-page .hypatia-credit-link:hover,
body.home-page .hypatia-credit-link:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.12);
  outline: none;
}
body.home-page .hypatia-credit-link img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,212,61,.82);
  box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 16px 32px rgba(0,0,0,.24);
}
body.home-page .hypatia-credit-link span { display: grid; gap: 5px; }
body.home-page .hypatia-credit-link strong { color: var(--sun); font-size: 15px; letter-spacing: .06em; }
body.home-page .hypatia-credit-link small { color: rgba(247,251,255,.76); font-size: 12px; line-height: 1.55; }

/* Keep the public content sections visually consistent and readable. */
body.home-page .promise-strip {
  color: #f7fbff;
  background: linear-gradient(90deg, #031127 0%, #092b57 52%, #061a38 100%);
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px rgba(3,17,39,.14);
}
body.home-page .promise-strip div { color: #f7fbff; }
body.home-page .promise-strip span { color: var(--sun); }

body.home-page .announcements,
body.home-page .teachers {
  background: linear-gradient(180deg, #eaf4fc 0%, #f3f8fd 100%);
  border-top: 1px solid #d2e4f2;
  border-bottom: 1px solid #d2e4f2;
}
body.home-page .announcements .section-heading h2,
body.home-page .teachers .section-heading h2,
body.home-page .announcements .section-heading p,
body.home-page .teachers .section-heading p {
  color: #082b52;
}
body.home-page .announcements .section-heading .red-kicker { color: #c4471c; }
body.home-page .teachers .section-heading .blue-kicker { color: #075e9f; }
body.home-page .announcements .text-link { color: #274968; }
body.home-page .announcement-card,
body.home-page .teacher-card {
  background: #f9fcff;
  border-color: #b9d2e6;
}
body.home-page .teacher-info { background: #f9fcff; }
body.home-page .announcement-copy p { color: #075e9f; }
body.home-page .announcement-copy a { color: #064d82; }
body.home-page .teacher-info p { color: #075e9f; }
body.home-page .teacher-card.red .teacher-info p { color: #b44725; }
body.home-page .teacher-card.blue .teacher-info p { color: #174f9b; }

/* Solid white navigation bar for a cleaner top-level header. */
body.home-page .site-header {
  background: #fff;
  border-bottom-color: #d8e3ee;
  box-shadow: 0 8px 24px rgba(7, 21, 46, .08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Keep the dark directions section readable even when its heading is managed
   from the administrator's public-content editor. */
body.home-page .all-courses .section-heading h2,
body.home-page .all-courses .light-heading h2 {
  color: #f7fbff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .22);
}

/* Harmonize the announcements area and cards so the section does not read as
   a separate white panel against the rest of the public homepage. */
body.home-page .announcements {
  background: linear-gradient(180deg, #e7f3fd 0%, #dcecf9 100%);
  border-top-color: #c4dced;
  border-bottom-color: #c4dced;
}
body.home-page .announcements .announcement-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(238, 248, 255, .86));
  border-color: #a9c9df;
  box-shadow: 0 14px 30px rgba(20, 71, 122, .12);
}
body.home-page .announcements .announcement-card:hover {
  background: #fafdff;
  border-color: #2d9de0;
  box-shadow: 0 22px 42px rgba(20, 102, 160, .18);
}

/* The contact heading is also managed by the public-content editor. Keep it
   bright against the dark contact section instead of inheriting the generic
   blue heading color. */
body.home-page .contact-section .contact-copy h2 {
  color: #f7fbff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .22);
}

/* Continue the dark cosmic surface through announcements so the cards and the
   following directions section feel like one visual sequence. */
body.home-page .announcements {
  color: #f7fbff;
  background:
    radial-gradient(circle at 88% 16%, rgba(0, 140, 255, .16), transparent 28%),
    linear-gradient(135deg, #07152e 0%, #0b2f57 54%, #07152e 100%);
  border-top-color: rgba(255, 255, 255, .1);
  border-bottom-color: rgba(255, 255, 255, .1);
}
body.home-page .announcements .section-heading h2,
body.home-page .announcements .section-heading p,
body.home-page .announcements .text-link {
  color: #f7fbff;
}
body.home-page .announcements .section-heading .red-kicker {
  color: var(--sun);
}
body.home-page .announcements .text-link {
  border-bottom-color: var(--mint);
}
body.home-page .announcements .announcement-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06));
  border-color: rgba(255, 255, 255, .17);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
}
body.home-page .announcements .announcement-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .09));
  border-color: var(--electric);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .28), 0 0 24px rgba(0, 140, 255, .16);
}
body.home-page .announcements .announcement-copy h3 {
  color: #f7fbff;
}
body.home-page .announcements .announcement-copy > span {
  color: rgba(247, 251, 255, .72);
}
body.home-page .announcements .announcement-copy a {
  color: var(--sun);
}
body.home-page .announcements .carousel-button {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}
body.home-page .announcements .carousel-button:hover:not(:disabled) {
  color: var(--space-0);
  background: var(--sun);
}
body.home-page .announcements .carousel-status {
  color: rgba(247, 251, 255, .7);
}

@media (max-width: 600px) {
  body.home-page .hypatia-credit { padding: 28px 18px 32px; }
  body.home-page .hypatia-credit-link { gap: 12px; text-align: center; }
  body.home-page .hypatia-credit-link img { width: 62px; height: 62px; flex-basis: 62px; }
  body.home-page .hypatia-credit-link span { justify-items: center; }
  body.home-page .hypatia-credit-link strong { font-size: 13px; }
  body.home-page .hypatia-credit-link small { font-size: 11px; }
}

/* The announcements section spans the viewport so the page background cannot
   appear as pale side gaps around the dark announcement cards. */
body.home-page .announcements {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
  border-top-color: #d5e5f1;
  border-bottom-color: #d5e5f1;
}
body.home-page .announcements > .section-heading,
body.home-page .announcements > .announcements-carousel,
body.home-page .announcements > .carousel-meta {
  width: min(1240px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}
body.home-page .announcements > .section-heading h2,
body.home-page .announcements > .section-heading p,
body.home-page .announcements > .text-link {
  color: #082b52;
}
body.home-page .announcements > .section-heading .red-kicker {
  color: #c4471c;
}
body.home-page .announcements > .text-link {
  border-bottom-color: var(--electric);
}
body.home-page .announcements .carousel-button {
  color: #082b52;
  border-color: #b9d2e6;
  background: #ffffff;
}
body.home-page .announcements .carousel-button:hover:not(:disabled) {
  color: var(--space-0);
  background: var(--sun);
}
body.home-page .announcements .carousel-status {
  color: #52708f;
}

/* Keep the announcement cards visibly dark on the now-white section surface. */
body.home-page .announcements .announcement-card {
  background: linear-gradient(145deg, #2d5077 0%, #18365b 100%);
  border-color: #5c7fa2;
  box-shadow: 0 16px 34px rgba(15, 46, 79, .2), inset 0 1px 0 rgba(255, 255, 255, .14);
}
body.home-page .announcements .announcement-card:hover {
  background: linear-gradient(145deg, #345e89 0%, #1c416b 100%);
  border-color: #31b7ff;
  box-shadow: 0 22px 42px rgba(15, 46, 79, .27), 0 0 24px rgba(0, 140, 255, .16);
}

@media (max-width: 600px) {
  body.home-page .announcements > .section-heading,
  body.home-page .announcements > .announcements-carousel,
  body.home-page .announcements > .carousel-meta {
    width: calc(100% - 30px);
  }
}

/* Keep the orbital Lectio logo fully visible on narrow screens. */
@media (max-width: 680px) {
  body.home-page .hero-visual {
    height: min(94vw, 390px);
    min-height: 330px;
    transform: none;
    overflow: visible;
  }
  body.home-page .planetary-stage {
    width: min(88vw, 360px);
    min-width: 300px;
  }
  body.home-page .hero-logo-lockup {
    width: 164px;
    height: 164px;
    padding: 20px;
    border-width: 6px;
  }
  body.home-page .planet {
    width: 34px;
    height: 34px;
    border-width: 2px;
  }
  body.home-page .planet::before { width: 9px; height: 9px; }
}

/* -------------------------------------------------------------------------
   Lectio system overview and Android download
   Static presentation content: it is intentionally outside the administrator
   content hooks so it cannot be changed or removed from the admin editor.
   ------------------------------------------------------------------------- */
body.home-page .lectio-system-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 9vw, 122px) 0;
  color: #f7fbff;
  background:
    radial-gradient(circle at 7% 20%, rgba(0, 212, 122, .20), transparent 25%),
    radial-gradient(circle at 93% 72%, rgba(0, 140, 255, .22), transparent 28%),
    linear-gradient(135deg, #020817 0%, #061b39 52%, #0a2b50 100%);
}
body.home-page .lectio-system-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(49, 183, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 183, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(135deg, transparent, #000 25%, #000 75%, transparent);
}
body.home-page .lectio-system-orbit {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(49, 183, 255, .28);
  border-radius: 50%;
  pointer-events: none;
}
body.home-page .lectio-system-orbit-one { top: 18%; right: -150px; box-shadow: 0 0 0 22px rgba(49, 183, 255, .04), 0 0 0 54px rgba(0, 212, 122, .035); }
body.home-page .lectio-system-orbit-two { bottom: -180px; left: -130px; border-color: rgba(255, 136, 76, .32); }
body.home-page .lectio-system-inner,
body.home-page .lectio-android-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}
body.home-page .lectio-system-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}
body.home-page .lectio-system-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #00e887;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
}
body.home-page .lectio-system-kicker::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d47a, #31b7ff, #ff884c);
}
body.home-page .lectio-system-heading h2,
body.home-page .lectio-android-copy h2 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(34px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -.07em;
}
body.home-page .lectio-system-heading > p:last-child,
body.home-page .lectio-android-copy > p:not(.lectio-system-kicker) {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(247, 251, 255, .72);
  font-size: 15px;
  line-height: 1.75;
}
body.home-page .lectio-system-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}
body.home-page .lectio-system-tab {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(247, 251, 255, .72);
  background: rgba(255, 255, 255, .06);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease;
}
body.home-page .lectio-system-tab:hover,
body.home-page .lectio-system-tab:focus-visible,
body.home-page .lectio-system-tab.is-active {
  color: #031127;
  background: #f7c94a;
  border-color: #f7c94a;
  transform: translateY(-2px);
  outline: none;
}
body.home-page .lectio-system-panel {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  animation: lectio-system-panel-in .35s ease both;
}
body.home-page .lectio-system-panel[hidden] { display: none; }
@keyframes lectio-system-panel-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
body.home-page .lectio-system-panel-intro {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
body.home-page .lectio-system-panel-number {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #031127;
  background: linear-gradient(145deg, #00e887, #31b7ff);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(49, 183, 255, .2);
}
body.home-page .lectio-system-panel-intro h3 { margin: 0; color: #fff; font-size: clamp(20px, 3vw, 28px); letter-spacing: -.04em; }
body.home-page .lectio-system-panel-intro p { margin: 7px 0 0; color: rgba(247, 251, 255, .68); font-size: 13px; line-height: 1.6; }
body.home-page .lectio-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
}
body.home-page .lectio-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 166px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--feature-accent, #31b7ff);
  border-radius: 19px;
  background: rgba(2, 8, 23, .33);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
body.home-page .lectio-feature-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  top: -48px;
  right: -40px;
  border: 1px solid var(--feature-accent, #31b7ff);
  border-radius: 50%;
  opacity: .38;
}
body.home-page .lectio-feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); box-shadow: 0 16px 32px rgba(0, 0, 0, .2), 0 0 24px var(--feature-glow, rgba(49,183,255,.13)); }
body.home-page .feature-mint { --feature-accent: #00e887; --feature-glow: rgba(0, 232, 135, .16); }
body.home-page .feature-blue { --feature-accent: #31b7ff; --feature-glow: rgba(49, 183, 255, .16); }
body.home-page .feature-orange { --feature-accent: #ff884c; --feature-glow: rgba(255, 136, 76, .16); }
body.home-page .feature-yellow { --feature-accent: #f7c94a; --feature-glow: rgba(247, 201, 74, .16); }
body.home-page .feature-purple { --feature-accent: #b998ff; --feature-glow: rgba(185, 152, 255, .16); }
body.home-page .feature-cyan { --feature-accent: #35e0db; --feature-glow: rgba(53, 224, 219, .16); }
body.home-page .lectio-feature-icon { display: inline-grid; width: 30px; height: 30px; place-items: center; margin-bottom: 13px; border-radius: 10px; color: #031127; background: var(--feature-accent); font-size: 17px; font-weight: 950; }
body.home-page .lectio-feature-card h4 { margin: 0 0 8px; color: #fff; font-size: 15px; letter-spacing: -.02em; }
body.home-page .lectio-feature-card p { margin: 0; color: rgba(247, 251, 255, .66); font-size: 12px; line-height: 1.6; }

body.home-page .lectio-android-section {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0;
  color: #f7fbff;
  background: linear-gradient(135deg, #06142c 0%, #0b3e6b 54%, #0e7c98 100%);
}
body.home-page .lectio-android-section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -150px;
  top: -170px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, .045), 0 0 0 56px rgba(0, 212, 122, .055);
  pointer-events: none;
}
body.home-page .lectio-android-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
body.home-page .lectio-android-copy h2 { font-size: clamp(31px, 4.6vw, 57px); }
body.home-page .lectio-android-download { display: inline-flex; align-items: center; gap: 13px; margin-top: 26px; padding: 14px 20px; border-radius: 999px; color: #031127; background: #00e887; box-shadow: 0 14px 30px rgba(0, 232, 135, .24); font-size: 13px; font-weight: 950; text-decoration: none; transition: transform .25s ease, filter .25s ease; }
body.home-page .lectio-android-download:hover, body.home-page .lectio-android-download:focus-visible { transform: translateY(-3px); filter: brightness(1.08); outline: none; }
body.home-page .lectio-android-download span { font-size: 20px; line-height: .7; }
body.home-page .lectio-android-note { display: block; margin-top: 12px; color: rgba(247, 251, 255, .62); font-size: 10px; line-height: 1.55; }
body.home-page .lectio-android-note code { color: #f7c94a; }
body.home-page .lectio-android-guide { padding: 24px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 24px; background: rgba(3, 11, 28, .35); box-shadow: 0 22px 50px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12); }
body.home-page .lectio-android-guide-label { margin-bottom: 14px; color: #f7c94a; font-size: 11px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
body.home-page .lectio-android-guide ol { display: grid; gap: 13px; margin: 0; padding-left: 22px; color: rgba(247, 251, 255, .86); font-size: 13px; line-height: 1.55; }
body.home-page .lectio-android-guide li::marker { color: #00e887; font-weight: 950; }
body.home-page .lectio-android-guide p { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(247, 251, 255, .58); font-size: 11px; line-height: 1.55; }

/* A brighter celebration layer for the existing achievements carousel. */
body.home-page .success-party-decor { position: absolute; z-index: 0; display: block; pointer-events: none; }
body.home-page .success-party-streamer { width: 150px; height: 280px; border: 8px solid transparent; border-right-color: #ff884c; border-bottom-color: #31b7ff; border-radius: 50%; opacity: .78; filter: drop-shadow(0 0 12px rgba(49,183,255,.45)); }
body.home-page .success-party-streamer-left { top: 10px; left: -70px; transform: rotate(22deg); }
body.home-page .success-party-streamer-right { top: 24px; right: -70px; transform: scaleX(-1) rotate(16deg); border-right-color: #00e887; border-bottom-color: #f7c94a; }
body.home-page .success-party-confetti { width: 9px; height: 18px; border-radius: 3px; background: #f7c94a; opacity: .95; transform: rotate(23deg); box-shadow: -90px 36px 0 1px #00e887, -182px 108px 0 0 #31b7ff, 116px 78px 0 0 #ff884c, 194px 150px 0 1px #00e887, -48px 224px 0 0 #ff884c, 246px 246px 0 0 #f7c94a; animation: lectio-party-float 4.8s ease-in-out infinite alternate; }
body.home-page .success-party-confetti-one { top: 4%; right: 21%; }
body.home-page .success-party-confetti-two { bottom: 7%; left: 23%; transform: rotate(-29deg) scale(.75); animation-delay: -2.1s; }
@keyframes lectio-party-float { from { translate: 0 0; } to { translate: 0 10px; } }

@media (max-width: 760px) {
  body.home-page .lectio-system-inner,
  body.home-page .lectio-android-inner { width: calc(100% - 30px); }
  body.home-page .lectio-system-panel-intro { gap: 11px; }
  body.home-page .lectio-system-panel-number { flex-basis: 40px; width: 40px; height: 40px; border-radius: 13px; font-size: 12px; }
  body.home-page .lectio-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding-top: 18px; }
  body.home-page .lectio-feature-card { min-height: 0; padding: 14px; }
  body.home-page .lectio-feature-card h4 { font-size: 13px; }
  body.home-page .lectio-feature-card p { font-size: 11px; }
  body.home-page .lectio-android-inner { grid-template-columns: 1fr; gap: 26px; }
  body.home-page .lectio-android-guide { padding: 19px; }
  body.home-page .success-party-streamer { opacity: .42; transform: scale(.78) rotate(22deg); }
  body.home-page .success-party-streamer-right { transform: scaleX(-1) scale(.78) rotate(16deg); }
}

@media (max-width: 430px) {
  body.home-page .lectio-feature-grid { grid-template-columns: 1fr; }
  body.home-page .lectio-system-tabs { display: grid; grid-template-columns: 1fr; }
  body.home-page .lectio-system-tab { width: 100%; }
  body.home-page .lectio-system-heading h2,
  body.home-page .lectio-android-copy h2 { font-size: 36px; }
}

/* One shared responsive technology canvas for the system and Android blocks. */
body.home-page .lectio-tech-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(0, 232, 135, .18), transparent 23%),
    radial-gradient(circle at 90% 48%, rgba(49, 183, 255, .2), transparent 28%),
    radial-gradient(circle at 34% 86%, rgba(255, 136, 76, .12), transparent 24%),
    linear-gradient(135deg, #020817 0%, #061b39 50%, #092e50 100%);
}
body.home-page .lectio-tech-wrap .lectio-system-section,
body.home-page .lectio-tech-wrap .lectio-android-section {
  position: relative;
  z-index: 1;
  background: transparent;
}
body.home-page .lectio-tech-wrap .lectio-system-section {
  padding-bottom: clamp(50px, 7vw, 86px);
}
body.home-page .lectio-tech-wrap .lectio-android-section {
  padding-top: clamp(40px, 5vw, 70px);
}
body.home-page .lectio-tech-network {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
body.home-page .lectio-tech-wire {
  fill: none;
  stroke: rgba(49, 183, 255, .3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16 17;
  filter: drop-shadow(0 0 3px rgba(49, 183, 255, .18));
  animation: lectio-tech-wire-flow 13s linear infinite;
  transition: stroke .3s ease, stroke-width .3s ease, opacity .3s ease, filter .3s ease;
}
body.home-page .lectio-tech-wire-accent { stroke: rgba(0, 232, 135, .38); animation-duration: 9s; }
body.home-page .lectio-tech-node {
  fill: #31b7ff;
  stroke: rgba(247, 251, 255, .9);
  stroke-width: 2;
  filter: drop-shadow(0 0 9px currentColor);
  animation: lectio-tech-node-pulse 2.8s ease-in-out infinite alternate;
}
body.home-page .lectio-tech-node.node-green { color: #00e887; fill: #00e887; }
body.home-page .lectio-tech-node.node-blue { color: #31b7ff; fill: #31b7ff; animation-delay: -.7s; }
body.home-page .lectio-tech-node.node-orange { color: #ff884c; fill: #ff884c; animation-delay: -1.4s; }
body.home-page .lectio-tech-wrap:has(.lectio-feature-card:hover) .lectio-tech-wire {
  stroke: #31b7ff;
  stroke-width: 3.5;
  opacity: .96;
  filter: drop-shadow(0 0 8px rgba(49, 183, 255, .85));
  animation-duration: 4s;
}
body.home-page .lectio-tech-wrap:has(.lectio-feature-card:hover) .lectio-tech-wire-accent { stroke: #00e887; filter: drop-shadow(0 0 8px rgba(0, 232, 135, .85)); }
body.home-page .lectio-tech-wrap:has(.lectio-system-tab:hover) .lectio-tech-wire { opacity: .76; }
@keyframes lectio-tech-wire-flow { to { stroke-dashoffset: -264px; } }
@keyframes lectio-tech-node-pulse { from { opacity: .55; transform: scale(.84); transform-origin: center; } to { opacity: 1; transform: scale(1.16); transform-origin: center; } }

/* The achievements area is a celebration, not a mirrored card layout. */
body.home-page .lectio-success-section {
  background:
    radial-gradient(circle at 11% 17%, rgba(0, 232, 135, .3), transparent 20%),
    radial-gradient(circle at 78% 13%, rgba(49, 183, 255, .34), transparent 22%),
    radial-gradient(circle at 32% 76%, rgba(255, 136, 76, .27), transparent 22%),
    radial-gradient(circle at 91% 82%, rgba(247, 201, 74, .2), transparent 18%),
    linear-gradient(127deg, #020817 0%, #07152e 42%, #102044 72%, #06152e 100%);
}
body.home-page .lectio-success-section::before {
  top: -80px;
  left: 7%;
  width: 260px;
  height: 260px;
  opacity: .9;
  transform: rotate(-18deg) scale(.78);
}
body.home-page .lectio-success-section::after {
  right: 5%;
  bottom: -90px;
  width: 310px;
  height: 310px;
  opacity: .92;
  transform: rotate(21deg) scale(.86);
}
body.home-page .success-party-streamer-low {
  left: 38%;
  bottom: -120px;
  width: 220px;
  height: 250px;
  border-right-color: #31b7ff;
  border-bottom-color: #ff884c;
  transform: rotate(-41deg) scale(.7);
  opacity: .66;
}
body.home-page .success-party-confetti-three {
  top: 24%;
  left: 9%;
  background: #00e887;
  transform: rotate(-36deg) scale(.75);
  box-shadow: 52px 108px 0 1px #f7c94a, 174px 34px 0 0 #ff884c, 284px 164px 0 1px #31b7ff, 448px 64px 0 0 #00e887, 610px 180px 0 1px #ff884c;
  animation-delay: -1.2s;
}
body.home-page .success-party-confetti-four {
  top: 61%;
  right: 12%;
  background: #31b7ff;
  transform: rotate(47deg) scale(.68);
  box-shadow: -48px 96px 0 0 #ff884c, -166px -32px 0 1px #f7c94a, -276px 122px 0 0 #00e887, -404px -28px 0 1px #ff884c;
  animation-delay: -3.3s;
}
body.home-page .success-party-firework {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  opacity: .78;
  background:
    radial-gradient(circle at center, #fff 0 3px, var(--burst-color) 4px 8px, transparent 10px),
    repeating-conic-gradient(from 9deg at center, var(--burst-color) 0 2deg, transparent 2deg 15deg);
  filter: drop-shadow(0 0 13px var(--burst-color));
  -webkit-mask-image: radial-gradient(circle, #000 0 70%, transparent 75%);
  mask-image: radial-gradient(circle, #000 0 70%, transparent 75%);
  animation: lectio-firework-pop 3.6s ease-in-out infinite alternate;
}
body.home-page .success-party-firework-one { --burst-color: #31b7ff; top: 30%; left: -36px; transform: scale(.62) rotate(13deg); }
body.home-page .success-party-firework-two { --burst-color: #00e887; top: 53%; right: -42px; transform: scale(.55) rotate(-28deg); animation-delay: -1.7s; }
body.home-page .success-party-firework-three { --burst-color: #ff884c; bottom: 8%; left: 27%; transform: scale(.45) rotate(21deg); animation-delay: -2.8s; }
@keyframes lectio-firework-pop { from { opacity: .38; filter: drop-shadow(0 0 6px var(--burst-color)); } to { opacity: .92; filter: drop-shadow(0 0 22px var(--burst-color)); } }

@media (max-width: 760px) {
  body.home-page .lectio-tech-network { height: 112%; top: -3%; opacity: .78; }
  body.home-page .lectio-tech-wire { stroke-width: 1.7; stroke-dasharray: 11 20; }
  body.home-page .lectio-tech-wrap:has(.lectio-feature-card:hover) .lectio-tech-wire { stroke-width: 2.7; }
  body.home-page .success-party-streamer-low { left: 31%; bottom: -105px; transform: rotate(-41deg) scale(.52); }
  body.home-page .success-party-firework-one { left: -75px; transform: scale(.48) rotate(13deg); }
  body.home-page .success-party-firework-two { right: -78px; transform: scale(.42) rotate(-28deg); }
  body.home-page .success-party-firework-three { left: 18%; transform: scale(.32) rotate(21deg); }
}

/* -------------------------------------------------------------------------
   Announcements — rebuilt visual system
   The existing HTML/data hooks remain intact so the administrator-managed
   content, links and carousel behavior continue to work unchanged.
   ------------------------------------------------------------------------- */
body.home-page .announcements {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 104px;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 212, 122, .12), transparent 23%),
    radial-gradient(circle at 92% 15%, rgba(0, 140, 255, .16), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
}
body.home-page .announcements::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(7, 21, 46, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 46, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(135deg, transparent 0%, #000 28%, #000 76%, transparent 100%);
}
body.home-page .announcements::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -150px;
  border: 1px solid rgba(0, 140, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(0, 140, 255, .05), 0 0 0 62px rgba(0, 212, 122, .035);
  pointer-events: none;
}
body.home-page .announcements > .section-heading,
body.home-page .announcements > .announcements-carousel,
body.home-page .announcements > .carousel-meta {
  position: relative;
  z-index: 1;
}
body.home-page .announcements > .section-heading {
  align-items: end;
  margin-bottom: 36px;
}
body.home-page .announcements > .section-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #d05224;
  font-size: 10px;
  letter-spacing: .22em;
}
body.home-page .announcements > .section-heading .section-kicker::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--electric), var(--ember));
  box-shadow: 0 4px 12px rgba(0, 140, 255, .2);
}
body.home-page .announcements > .section-heading h2 {
  color: #07152e;
  font-size: clamp(46px, 5.5vw, 76px);
  letter-spacing: -.07em;
  line-height: .98;
}
body.home-page .announcements > .section-heading .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #c8dceb;
  border-bottom: 1px solid #c8dceb;
  border-radius: 999px;
  color: #17466e;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(25, 65, 104, .08);
  font-size: 11px;
  letter-spacing: .03em;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.home-page .announcements > .section-heading .text-link::after {
  content: "↔";
  color: var(--electric);
  font-size: 16px;
  line-height: 1;
}
body.home-page .announcements > .section-heading .text-link:hover {
  transform: translateY(-3px);
  border-color: var(--electric);
  box-shadow: 0 14px 28px rgba(0, 140, 255, .14);
}
body.home-page .announcements > .announcements-carousel {
  gap: 16px;
}
body.home-page .announcements .announcements-viewport {
  padding: 14px 10px 26px;
  margin: -14px -10px -26px;
  scrollbar-width: none;
}
body.home-page .announcements .announcements-track {
  gap: 20px;
}
body.home-page .announcements .announcements-track .announcement-card {
  flex-basis: calc((100% - 40px) / 3);
}
body.home-page .announcements .announcement-card {
  --card-accent: var(--electric);
  --card-accent-soft: rgba(0, 140, 255, .23);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 19px;
  min-height: 302px;
  padding: 23px;
  border: 1px solid rgba(102, 153, 198, .58);
  border-top: 4px solid var(--card-accent);
  border-radius: 26px;
  background: linear-gradient(145deg, #2d5077 0%, #18365b 100%);
  box-shadow: 0 20px 38px rgba(15, 46, 79, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: translateY(0);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease, filter .3s ease;
}
body.home-page .announcements .announcement-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 160px;
  right: -84px;
  top: -78px;
  border: 1px solid var(--card-accent);
  border-radius: 50%;
  opacity: .28;
  box-shadow: 0 0 0 16px var(--card-accent-soft), 0 0 0 34px rgba(255, 255, 255, .035);
}
body.home-page .announcements .announcement-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 7px;
  height: 7px;
  right: 27px;
  top: 43px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 18px var(--card-accent);
}
body.home-page .announcements .announcement-card.green {
  --card-accent: #00d47a;
  --card-accent-soft: rgba(0, 212, 122, .24);
}
body.home-page .announcements .announcement-card.blue {
  --card-accent: #31b7ff;
  --card-accent-soft: rgba(49, 183, 255, .24);
}
body.home-page .announcements .announcement-card.orange {
  --card-accent: #ff884c;
  --card-accent-soft: rgba(255, 136, 76, .24);
}
body.home-page .announcements .announcement-card:hover {
  transform: translateY(-9px);
  border-color: var(--card-accent);
  filter: saturate(1.08) brightness(1.05);
  box-shadow: 0 28px 54px rgba(15, 46, 79, .28), 0 0 26px var(--card-accent-soft), inset 0 1px 0 rgba(255, 255, 255, .2);
}
body.home-page .announcements .date-tile {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 64px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 19px;
  color: #07152e;
  background: var(--card-accent);
  box-shadow: 0 14px 22px rgba(0, 0, 0, .2), 0 0 0 5px rgba(255, 255, 255, .06);
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
body.home-page .announcements .announcement-card:hover .date-tile {
  transform: rotate(3deg) translateY(-3px) scale(1.04);
}
body.home-page .announcements .date-tile strong {
  font-size: 28px;
  letter-spacing: -.06em;
}
body.home-page .announcements .date-tile span {
  margin-top: 6px;
  color: rgba(7, 21, 46, .78);
  font-size: 9px;
  letter-spacing: .16em;
}
body.home-page .announcements .announcement-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.home-page .announcements .announcement-copy p {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 2px 0 13px;
  padding: 4px 9px;
  border: 1px solid var(--card-accent);
  border-radius: 999px;
  color: var(--card-accent);
  background: var(--card-accent-soft);
  font-size: 8px;
  letter-spacing: .18em;
}
body.home-page .announcements .announcement-copy h3 {
  margin: 0 0 13px;
  color: #f7fbff;
  font-size: 20px;
  letter-spacing: -.035em;
  line-height: 1.28;
}
body.home-page .announcements .announcement-copy > span {
  display: block;
  flex: 1;
  color: rgba(247, 251, 255, .7);
  font-size: 12px;
  line-height: 1.65;
}
body.home-page .announcements .announcement-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(247, 201, 74, .48);
  color: #f7c94a;
  font-size: 11px;
  font-weight: 900;
  transition: gap .25s ease, color .25s ease, border-color .25s ease;
}
body.home-page .announcements .announcement-copy a:hover {
  gap: 13px;
  color: #fff;
  border-color: #fff;
}
body.home-page .announcements .announcement-copy a svg {
  width: 17px;
}
body.home-page .announcements .carousel-button {
  width: 52px;
  height: 52px;
  border: 1px solid #b9d2e6;
  border-radius: 17px;
  color: #07152e;
  background: #fff;
  box-shadow: 0 12px 25px rgba(25, 65, 104, .12);
  transition: transform .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}
body.home-page .announcements .carousel-button:hover:not(:disabled) {
  transform: translateY(-4px) scale(1.04);
  color: #07152e;
  background: #f7c94a;
  border-color: #f7c94a;
  box-shadow: 0 15px 28px rgba(247, 201, 74, .25);
}
body.home-page .announcements .carousel-meta {
  min-height: 28px;
  margin-top: 25px;
}
body.home-page .announcements .carousel-dot {
  background: #bfd2e5;
}
body.home-page .announcements .carousel-dot.is-active {
  background: linear-gradient(90deg, var(--mint), var(--electric));
  box-shadow: 0 0 12px rgba(0, 140, 255, .25);
}
body.home-page .announcements .carousel-status {
  color: #52708f;
}

@media (max-width: 980px) {
  body.home-page .announcements .announcements-track .announcement-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (max-width: 680px) {
  body.home-page .announcements {
    padding-top: 78px;
    padding-bottom: 70px;
  }
  body.home-page .announcements > .section-heading {
    align-items: flex-start;
    gap: 22px;
  }
  body.home-page .announcements > .section-heading h2 {
    font-size: 48px;
  }
  body.home-page .announcements > .section-heading .text-link {
    align-self: stretch;
    justify-content: center;
  }
  body.home-page .announcements .announcements-track .announcement-card {
    flex-basis: 100%;
  }
  body.home-page .announcements .announcement-card {
    min-height: 270px;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    padding: 19px;
    border-radius: 22px;
  }
  body.home-page .announcements .date-tile {
    width: 57px;
    height: 71px;
  }
  body.home-page .announcements .announcement-copy h3 {
    font-size: 18px;
  }
}

/* Keep every announcement recognisably Lectio, while giving each card its own
   colour identity. The existing green/blue/orange hooks are also used by the
   administrator-managed content, so this is visual-only. */
body.home-page .announcements .announcement-card.green {
  --card-accent: #00e887;
  --card-accent-soft: rgba(0, 232, 135, .26);
  background:
    radial-gradient(circle at 91% 14%, rgba(0, 232, 135, .34), transparent 29%),
    linear-gradient(145deg, #164f5d 0%, #123e59 52%, #092641 100%);
}

body.home-page .announcements .announcement-card.blue {
  --card-accent: #31b7ff;
  --card-accent-soft: rgba(49, 183, 255, .28);
  background:
    radial-gradient(circle at 90% 13%, rgba(49, 183, 255, .4), transparent 30%),
    linear-gradient(145deg, #155e9b 0%, #174b80 49%, #102b55 100%);
}

body.home-page .announcements .announcement-card.orange {
  --card-accent: #ff884c;
  --card-accent-soft: rgba(255, 136, 76, .28);
  background:
    radial-gradient(circle at 90% 13%, rgba(255, 196, 0, .28), transparent 30%),
    linear-gradient(145deg, #704b38 0%, #304264 50%, #142b4e 100%);
}

body.home-page .announcements .announcement-card.green .date-tile {
  background: linear-gradient(145deg, #43f2a0, #00bd78 72%);
}

body.home-page .announcements .announcement-card.blue .date-tile {
  background: linear-gradient(145deg, #a7e8ff, #31b7ff 68%, #008cff);
}

body.home-page .announcements .announcement-card.orange .date-tile {
  background: linear-gradient(145deg, #ffe27a, #ffad42 52%, #ff6b35);
}

body.home-page .announcements .announcement-card.green:hover {
  box-shadow: 0 28px 54px rgba(0, 84, 73, .32), 0 0 30px rgba(0, 232, 135, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
}

body.home-page .announcements .announcement-card.blue:hover {
  box-shadow: 0 28px 54px rgba(12, 63, 125, .34), 0 0 30px rgba(49, 183, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .2);
}

body.home-page .announcements .announcement-card.orange:hover {
  box-shadow: 0 28px 54px rgba(105, 52, 22, .34), 0 0 30px rgba(255, 136, 76, .22), inset 0 1px 0 rgba(255, 255, 255, .2);
}

/* Announcements — clean, bright and highly readable card treatment. */
body.home-page .announcements .announcement-card {
  --card-text: #07152e;
  --card-muted: #3e5873;
  --card-accent: #008cff;
  --card-accent-soft: rgba(0, 140, 255, .12);
  color: var(--card-text);
  border: 1px solid rgba(123, 163, 197, .48);
  border-top: 5px solid var(--card-accent);
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(25, 65, 104, .13), inset 0 1px 0 rgba(255, 255, 255, .94);
}

body.home-page .announcements .announcement-card.green {
  --card-accent: #00a968;
  --card-accent-soft: rgba(0, 169, 104, .13);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 212, 122, .2), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #effff7 100%);
}

body.home-page .announcements .announcement-card.blue {
  --card-accent: #087fda;
  --card-accent-soft: rgba(0, 140, 255, .13);
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 183, 255, .24), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #eef8ff 100%);
}

body.home-page .announcements .announcement-card.orange {
  --card-accent: #ed681f;
  --card-accent-soft: rgba(255, 90, 31, .13);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 196, 0, .28), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #fff5ea 100%);
}

body.home-page .announcements .announcement-card::before {
  opacity: .14;
  border-color: var(--card-accent);
  box-shadow: 0 0 0 16px var(--card-accent-soft), 0 0 0 34px rgba(7, 21, 46, .025);
}

body.home-page .announcements .announcement-card::after {
  background: var(--card-accent);
  box-shadow: 0 0 14px var(--card-accent-soft);
}

body.home-page .announcements .announcement-card:hover {
  transform: translateY(-7px);
  border-color: var(--card-accent);
  background: #ffffff;
  filter: none;
  box-shadow: 0 24px 42px rgba(25, 65, 104, .18), 0 0 0 4px var(--card-accent-soft);
}

body.home-page .announcements .announcement-card.green:hover {
  box-shadow: 0 24px 42px rgba(0, 126, 83, .2), 0 0 0 4px var(--card-accent-soft);
}

body.home-page .announcements .announcement-card.blue:hover {
  box-shadow: 0 24px 42px rgba(0, 101, 187, .2), 0 0 0 4px var(--card-accent-soft);
}

body.home-page .announcements .announcement-card.orange:hover {
  box-shadow: 0 24px 42px rgba(196, 79, 18, .2), 0 0 0 4px var(--card-accent-soft);
}

body.home-page .announcements .announcement-card.green .date-tile {
  color: #053c2d;
  background: linear-gradient(145deg, #68f5ae, #00c77a);
  box-shadow: 0 12px 22px rgba(0, 169, 104, .2), 0 0 0 5px rgba(0, 169, 104, .08);
}

body.home-page .announcements .announcement-card.blue .date-tile {
  color: #052d4e;
  background: linear-gradient(145deg, #bceeff, #45baff 70%, #078be8);
  box-shadow: 0 12px 22px rgba(0, 140, 255, .2), 0 0 0 5px rgba(0, 140, 255, .08);
}

body.home-page .announcements .announcement-card.orange .date-tile {
  color: #54220d;
  background: linear-gradient(145deg, #ffe38a, #ffc14d 55%, #ff7a2e);
  box-shadow: 0 12px 22px rgba(237, 104, 31, .2), 0 0 0 5px rgba(237, 104, 31, .08);
}

body.home-page .announcements .date-tile span {
  color: currentColor;
}

body.home-page .announcements .announcement-copy p {
  color: var(--card-accent);
  background: var(--card-accent-soft);
}

body.home-page .announcements .announcement-copy h3 {
  color: var(--card-text);
  text-shadow: none;
}

body.home-page .announcements .announcement-copy > span {
  color: var(--card-muted);
}

body.home-page .announcements .announcement-copy a {
  color: var(--card-accent);
  border-bottom-color: var(--card-accent-soft);
}

body.home-page .announcements .announcement-copy a:hover {
  color: var(--card-text);
  border-bottom-color: var(--card-accent);
}

/* -------------------------------------------------------------------------
   Final visual refinement — organic Panhellenics backdrop + lighter mobile
   technology canvas. The content, carousel and administrator data hooks stay
   unchanged; only the visual treatment is adjusted.
   ------------------------------------------------------------------------- */
body.home-page .lectio-success-section {
  min-height: clamp(560px, 54vw, 760px);
  background:
    radial-gradient(ellipse at 5% 19%, rgba(0, 232, 135, .31) 0 0, rgba(0, 232, 135, .18) 12%, transparent 29%),
    radial-gradient(ellipse at 97% 34%, rgba(49, 183, 255, .32) 0 0, rgba(49, 183, 255, .14) 14%, transparent 31%),
    radial-gradient(circle at 71% 11%, rgba(255, 136, 76, .94) 0 2px, transparent 3px),
    radial-gradient(circle at 81% 22%, rgba(247, 201, 74, .92) 0 3px, transparent 4px),
    radial-gradient(circle at 23% 76%, rgba(49, 183, 255, .85) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 84%, rgba(0, 232, 135, .8) 0 3px, transparent 4px),
    linear-gradient(118deg, #021b24 0%, #05172d 39%, #0d3863 70%, #072342 100%);
}

/* Large soft shapes replace the previous mirrored circular fireworks. */
body.home-page .lectio-success-section::before,
body.home-page .lectio-success-section::after {
  -webkit-mask-image: none;
  mask-image: none;
  border-radius: 50%;
  filter: blur(.2px);
}

body.home-page .lectio-success-section::before {
  top: -108px;
  left: 4%;
  width: 255px;
  height: 255px;
  background: radial-gradient(circle at 58% 58%, rgba(0, 232, 135, .24), rgba(0, 232, 135, .08) 55%, transparent 72%);
  opacity: .9;
}

body.home-page .lectio-success-section::after {
  right: -126px;
  bottom: -132px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle at 30% 35%, rgba(49, 183, 255, .22), rgba(49, 183, 255, .07) 52%, transparent 73%);
  opacity: .92;
}

/* Each streamer has its own geometry; none is mirrored from the other side. */
body.home-page .success-party-streamer-left {
  top: 12px;
  left: -62px;
  width: 148px;
  height: 274px;
  border-width: 8px;
  border-right-color: #ff884c;
  border-bottom-color: #31b7ff;
  border-radius: 37% 63% 71% 29% / 22% 35% 65% 78%;
  transform: rotate(17deg) skewY(-4deg);
  opacity: .82;
}

body.home-page .success-party-streamer-right {
  top: 26px;
  right: -72px;
  width: 174px;
  height: 292px;
  border-width: 8px;
  border-left-color: #00e887;
  border-bottom-color: #f7c94a;
  border-right-color: transparent;
  border-radius: 66% 34% 27% 73% / 21% 68% 32% 79%;
  transform: rotate(-19deg) skewY(7deg);
  opacity: .86;
}

body.home-page .success-party-streamer-low {
  left: 35%;
  bottom: -128px;
  width: 210px;
  height: 248px;
  border-width: 7px;
  border-right-color: #31b7ff;
  border-bottom-color: #ff884c;
  border-left-color: #00e887;
  border-radius: 24% 76% 58% 42% / 63% 31% 69% 37%;
  transform: rotate(-47deg) skewX(-8deg) scale(.72);
  opacity: .6;
}

/* Keep the confetti and fireworks lively, but place them asymmetrically. */
body.home-page .success-party-firework-one {
  width: 190px;
  height: 190px;
  top: 25%;
  left: -46px;
  transform: scale(.58) rotate(26deg);
}

body.home-page .success-party-firework-two {
  width: 176px;
  height: 176px;
  top: 48%;
  right: -64px;
  transform: scale(.52) rotate(-41deg);
}

body.home-page .success-party-firework-three {
  width: 146px;
  height: 146px;
  bottom: 5%;
  left: 19%;
  transform: scale(.46) rotate(8deg);
}

body.home-page .success-party-firework::before,
body.home-page .success-party-firework::after {
  content: "";
  position: absolute;
  inset: 25%;
  border: 1px solid var(--burst-color);
  border-radius: 50%;
  opacity: .55;
}

body.home-page .success-party-firework::after {
  inset: 39%;
  border-width: 2px;
  background: #fff;
  box-shadow: 0 0 16px var(--burst-color);
  opacity: .9;
}

@media (max-width: 760px) {
  /* Mobile: preserve the Lectio palette but remove the heavy canvas effect. */
  body.home-page .lectio-tech-wrap {
    background:
      radial-gradient(circle at 12% 8%, rgba(0, 232, 135, .13), transparent 30%),
      radial-gradient(circle at 88% 76%, rgba(49, 183, 255, .16), transparent 32%),
      linear-gradient(180deg, #0c3554 0%, #0d5870 100%);
  }

  body.home-page .lectio-success-section {
    min-height: 0;
    background:
      radial-gradient(ellipse at 0% 14%, rgba(0, 232, 135, .22), transparent 35%),
      radial-gradient(ellipse at 100% 72%, rgba(49, 183, 255, .23), transparent 38%),
      linear-gradient(144deg, #031b28 0%, #082746 53%, #0d5270 100%);
  }

  body.home-page .lectio-tech-network {
    height: 106%;
    top: -2%;
    opacity: .24;
  }

  body.home-page .lectio-tech-wire {
    stroke: rgba(151, 229, 255, .56);
    stroke-width: 1.35;
    stroke-dasharray: 10 22;
    filter: none;
  }

  body.home-page .lectio-tech-wire-accent {
    stroke: rgba(133, 255, 205, .58);
  }

  body.home-page .lectio-tech-node {
    opacity: .42;
    filter: none;
  }

  body.home-page .lectio-tech-wrap .lectio-system-grid,
  body.home-page .lectio-tech-wrap .lectio-system-orbit {
    opacity: .18;
  }

  body.home-page .lectio-system-heading h2,
  body.home-page .lectio-android-copy h2 {
    letter-spacing: -.045em;
  }

  body.home-page .lectio-system-panel,
  body.home-page .lectio-android-guide {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(7, 33, 57, .38);
    box-shadow: 0 14px 32px rgba(1, 16, 34, .14), inset 0 1px 0 rgba(255, 255, 255, .11);
    backdrop-filter: blur(5px);
  }

  body.home-page .lectio-feature-card {
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
  }

  body.home-page .lectio-feature-card:hover {
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 10px 22px rgba(1, 16, 34, .14);
  }

  body.home-page .success-party-streamer-left {
    top: 24px;
    left: -104px;
    transform: rotate(22deg) scale(.68) skewY(-4deg);
    opacity: .55;
  }

  body.home-page .success-party-streamer-right {
    top: 56px;
    right: -112px;
    transform: rotate(-24deg) scale(.62) skewY(7deg);
    opacity: .58;
  }

  body.home-page .success-party-streamer-low {
    left: 39%;
    bottom: -126px;
    transform: rotate(-54deg) scale(.42) skewX(-8deg);
  }

  body.home-page .success-party-firework-one {
    left: -116px;
    transform: scale(.36) rotate(26deg);
  }

  body.home-page .success-party-firework-two {
    right: -126px;
    transform: scale(.34) rotate(-41deg);
  }

  body.home-page .success-party-firework-three {
    left: 8%;
    bottom: 7%;
    transform: scale(.28) rotate(8deg);
  }
}
