/* Shared ink-and-glass theme, scoped to the redesigned pages only. */
.home-page {
  --bg: #000; --panel-solid: #030408;
  --display-font: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  --line: rgba(255,130,65,.19);
  background:
    radial-gradient(ellipse at 12% 20%, rgba(7,25,60,.26), transparent 42%),
    radial-gradient(ellipse at 88% 44%, rgba(36,13,63,.20), transparent 39%),
    linear-gradient(145deg, #000 0%, #02050d 28%, #000 53%, #06030c 77%, #000 100%);
}
.home-page::before, .home-page::after { opacity: .32; }
.home-page :is(.hero-premium,.hero-card,.panel,.card,.choice-card,.home-entry,.home-welcome,.home-contact,.review-card,.price-panel,.summary-metric,.author-strip) {
  background: linear-gradient(125deg, rgba(13,23,42,.20), rgba(0,0,0,.58) 58%, rgba(29,13,43,.12));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 22px 64px rgba(0,0,0,.38);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
}
.home-page .topbar { background: rgba(0,0,0,.64); border-color: var(--line); }
.home-page :is(.btn-primary,.btn-secondary,.lang-chip.active,.home-motion-toggle,.site-guide-launcher) { border-color: rgba(255,135,70,.30); }
.home-page .home-topics { border-color: var(--line); }
.home-page .hero-premium::after { opacity: .5; height: 1px; }
.home-page :is(h1,h2,h3) {
  font-family: var(--display-font); font-weight: 500; font-synthesis: none;
  font-style: normal; letter-spacing: -.025em; line-height: 1.25; overflow-wrap: anywhere;
}
.home-page .hero-premium .hero-text h1 { font-size: clamp(2.5rem,4.7vw,4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.18; padding: 0 0 .15em; }
.home-page h2, .home-page .lessons-header h2 { font-size: clamp(1.8rem,3vw,2.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; }
.home-page :is(.card,.choice-card,.list-item,.author-strip,.review-card) h3,
.home-page .home-entry h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.home-page .hero-tension { background: rgba(255,106,19,.035); border-color: rgba(255,130,65,.28); }
.home-page .section-header { align-items: start; }
.home-page .lessons-header { max-width: 880px; }
.home-page .hero-aside { min-width: 0; }
.home-page .hero-aside .home-scene { min-height: 220px; max-height: 330px; }
.home-page .course-diagram { max-width: 340px; margin: 10px auto 30px; }
.home-page .course-diagram .home-scene { min-height: 220px; max-height: 250px; }
.home-page :is(.metric,.summary-metric) strong { font-family: var(--heading-font); }
.home-page .hero-card.hero-text { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; padding: 0; }
.home-page .hero-card.hero-aside { padding: 22px; }
.home-page :is(.card,.choice-card) { min-width: 0; }
.home-page :is(.panel,.price-panel,.card,.choice-card) p { font-size: max(1rem,16px); }
.home-page .site-visit-counter { grid-column: 1; grid-row: 3; }
@media (max-width:600px) {
  .home-page .hero-premium .hero-text h1 { font-size: clamp(2rem,8.2vw,3rem); }
  .home-page :is(h2,.lessons-header h2) { font-size: 1.875rem; }
  .home-page .hero-card.hero-aside { padding: 18px; }
  .home-page .reviews-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-transparency:reduce) {
  .home-page :is(.hero-premium,.hero-card,.panel,.card,.choice-card,.home-entry,.home-welcome,.home-contact,.review-card,.price-panel,.summary-metric,.author-strip,.topbar) { background: #030408; backdrop-filter: none; }
}
