:root {
  --blue: #2f6bff;
  --blue-dark: #1546c7;
  --navy: #17223b;
  --ink: #1f2a44;
  --muted: #66728a;
  --line: #dfe5ef;
  --soft: #f3f6fb;
  --cream: #fff8e9;
  --yellow: #ffbe2e;
  --coral: #ff6f61;
  --mint: #36c7a3;
  --white: #fff;
  --shell: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --shadow: 0 18px 55px rgba(23, 34, 59, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
@media (hover: hover) { *:hover { box-shadow: none!important; } }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.subject-icon svg, .tool-icon svg, .math-symbol svg, .search-button svg, .mobile-app-icon svg, .footer-menu-icon svg, .nav-sheet-grid svg, .reverse-menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.brand-accent { fill: var(--yellow); stroke: none; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: var(--navy); color: #fff; padding: 9px 14px; border-radius: 7px; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

.site-header { height: 70px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); line-height: 1; white-space: nowrap; }
.brand-name { font-size: 21px; font-weight: 850; letter-spacing: -.052em; }
.brand small { margin-left: -4px; padding: 5px 9px 4px; border-radius: 999px; background: var(--cream); color: #8d5a0b; font-size: 8px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.brand-mark { width: 35px; height: 35px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav a { color: var(--ink); font-size: 13px; font-weight: 650; padding: 9px 11px; border-radius: 8px; transition: .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--blue); background: #eef4ff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); }
.search-button:hover { color: var(--blue); border-color: #b7caf6; }
.search-button svg { width: 18px; height: 18px; }
.mobile-menu-button { display: none; }
.mobile-app-nav { display: none; }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 8px; padding: 10px 17px; font-size: 13px; font-weight: 750; line-height: 1; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(47,107,255,.22); }
.button-primary:hover { background: var(--blue-dark); box-shadow: none; }
.button-dark { color: #fff; background: var(--navy); }
.button-light { background: #fff; color: var(--navy); }
.button-large { min-height: 52px; padding: 14px 23px; font-size: 14px; }
.text-link { color: var(--blue); font-weight: 720; font-size: 14px; }
.text-link:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-number { display: block; color: var(--blue); font-size: 11px; line-height: 1; font-weight: 850; letter-spacing: .18em; }

.home-hero { background: linear-gradient(180deg, #f8faff 0%, #fff 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 470px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; padding-block: 44px; }
.hero-copy h1 { margin: 20px 0 22px; color: var(--navy); font-size: clamp(46px, 5.3vw, 77px); line-height: .99; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--blue); font-family: var(--serif); font-weight: 500; letter-spacing: -.05em; }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 31px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 27px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--mint); font-weight: 900; }
.hero-image { position: relative; width: 62%; max-width: 390px; margin: 0; justify-self: center; border-radius: 18px 18px 54px 18px; overflow: hidden; box-shadow: var(--shadow); background: #d9e4f2; transform: rotate(15deg); transform-origin: center; }
.hero-image::before { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 1px rgba(23,34,59,.06); border-radius: inherit; pointer-events: none; }
.hero-image img { width: 100%; height: 255px; object-fit: cover; }
.hero-image figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 17px; border-radius: 11px; background: rgba(255,255,255,.93); color: var(--navy); box-shadow: 0 8px 25px rgba(23,34,59,.15); font-size: 12px; backdrop-filter: blur(12px); }
.hero-image figcaption span { color: var(--muted); }

.decision-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.decision-grid { min-height: 130px; display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: stretch; }
.decision-grid > div, .decision-grid > a { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-right: 1px solid var(--line); }
.decision-grid > :first-child { padding-left: 0; }
.decision-grid > :last-child { border-right: 0; }
.decision-grid h2 { margin: 8px 0 0; font-size: 17px; letter-spacing: -.025em; }
.decision-grid > div > p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.decision-grid > div > p a, .section-heading p a { color: var(--blue); font-weight: 750; text-decoration: underline; text-decoration-color: #b7cbfb; text-underline-offset: 3px; }
.decision-grid > div > p a:hover, .section-heading p a:hover { text-decoration-color: currentColor; }
.decision-grid a { transition: background .2s ease; }
.decision-grid a:hover { background: #f7f9fd; }
.decision-grid a b { color: var(--navy); font-size: 14px; }
.decision-grid a span { color: var(--blue); font-size: 12px; margin-top: 5px; }

.section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { max-width: 760px; margin: 8px 0 7px; color: var(--navy); font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -.055em; }
.section-heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; }
.level-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.level-card { min-height: 310px; display: flex; flex-direction: column; padding: 29px; border-right: 1px solid var(--line); background: #fff; transition: background .2s ease, transform .2s ease; }
.level-card:last-child { border-right: 0; }
.level-card:hover { background: var(--soft); }
.level-card h3 { margin: 0 0 13px; color: var(--navy); font-size: 22px; line-height: 1.14; letter-spacing: -.035em; }
.level-card p { margin: 0; color: var(--muted); font-size: 13px; }
.level-card b { margin-top: auto; color: var(--blue); font-size: 12px; }

.subject-band { background: var(--navy); color: #fff; }
.section-heading.light h2 { color: #fff; }
.section-heading.light .kicker { color: #8eafff; }
.section-heading.light .text-link { color: #fff; }
.section-heading.light p { color: #d4dbea; }
.section-heading.light p a { color: #fff; text-decoration-color: #5f77a9; }
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.subject-grid a { min-height: 300px; display: flex; flex-direction: column; padding: 27px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.045); transition: transform .2s ease, background .2s ease; }
.subject-grid a:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
.subject-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.subject-icon svg { width: 27px; height: 27px; stroke-width: 1.75; }
.subject-grid a:nth-child(2) .subject-icon { background: var(--coral); }
.subject-grid a:nth-child(3) .subject-icon { background: var(--mint); }
.subject-grid a:nth-child(4) .subject-icon { background: var(--yellow); color: var(--navy); }
.subject-grid h3 { margin: 38px 0 11px; font-size: 21px; line-height: 1.2; }
.subject-grid p { margin: 0; color: #aeb9cf; font-size: 13px; }
.subject-grid b { margin-top: auto; color: #fff; font-size: 12px; }

.how-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.editorial-image { margin: 0; }
.editorial-image img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 18px 18px 70px 18px; }
.editorial-image figcaption { padding: 13px 3px 0; color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }
.how-copy h2 { margin: 12px 0 26px; color: var(--navy); font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -.055em; }
.how-copy ol { list-style: none; padding: 0; margin: 0 0 30px; }
.how-copy li { display: flex; flex-direction: column; padding: 13px 0; border-top: 1px solid var(--line); }
.how-copy li b { color: var(--navy); font-size: 15px; }
.how-copy li span { color: var(--muted); font-size: 13px; }

.tools-band { background: var(--cream); border-block: 1px solid #f1e6cd; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-grid > a { min-height: 285px; display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid #ebdfc5; border-radius: 14px; box-shadow: 0 9px 25px rgba(100,78,29,.06); transition: transform .2s ease; }
.tool-grid > a:hover { transform: translateY(-3px); }
.tool-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: #ecf2ff; color: var(--blue); box-shadow: inset 0 0 0 1px #dce7ff; }
.tool-icon svg { width: 25px; height: 25px; }
.tool-grid > a:nth-child(2) .tool-icon { background: #fff0ed; color: #d84f43; box-shadow: inset 0 0 0 1px #ffd8d2; }
.tool-grid > a:nth-child(3) .tool-icon { background: #e8f8f3; color: #168f73; box-shadow: inset 0 0 0 1px #c9eee3; }
.tool-grid h3 { margin: 39px 0 10px; color: var(--navy); font-size: 21px; }
.tool-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.tool-grid b { margin-top: auto; color: var(--blue); font-size: 12px; }

.magazine-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 17px; }
.magazine-grid a { min-height: 285px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: 13px; }
.magazine-grid a:nth-child(1), .magazine-grid a:nth-child(4) { grid-column: span 7; }
.magazine-grid a:nth-child(2), .magazine-grid a:nth-child(3) { grid-column: span 5; }
.magazine-grid a:hover { border-color: #b9c7e4; box-shadow: none; }
.article-index { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.magazine-grid h3 { max-width: 570px; margin: 38px 0 12px; color: var(--navy); font-family: var(--serif); font-size: 26px; line-height: 1.12; }
.magazine-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.magazine-grid b { margin-top: auto; padding-top: 25px; color: var(--blue); font-size: 12px; }
.final-cta { background: var(--blue); color: #fff; }
.home-trust { position: relative; display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 38px; align-items: center; margin-bottom: 80px; padding: 31px; overflow: hidden; border: 1px solid #d9e3f5; border-radius: 18px; background: linear-gradient(135deg, #f3f7ff 0%, #f7f9fd 58%, #fffaf0 100%); }
.home-trust::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--blue), var(--mint)); }
.home-trust-copy { max-width: 370px; padding: 5px 6px 5px 10px; }
.home-trust-mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid #cad9fb; border-radius: 12px; background: #fff; color: var(--blue); }
.home-trust-mark svg, .home-trust-link-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-trust h2 { margin: 0; color: var(--navy); font-size: clamp(27px, 2.5vw, 35px); line-height: 1.06; letter-spacing: -.048em; }
.home-trust-copy p { max-width: 340px; margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.home-trust-links { display: grid; gap: 8px; }
.home-trust-links a { min-height: 68px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 22px; gap: 13px; align-items: center; padding: 11px 14px; border: 1px solid #dce4f2; border-radius: 12px; background: rgba(255,255,255,.9); transition: border-color .2s ease, background .2s ease; }
.home-trust-links a:hover { border-color: #aebfe5; background: #fff; }
.home-trust-link-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #edf3ff; color: var(--blue); }
.home-trust-links a:nth-child(2) .home-trust-link-icon { background: #eaf8f4; color: #168f73; }
.home-trust-links a:nth-child(3) .home-trust-link-icon { background: var(--cream); color: #9b680d; }
.home-trust-links strong { display: block; color: var(--navy); font-size: 13px; line-height: 1.25; }
.home-trust-links small { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.35; }
.home-trust-links b { color: var(--blue); font-size: 17px; font-weight: 700; }
.final-cta .shell { min-height: 270px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 55px; }
.final-cta .kicker { color: #d8e4ff; }
.final-cta h2 { max-width: 790px; margin: 9px 0 0; font-size: clamp(35px, 4vw, 55px); line-height: 1.04; letter-spacing: -.055em; }

.page-hero { max-width: 960px; padding-top: 92px; padding-bottom: 65px; text-align: center; }
.page-hero h1 { margin: 17px auto 17px; color: var(--navy); font-size: clamp(45px, 6vw, 73px); line-height: 1; letter-spacing: -.065em; }
.page-hero > p { max-width: 750px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.page-hero.compact { padding-bottom: 35px; }
.listing-section { padding-bottom: 85px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.listing-card { min-height: 270px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.listing-card:hover { transform: translateY(-3px); border-color: #b9c9e8; box-shadow: none; }
.listing-card h3 { margin: 33px 0 12px; color: var(--navy); font-size: 21px; line-height: 1.2; letter-spacing: -.03em; }
.listing-card p { margin: 0; color: var(--muted); font-size: 13px; }
.listing-card > b { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: 12px; }
.context-panel { margin-bottom: 90px; padding: 27px 31px; border: 1px solid #c9d8f7; border-left: 5px solid var(--blue); border-radius: 10px; background: #f4f8ff; }
.context-panel p { margin: 8px 0 0; color: var(--ink); font-size: 16px; }
.context-panel p a { color: var(--blue); font-weight: 720; text-decoration: underline; text-decoration-color: #b7cbfb; text-underline-offset: 3px; }
.context-panel p a:hover { text-decoration-color: currentColor; }

.article-page { padding-bottom: 60px; }
.article-header { max-width: 960px; padding-top: 55px; padding-bottom: 47px; }
.breadcrumb { margin-bottom: 40px; color: var(--muted); font-size: 12px; }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { min-width: 0; display: flex; align-items: center; gap: 7px; }
.breadcrumb li + li::before { content: "›"; color: #9aa6ba; font-size: 14px; line-height: 1; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] span { max-width: min(42vw, 420px); overflow: hidden; color: var(--navy); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.article-header h1 { max-width: 900px; margin: 18px 0 18px; color: var(--navy); font-family: var(--serif); font-size: clamp(47px, 6.7vw, 82px); font-weight: 600; line-height: .99; letter-spacing: -.055em; }
.article-header .dek { max-width: 780px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.6; }
.byline { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 28px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.byline span + span::before { content: "•"; margin-right: 25px; color: #b6bece; }
.article-lead-image { width: min(calc(100% - 40px), 1320px); margin: 0 auto 75px; }
.article-lead-image img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 18px 18px 78px 18px; }
.article-lead-image figcaption { margin-top: 11px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: 235px minmax(0, 740px); justify-content: center; gap: 70px; }
.article-rail { align-self: start; position: sticky; top: 100px; display: flex; flex-direction: column; padding-top: 12px; }
.article-rail > span { margin-bottom: 13px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.article-rail > a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 650; }
.article-rail > a:hover { color: var(--blue); }
.rail-note { margin-top: 28px; padding: 17px; border-radius: 10px; background: var(--cream); }
.rail-note b { color: var(--navy); font-size: 12px; }
.rail-note p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.article-body { color: #303b52; font-family: var(--serif); font-size: 19px; line-height: 1.8; }
.article-body .standfirst { margin: 0 0 55px; color: var(--navy); font-size: 25px; line-height: 1.55; }
.article-body section { margin-bottom: 55px; scroll-margin-top: 100px; }
.article-body h2 { margin: 12px 0 14px; color: var(--navy); font-family: var(--sans); font-size: 32px; line-height: 1.12; letter-spacing: -.04em; }
.article-summary { margin: 0 0 52px; padding: 27px 30px; border: 1px solid #c9d8f7; border-left: 5px solid var(--blue); border-radius: 10px; background: #f4f8ff; font-family: var(--sans); }
.article-summary h2 { margin: 6px 0 12px; font-size: 24px; }
.article-summary ul { margin: 0; padding-left: 20px; }
.article-summary li { margin: 5px 0; color: var(--ink); font-size: 14px; line-height: 1.55; }
.article-summary.direct-answer p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.65; }
.article-framework > h2 { margin-bottom: 34px; }
.article-subsection { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.article-subsection h3 { margin: 0 0 11px; color: var(--navy); font-family: var(--sans); font-size: 25px; line-height: 1.2; letter-spacing: -.025em; }
.article-subsection > p { margin: 0; }
.depth-block { margin-top: 25px; padding: 23px 25px; border-radius: 10px; background: var(--cream); }
.depth-block h4 { margin: 0 0 9px; color: var(--blue-dark); font-family: var(--sans); font-size: 17px; line-height: 1.3; }
.depth-block p { margin: 0; font-size: 17px; line-height: 1.72; }
.depth-block ul { display: grid; gap: 6px; margin: 17px 0 0; padding-left: 21px; }
.depth-block li { color: #4a556b; font-family: var(--sans); font-size: 13px; line-height: 1.5; }
.section-link { margin-top: 18px !important; color: var(--muted); font-family: var(--sans); font-size: 13px; }
.section-link a { color: var(--blue); font-weight: 750; text-decoration: underline; text-decoration-color: #b7cbfb; text-underline-offset: 3px; }
.section-link a:hover { text-decoration-color: currentColor; }
.reflection-card { margin-top: 65px; padding: 30px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--sans); }
.reflection-card h2 { margin: 8px 0 10px; color: #fff; font-size: 25px; }
.reflection-card p { margin: 0; color: #d4dbea; font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.related-paths { margin: 50px 0 25px; padding: 24px 27px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--sans); }
.related-paths h2 { margin: 7px 0 8px; font-size: 23px; }
.related-paths p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.related-paths a { color: var(--blue); font-weight: 750; text-decoration: underline; text-decoration-color: #b7cbfb; text-underline-offset: 3px; }
.comparison-section > p, .guide-evidence > p { margin-bottom: 19px !important; color: var(--muted); }
.table-scroll { min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 3px solid #acc4ff; outline-offset: 3px; }
.table-scroll caption { padding: 12px 15px; background: #eaf1ff; color: var(--navy); font-family: var(--sans); font-size: 12px; font-weight: 750; text-align: left; }
.comparison-section table, .guide-evidence table { width: 100%; min-width: 590px; border-collapse: collapse; font-family: var(--sans); font-size: 12px; line-height: 1.5; }
.comparison-section th, .comparison-section td, .guide-evidence th, .guide-evidence td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-section th, .guide-evidence thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.guide-evidence tbody th { width: 31%; color: var(--navy); font-size: 12px; }
.comparison-section tbody tr:last-child td, .guide-evidence tbody tr:last-child th, .guide-evidence tbody tr:last-child td { border-bottom: 0; }
.comparison-section tbody tr:nth-child(even), .guide-evidence tbody tr:nth-child(even) { background: var(--soft); }
.editor-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--sans); }
.editor-note b { color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.editor-note p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.guide-cycle { margin-top: 60px; font-family: var(--sans); }
.guide-cycle > p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.guide-cycle-grid { display: grid; gap: 11px; margin-top: 24px; }
.guide-cycle-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.guide-cycle-grid h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; line-height: 1.3; }
.guide-cycle-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.guide-cycle-note { padding: 18px 20px; border-left: 4px solid var(--mint); border-radius: 8px; background: #eefaf6; color: var(--ink) !important; }
.article-worksheet { padding: 30px; border-radius: 15px; background: var(--navy); color: #fff; font-family: var(--sans); }
.article-worksheet h2 { color: #fff; }
.article-worksheet > p { color: #c7d1e2; font-size: 14px; line-height: 1.7; }
.article-worksheet form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 22px; }
.article-worksheet label { display: grid; gap: 7px; color: #f1f5fb; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.article-worksheet label:nth-child(3), .article-worksheet button { grid-column: 1 / -1; }
.article-worksheet input, .article-worksheet select, .article-worksheet textarea { width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.article-worksheet textarea { resize: vertical; }
.worksheet-output { margin-top: 18px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.09); color: #fff; font-size: 14px; line-height: 1.7; }
.article-faq { font-family: var(--sans); }
.traffic-identity-band { margin-bottom: 58px; padding-block: 55px; border-block: 1px solid #dbe5f8; background: #f5f8ff; }
.traffic-identity { display: grid; grid-template-columns: 1.15fr .85fr; gap: 55px; align-items: start; }
.traffic-identity h2 { margin: 10px 0 13px; color: var(--navy); font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.traffic-identity p { color: var(--muted); line-height: 1.75; }
.traffic-identity dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fff; }
.traffic-identity dl div { min-height: 102px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.traffic-identity dl div:nth-child(even) { border-right: 0; }
.traffic-identity dl div:nth-last-child(-n+2) { border-bottom: 0; }
.traffic-identity dt { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.traffic-identity dd { margin: 7px 0 0; color: var(--navy); font-size: 14px; font-weight: 750; line-height: 1.35; }
.traffic-identity dd a { color: var(--blue); }
.traffic-layout { padding-bottom: 70px; }
.traffic-table { width: 100%; min-width: 680px; border-collapse: collapse; font-family: var(--sans); font-size: 12px; line-height: 1.55; }
.traffic-table caption { padding: 13px 16px; background: var(--cream); color: var(--navy); font-weight: 800; text-align: left; }
.traffic-table th, .traffic-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.traffic-table thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.traffic-table tbody th { color: var(--navy); }
.traffic-table tbody tr:nth-child(even) { background: var(--soft); }
.traffic-notes > p { color: var(--muted); }
.traffic-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.traffic-note-grid article { padding: 21px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.traffic-note-grid h3 { margin: 0 0 8px; color: var(--navy); font-family: var(--sans); font-size: 17px; }
.traffic-note-grid p { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 12px; line-height: 1.7; }
.legacy-directory-band { margin-bottom: 65px; padding-block: 70px; background: var(--navy); color: #fff; }
.legacy-directory > h2 { max-width: 850px; margin: 10px 0 10px; font-size: clamp(31px, 4vw, 46px); line-height: 1.06; letter-spacing: -.045em; }
.legacy-directory > p { max-width: 800px; margin-bottom: 28px; color: #bac5d8; line-height: 1.7; }
.legacy-groups { display: grid; gap: 9px; }
.legacy-groups details { border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.045); overflow: hidden; }
.legacy-groups summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 19px; cursor: pointer; font-weight: 800; }
.legacy-groups summary b { color: #9fb8f7; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.legacy-groups details > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.12); }
.legacy-groups a { min-height: 92px; display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #17233c; color: #fff; }
.legacy-groups a:hover { background: #203154; }
.legacy-groups a strong { font-size: 13px; line-height: 1.35; }
.legacy-groups a span { color: #aebbd0; font-size: 10px; line-height: 1.4; }

.simple-page { padding-bottom: 80px; }
.simple-page .page-hero { margin: 0; text-align: left; }
.simple-page .page-hero h1, .simple-page .page-hero p { margin-left: 0; }
.simple-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 55px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--soft); }
.simple-facts > div { min-height: 155px; padding: 23px; border-right: 1px solid var(--line); }
.simple-facts > div:last-child { border-right: 0; }
.simple-facts h3 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.simple-facts p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.simple-grid { display: grid; grid-template-columns: minmax(0, 720px) 340px; gap: 90px; align-items: start; }
.simple-grid section { padding: 32px 0; border-top: 1px solid var(--line); }
.simple-grid h2 { margin: 10px 0; color: var(--navy); font-size: 28px; letter-spacing: -.04em; }
.simple-subsection { padding: 24px 0; border-top: 1px solid var(--line); }
.simple-subsection:first-of-type { margin-top: 28px; }
.simple-subsection h3 { margin: 8px 0 10px; color: var(--navy); font-size: 21px; }
.simple-grid section p { margin: 0; color: var(--muted); }
.simple-grid .context-panel h2 { margin-top: 7px; font-size: 22px; }
.simple-grid .context-panel ul { margin: 12px 0 0; padding-left: 19px; color: var(--ink); font-size: 13px; line-height: 1.65; }
.simple-grid .context-panel { position: sticky; top: 100px; }
.simple-depth { margin-top: 60px; padding: 55px; border-radius: 16px; background: var(--navy); color: #fff; }
.simple-depth > h2 { max-width: 800px; margin: 10px 0 9px; font-size: clamp(30px, 4vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.simple-depth > p { max-width: 830px; margin: 0 0 27px; color: #bac4d6; }
.simple-depth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.simple-depth-grid article { padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.045); }
.simple-depth-grid h3 { margin: 0 0 8px; font-size: 18px; }
.simple-depth-grid p { margin: 0; color: #bac4d6; font-size: 13px; line-height: 1.7; }

.finder-layout { display: grid; grid-template-columns: 285px 1fr; gap: 40px; align-items: start; padding-bottom: 65px; }
.filter-card, .planner-form { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.filter-card { position: sticky; top: 95px; }
.filter-card h2, .planner-form h2 { margin: 0 0 20px; color: var(--navy); font-size: 19px; }
.filter-card label, .planner-form > label { display: block; margin-bottom: 16px; color: var(--ink); font-size: 12px; font-weight: 750; }
.filter-card select, .planner-form input[type="date"], .planner-form input[type="number"] { width: 100%; height: 45px; margin-top: 6px; padding: 0 11px; border: 1px solid #cfd7e5; border-radius: 8px; background: #fff; color: var(--ink); }
.filter-card .button { width: 100%; margin-top: 3px; }
.result-count { margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.result-count b { color: var(--blue); font-size: 19px; }
.finder-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.finder-results > a { min-height: 220px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 11px; }
.finder-results > a:hover { border-color: #aebfe3; box-shadow: none; }
.finder-results > a[hidden] { display: none; }
.finder-results span, .search-results > a span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.finder-results h3 { margin: 23px 0 8px; color: var(--navy); font-size: 19px; }
.finder-results p { margin: 0; color: var(--muted); font-size: 13px; }
.finder-results b { margin-top: auto; color: var(--blue); font-size: 12px; }
.empty-state { padding: 40px; border: 1px dashed #b9c4d7; border-radius: 12px; text-align: center; }
.empty-state h2, .empty-state h3 { color: var(--navy); }
.empty-state p { color: var(--muted); }
.finder-decision { padding-bottom: 65px; }
.finder-decision > h2, .planner-method h2, .planner-adjust > h2 { max-width: 800px; margin: 10px 0 9px; color: var(--navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.finder-decision > p, .planner-method > div:first-child p { max-width: 790px; color: var(--muted); }
.finder-decision table, .planner-method table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
.finder-decision th, .finder-decision td, .planner-method th, .planner-method td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.finder-decision thead th, .planner-method thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.finder-decision tbody th, .planner-method tbody th { width: 24%; color: var(--navy); }
.finder-decision tbody tr:nth-child(even), .planner-method tbody tr:nth-child(even) { background: var(--soft); }
.finder-faq { padding-top: 0; }

.planner-grid { display: grid; grid-template-columns: minmax(360px, 410px) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 70px; }
.planner-form { padding: 25px; border-color: #d7e0ef; border-radius: 16px; background: #f6f8fc; }
.planner-form header { margin-bottom: 22px; }
.planner-form header h2 { margin-bottom: 7px; font-size: 23px; letter-spacing: -.035em; }
.planner-form header p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.planner-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.planner-field-grid > label { color: var(--ink); font-size: 11px; font-weight: 780; line-height: 1.4; }
.planner-field-grid > label:first-child { grid-column: 1 / -1; }
.planner-field-grid input, .planner-field-grid select, .planner-subject-row select { width: 100%; min-height: 43px; margin-top: 5px; padding: 0 10px; border: 1px solid #cbd5e5; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; }
.planner-field-grid label > small { display: block; margin-top: 4px; color: var(--muted); font-size: 9.5px; font-weight: 500; line-height: 1.35; }
.planner-form fieldset { margin: 20px 0 0; padding: 16px; border: 1px solid #d2dbea; border-radius: 11px; background: #fff; }
.planner-form legend { padding: 0 6px; color: var(--navy); font-size: 12px; font-weight: 800; }
.planner-form fieldset > p { margin: 0 0 12px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.planner-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue); }
.planner-days > div { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.planner-days label { position: relative; display: block; cursor: pointer; }
.planner-days input { position: absolute; opacity: 0; pointer-events: none; }
.planner-days label span { min-height: 34px; display: grid; place-items: center; border: 1px solid #d5deeb; border-radius: 8px; color: var(--muted); font-size: 9.5px; font-weight: 750; }
.planner-days input:checked + span { border-color: var(--blue); background: #edf3ff; color: var(--blue-dark); }
.planner-days input:focus-visible + span { outline: 3px solid rgba(47,107,255,.24); outline-offset: 2px; }
.planner-subjects { display: grid; gap: 7px; }
.planner-subjects legend + p { margin-bottom: 5px; }
.planner-subject-row { display: grid; grid-template-columns: minmax(0, 1fr) 122px; gap: 9px; align-items: center; min-height: 45px; padding: 5px 5px 5px 10px; border: 1px solid #e0e6f0; border-radius: 9px; }
.planner-subject-row > label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.planner-subject-row select { min-height: 34px; margin: 0; font-size: 10.5px; }
.planner-subject-row select:disabled { opacity: .45; background: var(--soft); }
.planner-buffer { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 13px; border: 1px solid #cce9e1; border-radius: 10px; background: #eefaf7; cursor: pointer; }
.planner-buffer input { flex: 0 0 auto; margin-top: 2px; }
.planner-buffer b, .planner-buffer small { display: block; }
.planner-buffer b { color: #136f5a; font-size: 11.5px; line-height: 1.35; }
.planner-buffer small { margin-top: 3px; color: #4f7169; font-size: 9.5px; line-height: 1.4; }
.planner-form-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 18px; }
.planner-form-actions .button { width: auto; }
.planner-reset { border: 1px solid #cbd5e5; background: #fff; color: var(--muted); }
.plan-output { min-height: 660px; padding: 31px; border: 1px solid #d7e0ef; border-radius: 16px; background: #fff; }
.plan-output.is-empty { min-height: 660px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(145deg, #f8faff, #fff); }
.plan-placeholder-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 3px; border: 1px solid #ccdaf7; border-radius: 16px; background: #edf3ff; color: var(--blue); }
.plan-placeholder-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plan-output h2 { margin: 20px 0 8px; color: var(--navy); font-size: clamp(29px, 4vw, 39px); line-height: 1.08; letter-spacing: -.045em; }
.plan-output > p, .plan-result-header p { margin: 0; color: var(--muted); font-size: 13px; }
.plan-output.is-empty > p { max-width: 600px; }
.plan-output.is-empty > ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 0; padding: 0; list-style: none; }
.plan-output.is-empty > ul li { padding: 7px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 9.5px; font-weight: 700; }
.plan-result-header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-result-header h2 { margin-top: 0; }
.plan-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 21px 0 29px; }
.plan-summary div { padding: 13px; border: 1px solid #e1e7f0; border-radius: 10px; background: var(--soft); }
.plan-summary b { display: block; color: var(--blue); font-size: 19px; line-height: 1.1; }
.plan-summary span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.plan-section { margin-top: 30px; }
.plan-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.plan-section h3 { margin: 0; color: var(--navy); font-size: 18px; letter-spacing: -.025em; }
.plan-section-heading p { margin: 0; color: var(--muted); font-size: 9.5px; }
.plan-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-phase { min-height: 125px; padding: 14px; border: 1px solid #dce4f1; border-radius: 10px; }
.plan-phase span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-phase b { display: block; margin: 9px 0 5px; color: var(--navy); font-size: 12px; line-height: 1.3; }
.plan-phase p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.45; }
.subject-allocation { display: grid; gap: 10px; }
.subject-allocation-row { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(150px, 1.5fr) 92px; gap: 12px; align-items: center; }
.subject-allocation-row > b { color: var(--navy); font-size: 11px; }
.allocation-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e8edf5; }
.allocation-fill { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.allocation-pct-10 { width: 10%; }
.allocation-pct-20 { width: 20%; }
.allocation-pct-30 { width: 30%; }
.allocation-pct-40 { width: 40%; }
.allocation-pct-50 { width: 50%; }
.allocation-pct-60 { width: 60%; }
.allocation-pct-70 { width: 70%; }
.allocation-pct-80 { width: 80%; }
.allocation-pct-90 { width: 90%; }
.allocation-pct-100 { width: 100%; }
.subject-allocation-row > span { color: var(--muted); font-size: 9.5px; text-align: right; }
.week-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.week-day { padding: 14px; border: 1px solid #dfe5ef; border-radius: 10px; }
.week-day > b { display: block; margin-bottom: 9px; color: var(--navy); font-size: 11.5px; }
.week-day ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.week-day li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding-top: 6px; border-top: 1px solid #edf0f5; color: var(--muted); font-size: 9.5px; line-height: 1.35; }
.week-day li:first-child { padding-top: 0; border-top: 0; }
.week-day li strong { color: var(--ink); font-weight: 700; }
.week-day.is-light { background: var(--cream); }
.session-recipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; counter-reset: recipe; }
.session-recipe div { padding: 12px; border-radius: 9px; background: var(--soft); counter-increment: recipe; }
.session-recipe div::before { content: counter(recipe); width: 22px; height: 22px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; }
.session-recipe b { display: block; color: var(--navy); font-size: 10.5px; }
.session-recipe span { display: block; margin-top: 3px; color: var(--muted); font-size: 8.5px; line-height: 1.35; }
.plan-warning { margin: 18px 0 0; padding: 11px 13px; border-left: 4px solid var(--yellow); border-radius: 7px; background: var(--cream); color: #755314; font-size: 10.5px; line-height: 1.5; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-actions .button { min-height: 38px; }
.plan-copy { background: var(--navy); color: #fff; }
.plan-print { border: 1px solid #cbd5e5; background: #fff; color: var(--ink); }
.plan-action-status { align-self: center; color: #168f73; font-size: 10px; font-weight: 700; }
.clipboard-fallback { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.planner-method-band { margin-bottom: 65px; padding-block: 70px; background: var(--soft); border-block: 1px solid var(--line); }
.planner-method { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: start; }
.planner-method h2 { font-size: clamp(29px, 4vw, 39px); }
.planner-adjust { padding-bottom: 65px; }
.planner-faq { padding-top: 0; }

.math-home { padding-bottom: 85px; }
.math-home-grid, .math-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.math-home-grid > a, .math-hub-grid > a { min-height: 290px; display: flex; flex-direction: column; padding: 29px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.math-home-grid > a:hover, .math-hub-grid > a:hover { transform: translateY(-3px); border-color: #b8c9ea; box-shadow: none; }
.math-symbol { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 15px; background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.math-symbol svg { width: 28px; height: 28px; stroke-width: 1.65; }
.math-home-grid > a:nth-child(2) .math-symbol, .math-hub-grid > a:nth-child(2) .math-symbol { background: var(--coral); }
.math-home-grid > a:nth-child(3) .math-symbol, .math-hub-grid > a:nth-child(3) .math-symbol { background: var(--yellow); color: var(--navy); }
.math-home-grid > a:nth-child(4) .math-symbol, .math-hub-grid > a:nth-child(4) .math-symbol { background: var(--mint); }
.math-home-grid > a:nth-child(5) .math-symbol, .math-hub-grid > a:nth-child(5) .math-symbol { background: var(--navy); }
.math-home-grid h3, .math-hub-grid h3 { margin: 34px 0 10px; color: var(--navy); font-size: 22px; line-height: 1.15; letter-spacing: -.035em; }
.math-home-grid p, .math-hub-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.math-home-grid b, .math-hub-grid b { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: 12px; }
.math-partners { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin-top: 15px; padding: 23px 27px; border-radius: 11px; background: var(--navy); color: #fff; }
.math-partners > span { color: #9fb8f7; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.math-partners p { margin: 0; color: #cbd3e3; font-size: 14px; }
.math-partners a { color: #fff; font-weight: 780; text-decoration: underline; text-decoration-color: #657cae; text-underline-offset: 3px; }
.math-partners a:hover { text-decoration-color: #fff; }
.math-lab-section { padding-bottom: 60px; }
.math-lab-section > h2 { margin: 0 0 8px; color: var(--navy); font-size: 34px; letter-spacing: -.04em; }
.section-intro { max-width: 760px; margin: 0 0 28px; color: var(--muted); }
.math-method-band { margin-bottom: 70px; padding-block: 75px; background: var(--navy); color: #fff; }
.math-method-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; }
.math-method-layout > div:first-child { align-self: start; position: sticky; top: 100px; }
.math-method-layout h2 { margin: 10px 0 15px; font-size: clamp(34px, 4vw, 49px); line-height: 1.06; letter-spacing: -.05em; }
.math-method-layout > div:first-child p { color: #b7c1d4; }
.math-method-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.math-method-steps article { padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.045); }
.math-method-steps h3 { margin: 0 0 9px; font-size: 18px; }
.math-method-steps p { margin: 0; color: #b7c1d4; font-size: 13px; line-height: 1.7; }
.math-pathway { padding-bottom: 70px; }
.math-pathway > h2 { max-width: 790px; margin: 10px 0 9px; color: var(--navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.math-pathway > p { max-width: 760px; color: var(--muted); }
.math-pathway table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
.math-pathway th, .math-pathway td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.math-pathway thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.math-pathway tbody th { width: 24%; color: var(--navy); }
.math-pathway tbody tr:nth-child(even) { background: var(--soft); }
.math-hub-faq { padding-top: 0; }
.tool-guide { padding-block: 65px; }
.tool-guide > h2 { max-width: 780px; margin: 10px 0 27px; color: var(--navy); font-size: clamp(30px, 4vw, 45px); line-height: 1.08; letter-spacing: -.045em; }
.tool-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-guide-grid > div { padding: 23px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tool-guide-grid h3 { margin: 0 0 9px; color: var(--navy); font-size: 18px; }
.tool-guide-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.hub-guide { padding-top: 25px; }
.hub-comparison-band { margin-bottom: 65px; padding-block: 68px; border-block: 1px solid #dbe5f8; background: #f5f8ff; }
.hub-comparison > h2 { max-width: 800px; margin: 10px 0 10px; color: var(--navy); font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.hub-comparison > p { max-width: 760px; margin: 0 0 25px; color: var(--muted); }
.hub-comparison table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; font-size: 13px; line-height: 1.55; }
.hub-comparison th, .hub-comparison td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hub-comparison thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.hub-comparison tbody th { width: 20%; color: var(--navy); font-size: 13px; }
.hub-comparison tbody tr:nth-child(even) { background: var(--soft); }
.hub-comparison tbody tr:last-child > * { border-bottom: 0; }
.hub-depth { padding: 0 0 65px; }
.hub-depth > h2 { max-width: 800px; margin: 10px 0 9px; color: var(--navy); font-size: clamp(29px, 4vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.hub-depth > p { max-width: 770px; margin: 0 0 23px; color: var(--muted); }
.hub-faq { padding: 10px 0 65px; }
.hub-faq > h2, .official-sources > h2 { margin: 10px 0 24px; color: var(--navy); font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.faq-grid, .source-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-grid article, .source-list article { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq-grid h3, .source-list h3 { margin: 0 0 9px; color: var(--navy); font-size: 17px; }
.faq-grid p, .source-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.official-sources { margin-top: 48px; padding: 29px; border: 1px solid #cbdceb; border-radius: 12px; background: #f4f9fd; }
.official-sources > p { color: var(--muted); }
.source-list article { background: #fff; }
.source-list a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tool-tip { margin: 17px 0 0; padding: 17px 20px; border-left: 4px solid var(--yellow); border-radius: 7px; background: var(--cream); color: var(--ink); font-size: 13px; }

.calculator-hero { padding-top: 45px; padding-bottom: 40px; }
.calculator-hero .breadcrumb { margin-bottom: 28px; }
.calculator-hero h1 { margin: 13px 0 10px; color: var(--navy); font-size: clamp(44px, 6vw, 70px); line-height: 1; letter-spacing: -.065em; }
.calculator-hero > p { max-width: 710px; margin: 0; color: var(--muted); font-size: 17px; }
.calculator-app { display: grid; grid-template-columns: .92fr 1.08fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(23,34,59,.07); }
.calculator-input { padding: 29px; background: var(--soft); border-right: 1px solid var(--line); }
.calculator-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.calculator-tabs button { padding: 8px 11px; border: 1px solid #d2dbea; border-radius: 7px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 750; }
.calculator-tabs button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.calculator-fields label { color: var(--ink); font-size: 11px; font-weight: 750; }
.calculator-fields input, .calculator-fields select { width: 100%; height: 45px; margin-top: 5px; padding: 0 11px; border: 1px solid #cad4e4; border-radius: 8px; background: #fff; color: var(--ink); }
.example-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0; }
.example-row::before { content: "TRY"; align-self: center; margin-right: 3px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.example-row button { padding: 5px 8px; border: 0; border-radius: 6px; background: #e5ecf8; color: var(--blue-dark); font-size: 10px; }
.calculator-result { min-height: 430px; padding: 36px; background: #fff; transition: opacity .2s ease; }
.calculator-result.loading { opacity: .55; }
.calculator-result.error strong, .calculator-result.error p { color: #b42318; }
.calculator-result h2 { margin: 28px 0 6px; color: var(--navy); font-size: 20px; }
.calculator-result > strong { display: block; color: var(--blue); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; }
.calculator-result > p { margin: 10px 0 27px; color: var(--muted); font-size: 13px; }
.calculator-result ol { list-style: none; padding: 0; margin: 0; }
.calculator-result li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.calculator-explainer { display: grid; grid-template-columns: 1fr 390px; gap: 65px; padding-block: 70px; align-items: start; }
.calculator-explainer h2 { margin: 11px 0; color: var(--navy); font-size: 31px; letter-spacing: -.04em; }
.calculator-explainer > div p { color: var(--muted); }
.calculator-explainer .context-panel { margin: 0; }
.calculator-learning { margin-top: 30px; }
.calculator-learning h3 { margin: 25px 0 6px; color: var(--navy); font-size: 18px; }
.calculator-learning p { margin: 0; font-size: 14px; line-height: 1.7; }
.calculator-learning ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.calculator-rich-guide .section-intro { margin-bottom: 0; }
.calculator-rich-guide .context-panel h2 { margin: 8px 0 9px; font-size: 22px; }
.calculator-mode-guide { padding: 0 0 70px; }
.calculator-mode-guide > h2 { max-width: 780px; margin: 10px 0 9px; color: var(--navy); font-size: clamp(29px, 4vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.calculator-mode-guide > p { max-width: 760px; margin: 0 0 22px; color: var(--muted); }
.calculator-mode-guide table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; font-size: 13px; line-height: 1.55; }
.calculator-mode-guide th, .calculator-mode-guide td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.calculator-mode-guide thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.calculator-mode-guide tbody th { width: 20%; color: var(--navy); }
.calculator-mode-guide tbody tr:nth-child(even) { background: var(--soft); }
.calculator-mode-guide tbody tr:last-child > * { border-bottom: 0; }
.calculator-faq { padding-top: 0; }
.calculator-mode-link { display: flex; flex-direction: column; gap: 3px; color: var(--navy); }
.calculator-mode-link span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.calculator-mode-link:hover { color: var(--blue); }
.fixed-calculator-label { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.calculator-tool-page { --tool-accent: var(--blue); --tool-accent-dark: var(--blue-dark); --tool-tint: #edf3ff; --tool-warm: var(--yellow); }
.calculator-tool-page .calculator-app { border-top: 4px solid var(--tool-accent); }
.calculator-tool-page .fixed-calculator-label { background: var(--tool-accent-dark); }
.calculator-tool-page .calculator-trust-note svg, .calculator-tool-page .calculator-result > strong, .calculator-tool-page .worked-steps li > span, .calculator-tool-page .calculator-next-links a:hover { color: var(--tool-accent); }
.calculator-tool-page .formula-card { background: var(--tool-accent-dark)!important; }
.calculator-tool-page .concept-mark { background: var(--tool-tint); color: var(--tool-accent-dark); }
.calculator-tool-page .calculator-mistakes thead th { background: var(--tool-accent-dark); }
.calculator-visual-section { padding-bottom: 65px; }
.tool-visual { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); align-items: center; min-height: 290px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--tool-tint); }
.tool-visual-canvas { min-height: 290px; display: grid; place-items: center; padding: 24px; background: rgba(255,255,255,.55); }
.tool-visual svg { width: min(100%, 390px); height: auto; color: var(--tool-accent-dark); overflow: visible; }
.tool-visual svg :is(path, circle, rect) { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tool-visual .visual-paper { fill: #fff; stroke: var(--tool-accent-dark); }
.tool-visual .visual-accent { fill: var(--tool-accent); stroke: var(--tool-accent-dark); }
.tool-visual .visual-warm { fill: var(--tool-warm); stroke: var(--tool-accent-dark); }
.tool-visual .visual-strong { fill: none; stroke: var(--tool-accent-dark); stroke-width: 5; }
.tool-visual .visual-muted { fill: none; stroke: color-mix(in srgb, var(--tool-accent) 38%, white); stroke-width: 2; stroke-dasharray: 5 5; }
.tool-visual figcaption { padding: clamp(30px, 5vw, 64px); }
.tool-visual figcaption strong, .tool-visual figcaption span { display: block; }
.tool-visual figcaption strong { max-width: 500px; color: var(--navy); font-family: var(--serif); font-size: clamp(25px, 3vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.tool-visual figcaption span { max-width: 540px; margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tool-design-fractions { --tool-accent:#3267e3; --tool-accent-dark:#183f9d; --tool-tint:#eef3ff; --tool-warm:#ffca54; }
.tool-design-fractions .tool-visual { border-radius: 34px 10px 34px 10px; }
.tool-design-percent { --tool-accent:#e05c4f; --tool-accent-dark:#9d2f2a; --tool-tint:#fff0ed; --tool-warm:#ffbf36; }
.tool-design-percent .tool-visual { grid-template-columns: 1.25fr .75fr; }
.tool-design-percent .tool-visual figcaption { order: -1; }
.tool-design-factors { --tool-accent:#7857d8; --tool-accent-dark:#4d319c; --tool-tint:#f3efff; --tool-warm:#43d1aa; }
.tool-design-factors .tool-visual { border-radius: 80px 18px 80px 18px; background-image: radial-gradient(#d8cff7 1px, transparent 1px); background-size: 16px 16px; }
.tool-design-unit-rate { --tool-accent:#078a76; --tool-accent-dark:#075f55; --tool-tint:#e9faf6; --tool-warm:#ffca54; }
.tool-design-unit-rate .tool-visual-canvas { margin: 18px; min-height: 250px; border-radius: 16px; background:#fff; }
.tool-design-ratio { --tool-accent:#2d74d8; --tool-accent-dark:#164985; --tool-tint:#edf6ff; --tool-warm:#f2ad2d; }
.tool-design-ratio .tool-visual { grid-template-columns: 1fr; text-align: center; }
.tool-design-ratio .tool-visual-canvas { min-height: 220px; }
.tool-design-ratio .tool-visual figcaption { padding-top: 26px; }
.tool-design-average { --tool-accent:#c4549b; --tool-accent-dark:#82316b; --tool-tint:#fff0fa; --tool-warm:#f2b84b; }
.tool-design-average .tool-visual { box-shadow: inset 9px 0 0 var(--tool-accent); }
.tool-design-linear { --tool-accent:#dd6b20; --tool-accent-dark:#8d4216; --tool-tint:#fff4e8; --tool-warm:#4bc5a5; }
.tool-design-linear .tool-visual { grid-template-columns: .8fr 1.2fr; border-width: 2px; border-left-width: 12px; }
.tool-design-quadratic { --tool-accent:#5b55cf; --tool-accent-dark:#393382; --tool-tint:#f0efff; --tool-warm:#ffbd45; }
.tool-design-quadratic .tool-visual { border-radius: 120px; padding-inline: 25px; }
.tool-design-sequence { --tool-accent:#0580a6; --tool-accent-dark:#07556c; --tool-tint:#eaf9fd; --tool-warm:#ff9d5c; }
.tool-design-sequence .tool-visual { grid-template-columns: 1fr; }
.tool-design-sequence .tool-visual figcaption { order:-1; padding-bottom:20px; text-align:center; }
.tool-design-sequence .tool-visual-canvas { min-height:210px; }
.tool-design-simultaneous { --tool-accent:#d34b64; --tool-accent-dark:#8e263a; --tool-tint:#fff0f3; --tool-warm:#4b9fe8; }
.tool-design-simultaneous .tool-visual { border-radius: 16px 70px 16px 70px; }
.tool-design-gradient { --tool-accent:#357a53; --tool-accent-dark:#20553a; --tool-tint:#edf8f1; --tool-warm:#f0a63c; }
.tool-design-gradient .tool-visual { grid-template-columns: 1.3fr .7fr; }
.tool-design-gradient .tool-visual figcaption { order:-1; border-right:1px solid #cfe6d7; }
.tool-design-pythagoras { --tool-accent:#e05b35; --tool-accent-dark:#93361f; --tool-tint:#fff1ec; --tool-warm:#facb4b; }
.tool-design-pythagoras .tool-visual { clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%); border-radius: 8px; }
.tool-design-circle { --tool-accent:#1685d1; --tool-accent-dark:#0c568d; --tool-tint:#eaf7ff; --tool-warm:#ffca52; }
.tool-design-circle .tool-visual { border-radius: 999px; padding-inline: 28px; }
.tool-design-prism { --tool-accent:#8a5ac7; --tool-accent-dark:#58328b; --tool-tint:#f6efff; --tool-warm:#55c6a6; }
.tool-design-prism .tool-visual { box-shadow: 12px 12px 0 #e2d6f3; }
.tool-design-summary { --tool-accent:#267e8d; --tool-accent-dark:#18545f; --tool-tint:#eaf8fa; --tool-warm:#f0ad3c; }
.tool-design-summary .tool-visual { border-radius: 10px; border-bottom-width: 8px; border-bottom-color:var(--tool-accent); }
.tool-design-probability { --tool-accent:#c55233; --tool-accent-dark:#84301e; --tool-tint:#fff3ed; --tool-warm:#f2bf42; }
.tool-design-probability .tool-visual { grid-template-columns: .7fr 1.3fr; border-radius: 18px 18px 70px 18px; }
@media (min-width: 781px) {
  .calculator-composition-fractions .calculator-use-grid { grid-template-columns: 1.25fr .75fr; }
  .calculator-composition-percent .calculator-use-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-composition-percent .calculator-use-grid > article:first-child { grid-row: auto; }
  .calculator-composition-factors .calculator-concept-grid { grid-template-columns: 1.25fr .75fr; }
  .calculator-composition-factors .calculator-concept-grid article:first-child { grid-row: span 2; }
  .calculator-composition-unit-rate .worked-example { grid-template-columns: 1.15fr .85fr; }
  .calculator-composition-ratio .calculator-use-grid { grid-template-columns: .72fr 1.28fr; }
  .calculator-composition-average .worked-example { grid-template-columns: 1fr; gap: 28px; }
  .calculator-composition-linear .calculator-concept-grid { grid-template-columns: 1fr; }
  .calculator-composition-linear .calculator-concept-grid article { display: grid; grid-template-columns: 48px 220px 1fr; align-items: start; gap: 18px; }
  .calculator-composition-linear .calculator-concept-grid h3 { margin: 9px 0 0; }
  .calculator-composition-quadratic .calculator-detail-faq .faq-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-composition-sequence .worked-example { grid-template-columns: 1.1fr .9fr; }
  .calculator-composition-simultaneous .calculator-use-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-composition-simultaneous .calculator-use-grid > article:first-child { grid-row: auto; }
  .calculator-composition-gradient .worked-example { grid-template-columns: 1fr; gap: 24px; }
  .calculator-composition-pythagoras .calculator-concept-grid { grid-template-columns: .8fr 1.3fr .9fr; }
  .calculator-composition-circle .calculator-detail-faq .faq-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-composition-circle .calculator-detail-faq article { border-radius: 50px 12px 50px 12px; }
  .calculator-composition-prism .calculator-use-grid { grid-template-columns: .82fr 1.18fr; }
  .calculator-composition-summary .calculator-mistakes { padding: 45px; border: 1px solid var(--line); border-radius: 18px; background: var(--tool-tint); }
  .calculator-composition-probability .calculator-app { grid-template-columns: .78fr 1.22fr; border-radius: 18px 18px 58px 18px; }
}
.calculator-detail-hero { padding-bottom: 30px; }
.calculator-detail-heading { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 45px; align-items: end; }
.calculator-detail-heading > div:first-child > p { max-width: 750px; margin: 0; color: var(--muted); font-size: 17px; }
.calculator-trust-note { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.calculator-trust-note svg { width: 35px; height: 35px; flex: 0 0 auto; color: var(--blue); }
.calculator-trust-note span, .calculator-trust-note b { display: block; }
.calculator-trust-note span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.calculator-trust-note b { color: var(--navy); font-size: 12px; }
.calculator-app-dedicated .calculator-result { min-height: 390px; }
.calculator-use-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; padding-block: 65px; }
.calculator-use-grid > * { margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.calculator-use-grid > article:first-child { grid-row: span 2; }
.calculator-use-grid h2 { margin: 0 0 12px; color: var(--navy); font-size: 27px; line-height: 1.13; letter-spacing: -.035em; }
.calculator-use-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.formula-card { background: var(--navy)!important; }
.formula-card svg { width: 34px; height: 34px; margin-bottom: 20px; color: #8cafff; }
.formula-card h2, .formula-card p { color: #fff; }
.formula-card p { font-family: var(--serif); font-size: 16px; }
.use-when-card { background: #fff8e9!important; border-color: #f1dfb7!important; }
.calculator-concept-band { padding-block: 68px; background: var(--soft); border-block: 1px solid var(--line); }
.calculator-concept-band h2 { max-width: 740px; margin: 0 0 10px; color: var(--navy); font-size: clamp(31px, 4vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.calculator-concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.calculator-concept-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.concept-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #eaf1ff; color: var(--blue); }
.concept-mark svg { width: 23px; height: 23px; }
.calculator-concept-grid h3 { margin: 26px 0 8px; color: var(--navy); font-size: 18px; letter-spacing: -.02em; }
.calculator-concept-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.worked-example { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; padding-block: 75px; }
.worked-example h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(30px, 4vw, 41px); line-height: 1.08; letter-spacing: -.045em; }
.worked-example-intro > p { color: var(--muted); line-height: 1.75; }
.tip-card { margin-top: 25px; padding: 18px; border-left: 4px solid var(--yellow); background: #fff8e9; }
.tip-card b { color: var(--navy); }
.tip-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.worked-steps { list-style: none; counter-reset: worked; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.worked-steps li { counter-increment: worked; display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.worked-steps li > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.worked-steps li > span::after { content: " " counter(worked); }
.worked-steps p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.calculator-mistakes { padding-bottom: 75px; }
.calculator-mistakes > h2, .calculator-detail-faq > h2, .calculator-next h2 { max-width: 780px; margin: 0 0 10px; color: var(--navy); font-size: clamp(29px, 4vw, 39px); line-height: 1.1; letter-spacing: -.04em; }
.calculator-next > div:first-child p { max-width: 780px; margin: 0 0 24px; color: var(--muted); }
.calculator-mistakes table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
.calculator-mistakes th, .calculator-mistakes td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.calculator-mistakes thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.calculator-mistakes tbody th { width: 22%; color: var(--navy); }
.calculator-mistakes tbody tr:nth-child(even) { background: var(--soft); }
.calculator-detail-faq { padding-block: 75px; }
.calculator-next { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding-bottom: 60px; }
.calculator-next-links { display: grid; gap: 9px; margin: 0; color: var(--muted); font-size: 13px; }
.calculator-link-intro { margin-bottom: 2px; color: var(--ink); font-weight: 700; }
.calculator-link-outro { margin-top: 3px; font-size: 11px; line-height: 1.55; }
.calculator-next-links a { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); font-size: 13px; font-weight: 750; }
.calculator-next-links a:hover { border-color: var(--blue); color: var(--blue); }
.calculator-next-links svg { width: 22px; height: 22px; flex: 0 0 auto; }
.calculator-directory { padding-block: 70px; }
.calculator-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.calculator-directory-heading h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(31px, 4vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.calculator-directory-heading p { max-width: 730px; margin: 0; color: var(--muted); }
.calculator-directory-heading > span { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; background: #eaf1ff; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.calculator-directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.calculator-directory-grid > article { padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.calculator-directory-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; }
.calculator-directory-icon svg { width: 23px; height: 23px; }
.calculator-directory-grid h3 { margin: 18px 0 11px; color: var(--navy); font-size: 21px; }
.calculator-directory-links { display: grid; margin: 0; color: var(--muted); font-size: 12px; }
.calculator-directory-links > span:first-child { padding-bottom: 9px; }
.calculator-directory-grid a { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; }
.calculator-directory-grid a:hover { color: var(--blue); }
.calculator-directory-grid a svg { width: 19px; height: 19px; flex: 0 0 auto; }

.diagnostic-intro { padding-bottom: 55px; }
.diagnostic-intro > h2, .test-topic-map > h2 { max-width: 790px; margin: 10px 0 9px; color: var(--navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.diagnostic-intro > p, .test-topic-map > p { max-width: 820px; margin: 0 0 26px; color: var(--muted); }
.test-app { max-width: 900px; padding-bottom: 70px; }
.test-toolbar { position: sticky; top: 70px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 8px 24px rgba(23,34,59,.07); backdrop-filter: blur(12px); }
.test-toolbar > div { display: flex; align-items: center; gap: 6px; }
.test-toolbar span { margin-right: 6px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.test-toolbar button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 750; }
.test-toolbar button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.test-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.test-toolbar p b { color: var(--blue); font-size: 18px; }
.test-paper[hidden] { display: none; }
.test-paper fieldset { margin: 0 0 13px; padding: 25px; border: 1px solid var(--line); border-radius: 11px; }
.test-paper fieldset.correct { border-color: #7ed9c1; background: #f1fcf8; }
.test-paper fieldset.incorrect { border-color: #f2aaa4; background: #fff6f5; }
.test-paper legend { max-width: 95%; padding: 0 7px; color: var(--navy); font-size: 16px; font-weight: 700; line-height: 1.45; }
.test-paper legend span { display: block; margin-bottom: 4px; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.test-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.test-choices label { position: relative; }
.test-choices input { position: absolute; opacity: 0; pointer-events: none; }
.test-choices span { display: block; padding: 11px 13px; border: 1px solid #d5ddea; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; cursor: pointer; }
.test-choices input:focus-visible + span { outline: 3px solid #acc4ff; outline-offset: 2px; }
.test-choices input:checked + span { border-color: var(--blue); background: #eef4ff; color: var(--blue-dark); font-weight: 750; }
.test-solution { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(23,34,59,.12); }
.test-solution b { color: var(--navy); font-size: 12px; }
.test-solution p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.test-paper > .button { margin-top: 10px; }
.test-score { margin-top: 20px; padding: 24px; border-radius: 10px; background: var(--navy); color: #fff; }
.test-score strong { display: block; font-size: 20px; }
.test-score p { margin: 8px 0 0; color: #cbd3e3; font-size: 13px; line-height: 1.65; }
.test-review-band { padding-block: 70px; background: var(--cream); border-block: 1px solid #f1e3c5; }
.test-review-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
.test-review-grid h2 { margin: 10px 0 10px; color: var(--navy); font-size: clamp(31px, 4vw, 44px); line-height: 1.07; letter-spacing: -.045em; }
.test-review-grid > div:first-child p { color: var(--muted); }
.review-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-cards article { padding: 22px; border: 1px solid #eadbbd; border-radius: 11px; background: #fff; }
.review-cards h3 { margin: 0 0 7px; color: var(--navy); font-size: 17px; }
.review-cards p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.test-topic-map { padding-block: 70px; }
.test-topic-map table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
.test-topic-map th, .test-topic-map td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.test-topic-map thead th { background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.test-topic-map tbody th { width: 24%; color: var(--navy); }
.test-topic-map tbody tr:nth-child(even) { background: var(--soft); }
.test-faq { padding-top: 0; }

.site-search { max-width: 760px; display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 35px auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 35px rgba(23,34,59,.08); }
.site-search input { min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; color: var(--ink); }
.search-results { max-width: 820px; min-height: 350px; padding-bottom: 80px; }
.search-results > a { display: block; padding: 25px 0; border-bottom: 1px solid var(--line); }
.search-results > a h2 { margin: 7px 0 4px; color: var(--navy); font-size: 23px; letter-spacing: -.03em; }
.search-results > a p { margin: 0; color: var(--muted); font-size: 14px; }
.search-results > a:hover h2 { color: var(--blue); }
.search-start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.search-start a { padding: 25px; border: 1px solid var(--line); border-radius: 10px; color: var(--blue); font-weight: 750; text-align: center; }
.error-page { min-height: 620px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 850px; }
.error-page > span { color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: .2em; }
.error-page h1 { margin: 14px 0; color: var(--navy); font-size: clamp(48px, 7vw, 82px); line-height: 1; letter-spacing: -.065em; }
.error-page p { max-width: 700px; color: var(--muted); font-size: 18px; }
.error-page p a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: #10192c; color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 2.2fr); gap: 65px; padding-block: 70px 55px; }
.footer-brand { color: #fff; }
.footer-intro p { margin: 18px 0 0; color: #8f9ab1; font-family: var(--serif); font-size: 15px; }
.footer-search { margin-top: 30px; }
.footer-search label { display: block; margin-bottom: 8px; color: #b8c2d6; font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.footer-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: rgba(255,255,255,.06); }
.footer-search input { min-width: 0; height: 40px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 13px; }
.footer-search input::placeholder { color: #7f8aa2; }
.footer-search button { min-width: 70px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; }
.footer-search input:focus-visible, .footer-search button:focus-visible { outline: 3px solid #8caeff; outline-offset: 2px; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(3, minmax(125px, 1fr)); gap: 34px 42px; }
#footer-navigation { scroll-margin-top: 76px; }
.footer-menu { min-width: 0; }
.footer-menu-title { display: flex; align-items: center; gap: 9px; margin: 3px 0 14px; color: #8f9ab1; font-size: 10px; font-weight: 800; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
.footer-menu-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.06); color: #a9bcdf; }
.footer-menu-icon svg { width: 15px; height: 15px; stroke-width: 1.9; }
.footer-menu > div { display: flex; flex-direction: column; }
.footer-menu a { width: fit-content; padding: 3px 0; color: #d8deeb; font-size: 13px; }
.footer-menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7f8aa2; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }

.nav-sheet { width: min(100%, 590px); max-width: none; max-height: min(78dvh, 690px); inset: auto 0 0; margin: 0 auto; padding: 9px 18px calc(20px + env(safe-area-inset-bottom)); border: 0; border-radius: 24px 24px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -25px 70px rgba(13,24,49,.25); overflow: auto; }
.nav-sheet[open] { animation: sheet-rise .24s cubic-bezier(.22,.75,.25,1); }
.nav-sheet::backdrop { background: rgba(12,22,43,.56); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.nav-sheet-handle { width: 42px; height: 4px; margin: 2px auto 14px; border-radius: 999px; background: #d4dbe7; }
.nav-sheet header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.nav-sheet header span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.nav-sheet-title { display: block; margin: 3px 0 0; color: var(--navy); font-size: 24px; line-height: 1.12; letter-spacing: -.04em; }
.nav-sheet header button { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--navy); font-size: 25px; line-height: 1; }
.nav-sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding-top: 16px; }
.nav-sheet-grid a { min-width: 0; min-height: 74px; display: grid; grid-template-columns: 37px minmax(0, 1fr); align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.nav-sheet-grid a:hover, .nav-sheet-grid a:focus-visible { border-color: #b9caf2; background: #f5f8ff; transform: translateY(-1px); }
.nav-sheet-grid > a > svg { width: 37px; height: 37px; padding: 8px; border-radius: 11px; background: #eaf1ff; color: var(--blue); }
.nav-sheet-grid a:nth-child(3n+2) > svg { background: #eaf9f5; color: #168f73; }
.nav-sheet-grid a:nth-child(3n) > svg { background: #fff3dc; color: #9c6509; }
.nav-sheet-grid a span { min-width: 0; }
.nav-sheet-grid strong, .nav-sheet-grid small { display: block; }
.nav-sheet-grid strong { color: var(--navy); font-size: 12px; line-height: 1.3; }
.nav-sheet-grid small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.reverse-menu { display: grid; gap: 14px; padding-top: 15px; }
.reverse-menu section + section { padding-top: 14px; border-top: 1px solid var(--line); }
.reverse-menu-title { margin: 0 0 8px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.reverse-menu section > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.reverse-menu a { min-width: 0; min-height: 50px; display: grid; grid-template-columns: 29px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--navy); font-size: 11px; font-weight: 750; line-height: 1.25; }
.reverse-menu a:hover, .reverse-menu a:focus-visible { border-color: #b9caf2; background: #edf3ff; color: var(--blue-dark); }
.reverse-menu a svg { width: 29px; height: 29px; padding: 6px; border-radius: 9px; background: #fff; color: var(--blue); }
.top-menu-sheet { position: fixed; width: min(90vw, 430px); height: 100dvh; max-height: 100dvh; inset: 0 0 0 auto; margin: 0 0 0 auto; padding: 0 18px calc(22px + env(safe-area-inset-bottom)); border: 0; border-left: 1px solid var(--line); border-radius: 24px 0 0 24px; box-shadow: -24px 0 70px rgba(13,24,49,.24); }
.top-menu-sheet[open] { animation: drawer-left .28s cubic-bezier(.22,.75,.25,1); }
.top-menu-sheet .top-menu-header { position: sticky; z-index: 2; top: 0; align-items: center; padding: calc(19px + env(safe-area-inset-top)) 0 17px; background: #fff; }
.top-menu-header .nav-sheet-title { margin: 0; font-size: 25px; }
.top-menu-header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.top-menu-links { display: grid; gap: 22px; padding-top: 20px; }
.top-menu-links section + section { padding-top: 20px; border-top: 1px solid var(--line); }
.top-menu-group-title { margin: 0 0 9px; color: var(--navy); font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.top-menu-links section > div { display: grid; gap: 7px; }
.top-menu-links a { min-width: 0; min-height: 62px; display: grid; grid-template-columns: 39px minmax(0, 1fr) 16px; align-items: center; gap: 11px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--navy); transition: border-color .2s ease, background .2s ease, color .2s ease; }
.top-menu-links a::after { content: "›"; color: #8290a9; font-size: 21px; line-height: 1; }
.top-menu-links a:hover, .top-menu-links a:focus-visible { border-color: #b9caf2; background: #f5f8ff; color: var(--blue-dark); }
.top-menu-links a[aria-current="page"] { border-color: #9cb8fa; background: #edf3ff; color: var(--blue-dark); }
.top-menu-links a > svg { width: 39px; height: 39px; padding: 9px; border-radius: 11px; background: #eaf1ff; color: var(--blue); }
.top-menu-links section:nth-child(2) a > svg { background: #eef9f5; color: #168f73; }
.top-menu-links section:nth-child(3) a > svg { background: #fff4df; color: #9c6509; }
.top-menu-links a span, .top-menu-links a strong, .top-menu-links a small { min-width: 0; display: block; }
.top-menu-links a strong { font-size: 12px; line-height: 1.25; }
.top-menu-links a small { margin-top: 3px; color: var(--muted); font-size: 9.5px; line-height: 1.35; }
body.sheet-open { overflow: hidden; }

@keyframes sheet-rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drawer-left {
  from { opacity: .65; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1050px) {
  .primary-nav { gap: 0; }
  .primary-nav a { padding-inline: 8px; font-size: 12px; }
  .header-cta { display: none; }
  .hero-grid { min-height: 430px; gap: 30px; }
  .decision-grid { grid-template-columns: 1fr 1fr; }
  .decision-grid > :nth-child(2) { border-right: 0; }
  .decision-grid > :nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .level-grid, .subject-grid { grid-template-columns: repeat(2, 1fr); }
  .level-card:nth-child(2) { border-right: 0; }
  .level-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .how-section { gap: 45px; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 200px minmax(0, 680px); gap: 40px; }
  .simple-grid { grid-template-columns: 1fr 300px; gap: 45px; }
  .footer-top { grid-template-columns: 1fr; gap: 45px; }
  .footer-nav-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-explainer { grid-template-columns: 1fr 340px; gap: 40px; }
  .math-method-layout { gap: 40px; }
}

@media (max-width: 780px) {
  /* Reserve space for the fixed bottom bar so it never covers page content. */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body { -webkit-tap-highlight-color: transparent; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { height: 62px; }
  .header-inner { gap: 10px; }
  .brand-name { font-size: 17px; }
  .brand small { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .search-button { width: 42px; height: 42px; }
  .mobile-menu-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
  .mobile-menu-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
  .mobile-menu-button:hover, .mobile-menu-button:focus-visible, .mobile-menu-button[aria-expanded="true"] { border-color: #b7caf6; color: var(--blue); }
  .mobile-menu-button:focus-visible { outline: 3px solid #a9c0ff; outline-offset: 2px; }
  .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mobile-app-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; min-height: calc(66px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); align-items: start; padding: 5px 7px env(safe-area-inset-bottom); border-top: 1px solid rgba(23,34,59,.12); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(23,34,59,.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mobile-app-nav > a, .mobile-app-nav > button { min-width: 0; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 9px; font-weight: 800; line-height: 1; letter-spacing: .01em; touch-action: manipulation; }
  .mobile-app-icon { width: 34px; height: 31px; display: grid; place-items: center; border-radius: 10px; transition: color .2s ease, background .2s ease, transform .2s ease; }
  .mobile-app-icon svg { width: 20px; height: 20px; stroke-width: 1.9; }
  .mobile-app-nav > :is(a, button):hover, .mobile-app-nav > :is(a, button):focus-visible, .mobile-app-nav > [aria-current="page"], .mobile-app-nav > button[aria-expanded="true"] { color: var(--blue); }
  .mobile-app-nav > [aria-current="page"] .mobile-app-icon, .mobile-app-nav > button[aria-expanded="true"] .mobile-app-icon { background: var(--blue); color: #fff; box-shadow: 0 5px 13px rgba(47,107,255,.25); transform: translateY(-1px); }
  .mobile-app-nav > :is(a, button):active .mobile-app-icon { transform: scale(.92); }
  .mobile-app-nav > :is(a, button):focus-visible { outline: 3px solid #a9c0ff; outline-offset: -2px; }
  .nav-sheet-more { width: min(calc(100% - 24px), 500px); max-height: calc(100dvh - 94px - env(safe-area-inset-bottom)); bottom: calc(74px + env(safe-area-inset-bottom)); padding: 10px 15px 16px; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 70px rgba(13,24,49,.3); }
  .nav-sheet-more .nav-sheet-handle { display: none; }
  .nav-sheet-more header { padding: 3px 0 14px; }
  .nav-sheet-more .nav-sheet-title { font-size: 22px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 44px 36px; }
  .hero-copy h1 { font-size: clamp(45px, 13vw, 67px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-image { width: 58%; max-width: 340px; border-radius: 15px 15px 45px 15px; }
  .hero-image img { height: 220px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid > div, .decision-grid > a { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-grid > :last-child { border-bottom: 0; }
  .section { padding-block: 70px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
  .section-heading h2 { font-size: 38px; }
  .level-grid, .subject-grid, .tool-grid, .listing-grid, .finder-results, .math-home-grid, .math-hub-grid, .tool-guide-grid, .faq-grid, .source-list { grid-template-columns: 1fr; }
  .level-card { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .level-card:last-child { border-bottom: 0; }
  .subject-grid a { min-height: 260px; }
  .how-section { grid-template-columns: 1fr; }
  .how-copy h2 { font-size: 39px; }
  .magazine-grid { grid-template-columns: 1fr; }
  .magazine-grid a:nth-child(n) { grid-column: auto; }
  .final-cta .shell { align-items: flex-start; flex-direction: column; }
  .home-trust { grid-template-columns: 1fr; gap: 24px; padding: 25px 22px 22px 26px; }
  .home-trust-copy { max-width: 560px; padding: 0; }
  .home-trust-copy p { max-width: 540px; }
  .page-hero { padding-top: 65px; padding-bottom: 45px; }
  .page-hero h1 { font-size: 50px; }
  .page-hero > p { font-size: 16px; }
  .listing-card { min-height: 235px; }
  .article-header { padding-top: 35px; }
  .article-header h1 { font-size: 49px; }
  .article-header .dek { font-size: 17px; }
  .byline { flex-direction: column; gap: 4px; }
  .byline span + span::before { display: none; }
  .article-lead-image { width: calc(100% - 28px); margin-bottom: 45px; }
  .article-lead-image img { border-radius: 12px 12px 45px 12px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-rail { position: static; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
  .rail-note { display: none; }
  .article-body { font-size: 18px; }
  .article-body .standfirst { font-size: 22px; }
  .article-worksheet { padding: 24px 20px; }
  .article-worksheet form { grid-template-columns: 1fr; }
  .article-worksheet label:nth-child(3), .article-worksheet button { grid-column: auto; }
  .traffic-identity { grid-template-columns: 1fr; gap: 28px; }
  .legacy-groups details > div { grid-template-columns: 1fr; }
  .traffic-note-grid { grid-template-columns: 1fr; }
  .simple-grid, .finder-layout, .planner-grid { grid-template-columns: 1fr; }
  .planner-grid { gap: 18px; }
  .planner-form { padding: 22px; }
  .plan-output, .plan-output.is-empty { min-height: 0; }
  .plan-summary { grid-template-columns: repeat(2, 1fr); }
  .plan-phases, .week-plan { grid-template-columns: 1fr; }
  .session-recipe { grid-template-columns: repeat(2, 1fr); }
  .subject-allocation-row { grid-template-columns: minmax(90px, 1fr) minmax(110px, 1fr) 90px; }
  .simple-depth { padding: 30px 22px; }
  .simple-depth-grid { grid-template-columns: 1fr; }
  .planner-method { grid-template-columns: 1fr; }
  .simple-facts { grid-template-columns: 1fr; }
  .simple-facts > div { min-height: 0; padding: 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .simple-facts > div:last-child { border-bottom: 0; }
  .simple-facts h3 { margin: 0; }
  .simple-grid .context-panel, .filter-card { position: static; }
  .finder-layout { gap: 25px; }
  .math-partners { grid-template-columns: 1fr; gap: 7px; }
  .math-method-layout, .math-method-steps { grid-template-columns: 1fr; }
  .math-method-layout > div:first-child { position: static; }
  .math-home-grid > a, .math-hub-grid > a { min-height: 245px; }
  .calculator-app, .calculator-explainer { grid-template-columns: 1fr; }
  .calculator-input { border-right: 0; border-bottom: 1px solid var(--line); }
  .calculator-result { min-height: 360px; }
  .calculator-explainer { gap: 25px; }
  .calculator-detail-heading, .calculator-use-grid, .worked-example, .calculator-next { grid-template-columns: 1fr; }
  .calculator-detail-heading { gap: 20px; }
  .calculator-detail-hero h1 { font-size: clamp(41px, 12vw, 58px); }
  .calculator-trust-note { max-width: 340px; }
  .calculator-use-grid { gap: 11px; padding-block: 45px; }
  .calculator-use-grid > article:first-child { grid-row: auto; }
  .calculator-concept-grid, .calculator-directory-grid { grid-template-columns: 1fr; }
  .worked-example { gap: 30px; padding-block: 55px; }
  .calculator-next { gap: 22px; }
  .calculator-directory { padding-block: 52px; }
  .calculator-directory-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .calculator-directory-grid > article { padding: 22px; }
  .tool-visual, .tool-design-percent .tool-visual, .tool-design-linear .tool-visual, .tool-design-gradient .tool-visual, .tool-design-probability .tool-visual { grid-template-columns: 1fr; border-radius: 22px; padding-inline: 0; clip-path: none; }
  .tool-design-percent .tool-visual figcaption, .tool-design-sequence .tool-visual figcaption, .tool-design-gradient .tool-visual figcaption { order: 0; border-right: 0; }
  .tool-visual-canvas, .tool-design-unit-rate .tool-visual-canvas { min-height: 225px; margin: 0; }
  .tool-visual figcaption { padding: 28px 24px 34px; }
  .test-toolbar { top: 62px; }
  .test-toolbar { align-items: flex-start; flex-direction: column; }
  .test-toolbar > div { flex-wrap: wrap; }
  .test-choices { grid-template-columns: 1fr; }
  .test-review-grid, .review-cards { grid-template-columns: 1fr; }
  .site-search { grid-template-columns: 1fr; }
  .search-start { grid-template-columns: 1fr; }
  .filter-card select, .planner-form input[type="date"], .planner-form input[type="number"], .planner-form select, .calculator-fields input, .calculator-fields select, .site-search input, .footer-search input { font-size: 16px; }
  .button, .filter-card select, .planner-form input[type="date"], .planner-form input[type="number"], .planner-form select, .calculator-fields input, .calculator-fields select { min-height: 44px; }
  .footer-top { gap: 36px; padding-block: 55px 38px; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .footer-menu { padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.04); }
  .footer-menu-title { margin: 0 0 9px; font-size: 10px; }
  .footer-menu > div { gap: 3px; padding: 0; }
  .footer-menu a { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 3px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-menu a::after { content: "›"; color: #6f82a8; font-size: 18px; }
  .footer-menu a:last-child { border-bottom: 0; }
  .hub-comparison-band { padding-block: 52px; }
  .hub-comparison > p::after { content: " Swipe the table sideways to compare all columns."; color: var(--blue-dark); font-weight: 700; }
}

@media (max-width: 470px) {
  .hero-copy h1, .page-hero h1 { font-size: 42px; }
  .hero-image { width: 65%; }
  .hero-image img { height: 190px; }
  .hero-image figcaption { position: static; border-radius: 0; }
  .hero-image figcaption span { display: none; }
  .trust-row { flex-direction: column; gap: 7px; }
  .subject-grid a { min-height: 230px; }
  .tool-grid > a { min-height: 245px; }
  .article-header h1 { font-size: 43px; }
  .article-body h2 { font-size: 28px; }
  .planner-field-grid { grid-template-columns: 1fr; }
  .planner-field-grid > label:first-child { grid-column: auto; }
  .planner-days > div { grid-template-columns: repeat(4, 1fr); }
  .planner-subject-row { grid-template-columns: minmax(0, 1fr) 112px; }
  .planner-form-actions { grid-template-columns: 1fr; }
  .plan-output { padding: 22px 18px; }
  .plan-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .subject-allocation-row { grid-template-columns: 1fr 88px; gap: 5px 10px; }
  .subject-allocation-row .allocation-track { grid-column: 1 / -1; grid-row: 2; }
  .session-recipe { grid-template-columns: 1fr 1fr; }
  .traffic-identity dl { grid-template-columns: 1fr; }
  .traffic-identity dl div { min-height: 0; border-right: 0; }
  .traffic-identity dl div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .calculator-fields { grid-template-columns: 1fr; }
  .calculator-input, .calculator-result { padding: 22px 18px; }
  .calculator-use-grid > * { padding: 22px; }
  .calculator-concept-band { padding-block: 52px; }
  .calculator-concept-grid article { padding: 21px; }
  .calculator-visual-section { padding-bottom: 48px; }
  .tool-visual-canvas { min-height: 190px; padding: 15px; }
  .worked-steps li { grid-template-columns: 48px 1fr; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .nav-sheet { padding-inline: 14px; }
  .top-menu-sheet { width: min(94vw, 430px); padding-inline: 14px; border-radius: 20px 0 0 20px; }
  .nav-sheet-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media print {
  .planner-form, .plan-actions { display: none !important; }
  .planner-grid { display: block; padding: 0; }
  .plan-output { min-height: 0; padding: 0; border: 0; }
  .plan-phase, .week-day, .plan-summary div { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
}

.guide-pitfalls { margin: 55px 0; padding: 30px 32px; border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: 10px; background: #fffaf9; }
.guide-pitfalls h2 { margin: 6px 0 16px; color: var(--navy); font-family: var(--sans); font-size: 25px; line-height: 1.2; letter-spacing: -.025em; }
.pitfall-list { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.pitfall-list li { color: #4a556b; font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.pitfall-list strong { color: var(--navy); }

.key-points { margin: 34px auto 6px; padding: 26px 30px; border: 1px solid #c9d8f7; border-radius: 12px; background: #f4f8ff; }
.key-points h2 { margin: 0 0 14px; color: var(--navy); font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.key-points ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.key-points li { color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }

/* PSLE scoring cluster */
.psle-hero { padding-top: 34px; padding-bottom: 30px; }
.psle-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, .75fr); gap: 70px; align-items: center; padding-top: 50px; }
.psle-hero h1, .psle-guide-header h1 { max-width: 840px; margin: 0; color: var(--navy); font-size: clamp(48px, 7vw, 82px); line-height: .96; letter-spacing: -.065em; }
.psle-hero-grid > div > p, .psle-guide-header > p { max-width: 790px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.psle-score-visual { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 0; padding: 26px; border: 1px solid #cad7ed; border-radius: 20px; background: #f7faff; }
.psle-score-visual > div { text-align: center; }
.psle-score-visual span { display: block; color: var(--muted); font-size: 9px; font-weight: 750; }
.psle-score-visual strong { display: block; margin-top: 3px; color: var(--blue); font-size: 38px; line-height: 1; }
.psle-score-visual svg { width: 100%; max-height: 90px; fill: #fff; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.psle-score-visual figcaption { grid-column: 1 / -1; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10.5px; line-height: 1.45; text-align: center; }
.psle-hero + .key-points h2, .psle-guide-page .key-points h2 { font-size: 22px; letter-spacing: -.025em; text-transform: none; }

.psle-tool { padding-top: 65px; padding-bottom: 80px; }
.psle-tool-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: end; margin-bottom: 25px; }
.psle-tool-intro h2, .psle-section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 45px); line-height: 1.05; letter-spacing: -.045em; }
.psle-tool-intro p, .psle-section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.psle-tool-intro a, .psle-reading a, .psle-limits a, .psle-definition a, .psle-posting-context a, .psle-next-learning a { color: var(--blue-dark); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.psle-calculator-layout { display: grid; grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr); overflow: hidden; border: 1px solid #cad7ed; border-radius: 20px; background: #fff; }
.psle-form { padding: 28px; border-right: 1px solid #cad7ed; background: #f6f8fc; }
.psle-mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 22px; padding: 5px; border: 1px solid #d5ddec; border-radius: 11px; background: #fff; }
.psle-mode-switch button { min-height: 42px; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 10.5px; font-weight: 750; cursor: pointer; }
.psle-mode-switch button.is-active { background: var(--navy); color: #fff; }
.psle-form-help { margin: 0 0 13px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.psle-subject-input { display: grid; grid-template-columns: minmax(105px, 1fr) 112px 96px; gap: 8px; align-items: center; min-height: 58px; padding-block: 7px; border-bottom: 1px solid #dfe5ef; }
.psle-subject-input > label, .psle-grade-input > span { color: var(--ink); font-size: 11px; font-weight: 750; line-height: 1.3; }
.psle-subject-input select, .psle-subject-input input, .psle-grade-input select { width: 100%; min-height: 41px; border: 1px solid #cbd5e5; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.psle-subject-input select, .psle-grade-input select { padding: 0 8px; }
.psle-subject-input input { padding: 0 40px 0 9px; }
.psle-mark-field { position: relative; }
.psle-mark-field span { position: absolute; top: 50%; right: 8px; color: var(--muted); font-size: 8px; transform: translateY(-50%); pointer-events: none; }
.psle-grade-input { display: grid; grid-template-columns: minmax(120px, 1fr) 1.25fr; gap: 12px; align-items: center; min-height: 58px; border-bottom: 1px solid #dfe5ef; }
.psle-form-error { margin: 14px 0 0; padding: 10px 12px; border-left: 4px solid var(--coral); border-radius: 7px; background: #fff3f1; color: #8c352e; font-size: 10.5px; line-height: 1.45; }
.psle-form-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 19px; }
.psle-reset { border: 1px solid #cbd5e5; background: #fff; color: var(--muted); }
.psle-privacy { display: flex; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.45; }
.psle-privacy svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #168f73; stroke-width: 1.7; }
.psle-privacy strong { color: #136f5a; }
.psle-result { min-height: 590px; padding: 31px; }
.psle-result.is-empty { display: grid; place-items: center; background: linear-gradient(145deg, #f8faff, #fff); }
.psle-result-placeholder { max-width: 500px; text-align: center; }
.psle-result-placeholder > svg { width: 62px; height: 62px; padding: 15px; border: 1px solid #cddaf3; border-radius: 18px; fill: none; stroke: var(--blue); stroke-width: 1.7; }
.psle-result-placeholder h2 { margin: 21px 0 9px; color: var(--navy); font-size: 25px; line-height: 1.12; letter-spacing: -.035em; }
.psle-result-placeholder p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.psle-result-header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.psle-result-header span, .psle-result-header small { display: block; color: var(--muted); font-size: 9.5px; }
.psle-result-header strong { display: block; margin: 3px 0; color: var(--blue); font-size: 58px; line-height: .95; }
.psle-result-header svg { width: 48px; height: 48px; padding: 10px; border-radius: 13px; background: #edf3ff; fill: none; stroke: var(--blue); stroke-width: 1.7; }
.psle-result-context { padding: 18px 0 15px; }
.psle-result-context h2 { margin: 0 0 6px; color: var(--navy); font-size: 19px; letter-spacing: -.025em; }
.psle-result-context p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.psle-result-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.psle-result-table caption { padding: 8px 0; color: var(--navy); font-size: 11px; font-weight: 800; text-align: left; }
.psle-result-table th, .psle-result-table td { padding: 9px 7px; border-bottom: 1px solid var(--line); text-align: left; }
.psle-result-table th small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; }
.psle-result-table td:last-child, .psle-result-table th:last-child { text-align: right; }
.psle-total-row { background: var(--soft); color: var(--navy); font-weight: 800; }
.psle-result-next { margin-top: 15px; padding: 12px 14px; border-left: 4px solid var(--mint); border-radius: 7px; background: #eefaf7; }
.psle-result-next h3 { margin: 0 0 4px; color: #136f5a; font-size: 11px; }
.psle-result-next p { margin: 0; color: #4f7169; font-size: 9.5px; line-height: 1.45; }
.psle-result-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 17px; }
.psle-result-actions .button { min-height: 37px; }
.psle-copy { background: var(--navy); color: #fff; }
.psle-review { border: 1px solid #cbd5e5; background: #fff; color: var(--ink); }
.psle-result-actions span { color: #168f73; font-size: 9.5px; font-weight: 700; }

.psle-band-section, .psle-band-explainer, .psle-total-section { padding-block: 70px; border-block: 1px solid var(--line); background: var(--soft); }
.psle-band-layout, .psle-foundation, .psle-total-layout, .psle-definition { display: grid; grid-template-columns: .78fr 1.22fr; gap: 65px; align-items: start; }
.psle-band-layout h2, .psle-reading h2, .psle-limits h2, .psle-boundaries h2, .psle-foundation h2, .psle-total-layout h2, .psle-posting-context h2, .psle-next-learning h2, .psle-faq > h2, .psle-sources h2, .psle-definition h2 { margin: 0 0 15px; color: var(--navy); font-size: clamp(29px, 4vw, 41px); line-height: 1.08; letter-spacing: -.045em; }
.psle-band-layout p, .psle-reading > p, .psle-limits p, .psle-boundaries > p, .psle-foundation p, .psle-total-layout p, .psle-posting-context > p, .psle-next-learning > p, .psle-sources > p, .psle-definition p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.psle-band-table, .psle-foundation-table { width: 100%; min-width: 530px; border-collapse: collapse; background: #fff; font-size: 12px; }
.psle-band-table caption, .psle-foundation-table caption { padding: 0 0 11px; color: var(--navy); font-weight: 800; text-align: left; }
.psle-band-table th, .psle-band-table td, .psle-foundation-table th, .psle-foundation-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.psle-band-table thead th, .psle-foundation-table thead th { background: var(--navy); color: #fff; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.psle-band-table tbody th { color: var(--blue); }
.psle-band-table tbody tr:nth-child(even), .psle-foundation-table tbody tr:nth-child(even) { background: #f8faff; }
.psle-reading, .psle-limits, .psle-boundaries, .psle-foundation, .psle-posting-context, .psle-next-learning, .psle-faq, .psle-sources { padding-top: 75px; padding-bottom: 75px; }
.psle-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.psle-action-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.psle-action-grid svg { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #edf3ff; fill: none; stroke: var(--blue); stroke-width: 1.7; }
.psle-action-grid h3 { margin: 20px 0 8px; color: var(--navy); font-size: 17px; line-height: 1.25; }
.psle-action-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.psle-limits { display: grid; grid-template-columns: 1.25fr .75fr; gap: 55px; align-items: start; border-top: 1px solid var(--line); }
.psle-limits aside, .psle-posting-context aside { padding: 25px; border: 1px solid #f0d692; border-radius: 13px; background: var(--cream); }
.psle-limits aside h3, .psle-posting-context aside h3 { margin: 0 0 12px; color: #755314; font-size: 18px; }
.psle-limits ul { display: grid; gap: 9px; margin: 0; padding-left: 18px; color: #755314; font-size: 11px; line-height: 1.55; }
.psle-faq { padding-top: 20px; }
.psle-sources { border-top: 1px solid var(--line); }
.psle-sources > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.psle-sources a { min-height: 130px; display: flex; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 11px; color: inherit; }
.psle-sources strong { color: var(--blue-dark); font-size: 12px; }
.psle-sources span { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.psle-guide-header { padding-top: 34px; padding-bottom: 55px; }
.psle-guide-header h1 { padding-top: 55px; }
.psle-guide-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.psle-guide-meta span { padding: 7px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 9.5px; font-weight: 700; }
.psle-definition { padding-top: 75px; padding-bottom: 75px; }
.psle-equation { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 25px; border: 1px solid #cad7ed; border-radius: 16px; background: #f7faff; }
.psle-equation span { min-height: 76px; display: grid; place-items: center; padding: 9px; border: 1px solid #d5deed; border-radius: 9px; background: #fff; color: var(--navy); font-size: 10px; font-weight: 750; text-align: center; }
.psle-equation b { display: none; }
.psle-equation strong { grid-column: 1 / -1; padding-top: 12px; color: var(--blue); font-size: 20px; text-align: center; }
.psle-section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: end; margin-bottom: 25px; }
.psle-band-table-wide { min-width: 760px; }
.psle-example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.psle-example-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 13px; }
.psle-example-grid h3 { margin: 0 0 17px; color: var(--navy); font-size: 18px; }
.psle-example-grid dl { margin: 0; }
.psle-example-grid dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.psle-example-grid dt { color: var(--muted); }
.psle-example-grid dd { margin: 0; color: var(--ink); font-weight: 750; }
.psle-example-grid p { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.psle-score-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: psle-step; }
.psle-score-steps li { display: grid; grid-template-columns: 34px 115px 1fr; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; counter-increment: psle-step; }
.psle-score-steps li::before { content: counter(psle-step); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; }
.psle-score-steps strong { color: var(--navy); font-size: 11px; }
.psle-score-steps span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.psle-posting-context { max-width: 980px; }
.psle-posting-context aside { margin-top: 28px; }
.psle-posting-context aside p { margin: 0; color: #755314; font-size: 11px; line-height: 1.6; }
.math-card-psle .math-symbol { background: var(--mint) !important; }

@media (max-width: 900px) {
  .psle-hero-grid, .psle-tool-intro, .psle-band-layout, .psle-foundation, .psle-total-layout, .psle-definition, .psle-section-heading, .psle-limits { grid-template-columns: 1fr; gap: 28px; }
  .psle-score-visual { max-width: 560px; }
  .psle-calculator-layout { grid-template-columns: 1fr; }
  .psle-form { border-right: 0; border-bottom: 1px solid #cad7ed; }
  .psle-result { min-height: 480px; }
  .psle-action-grid, .psle-sources > div { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .psle-hero { padding-top: 20px; }
  .psle-hero-grid { padding-top: 35px; }
  .psle-hero h1, .psle-guide-header h1 { font-size: 46px; }
  .psle-score-visual { grid-template-columns: 65px 1fr 65px; padding: 18px 13px; }
  .psle-score-visual strong { font-size: 31px; }
  .psle-tool, .psle-reading, .psle-limits, .psle-boundaries, .psle-foundation, .psle-posting-context, .psle-next-learning, .psle-faq, .psle-sources, .psle-definition { padding-top: 50px; padding-bottom: 50px; }
  .psle-form, .psle-result { padding: 21px 17px; }
  .psle-mode-switch { grid-template-columns: 1fr; }
  .psle-subject-input { grid-template-columns: 1fr 1fr; }
  .psle-subject-input > label { grid-column: 1 / -1; padding-top: 6px; }
  .psle-grade-input { grid-template-columns: 1fr; gap: 5px; padding-block: 9px; }
  .psle-form-actions, .psle-action-grid, .psle-sources > div, .psle-example-grid { grid-template-columns: 1fr; }
  .psle-result-header strong { font-size: 48px; }
  .psle-result-table { min-width: 520px; }
  .psle-equation { grid-template-columns: 1fr 1fr; padding: 17px; }
  .psle-score-steps li { grid-template-columns: 34px 1fr; }
  .psle-score-steps span { grid-column: 2; }
}
