/* StudyCorner homepage: navy, warm paper and a subject-at-a-time study journey. */
:root { --paper:#fcfbf8; --muted:#52677d; --line:#dce3e9; --gold:#f0cc83; }
body { background:var(--paper); }
.wrap { width:min(1200px,calc(100% - 80px)); }
header { background:rgba(252,251,248,.96); border-bottom-color:#173f7812; }
.nav { height:88px; gap:30px; }
.nav-links { gap:25px; font-size:13px; }
.nav-links a { padding:8px 0; }
.nav>.button { min-height:44px; padding:10px 19px; font-size:12px; }
.button { border-radius:9px; min-height:52px; }
.button.light { border-color:#173f7840; background:transparent; }
.button.light:hover { background:#edf3f8; }
.brand small { color:#52677d; }
.hero.home-hero { grid-template-columns:1.06fr 1fr; gap:64px; padding:64px 0 60px; }
.hero-copy { min-width:0; }
.home-hero .eyebrow { font-size:10px; letter-spacing:2.1px; color:var(--blue); }
.home-hero .eyebrow::before { background:var(--gold); width:8px; height:8px; }
.home-hero h1 { font-size:clamp(54px,5.65vw,78px); line-height:1.04; letter-spacing:-3.8px; margin:25px 0 25px; font-weight:500; }
.home-hero h1 em { font-weight:400; }
.home-hero h1 em::after { height:10px; bottom:3px; background:var(--gold); transform:rotate(-2deg); }
.home-hero .hero-lead { font-size:19px; line-height:2; margin:0 0 12px; font-weight:600; }
.hero.home-hero .hero-desc { max-width:500px; font-size:14px; line-height:2.15; margin:0; color:var(--muted); }
.hero.home-hero .actions { margin:27px 0 15px; gap:10px; }
.hero.home-hero .actions .button { font-size:13px; padding:12px 17px; gap:12px; }
.resume-link { display:inline-flex; align-items:center; gap:8px; font-size:12px; color:var(--blue); min-height:34px; }
.resume-link:hover { text-decoration:underline; text-underline-offset:5px; }
.resume-link>span:first-child { color:#8799aa; font-size:19px; }
.hero-note { border-top:1px solid var(--line); padding-top:16px; margin-top:22px; font-size:11px; gap:8px; flex-wrap:wrap; }
.hero-note>span { color:#99732f; }
.hero-note i { font-style:normal; color:#a7b3c0; }
.study-board { position:relative; isolation:isolate; border-radius:100px 24px 24px 24px; background:#173f78; color:#fff; padding:30px 33px 27px; min-width:0; overflow:hidden; }
.study-board::before { content:''; position:absolute; width:380px; height:380px; border:1px solid #ffffff12; border-radius:50%; right:-170px; top:-110px; box-shadow:0 0 0 35px #ffffff04,0 0 0 70px #ffffff04; pointer-events:none; z-index:-1; }
.board-top { min-height:60px; display:flex; justify-content:flex-end; align-items:flex-start; gap:15px; padding-right:4px; font-size:9px; letter-spacing:1.8px; color:#d5e1ee; }
.board-top>span:first-child { padding-top:11px; }
.board-star { font-size:43px; line-height:1; color:var(--gold); transform:rotate(12deg); }
.study-sheet { position:relative; background:#fffdf7; color:var(--ink); padding:25px 27px 23px; border-radius:12px; transform:rotate(-2deg); box-shadow:0 18px 35px #071d3b33; }
.sheet-top { display:flex; justify-content:space-between; gap:12px; border-bottom:1px solid #dce3e9; padding-bottom:15px; font-size:8px; letter-spacing:1.4px; color:#5a6f85; font-weight:600; }
.study-sheet h2 { font-size:35px; line-height:1.1; letter-spacing:-1.4px; margin:23px 0 10px; font-weight:500; }
.sheet-intro { font-size:11px; line-height:1.65; color:var(--muted); margin:0 0 25px; }
.sheet-label { display:flex; justify-content:space-between; gap:10px; font-size:8px; letter-spacing:1.25px; font-weight:600; color:#5a6f85; margin-bottom:10px; }
.journey-row { display:flex; align-items:center; gap:12px; border-top:1px solid #dce3e9; padding:13px 5px; border-radius:2px; transition:background .2s; }
.journey-row:hover { background:#edf3f8; }
.journey-row.journey-math { background:#edf3f9; border:1px solid #dae4ee; border-radius:9px; padding:13px 11px; margin-bottom:5px; }
.journey-row.journey-math+.journey-row { border-top:0; }
.journey-symbol { display:grid; place-items:center; flex-shrink:0; width:36px; height:36px; border:1px solid #d3deea; border-radius:50%; font:24px/1 Georgia,serif; color:var(--blue); }
.journey-math .journey-symbol { background:var(--blue); border-color:var(--blue); color:#fff; }
.journey-name { min-width:0; display:flex; flex-direction:column; }
.journey-name strong { font-size:13px; font-weight:600; line-height:1.5; }
.journey-name small { font-size:10px; color:#52677d; line-height:1.8; }
.journey-arrow { color:var(--blue); font-size:20px; margin-left:auto; }
.sheet-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:8px; letter-spacing:1px; color:#5a6f85; margin-top:19px; padding-top:15px; border-top:1px solid #dce3e9; }
.sheet-bars { display:flex; gap:4px; width:68px; }
.sheet-bars i { background:#dce5ee; height:4px; flex:1; border-radius:2px; }
.sheet-bars i:first-child { background:var(--blue); }
.board-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:26px; font-size:8px; letter-spacing:1.5px; color:#d5e1ee; }
.board-note { background:var(--gold); color:#173455; border-radius:4px; transform:rotate(4deg); padding:11px 16px; font:italic 22px/1.2 Georgia,serif; letter-spacing:-.5px; white-space:nowrap; }
.subject-strip { padding:24px 0; gap:18px; border-color:#dce3e9; }
.subject-strip .label { max-width:none; font-size:8px; line-height:1.9; letter-spacing:1.5px; }
.subject-strip .label strong { color:var(--ink); font-weight:600; }
.subject-strip a { font-size:13px; gap:10px; }
.subject-strip b { font-size:24px; font-family:Georgia,serif; }
.subject-strip .dot { color:#ba9555; font-size:9px; }
section { padding:88px 0; }
.home-cards { margin:0 auto; padding:78px 0 62px; }
.home-cards .section-heading { align-items:flex-end; margin:0 0 30px; gap:25px; }
.kicker { font-size:9px; letter-spacing:1.8px; margin-bottom:16px; }
.home-cards .section-heading h2 { font-size:38px; line-height:1.2; letter-spacing:-1.6px; font-weight:500; }
.home-cards .section-heading p { font-size:13px; color:var(--muted); margin:16px 0 0; line-height:2; }
.practice-overview { flex-shrink:0; text-align:right; }
.free-badge { display:inline-block; background:#eaf1f7; color:var(--blue); border:1px solid #dce6ef; padding:5px 10px; border-radius:5px; font-size:8px; font-weight:600; letter-spacing:.8px; }
.home-stat { justify-content:flex-end; margin:13px 0 10px; gap:25px; font-size:10px; }
.home-stat span { display:flex; align-items:baseline; gap:5px; }
.home-stat strong { font-size:25px; font-weight:500; letter-spacing:-1px; }
.home-cards .section-heading .practice-overview>a { font-size:12px; font-weight:600; display:inline-flex; gap:20px; }
.subject-grid { gap:18px; }
.subject-card { padding:27px; border-radius:16px; border-color:#dce3e9; box-shadow:0 4px 0 #173f7803; transition:transform .2s,box-shadow .2s; }
.subject-card:hover { transform:translateY(-4px); box-shadow:0 12px 24px #173f7809; }
.subject-card-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:27px; }
.subject-card .subject-icon { width:53px; height:53px; margin:0; font-size:29px; border-radius:14px; }
.card-number { font:italic 27px/1 Georgia,serif; color:#65798b; }
.card-math { background:#fcf6e9; border-color:#e9dfcc; }
.card-math .subject-icon { background:#f0dba7; }
.card-science { background:#f0f5f2; border-color:#dce7e0; }
.card-science .subject-icon { background:#d9e8df; }
.card-social { background:#edf3f9; border-color:#dbe5ef; }
.card-social .subject-icon { background:#d4e2f1; }
.subject-card h3 { font-size:26px; letter-spacing:-.7px; font-weight:500; margin-bottom:6px; }
.subject-card p { font-size:12px; line-height:1.8; min-height:44px; margin-bottom:19px; }
.subject-card .card-stat { font-size:11px; line-height:1.8; margin:0; }
.subject-card .progress-line { height:4px; background:#173f7812; margin:14px 0 24px; }
.subject-card .panel-actions { margin-top:auto; padding:0; align-items:center; gap:12px; flex-wrap:wrap; }
.subject-card .button { min-height:44px; font-size:12px; flex:1; justify-content:space-between; gap:12px; padding:10px 14px; }
.subject-card .small-button { padding:10px 0; border:0; border-radius:0; background:none; min-height:44px; font-size:11px; color:var(--blue); }
.practice-foot { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-top:24px; }
.practice-foot .note { font-size:12px; line-height:2.1; margin:0; }
.practice-foot>a { font-size:12px; flex-shrink:0; font-weight:600; color:var(--blue); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#programs { border-top:1px solid var(--line); padding-top:67px; }
.section-top { margin-bottom:32px; }
h2.my { letter-spacing:0; font-size:30px; line-height:1.9; }
.section-top>p { font-size:13px; max-width:390px; line-height:2.15; }
.program-grid { gap:22px; }
.program { border-radius:16px; padding:34px; background:#fff; }
.program.primary { background:#edf3f9; border-color:#dbe5ef; }
.program .index { color:#59728f; }
.program .pill { top:34px; color:var(--blue); border-color:#d7e1eb; font-size:8px; }
.program h3 { font-size:31px; font-weight:500; }
.program p,.program ul { font-size:13px; line-height:2.15; }
.program-foot { gap:15px; }
.program-foot>span { font-size:8px; letter-spacing:.7px; }
.program-foot .text-link { font-size:11px; }
.method { background:#173f78; padding:66px 0; }
.method-grid { gap:70px; }
.method h2 { font-weight:500; line-height:1.35; font-size:36px; }
.method p { font-size:13px; color:#e0e8f2; }
.method .fine { font-size:11px; color:#c2d1e3; }
.method-steps { gap:22px; }
.step>span { background:#ffffff10; width:40px; height:40px; border:1px solid #ffffff20; margin-bottom:21px; }
.step h3 { font-size:13px; line-height:2; }
.step p { font-size:12px; color:#d0ddef; }
.subject-tab { font-size:14px; min-height:56px; border-radius:8px; }
.subject-tab[aria-selected=true] { border-color:#d1dfec; }
.subject-detail { border-radius:16px; padding:36px; min-height:425px; box-shadow:0 14px 40px #173f7804; }
.subject-detail h3 { font-weight:500; font-size:31px; margin-top:20px; }
.subject-detail p { font-size:14px; line-height:2.1; }
.subject-detail .detail-tip { font-size:12px; }
.topic-list span { font-size:11px; background:#fcfbf8; }
.subject-large-icon { background:var(--gold); }
.fees { background:#eef3f7; border-color:#dce3e9; }
.fee-grid { gap:20px; }
.fee-card { padding:29px; border-color:#d5dfe8; background:#fcfbf8; border-radius:16px; }
.fee-card.featured { border-width:1px; box-shadow:0 9px 30px #173f7809; }
.fee-card .tag { font-size:8px; letter-spacing:1px; }
.fee-card h3 { font-size:23px; font-weight:500; margin-top:18px; }
.fee-card p { font-size:13px; line-height:2.1; }
.fee-unit { font-size:12px; line-height:2; }
.fee-card .button { font-size:12px; }
.fee-footnote { font-size:11px; line-height:2.1; }
.planner-copy>p { font-size:14px; line-height:2.15; }
.planner-box { border-radius:16px; padding:33px; box-shadow:0 15px 40px #173f7806; }
.planner-box label { font-size:13px; }
.planner-box .choice { font-size:12px; padding:12px 8px; }
.planner-box select { font-size:13px; min-height:50px; }
.result { border:1px solid #dce7f1; padding:22px; }
.result p { font-size:12px; line-height:2.1; }
.copy-button { font-size:12px; }
.small-note { font-size:12px; }
.faq h2 { font-size:35px; line-height:1.25; font-weight:500; }
.faq summary { padding:24px 0; font-size:14px; line-height:2; }
.faq details p { font-size:13px; line-height:2.1; }
.contact-inner { border-radius:18px; background:#f2dfb9; padding:45px; }
.contact h2 { font-size:29px; letter-spacing:0; }
.contact p { font-size:13px; line-height:2.1; }
.contact .kicker { color:#655332; }
.contact-actions small { color:#635339; }
footer { background:#f6f5f1; }
footer p { font-size:11px; }
.footer-links { gap:22px; font-size:11px; padding-top:20px; }
@media(min-width:1500px) {
  .hero.home-hero { padding-top:76px; padding-bottom:76px; gap:80px; }
}
@media(max-width:1100px) {
  .wrap { width:calc(100% - 56px); }
  .nav { gap:20px; }
  .nav-links { gap:17px; font-size:12px; }
  .nav>.button { padding:10px 14px; font-size:11px; }
  .hero.home-hero { gap:36px; grid-template-columns:1fr 1fr; padding-top:48px; }
  .home-hero h1 { font-size:64px; }
  .home-hero .hero-lead { font-size:17px; }
  .hero.home-hero .actions .button { font-size:12px; padding:11px 14px; }
  .study-board { padding:26px; border-top-left-radius:80px; }
  .study-sheet { padding:22px; }
  .study-sheet h2 { font-size:31px; }
  .board-top { font-size:8px; }
  .board-bottom { font-size:7px; letter-spacing:1px; }
  .board-note { font-size:21px; padding:10px 13px; }
  .subject-strip { gap:12px; }
  .subject-strip a { font-size:12px; gap:8px; }
  .subject-strip .dot { display:none; }
  .subject-card { padding:23px; }
  .subject-card h3 { font-size:24px; }
  .subject-card .panel-actions { gap:6px; }
  .subject-card .button { flex-basis:100%; }
  .subject-card .small-button { padding-bottom:0; min-height:36px; }
  .fee-card { padding:24px; }
  .fee-card h3 { font-size:21px; }
  .method-grid { gap:40px; }
}
@media(max-width:850px) {
  .nav-links { gap:13px; font-size:11px; }
  .nav>.button { padding:9px 11px; font-size:10px; }
  .nav { gap:15px; }
  .hero.home-hero { gap:28px; }
  .home-hero h1 { font-size:56px; letter-spacing:-3px; }
  .home-hero .hero-lead { font-size:16px; }
  .hero.home-hero .hero-desc { font-size:13px; }
  .study-board { padding:23px; }
  .study-sheet { padding:20px; }
  .journey-name strong { font-size:12px; }
  .journey-symbol { width:31px; height:31px; font-size:22px; }
  .journey-row { gap:9px; }
  .sheet-intro { font-size:10px; }
  .board-bottom>span:first-child { max-width:75px; }
  .practice-overview { flex-shrink:1; }
}
@media(max-width:800px) {
  .nav { height:76px; }
  .nav-links { top:76px; background:#fcfbf8; font-size:14px; padding:20px 28px; gap:9px; }
  .nav>.button { display:none; }
  .nav-links a { padding:10px 0; }
  .menu { min-width:44px; min-height:44px; border-color:#cdd8e3; color:var(--blue); }
  .hero.home-hero { grid-template-columns:1fr; gap:38px; padding-top:39px; padding-bottom:42px; }
  .hero-copy { max-width:600px; }
  .home-hero h1 { font-size:70px; letter-spacing:-3.5px; }
  .home-hero .hero-lead { font-size:19px; }
  .hero.home-hero .hero-desc { max-width:550px; font-size:14px; }
  .hero.home-hero .actions .button { font-size:13px; }
  .hero-note { max-width:550px; }
  .study-board { width:100%; max-width:530px; justify-self:center; padding:28px 35px; }
  .study-sheet { padding:27px; }
  .study-sheet h2 { font-size:36px; }
  .sheet-intro { font-size:12px; }
  .journey-name strong { font-size:14px; }
  .journey-name small { font-size:11px; }
  .journey-symbol { width:39px; height:39px; font-size:25px; }
  .journey-row { padding:14px 7px; gap:13px; }
  .journey-row.journey-math { padding:14px 12px; }
  .board-bottom>span:first-child { max-width:none; }
  .board-bottom { font-size:8px; }
  .board-note { font-size:23px; }
  .subject-strip { justify-content:center; gap:14px 25px; padding:23px 0; }
  .subject-strip .label { width:100%; text-align:center; }
  .subject-strip .label br { display:none; }
  .subject-strip .label strong { margin-left:7px; }
  .subject-strip a { font-size:12px; }
  section { padding:65px 0; }
  .home-cards { padding-top:58px; padding-bottom:45px; }
  .home-cards .section-heading h2 { font-size:34px; }
  .home-cards .section-heading { align-items:flex-start; }
  .subject-grid { grid-template-columns:1fr; gap:16px; }
  .subject-card { padding:27px; }
  .subject-card-top { margin-bottom:20px; }
  .subject-card p { min-height:0; font-size:13px; margin-bottom:18px; }
  .subject-card .panel-actions { flex-wrap:nowrap; gap:22px; margin-top:0; }
  .subject-card .button { flex:initial; min-width:165px; }
  .subject-card .small-button { padding:10px 0; }
  .practice-foot { align-items:flex-start; }
  #programs { padding-top:50px; }
  .program p,.program ul { font-size:13px; }
  .program { padding:26px; }
  .program .pill { top:28px; right:22px; font-size:7px; }
  .program h3 { font-size:27px; }
  .program-foot { flex-wrap:wrap; }
  .method-grid { gap:30px; }
  .method-steps { gap:20px; }
  .method .fine { line-height:2; }
  .subject-detail { min-height:0; padding:28px; }
  .fee-grid { grid-template-columns:1fr; }
  .fee-card:last-child { grid-column:auto; }
  .fee-card { padding:28px; }
  .fee-card h3 { font-size:25px; }
  .fee-card p { min-height:0; }
  .fee-card:last-child .button { width:100%; }
  .planner-grid { gap:30px; }
  .faq { padding-top:15px; }
  .contact-inner { padding:30px; }
  .contact h2 { font-size:26px; }
  .footer-content { gap:15px; }
}
@media(max-width:600px) {
  .wrap { width:calc(100% - 36px); }
  .home-cards .section-heading { flex-direction:column; gap:23px; }
  .practice-overview { text-align:left; width:100%; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px 20px; }
  .free-badge { width:fit-content; flex-basis:auto; }
  .home-stat { width:100%; justify-content:flex-start; margin:0; order:2; gap:28px; }
  .home-stat strong { font-size:26px; }
  .home-cards .section-heading .practice-overview>a { font-size:11px; gap:8px; }
  .home-cards .section-heading h2 { font-size:33px; }
  .practice-foot { flex-direction:column; gap:12px; }
  .program-grid { grid-template-columns:1fr; }
  .method-steps { grid-template-columns:1fr; gap:22px; }
  .step { display:grid; grid-template-columns:42px 1fr; column-gap:17px; padding-top:18px; }
  .step>span { grid-row:1/3; margin:3px 0 0; }
  .step h3 { margin:0 0 5px; }
  .step p { margin:0; }
  .subjects-layout { gap:25px; }
  .subject-tab { font-size:12px; gap:10px; padding:12px; }
  .subject-detail h3 { font-size:28px; }
  .planner-box { padding:25px; }
  .faq summary { font-size:13px; }
  .contact h2 { font-size:24px; }
}
@media(max-width:400px) {
  .wrap { width:calc(100% - 32px); }
  .hero.home-hero { padding-top:32px; }
  .home-hero h1 { font-size:55px; letter-spacing:-2.8px; }
  .home-hero .hero-lead { font-size:17px; }
  .hero.home-hero .actions { flex-direction:column; align-items:stretch; }
  .hero.home-hero .actions .button { width:100%; }
  .hero-note { font-size:10px; gap:6px; }
  .study-board { padding:22px; border-top-left-radius:65px; }
  .board-top { font-size:7px; }
  .study-sheet { padding:21px; }
  .study-sheet h2 { font-size:31px; }
  .sheet-top { font-size:7px; letter-spacing:.8px; }
  .sheet-intro { font-size:10px; }
  .sheet-label { font-size:7px; letter-spacing:.8px; }
  .journey-symbol { width:32px; height:32px; font-size:23px; }
  .journey-name strong { font-size:12px; }
  .journey-row { gap:10px; }
  .board-bottom { font-size:7px; letter-spacing:.7px; }
  .board-note { font-size:20px; padding:10px 11px; }
  .home-cards .section-heading h2 { font-size:30px; }
  .subject-card { padding:23px; }
  .subject-card .panel-actions { gap:17px; }
  .subject-card .button { min-width:145px; }
  .subject-strip { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; }
  .subject-strip .label { grid-column:1/-1; }
  .subject-strip a { font-size:11px; justify-content:center; }
  .subject-strip b { font-size:21px; }
  h2.my { font-size:26px; }
  .planner-box { padding:21px; }
  .planner-box .choice { font-size:11px; }
  .contact-inner { padding:25px; }
  .contact h2 { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; }
}
