/* Home hero phone pair only; no shared page or consultation behavior changes. */
.homepage .hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:30px}
.homepage .hero>div:first-child{min-width:0}
.homepage .phone-stage{gap:16px;padding:6px 0;align-items:stretch}
.homepage .phone-stage .phone-frame{flex:1 1 0;width:345px;min-width:0;max-width:345px;height:700px;padding:25px 10px 22px;display:flex;flex-direction:column}
.homepage .phone-stage .phone-screen{min-height:0;flex:1;display:flex;flex-direction:column}
.homepage .phone-stage .phone-footnote{margin-top:auto}
.homepage .education-content{padding:14px 16px 14px;flex:1;display:flex;flex-direction:column}
.homepage .education-content h2{font-size:22px;color:#4c233d;text-align:center;letter-spacing:-.05em;margin:0 0 10px}
.homepage .education-recruit{background:#4c233d;border:1px solid #a58551;color:#f4dfb9;padding:9px 8px;text-align:center;font-size:20px;line-height:1.5}
.homepage .education-recruit strong{display:block;color:#fff5e6;font-size:28px;font-weight:600;letter-spacing:.05em;margin-top:3px}
.homepage .education-phone .education-summary{font-size:16px;line-height:1.5;text-align:center;margin:12px 0;color:#6c5949}
.homepage .education-course{border-top:1px solid #dfd1b8;padding:7px 0}
.homepage .education-course h3{color:#4c233d;font-size:18px;margin:0 0 3px;font-weight:600}
.homepage .education-course p{font-size:16px;line-height:1.5;margin:0;color:#655d5c}
.homepage .education-details{font:inherit;font-size:16px;line-height:1.5;min-height:44px;background:#f3ecdf;border:1px solid #c5b497;color:#7a6a55;padding:10px 6px;width:100%;margin:5px 0 10px;cursor:default}
.homepage .education-contact{border-top:1px solid #cbb58e;padding-top:10px;text-align:center;margin-top:auto}
.homepage .education-contact h3{font-size:18px;margin:0 0 4px;color:#4c233d;font-weight:600}
.homepage .education-contact p{font-size:15px;margin:0;color:#716453;line-height:1.7}
.homepage .education-number{display:block;font-size:22px;color:#4c233d;font-weight:600;margin:5px 0 10px;white-space:nowrap;letter-spacing:-.03em}
.homepage .education-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.homepage .education-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:16px;background:#4c233d;color:#fff5e6;border:1px solid #4c233d;padding:10px 5px}
.homepage .education-actions a:last-child{background:#efe4cd;border-color:#ad8747;color:#664922}
.homepage #education-sms-guidance{margin-top:10px;font-size:14px}
@media(min-width:651px) and (max-width:1100px){.homepage .hero{grid-template-columns:1fr}.homepage .phone-stage{justify-content:center;gap:16px}.homepage .phone-stage .phone-frame{flex:0 1 345px}}
@media(max-width:650px){.homepage .phone-stage{flex-direction:column;align-items:center;gap:28px;padding:2px 0}.homepage .phone-stage .phone-frame{width:345px;flex:none;max-width:100%}.homepage .phone-stage .phone-screen{min-height:0}.homepage .education-content{padding:14px 16px}.homepage .education-course p{font-size:16px}.homepage .education-contact{margin-top:auto}.homepage .education-actions a{min-height:50px}.homepage .phone-stage .phone-footnote{margin-top:10px}}

/* Education copy only: preserve the two matching phone shells. */
.homepage .education-phone .phone-screen{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.homepage .education-phone .education-content{flex:none}
.homepage .education-beginner h3{font-size:18px;line-height:1.5}
.homepage .education-beginner-title{display:block;color:#4c233d;font-size:20px;line-height:1.5;margin:10px 0}
.homepage .education-beginner p{margin:10px 0;line-height:1.7}
.homepage .education-keywords{padding-left:20px;font-size:15px;line-height:1.8;color:#655d5c;margin:14px 0}
.homepage a.education-details{display:block;text-align:center;cursor:pointer;color:#4c233d}
.homepage a.education-details:hover{background:#e9dcc5}

.homepage .education-recruit strong{font-size:23px;letter-spacing:-.03em}
.homepage .education-benefit-phone{color:#77541f;background:#eee4d2;padding:12px;text-align:center}
.homepage .education-benefit-phone strong{color:#4c233d;font-size:19px}

/* Qualification benefit, scoped to the existing homepage education card. */
.homepage .education-qualification-phone{margin:12px 0;border:1px solid #c9b28a}
.homepage .education-qualification-condition{display:block;font-size:13px;line-height:1.6;color:#6c5949;margin-bottom:6px}
.homepage .education-qualification-phone h3{font-size:17px;font-weight:600;color:#77541f;margin:0 0 7px}
.homepage .education-qualification-phone strong{font-size:18px;line-height:1.65}
