/* Reference layout variant. Brand foundations and lower sections are shared. */
.fr-hero{height:336px;position:relative;isolation:isolate;overflow:hidden}
.fr-hero picture{position:absolute;inset:0;z-index:-2}
.fr-hero-photo{width:100%;height:100%;object-fit:cover;object-position:center 54%}
.fr-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.78) 21%,rgba(255,255,255,.22) 44%,transparent 63%)}
.fr-hero-copy{padding-top:5px;max-width:1220px}
.fr-hero .lf-breadcrumb{padding-block:24px 18px;color:#526078}
.fr-hero h1{font-size:48px;line-height:1.5;font-weight:900;letter-spacing:.025em;margin-bottom:10px}
.fr-hero-copy>p{font-size:17px;line-height:1.75;font-weight:500}
.fr-introduction{background:#f5f7fa;padding-bottom:32px;display:flow-root}
.fr-overview,.fr-reasons,.fr-recommend{max-width:1300px}
.fr-overview{position:relative;z-index:2;margin-top:-26px;border-radius:8px;background:#fff;box-shadow:0 5px 24px #07133d0a;padding:22px 10px}
.fr-overview ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.fr-overview li+li{border-left:1px solid var(--line)}
.fr-overview a{display:flex;align-items:center;justify-content:center;gap:15px;min-height:66px;padding:0 14px}
.fr-fact-icon{width:67px;height:67px;flex:none;background:#f5f7fa;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--coral)}
.fr-fact-icon svg{width:40px;height:40px}
.fr-overview strong{display:block;font-size:15px;line-height:1.6;font-weight:900}
.fr-overview p{font-size:13px;line-height:1.65;font-weight:400;color:var(--muted);margin-top:3px}
.fr-section-heading{text-align:center;margin:26px 0 6px}
.fr-section-heading>p{font-size:13px;letter-spacing:.07em;color:var(--coral);font-weight:700;margin-bottom:1px;line-height:1.3}
.fr-section-heading h2{font-size:30px;line-height:1.4;font-weight:900}
.fr-title-count{color:var(--coral);font-size:1.25em;padding-inline:.12em;line-height:1}
.fr-section-heading>div{font-size:13px;line-height:1.5;color:var(--muted);font-weight:400;margin-top:4px}
.fr-reason-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fr-reason{display:grid;grid-template-columns:50% 50%;position:relative;border-radius:8px;background:#fff;box-shadow:0 3px 16px #07133d04;scroll-margin-top:110px}
.fr-reason-photo{position:relative;min-height:172px;overflow:hidden;border-radius:8px 0 0 8px}
.fr-reason-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fr-reason-teacher img{object-position:center 24%}
.fr-reason-notebook img{object-position:52% center}
.fr-reason-device img{object-position:43% center}
.fr-reason-copy{padding:12px 20px}
.fr-reason h3{font-size:18px;font-weight:900;line-height:1.4;margin-bottom:6px}
.fr-reason p{font-size:14px;line-height:1.6;font-weight:400;color:var(--muted)}
.fr-reason-number{position:absolute;z-index:1;left:4px;top:0;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border:2px solid #fff;border-radius:50%;background:var(--coral);color:#fff;font-size:19px;font-weight:500;box-shadow:0 2px 6px #07133d0c}
.fr-recommend{background:#fff;margin-top:15px;padding:12px 23px 14px;border-radius:8px}
.fr-recommend-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}
.fr-recommend-heading h2{font-size:19px;line-height:1.4;font-weight:900;display:flex;align-items:center;gap:10px}
.fr-recommend-heading h2:before{content:"";height:3px;width:22px;background:var(--coral)}
.fr-recommend-heading .lf-link{font-size:12px;font-weight:500}
.fr-recommend ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.fr-recommend li+li{border-left:1px solid var(--line)}
.fr-recommend li a{display:flex;align-items:center;justify-content:center;gap:15px;padding:0 12px;min-height:50px;font-size:13px;line-height:1.75;font-weight:500}
.fr-recommend svg{width:38px;height:38px;color:var(--coral);flex:none}
.features-reference-page #courses{padding-top:50px}
@media(max-width:1250px) and (min-width:761px){
  .fr-overview{padding:18px 4px}.fr-overview a{gap:10px;padding:0 10px}.fr-fact-icon{width:52px;height:52px}.fr-fact-icon svg{width:32px;height:32px}.fr-overview strong{font-size:13px}.fr-overview p{font-size:11px}
  .fr-reason-copy{padding:14px 16px}.fr-reason h3{font-size:16px}.fr-reason p{font-size:12px}.fr-reason-photo{min-height:180px}
  .fr-recommend{padding-inline:17px}.fr-recommend li a{gap:10px;padding-inline:8px;font-size:11px}.fr-recommend svg{width:32px;height:32px}
}
@media(max-width:1000px) and (min-width:761px){
  .fr-overview ul{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.fr-overview li:nth-child(3){border-left:0}.fr-overview a{justify-content:flex-start;padding-inline:24px}.fr-overview strong{font-size:15px}.fr-overview p{font-size:12px}
  .fr-reason-grid{grid-template-columns:1fr;gap:16px}.fr-reason{grid-template-columns:42% 58%}.fr-reason-photo{min-height:185px}.fr-reason-copy{padding:21px 24px}.fr-reason h3{font-size:20px}.fr-reason p{font-size:14px}
  .fr-recommend ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 0}.fr-recommend li:nth-child(4){border-left:0}.fr-recommend li a{justify-content:flex-start;font-size:12px}
}
@media(max-width:760px){
  .fr-hero{height:auto;overflow:visible;background:#fff;padding-top:210px}
  .fr-hero picture{inset:0 0 auto;height:210px;z-index:0}
  .fr-hero-photo{object-position:right center}
  .fr-hero:after{display:none}
  .fr-hero-copy{padding-top:0;padding-bottom:38px;position:relative}
  .fr-hero .lf-breadcrumb{padding-block:17px 13px;font-size:11px}
  .fr-hero h1{font-size:30px;line-height:1.5;margin-bottom:10px}
  .fr-hero-copy>p{font-size:14px;line-height:1.85}
  .fr-introduction{padding-bottom:28px}
  .fr-overview{margin-top:-17px;padding:17px 11px;box-shadow:0 5px 20px #07133d09}
  .fr-overview ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}
  .fr-overview li:nth-child(3){border-left:0}
  .fr-overview a{gap:8px;flex-direction:column;justify-content:flex-start;align-items:center;min-height:105px;padding:0 8px;text-align:center}
  .fr-fact-icon{width:32px;height:32px}.fr-fact-icon svg{width:26px;height:26px}
  .fr-overview strong{font-size:12px;line-height:1.6}.fr-overview p{font-size:10px;line-height:1.7;margin-top:5px}
  .fr-section-heading{margin:29px 0 21px}
  .fr-section-heading>p{font-size:11px;margin-bottom:5px}
  .fr-section-heading h2{font-size:23px;line-height:1.6;max-width:320px;margin-inline:auto}
  .fr-title-brand,.fr-title-detail{display:block}
  .fr-section-heading>div{font-size:12px;line-height:1.75;margin-top:7px}
  .fr-reason-grid{grid-template-columns:1fr;gap:19px}
  .fr-reason{grid-template-columns:1fr;scroll-margin-top:88px}
  .fr-reason-photo{height:auto;min-height:0;aspect-ratio:2.1;border-radius:8px 8px 0 0}
  .fr-reason-copy{padding:17px 20px 20px}
  .fr-reason h3{font-size:19px;line-height:1.5;margin-bottom:8px}
  .fr-reason p{font-size:14px;line-height:1.85}
  .fr-reason-number{width:40px;height:40px;font-size:17px;left:5px;top:5px}
  .fr-recommend{padding:20px 17px 17px;margin-top:23px}
  .fr-recommend-heading{display:block;margin-bottom:19px}
  .fr-recommend-heading h2{font-size:18px;gap:8px}
  .fr-recommend-heading .lf-link{font-size:11px;margin-top:9px;margin-left:30px}
  .fr-recommend ul{grid-template-columns:1fr;gap:0}
  .fr-recommend li+li{border-left:0;border-top:1px solid var(--line)}
  .fr-recommend li a{justify-content:flex-start;gap:16px;min-height:69px;padding:11px 6px;font-size:13px}
  .fr-recommend li a br{display:none}
  .fr-recommend svg{width:32px;height:32px}
  .features-reference-page #courses{padding-top:37px}
}
@media(max-width:360px){
  .fr-overview{padding-inline:5px}.fr-overview a{padding-inline:6px;gap:6px}.fr-fact-icon{width:26px;height:26px}.fr-fact-icon svg{width:24px;height:24px}.fr-overview strong{font-size:11px}.fr-overview p{font-size:10px}.fr-hero-copy>p{font-size:13px}
}
@media(min-width:541px) and (max-width:760px){
  .fr-reason{grid-template-columns:42% 58%}
  .fr-reason-photo{aspect-ratio:auto;min-height:190px;border-radius:8px 0 0 8px}
  .fr-reason-copy{padding:20px 24px}
}
