:root {
  color-scheme: light;
  --bg: #faf9f6;
  --ink: #292626;
  --muted: #706968;
  --line: #e2dad5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Atkinson Hyperlegible", sans-serif;
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid #bd302a; outline-offset: 5px; }
.paper-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: #f4f1e9;
  border-bottom: 1px solid var(--line);
  padding: 70px max(32px, calc((100vw - 1120px)/2)) 65px;
}
.paper-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.spotlight {
  position: absolute;
  left: 200px;
  top: 85px;
  width: 560px;
  height: 270px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255,247,132,.9) 0%, rgba(255,246,140,.75) 30%, rgba(255,245,149,.46) 49%, rgba(255,246,166,.16) 65%, transparent 78%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.conference {
  width: min(100%, 350px);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
  color: #34302b;
  white-space: nowrap;
  margin: 0 0 22px;
}
.spotlight-word { font-weight: inherit; color: inherit; text-decoration: none; }
.centered-logo { width: min(100%, 350px); margin: 0 0 28px; }
.title-logo { display: block; width: 100%; height: auto; }
h1 {
  max-width: 900px;
  margin: 0 0 30px;
  font-size: clamp(30px, 4vw, 49px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-align: center;
}
.authors {
  display: flex;
  justify-content: center;
  gap: 16px 27px;
  flex-wrap: wrap;
  font-size: 15px;
  color: #766e6b;
  margin: 0 0 35px;
}
.authors strong { font-weight: 700; color: #292727; }
/* The font has regular/bold faces; small strokes give the middle authors subtle intermediate emphasis. */
.authors .middle-author {
  display: inline-block;
  transform: scaleX(.94);
  transform-origin: center;
  letter-spacing: -.015em;
  font-weight: 400;
  color: #615c5b;
  -webkit-text-stroke: .06px currentColor;
}
.authors .medium { color: #494545; -webkit-text-stroke: .16px currentColor; }
.actions { display: flex; justify-content: center; align-items: center; gap: 9px; flex-wrap: wrap; }
.paper-link, .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.5;
  transition: background .15s, color .15s;
}
.paper-link { background: #292727; color: #fffaf3; }
.paper-link:hover { background: #60312f; color: #fffaf3; }
.secondary-link { background: transparent; color: #403838; }
.secondary-link:hover { background: #b9322c12; color: #96332e; }
.content { max-width: 1184px; margin: auto; padding: 0 32px; }
/* Preserve the demo's right-floated figures and wrapping text. */
.explanation { max-width: 900px; margin: 0 auto; padding: 36px 42px 20px; font-size: .9rem; line-height: 1.8; color: #3a3a3a; }
.explanation p { margin: 0 0 1.1rem; hyphens: auto; -webkit-hyphens: auto; text-align: justify; }
.explanation strong, .explanation em { color: #1a1a1a; }
.explanation em { font-style: italic; }
.explanation-row { margin-bottom: .8rem; display: flow-root; }
.explanation-image { display: block; clear: right; border-radius: 6px; margin: .2rem 0 1rem 1.8rem; float: right; max-width: min(55%, 420px); height: auto; border: 1px solid rgba(0,0,0,.1); }
.architecture-image { max-width: min(48%, 360px); }
.citation { padding: 48px 0 35px; }
.citation summary { cursor: pointer; font-size: 15px; list-style-position: outside; margin-left: 18px; }
.citation-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 12px; }
.citation-top a { font-size: 12px; color: var(--muted); }
button { font-family: inherit; font-size: 12px; border: 1px solid #ccc3bd; background: transparent; border-radius: 4px; padding: 7px 13px; cursor: pointer; color: #383434; transition: color .15s, border-color .15s; }
button:hover { color: #b9322c; border-color: #b9322c; }
pre { overflow: auto; border: 1px solid var(--line); background: #f3f0e9; padding: 22px; font: 12px/1.8 ui-monospace, monospace; border-radius: 5px; margin: 0; }
#copy-status { font-size: 12px; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 11px; color: var(--muted); display: flex; gap: 25px; }
footer a { text-decoration: none; }
@media(max-width: 700px) {
  .paper-card { padding: 40px 24px; }
  .conference { width: min(100%, 290px); font-size: 23px; }
  .centered-logo { width: min(100%, 290px); }
  h1 { font-size: 32px; }
  .authors { font-size: 13px; gap: 12px 20px; }
  .content { padding: 0 24px; }
  .spotlight { width: 420px; height: 230px; }
  .actions { gap: 5px; }
  .paper-link, .secondary-link { padding: 9px 16px; }
  pre { font-size: 10px; }
}
@media(max-width: 600px) {
  .explanation { padding: 25px 0 12px; }
  .explanation-image { float: none; width: 100%; max-width: 100%; margin: .8rem 0; }
}
@media(prefers-reduced-motion: reduce) {
  .paper-link, .secondary-link, button { transition: none; }
}
