:root {
  --page: #f2f2f5;
  --surface: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d9d9de;
  --tint: #e9e9ed;
  --top: 242, 242, 245;
  color-scheme: light;
}
html[data-theme="dark"] {
  --page: #101012;
  --surface: #1c1c1e;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --line: #38383c;
  --tint: #28282c;
  --top: 16, 16, 18;
  color-scheme: dark;
}
html,
body {
  background: var(--page);
  color: var(--ink);
}
h1,
h2,
h3,
.wordmark {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
}
.site-header {
  max-width: none;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(
    to bottom,
    rgba(var(--top), 0.96),
    rgba(var(--top), 0.65) 65%,
    rgba(var(--top), 0)
  );
  border: 0;
  isolation: isolate;
}
.site-header:before {
  content: "";
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(#000 20%, transparent);
  -webkit-mask-image: linear-gradient(#000 20%, transparent);
}
.wordmark img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.site-header nav {
  color: var(--ink);
  align-items: center;
  gap: 30px;
}
.site-header nav [aria-current] {
  color: var(--ink);
}
main.home-page {
  max-width: 1180px;
  padding: 42px 0 90px;
}
.home-page .eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.025em;
  margin-bottom: 14px;
}
.newsroom-lead {
  border-radius: 32px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: none;
}
.newsroom-lead .story-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.lead-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.lead-art img,
.lead-art video,
.lead-art picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lead-art .cover-placeholder {
  height: 100%;
  min-height: 300px;
}
.lead-copy {
  display: flex;
  flex-direction: column;
  padding: 42px;
}
.lead-copy h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  margin: 0 0 30px;
}
.lead-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.open-story {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
  font-size: 30px;
  font-weight: 500;
}
.product-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 32px 0 58px;
}
.product-card {
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-art {
  aspect-ratio: 1.65;
  background: var(--tint);
  overflow: hidden;
}
.product-art img,
.product-art video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-copy {
  padding: 28px;
  position: relative;
  flex: 1;
}
.product-copy h2 {
  font-size: 27px;
  line-height: 1.12;
  margin-bottom: 14px;
}
.product-copy p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 25px;
}
.product-more {
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: var(--muted);
}
.product-symbol {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, #d8eaff, #a6c1f5);
  color: #154fa1;
  font-size: 100px;
  font-weight: 700;
}
.app-banner {
  position: relative;
  min-height: 360px;
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 48px 60px;
  margin-bottom: 82px;
}
.app-banner-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.app-banner-copy > img {
  border-radius: 16px;
  margin-bottom: 24px;
}
.app-banner h2 {
  font-size: 44px;
  margin-bottom: 18px;
}
.app-banner p {
  color: var(--muted);
  max-width: 370px;
  font-size: 19px;
}
.app-store-button {
  display: inline-flex;
  gap: 24px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 24px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
}
.app-device {
  position: absolute;
  right: 70px;
  top: 40px;
  width: 220px;
  border: 7px solid #17171a;
  border-radius: 34px;
  transform: rotate(9deg);
  box-shadow: 0 15px 60px #0002;
}
.app-banner.has-art {
  min-height: 380px;
  color: white;
}
.app-banner.has-art picture {
  position: absolute;
  inset: 0;
}
.app-banner.has-art picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-banner.has-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0009, transparent);
}
.app-banner.has-art p {
  color: #fff;
}
.teacher-heading {
  text-align: center;
  margin: 0 0 40px;
}
.teacher-wordmark {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}
.teacher-wordmark span {
  font-size: 20px;
  letter-spacing: -0.04em;
  margin-right: 12px;
}
.teacher-heading > img {
  max-width: 320px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}
