@font-face {
  font-family: Inter;
  font-weight: 400;
  src: url("/reading-list/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Inter;
  font-weight: 600 800;
  src: url("/reading-list/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fcfcf8;
  --ink: #142c2a;
  --secondary: #425855;
  --link: #126253;
  --line: #ced9d1;
  --panel: #f1f5ee;
  font: 16px/1.58 Inter, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-padding-top: 1.25rem;
}
* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #ce741f; outline-offset: 3px; }
img, video, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.skip { position: absolute; top: -8rem; left: .75rem; background: white; padding: 1rem; z-index: 2; }
.skip:focus { top: .5rem; }
.frame { max-width: 1272px; margin: auto; padding-inline: clamp(20px, 5vw, 76px); }
.site-head { border-bottom: 1px solid var(--line); }
.site-head .frame, .brand, .head-nav, .actions { display: flex; align-items: center; }
.site-head .frame { min-height: 70px; justify-content: space-between; gap: 18px; }
.brand { gap: 9px; color: var(--ink); font-weight: 700; letter-spacing: -.035em; }
.brand img { width: 29px; height: 29px; }
.head-nav { gap: clamp(12px, 2.5vw, 32px); font-size: .88rem; }
.head-nav a, .brand { text-decoration: none; }
.head-nav a:hover, .brand:hover { text-decoration: underline; }
.hero { padding-block: clamp(40px, 5.4vw, 82px) clamp(36px, 4.8vw, 65px); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); gap: clamp(28px,3.5vw,56px); align-items: center; }
h1,h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; text-wrap: balance; letter-spacing: -.043em; line-height: 1.09; }
h1 { font-size: clamp(3rem,5.2vw,5.05rem); margin: 0 0 .26em; }
.dek { font-size: clamp(1.12rem,1.55vw,1.4rem); line-height: 1.44; margin: 0 0 1.15rem; }
.byline { font-size: .92rem; color: var(--secondary); }
.actions { flex-wrap: wrap; gap: 13px 20px; margin-top: 1.5rem; font-size: .92rem; }
.primary, .paw-demo button:not([data-role=copy]) { display: inline-block; background: var(--link); color: white; padding: .67rem 1rem; font-weight: 600; text-decoration: none; border: 0; border-radius: .42rem; }
.primary:hover, .paw-demo button:hover:not(:disabled) { background: #104d45; color: white; }
.hero picture img, .concept img { width: 100%; }
.article-layout { display: grid; grid-template-columns: minmax(166px,205px) minmax(0,780px); gap: clamp(35px,6vw,96px); padding-block: 3rem 4rem; justify-content: center; align-items: start; }
.toc { position: sticky; top: 1.8rem; font-size: .85rem; }
.toc strong { display: block; font-size: .91rem; margin-bottom: .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: .38rem .75rem; color: var(--secondary); text-decoration: none; }
.toc li a:hover, .toc li a[aria-current] { color: var(--link); background: var(--panel); box-shadow: -2px 0 var(--link); }
article { min-width: 0; }
article section + section { border-top: 1px solid var(--line); padding-top: 2.4rem; margin-top: 2.8rem; }
article h2 { font-size: clamp(1.95rem,3.1vw,2.75rem); margin: 0 0 .6em; }
article h3 { font-size: 1.21rem; line-height: 1.33; margin: 1.65rem 0 .5rem; letter-spacing: -.028em; }
article p, article li { max-width: 70ch; }
article p, article ul, article ol { margin: .8rem 0; }
article li + li { margin-top: .35rem; }
article ul, article ol { padding-left: 1.5em; }
article pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #173d35; border-radius: .45rem; padding: .9rem 1rem; background: #edf3ed; line-height: 1.52; }
code { font-family: ui-monospace,'SFMono-Regular',Consolas,monospace; font-size: .91em; }
figure.concept, figure.recording, .app-gallery { margin: 1.5rem 0; }
figcaption { font-size: .88rem; color: var(--secondary); margin-top: .55rem; }
.recording video { width: 100%; border: 1px solid var(--line); border-radius: .6rem; background: #f0f3ed; }
.app-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.app-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 5px; }
.app-gallery a { font-weight: 600; }
table { border-collapse: collapse; font-size: .92em; width: 100%; margin: 1rem 0; }
th, td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
th { background: var(--panel); }
details:open { margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 600; }
.paw-demo { border: 1px solid #b7cbc0; border-radius: .8rem; background: white; padding: clamp(16px, 2.5vw, 30px); margin: 1.4rem 0; }
.paw-demo fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.paw-demo legend { font: 600 1.4rem/1.2 Inter, sans-serif; letter-spacing: -.03em; }
.paw-demo label { display: block; }
.paw-demo label, .paw-demo dt { font-size: .88rem; font-weight: 600; }
.paw-demo select, .paw-demo textarea { display: block; width: 100%; color: var(--ink); margin: .35rem 0 1rem; padding: .68rem .75rem; border: 1px solid #a4b7aa; border-radius: .4rem; background: #fafcf8; font-size: .94rem; line-height: 1.48; }
.paw-demo textarea { resize: vertical; min-height: 54px; }
.spec-editor label:first-of-type { margin-top: .9rem; }
.program-runner { border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 1.4rem; }
.demo-program dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: .7rem; }
.demo-program dt { color: var(--secondary); }
.demo-program dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.paw-demo button { font-size: .89rem; }
.paw-demo button:disabled { opacity: .58; cursor: wait; }
.paw-demo [data-role=copy] { background: white; border: 1px solid var(--line); padding: .3rem .65rem; border-radius: 4px; }
.paw-demo [role=status]:empty { display: none; }
.paw-demo [role=status] { color: var(--secondary); }
.page-end { border-top: 1px solid var(--line); padding: 1.6rem 0; font-size: .88rem; }
.page-end .frame { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; align-items: center; }
@media(max-width:920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-copy { max-width: 680px; }
  .hero picture { max-width: 720px; width: 100%; }
  .article-layout { grid-template-columns: minmax(0,760px); gap: 2rem; padding-top: 1.6rem; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: .25rem 1rem; border-left: 0; }
  .toc li a { padding: 0; text-decoration: underline; }
  .toc li a[aria-current] { box-shadow: none; background: transparent; }
}
@media(max-width:600px) {
  .head-nav { font-size: .79rem; }
  .head-nav .hub-nav { display: none; }
  .hero picture { max-width: 430px; margin-inline: auto; }
  .app-gallery { grid-template-columns: 1fr; gap: 1.1rem; }
  .app-gallery img { max-height: 240px; }
  .demo-program dl { grid-template-columns: 1fr; gap: .5rem; }
  .brand { font-size: .89rem; }
  .site-head .frame { min-height: 54px; }
}
.hero-figure figcaption { text-align: center; font-weight: 600; }
.example-results { max-width: 100%; overflow-x: auto; }
.example-results caption { text-align: left; padding-bottom: .6rem; font-weight: 600; }
.example-results tbody th { width: 32%; background: transparent; font-weight: 400; }
@media (max-width: 600px) {
  .example-results { font-size: .85rem; }
  .example-results th,.example-results td { padding: .4rem; }
}
.tutorial { max-width: 860px; padding-block: 2.5rem 4rem; }
.tutorial h1 { margin-top: .6em; font-size: clamp(2.5rem,5vw,4.1rem); }
.tutorial article { margin-top: 2.5rem; }
@media (min-width: 921px) and (max-width: 1149px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.7rem; }
  .hero-copy { max-width: 750px; }
  .hero-figure { width: min(100%,830px); }
}
