.home-page {
  background: #fff;
  color: #17223b;
}
.home-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}
.home-hero {
  position: relative;
  overflow: hidden;
  background: #faf7f0;
  border-bottom: 1px solid #e8e2d7;
}
.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-top: 142px;
  padding-bottom: 76px;
}
.home-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: #10284d;
}
.home-kicker,
.home-eyebrow {
  display: inline-block;
  color: #096f65;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #416457;
  margin-bottom: 24px;
  font-size: .7rem;
  letter-spacing: .11em;
}
.home-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #2f876b; }
.home-hero h1 {
  margin: 0 0 24px;
  color: #10284d;
  font-size: clamp(2.75rem, 4.6vw, 4.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.055em;
}
.home-hero h1 > span {
  color: #bf4b32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.home-hero-lead {
  max-width: 490px;
  margin: 0 0 30px;
  color: #596779;
  font-size: 1.08rem;
  line-height: 1.75;
}
.home-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 7px 7px 18px;
  border: 1px solid #e2ddd4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 47, 66, .055);
}
.home-search:focus-within { border-color: #bf4b32; box-shadow: 0 0 0 3px rgba(191, 75, 50, .13); }
.home-search-icon { color: #8a948f; }
.home-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 4px;
  min-height: 44px;
  color: #17223b;
  background: transparent;
}
.home-search input::placeholder {
  color: #647186;
}
.home-search button,
.home-btn {
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}
.home-search button {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 9px;
  background: #b94730;
  color: #fff;
  white-space: nowrap;
}
.home-search button span { margin-left: 8px; font-size: 1.1rem; }
.home-search button:hover {
  background: #9c3824;
}
.home-hero :is(a, button):focus-visible { outline: 3px solid #10284d; outline-offset: 4px; }
.home-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.home-hero-links > span { color: #66725f; font-size: .8rem; margin-right: 2px; }
.home-hero-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #e6e1d7;
  border-radius: 30px;
  color: #45564c;
  background: #f3f0e8;
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
}
.home-hero-links a:hover { background: #e7eddf; border-color: #cbd7bf; }
.home-hero-support { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.home-hero-support a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: #10284d; font-weight: 700; text-decoration: none; }
.home-hero-support a:hover { color: #b94730; }
.home-hero-support a > span { font-size: 1.1rem; }
.home-hero-visual { position: relative; min-width: 0; padding: 14px 0 22px; }
.home-hero-orbit {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  top: -28px;
  right: -48px;
  border: 1px solid #e4ddc9;
  border-radius: 50%;
  pointer-events: none;
}
.home-hero-orbit::after { content: ""; position: absolute; top: 24px; right: 75px; width: 14px; height: 14px; border-radius: 50%; background: #d8b773; }
.home-hero-photo {
  position: relative;
  aspect-ratio: 1.12;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 28px 28px 92px 28px;
  box-shadow: 0 22px 48px rgba(33, 54, 52, .1);
  background: #d8e1d3;
}
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.home-hero-photo::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7, 23, 42, .88)); pointer-events: none; }
.home-hero-photo-caption { position: absolute; z-index: 1; bottom: 42px; left: 28px; right: 24px; color: #fff; }
.home-hero-photo-caption > span { color: #ead59e; text-transform: uppercase; font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.home-hero-photo-caption p { max-width: 290px; margin: 9px 0 0; font-size: 1.65rem; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.home-hero-note {
  position: absolute;
  top: -8px;
  left: -24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 12px);
  padding: 15px 20px 15px 14px;
  border: 1px solid #e8e5db;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(28, 40, 38, .08);
}
.home-hero-note-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; color: #765722; background: #f7e8c3; }
.home-hero-note strong { display: block; color: #193c35; font-size: .82rem; font-weight: 700; }
.home-hero-note div > span { display: block; margin-top: 4px; color: #667160; font-size: .73rem; }
.home-hero-live { position: absolute; bottom: 0; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 12px); min-height: 48px; padding: 13px 18px; border: 1px solid #d7e6d8; border-radius: 12px; color: #244e41; background: #e8f1e5; font-size: .78rem; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(28, 40, 38, .07); }
.home-hero-live:hover { color: #244e41; background: #d9e8d4; }
.home-hero-live-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #4e8968; }
body.frontend-site.home-page .main-navbar {
  background: rgba(250, 247, 240, .97) !important;
  border-color: #e8e2d7 !important;
  box-shadow: none;
}
body.frontend-site.home-page .main-navbar > .container { width: min(1280px, calc(100% - 40px)); max-width: none; min-height: 84px; padding: 0; }
body.frontend-site.home-page .main-navbar .navbar-brand,
body.frontend-site.home-page .main-navbar .nav-link { color: #10284d !important; text-shadow: none; }
body.frontend-site.home-page .main-navbar .nav-link.active,
body.frontend-site.home-page .main-navbar .nav-link:hover { color: #b94730 !important; }
body.frontend-site.home-page .main-navbar .navbar-toggler { color: #10284d; border-color: #d7d5cd; background: #fff; }
body.frontend-site.home-page .main-navbar .navbar-brand::after { background: #c4a566; }
.home-stats {
  background: #fffdf8;
  color: #10284d;
  border-bottom: 1px solid #ece8df;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(340px, 1.45fr);
  min-height: 100px;
}
.home-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px clamp(16px, 2.5vw, 32px);
  border-right: 1px solid #ece8df;
}
.home-stat strong {
  font-size: 1.65rem;
  line-height: 1;
}
.home-stat span {
  margin-top: 6px;
  color: #647362;
  font-size: .8rem;
  font-weight: 500;
}
.home-stat-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: center;
  border-right: 0;
  background: #f3f5ec;
}
.home-stat-action span {
  max-width: 430px;
  margin-top: 0;
  color: #385443;
  font-size: .82rem;
  line-height: 1.42;
  font-weight: 600;
}
.home-stat-action a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 10px 16px;
  border-radius: 6px;
  background: #17223b;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}
.home-stat-action a:hover {
  color: #fff;
  background: #0f1a2d;
}
.home-section {
  padding: 88px 0;
}
.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}
.home-section-heading-compact {
  grid-template-columns: 1fr auto;
}
.home-section-heading h2,
.home-instructor-band h2 {
  margin: 7px 0 0;
  color: #17223b;
  font-size: 3rem;
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: 0;
}
.home-section-heading p {
  margin: 0;
  color: #68748c;
  font-size: 1.05rem;
  line-height: 1.7;
}
.home-text-link {
  color: #096f65;
  font-weight: 800;
  text-underline-offset: 4px;
}
.home-paths-section,
.home-courses-section {
  background: #fff;
}
.home-path-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.home-path {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #17223b;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-path:hover {
  color: #17223b;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(32, 45, 74, 0.12);
}
.home-path-sky { background: #e4f3ff; border-color: #b9ddf8; }
.home-path-coral { background: #ffebe6; border-color: #ffc8bd; }
.home-path-mint { background: #dff7ed; border-color: #ade4cf; }
.home-path-yellow { background: #fff4bf; border-color: #f1d875; }
.home-path-rose { background: #ffe9f0; border-color: #f4bfd0; }
.home-path-violet { background: #ece7ff; border-color: #cbc0fb; }
.home-path-index {
  font-size: 0.78rem;
  font-weight: 850;
  color: #5f6c84;
}
.home-path h3,
.home-category h3,
.home-course-card h3 {
  letter-spacing: 0;
}
.home-path h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 850;
}
.home-path p {
  margin: 0;
  color: #526078;
  line-height: 1.55;
}
.home-path-meta {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.home-categories-section {
  background: #f4f7fb;
}
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-category {
  min-height: 128px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  color: #17223b;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.home-category:hover {
  color: #17223b;
  transform: translateY(-3px);
  border-color: #9dabc0;
}
.home-category-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 850;
}
.home-category h3 {
  margin: 1px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}
.home-category p {
  margin: 0;
  color: #6d7890;
  font-size: 0.88rem;
}
.home-category-tone-0 .home-category-number { background: #d9efff; color: #075f9d; }
.home-category-tone-1 .home-category-number { background: #ffe3dc; color: #a73525; }
.home-category-tone-2 .home-category-number { background: #d8f4e8; color: #087263; }
.home-category-tone-3 .home-category-number { background: #fff0ad; color: #765a00; }
.home-category-tone-4 .home-category-number { background: #ffe0ea; color: #9b3155; }
.home-category-tone-5 .home-category-number { background: #e6e1ff; color: #5544a5; }
.home-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home-course-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(24, 40, 72, 0.11);
}
.home-course-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe9f7;
}
.home-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.home-course-card:hover .home-course-media img {
  transform: scale(1.025);
}
.home-course-media > span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  background: #ffd84d;
  color: #17223b;
  font-size: 0.76rem;
  font-weight: 850;
}
.home-course-body {
  padding: 21px;
}
.home-course-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #768198;
  font-size: 0.78rem;
  font-weight: 700;
}
.home-course-card h3 {
  margin: 13px 0 9px;
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 850;
}
.home-course-card h3 a {
  color: #17223b;
  text-decoration: none;
}
.home-course-card p {
  min-height: 66px;
  margin: 0;
  color: #68748c;
  line-height: 1.55;
}
.home-course-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f4;
}
.home-course-price strong {
  color: #08766a;
  font-size: 1.2rem;
}
.home-course-price del {
  display: block;
  color: #8993a6;
  font-size: 0.78rem;
}
.home-course-footer > a {
  color: #e84933;
  font-weight: 800;
}
.home-empty-state {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}
.home-empty-state a {
  color: #096f65;
  font-weight: 800;
}
.home-marketplace-section {
  background: #fff;
}
.home-marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.home-marketplace-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #17223b;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-marketplace-card:hover {
  color: #17223b;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(24, 40, 72, 0.12);
}
.home-marketplace-chip {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.68);
  color: #17223b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.home-marketplace-card h3,
.home-olympiad-card h3,
.home-prep-step h3 {
  letter-spacing: 0;
}
.home-marketplace-card h3 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
  font-weight: 850;
}
.home-marketplace-card p {
  margin: 0;
  color: #526078;
  line-height: 1.6;
}
.home-marketplace-coral { background: #ffebe6; border-color: #ffc8bd; }
.home-marketplace-mint { background: #dff7ed; border-color: #ade4cf; }
.home-marketplace-sky { background: #e4f3ff; border-color: #b9ddf8; }
.home-marketplace-yellow { background: #fff4bf; border-color: #f1d875; }
.home-olympiad-section {
  background: #10284d;
  color: #fff;
  border-top: 10px solid #ffd84d;
  border-bottom: 10px solid #ff5d45;
}
.home-olympiad-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}
.home-olympiad-copy {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  padding-right: 34px;
}
.home-olympiad-copy h2 {
  margin: 9px 0 0;
  color: #fff;
  font-size: 3.25rem;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}
.home-olympiad-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #c9d5e9;
  font-size: 1.08rem;
  line-height: 1.68;
}
.home-olympiad-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.home-olympiad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.home-olympiad-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, background 0.18s ease;
}
.home-olympiad-card:hover {
  color: #fff;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
}
.home-olympiad-card span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 5px;
  background: #ffd84d;
  color: #17223b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.home-olympiad-card h3 {
  margin: 28px 0 10px;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 850;
}
.home-olympiad-card p {
  margin: 0;
  color: #d7e2f4;
  line-height: 1.55;
}
.home-olympiad-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-prep-step {
  min-height: 150px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  color: #17223b;
}
.home-prep-step > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ffebe6;
  color: #a73525;
  font-weight: 900;
}
.home-prep-step h3 {
  margin: 16px 0 7px;
  font-size: 1rem;
  font-weight: 850;
}
.home-prep-step p {
  margin: 0;
  color: #5f6c84;
  font-size: 0.9rem;
  line-height: 1.52;
}
.home-instructor-band {
  padding: 76px 0;
  background: #10284d;
  color: #fff;
  border-top: 10px solid #ff5d45;
}
.home-instructor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 64px;
  align-items: center;
}
.home-eyebrow-light {
  color: #ffd84d;
}
.home-instructor-band h2 {
  color: #fff;
  max-width: 760px;
}
.home-instructor-band p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #c9d5e9;
  font-size: 1.08rem;
  line-height: 1.65;
}
.home-instructor-actions {
  display: grid;
  gap: 12px;
}
.home-btn {
  display: block;
  padding: 14px 18px;
  text-align: center;
}
.home-btn-yellow {
  background: #ffd84d;
  color: #17223b;
}
.home-btn-yellow:hover {
  color: #17223b;
  background: #ffc91f;
}
.home-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.home-btn-outline:hover {
  color: #fff;
  border-color: #fff;
}
.home-page .site-footer {
  margin-top: 0 !important;
}
@media (max-width: 1100px) {
  .home-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-category-grid,
  .home-marketplace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .home-shell,
  .home-hero-shell { width: min(100% - 28px, 1280px); }
  .home-hero-shell { grid-template-columns: 1fr; gap: 44px; padding-top: 122px; padding-bottom: 48px; }
  .home-hero-copy { max-width: 620px; margin: 0 auto; width: 100%; }
  .home-hero h1 { font-size: clamp(3rem, 7vw, 4.25rem); }
  .home-hero-visual { width: min(600px, 100%); margin: 0 auto; }
  .home-hero-photo { aspect-ratio: 1.55; }
  .home-hero-note { left: 14px; }
  .home-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-stat:nth-child(3) { border-right: 0; }
  .home-stat-action { grid-column: 1 / -1; border-top: 1px solid #ece8df; }
  body.frontend-site.home-page .main-navbar > .container { min-height: 76px; }
  .home-section-heading,
  .home-instructor-grid,
  .home-olympiad-layout { grid-template-columns: 1fr; gap: 22px; }
  .home-olympiad-copy { grid-row: auto; min-height: 0; padding-right: 0; }
  .home-olympiad-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-instructor-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .home-shell,
  .home-hero-shell { width: calc(100% - 32px); }
  .home-hero-shell { gap: 36px; padding-top: 108px; padding-bottom: 34px; }
  .home-kicker { font-size: .6rem; letter-spacing: .08em; margin-bottom: 18px; }
  .home-hero h1 { font-size: clamp(2.15rem, 9.7vw, 3.75rem); margin-bottom: 20px; }
  .home-hero-lead { font-size: .96rem; margin-bottom: 24px; line-height: 1.7; }
  .home-search { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 5px; padding-left: 12px; }
  .home-search-icon { width: 18px; }
  .home-search input { font-size: .8rem; }
  .home-search button { padding: 12px; font-size: .76rem; }
  .home-search button span { margin-left: 3px; }
  .home-hero-links { gap: 6px; }
  .home-hero-links a { padding: 6px 10px; }
  .home-hero-support { gap: 10px 22px; margin-top: 16px; font-size: .79rem; }
  .home-hero-visual { padding-top: 14px; }
  .home-hero-photo { aspect-ratio: 1.18; border-width: 6px; border-radius: 22px 22px 60px 22px; }
  .home-hero-photo-caption { left: 20px; bottom: 32px; }
  .home-hero-photo-caption p { max-width: 250px; font-size: 1.4rem; }
  .home-hero-note { padding: 10px 12px; gap: 10px; border-radius: 12px; }
  .home-hero-note-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
  .home-hero-note strong { font-size: .7rem; }
  .home-hero-note div > span { font-size: .65rem; }
  .home-hero-live { right: 12px; padding: 12px; font-size: .68rem; gap: 8px; }
  .home-stat { min-height: 92px; padding: 18px 10px; }
  .home-stat strong { font-size: 1.4rem; }
  .home-stat span { font-size: .68rem; }
  .home-stat-action { min-height: 100px; gap: 12px; }
  .home-stat-action span { font-size: .78rem; }
  .home-stat-action a { padding: 10px 12px; font-size: .7rem; }
  body.frontend-site.home-page .main-navbar > .container { width: calc(100% - 32px); min-height: 72px; }
  .home-path-grid,
  .home-category-grid,
  .home-marketplace-grid,
  .home-olympiad-grid,
  .home-olympiad-flow,
  .home-course-grid,
  .home-instructor-actions,
  .home-olympiad-actions { grid-template-columns: 1fr; }
  .home-section { padding: 64px 0; }
  .home-section-heading-compact { grid-template-columns: 1fr; align-items: start; }
  .home-section-heading { gap: 16px; margin-bottom: 26px; }
  .home-section-heading h2,
  .home-olympiad-copy h2,
  .home-instructor-band h2 { font-size: 2.25rem; }
  .home-path { min-height: 215px; }
  .home-course-card p { min-height: 0; }
  .home-empty-state { flex-direction: column; }
  .home-instructor-band { padding: 62px 0; }
}
@media (max-width: 360px) {
  .home-search { grid-template-columns: 18px minmax(0, 1fr); padding: 7px 10px; }
  .home-search button { grid-column: 1 / -1; }
  .home-stat-action { grid-template-columns: 1fr; }
}

