@import url("/assets/website-629e1adbbce57e2d4016/fonts/fonts.css");
@import url("/assets/website-784b0a485706cf87c4a8/fonts/typography.css");
@import url("/assets/website-fa6c6c1b0f4ee402e7e7/fonts/typeset.css");
@import url("/assets/website-e94645ceff403d8b9a51/fonts/typeset-presets.css");
html.website-content-pending #main { visibility: hidden; }
html.website-images-pending img:not([data-image-ready="true"]) { visibility: hidden; }
.website-sign-in[aria-busy="true"], [data-auth-link][aria-busy="true"] { cursor: progress; opacity: .7; }
.website-sign-in[aria-busy="true"]::after, [data-auth-link][aria-busy="true"]::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-inline-start: 8px;
  border: 1px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: sign-in-loading .8s linear infinite;
}
@keyframes sign-in-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .website-sign-in[aria-busy="true"]::after, [data-auth-link][aria-busy="true"]::after { animation: none; }
}
/* Public pages share column starts across the header, document and footer. */
.policy-page {
  display: grid;
  grid-template-columns: var(--site-columns);
  gap: var(--site-column-gap);
  margin-block: 40px 64px;
  align-items: start;
}
.policy-document { grid-column: 2 / -1; max-width: 720px; min-width: 0; }
.policy-navigation { display: grid; gap: 4px; font-size: var(--type-size-label); }
.policy-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.policy-navigation a[aria-current="page"] {
  color: var(--site-red);
  border-left-color: currentColor;
  background: #fff5f3;
  font-weight: var(--type-weight-heading);
}
.policy-page .policy-heading { margin-bottom: 32px; }
.policy-page .policy-heading h1 {
  font: var(--type-product-page);
  margin: 0 0 8px;
  font-size: var(--type-size-page);
  line-height: var(--type-leading-title);
  letter-spacing: var(--type-tracking-heading);
}
.policy-page .policy-meta {
  font-size: var(--type-size-label);
  color: var(--text-secondary);
  line-height: var(--type-leading-body);
  overflow-wrap: anywhere;
}
.policy-meta time { white-space: nowrap; }
.policy-body { overflow-wrap: anywhere; }
.policy-body > section + section:not(.policy-contact) { margin-top: 32px; }
.policy-body > #refunds { scroll-margin-top: 24px; }
.policy-body .content-body.typeset h2 {
  font-size: var(--type-size-heading);
  line-height: var(--type-leading-heading);
}
.policy-contact { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e8dfd3; }
.policy-page .policy-contact h2 { font-size: var(--type-size-heading); margin-bottom: 8px; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-policies a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.policy-navigation a:focus-visible, .footer-policies a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}
@media (max-width: 1100px) {
  .policy-page { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
  .policy-document { grid-column: 2; }
}
@media (max-width: 600px) {
  .policy-page { display: block; margin-block: 16px 48px; }
  .policy-navigation { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 24px; }
  .policy-navigation a { border-left: 0; border-bottom: 2px solid transparent; padding: 8px 0; }
  .policy-navigation a[aria-current="page"] { border-bottom-color: currentColor; background: transparent; }
  .policy-page .policy-heading { margin-bottom: 28px; }
  .policy-body .content-body.typeset { --typeset-size: var(--type-size-body); }
}
:root {
  --site-columns: 200px minmax(0, 1fr) 240px;
  --site-column-gap: 40px;
  --site-paper: #ffffff;
  --site-ivory: #fff8e7;
  --site-ink: var(--text-primary);
  --site-red: var(--primary);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--site-paper);
  color: var(--site-ink);
  font: var(--type-weight-body) var(--type-size-body) / var(--type-leading-body) var(--font-current);
}
body > main { flex: 1; }
body > header, body > footer { flex-shrink: 0; }
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: #a51e1e;
}
button:not([data-slot]),
input:not([data-slot]),
summary {
  font: inherit;
}
img:not([data-slot]) {
  max-width: 100%;
  height: auto;
}
h1:not([data-slot]),
h2:not([data-slot]),
h3:not([data-slot]),
p,
figure {
  margin: 0;
}
h1:not([data-slot]),
h2:not([data-slot]),
h3:not([data-slot]) {
  font-weight: var(--type-weight-heading);
  line-height: var(--type-leading-title);
  letter-spacing: var(--type-tracking-heading);
}
h1:not([data-slot]) {
  font-family: var(--font-display);
  font-size: var(--type-size-hero);
  font-weight: var(--type-weight-display);
}
h2:not([data-slot]) {
  font-family: var(--font-display);
  font-size: var(--type-marketing-section-size);
  font-weight: var(--type-weight-display);
}
h3:not([data-slot]) {
  font-size: var(--type-size-brand);
}
p {
  max-width: 70ch;
}
p + p {
  margin-top: 16px;
}
.wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: var(--site-column-gap);
}
.site-header > nav { justify-content: center; flex-wrap: wrap; }
.site-header > .site-actions { justify-self: end; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: var(--type-brand-wordmark);
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: #a51e1e;
  margin-left: -8px;
}
.brand img {
  object-fit: contain;
}
.site-header nav,
.site-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--type-size-body);
  font-weight: var(--type-weight-label);
}
.site-header nav a,
.login {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-actions {
  gap: 18px;
}
.site-actions:has(.website-sign-in) { gap: 12px; }
.site-actions .website-sign-in {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--site-red);
  color: white;
  font-size: var(--type-size-body);
  font-weight: var(--type-weight-label);
  line-height: var(--type-leading-label);
  white-space: nowrap;
  box-shadow: 0 2px 0 #951c1c;
}
.site-actions .website-sign-in:hover { background: #a51e1e; color: white; }
.mobile-menu-toggle { display: none; }
.mobile-menu-panel { padding: 0; border: 0; }
.menu-close { display: none; }
.languages {
  position: relative;
}
.languages summary {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 10px 0;
  min-height: 44px;
}
.languages summary::-webkit-details-marker { display: none; }
.languages summary svg { flex-shrink: 0; }
.languages[open] .language-chevron { transform: rotate(180deg); }
.languages > div {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 150px;
  background: #fffdf8;
  box-shadow: 0 6px 22px #29252018;
  border: 1px solid #e6e0d5;
  border-radius: 12px;
  padding: 8px;
  z-index: 3;
}
.languages a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
}
.languages [aria-current] {
  background: #f2eee5;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: #fff;
  z-index: 5;
}
.skip:focus {
  top: 8px;
}
:focus-visible:not([data-slot]) {
  outline: 3px solid #a51e1e;
  outline-offset: 5px;
  border-radius: 4px;
}
.lead {
  font-size: var(--type-size-lead);
  color: var(--text-secondary);
  line-height: var(--type-leading-body);
}
.quiet,
figcaption,
.section-label,
.article-meta {
  font-size: var(--type-size-label);
  color: var(--text-muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 28px 0 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  background: #c62828;
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-weight: var(--type-weight-label);
  box-shadow: 0 3px 0 #951c1c;
}
.button:hover {
  background: #a51e1e;
  color: white;
}
.text-link {
  display: inline-block;
  color: #a51e1e;
  font-weight: var(--type-weight-label);
  margin-top: 24px;
}
.home-section {
  padding-block: 72px;
  align-content: center;
}
.home-section h2 {
  font-size: var(--type-size-marketing-section);
}
.home-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.home-hero h1 {
  font-size: var(--type-size-hero);
  letter-spacing: var(--type-tracking-heading);
  line-height: var(--type-leading-display);
}
.home-hero h1 span { color: var(--site-red); }
.home-hero .lead { margin-top: 28px; }
.hero-paper-stage { position: relative; padding: 24px 16px; }
.hero-paper-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ded8ce;
  border-radius: 50%;
  transform: rotate(-20deg) scale(1.05, .95);
}
.floating-formula {
  position: absolute;
  right: 0;
  top: -28px;
  font: var(--type-illustration-math);
  color: var(--site-red);
  transform: rotate(12deg);
}
.question-illustration {
  position: relative;
  padding: 32px;
  background: var(--site-paper);
  border: 1px solid #ded8ce;
  border-radius: 20px;
  box-shadow: 0 18px 40px #2925200a;
}
.home-hero .question-illustration { transform: rotate(3deg); }
.question-illustration figcaption { display: flex; justify-content: space-between; align-items: center; }
.heart { font-size: var(--type-size-page); color: var(--site-red); }
.paper-progress { height: 5px; border-radius: 8px; background: #f0ece6; margin-top: 20px; }
.paper-progress span { display: block; width: 38%; height: 100%; background: var(--site-ink); border-radius: inherit; }
.math-prompt { font: var(--type-illustration-math); padding: 32px 0; }
.illustrative-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.illustrative-options > div {
  padding: 16px 18px;
  border: 1px solid #ded8ce;
  border-radius: 12px;
  font-weight: var(--type-weight-heading);
  display: flex;
  gap: 18px;
  align-items: center;
}
.illustrative-options span { font-size: var(--type-size-caption); font-weight: var(--type-weight-body); color: var(--text-muted); }
.illustrative-options .illustrated-selection { background: var(--site-ink); color: white; border-color: var(--site-ink); }
.illustrated-selection span { color: white; }
.question-illustration .quiet { margin-top: 24px; }
.worked-answer { margin-top: 28px; font: var(--type-illustration-math); }
.paper-pencil {
  position: absolute;
  width: 14px;
  height: 210px;
  right: -4px;
  bottom: -6px;
  background: var(--site-red);
  border-inline: 3px solid #a51e1e;
  border-radius: 3px 3px 0 0;
  transform: rotate(20deg);
}
.paper-pencil::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -3px;
  border: 7px solid transparent;
  border-top: 24px solid var(--site-ink);
}
.subject-strip { display: grid; gap: 24px; padding-block: 32px 56px; background: var(--site-paper); }
.subject-strip h2 { font-size: var(--type-size-section); max-width: none; }
.subject-strip .text-link { margin: 0; font-size: var(--type-size-body); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.section-heading p { max-width: 42ch; color: var(--text-secondary); }
.subject-books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.subject-books a { text-decoration: none; min-width: 0; }
.book-cover {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  min-height: 112px;
  height: 100%;
  border: 1px solid #ded8ce;
  border-radius: 12px;
  background: white;
}
.subject-books a:hover .book-cover { border-color: var(--site-ink); }
.subject-drawing { display: block; width: 72px; flex-shrink: 0; color: var(--site-ink); }
.drawing-guide { stroke: #d8cfc3; stroke-dasharray: 5 5; }
.book-title { font-size: var(--type-size-body); line-height: var(--type-leading-heading); font-weight: var(--type-weight-heading); }
.subject-books a:hover .book-title { color: var(--site-red); text-decoration: underline; text-underline-offset: 5px; }
.course-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.course-section .eyebrow { margin-bottom: 12px; }
.course-section .text-link { display: inline-flex; margin-top: 20px; }
.product-showcase {
  --showcase-background: #2d6ae5;
  background: var(--showcase-background);
  color: white;
  box-shadow: 0 0 0 100vmax var(--showcase-background);
  clip-path: inset(0 -100vmax);
}
.product-showcase .section-heading { margin-bottom: 32px; align-items: start; flex-direction: column; gap: 16px; }
.product-showcase .section-heading p { max-width: none; color: inherit; }
.showcase-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #d8cfc3;
  border-radius: 20px;
  background: white;
  color: var(--site-ink);
}
.showcase-workspace .question-illustration { border: 0; border-radius: 0; box-shadow: none; padding: 32px 40px; }
.showcase-workspace .illustrative-options { grid-template-columns: 1fr; }
.showcase-workspace .illustrative-options > div { padding-block: 14px; }
.showcase-workspace .math-prompt { padding-block: 24px; }
.showcase-workspace .paper-progress span { width: 70%; }
.showcase-workspace .ai-illustration { border: 0; border-left: 1px solid #ded8ce; border-radius: 0; padding: 32px 40px; }
.worked-answer { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.showcase-note { margin-top: 12px; text-align: right; color: inherit; }
.showcase-caption { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-top: 32px; }
.showcase-caption h3 { font-size: var(--type-product-page-size); }
.showcase-caption > div > p { color: inherit; }
.showcase-caption .quiet { margin-top: 12px; }
.ai-illustration { padding: 28px 32px; border: 1px solid #ded8ce; border-radius: 20px; background: white; }
.ai-illustration figcaption { font-size: var(--type-size-caption); }
.algebra-drawing { display: block; width: 100%; max-height: 240px; margin-block: 20px 28px; }
.message-user { margin-left: 40px; background: var(--site-ivory); border: 1px solid #e9dfc8; border-radius: 18px 18px 4px 18px; padding: 14px 20px; font-size: var(--type-size-body); }
.message-ai { margin-top: 24px; padding: 0 0 0 22px; border-left: 3px solid var(--site-red); font-size: var(--type-size-body); }
.ai-mark { display: inline-block; color: var(--site-red); font-weight: var(--type-weight-emphasis); margin-bottom: 10px; }
.equation { font: var(--type-illustration-math); margin-top: 20px !important; overflow-wrap: anywhere; }
.review-section { display: grid; gap: 32px; background: #203c53; color: white; box-shadow: 0 0 0 100vmax #203c53; clip-path: inset(0 -100vmax); }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.revision-drawing { width: 220px; flex-shrink: 0; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; row-gap: 0; }
.review-grid > div { display: grid; grid-template-rows: subgrid; grid-row: span 3; min-width: 0; }
.review-grid h3 { margin: 28px 0 16px; }
.review-grid > div > p { color: inherit; }
.review-illustration, .mock-illustration { background: white; color: var(--site-ink); border: 1px solid #ded8ce; border-radius: 16px; padding: 24px; min-height: 320px; }
.review-paper { display: grid; gap: 10px; padding: 16px 24px 24px; margin-bottom: 12px; border-bottom: 1px solid #ded8ce; font: var(--type-illustration-math); }
.review-paper strong { font-size: var(--type-size-page); }
.review-paper em { color: var(--site-red); font-style: normal; border-bottom: 2px solid var(--site-red); }
.review-paper > span:last-child { text-align: right; color: var(--text-muted); }
.review-illustration p { display: flex; justify-content: space-between; gap: 14px; font-size: var(--type-size-label); padding: 10px 0; }
.review-illustration p + p { border-top: 1px solid #ded8ce; margin: 0; }
.review-illustration p span { font-weight: var(--type-weight-heading); }
.review-illustration small { display: block; font-size: var(--type-size-caption); margin-top: 12px; color: var(--text-muted); }
.mock-illustration { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; }
.mock-paper-drawing { display: block; width: 360px; max-width: 100%; height: auto; }
.mock-illustration small { align-self: flex-start; font-size: var(--type-size-caption); color: var(--text-muted); }
#subjects, #faq { scroll-margin-top: 24px; }
.home-guides .section-heading { margin-bottom: 32px; }
.home-guides .text-link { margin: 0; }
.home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-guide-link { display: flex; flex-direction: column; height: 100%; padding: 24px; border: 1px solid #ded8ce; border-radius: 16px; color: var(--site-ink); text-decoration: none; }
.home-guide-link:hover { border-color: var(--site-red); color: var(--site-ink); }
.home-guide-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.home-guide-category { color: #a51e1e; font-size: var(--type-size-label); font-weight: var(--type-weight-heading); margin-bottom: 20px; }
.home-guide-link h3 { font-size: var(--type-size-section); line-height: var(--type-leading-heading); }
.home-guide-link p { margin-block: 16px 24px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-guide-link time { margin-top: auto; color: var(--text-muted); font-size: var(--type-size-label); }
.faq { display: grid; grid-template-columns: minmax(0, 1fr); background: #faf7f2; box-shadow: 0 0 0 100vmax #faf7f2; clip-path: inset(0 -100vmax); }

.faq details { border-bottom: 1px solid #ded8ce; }
.faq details:first-child { border-top: 1px solid #ded8ce; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-weight: var(--type-weight-heading); padding: 20px 0; list-style: none; line-height: var(--type-leading-compact); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--type-size-section); font-weight: var(--type-weight-body); color: var(--site-red); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { padding-bottom: 12px; }
.faq details p { margin: 0 32px 24px 0; color: var(--text-secondary); font-size: var(--type-size-body); }
.closing {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 56px;
  background: #203c53;
  color: white;
  box-shadow: 0 0 0 100vmax #203c53;
  clip-path: inset(0 -100vmax);
}
.closing-art { display: grid; place-items: center; aspect-ratio: 1; background: var(--site-ivory); border-radius: 50%; }
.closing-art img { width: 112px; max-width: 100%; mix-blend-mode: multiply; }
.closing-copy { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-copy h2 { font-size: var(--type-size-metric); }
.closing-copy .button { flex-shrink: 0; }
.site-footer {
  padding-block: 56px 24px;
  color: #fffdf8;
  background: var(--site-ink);
  box-shadow: 0 0 0 100vmax var(--site-ink);
  clip-path: inset(0 -100vmax);
}
.footer-main {
  display: grid;
  grid-template-columns: var(--site-columns);
  align-items: start;
  gap: var(--site-column-gap);
  padding-bottom: 32px;
}
.site-footer .brand span { color: #ff8a80; }
.site-footer a:hover { color: white; text-decoration: underline; }
.site-footer :focus-visible:not([data-slot]) { outline-color: white; }
.footer-brand p {
  margin-top: 12px;
  font-size: var(--type-size-lead);
  font-weight: var(--type-weight-heading);
  line-height: var(--type-leading-label);
}
.footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: stretch;
  align-content: start;
  justify-items: start;
  gap: 8px 32px;
}
.footer-navigation a {
  min-height: 44px;
  padding-block: 8px;
  text-decoration: none;
  font-size: var(--type-size-body);
}
.footer-navigation a:hover {
  text-decoration: underline;
}
.footer-contact { text-align: left; }
.footer-contact h2 {
  font-size: var(--type-size-body);
  font-weight: var(--type-weight-heading);
  margin-block: 8px 12px;
  letter-spacing: normal;
}
.footer-contact > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--type-size-lead);
  text-decoration-color: #ffb1a8;
  text-underline-offset: 8px;
}
.footer-bottom {
  display: grid;
  grid-template-columns: var(--site-columns);
  align-items: center;
  gap: 8px var(--site-column-gap);
  padding-top: 16px;
  border-top: 1px solid #ffffff30;
  font-size: var(--type-size-caption);
  color: #e1d9cf;
}
.footer-bottom small {
  font-size: inherit;
}
.analytics-settings {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 40;
  width: min(440px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #e8dfd3;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 8px 32px #2925201a;
  font-size: var(--type-size-label);
}
.analytics-consent[hidden], .analytics-settings[hidden] { display: none; }
.analytics-consent strong { font-size: var(--type-size-lead); }
.analytics-consent p { margin: 8px 0; }
.analytics-consent a { text-underline-offset: 3px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.analytics-actions button {
  flex: 1 1 120px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #b8aa98;
  border-radius: 12px;
  background: transparent;
  color: var(--site-ink);
  font: inherit;
  font-weight: var(--type-weight-label);
  cursor: pointer;
}
.analytics-actions button:hover { background: #fff0d5; }
.footer-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-languages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.footer-languages a[aria-current] {
  color: #fffdf8;
  text-decoration: underline;
  font-weight: var(--type-weight-heading);
}
.page-intro {
  padding: 65px 0 40px;
  max-width: 780px;
}
.article-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; font-size: var(--type-size-label); }
.article-breadcrumb a { text-underline-offset: 4px; }
.page-intro p {
  font-size: var(--type-size-heading);
  color: var(--text-secondary);
  margin-top: 24px;
}
.page-title {
  padding: 65px 0 40px;
}
.categories {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8cfc3 transparent;
  box-shadow: inset 0 -1px #e6e0d5;
  padding: 3px 3px 0;
  margin: 0 -3px 16px;
}
.categories a {
  min-height: 52px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 0;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  font-size: var(--type-size-body);
  font-weight: var(--type-weight-heading);
  color: var(--text-secondary);
}
.categories a:hover {
  color: var(--site-ink);
  border-bottom-color: #d8cfc3;
}
.categories [aria-current] {
  color: var(--site-red);
  border-bottom-color: var(--site-red);
}
.news-list {
  max-width: 850px;
  margin: 0 0 56px;
}
.news-list article {
  padding: 32px 0;
  border-bottom: 1px solid #e6e0d5;
}
.news-list h2 {
  font: var(--type-card-title);
  margin: 12px 0;
}
.news-list h2 a {
  text-decoration: none;
}
.news-list article > p:last-child {
  color: var(--text-secondary);
}
.article-meta {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.article-meta time {
  white-space: nowrap;
}
.empty-state {
  padding: 56px 0;
  color: var(--text-secondary);
}
.pagination {
  display: flex;
  gap: 30px;
  margin-bottom: 70px;
  align-items: center;
}
.pagination a {
  padding: 12px 0;
}
.article-page {
  max-width: 760px;
  margin: 45px auto 90px;
}
.back-link {
  font-size: var(--type-size-body);
  display: inline-block;
  padding: 10px 0;
  margin-bottom: 30px;
}
.article-page header h1 {
  font-size: var(--type-product-page-size);
  line-height: var(--type-leading-title);
  margin: 16px 0 24px;
  overflow-wrap: anywhere;
}
.article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  font-size: var(--type-size-caption);
  padding: 20px 0 28px;
  border-bottom: 1px solid #e6e0d5;
  margin: 24px 0 36px;
}
.article-dates dt {
  color: var(--text-muted);
}
.article-dates dd {
  margin: 2px 0 0;
}
.content-body {
  font-size: var(--type-size-lead);
  line-height: var(--type-leading-reading);
  overflow-wrap: anywhere;
}
.content-body h1,
.content-body h2 {
  font-size: var(--type-size-page);
  margin: 44px 0 18px;
}
.content-body h3 {
  font-size: var(--type-size-section);
  margin: 30px 0 16px;
}
.content-body p {
  margin: 18px 0;
}
.content-body ul,
.content-body ol {
  padding-left: 25px;
}
.content-body li + li {
  margin-top: 10px;
}
.content-body img {
  display: block;
  margin: 28px auto;
  max-height: 640px;
  object-fit: contain;
}
.content-body blockquote {
  border-left: 3px solid #d6c7ad;
  margin: 28px 0;
  padding: 0 24px;
  color: var(--text-secondary);
}
.content-body pre {
  overflow: auto;
  background: #f5f0e6;
  padding: 20px;
  border-radius: 10px;
  font-size: var(--type-size-label);
}
.content-body table {
  border-collapse: collapse;
  display: block;
  max-width: 100%;
  overflow: auto;
  font-size: var(--type-size-body);
}
.content-body td,
.content-body th {
  border: 1px solid #ded8ce;
  padding: 10px 14px;
  text-align: left;
}
.katex-display {
  overflow: auto;
  padding-block: 6px;
}
.article-sources {
  border-top: 1px solid #e6e0d5;
  margin-top: 45px;
  padding-top: 28px;
}
.article-sources h2,
.article-related h2 {
  font-size: var(--type-heading-size);
}
.article-sources li {
  padding: 6px 0;
}
.article-sources a {
  overflow-wrap: anywhere;
}
.article-related {
  margin-top: 40px;
  background: #f5f0e6;
  padding: 28px;
  border-radius: 18px;
}
.article-related p {
  margin: 16px 0;
}
.article-related li {
  padding: 8px 0;
}
.expiry-notice {
  padding: 20px 24px;
  background: #fff2cf;
  border-radius: 14px;
  margin-bottom: 30px;
}
@media (max-width: 1100px) {
  .site-header { display: flex; min-height: 76px; padding-block: 12px; gap: 16px; }
  .site-header > nav, .site-actions > .login { display: none; }
  .site-header > .site-actions { display: flex; margin-left: auto; gap: 0; }
  .languages a { min-height: 44px; }
  .mobile-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--site-ink); cursor: pointer; }
  .mobile-menu-toggle:hover { background: #faf7f2; }
  .mobile-menu-panel:popover-open { display: grid; gap: 24px; position: fixed; inset: 80px 32px auto; width: auto; max-width: 480px; max-height: calc(100dvh - 104px); overflow-y: auto; margin: 0 0 0 auto; padding: 24px; border: 1px solid #ded8ce; border-radius: 16px; color: var(--site-ink); background: white; box-shadow: 0 16px 40px #29252020; }
  .mobile-menu-panel::backdrop { background: #29252020; }
  .site-header .mobile-menu-panel nav { display: grid; gap: 4px; font-size: var(--type-size-lead); }
  .mobile-menu-panel nav a { min-height: 48px; padding: 10px 0; }
  .site-header:has(.mobile-menu-panel:popover-open) .menu-open { display: none; }
  .site-header:has(.mobile-menu-panel:popover-open) .menu-close { display: block; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-navigation { justify-self: stretch; }
  .footer-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
  .footer-bottom small { grid-column: 1; grid-row: 2; }
  .footer-languages { grid-column: 2; grid-row: 1; }
  .analytics-settings { grid-column: 2; grid-row: 2; }
}
@media (max-width: 600px) {
  body {
    font-size: var(--type-size-body);
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header { min-height: 68px; padding-block: 12px; gap: 8px; }
  .site-header > .site-actions { font-size: var(--type-size-caption); }
  .site-header > .brand, .footer-brand > .brand { min-height: 44px; font-size: var(--type-size-heading); }
  .site-header > .brand img, .footer-brand > .brand img { width: 30px; height: 30px; }
  .mobile-menu-panel:popover-open { inset: 72px 20px auto; max-height: calc(100dvh - 92px); padding: 20px; }
  .lead {
    font-size: var(--type-size-lead);
  }
  .page-intro {
    padding-top: 38px;
  }
  .page-intro h1 {
    font-size: var(--type-size-metric);
  }
  .categories { gap: 24px; }
  .article-page {
    margin-top: 20px;
  }
  .article-page header h1 {
    font-size: var(--type-product-page-size);
  }
  .article-meta {
    flex-wrap: wrap;
    gap: 6px;
  }
  .content-body {
    font-size: var(--type-size-body);
  }
  .content-body h2 {
    font-size: var(--type-product-page-size);
  }
  .article-dates {
    gap: 16px 25px;
  }
  .site-footer { padding-block: 40px 24px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; text-align: left; }
  .footer-brand p { font-size: var(--type-size-body); }
  .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: stretch; justify-items: start; gap: 0 20px; }
  .footer-contact { text-align: left; }
  .footer-contact h2 { margin-block: 10px 8px; }
  .footer-contact > a { font-size: var(--type-size-label); }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; }
  .footer-bottom small { order: 1; }
  .footer-languages { justify-content: flex-start; gap: 4px 20px; }

}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1200px) {
  .hero-paper-stage::before { inset: 12px; transform: none; }
  .paper-pencil { right: 20px; }
}
@media (max-width: 900px) {
  .home-hero h1 { font-size: var(--type-size-display); }
  .section-heading { align-items: start; flex-direction: column; gap: 24px; }
  .review-grid { column-gap: 32px; }

}
@media (max-width: 600px) {
  .home-section h2 { font-size: var(--type-marketing-section-size); line-height: var(--type-leading-title); }
  .home-hero h1 { font-size: var(--type-size-hero); }
  .home-hero .lead { margin-top: 20px; font-size: var(--type-size-lead); line-height: var(--type-leading-body); }
  .home-hero .actions { margin: 24px 0 0; gap: 16px; }
  .home-hero .actions .button { width: 100%; }
  .hero-paper-stage { padding: 16px 0; margin: 0; }
  .question-illustration { padding: 20px; }
  .home-hero .question-illustration { transform: none; }
  .home-hero .illustrative-options > div { min-height: 48px; padding: 10px 14px; gap: 12px; }
  .question-illustration .quiet { margin-top: 16px; }
  .floating-formula { font-size: var(--type-size-page); top: -14px; }
  .paper-pencil { right: 4px; height: 112px; width: 10px; }
  .hero-paper-stage::before { inset: 20px; transform: none; }
  .paper-pencil::after { border-width: 5px; border-top-width: 18px; }
  .math-prompt { font-size: var(--type-size-section); line-height: var(--type-leading-body); padding-block: 20px; }
  .ai-illustration { padding: 20px; }
  .algebra-drawing { max-height: 190px; margin-block: 20px; }
  .message-user { margin-left: 12px; padding: 12px 14px; }
  .message-ai { padding-left: 14px; margin-top: 20px; }
  .worked-answer { font-size: var(--type-size-lead); gap: 8px 20px; margin-top: 20px; }
  .review-heading { display: block; }
  .revision-drawing { display: none; }
  .course-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .review-grid > div { display: block; grid-row: auto; }
  .review-grid h3 { margin: 20px 0 8px; font-size: var(--type-heading-size); }
  .review-illustration, .mock-illustration { padding: 20px; min-height: 260px; }
  .review-paper { padding: 4px 0 20px; }
  .review-illustration p { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; text-align: right; }
  .review-illustration p span { text-align: left; }
  .faq summary { min-height: 72px; padding-block: 20px; gap: 16px; align-items: flex-start; }
  .faq summary::after { line-height: var(--type-leading-label); }
  .faq details p { margin: 0 0 24px; line-height: var(--type-leading-body); }
}

@media (max-width: 900px) {
  .home-hero { gap: 40px; min-height: 560px; }
  .subject-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { gap: 20px; }
  .product-showcase .section-heading { align-items: start; }
  .showcase-workspace .question-illustration, .showcase-workspace .ai-illustration { padding: 24px; }
  .showcase-caption { gap: 32px; }
  .closing-copy { flex-wrap: wrap; gap: 24px; }
}
@media (max-width: 600px) {
  .home-section { min-height: 0; padding-block: 40px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 24px; }
  .subject-strip { gap: 20px; padding-top: 20px; }
  .subject-strip h2 { font-size: var(--type-size-section); }
  .subject-strip .section-heading { gap: 12px; }
  .subject-books { gap: 12px; }
  .book-cover { flex-direction: column; align-items: start; gap: 12px; padding: 16px; min-height: 120px; }
  .subject-drawing { width: 44px; }
  .book-title { font-size: var(--type-size-body); }
  .showcase-workspace, .showcase-caption { grid-template-columns: minmax(0, 1fr); }
  .showcase-workspace { border-radius: 16px; }
  .showcase-workspace .question-illustration, .showcase-workspace .ai-illustration { padding: 20px; }
  .showcase-workspace .illustrative-options > div { padding: 12px 14px; gap: 12px; }
  .showcase-workspace .math-prompt { padding-block: 20px; }
  .showcase-caption h3 { font-size: var(--type-size-section); }
  .showcase-workspace .ai-illustration { border-left: 0; border-top: 1px solid #ded8ce; }
  .showcase-caption { gap: 16px; margin-top: 24px; }
  .showcase-note { text-align: left; }
  .closing { grid-template-columns: 64px minmax(0, 1fr); gap: 24px 20px; }
  .closing-art { grid-column: 1; grid-row: 1; }
  .closing-copy { display: contents; }
  .closing-copy h2 { grid-column: 2; grid-row: 1; font-size: var(--type-size-page); }
  .closing-copy .button { grid-column: 1 / -1; width: 100%; }
  .closing-art img { width: 60px; }
  .site-footer { padding-top: 32px; }
}


@media (min-width: 901px) {
  .mobile-menu-panel:popover-open { display: none; }
}
@media (max-width: 360px) {
  .site-header > .brand, .footer-brand > .brand { font-size: var(--type-size-lead); }
  .site-header > .brand img, .footer-brand > .brand img { width: 26px; height: 26px; }
  .site-header > .site-actions { font-size: var(--type-size-caption); }
}

@media (max-width: 900px) {
  .home-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .home-guide-link { padding: 24px; }
  .home-guides .section-heading { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
}

/* Account controls share the existing mobile menu; signed-in avatars stay visible. */
@media (max-width: 900px) {
  #website-account .auth-entry > [data-slot="dialog-trigger"],
  #website-account > .website-sign-in { display: none; }
  #website-account:has(.auth-entry:not([data-authenticated="true"])) { display: none; }
}
@media (max-width: 600px) {
  .site-actions:has([data-authenticated="true"]) .languages summary { width: 44px; justify-content: center; font-size: 0; gap: 0; }
  .site-actions:has([data-authenticated="true"]) .language-chevron { display: none; }
}

/* Guides: a wide editorial opening with a quiet, readable article column. */
.draft-notice { margin: 12px 0 24px; padding: 10px 16px; background: #fff4d4; border-radius: 8px; font-size: var(--type-size-caption); }
.draft-notice span { margin-left: 12px; }
.article-page { max-width: 1100px; margin: 36px auto 96px; }
.article-heading { max-width: 980px; margin: 40px 0 32px; }
.article-category { color: var(--site-red); font-size: var(--type-size-body); font-weight: var(--type-weight-heading); text-decoration: none; }
.article-page .article-heading h1 { font: var(--type-product-page); max-width: 1000px; letter-spacing: var(--type-tracking-heading); text-wrap: balance; margin: 16px 0 20px; }
.article-heading .lead { max-width: 760px; font-size: var(--type-size-lead); line-height: var(--type-leading-body); margin: 0; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 24px; color: var(--text-secondary); font-size: var(--type-size-label); }
.article-author { font-weight: var(--type-weight-label); color: var(--site-ink); }
.article-cover { margin: 0 0 56px; }
.article-cover > img { display: block; width: 100%; height: auto; border-radius: 16px; }
.article-cover figcaption, .article-reading figcaption { font-size: var(--type-size-caption); color: var(--text-muted); line-height: var(--type-leading-compact); padding-top: 10px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; align-items: start; }
.article-layout.without-outline { display: block; }
.without-outline .article-reading { max-width: 720px; margin-inline: auto; }
.article-outline { position: sticky; top: 32px; }
.article-outline summary { font-size: var(--type-size-body); font-weight: var(--type-weight-label); cursor: pointer; padding: 0 0 18px; }
.article-outline nav { display: grid; gap: 16px; }
.article-outline a { color: var(--text-secondary); font-size: var(--type-size-label); line-height: var(--type-leading-compact); text-decoration: none; padding-left: 16px; border-left: 2px solid #e7e4de; }
.article-outline a:hover { color: var(--site-red); border-color: var(--site-red); }
.article-reading { min-width: 0; }

.article-reading .content-body > :first-child > :first-child { margin-top: 0; }



.article-reading .content-body a { text-decoration-color: #c6282870; text-underline-offset: 4px; }
.article-reading .content-body a:hover { color: var(--site-red); }
.article-reading .content-body figure { margin: 32px 0; }
.article-reading .content-body figure img { margin: 0 auto; }
.article-reading .content-body blockquote { padding: 20px 24px; background: var(--site-ivory); border-left: 3px solid var(--site-red); border-radius: 0 12px 12px 0; }
.article-reading .content-body blockquote p:last-child { margin-bottom: 0; }
.article-reading .content-body table { display: table; width: 100%; margin: 28px 0; font-size: var(--type-size-body); line-height: var(--type-leading-body); }
.article-reading .content-body th { background: #eaf2f8; font-weight: var(--type-weight-label); }
.article-reading .content-body td, .article-reading .content-body th { border: 0; border-bottom: 1px solid #e5e8eb; padding: 15px 18px; vertical-align: top; overflow-wrap: normal; }
.article-reading .content-body td:first-child { font-weight: var(--type-weight-heading); width: 29%; }
.article-reading .content-body tbody tr:nth-child(even) { background: #f7f9fb; }
.article-sources { margin-top: 48px; padding-top: 24px; font-size: var(--type-size-label); }
.article-sources h2 { margin-bottom: 8px; font-size: var(--type-size-heading); }
.article-verification { color: var(--text-muted); font-size: var(--type-size-caption); }
.article-sources ol { padding-left: 20px; }
.article-related { background: #fff4d9; border-radius: 12px; }
.article-next { margin-top: 40px; }
.article-next h2 { font-size: var(--type-size-section); }
.article-next a { display: block; padding: 16px 0; border-bottom: 1px solid #e6e0d5; font-size: var(--type-size-heading); font-weight: var(--type-weight-heading); }
.news-intro { padding-block: 48px 32px; max-width: none; }
.news-intro h1 { font: var(--type-marketing-section); }
.news-intro p { margin-top: 16px; max-width: 65ch; }
.news-categories { flex-wrap: wrap; gap: 8px; overflow: visible; box-shadow: none; padding: 0 0 28px; margin: 0; border-bottom: 1px solid var(--border-subtle); }
.news-categories a { gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid transparent; border-radius: 8px; font-size: var(--type-size-label); font-weight: var(--type-weight-label); }
.news-categories a:hover { background: var(--surface-subtle); border-color: var(--border-subtle); }
.news-categories [aria-current] { color: var(--text-inverse); background: var(--site-ink); border-color: var(--site-ink); }
.news-categories [aria-current]:hover { background: var(--site-ink); border-color: var(--site-ink); }
.news-categories svg, .news-category svg, .article-stats svg { flex-shrink: 0; }
.news-list { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 24px; }
.news-list article { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: stretch; gap: 32px; min-width: 0; padding: 32px 0; }
.news-list article:not(:has(.news-cover)) { grid-template-columns: minmax(0, 1fr); }
.news-cover { display: block; align-self: start; overflow: hidden; border-radius: 10px; }
.news-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.news-card-copy { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.news-category { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 8px; border-radius: 6px; background: var(--surface-subtle); color: var(--text-secondary); font-size: var(--type-size-caption); font-weight: var(--type-weight-label); line-height: var(--type-leading-compact); text-decoration: none; }
.news-category:hover { color: var(--site-red); }
.news-list h2 { margin: 12px 0 8px; font: var(--type-heading); overflow-wrap: anywhere; }
.news-list h2 a:hover { color: var(--site-red); text-decoration: underline; text-underline-offset: 3px; }
.news-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; max-width: 76ch; margin: 0; color: var(--text-secondary); font-size: var(--type-size-label); line-height: var(--type-leading-body); }
.news-list .empty-state { grid-column: 1 / -1; }
.news-list + .pagination { justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.news-list + .pagination a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border-subtle); border-radius: 8px; text-decoration: none; }
.news-list + .pagination a:hover { background: var(--surface-subtle); }
.home-guide-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
  .news-list article { grid-template-columns: 192px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .article-page { margin: 24px auto 64px; }
  .article-heading { margin: 28px 0 24px; }
  .article-heading .lead { font-size: var(--type-size-lead); line-height: var(--type-leading-body); }
  .article-byline { gap: 8px 18px; margin-top: 20px; font-size: var(--type-size-caption); }
  .article-cover { margin-bottom: 28px; }
  .article-cover > img { border-radius: 10px; }
  .article-layout { display: block; }
  .article-outline { position: static; padding: 18px 0; margin-bottom: 28px; border-block: 1px solid #e6e0d5; }
  .article-outline summary { padding-bottom: 0; }
  .article-outline nav { margin-top: 18px; }


  .article-reading .content-body table { display: block; overflow-x: auto; }
  .article-reading .content-body td, .article-reading .content-body th { padding: 12px; }
  .article-reading .content-body blockquote { padding: 20px; }
  .news-intro { padding-block: 28px 24px; }
  .news-intro p { font-size: var(--type-size-body); margin-top: 12px; }
  .news-categories { gap: 6px; padding-bottom: 20px; }
  .news-categories a { padding: 8px 10px; }
  .news-list { gap: 0; }
  .news-list article { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding-block: 24px; }
  .news-list article .news-card-copy { grid-row: 1; grid-column: 1; }
  .news-cover { grid-column: 2; grid-row: 1; margin-top: 40px; }
  .news-cover img { aspect-ratio: 3 / 2; }
  .news-list h2 { margin-top: 10px; font: var(--type-card-title); }
  .news-summary { -webkit-line-clamp: 2; }
}

.article-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-secondary); font-size: var(--type-size-caption); line-height: var(--type-leading-compact); }
.news-card-copy .article-stats { margin-top: auto; padding-top: 16px; gap: 8px 12px; }
.article-stats span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.article-stats .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.article-byline .article-stats { font-size: var(--type-size-label); }
@media (max-width: 700px) { .article-byline { align-items: start; } .article-byline .article-stats { font-size: var(--type-size-caption); } }

/* Pricing */
.pricing-hero { max-width: 940px; margin-inline: auto; padding-block: 32px 24px; text-align: center; }
.pricing-hero h1 { font-size: var(--type-size-hero); letter-spacing: var(--type-tracking-heading); }
.pricing-hero .lead { max-width: none; margin: 16px auto 0; color: var(--text-secondary); font-size: var(--type-size-lead); }
.pricing-plans { padding-top: 8px; padding-bottom: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.pricing-card {
  --ticket-border: #ded8ce;
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-width: 0;
  border: 1px solid var(--ticket-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(41 37 32 / 0.04);
}
.pricing-card:has(.pricing-choice:checked) { --ticket-border: var(--site-red); background: #fff8f6; box-shadow: 0 0 0 1px var(--site-red); }
.pricing-card:has(.pricing-choice:focus-visible) { outline: 3px solid #514840; outline-offset: 5px; }
.pricing-card-hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; border-radius: inherit; }
.pricing-choice { position: absolute; top: 26px; right: 26px; width: 36px; height: 36px; opacity: 0; }
.pricing-ticket-top { padding: 24px 28px 20px; }
.pricing-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.pricing-card-heading h2 { font: var(--type-product-section); margin: 0; overflow-wrap: anywhere; }
.pricing-choice-mark { flex-shrink: 0; color: var(--site-red); }
.pricing-choice-circle { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #8c8175; border-radius: 50%; }
.pricing-choice-circle svg { visibility: hidden; }
.pricing-choice:checked ~ .pricing-ticket-top .pricing-choice-circle { background: var(--site-red); border-color: var(--site-red); color: #fff; }
.pricing-choice:checked ~ .pricing-ticket-top .pricing-choice-circle svg { visibility: visible; }
.pricing-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 20px; }
.pricing-amount span { font: var(--type-price); font-variant-numeric: var(--type-price-numeric); letter-spacing: var(--type-price-tracking); }
.pricing-amount small { font: var(--type-label); color: var(--text-secondary); }
.pricing-price-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.pricing-price-detail:empty { display: none; }
.pricing-equivalent { color: var(--text-secondary); font-size: var(--type-size-label); }
.pricing-saving { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 4px 10px; border-radius: 8px; background: #fce8e6; color: var(--site-red); font-size: var(--type-size-label); }
.pricing-savings-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pricing-savings-group > small { color: var(--text-secondary); font-size: var(--type-size-label); }
.pricing-saving strong { font-size: var(--type-size-body); font-weight: var(--type-weight-heading); }
.pricing-ticket-divider { position: relative; border-top: 1px dashed #d8cfc3; margin: 0 16px; }
.pricing-ticket-divider::before, .pricing-ticket-divider::after { content: ""; position: absolute; top: -13px; width: 13px; height: 26px; background: #fff; border: 1px solid var(--ticket-border); }
.pricing-ticket-divider::before { left: -17px; border-left: 0; border-radius: 0 26px 26px 0; }
.pricing-ticket-divider::after { right: -17px; border-right: 0; border-radius: 26px 0 0 26px; }
.pricing-ticket-bottom { display: flex; flex-direction: column; padding: 16px 28px 24px; }
.pricing-includes-label { color: var(--text-secondary); font-size: var(--type-size-label); }
.pricing-card-features { padding: 0; margin: 8px 0 0; list-style: none; }
.pricing-card-features li { display: flex; align-items: center; gap: 14px; min-height: 36px; padding-block: 4px; }
.pricing-card-features svg { flex-shrink: 0; }
.pricing-renewal { margin: 24px 0 12px; color: var(--text-secondary); font-size: var(--type-size-label); }
.pricing-card .button { position: relative; z-index: 2; width: 100%; margin-top: auto; background: #fff; color: var(--site-red); border: 1px solid var(--site-red); box-shadow: none; }
.pricing-card:has(.pricing-choice:checked) .button { background: var(--site-red); color: #fff; }
.pricing-card .button:hover { background: #fff0ec; }
.pricing-card:has(.pricing-choice:checked) .button:hover { background: #ad2026; }
.pricing-plans-note { max-width: 90ch; margin: 24px auto 0; color: var(--text-secondary); font-size: var(--type-size-label); text-align: center; }
.pricing-plans-note p { max-width: none; }
.pricing-plans-note p + p { margin-top: 6px; }
.pricing-included { border-top: 1px solid #ded8ce; padding-block: 40px; }
.pricing-included > h2 { margin-bottom: 28px; }
.pricing-course-band { display: grid; grid-template-columns: minmax(180px, 0.85fr) minmax(0, 2.7fr); align-items: center; gap: 24px; padding: 24px; border: 1px solid #ded8ce; border-radius: 16px; background: #faf9f7; }
.pricing-course-intro::before { content: ""; display: block; width: 36px; margin-bottom: 18px; border-top: 3px solid var(--site-red); }
.pricing-course-intro h3 { font-size: var(--type-size-section); line-height: var(--type-leading-title); }
.pricing-course-intro p { margin-top: 16px; color: var(--text-secondary); }
.pricing-course-subjects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.pricing-course-subject { --course-accent: var(--site-red); position: relative; min-width: 0; display: flex; flex-direction: column; padding: 18px 12px 12px; border-top: 5px solid var(--course-accent); border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgb(41 37 32 / 0.07); color: var(--text-primary); text-decoration: none; }
.pricing-course-subject[data-subject="mathematics"] { --course-accent: #2563eb; }
.pricing-course-subject[data-subject="physics"] { --course-accent: #7c3aed; }
.pricing-course-subject[data-subject="chemistry"] { --course-accent: #548b44; }
.pricing-course-subject:nth-child(even) { margin-top: 8px; margin-bottom: -8px; }
.pricing-course-subject h4 { margin: 0; font-size: var(--type-size-heading); line-height: var(--type-leading-title); min-height: 3.8em; overflow-wrap: anywhere; }
.pricing-course-subject:hover { box-shadow: 0 4px 20px rgb(41 37 32 / 0.15); }
.pricing-subject-visual { display: flex; align-items: center; margin-top: auto; }
.pricing-subject-visual > svg { flex-shrink: 0; width: 28px; color: var(--site-red); }
.pricing-subject-motif { flex: 1; min-width: 0; height: 112px; background-image: url('/assets/website-7e0e50a60bb1560123b7/brand/pricing-subjects.webp'); background-size: 400% auto; background-position: 0% 50%; background-repeat: no-repeat; }
[data-subject="mathematics"] .pricing-subject-motif { background-position-x: 33.333333%; }
[data-subject="physics"] .pricing-subject-motif { background-position-x: 66.666667%; }
[data-subject="chemistry"] .pricing-subject-motif { background-position-x: 100%; }
.pricing-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin-top: 20px; }
.pricing-benefit { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 2; padding: 24px 20px 20px; border: 1px solid #ded8ce; border-radius: 16px; }
.pricing-benefit > header { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 22px; }
.pricing-benefit h3 { font-size: var(--type-size-section); }
.pricing-benefit header p { margin-top: 8px; color: var(--text-secondary); }
.pricing-benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: #fff0f0; color: var(--site-red); }
.pricing-benefit-example { min-width: 0; min-height: 220px; padding: 18px 16px; border-top: 1px dashed #d8cfc3; border-radius: 0 0 8px 8px; background: #f7f8fa; }
.pricing-example-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--text-secondary); font-size: var(--type-size-label); }
.pricing-example-caption > span { display: inline-flex; align-items: center; gap: 6px; }
.pricing-example-question { margin-top: 20px; }
.pricing-example-solution { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--site-red); }
.pricing-example-solution p { display: grid; gap: 4px; font-size: var(--type-size-heading); font-variant-numeric: var(--type-metric-numeric); }
.pricing-example-solution > svg { color: var(--site-red); flex-shrink: 0; }
.pricing-example-chat { display: grid; gap: 16px; margin-top: 20px; }
.pricing-example-user { justify-self: start; max-width: 90%; padding: 12px 16px; border-radius: 12px 12px 12px 2px; background: #eaeef3; }
.pricing-example-reply { display: flex; align-items: center; justify-self: end; gap: 12px; }
.pricing-example-reply svg { flex-shrink: 0; color: var(--site-red); }
.pricing-example-reply p { padding: 12px 16px; border-radius: 12px 12px 2px 12px; background: #fcecee; }
.pricing-example-answers { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: var(--type-size-label); color: var(--text-secondary); }
.pricing-example-answers tr { height: 44px; border-top: 1px solid #e0e4e9; }
.pricing-example-answers th { width: 24px; text-align: left; font-weight: var(--type-weight-body); }
.pricing-example-answers td { white-space: nowrap; text-align: right; padding-left: 4px; }
.pricing-example-answers td span { margin-right: 4px; }
.pricing-example-answers svg { display: inline-block; vertical-align: middle; color: #8b929c; }
.pricing-example-answers .pricing-example-answer-selected { color: var(--site-red); }
.pricing-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; padding-top: 28px; border-top: 1px solid #ded8ce; }
.pricing-support-grid article { min-width: 0; display: flex; align-items: flex-start; gap: 16px; }
.pricing-support-grid article > svg { flex-shrink: 0; color: var(--site-red); }
.pricing-support-grid h3 { font-size: var(--type-size-heading); }
.pricing-support-grid p { margin-top: 8px; color: var(--text-secondary); font-size: var(--type-size-label); }
@media (max-width: 1100px) {
  .pricing-course-band { grid-template-columns: minmax(0, 1fr); }
  .pricing-course-intro { max-width: 46ch; }
  .pricing-course-intro::before { display: none; }
  .pricing-course-intro p { margin-top: 8px; }
  .pricing-benefit > header { flex-direction: column; gap: 12px; }
  .pricing-benefit { padding-inline: 16px; }
  .pricing-benefit-example { padding-inline: 12px; }
}
@media (max-width: 900px) {
  .pricing-benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pricing-benefit { grid-row: auto; grid-template-rows: auto auto; }
  .pricing-benefit > header { flex-direction: row; }
}
@media (max-width: 600px) {
  .pricing-course-band { padding: 20px 16px; }
  .pricing-course-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pricing-course-subject { padding: 14px 10px 8px; }
  .pricing-course-subject:nth-child(even) { margin-block: 0; }
  .pricing-course-subject h4 { margin: 0; font-size: var(--type-size-body); min-height: 3.8em; }
  .pricing-subject-motif { height: 88px; }
  .pricing-subject-visual > svg { width: 22px; }
  .pricing-benefit > header { gap: 12px; }
  .pricing-benefit-icon { width: 44px; height: 44px; }
}
#refund-conditions { scroll-margin-top: 24px; }
.pricing-faq { padding-block: 32px 56px; }
.pricing-faq h2 { margin-bottom: 24px; }
.pricing-faq-list { border-top: 1px solid #ded8ce; }
.pricing-faq details { border-bottom: 1px solid #ded8ce; }
.pricing-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 60px; padding-block: 16px; cursor: pointer; list-style: none; font-weight: var(--type-weight-heading); }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after { content: "+"; flex-shrink: 0; color: var(--site-red); font-size: var(--type-size-section); }
.pricing-faq details[open] summary::after { content: "−"; }
.pricing-faq details p { max-width: 78ch; margin: 0 32px 22px 0; color: var(--text-secondary); }
@media (max-width: 1100px) and (min-width: 901px) {
  .pricing-ticket-top, .pricing-ticket-bottom { padding-inline: 20px; }
  .pricing-card-heading h2 { font: var(--type-product-section); }
  .pricing-amount span {  font-variant-numeric: var(--type-price-numeric); letter-spacing: var(--type-price-tracking); }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pricing-card { margin-bottom: 24px; }
  .pricing-support-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .pricing-hero { padding-block: 20px 12px; }
  .pricing-hero h1 { font-size: var(--type-size-page); }
  .pricing-hero .lead { margin-top: 12px; font-size: var(--type-size-body); }
  .pricing-plans { padding-top: 8px; padding-bottom: 24px; }
  .pricing-ticket-top { padding: 18px 20px 12px; }
  .pricing-card-heading { min-height: 36px; }
  .pricing-card-heading h2 { font: var(--type-product-section); }
  .pricing-amount { margin-top: 16px; }
  .pricing-amount span {  font-variant-numeric: var(--type-price-numeric); letter-spacing: var(--type-price-tracking); }
  .pricing-price-detail { margin-top: 8px; }
  .pricing-ticket-bottom { padding: 12px 20px 18px; }
  .pricing-card-features li { min-height: 32px; padding-block: 2px; }
  .pricing-renewal { margin-top: 20px; }
  .pricing-plans-note { margin-top: 0; }
  .pricing-included { padding-block: 28px; }
  .pricing-faq { padding-block: 24px 40px; }
  .pricing-faq details p { margin-right: 0; }
}

.home-intro.home-section { padding-block: 60px 56px; }
.home-intro-heading { text-align: center; }
.home-intro-heading h1 { font: var(--type-marketing-hero); letter-spacing: var(--type-tracking-heading); }
.home-intro-heading h1 span { color: var(--site-red); }
html[lang="zh"] .home-intro-heading h1 span { display: inline-block; }
.home-intro-heading > p { max-width: none; margin: 24px auto 32px; font-size: var(--type-size-lead); }
.home-intro-heading .button { display: inline-flex; }
.home-intro-heading .button,
.closing-copy .button {
  min-width: min(240px, 100%);
  min-height: 64px;
  max-width: 100%;
  padding: 16px 40px;
  font-size: var(--type-size-lead);
  text-align: center;
}
.home-subjects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.home-subjects li { min-width: 0; text-align: center; }
.home-subjects img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.home-intro .home-subjects h2 { font-size: var(--type-size-heading); line-height: var(--type-leading-heading); margin-top: 8px; }
.home-courses.home-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 64px; padding-block: 72px 80px; border-top: 1px solid var(--border-subtle); }
.home-course-copy h2 { max-width: 16ch; text-wrap: balance; }
.home-course-copy > p { margin-top: 20px; max-width: 34ch; font-size: var(--type-size-lead); color: var(--text-secondary); }
.home-course-formats { display: grid; gap: 18px; list-style: none; padding: 0; margin: 28px 0 20px; }
.home-course-formats li { display: flex; align-items: center; gap: 18px; font-size: var(--type-size-heading); font-weight: var(--type-weight-label); }
.home-course-formats li > span { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; background: #fbede7; border-radius: 50%; color: var(--site-red); }
.home-course-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--site-red); font-weight: var(--type-weight-label); text-underline-offset: 5px; }
.home-lesson-example { min-width: 0; padding: 24px 28px 32px; background: #faf7f1; border-radius: 16px; }
.home-lesson-example > figcaption { display: inline-block; padding: 6px 12px; background: #eee3d3; border-radius: 6px; color: var(--site-ink); font-size: var(--type-size-label); font-weight: var(--type-weight-label); }
.home-lesson-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 28px; }
.home-lesson-geometry { min-width: 0; }
.home-lesson-geometry img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.home-formula { font: var(--type-illustration-math); letter-spacing: normal; }
.home-lesson-geometry .home-formula { margin-top: 18px; text-align: center; font-size: var(--type-illustration-math-size); white-space: nowrap; }
.home-lesson-reading { border-left: 1px solid #ddd4c6; padding-left: 24px; display: grid; justify-items: center; gap: 14px; }
.home-lesson-reading > p { width: 100%; background: #eaf0f2; padding: 16px; border-radius: 6px; font-size: var(--type-body-size); line-height: var(--type-leading-reading); }
.home-lesson-reading mark { background: #f8ded2; color: inherit; padding-inline: 2px; }
.home-lesson-reading > svg { color: #326080; }
.home-lesson-equation { width: 100%; border-radius: 6px; padding: 16px; background: #f9e8de; }
.home-lesson-equation > p + p { margin-top: 10px; font-size: var(--type-size-label); line-height: var(--type-leading-reading); }
.home-practice.home-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: 56px; padding-block: 72px; background: #234b68; color: white; box-shadow: 0 0 0 100vmax #234b68; clip-path: inset(0 -100vmax); }
.home-practice-copy h2 { max-width: 14ch; text-wrap: balance; }
.home-practice-copy p { margin-top: 20px; max-width: 31ch; font-size: var(--type-size-lead); }
.home-practice-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px 24px; align-items: center; min-width: 0; }
.home-practice-example figure { min-width: 0; padding: 26px 22px; border-radius: 12px; color: var(--site-ink); background: #fff; }
.home-practice-example figcaption { font-size: var(--type-size-label); line-height: var(--type-leading-label); }
.home-practice-question > .home-formula { margin: 22px 0; text-align: center; }
.home-attempt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: #fbece5; border-radius: 6px; }
.home-attempt s { font-size: var(--type-heading-size); text-decoration-color: var(--site-red); text-decoration-thickness: 1px; }
.home-attempt svg { color: var(--site-red); flex-shrink: 0; }
.home-practice-answer figcaption { display: flex; align-items: center; gap: 10px; }
.home-practice-answer figcaption svg { color: #326080; flex-shrink: 0; }
.home-practice-answer > p { margin-top: 18px; }
.home-practice-answer > .home-formula { color: #234b68; font-size: var(--type-product-section-size); }
.home-sum { display: flex; flex-wrap: wrap; gap: 4px 14px; font: var(--type-illustration-math); }
.home-practice-caption { grid-column: 1 / -1; font-size: var(--type-size-caption); text-align: right; max-width: none; color: #e3edf4; }
@media (max-width: 1000px) {
  .home-courses.home-section { gap: 32px; }
  .home-practice.home-section { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-practice-copy h2, .home-practice-copy p { max-width: 36ch; }
  .home-practice-example { max-width: 720px; width: 100%; }
  .home-lesson-example { padding: 20px; }
  .home-lesson-content { gap: 16px; }
  .home-lesson-reading { padding-left: 16px; }
}
@media (max-width: 700px) {
  .home-intro.home-section { padding-block: 36px 40px; }
  .home-intro-heading .button { width: 100%; }
  .home-intro-heading > p { max-width: 30ch; margin-block: 18px 24px; }
  .home-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 28px; }
  .home-intro .home-subjects h2 { font-size: var(--type-size-body); }
  .home-courses.home-section { grid-template-columns: minmax(0, 1fr); padding-block: 44px; gap: 28px; }
  .home-course-copy h2 { max-width: 22ch; }
  .home-course-copy > p { max-width: 40ch; }
  .home-course-formats { gap: 14px; margin-block: 24px 12px; }
  .home-course-formats li { font-size: var(--type-size-body); }
  .home-course-formats li > span { width: 42px; height: 42px; }
  .home-lesson-example { padding: 18px; }
  .home-lesson-content { margin-top: 20px; gap: 14px; }
  .home-lesson-reading { padding-left: 14px; gap: 10px; }
  .home-lesson-reading > p { padding: 10px; font-size: var(--type-caption-size); }
  .home-lesson-equation { padding: 12px; }
  .home-lesson-equation .home-formula { font-size: var(--type-heading-size); }
  .home-lesson-geometry .home-formula { font-size: var(--type-body-size); }
  .home-practice.home-section { padding-block: 44px; gap: 28px; }
  .home-practice-example { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-practice-example figure { padding: 24px; }
  .home-practice-question > .home-formula { margin-block: 18px; }
  .home-practice-caption { grid-column: 1; }
}

.home-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Desktop typography stays within the shared website content width. */
@media (min-width: 1001px) {
  .home-intro-heading > p { font-size: var(--type-heading-size); }
  .home-subjects { margin-top: 32px; }
  .home-courses.home-section h2, .home-practice.home-section h2 { font: var(--type-marketing-section); }
  .home-course-copy > p, .home-practice-copy p { font-size: var(--type-heading-size); }
  .home-course-formats li { font-size: var(--type-heading-size); }
  .home-practice-example figure { padding: 30px 24px; }
  .home-practice-answer > p { font-size: var(--type-card-title-size); }
  .home-practice-example .home-formula { font-size: var(--type-product-page-size); }
  .home-attempt s.home-formula { font-size: var(--type-heading-size); }
}
.home-subject-link { display: block; height: 100%; border-radius: 8px; color: inherit; text-decoration: none; }
.home-subject-link:hover h2 { color: var(--site-red); }
.home-subject-link:focus-visible { outline: 2px solid var(--site-ink); outline-offset: 6px; }

/* Keep the opening rhythm independent of viewport height and share column centers. */
.home-intro.has-inventory {
  --home-column-gap: 32px;
  padding-block: 56px 0;
}
.has-inventory .home-subjects {
  width: 100%;
  column-gap: var(--home-column-gap);
  margin-block: 0;
  padding-block: 48px 56px;
}
.has-inventory .home-subjects img { max-width: 224px; margin-inline: auto; }
.home-inventory {
  background: var(--inventory-surface);
  color: var(--brand-ivory);
  box-shadow: 0 0 0 100vmax var(--inventory-surface);
  clip-path: inset(0 -100vmax);
  padding-block: 40px;
}
.home-inventory dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--home-column-gap); margin: 0; }
.home-inventory dl > div {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-inline: 16px;
  text-align: center;
}
.home-inventory dl > div + div::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: calc(var(--home-column-gap) / -2);
  border-left: 1px solid var(--inventory-divider);
}
.home-inventory dt { color: var(--inventory-label); font: var(--type-body); text-wrap: balance; }
.home-inventory dd {
  margin: 0;
  font: var(--type-metric);
  font-variant-numeric: var(--type-metric-numeric);
}
.home-inventory [data-count] { display: inline-block; min-width: 6ch; }
@media (max-width: 1000px) {
  .home-intro.has-inventory { --home-column-gap: 16px; }
}
@media (max-width: 700px) {
  .home-intro.has-inventory { --home-column-gap: 12px; padding-top: 40px; }
  .has-inventory .home-subjects { padding-block: 36px 40px; row-gap: 24px; }
  .has-inventory .home-subjects img { max-width: 180px; }
  .home-inventory { padding-block: 32px; }
  .home-inventory dl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .home-inventory dl > div { padding-inline: 8px; gap: 8px; }
  .home-inventory dl > div:nth-child(3)::before { display: none; }
  .home-inventory dt { font-size: var(--type-size-caption); }
}
