/* 2026-09-22: homepage overview, aligned with the navy/gold service introductions.
   Keep these rules local to .home-presentation; individual service/article designs are independent. */
.home-presentation{--hp-ink:#17394b;--hp-muted:#496170;--hp-gold:#b29a5c;--hp-line:#dae4e8;--mk-ink:var(--hp-ink);--mk-blue:#173e52;--mk-blue-dark:#0c293a;--mk-muted:var(--hp-muted);--mk-line:var(--hp-line);color:var(--hp-ink);background:#fffdf9}
.home-presentation .mk-wrap{width:min(1200px,calc(100% - 80px))}
.home-presentation :is(h1,h2,h3){font-weight:750;letter-spacing:.005em;line-height:1.55;text-wrap:pretty}
.home-presentation h2{font-size:clamp(1.65rem,2.65vw,2.3rem)}
.home-presentation .hp-eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.075em;line-height:1.8;color:#856e36;margin-bottom:15px}
.home-presentation .hp-small{font-size:.75rem;line-height:1.85;color:var(--hp-muted)}
.home-presentation .hp-section{padding-block:88px}
.home-presentation .hp-icon{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.home-presentation .hp-symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.home-presentation .hp-arrow{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #b4c5ce;border-radius:50%;font-size:17px;font-weight:400;flex-shrink:0}
.home-presentation .hp-detail-link{display:inline-flex;align-items:center;gap:21px;padding-block:12px;border-bottom:1px solid #9daeb6;font-size:.9375rem;font-weight:700;line-height:1.7;min-height:50px;transition:gap .18s}
.home-presentation .hp-detail-link:hover{text-decoration:none;gap:28px}
.home-presentation .hp-detail-link .hp-arrow{border:0;width:auto}

/* A clear service definition comes before the individual product stories. */
.hp-hero{position:relative;isolation:isolate;overflow:hidden;background:#133448;color:#fff}
.home-presentation .hp-hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 51%}
.hp-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102e43fa 0%,#133448f2 27%,#133448d9 43%,#13344882 62%,#102e4320 84%)}
.hp-hero-inner{position:relative;padding-block:70px 74px}
.hp-hero-copy{max-width:650px}
.home-presentation .hp-hero .hp-eyebrow{display:flex;align-items:center;gap:12px;color:#e3e9e9;letter-spacing:.1em;margin-bottom:23px}
.hp-hero .hp-eyebrow:before{content:"";width:25px;height:1px;background:#d8c38d}
.home-presentation .hp-hero h1{font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,Georgia,serif;font-size:clamp(2.35rem,4vw,3.65rem);font-weight:600;line-height:1.5;letter-spacing:.035em;margin-bottom:25px}
.hp-hero h1 span{display:block}
.hp-hero h1 span:last-child{color:#f1dfad}
.home-presentation .hp-hero-lead{font-size:1.0625rem;font-weight:600;line-height:1.95;color:#fff}
.home-presentation .hp-hero-description{max-width:32em;font-size:.875rem;line-height:1.95;color:#dce6eb;margin-top:15px}
.hp-hero .mk-actions{gap:15px;margin-top:28px}
.home-presentation :is(.hp-hero,.hp-final) .mk-button{background:linear-gradient(115deg,#f0dfaa,#c8aa65);color:#243a41;border:1px solid #d6bc7b;box-shadow:inset 0 1px 0 #fff6;min-height:53px}
.home-presentation :is(.hp-hero,.hp-final) .mk-button:hover{background:#e7d29c}
.home-presentation .hp-hero .mk-text-link{color:#fff;background:#16364972;border:1px solid #e5edf4a6;border-radius:6px;padding:12px 20px;min-height:53px;font-size:.9375rem;font-weight:700;text-decoration:none;justify-content:center;transition:background .18s,border-color .18s}
.home-presentation .hp-hero .mk-text-link:hover{background:#ffffff20;border-color:#fff}
.home-presentation .hp-hero-note{font-size:.75rem;color:#dce6eb;line-height:1.8;margin-top:18px}
.home-presentation .hp-photo-note{position:absolute;right:24px;bottom:14px;font-size:.625rem;color:#fff;text-shadow:0 1px 4px #102e43}
.hp-overview{background:linear-gradient(115deg,#14384c,#1d4254);color:#fff;border-top:3px solid #c7af73;padding-block:43px}
.hp-overview-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:32px;align-items:center}
.home-presentation .hp-overview .hp-eyebrow{color:#ded2ae;margin-bottom:9px}
.home-presentation .hp-overview-heading h2{font-size:1.7rem;line-height:1.6;font-weight:700;color:#fff}
.hp-service-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}
.home-presentation .hp-service-index a{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:16px 10px 13px;border:1px solid #d5c38d47;border-radius:7px;color:#fff;text-decoration:none;transition:background .18s,transform .18s}
.home-presentation .hp-service-index a:hover{background:#ffffff0c;transform:translateY(-3px)}
.hp-service-index .hp-icon{width:31px;height:31px;color:#e2ca8b;margin:6px 0 13px}
.hp-service-index strong{font-size:.875rem;line-height:1.65;min-height:3.3em;text-wrap:balance}
.hp-service-index small{display:block;margin-top:13px;font-size:.75rem;line-height:1.8;color:#d0dde2;text-align:left}
.hp-service-index .hp-index-arrow{display:inline-block;margin-left:3px;color:#dcca97;transition:transform .18s}
.hp-service-index a:hover .hp-index-arrow{transform:translateY(3px)}

/* 01–04 use schedule-presentation.css directly. Only homepage-specific content
   and title IDs are adapted here; do not recreate the shared feature design. */
.home-presentation .hp-service-details .sp-plan-title h2{font-size:clamp(1.25rem,3.4vw,2.625rem);margin:0!important}
.hp-service-details .sp-plan-title h2 em{display:inline-block}
.hp-service-link{margin-top:22px}
.home-presentation .hp-textbook-benefit h3{font-size:1.125rem;line-height:1.75;border-left:3px solid #b29a5c;padding-left:14px;margin:0 0 13px}
.hp-textbook-benefit p{font-size:.9375rem;line-height:2;color:var(--hp-muted);margin:0}
.hp-textbook-benefit+.hp-textbook-benefit{margin-top:26px}
.hp-service-details .hp-support-note{font-size:.6875rem!important;margin-top:16px}
.hp-mobile-sentence-break{display:none}
@media(max-width:560px){
 .home-presentation .hp-textbook-benefit h3{font-size:1.0625rem}
 .hp-textbook-benefit p{font-size:.875rem}
 /* Homepage titles start at the right edge of the background number. */
 .hp-service-details .sp-plan-title{display:flex;align-items:center;min-height:116px;padding-block:0}
 .hp-service-details .sp-plan-title .sp-feature-label{top:50%}
 .home-presentation .hp-service-details .sp-plan-title h2{font-size:clamp(16px,7.55cqi,30px);margin-left:52px!important;top:0}
 .hp-service-details .sp-plan-title h2 em{display:block}
 .home-presentation .hp-service-details .sp-plan-title #hp-ai-title{font-size:clamp(14px,6.3cqi,26px)}
 .hp-service-link{width:100%}
 .hp-service-details .sp-feature-name{flex-wrap:wrap}
}

.hp-final{padding-block:67px;background:#15384b;color:#fff;position:relative;overflow:hidden}
.hp-final-grid{display:grid;grid-template-columns:1fr;gap:28px;justify-items:center;text-align:center}
.home-presentation .hp-final .hp-eyebrow{color:#dac99c}
.home-presentation .hp-final h2{font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,Georgia,serif;font-size:clamp(1.65rem,2.5vw,2.15rem);font-weight:600;line-height:1.65;letter-spacing:.035em}
.hp-final-copy>p:last-child{font-size:.875rem;line-height:1.9;color:#d5e1e6;margin-top:18px}
.hp-final-copy>p:last-child>span{display:inline-block}
.hp-final-copy h2>span{display:inline-block}
.hp-final-copy{max-width:720px}
.hp-final-actions{display:flex;flex-direction:column;align-items:center;width:100%;max-width:820px;gap:28px}
.hp-final-actions .mk-button{min-width:320px;font-size:.9375rem}
.hp-final-more{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px;width:100%;padding-top:18px;border-top:1px solid #ffffff24}
.hp-final-more a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#d5e1e6;font-size:.8125rem;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#ffffff45}
.hp-final-more a:hover{color:#fff;text-decoration-color:#e3ce95}
.home-presentation .footer.mk-footer{background:#102e40;border-top:1px solid #ffffff21}

@media(min-width:1600px){.hp-hero-photo{object-position:center 48%}.hp-hero-inner{padding-block:85px}}
@media(max-width:1100px){
 .hp-overview-grid{grid-template-columns:1fr;gap:25px}
 .hp-service-index small{font-size:.75rem}
 .hp-hero-inner{padding-block:58px}
}
@media(max-width:800px){
 .home-presentation .mk-wrap{width:calc(100% - 40px)}
 .home-presentation .hp-section{padding-block:55px}
 .home-presentation .hp-hero-photo{object-position:67% center;opacity:.62}
 .hp-hero:after{background:linear-gradient(90deg,#102e43fa,#133448e8 42%,#1334487a),linear-gradient(0deg,#1334488c,transparent)}
 .hp-hero-inner{padding-block:47px 42px}
 .hp-hero-copy{max-width:570px}
 .home-presentation .hp-hero h1{font-size:clamp(2rem,5.7vw,2.9rem)}
 .home-presentation .hp-hero .hp-eyebrow{font-size:.6875rem;letter-spacing:.065em;margin-bottom:19px;gap:9px}
 .hp-hero .hp-eyebrow:before{width:18px}
 .home-presentation .hp-hero-lead{font-size:.9375rem}
 .home-presentation .hp-hero-description{font-size:.8125rem;max-width:30em}
 .hp-hero .mk-actions{margin-top:24px}
 .hp-overview{padding-block:34px}
 .hp-overview-grid{gap:20px}
 .home-presentation .hp-overview-heading h2{font-size:clamp(1.45rem,5.7vw,1.8rem)}
 .hp-service-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .home-presentation .hp-service-index a{padding:16px 12px 12px}
 .hp-service-index strong{min-height:0}
 .hp-service-index .hp-icon{margin:8px 0 11px}
 .hp-final{padding-block:47px}
 .hp-final-grid{grid-template-columns:1fr;gap:27px}
 .hp-final-actions{gap:24px}
}
@media(max-width:560px){
 .hp-service-index{grid-template-columns:1fr}
 .home-presentation .hp-service-index a{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 12px;align-items:center;padding:14px 16px;text-align:left}
 .home-presentation .hp-service-index .hp-icon{grid-row:1/3;width:30px;height:30px;margin:0}
 .home-presentation .hp-service-index strong{min-height:0}
 .home-presentation .hp-service-index small{margin-top:0;text-align:left}
 .hp-final-actions{width:100%;max-width:360px}
 .hp-final-actions .mk-button{min-width:0;width:100%;font-size:.875rem;padding-inline:12px}
 .hp-final-more{flex-direction:column;align-items:center;gap:0;padding-top:14px}
 .hp-final-copy>p:last-child{font-size:.8125rem;margin-inline:auto}
}
@media(max-width:480px){
 .home-presentation .hp-hero h1{font-size:clamp(1.875rem,7.8vw,2.35rem);letter-spacing:.02em;line-height:1.6;margin-bottom:21px}
 .home-presentation .hp-hero-lead{font-size:.875rem;line-height:2}
 .hp-hero .mk-actions{gap:8px 18px}
 .hp-hero .mk-button{font-size:.875rem;padding-inline:18px;min-height:50px}
 .hp-hero .mk-text-link{font-size:.8125rem}
 .home-presentation .hp-hero-note{font-size:.6875rem;margin-top:13px}
 .home-presentation .hp-photo-note{font-size:.5625rem;right:15px;bottom:8px}
 .home-presentation h2{font-size:1.55rem}
 .home-presentation .hp-eyebrow{font-size:.75rem;margin-bottom:11px}
 .hp-service-index{gap:10px}
 .hp-service-index strong{font-size:.875rem}
 .hp-service-index small{font-size:.75rem;line-height:1.8;margin-top:8px}
 .hp-service-index .hp-index-arrow{margin-left:5px}
}
@media(prefers-reduced-motion:reduce){.home-presentation *{scroll-behavior:auto!important;transition:none!important}}
/* Keep section 04's two title phrases together beside the number on phones. */
@media(max-width:560px){.home-presentation .hp-service-details .sp-plan-title #hp-school-title{font-size:clamp(14px,6.3cqi,26px)}}
/* Keep the homepage's short section introductions on one phone line. */
@media(max-width:560px){
 .home-presentation .hp-service-details :is(#textbook,#ai,#schedule) .sp-plan-heading .sp-feature-name{display:flex;flex-wrap:nowrap;white-space:nowrap;max-width:none;font-size:clamp(9px,2.9vw,15px);letter-spacing:-.025em;gap:6px}
 .home-presentation .hp-service-details :is(#textbook,#ai,#schedule) .sp-plan-heading .sp-feature-name:before{width:14px}
 .home-presentation #juku .sp-feature-name{display:block;font-size:clamp(14.5px,4vw,16px)}
 .home-presentation #juku .sp-feature-name:before{display:block;margin-bottom:10px}
 .hp-mobile-sentence-break{display:initial}
 .home-presentation.marketing-site #plans.mk-plan-overview .mk-section-head h2{font-size:clamp(13px,4vw,16px);gap:8px;white-space:nowrap}
 .home-presentation #plans .mk-plan-icon{width:24px;height:24px}
 .home-presentation.marketing-site #plans.mk-plan-overview .mk-phrase{display:inline}
 .home-presentation .hp-hero .mk-actions{flex-wrap:nowrap;gap:6px}
 .home-presentation .hp-hero .mk-button,.home-presentation .hp-hero .mk-text-link{min-width:0;min-height:48px;white-space:nowrap;gap:4px;padding-inline:7px;font-size:clamp(10px,3vw,14px)}
}
@media(max-width:360px){
 .home-presentation .hp-service-details :is(#textbook,#ai,#schedule) .sp-plan-heading .sp-feature-name{gap:4px}
 .home-presentation .hp-service-details :is(#textbook,#ai,#schedule) .sp-plan-heading .sp-feature-name:before{width:10px}
}
/* Keep the reviewed phone captions on one line within their available width. */
@media(max-width:560px){
 .home-presentation :is(#textbook,#ai,#schedule) .sp-plan-details,
 .home-presentation #juku .sp-plan-grid>.sp-feature-copy{container-type:inline-size}
 .home-presentation :is(#textbook,#ai,#schedule) .sp-plan-details>.sp-benefit{padding:13px 10px;gap:7px}
 .home-presentation :is(#textbook,#ai,#schedule) .sp-benefit .sp-icon{width:22px;height:27px;flex:none}
 .home-presentation :is(#textbook,#ai,#schedule) .sp-benefit>span{font-size:min(14px,calc((100cqw - 49px)/22));letter-spacing:0;white-space:nowrap}
 .home-presentation #juku .hp-textbook-benefit:nth-of-type(2) h3{font-size:min(17px,calc((100cqw - 19px)/20.1));letter-spacing:0;white-space:nowrap}
 .home-presentation #juku .hp-support-note{font-size:min(11px,calc(100cqw / 37))!important;letter-spacing:-.015em;white-space:nowrap}
}
/* 2026-09-30: learner goals accompany the textbook-first introduction. */
.home-presentation .hp-readers{background:#fffdfa}
.hp-readers ul{margin:24px 0 0;padding-left:1.4em;line-height:2;color:var(--hp-muted)}
.hp-readers li+li{margin-top:10px}
/* Keep each approved hero sentence together as the wording grows. */
.hp-hero-copy{container-type:inline-size}
.home-presentation .hp-hero h1{font-size:clamp(2rem,3.3vw,3.2rem)}
@media(max-width:800px){.home-presentation .hp-hero h1{font-size:min(8cqw,46px)}}

/* 2026-09-30: sentence breaks in the hero; meaning-based breaks in service cards. */
.home-presentation .hp-hero-sentence{display:block;text-wrap:pretty}
.home-presentation .hp-service-index small{width:100%}
.home-presentation .hp-service-label{display:block;text-align:center}
.home-presentation .hp-service-phrase{display:inline-block;white-space:nowrap}
@media(min-width:801px){
 .home-presentation .hp-hero-sentence{white-space:nowrap}
}

/* 2026-09-30: align bullet continuations; the school image already includes a tablet. */
.home-presentation .hp-hero-bullet{padding-left:1em;text-indent:-1em}
.home-presentation #juku .sp-tablet{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}

/* 2026-09-30: textbook plus included management, beside optional support. */
.home-presentation .hp-overview-grid{grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:center}
.hp-service-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}
.hp-choice-group{min-width:0;border:1px solid #cfbb7c66;border-radius:10px;padding:23px;display:flex;flex-direction:column;gap:10px}
.hp-choice-base{background:#ffffff05;color:#fff}
.hp-choice-support{background:#ffffff05;color:#fff}
.hp-choice-heading{margin-bottom:8px}
.hp-choice-badge{display:inline-block;font-size:.75rem;font-weight:700;padding:4px 10px;border-radius:4px;background:#17394b;color:#fff;line-height:1.6}
.hp-choice-group .hp-choice-badge{background:#ffffff0c;color:#f1dfad;border:1px solid #d9c48766}
.home-presentation .hp-choice-heading h3{font-size:1.25rem;line-height:1.6;margin:12px 0 8px;color:inherit}
.hp-choice-heading p{font-size:.8125rem;line-height:1.85;margin:0;color:#496170}
.hp-choice-group .hp-choice-heading p{color:#d0dde2}
.home-presentation .hp-choice-link{display:grid;grid-template-columns:29px minmax(0,1fr);gap:4px 12px;align-items:center;padding:13px 12px;border-radius:6px;border:1px solid #17394b22;background:#fff9;color:inherit;text-align:left;text-decoration:none}
.home-presentation .hp-choice-group .hp-choice-link{background:#ffffff06;border-color:#ffffff24}
.home-presentation .hp-choice-link:hover{background:#fff}
.home-presentation .hp-choice-group .hp-choice-link:hover{background:#ffffff12}
.home-presentation .hp-choice-link .hp-icon{grid-row:1/3;width:27px;height:27px;color:#987728}
.home-presentation .hp-choice-group .hp-choice-link .hp-icon{color:#e2ca8b}
.hp-choice-link strong{font-size:.875rem;line-height:1.7;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.hp-choice-link strong>span:last-child{margin-left:auto;color:#987728}
.hp-choice-group .hp-choice-link strong>span:last-child{color:#e2ca8b}
.hp-choice-included{font-size:.625rem;font-weight:600;border:1px solid #b9a67a66;border-radius:3px;padding:1px 5px;color:#f1dfad}
.hp-choice-link small{grid-column:2;font-size:.75rem;line-height:1.8;color:#496170;white-space:nowrap}
.hp-choice-group .hp-choice-link small{color:#d0dde2}
@media(max-width:1360px){
 .home-presentation .hp-overview-grid{grid-template-columns:1fr;gap:24px}
}
@media(max-width:760px){
 .hp-service-choices{grid-template-columns:1fr;gap:18px}
 .hp-choice-group{padding:20px}
}
@media(max-width:560px){
 .hp-choice-group{padding:18px 16px}
 .home-presentation .hp-choice-link{padding:13px 10px;gap:7px 10px}
 .home-presentation .hp-choice-link .hp-icon{grid-row:1}
 .hp-choice-link small{grid-column:1/-1;font-size:.8125rem}
}

/* 2026-09-30: phone grade prices use one line, sized to each card's width. */
@media(max-width:560px){
 .home-presentation #plans .mk-grade-prices{container-type:inline-size;white-space:nowrap}
 .home-presentation #plans .mk-grade-prices>span{display:inline;line-height:1.9;letter-spacing:0;font-size:min(13px,calc(100cqw / 20))}
 .home-presentation #plans .mk-grade-prices>span+span:before{content:"・"}
 .home-presentation #plans #juku-plan .mk-grade-prices>span{font-size:min(13px,calc(100cqw / 27))}
}

/* 2026-09-30: compact phone introduction; desktop retains sentence-by-sentence lines. */
.home-presentation #hp-overview-title>span{display:block}
@media(max-width:560px){
 .home-presentation .hp-overview-heading .hp-eyebrow{display:flex;align-items:center;gap:9px;font-size:.75rem;letter-spacing:.04em;margin-bottom:12px}
 .home-presentation .hp-overview-heading .hp-eyebrow:before{content:"";width:22px;height:1px;background:#cbb578;flex:none}
 .home-presentation #hp-overview-title{display:grid;grid-template-columns:max-content max-content;justify-content:start;column-gap:9px;row-gap:3px;line-height:1.45;letter-spacing:.025em}
 .home-presentation #hp-overview-title>span{font-size:1.0625rem;font-weight:600;color:#e0e9ed}
 .home-presentation #hp-overview-title>span:last-child{grid-column:1/-1;font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,Georgia,serif;font-size:clamp(25px,7.5vw,30px);font-weight:600;letter-spacing:.04em;color:#f1dfad}
}

/* 2026-09-30: let the approved service definition wrap without clipping. */
.home-presentation .hp-hero-description .hp-hero-sentence{white-space:normal}
