body.site-page #inside-the-app .inside-library {
  padding: 24px;
}

body.site-page .inside-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.site-page .inside-library-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #2E42321A;
  border-radius: 18px;
  color: #2E4232;
  background: #CEDCC4;
}

body.site-page .inside-library-card[data-library="quotes"] {
  background: #E8B79A;
  color: #79361F;
}

body.site-page .inside-library-card[data-library="facts"] {
  background: #EDE6DA;
}

body.site-page .inside-library-card[data-library="brain"] {
  background: #C7D9E8;
  color: #284A63;
}

body.site-page .inside-library-count {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

body.site-page .inside-library-card :is(h3,h4) {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.02em;
}

body.site-page .inside-library-card p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
  color: #1B211C;
}

body.site-page .inside-library-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

body.site-page .inside-library-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  color: #2E4232;
}

body.site-page .inside-library-sample {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  border-top-color: #2E423233;
}

body.site-page .inside-library-sample :is(h4,h5) { margin: 0; font-size: 17px; line-height: 1.4; }
body.site-page .inside-library-sample blockquote { margin: 0; }
body.site-page .inside-library-sample blockquote p { margin-top: 0; font-size: 18px; }
body.site-page .inside-library-sample cite,
body.site-page .inside-library-sample .inside-source { display: block; margin-top: 12px; font-size: 12px; font-style: normal; line-height: 1.6; color: inherit; }
body.site-page .inside-library-sample .inside-meaning { font-size: 14px; }
body.site-page .inside-library-sample a { text-decoration: underline; text-underline-offset: 3px; }
body.site-page .inside-example-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 14px; gap: 8px; }

body.site-page #supported-apps .feeds-section { display: block; padding: 24px; }
body.site-page #supported-apps .feeds-copy :is(h2,h4) { margin-top: 12px; font-size: 30px; }
body.site-page #supported-apps .feeds-copy > p:not(.eyebrow) { max-width: 68ch; margin-top: 12px; font-size: 16px; line-height: 1.65; }
body.site-page .supported-feed-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; }
body.site-page .supported-feed-list a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; align-items: center; height: 100%; min-height: 88px; padding: 16px 12px; border: 1px solid #2E423233; border-radius: 14px; background: #F7F2E9; transition: background-color .2s; }
body.site-page .supported-feed-list a:hover { background: #CEDCC4; }
body.site-page .supported-feed-list img[src="/brands/x.svg"] { padding: 5px; border-radius: 5px; background: #141A16; }
body.site-page .supported-feed-name { font-size: 15px; font-weight: 600; }
body.site-page .supported-feed-part { grid-column: 2; font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
body.site-page .supported-feed-note { margin-top: 20px; max-width: 74ch; color: #465447; font-size: 14px; }

body.site-page .maker-note { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; padding-block: 28px; border-top: 1px solid #2E423233; }
body.site-page .maker-note h2 { margin-top: 12px; font-size: 30px; line-height: 1.3; }
body.site-page .maker-note > p { max-width: 64ch; font-size: 17px; color: #465447; }
body.site-page .maker-story-link { display: block; width: fit-content; margin-top: 12px; min-height: 44px; font-size: 15px; line-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
body.site-page .page-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; }

@media (min-width: 981px) {
  body.site-page .product-feature-grid { grid-template-columns: 1.15fr .925fr .925fr; }
}

@media (max-width: 760px) {
  body.site-page .maker-note { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.site-page .page-cta-actions { justify-content: flex-start; }
}

@media (max-width: 1100px) {
  body.site-page .inside-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.site-page #inside-the-app .inside-library {
    padding: 18px;
  }

  body.site-page #supported-apps .feeds-section { padding: 18px; }

  body.site-page .inside-library-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.site-page .inside-library-card {
    padding: 22px;
  }

  body.site-page .inside-library-actions {
    justify-content: flex-start;
  }
}
