@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root { --ink:#142a35; --muted:#667780; --paper:#f7f8f5; --white:#fff; --green:#1e806d; --line:#dfe5df; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Manrope,Arial,sans-serif; line-height:1.6; }
a { color:inherit; text-decoration:none; }
.shell { width:min(1160px,calc(100% - 48px)); margin:0 auto; }
.header { background:var(--white); border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:86px; }
.brand { display:flex; align-items:center; font-size:25px; font-weight:800; letter-spacing:-1.5px; white-space:nowrap; }
.brand span:not(.brand-mark) { color:var(--green); }
.brand small { color:var(--muted); font-size:14px; letter-spacing:0; }
.brand-mark { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:11px; margin-right:12px; background:var(--green); color:white; font-family:Georgia,serif; font-size:30px; font-style:italic; }
.nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 20px; }
.nav a { font-size:12px; font-weight:700; color:#4b626a; }
.nav a:hover,.crumb:hover { color:var(--green); }
.home-hero { position:relative; overflow:hidden; padding:100px 0 112px; background:#e6f0e9; }
.home-hero .shell { position:relative; }
.eyebrow { display:block; margin-bottom:22px; color:var(--green); font-size:12px; font-weight:800; letter-spacing:2px; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1,h2 { letter-spacing:-.055em; line-height:1.12; }
.home-hero h1 { max-width:800px; font-size:clamp(50px,7vw,98px); font-weight:800; }
.home-hero h1 em { color:var(--green); font-style:normal; }
.home-hero p { max-width:570px; font-size:17px; color:#4c6569; }
.hero-link { display:inline-block; margin-top:22px; padding:15px 24px; background:var(--ink); color:#fff; border-radius:8px; font-size:13px; font-weight:800; }
.hero-math { position:absolute; right:0; bottom:0; color:#c3dace; font-family:Georgia,serif; font-size:clamp(45px,6vw,100px); font-style:italic; transform:rotate(-9deg); pointer-events:none; }
.subjects { padding:88px 0 105px; }
.section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:36px; }
.section-heading span { color:var(--green); font-size:12px; font-weight:800; }
.section-heading h2 { font-size:clamp(32px,4vw,48px); }
.subjects-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.subject { display:flex; flex-direction:column; min-height:225px; padding:28px; border:1px solid var(--line); border-radius:12px; background:#fff; transition:transform .2s,border-color .2s; }
.subject:hover { transform:translateY(-4px); border-color:var(--green); }
.subject-number { margin-bottom:35px; color:var(--green); font-size:12px; font-weight:800; }
.subject strong { font-size:22px; letter-spacing:-.7px; }
.subject>span:nth-last-child(2) { color:var(--muted); font-size:12px; }
.subject-line { width:38px; height:3px; margin-top:auto; background:var(--green); }
.help { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:60px; padding:54px; margin-bottom:100px; border-radius:14px; background:#e8eee8; }
.help h2 { margin:0; font-size:38px; }
.help p { margin:0; color:#50656b; }
.page-hero { padding:68px 0 72px; background:#e6f0e9; }
.crumb { display:inline-block; margin-bottom:34px; font-size:12px; font-weight:700; color:#617a7a; }
.page-hero h1 { margin-bottom:18px; font-size:clamp(42px,5.4vw,72px); }
.page-hero p { max-width:680px; margin:0; color:#536d70; }
.content { padding:55px 0 100px; }
.formula-section { margin-bottom:54px; }
.formula-section h2 { margin-bottom:20px; font-size:26px; }
.formula-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.formula { min-width:0; padding:26px 28px; border:1px solid var(--line); border-radius:10px; background:white; }
.formula h3 { margin-bottom:15px; color:#647980; font-size:12px; font-weight:700; }
.equation { overflow-wrap:anywhere; font-family:Georgia,'Times New Roman',serif; font-size:clamp(18px,2.4vw,25px); line-height:1.45; }
.note { padding:24px 28px; border-left:3px solid var(--green); background:#e8eee8; font-size:13px; color:#50656b; }
.footer { border-top:1px solid var(--line); background:#fff; }
.footer-inner { display:flex; justify-content:space-between; gap:20px; padding:30px 0; color:var(--muted); font-size:12px; }
@media(max-width:920px) { .header-inner { flex-direction:column; padding:18px 0; } .nav { justify-content:center; } .hero-math { opacity:.3; } }
@media(max-width:680px) { .shell { width:calc(100% - 32px); } .nav { gap:10px 14px; } .home-hero { padding:66px 0 78px; } .home-hero h1 { font-size:49px; } .hero-math { display:none; } .subjects { padding:58px 0; } .subjects-grid,.formula-grid,.help { grid-template-columns:1fr; } .subject { min-height:170px; } .subject-number { margin-bottom:20px; } .help { gap:20px; padding:30px; margin-bottom:65px; } .help h2 { font-size:30px; } .page-hero { padding:45px 0 52px; } .footer-inner { flex-direction:column; } }
