@font-face {
  font-family: Lato;
  src: url("assets/fonts/Lato-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Lato;
  src: url("assets/fonts/Lato-Bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}
:root {
  --ink: #0b1631;
  --blue: #315ba6;
  --muted: #526078;
  --line: #a3b4cc;
  --pale: #f3f6fb;
  --gold: #c9972b;
  --coral: #cc5740;
  --teal: #218f94;
  --prove: #4e70b1;
  --purple: #7e508d;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Lato, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.wrap {
  width: min(1210px, calc(100% - 80px));
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0 22px;
}
.brand {
  font: 700 62px/0.95 var(--serif);
  letter-spacing: -3px;
  color: #2e5393;
}
.brand:hover {
  text-decoration: none;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header nav a {
  color: var(--ink);
  font-size: 16px;
}
.header nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.button,
.header .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: 13px 27px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.button:hover {
  background: #244983;
  text-decoration: none;
}
.button.secondary {
  background: white;
  color: var(--blue);
}
.arrow {
  font-size: 25px;
  line-height: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 24px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.07;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 6.3vw, 84px);
}
h2 {
  font-size: clamp(36px, 4.6vw, 60px);
}
h3 {
  font-size: 30px;
  letter-spacing: -0.7px;
}
h4 {
  font-size: 22px;
  letter-spacing: -0.4px;
}
p {
  margin: 0 0 20px;
}
.lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 43% 57%;
  padding: 64px 0 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(52px, 6.7vw, 89px);
  letter-spacing: -4px;
  line-height: 1.01;
  margin-bottom: 30px;
}
.hero .lede {
  font-size: 21px;
  max-width: 410px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.research-mark {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1.5;
}
.research-mark svg {
  width: 38px;
  height: 38px;
}
.research-mark span {
  padding-left: 0;
}
.hero-art {
  position: relative;
  min-height: 660px;
  isolation: isolate;
}
.hero-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.beam-links {
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: 215px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.beam-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 13px;
  min-height: 96px;
  background: #ffffffed;
  border: 1px solid #acaeac;
  border-radius: 2px;
  color: var(--ink);
  box-shadow: 0 1px 3px #15234005;
}
.beam-link:hover {
  text-decoration: none;
  border-color: var(--beam);
  background: white;
}
.beam-link strong {
  display: block;
  font: 700 26px/1.2 var(--serif);
  letter-spacing: -0.5px;
}
.beam-link small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 4px;
}
.icon-disc {
  background: var(--beam, var(--blue));
  color: white;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section {
  padding: 55px 0 65px;
}
.section .lede {
  max-width: 560px;
  margin-top: 20px;
}
.ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 20px;
  margin-top: -20px;
}
.step {
  border: 1px solid #bcbfc4;
  padding: 22px 24px;
  min-height: 260px;
  position: relative;
}
.step:nth-child(2) {
  min-height: 290px;
}
.step:nth-child(3) {
  min-height: 320px;
}
.step:nth-child(4) {
  min-height: 350px;
}
.step:nth-child(5) {
  min-height: 380px;
}
.step + .step:before {
  content: "›";
  position: absolute;
  left: -17px;
  top: 50%;
  font-size: 28px;
}
.step .number {
  font: 700 27px var(--serif);
  background: var(--beam);
  color: white;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 17px;
}
.step > .icon {
  display: block;
  color: var(--beam);
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 27px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  margin: 10px 0 22px;
}
.step .endline {
  width: 65px;
  height: 3px;
  background: var(--beam);
  position: relative;
}
.endline:before,
.endline:after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: -2px;
  background: var(--beam);
  border-radius: 50%;
}
.endline:after {
  right: 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.split h2 {
  font-size: 44px;
}
.split p {
  color: var(--muted);
  margin-top: 20px;
  font-size: 19px;
}
.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.callout {
  border: 1px solid #d6dde8;
  background: linear-gradient(110deg, #f0f4fb, white);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 36px;
  box-shadow: 0 3px 12px #1d355b08;
}
.callout h2 {
  font-size: 42px;
}
.callout p {
  margin: 14px 0;
  color: var(--muted);
  font-size: 18px;
}
.callout .eyebrow {
  margin: 0 0 8px;
}
.book-cover {
  width: 170px;
  min-height: 220px;
  flex-shrink: 0;
  background: white;
  box-shadow: 5px 8px 18px #23354e20;
  border: 1px solid #e1e4eb;
  padding: 20px;
  font-family: var(--serif);
  transform: rotate(-3deg);
}
.book-cover b {
  font-size: 13px;
  color: var(--blue);
}
.book-cover strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  margin-top: 14px;
}
.book-cover .cover-art {
  height: 64px;
  margin-top: 24px;
  background: linear-gradient(135deg, #a1b8e5 50%, #6085c2 50%);
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.page-intro {
  padding: 48px 0 30px;
}
.page-intro h1 {
  max-width: 1040px;
}
.page-intro .lede {
  max-width: 1070px;
  margin-top: 24px;
}
.design-intro {
  padding-bottom: 54px;
}
.design-intro .lede {
  max-width: 850px;
}
.implementation-section,
.evidence-section {
  padding: 42px 0 58px;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: clamp(38px, 4vw, 54px);
}
.section-heading > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}
.implementation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.implementation-card {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 16px;
  min-height: 205px;
  padding: 24px;
  background: color-mix(in srgb, var(--beam) 8%, #f7f9fc);
  border-radius: 6px;
}
.implementation-card .icon-disc {
  width: 45px;
  height: 45px;
}
.implementation-card .icon {
  width: 24px;
  height: 24px;
}
.implementation-card h3 {
  font-size: 25px;
  margin: 2px 0 10px;
}
.implementation-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.implementation-card a {
  font-size: 14px;
  font-weight: 700;
}
.implementation-card .arrow {
  font-size: 18px;
  margin-left: 7px;
}
.evidence-section {
  padding-top: 58px;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.evidence-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #f6f8fc;
  border-radius: 6px;
}
.evidence-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.evidence-card-top .icon-disc {
  width: 46px;
  height: 46px;
}
.evidence-card-top .icon {
  width: 24px;
  height: 24px;
}
.evidence-card .paper-num {
  font-size: 26px;
}
.evidence-card .paper-meta {
  min-height: 68px;
  margin-bottom: 14px;
}
.evidence-card h3 {
  min-height: 84px;
  font-size: 30px;
  margin-bottom: 16px;
}
.evidence-take {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
  min-height: 72px;
}
.evidence-detail {
  margin-top: 14px;
}
.evidence-detail h4 {
  font:
    700 13px/1.3 Lato,
    Arial,
    sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 7px;
}
.evidence-detail p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.evidence-card > .text-link {
  margin-top: auto;
  padding-top: 8px;
}
.evidence-section .research-note {
  margin: 20px 0 28px;
}
.research-row {
  display: grid;
  grid-template-columns: 42% 58%;
  padding: 40px 0;
}
.paper-heading {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding-right: 30px;
}
.paper-num {
  font: 700 30px var(--serif);
  color: var(--blue);
}
.paper-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.7;
  color: var(--blue);
  margin-bottom: 20px;
}
.paper-heading h2 {
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.paper-details {
  border-left: 1px solid #cad3e0;
  padding-left: 30px;
}
.takeaway {
  display: flex;
  gap: 24px;
  align-items: start;
  margin-bottom: 30px;
}
.takeaway .icon-disc {
  width: 65px;
  height: 65px;
}
.takeaway h3 {
  font-size: 25px;
  margin: 3px 0 6px;
}
.takeaway p,
.finding p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 0;
}
.findings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.finding + .finding {
  border-left: 1px solid #cad3e0;
  padding-left: 25px;
}
.finding h4 {
  margin-bottom: 8px;
}
.research-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.library-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0 27px;
}
.library-intro h1 {
  font-size: 58px;
}
.library-intro .eyebrow {
  margin-bottom: 12px;
}
.library-intro p {
  max-width: 620px;
  color: var(--muted);
  margin: 16px 0 0;
}
.library-count {
  color: var(--blue);
  white-space: nowrap;
  font-size: 14px;
}
.library-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 36px;
  align-items: start;
  padding-bottom: 65px;
}
.filters {
  padding: 22px;
  background: var(--pale);
  border: 1px solid #dee5f0;
  margin-bottom: 20px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #b9c7da;
  padding: 0 14px;
}
.search-wrap .icon {
  width: 22px;
  color: var(--blue);
}
.search-wrap input {
  border: 0;
  min-width: 0;
  flex: 1;
  padding: 12px 0;
  background: transparent;
  outline-offset: 0;
}
.filter-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
}
.field select {
  width: 100%;
  font-size: 14px;
  background: white;
  border: 1px solid #c9d3e2;
  padding: 9px;
  color: var(--ink);
  border-radius: 0;
}
.filter-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.check input {
  accent-color: var(--blue);
}
.reset {
  border: 0;
  padding: 0;
  background: none;
  color: var(--blue);
  text-decoration: underline;
}
.result-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.article-card {
  padding: 25px 0;
  border-bottom: 1px solid #d8e0ec;
}
.article-card h2 {
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.7px;
  margin: 10px 0;
}
.article-card h2 a {
  color: var(--ink);
}
.article-card .citation {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.article-card .summary {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badges,
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid #ccd6e5;
  background: #f3f6fb;
  color: #405570;
  border-radius: 2px;
}
.badge.strong {
  background: #edf6f3;
  color: #256348;
  border-color: #c7ded4;
}
.badge.weak,
.badge.concern {
  background: #fcf5e7;
  color: #85621a;
  border-color: #e7d6b4;
}
.badge.negative,
.badge.unsupported {
  background: #fbefec;
  color: #9a4234;
  border-color: #e9c8be;
}
.tag {
  font-size: 12px;
  background: none;
  border: 0;
  color: var(--blue);
  padding: 0;
}
.tag + .tag:before {
  content: "·";
  margin-right: 7px;
  color: #a0adbf;
}
.card-actions {
  display: flex;
  gap: 22px;
  margin-top: 17px;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}
.ask-paper {
  background: none;
  border: 0;
  color: var(--blue);
  padding: 0;
  font-size: 14px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  background: var(--pale);
  margin-top: 20px;
}
.empty h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.librarian {
  position: sticky;
  top: 20px;
  border: 1px solid #bccde1;
  background: #f7f9fd;
}
.librarian-head {
  padding: 22px 22px 17px;
  border-bottom: 1px solid #d6e0ed;
  display: flex;
  gap: 14px;
  align-items: center;
}
.librarian-head .icon-disc {
  width: 39px;
  height: 39px;
  background: white;
  color: var(--blue);
  border: 1px solid #bccde1;
}
.librarian-head h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
}
.librarian-head small {
  color: var(--muted);
  font-size: 12px;
}
.chat-content {
  padding: 20px;
  max-height: 520px;
  overflow: auto;
}
.chat-content > p {
  font-size: 14px;
  color: var(--muted);
}
.suggestions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.suggestions button {
  background: white;
  border: 1px solid #d1dced;
  padding: 11px 13px;
  text-align: left;
  color: var(--blue);
  font-size: 13px;
}
.suggestions button:hover {
  border-color: var(--blue);
}
.chat-log {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.message {
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.message.user {
  background: #e8eef8;
  padding: 10px 12px;
}
.message .speaker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}
.message .answer {
  white-space: pre-wrap;
}
.message .citations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.message .citations a {
  border: 1px solid #b9c9df;
  background: white;
  padding: 3px 6px;
  font-size: 12px;
}
.recommendation {
  display: block;
  background: white;
  padding: 12px;
  margin-top: 10px;
  border-left: 2px solid var(--blue);
}
.recommendation strong {
  display: block;
  line-height: 1.4;
}
.recommendation small {
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.chat-form {
  padding: 16px 20px;
  border-top: 1px solid #d6e0ed;
}
.chat-form label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 7px;
}
.chat-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 83px;
  max-height: 180px;
  border: 1px solid #b9c7da;
  padding: 10px;
  font-size: 14px;
  background: white;
}
.chat-form .actions {
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.chat-form .button {
  font-size: 13px;
  padding: 8px 16px;
}
.chat-form .reset {
  font-size: 12px;
}
.chat-status {
  font-size: 13px;
  color: #8b432d;
  margin: 8px 0 0;
}
.chat-note {
  font-size: 11px;
  color: var(--muted);
  padding: 0 20px 16px;
  margin: 0;
}
.evidence-guide {
  margin: 22px 0;
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 15px;
}
.reader-top {
  padding-top: 34px;
}
.reader-meta {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.reader-meta .actions {
  margin-top: 18px;
}
.reader {
  max-width: 900px;
  padding-bottom: 60px;
}
.reader h1 {
  font-size: 46px;
  line-height: 1.15;
  margin: 25px 0;
}
.reader h2 {
  font-size: 31px;
  margin: 36px 0 18px;
}
.reader h3 {
  font-size: 24px;
  margin: 24px 0 12px;
}
.reader p,
.reader li {
  color: #34425a;
  font-size: 17px;
}
.reader li {
  margin: 9px 0;
}
.reader table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow: auto;
  font-size: 14px;
  margin: 20px 0;
}
.reader td,
.reader th {
  border: 1px solid #d4dfec;
  padding: 9px;
  text-align: left;
}
.reader blockquote {
  border-left: 3px solid var(--blue);
  margin-left: 0;
  padding-left: 20px;
}
.reader pre {
  overflow: auto;
  background: var(--pale);
  padding: 20px;
}
.reader img {
  max-width: 100%;
}
.reader a {
  overflow-wrap: anywhere;
}
.error-panel {
  padding: 60px 0;
  min-height: 45vh;
}
.footer {
  padding: 24px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}
.footer nav {
  display: flex;
  gap: 22px;
}
.footer-brand {
  font: 700 24px var(--serif);
  color: var(--blue);
}
.hero h1 {
  font-size: clamp(48px, 5.7vw, 78px);
  letter-spacing: -3.4px;
}
.page-intro h1 {
  max-width: none;
  font-size: clamp(48px, 6vw, 80px);
}
.mobile-chat-toggle {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1400px) {
  .hero-art {
    min-height: 710px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header nav {
    gap: 20px;
  }
  .implementation-grid,
  .evidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand {
    font-size: 49px;
  }
  .hero {
    grid-template-columns: 45% 55%;
  }
  .hero h1 {
    letter-spacing: -2.5px;
  }
  .hero-art {
    min-height: 570px;
  }
  .beam-links {
    width: 178px;
  }
  .beam-link {
    padding: 12px 9px;
    gap: 10px;
    min-height: 87px;
  }
  .beam-link strong {
    font-size: 23px;
  }
  .beam-link small {
    font-size: 12px;
  }
  .beam-link .icon-disc {
    width: 39px;
    height: 39px;
  }
  .hero .lede {
    font-size: 18px;
  }
  .ladder {
    gap: 14px;
    margin-top: 25px;
  }
  .step {
    padding: 18px;
  }
  .step + .step:before {
    left: -13px;
  }
  .library-layout {
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 24px;
  }
  .paper-heading {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }
  .paper-heading h2 {
    font-size: 31px;
  }
  .paper-details {
    padding-left: 22px;
  }
  .research-row {
    grid-template-columns: 43% 57%;
  }
  .takeaway {
    gap: 15px;
  }
  .takeaway .icon-disc {
    width: 48px;
    height: 48px;
  }
  .findings {
    gap: 18px;
  }
  .finding + .finding {
    padding-left: 18px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 0;
  }
  .brand {
    font-size: 45px;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .header nav a {
    font-size: 14px;
  }
  .header > .button {
    font-size: 13px;
    padding: 10px 15px;
    gap: 15px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 38px 0 30px;
    gap: 12px;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -3px;
    max-width: 450px;
  }
  .hero .lede {
    font-size: 20px;
    max-width: 100%;
  }
  .hero-art {
    min-height: 570px;
    max-width: 560px;
    width: 100%;
    align-self: center;
  }
  .beam-links {
    width: 190px;
    top: 15px;
    bottom: 15px;
  }
  .beam-link strong {
    font-size: 24px;
  }
  .beam-link small {
    font-size: 13px;
  }
  .section {
    padding: 35px 0 40px;
  }
  .ladder {
    display: flex;
    overflow-x: auto;
    align-items: stretch;
    gap: 15px;
    padding-bottom: 10px;
    margin-top: 25px;
  }
  .step,
  .step:nth-child(n) {
    min-height: 270px;
    min-width: 185px;
    padding: 20px;
  }
  .step + .step:before {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .callout {
    padding: 25px;
    gap: 25px;
  }
  .book-cover {
    display: none;
  }
  .callout h2 {
    font-size: 35px;
  }
  .callout .actions {
    gap: 16px;
  }
  .callout .button {
    padding: 12px 18px;
  }
  .page-intro {
    padding-top: 35px;
  }
  .page-intro h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .page-intro .lede {
    font-size: 20px;
  }
  .design-intro {
    padding-bottom: 30px;
  }
  .implementation-section,
  .evidence-section {
    padding: 30px 0 42px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .implementation-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  .implementation-card {
    min-height: 0;
  }
  .evidence-card .paper-meta,
  .evidence-card h3,
  .evidence-take {
    min-height: 0;
  }
  .research-row {
    display: block;
    padding: 30px 0;
  }
  .paper-heading {
    padding: 0;
    grid-template-columns: 40px 1fr;
    margin-bottom: 25px;
  }
  .paper-heading h2 {
    font-size: 33px;
  }
  .paper-details {
    padding: 0 0 0 52px;
    border: 0;
  }
  .findings {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .finding + .finding {
    padding: 0;
    border: 0;
  }
  .library-intro {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    padding-top: 30px;
  }
  .library-intro h1 {
    font-size: 46px;
  }
  .library-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .library-results {
    width: 100%;
  }
  .librarian {
    position: static;
    width: 100%;
    order: -1;
  }
  .chat-content {
    max-height: 380px;
  }
  .librarian-head {
    padding: 15px 18px;
  }
  .chat-content {
    padding: 15px 18px;
  }
  .suggestions {
    flex-direction: row;
    overflow-x: auto;
  }
  .suggestions button {
    min-width: 170px;
  }
  .chat-form textarea {
    min-height: 65px;
  }
  .chat-note {
    padding-bottom: 12px;
  }
  .filter-row {
    grid-template-columns: 1fr 1fr;
  }
  .field:first-child {
    grid-column: 1/-1;
  }
  .filters {
    padding: 17px;
  }
  .filter-bottom {
    align-items: start;
  }
  .library-count {
    white-space: normal;
  }
  .reader h1 {
    font-size: 36px;
  }
  .reader h2 {
    font-size: 28px;
  }
  .reader ul {
    padding-left: 22px;
  }
  .reader-meta .actions {
    gap: 15px;
  }
  .footer {
    flex-direction: column;
    gap: 15px;
  }
  .footer nav {
    flex-wrap: wrap;
    gap: 15px;
  }
  .lede {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(43px, 12vw, 65px);
    letter-spacing: -2.8px;
  }
  .mobile-chat-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid var(--line);
    background: white;
    color: var(--blue);
    font-size: 13px;
    padding: 6px 10px;
  }
  .librarian.collapsed .chat-content,
  .librarian.collapsed .chat-form,
  .librarian.collapsed .chat-note {
    display: none;
  }
  .librarian.collapsed .librarian-head {
    border-bottom: 0;
  }
  .library-layout {
    gap: 20px;
  }
  .librarian-head h2 {
    font-size: 23px;
  }
}
@media (max-width: 760px) {
  .library-intro h1 {
    font-size: 37px;
    letter-spacing: -1.5px;
  }
  .library-intro p {
    font-size: 15px;
    line-height: 1.5;
  }
  .library-intro .eyebrow {
    font-size: 11px;
    letter-spacing: 1.8px;
  }
  .library-intro {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .librarian-head small {
    font-size: 11px;
  }
  .librarian-head {
    gap: 10px;
  }
  .library-intro .library-count {
    font-size: 13px;
  }
  .reader-meta .actions .button {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* The library is a two-column workspace, including its introductory heading. */
body[data-page="library"] .wrap {
  width: min(1440px, calc(100% - 64px));
}
.library-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  padding-top: 28px;
}
.library-intro {
  display: block;
  padding: 0 0 24px;
}
.library-intro h1 {
  font-size: 48px;
}
.library-intro .library-count {
  display: block;
  margin-top: 14px;
}
.library-intro .eyebrow {
  margin-top: 0;
}
.librarian {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 170px);
}
.librarian-head,
.chat-form,
.chat-note {
  flex-shrink: 0;
}
.librarian .chat-content {
  flex: 1;
  min-height: 0;
  max-height: none;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.inline-citation {
  display: inline;
  padding: 1px 5px;
  border-radius: 3px;
  background: #e7eef9;
  color: #244c8f;
  font-size: 0.85em;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-citation:hover {
  background: #d4e1f5;
}
.article-card .summary {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .library-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
  }
  .library-intro h1 {
    font-size: 40px;
  }
  .library-layout .filter-row {
    grid-template-columns: 1fr 1fr;
  }
  .library-layout .field:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  body[data-page="library"] .wrap {
    width: calc(100% - 36px);
  }
  .library-layout {
    padding-top: 20px;
    gap: 20px;
  }
  .library-intro h1 {
    font-size: 37px;
  }
  .librarian {
    height: min(660px, calc(100dvh - 36px));
  }
  .librarian.collapsed {
    height: auto;
  }
}
@media print {
  .header,
  .footer,
  .divider,
  .reader-meta,
  .reader-top,
  .skip {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .reader {
    max-width: none;
  }
  .reader h1 {
    font-size: 28px;
  }
  .reader p,
  .reader li {
    font-size: 12px;
  }
  a {
    color: inherit;
  }
}
