/* Initial cover composition from design/concepts/homepage-v2.png. */
h1 { font-weight: 900; }
h2, h3 { font-weight: 800; }
.cover-page { position: relative; isolation: isolate; background: radial-gradient(ellipse at 55% 24%, #fffdf8 0, transparent 62%); }
.cover-page > .home-scenery { position: absolute; inset: 0 0 auto; height: 940px; overflow: hidden; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 4% 65%, #dfe9d580, transparent 35%), radial-gradient(ellipse at 97% 80%, #e9e0ed55, transparent 34%); }
.cover-page > .home-scenery::before, .cover-page > .home-scenery::after { content: ""; position: absolute; inset: 0; }
.cover-page > .home-scenery::before { background: url("/_releases/web-20261120-202422-28b6e4/public/cover/home-meadow-atmosphere-v1.png") center top / cover no-repeat; opacity: .5; mask-image: linear-gradient(180deg, black 0%, black 17%, transparent 48%); }
.cover-page > .home-scenery::after { background: linear-gradient(90deg, #fff9ef55 0%, #fff9efd9 23%, #fff9eff2 61%, #fff9ef77 100%), linear-gradient(180deg, #fff9ef1a 0%, #fff9ef22 48%, #fff9ef 100%); }
.cover-page .cover-welcome { background: radial-gradient(ellipse at 42% 55%, #fffaf388, transparent 72%); }
.cover-page .site-header, .cover-page main, .cover-page .site-footer { width: min(1400px, calc(100% - 64px)); }
.cover-page .site-header { border: 0; padding-block: 18px 12px; flex-wrap: nowrap; gap: 28px; }
.cover-page .brand { display: flex; flex-direction: column; font-size: clamp(1.6rem, 2.45vw, 2.1rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.brand-tagline { color: #8298af; font-size: .85rem; font-weight: 500; letter-spacing: 0; margin-top: 5px; }
.cover-page .brand-spark { color: #ffb544; margin-left: 5px; }
.cover-page .main-nav { gap: 34px; margin-left: 38px; }
.cover-page .main-nav a { font-size: 1rem; font-weight: 700; }
.cover-page .site-header > .button { margin-left: auto; min-width: 108px; }
.cover-page main { padding-block: 0 24px; }
.cover-art { display: block; width: 100%; height: auto; overflow: hidden; mix-blend-mode: multiply; pointer-events: none; }
.cover-lettering { font-family: 'Bad Script', cursive; font-style: normal; font-weight: 400; font-synthesis: none; letter-spacing: 0; }
.cover-illustration .cover-art, .teaser-art .cover-art, .cover-subject .cover-art { mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent), linear-gradient(to bottom, transparent, black 4%, black 96%, transparent); mask-composite: intersect; }
.cover-subject .cover-art { mix-blend-mode: normal; }
.cover-subject.math .cover-art { mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent), linear-gradient(to bottom, transparent, black 2%, black 98%, transparent); }
.cover-subject.russian .cover-art { mask-image: linear-gradient(to right, transparent, black 1%, black 99%, transparent), linear-gradient(to bottom, transparent, black 2%, black 98%, transparent); }
.cover-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 26px; padding-block: 22px 26px; }
.cover-intro { position: relative; z-index: 1; padding: 14px 0 6px; }
.care-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; margin-bottom: 18px; border-radius: 100px; background: #fff0e8; color: #c24f34; font-size: .92rem; font-weight: 600; }
.care-badge > span:first-child { font-size: 1.25rem; line-height: 1; color: #e6835d; }
.cover-hero h1 { font-size: clamp(2.25rem, 3.7vw, 3.3rem); line-height: 1.09; letter-spacing: -.025em; }
.cover-lead { margin-top: 17px; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; font-weight: 700; color: #435b7b; max-width: 600px; }
.cover-illustration { margin: -8px -10px 0; }
.cover-search { margin-top: 22px; }
.cover-search-row { display: flex; align-items: center; gap: 14px; padding: 5px 5px 5px 18px; border: 1.5px solid #c1d0df; border-radius: 18px; background: white; box-shadow: 0 5px 18px rgb(37 50 75 / 6%); }
.cover-search-row:focus-within { border-color: #176e64; box-shadow: 0 0 0 3px rgb(23 110 100 / 18%), 0 5px 18px rgb(37 50 75 / 6%); }
.cover-search-row > svg { flex: 0 0 22px; }
.cover-search-row input { flex: 1; width: 100%; padding: 10px 0; border: 0; border-radius: 6px; background: transparent; font-size: 1rem; }
.cover-search-row input:focus-visible { outline: none; }
.cover-search-row input::placeholder { color: #7c8baa; opacity: 1; }
.cover-search-row > .button { flex: 0 0 122px; min-height: 50px; border-radius: 13px; font-size: 1.1rem; }
.cover-subjects { scroll-margin-top: 16px; }
.cover-subject-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cover-subject { display: flex; flex-direction: column; justify-content: space-between; color: var(--text); text-decoration: none; border-radius: 22px; padding: 22px 18px 14px; border: 1px solid #ffffffaa; box-shadow: 0 7px 18px rgb(37 50 75 / 3%); transition: transform .16s ease, box-shadow .16s ease; }
.cover-subject.math { background: linear-gradient(155deg, #f1f8fa, #e0eff3); }.cover-subject.russian { background: linear-gradient(155deg, #f5f2fc, #e9e3f6); }.cover-subject.reading { background: linear-gradient(155deg, #fff6ed, #f8e8dc); }.cover-subject.world { background: linear-gradient(155deg, #f5f8ee, #e6eedc); }
.cover-subject:hover, .cover-subject:focus-visible { transform: translateY(-4px); box-shadow: 0 10px 22px rgb(37 50 75 / 10%); }
.cover-subject-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 54px; padding-inline: 3px; margin-bottom: 4px; }
.subject-illustration { position: relative; width: 100%; aspect-ratio: 1.62; isolation: isolate; margin-top: 8px; }
.subject-illustration img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-subject .cover-arrow { margin-top: 2px; }
.cover-subject h3 { font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 900; line-height: 1.12; }
.cover-arrow { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: #309bad; font-size: 1.8rem; font-weight: 500; line-height: 1; padding-bottom: 3px; }
.russian .cover-arrow { background: #7887cf; }.reading .cover-arrow { background: #c87673; }.world .cover-arrow { background: #5e9674; }
.cover-resume { margin-top: 24px; }
.cover-resume .resume-panel { margin-bottom: 0; padding: 18px 24px; }
.cover-resume h2 { font-size: 1.15rem; }
.cover-resume .eyebrow { font-size: .76rem; }
.cover-resume p { font-size: .86rem; margin-top: 4px; }
.home-learning { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(22px, 3vw, 38px); margin-top: 28px; border-radius: 22px; background: linear-gradient(125deg, #edf5ee 0%, #f2effa 100%); overflow: hidden; }
.home-learning-copy { min-width: 0; }
.home-learning-copy > .eyebrow { display: inline-block; margin-bottom: 7px; color: #39796d; }
.home-learning h2 { margin-bottom: 20px; font-size: clamp(1.45rem, 2.25vw, 1.9rem); font-weight: 900; }
.home-learning-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.home-learning-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 12px; }
.home-step-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #27766b; font-weight: 900; box-shadow: 0 3px 8px rgb(37 50 75 / 8%); }
.home-learning-steps h3 { margin: 1px 0 3px; font-size: 1rem; font-weight: 900; }
.home-learning-steps p { color: #536784; font-size: .9rem; line-height: 1.4; }
.home-learning-art { width: 100%; max-width: 440px; justify-self: center; }
.home-learning-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 12px rgb(37 50 75 / 17%)); }
.cover-care { display: flex; align-items: center; gap: 20px; background: #fff0d5; padding: 16px 22px; margin-top: 20px; border-radius: 15px; }
.care-heart { color: #e37f58; font-size: 2rem; line-height: 1; }
.cover-care p { color: #5b574e; font-size: .95rem; }
.cover-care > a { margin-left: auto; white-space: nowrap; font-size: .95rem; }
.cover-page .site-footer { font-size: .72rem; padding-block: 16px; }
.family-entry { max-width: min(500px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--background); color: var(--text); padding: 30px; }
.family-entry::backdrop { background: rgb(37 50 75 / 35%); }
.family-entry p { margin-top: 16px; }
@media (max-width: 1080px) {
  .cover-page .site-header, .cover-page main, .cover-page .site-footer { width: calc(100% - 48px); }
  .cover-page .site-header { gap: 22px; }
  .cover-page .main-nav { margin-left: auto; gap: 22px; }
  .cover-page .site-header > .button { margin-left: 0; min-width: 90px; }
  .cover-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; }
  .cover-hero h1 { font-size: clamp(2.15rem, 3.8vw, 2.7rem); }
  .cover-search-row { padding-left: 12px; gap: 10px; }
  .cover-search-row > .button { flex-basis: 94px; }
  .cover-subject-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-subject-heading { min-height: 52px; }
  .subject-illustration { max-height: 210px; aspect-ratio: 1.6; }
  .cover-subject h3 { font-size: 1.55rem; }
  .cover-subject .cover-art { max-height: 158px; }
  .home-learning { grid-template-columns: minmax(0, 1.1fr) minmax(210px, .9fr); gap: 18px; }
}
@media (max-width: 760px) {
  .cover-page > .home-scenery { height: 1050px; }
  .cover-page > .home-scenery::before { background-size: auto 100%; background-position: 30% top; opacity: .43; }
  .cover-page > .home-scenery::after { background: linear-gradient(90deg, #fff9efc9, #fff9efeb 65%, #fff9efb0), linear-gradient(180deg, #fff9ef77 0%, #fff9ef00 66%, #fff9ef 100%); }
  .cover-page .site-header { flex-wrap: wrap; gap: 16px; }
  .cover-page .brand { font-size: 1.8rem; }
  .cover-page .main-nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 26px; }
  .cover-page .site-header > .button { margin-left: auto; }
  .cover-hero { grid-template-columns: 1fr; gap: 0; padding-top: 12px; }
  .cover-intro { padding-top: 8px; }
  .cover-hero h1 { font-size: clamp(2.15rem, 6.2vw, 2.8rem); }
  .cover-lead { font-size: 1.15rem; }
  .cover-illustration { max-width: 560px; width: 100%; margin: 2px auto -5px; }
  .cover-subject h3 { font-size: 1.25rem; }
  .cover-subject { padding: 17px 10px 10px; }
  .cover-subject-heading { min-height: 47px; }
  .home-learning { grid-template-columns: 1fr; gap: 2px; padding: 22px 18px 12px; }
  .home-learning-art { width: min(78%, 310px); margin-top: 8px; }
  .cover-care { flex-wrap: wrap; gap: 12px; }
  .cover-care p { flex: 1; }
  .cover-care > a { margin-left: 42px; }
}
@media (max-width: 420px) {
  .cover-page .site-header, .cover-page main, .cover-page .site-footer { width: calc(100% - 32px); }
  .cover-page .brand { font-size: 1.5rem; }.brand-tagline { font-size: .75rem; }
  .cover-page .site-header > .button { min-width: 76px; padding-inline: 14px; }
  .cover-page .main-nav { gap: 22px; }.cover-page .main-nav a { font-size: .9rem; }
  .care-badge { font-size: .83rem; gap: 7px; padding-inline: 12px; margin-bottom: 16px; }
  .cover-hero h1 { font-size: clamp(1.75rem, 8.4vw, 2rem); }
  .cover-lead { font-size: 1rem; }
  .cover-search-row { gap: 7px; padding-left: 10px; border-radius: 14px; flex-wrap: nowrap; }
  .cover-search-row > svg { flex-basis: 18px; width: 18px; }
  .cover-search-row input { font-size: .82rem; min-height: 42px; }
  .cover-search-row > .button { flex-basis: 70px; min-height: 44px; padding-inline: 10px; font-size: .95rem; }
  .cover-subject-grid { gap: 10px; }
  .cover-subject { padding: 15px 9px 10px; }
  .cover-subject h3 { font-size: clamp(.95rem, 4.5vw, 1.05rem); }
  .cover-arrow { display: none; }
  .cover-subject-heading { gap: 5px; min-height: 40px; }
  .cover-subject .cover-art { min-height: 74px; }
  .home-learning-steps { gap: 12px; }
  .home-learning-steps p { font-size: .85rem; }
  .home-learning-art { width: min(88%, 280px); }
  .cover-care { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cover-subject { transition: none; }.cover-subject:hover, .cover-subject:focus-visible { transform: none; } }
