/* Homepage reference refinement: compact light banner + two-category course cards. */
body.mathcourse-site .mc-home-hero{background:#fff;color:#14213a;border-bottom:1px solid #e5edf6;position:relative;overflow:hidden}
body.mathcourse-site .mc-home-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 80%,rgba(79,174,255,.10),transparent 25%),radial-gradient(circle at 92% 10%,rgba(55,125,255,.07),transparent 26%);opacity:1}
body.mathcourse-site .mc-home-hero__inner{min-height:150px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(470px,.92fr);align-items:center;gap:24px;padding:15px 0 14px;position:relative;z-index:1}
body.mathcourse-site .mc-home-hero__copy{padding:0;max-width:680px}
body.mathcourse-site .mc-kicker{padding:3px 9px;font-size:10px;color:#2168d8;background:#eaf3ff;border:1px solid #c5ddff}
body.mathcourse-site .mc-kicker span{background:#3b82f6}
body.mathcourse-site .mc-home-hero h1{color:#15223a;font-size:clamp(28px,3vw,40px);line-height:1.08;letter-spacing:-.045em;margin:8px 0 5px}
body.mathcourse-site .mc-home-hero h1 strong{color:#315cf6}
body.mathcourse-site .mc-home-hero__copy>p{color:#53657c;max-width:650px;font-size:11px;line-height:1.5;margin:0}
body.mathcourse-site .mc-home-hero__actions{margin-top:8px}
body.mathcourse-site .mc-btn--primary{background:#2168f3;box-shadow:0 5px 12px rgba(33,104,243,.17)}
body.mathcourse-site .mc-btn--ghost{color:#31506f;background:#fff;border-color:#cad8e9}
body.mathcourse-site .mc-home-trust{margin-top:7px;padding-top:6px;border-top:1px solid #dfe8f2}
body.mathcourse-site .mc-home-trust span{background:#fff;border:1px solid #dce5ef;color:#52657d}
body.mathcourse-site .mc-home-hero__visual{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:center}
body.mathcourse-site .mc-home-hero__visual .mc-hero-subject{position:static!important;width:auto!important;height:105px!important;min-height:105px!important;max-height:105px!important;margin:0!important;padding:8px 6px;border-radius:13px;border:1px solid #d9e6f4;background:#fff;box-shadow:0 6px 15px rgba(35,72,115,.07);display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
body.mathcourse-site .mc-home-hero__visual .mc-hero-subject:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(35,72,115,.12)}
body.mathcourse-site .mc-home-hero__visual .mc-hero-subject strong{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:17px;line-height:1;margin-bottom:5px}
body.mathcourse-site .mc-home-hero__visual .mc-hero-subject small{font-size:12px;font-weight:800;color:#17243a;line-height:1.2}
body.mathcourse-site .mc-home-hero__visual .mc-hero-subject em{font-style:normal;font-size:8px;margin-top:4px;padding:2px 5px;border-radius:999px;white-space:nowrap}
body.mathcourse-site .mc-hero-subject--algebra{border-color:#cfe2ff!important}.mc-hero-subject--algebra strong{background:linear-gradient(135deg,#138eea,#0074cf)}.mc-hero-subject--algebra em{color:#2168d8;background:#eef6ff}
body.mathcourse-site .mc-hero-subject--geometry{border-color:#c9f0dc!important}.mc-hero-subject--geometry strong{background:linear-gradient(135deg,#06b58c,#00a77e)}.mc-hero-subject--geometry em{color:#07946f;background:#ebfbf5}
body.mathcourse-site .mc-hero-subject--function{border-color:#ead9ff!important}.mc-hero-subject--function strong{background:linear-gradient(135deg,#8b46ee,#7540e8)}.mc-hero-subject--function em{color:#7441dc;background:#f6efff}
body.mathcourse-site .mc-hero-subject--supplementary{border-color:#f5df9e!important}.mc-hero-subject--supplementary strong{background:linear-gradient(135deg,#ff9414,#ff7a00)}.mc-hero-subject--supplementary em{color:#a96a00;background:#fff7df}
body.mathcourse-site .mc-home-system{padding:38px 0 46px;background:#f7f9fc}
body.mathcourse-site .mc-home-section-title{display:flex;align-items:center;gap:14px;margin-bottom:17px}
body.mathcourse-site .mc-home-section-title h2{font-size:25px;color:#17243a;margin:0;white-space:nowrap}
body.mathcourse-site .mc-home-section-title h2 span{width:7px;height:23px;background:#2563eb;margin-right:8px}
body.mathcourse-site .mc-home-section-title p{margin:0;color:#63748b;font-size:12px}
body.mathcourse-site .mc-home-category-tabs{display:flex;gap:10px;margin-bottom:18px}
body.mathcourse-site .mc-home-category-tabs>a,body.mathcourse-site .mc-home-category-tabs>button{font:inherit;cursor:pointer;display:flex;align-items:center;gap:8px;padding:11px 20px;border-radius:15px;border:1px solid #d9e4f1;background:#fff;color:#27364e;font-size:15px;font-weight:700;box-shadow:0 4px 12px rgba(45,73,110,.04)}
body.mathcourse-site .mc-home-category-tabs>button{appearance:none}
body.mathcourse-site .mc-home-category-tabs>button small{padding:3px 8px;border-radius:999px;background:#eef3fa;color:#5b6b80;font-size:10px;font-weight:600}
body.mathcourse-site .mc-home-category-tabs>button.is-active{background:#2168f3;color:#fff;border-color:#2168f3;box-shadow:0 9px 20px rgba(33,104,243,.17)}
body.mathcourse-site .mc-home-category-tabs>button.is-active small{background:rgba(255,255,255,.18);color:#fff}
body.mathcourse-site .mc-home-category-tabs>button:nth-child(2){border-color:#f1c84a;background:#fffaf0;color:#7b4a00}
body.mathcourse-site .mc-home-category-tabs>button:nth-child(2).is-active{background:#f5ad16;border-color:#f5ad16;color:#fff;box-shadow:0 9px 20px rgba(245,173,22,.18)}
body.mathcourse-site .mc-home-category-tabs>button:nth-child(2).is-active small{color:#fff;background:rgba(255,255,255,.18)}
body.mathcourse-site .mc-home-course-display .mc-course-filter,body.mathcourse-site .mc-home-course-display .mc-course-grade-filter{display:none!important}
body.mathcourse-site .mc-home-course-display .mathcourse-center__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.mathcourse-site .mc-home-course-display .mathcourse-center__card{background:#fff;border:1px solid #e1e9f3;border-radius:16px;overflow:hidden;box-shadow:0 7px 20px rgba(40,70,110,.06);transition:transform .18s ease,box-shadow .18s ease}
body.mathcourse-site .mc-home-course-display .mathcourse-center__card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(40,70,110,.10)}
body.mathcourse-site .mc-home-course-display .mathcourse-center__cover{display:block;aspect-ratio:16/8;overflow:hidden;background:#edf4ff}
body.mathcourse-site .mc-home-course-display .mathcourse-center__cover img,.mc-home-course-display .mathcourse-center__cover-placeholder{width:100%;height:100%;object-fit:cover}
body.mathcourse-site .mc-home-course-display .mathcourse-center__body{padding:15px 16px 17px}
body.mathcourse-site .mc-home-course-display .mathcourse-center__title{font-size:18px;margin:8px 0 13px;color:#17243a}
body.mathcourse-site .mc-home-course-display .mathcourse-center__button{font-size:13px}
body.mathcourse-site .mc-home-why{display:none!important}
body.mathcourse-site .mc-home-teacher{padding:50px 0 60px;background:#fff}
@media (max-width:1050px){body.mathcourse-site .mc-home-hero__inner{grid-template-columns:1fr;gap:18px}.mc-home-hero__copy{max-width:none!important}.mc-home-hero__visual{max-width:700px}}
@media (max-width:900px){body.mathcourse-site .mc-home-course-display .mathcourse-center__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){body.mathcourse-site .mc-home-hero__inner{min-height:0;padding:16px 0}.mc-home-hero h1{font-size:31px!important}.mc-home-hero__visual{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mc-home-hero__visual .mc-hero-subject{height:88px!important;min-height:88px!important;max-height:88px!important}.mc-home-system{padding:30px 0 38px!important}.mc-home-section-title{align-items:flex-start!important;flex-direction:column;gap:7px}.mc-home-category-tabs{gap:8px!important}.mc-home-category-tabs>button{padding:10px 13px!important;font-size:14px!important}.mc-home-course-display .mathcourse-center__grid{grid-template-columns:1fr!important;gap:13px!important}.mc-home-teacher{padding:42px 0 50px!important}}