.teacher-heading h2 {
  font-size: 21px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.curation-section {
  margin-bottom: 54px;
}
.curation-section > header {
  max-width: 760px;
  margin-bottom: 24px;
}
.curation-section > header h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.curation-section > header p {
  color: var(--muted);
  font-size: 18px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.story-grid .feed-card {
  margin: 0;
  min-width: 0;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
}
.story-grid .card-art {
  min-height: 360px;
  aspect-ratio: 0.82;
}
.story-grid .card-copy {
  padding: 26px;
}
.story-grid .card-copy h2 {
  font-size: 26px;
  line-height: 1.14;
}
.story-grid .card-copy p {
  display: none;
}
.story-grid .card-copy .eyebrow {
  color: #fff;
  opacity: 0.8;
}
.story-grid .cover-footer,
.story-grid .card-app-list {
  background: var(--surface);
  color: var(--ink);
}
.story-grid .app-card p {
  color: var(--muted);
}
.story-grid .cover-blur {
  background: linear-gradient(transparent 30%, #000b);
}

.teacher-featured {
  margin-bottom: 46px;
}
.categories {
  margin: 70px 0 50px;
}
.categories h2 {
  font-size: 32px;
  margin-bottom: 24px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 2.6;
  padding: 18px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  isolation: isolate;
  background: linear-gradient(120deg, var(--category-a), var(--category-b));
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.category-card:has(img):after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0003;
}
.category-card[aria-current] {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.category-arrow {
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 24px;
  opacity: 0.6;
}
.category-0 {
  --category-a: #007fb6;
  --category-b: #35b8c3;
}
.category-1 {
  --category-a: #a85800;
  --category-b: #e6a22d;
}
.category-2 {
  --category-a: #b500b5;
  --category-b: #ad66d4;
}
.category-3 {
  --category-a: #333478;
  --category-b: #8c57ae;
}
.category-4 {
  --category-a: #16872a;
  --category-b: #61bd4b;
}
.category-5 {
  --category-a: #d52028;
  --category-b: #f07175;
}
.category-6 {
  --category-a: #007c96;
  --category-b: #33b7c2;
}
.category-7 {
  --category-a: #c54c00;
  --category-b: #eea46c;
}
.archive-heading {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.archive-heading h2 {
  font-size: 32px;
  margin: 0;
}
.search {
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: 380px;
}
.search input {
  color: var(--ink);
}
.search button {
  background: var(--tint);
  color: var(--ink);
}
.clear-filter {
  display: inline-block;
  margin-bottom: 26px;
  color: #0671ce;
}
.pagination {
  color: var(--ink);
}
.newsroom-footer {
  background: var(--surface);
  padding: 60px max(24px, calc((100vw - 1180px) / 2)) 24px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-brands > a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 34px;
}
.footer-brands > a img {
  border-radius: 14px;
}
.footer-brands p {
  font-size: 14px;
  color: var(--muted);
  margin: 20px 0;
}
.professor-logo {
  width: 230px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}
.appearance-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.appearance-control select {
  font: inherit;
  font-size: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--page);
  width: 140px;
}
.teacher-credential {
  width: 180px;
  margin-top: 30px;
  filter: invert(1);
}
html[data-theme="dark"] .teacher-credential {
  filter: none;
}
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  gap: 60px;
  color: var(--muted);
  font-size: 12px;
}
.footer-legal p:first-child {
  max-width: 680px;
}
.modal-sheet,
.article-modal,
.article-page {
  background: var(--surface);
  color: var(--ink);
}
.article-body,
.article-summary,
.article-meta {
  color: var(--muted);
}
.article-body h2,
.article-body h3,
.article-body strong {
  color: var(--ink);
}
.modal-toolbar {
  background: var(--surface);
}
.article-modal {
  max-width: 1380px;
  width: calc(100vw - 64px);
}
@media (min-width: 1024px) {
  .article-modal .article-page > article {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
    column-gap: 60px;
    padding: 40px;
  }
  .article-modal .article-hero {
    grid-column: 1;
    grid-row: 1/5;
    position: sticky;
    top: 0;
    align-self: start;
    border-radius: 22px;
    min-height: 560px;
    height: calc(100vh - 190px);
    max-height: 850px;
  }
  .article-modal .article-meta,
  .article-modal .article-summary,
  .article-modal .article-body {
    grid-column: 2;
    max-width: none;
    margin: 0 0 22px;
    padding: 0;
  }
  .article-modal .article-body {
    padding-bottom: 60px;
  }
  .article-modal .article-hero .article-heading {
    padding: 30px;
  }
  .article-modal .article-hero .article-heading h1 {
    font-size: 34px;
  }
  .article-modal .article-page .cover-footer {
    grid-column: 2;
  }
}
@media (max-width: 1230px) {
  main.home-page {
    margin: 0 24px;
  }
  .lead-copy {
    padding: 32px;
  }
  .app-device {
    right: 40px;
  }
}
@media (max-width: 900px) {
  .product-trio,
  .story-grid {
    gap: 20px;
  }
  .product-copy {
    padding: 22px;
  }
  .product-copy h2 {
    font-size: 24px;
  }
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-banner {
    padding: 38px;
  }
  .app-banner h2 {
    font-size: 36px;
  }
  .app-banner-copy {
    max-width: 55%;
  }
  .app-device {
    width: 190px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-appearance {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .teacher-credential {
    margin: 0;
  }
  .footer-legal {
    gap: 30px;
  }
  .lead-copy h1 {
    font-size: 30px;
  }
}
@media (max-width: 599px) {
  .site-header {
    padding: 12px 20px;
  }
  .site-header nav {
    font-size: 12px;
    gap: 18px;
  }
  .wordmark img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  main.home-page {
    margin: 0 20px;
    padding-top: 24px;
  }
  .newsroom-lead {
    border-radius: 24px;
  }
  .newsroom-lead .story-link {
    display: flex;
    flex-direction: column;
  }
  .lead-art {
    aspect-ratio: 1.35;
  }
  .lead-copy {
    padding: 26px;
  }
  .lead-copy h1 {
    font-size: 30px;
  }
  .lead-bottom {
    font-size: 13px;
  }
  .product-trio {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 24px 0 36px;
  }
  .product-art {
    aspect-ratio: 1.7;
  }
  .product-copy h2 {
    font-size: 27px;
  }
  .product-copy p {
    max-width: 270px;
  }
  .app-banner {
    margin-bottom: 48px;
    padding: 30px;
    min-height: 600px;
    align-items: flex-start;
  }
  .app-banner-copy {
    max-width: 100%;
  }
  .app-banner h2 {
    font-size: 34px;
  }
  .app-banner p {
    font-size: 17px;
  }
  .app-device {
    top: 330px;
    right: 50%;
    transform: translateX(50%) rotate(6deg);
    width: 180px;
  }
  .teacher-wordmark {
    font-size: 29px;
  }
  .teacher-heading h2 {
    font-size: 18px;
  }
  .curation-section > header h2,
  .categories h2,
  .archive-heading h2 {
    font-size: 28px;
  }
  .curation-section > header p {
    font-size: 16px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-grid {
    gap: 12px;
  }
  .category-card {
    aspect-ratio: 1.7;
    padding: 14px;
    font-size: 15px;
  }
  .archive-heading {
    display: block;
  }
  .archive-heading h2 {
    margin-bottom: 20px;
  }
  .search {
    max-width: none;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main nav {
    padding-top: 10px;
  }
  .footer-legal {
    display: block;
  }
  .article-modal {
    width: 100vw;
    max-width: none;
  }
  .modal-sheet {
    border-radius: 0;
  }
  .newsroom-footer {
    padding-top: 42px;
  }
  .app-banner.has-art {
    min-height: 570px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
}
/* Newsroom: gradual header, editorial bento and consistent reader. */
.site-header {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}
.site-header:before {
  display: none;
}
.header-blur {
  position: absolute;
  inset: 0 0 -48px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(var(--top), 1) 0%,
    rgba(var(--top), 0.96) 20%,
    rgba(var(--top), 0.72) 48%,
    rgba(var(--top), 0.28) 72%,
    rgba(var(--top), 0) 100%
  );
}
.blur-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blur-1 {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  mask-image: linear-gradient(#000 5%, transparent 55%);
}
.blur-2 {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(#000 28%, transparent 68%);
}
.blur-3 {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(#000 42%, transparent 80%);
}
.blur-4 {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(#000 56%, transparent 90%);
}
.blur-5 {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(#000 66%, transparent);
}
.wordmark img {
  width: 140px;
  height: 50px;
  object-fit: contain;
  border-radius: 0;
}
.footer-brands > a img {
  width: 220px;
  height: auto;
  border-radius: 0;
}
.story-grid {
  align-items: start;
}
.story-grid .card-copy h2,
.story-grid .card-copy p,
.article-heading h1,
.article-heading .eyebrow {
  color: #fff;
}
.story-grid .card-copy h2 {
  text-shadow: 0 2px 14px #0002;
}
.category-card {
  aspect-ratio: 2;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  text-shadow: 0 2px 10px #0006;
}
.category-card img {
  transition: transform 0.25s ease;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-card:has(img):after {
  background: linear-gradient(transparent, #0009);
}
.bento-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.bento-grid .feed-card {
  display: flex;
  flex-direction: column;
}
.bento-grid .story-link {
  flex: 1;
  display: block;
}
.bento-grid .card-art {
  height: 100%;
  min-height: 400px;
  aspect-ratio: auto;
}
.bento-grid .feed-card[data-layout="list"] {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 460px;
}
.bento-grid .feed-card[data-layout="list"] .card-art {
  height: 100%;
  aspect-ratio: auto;
  min-height: 460px;
}
.bento-grid .feed-card[data-layout="list"] .card-app-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  min-width: 0;
}
.bento-grid .card-app-list .app-card {
  padding: 13px 8px;
  gap: 12px;
}
.bento-grid .card-app-list .app-card img {
  width: 54px;
  height: 54px;
}
.bento-grid .card-app-list .app-info h3 {
  font-size: 16px;
}
.bento-grid .card-app-list .app-info p {
  font-size: 12px;
}
.bento-grid .card-app-list .get-app {
  font-size: 12px;
  padding: 9px 12px;
}
.bento-grid .feed-card[data-layout="carousel"]:nth-child(3n) {
  grid-column: span 2;
}
.bento-grid .feed-card[data-layout="carousel"]:nth-child(3n) .card-art {
  aspect-ratio: 1.8;
  min-height: 360px;
}
.story-grid .app-info h3 {
  color: var(--ink);
}
.story-grid .app-info p {
  color: var(--muted);
}
.article-modal {
  background: transparent;
  border-radius: 32px;
  overflow: visible;
}
.article-modal .modal-sheet {
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface);
}
.modal-toolbar,
.modal-toolbar.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.article-modal .article-hero {
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.article-modal .article-hero .cover-blur {
  display: none;
}
.article-modal .article-hero .cover {
  object-position: center;
  object-fit: cover;
}
.article-modal .article-page > article > .reader-heading {
  display: block;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.035em;
  font-size: 34px;
  line-height: 1.08;
}
.article-modal .article-hero .article-heading {
  display: none;
}
.article-modal .article-meta,
.article-modal .article-meta span:first-child {
  color: var(--muted);
}
@media (min-width: 1024px) {
  .article-modal .article-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--source-cover-ratio, 0.82);
    grid-row: 1/6;
  }
  .article-modal .reader-heading {
    grid-column: 2;
  }
  .article-modal .article-page > article {
    padding: 34px;
    column-gap: 42px;
  }
  .article-modal .article-page > article > .cover-footer {
    grid-column: 2;
  }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-modal .article-hero {
    margin: 24px 24px 0;
  }
  .article-modal .article-page > article > .reader-heading {
    padding: 24px 28px 0;
  }
}
@media (max-width: 599px) {
  .wordmark img {
    width: 102px;
    height: 38px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .site-header {
    padding: 12px 18px;
  }
  .header-blur {
    bottom: -36px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid .feed-card[data-layout="list"],
  .bento-grid .feed-card[data-layout="carousel"]:nth-child(3n) {
    grid-column: auto;
  }
  .bento-grid .feed-card[data-layout="list"] {
    display: flex;
  }
  .bento-grid .feed-card[data-layout="list"] .card-art {
    min-height: 400px;
  }
  .bento-grid .feed-card[data-layout="carousel"]:nth-child(3n) .card-art {
    aspect-ratio: 0.82;
  }
  .bento-grid .card-app-list .app-card {
    padding: 16px 12px;
  }
  .bento-grid .card-app-list .app-info h3 {
    font-size: 18px;
  }
  .bento-grid .card-app-list .app-info p {
    font-size: 14px;
  }
  .bento-grid .card-app-list .get-app {
    font-size: 14px;
  }
  .category-card {
    aspect-ratio: 1.55;
    padding: 16px;
  }
  .article-modal {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 8px;
  }
  .article-modal .modal-sheet {
    border-radius: 28px;
  }
  .article-modal .article-hero {
    margin: 12px 14px 0;
    border-radius: 20px;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--source-cover-ratio, 0.82);
  }
  .article-modal .article-page > article > .reader-heading {
    font-size: 28px;
    padding: 24px 22px 0;
    margin-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .category-card img {
    transition: none;
  }
}
.lead-art {
  isolation: isolate;
}
.lead-art > .cover {
  z-index: 0;
}
@media (min-width: 600px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-grid .feed-card[data-layout="carousel"]:nth-child(3n) {
    grid-column: auto;
  }
  .bento-grid .feed-card[data-layout="carousel"]:nth-child(3n) .card-art {
    aspect-ratio: 0.95;
    min-height: 400px;
  }
  .bento-grid > .feed-card.bento-wide {
    grid-column: span 2;
  }
  .bento-grid > .feed-card.bento-wide .card-art {
    aspect-ratio: 2.1;
    min-height: 360px;
  }
  .bento-grid > .feed-card.bento-wide .card-copy h2 {
    font-size: 36px;
    max-width: 800px;
  }
  .bento-grid .feed-card[data-layout="list"] {
    min-height: 440px;
  }
  .bento-grid .card-app-list .app-card {
    padding: 16px;
    gap: 16px;
  }
  .bento-grid .card-app-list .app-card img {
    width: 64px;
    height: 64px;
  }
  .bento-grid .card-app-list .app-info h3 {
    font-size: 18px;
  }
  .bento-grid .card-app-list .app-info p {
    font-size: 14px;
  }
  .bento-grid .card-app-list .get-app {
    font-size: 14px;
    padding: 10px 18px;
  }
}
.article-modal .article-summary {
  color: var(--muted);
}
.category-card {
  aspect-ratio: 2.6;
  align-items: flex-start;
}
.category-illustrated img {
  object-position: right;
}
.category-card.category-illustrated:after {
  background: linear-gradient(
    135deg,
    var(--category-a) 10%,
    var(--category-b) 150%
  );
}
.category-illustrated.category-0 {
  --category-a: #00a1ff;
  --category-b: #00ff8f73;
}
.category-illustrated.category-1 {
  --category-a: #fbb040;
  --category-b: #f9ed3273;
}
.category-illustrated.category-2 {
  --category-a: #ff00d4;
  --category-b: #00ddff73;
}
.category-illustrated.category-3 {
  --category-a: #2d388a;
  --category-b: #ef00d273;
}
.category-illustrated.category-4 {
  --category-a: #1bb744;
  --category-b: #5cef008c;
}
.category-illustrated.category-5 {
  --category-a: #ff0505;
  --category-b: #ff00e01f;
}
.category-illustrated.category-6 {
  --category-a: #05d1ff;
  --category-b: #1ed32c57;
}
.category-illustrated.category-7 {
  --category-a: #ff6a00;
  --category-b: #22bf6f1f;
}
@media (max-width: 599px) {
  .category-card {
    aspect-ratio: 1.9;
  }
}
/* Navegação, identidade e grade responsiva. */
.nav-login {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
}
.recent-stories {
  margin: 28px 0 38px;
}
.teacher-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.teacher-wordmark .brand-glyph {
  width: 46px;
  height: 46px;
  color: #2089e8;
}
.teacher-wordmark > span {
  color: var(--ink);
}
.appearance-segments {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  background: var(--page);
  border-radius: 999px;
  white-space: nowrap;
}
.appearance-segments button {
  font: inherit;
  font-size: 13px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  padding: 9px 12px;
  cursor: pointer;
}
.appearance-segments button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 6px #0001;
}
.appearance-segments button:focus-visible {
  outline: 2px solid #2089e8;
  outline-offset: 2px;
}
.footer-main nav a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-main .brand-glyph {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  color: var(--muted);
}
.footer-evolution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 30px;
  font-size: 11px;
  color: var(--muted);
}
.footer-evolution img {
  width: 132px;
  height: auto;
  filter: none;
}
html[data-theme="dark"] .footer-evolution img {
  filter: none;
}
.footer-brands .teacher-credential {
  display: block;
  width: 160px;
  height: auto;
  margin-top: 24px;
}
.archive-section {
  scroll-margin-top: 100px;
}
@media (min-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bento-grid > .feed-card[data-bento-span="1"] {
    grid-column: span 1;
  }
  .bento-grid > .feed-card[data-bento-span="2"] {
    grid-column: span 2;
  }
  .bento-grid > .feed-card[data-bento-span="3"] {
    grid-column: span 3;
  }
  .bento-grid
    > .feed-card[data-bento-span="3"]:not([data-layout="list"])
    .card-art {
    aspect-ratio: 2.4;
    min-height: 360px;
  }
  .bento-grid
    > .feed-card[data-bento-span="2"]:not([data-layout="list"])
    .card-art {
    aspect-ratio: 1.5;
    min-height: 400px;
  }
  .bento-grid .card-app-list .app-card {
    padding: 12px 8px;
    gap: 10px;
  }
  .bento-grid .card-app-list .app-card img {
    width: 46px;
    height: 46px;
  }
  .bento-grid .card-app-list .app-info h3 {
    font-size: 16px;
  }
  .bento-grid .card-app-list .app-info p {
    font-size: 12px;
  }
  .bento-grid .card-app-list .get-app {
    font-size: 12px;
    padding: 9px 12px;
  }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-grid > .feed-card[data-bento-span="3"],
  .bento-grid > .feed-card[data-layout="list"] {
    grid-column: span 2;
  }
  .bento-grid
    > .feed-card[data-bento-span="3"]:not([data-layout="list"])
    .card-art {
    aspect-ratio: 1.9;
    min-height: 340px;
  }
}
@media (max-width: 599px) {
  .site-header nav {
    gap: 10px;
    font-size: 10px;
  }
  .site-header .nav-login {
    padding: 7px 10px;
  }
  .site-header .wordmark img {
    width: 88px;
  }
  .teacher-wordmark .brand-glyph {
    width: 36px;
    height: 36px;
  }
  .bento-grid > .feed-card {
    grid-column: auto;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-appearance {
    grid-column: auto;
    justify-content: flex-start;
  }
}
/* Gradiente estático nos cards evita recompor dezenas de filtros ao rolar. */
.home-page .feed-card .cover-blur {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.teacher-credential {
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .teacher-credential {
  mix-blend-mode: screen;
}
