:root {
  --text-hero: clamp(48px, 5.2vw, 58px);
  --text-page: clamp(38px, 4vw, 44px);
  --text-section: clamp(28px, 3vw, 34px);
  --text-subheading: 20px;
  --text-card: 18px;
  --text-body: 15px;
  --text-nav: 13px;
  --text-button: 13px;
  --text-label: 12px;
  --text-caption: 12px;
  --content-width: 1160px;
  --header-height: 76px;
  --header-height-scrolled: 64px;
  --section-space: 76px;
  --card-radius: 12px;
}

body {
  font-size: var(--text-body);
  line-height: 1.72;
  background: var(--ivory);
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

h1 {
  font-size: var(--text-hero);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.page-hero h1 {
  font-size: var(--text-page);
  line-height: 1.12;
  margin-bottom: 14px;
}

h2,
.section-heading h2,
.subscribe-panel h2 {
  font-size: var(--text-section);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h3,
.category-card h3,
.class-card h3,
.subject-card h2,
.simple-card h3,
.resource-card h3,
.practice-option h3 {
  font-size: var(--text-card);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

p,
.hero-lede,
.page-hero p,
.category-card p,
.class-card p,
.subject-card p,
.simple-card p,
.resource-card p,
.practice-option p,
.roadmap-step p,
.benefit p,
.journey-grid p,
.prose p,
.prose li,
.reader-article p {
  font-size: var(--text-body);
  line-height: 1.75;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  margin-bottom: 14px;
}

.wrap,
.content-wrap,
.nav-wrap,
.footer-grid,
.footer-bottom {
  width: min(var(--content-width), calc(100% - 48px));
}

.section,
.content-section {
  padding-block: var(--section-space);
}

.nav-wrap {
  height: var(--header-height);
  min-height: var(--header-height);
  gap: 28px;
}

.is-scrolled .nav-wrap {
  height: var(--header-height-scrolled);
  min-height: var(--header-height-scrolled);
}

.brand {
  min-width: 178px;
  gap: 9px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  font-size: 13px;
}

.brand-label strong {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.brand-label small {
  font-size: 9.5px;
  margin-top: 2px;
}

.main-nav {
  gap: clamp(18px, 2vw, 26px);
}

.main-nav a {
  min-height: 44px;
  font-size: var(--text-nav);
  line-height: 1;
  font-weight: 650;
  color: #53615b;
  white-space: nowrap;
}

.main-nav .nav-cta {
  min-height: 40px;
  padding: 0 16px !important;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.button,
.button-primary,
.button-outline {
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  font-size: var(--text-button);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.button svg,
.button i,
.text-link span {
  flex: 0 0 auto;
}

.button-row {
  gap: 10px;
}

.text-link {
  font-size: 12.5px;
  line-height: 1.2;
}

.announcement {
  min-height: 34px;
  padding-block: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.hero {
  min-height: 540px;
  padding-block: 54px 64px;
  gap: 54px;
  grid-template-columns: 1fr 0.86fr;
}

.hero-copy {
  max-width: 610px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: var(--text-hero);
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 26px;
  font-size: 16.5px;
  line-height: 1.75;
}

.hero-note {
  margin-top: 30px;
}

.hero-art {
  height: 390px;
  border-radius: 38% 38% 14px 14px;
}

.trust-inner {
  min-height: 58px;
  padding-block: 14px;
}

.trust-inner p {
  font-size: 13px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-intro {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.65;
}

.category-grid,
.benefit-grid,
.journey-grid,
.resource-grid,
.value-grid,
.roadmap-grid,
.practice-options {
  gap: 16px;
}

.category-card {
  min-height: 238px;
  padding: 22px;
  border-radius: var(--card-radius);
}

.category-card p {
  margin-bottom: 15px;
  font-size: 13.5px;
  line-height: 1.68;
}

.category-card .icon-box {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
}

.card-index,
.class-card .class-number {
  font-size: 10px;
  letter-spacing: 0.11em;
}

.card-arrow,
.resource-status,
.status-pill {
  font-size: 11px;
}

.ncert-feature {
  gap: 72px;
  padding-block: 68px;
}

.ncert-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
}

.class-tile {
  min-height: 118px;
  border-radius: var(--card-radius);
  padding: 18px;
}

.class-tile strong {
  font-size: 14px;
}

.class-tile small {
  font-size: 11.5px;
}

.benefit,
.journey-grid article {
  padding-top: 17px;
}

.benefit h3,
.journey-grid h3,
.roadmap-step h3,
.demo-question h3,
.simple-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.benefit p,
.journey-grid p,
.roadmap-step p,
.simple-card p,
.practice-option p {
  font-size: 13.5px;
  line-height: 1.72;
}

.resource-card {
  padding: 18px;
  border-radius: var(--card-radius);
}

.resource-card h3 {
  font-size: 16px;
  margin: 6px 0 7px;
}

.resource-card p {
  font-size: 12.5px;
}

.resource-status {
  border-radius: 999px;
  padding: 6px 9px;
}

.faq-layout {
  gap: 64px;
  padding-block: 4px;
}

.faq-list summary {
  min-height: 48px;
  font-size: 14px;
  line-height: 1.4;
}

.faq-list details p {
  max-width: 680px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.72;
}

.subscribe-panel {
  padding: 32px 36px;
  border-radius: var(--card-radius);
}

.subscribe-panel h2 {
  font-size: 28px;
}

.subscribe-panel > div > p:last-child {
  font-size: 13.5px;
  line-height: 1.65;
}

.subscribe-form input {
  height: 44px;
  font-size: 13px;
}

.page-hero {
  padding: 56px 0 44px;
}

.page-hero p {
  max-width: 720px;
  font-size: 14.5px;
  line-height: 1.72;
}

.content-wrap {
  max-width: var(--content-width);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 32px;
  font-size: 26px;
  line-height: 1.25;
}

.value-grid,
.roadmap-grid,
.contact-grid {
  gap: 14px;
}

.simple-card,
.practice-option,
.demo-question,
.contact-form,
.placeholder-card,
.subject-card {
  border-radius: var(--card-radius);
  padding: 22px;
}

.filter-bar,
.resource-toolbar {
  padding: 14px;
  border-radius: 10px;
  gap: 10px;
}

.input-control,
.subscribe-form input,
.form-field textarea {
  height: 44px;
  font-size: 13px;
  border-radius: 7px;
}

.form-field textarea {
  min-height: 132px;
  height: auto;
  padding-top: 12px;
}

.class-grid {
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.class-card {
  min-height: 208px;
  padding: 20px;
  border-radius: var(--card-radius);
}

.class-card h2 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.15;
}

.class-card p,
.class-card .subject-tags,
.class-pdf-count,
.subject-resource-count {
  font-size: 12.5px;
  line-height: 1.6;
}

.class-card .button,
.subject-card .button,
.pdf-card-actions .button {
  min-height: 40px;
  height: 40px;
  font-size: 12px;
}

.subject-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.subject-card h2 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.resource-heading {
  margin-bottom: 22px;
}

.resource-heading h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.resource-results,
.form-help,
.pdf-card-meta,
.pdf-card-folder {
  font-size: 12px;
  line-height: 1.55;
}

.pdf-grid {
  gap: 12px;
}

.pdf-card {
  padding: 16px;
  border-radius: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.pdf-card-title {
  font-size: 13.5px;
  line-height: 1.42;
  margin: 0 0 6px;
}

.pdf-card-icon,
.pdf-doc-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.crumbs {
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.detail-heading h1 {
  font-size: 38px;
  line-height: 1.12;
}

.reader-body {
  grid-template-columns: 190px minmax(0, 680px) 170px;
  gap: 30px;
  max-width: 1100px;
  margin-inline: auto;
}

.reader-sidebar h3,
.toc h3 {
  font-size: 13px;
  line-height: 1.35;
}

.reader-sidebar a,
.toc a {
  font-size: 12.5px;
  line-height: 1.55;
}

.reader-article h1 {
  font-size: 34px;
  line-height: 1.18;
}

.reader-article h2 {
  font-size: 24px;
  line-height: 1.25;
}

.reader-article p {
  --reader-font-size: 16.5px;
  font-size: var(--reader-font-size);
  line-height: 1.92;
  color: #46564f;
}

.reader-controls button,
.icon-button {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 12.5px;
}

.planner {
  font-size: 13px;
  line-height: 1.55;
}

.footer-grid {
  padding-bottom: 38px;
  gap: 34px;
  grid-template-columns: 1.45fr 0.85fr 0.95fr 1fr;
}

.footer-brand p {
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-column h3 {
  margin: 5px 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.footer-column a {
  min-height: 25px;
  margin: 7px 0;
  font-size: 12.5px;
  line-height: 1.45;
}

.footer-bottom {
  min-height: 52px;
  padding-top: 14px;
  font-size: 11.5px;
  line-height: 1.45;
}

.pdf-toolbar {
  min-height: 68px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.pdf-back-link {
  font-size: 12.5px;
}

.pdf-document-title strong {
  font-size: 13.5px;
  line-height: 1.3;
}

.pdf-document-title small {
  font-size: 10.5px;
  margin-top: 2px;
}

.pdf-toolbar-actions .button {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 12px;
}

.pdf-controls {
  min-height: 56px;
  font-size: 12px;
}

.pdf-page-controls,
.pdf-zoom-controls {
  font-size: 12px;
}

.reader-control-button {
  width: 36px;
  height: 36px;
  font-size: 16px;
  border-radius: 7px;
}

.pdf-page-controls input {
  height: 34px;
  font-size: 12px;
}

.pdf-zoom-controls .fit-button {
  width: auto;
  min-width: 88px;
  padding: 0 10px;
  font-size: 11.5px;
}

.pdf-status,
.pdf-error {
  font-size: 13.5px;
}

@media (max-width: 980px) {
  .main-nav {
    gap: 8px;
  }

  .main-nav a {
    font-size: 11.5px;
  }

  .brand {
    min-width: 150px;
  }

  .main-nav .nav-cta {
    padding-inline: 12px !important;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 28px;
  }

  .class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reader-body {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --text-hero: 42px;
    --text-page: 36px;
    --text-section: 28px;
    --text-card: 17px;
    --text-body: 14.5px;
    --section-space: 58px;
  }

  .wrap,
  .content-wrap,
  .nav-wrap,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .nav-wrap {
    height: 66px;
    min-height: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .main-nav {
    gap: 0;
    top: 66px;
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-8px);
    opacity: 0;
    transition:
      max-height 220ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 180ms ease,
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
      padding 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .main-nav.is-open {
    max-height: calc(100vh - 66px);
    padding-top: 12px;
    padding-bottom: 18px;
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav a {
    min-height: 48px;
    font-size: 14px;
  }

  .main-nav .nav-cta {
    min-height: 44px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 46px 52px;
  }

  .hero-copy h1 {
    font-size: var(--text-hero);
  }

  .hero-lede {
    font-size: 15.5px;
  }

  .hero-art {
    height: 320px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .category-grid,
  .benefit-grid,
  .journey-grid,
  .value-grid,
  .roadmap-grid,
  .practice-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 220px;
  }

  .ncert-feature {
    gap: 28px;
    padding-block: 54px;
  }

  .faq-layout {
    gap: 24px;
  }

  .subscribe-panel {
    padding: 26px 22px;
  }

  .page-hero {
    padding: 46px 0 36px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p {
    font-size: 14.5px;
  }

  .class-grid,
  .subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-toolbar {
    top: 66px;
  }

  .reader-body {
    grid-template-columns: 1fr;
  }

  .reader-article h1 {
    font-size: 30px;
  }

  .reader-article p {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  :root {
    --text-hero: 38px;
    --text-page: 32px;
    --text-section: 26px;
  }

  .wrap,
  .content-wrap,
  .nav-wrap,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 38px;
  }

  .hero-copy h1 {
    line-height: 1.1;
  }

  .hero-lede {
    font-size: 15px;
  }

  .button-row .button {
    min-height: 44px;
    flex: 1 1 145px;
  }

  .category-grid,
  .benefit-grid,
  .journey-grid,
  .value-grid,
  .roadmap-grid,
  .practice-options,
  .class-grid,
  .subject-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 205px;
  }

  .hero-art {
    height: 280px;
  }

  .class-tile.tile-main {
    min-height: 220px;
  }

  .subscribe-panel {
    padding: 24px 18px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .detail-heading h1 {
    font-size: 32px;
  }

  .resource-heading h2,
  .prose h2 {
    font-size: 24px;
  }

  .simple-card,
  .practice-option,
  .demo-question,
  .contact-form,
  .subject-card {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: center;
  }

  .pdf-toolbar-actions .button {
    height: 42px;
  }

  .reader-control-button {
    width: 38px;
    height: 38px;
  }
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 430ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero .reveal-item,
.section-heading.reveal-item {
  --reveal-delay: 60ms;
}

.library-class-card {
  position: relative;
  isolation: isolate;
  min-height: 292px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(18, 61, 50, 0.12);
  background:
    linear-gradient(145deg, rgba(198, 161, 91, 0.045), transparent 32%),
    var(--white);
  box-shadow: 0 8px 24px rgba(18, 61, 50, 0.045);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.library-class-card::before,
.library-class-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.library-class-card::before {
  width: 116px;
  height: 116px;
  right: -58px;
  top: -48px;
  border: 1px solid rgba(198, 161, 91, 0.34);
}

.library-class-card::after {
  width: 58px;
  height: 58px;
  right: 18px;
  bottom: 66px;
  border: 1px solid rgba(27, 84, 68, 0.09);
}

.library-class-card:hover,
.library-class-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(27, 84, 68, 0.30);
  background:
    linear-gradient(145deg, rgba(198, 161, 91, 0.075), transparent 36%),
    #fff;
  box-shadow: 0 18px 38px rgba(18, 61, 50, 0.10);
}

.library-class-card:hover::before,
.library-class-card:focus-visible::before {
  transform: translate(-5px, 5px);
}

.library-class-card:hover::after,
.library-class-card:focus-visible::after {
  transform: translate(-3px, -4px);
}

.library-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.library-card-top .class-number {
  color: var(--green-2);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.library-card-year {
  color: rgba(198, 161, 91, 0.90);
  font: 800 32px/1 var(--head);
  letter-spacing: -0.07em;
}

.library-card-spine {
  display: block;
  width: 34px;
  height: 3px;
  margin: 6px 0 14px;
  background: var(--gold);
  border-radius: 999px;
}

.library-card-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--green);
}

.library-card-description {
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.library-subject-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  margin-bottom: 14px;
}

.library-subject-chip {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid #dde5dd;
  border-radius: 5px;
  background: #f7f9f6;
  color: #4e6258;
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-subject-chip.is-science {
  border-color: #d7e3db;
  background: #edf4ef;
  color: var(--green-2);
}

.library-subject-chip.is-social {
  border-color: #e7dcc5;
  background: #faf7ef;
  color: #796744;
}

.library-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(231, 234, 230, 0.95);
}

.library-card-footer .class-pdf-count {
  margin: 0;
  color: var(--green);
  font-size: 11.5px;
  white-space: nowrap;
}

.library-card-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-2);
  font: 800 12px/1 var(--head);
  text-decoration: none;
  transition: color 180ms ease;
}

.library-card-arrow {
  display: inline-block;
  font-size: 15px;
  transition: transform 180ms ease;
}

.library-class-card:hover .library-card-arrow,
.library-subject-card:hover .library-card-arrow,
.library-card-action:focus-visible .library-card-arrow {
  transform: translateX(4px);
}

.library-subject-card {
  position: relative;
  min-height: 264px;
  overflow: hidden;
  border: 1px solid rgba(18, 61, 50, 0.12);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(18, 61, 50, 0.045);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease, border-color 240ms ease;
}

.library-subject-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: 50%;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.library-subject-card.subject-science {
  background: linear-gradient(145deg, #f7faf7 0%, #fff 58%);
}

.library-subject-card.subject-social {
  background: linear-gradient(145deg, #fbf9f2 0%, #fff 58%);
}

.library-subject-card:hover,
.library-subject-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(27, 84, 68, 0.28);
  box-shadow: 0 16px 34px rgba(18, 61, 50, 0.09);
}

.library-subject-card:hover::after,
.library-subject-card:focus-visible::after {
  transform: translate(-4px, -4px);
}

.library-subject-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(27, 84, 68, 0.10);
  border-radius: 10px;
  background: #edf3ef;
  color: var(--green);
}

.library-subject-card.subject-social .library-subject-icon {
  border-color: rgba(198, 161, 91, 0.24);
  background: #f7f1e4;
  color: #80693a;
}

.library-subject-icon svg {
  width: 21px;
  height: 21px;
}

.library-subject-label {
  margin: 0 0 6px;
  color: var(--gold);
  font: 800 9.5px/1 var(--head);
  letter-spacing: 0.15em;
}

.library-subject-title {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.library-subject-description {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.65;
}

.library-subject-card .subject-resource-count {
  margin: 0 0 16px;
  color: var(--green-2);
}

.library-subject-card .library-card-action {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.pdf-card {
  position: relative;
  overflow: hidden;
  border-left: 3px solid rgba(27, 84, 68, 0.72);
}

.pdf-card-format {
  margin: 4px 0 0;
  color: #7a866f;
  font-size: 10.5px;
  line-height: 1.45;
}

.pdf-card-actions .button-primary {
  box-shadow: 0 7px 16px rgba(18, 61, 50, 0.08);
}

.pdf-card-actions .button-primary:hover {
  box-shadow: 0 10px 20px rgba(18, 61, 50, 0.13);
}

.pdf-card-actions .button-outline {
  background: #fff;
}

@media (max-width: 980px) {
  .library-class-card {
    min-height: 280px;
  }
}

@media (max-width: 460px) {
  .library-class-card {
    min-height: 278px;
  }

  .library-card-year {
    font-size: 30px;
  }

  .library-card-description {
    min-height: auto;
  }

  .library-subject-card {
    min-height: 248px;
  }

  .pdf-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .pdf-card-icon {
    width: 38px;
    height: 38px;
  }

  .pdf-card-actions .button {
    flex: 1 1 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal-item,
  .library-class-card,
  .library-subject-card,
  .library-card-arrow,
  .library-card-spine,
  .library-card::before,
  .library-card::after,
  .library-subject-card::after {
    transition: none !important;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}
