:root {
  --paper: #fcf2e7;
  --ink: #001710;
  --muted: #46534a;
  --line: rgba(0, 23, 16, .2);
  --sage: #c7d4b1;
  --serif: 'Newsreader', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body.editorial-page { margin: 0; font-family: var(--serif); background: linear-gradient(120deg, #fcf2e7 55%, #eef0dc); min-height: 100vh; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .8rem 1rem; background: var(--ink); color: white; z-index: 10; font-family: var(--sans); }
.skip-link:focus { top: 1rem; }
.preview-notice { margin: 0; padding: .7rem 1.5rem; background: #e4e9d6; color: #233c2d; font: .875rem/1.5 var(--sans); text-align: center; border-bottom: 1px solid var(--line); }
.preview-notice strong { font-weight: 600; }
.shell, .site-header, .site-footer { width: min(100% - 96px, 1120px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 30px; }
.editorial-page .brand { font-size: 1.8rem; font-weight: 600; letter-spacing: -.06em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; font-size: 1.1rem; }
.site-nav [aria-current="page"] { text-decoration-thickness: 2px; }
.site-footer { margin-top: 100px; padding-block: 30px 44px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.site-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 1.05rem; }
.index-layout { padding-block: 82px 100px; display: grid; grid-template-columns: 1fr 1.16fr; gap: clamp(44px, 7vw, 100px); }
.eyebrow, .small-label { font-family: var(--sans); font-size: .875rem; font-weight: 400; line-height: 1.5; letter-spacing: .04em; margin: 0 0 24px; }
.eyebrow { color: var(--muted); }
.index-intro h1 { font-size: clamp(4.5rem, 9vw, 8rem); line-height: .95; font-weight: 500; letter-spacing: -.07em; margin: 0 0 52px; }
.index-deck { font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 22px; }
.index-description { font-size: 1.25rem; line-height: 1.55; max-width: 350px; color: var(--muted); margin: 0; }
.reading-list { padding-top: 9px; }
.reading-list > .small-label { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.article-entry { padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.entry-label { display: block; color: var(--muted); margin: 0 0 16px; font: .875rem/1.5 var(--sans); }
.article-entry h3 { margin: 0 0 18px; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.article-entry h3 a { text-decoration: none; }
.article-entry h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.article-entry p { font-size: 1.2rem; line-height: 1.5; margin: 0 0 24px; color: var(--muted); }
.read-link { font-size: 1.1rem; display: inline-block; padding-block: 4px; }
.empty-state { font-size: 1.25rem; line-height: 1.55; padding-block: 24px; }
.index-product { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--line); padding-block: 26px; font-size: 1.15rem; }
.index-product p { margin: 0; color: var(--muted); }
.reader-shell { width: min(100% - 48px, 760px); margin-inline: auto; }
.breadcrumbs { display: flex; gap: 12px; flex-wrap: wrap; margin: 40px 0 48px; font: .9rem/1.5 var(--sans); color: var(--muted); }
.article-header { padding-bottom: 42px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.article-header h1 { margin: 0 0 28px; font-size: clamp(2.6rem, 5.5vw, 4.8rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; text-wrap: pretty; }
.article-description { margin: 0; max-width: 690px; color: var(--muted); font-size: 1.5rem; line-height: 1.42; }
.sample-label { color: #38503b; font: .875rem/1.5 var(--sans); margin: 0 0 24px; }
.byline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font: .875rem/1.6 var(--sans); margin-top: 24px; }
.article-body { max-width: 680px; margin-inline: auto; font-size: 1.3125rem; line-height: 1.7; overflow-wrap: break-word; }
.article-body p { margin: 0 0 1.35em; }
.article-body .article-intro { font-size: 1.5rem; line-height: 1.55; }
.article-body h2 { font-size: clamp(1.9rem, 3.5vw, 2.4rem); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; margin: 2.2em 0 .7em; scroll-margin-top: 24px; }
.article-body h3 { font-size: 1.6rem; line-height: 1.25; font-weight: 500; margin-top: 1.6em; }
.article-body a, .sources a { overflow-wrap: anywhere; }
.article-body li { margin-bottom: .5em; }
.article-body > blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.4rem; border-left: 2px solid #6d8267; }
.article-body > blockquote p { margin: 0; }
.article-body img { display: block; max-width: 100%; height: auto; margin-block: 1.5rem; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption { color: var(--muted); font-size: 1rem; margin-top: .75rem; }
.article-body table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; }
.article-body th, .article-body td { padding: .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.worked-example { margin: 2.5rem 0; padding: 30px 34px; border-left: 2px solid #6d8267; background: rgba(199, 212, 177, .28); }
.worked-example .small-label { margin-bottom: 18px; }
.worked-example blockquote { margin: 0; }
.worked-example > p:last-child { margin-bottom: 0; font-size: 1.1rem; color: var(--muted); }
.sources { max-width: 680px; margin: 44px auto 0; border-top: 1px solid var(--line); padding-top: 24px; font-size: 1.1rem; line-height: 1.5; }
.sources h2 { font-size: 1.5rem; font-weight: 500; }
.sources li { margin-bottom: 12px; }
.editorial-end { text-align: center; margin: 48px 0; font-size: 1.7rem; color: #526f52; }
.editorial-end span { font-variant-emoji: text; }
.product-invitation { background: #e7ebd9; border: 1px solid var(--line); border-radius: 3px; padding: 32px 36px; margin-top: 52px; }
.product-invitation h2 { margin: 0 0 14px; font-size: 2rem; line-height: 1.12; font-weight: 500; letter-spacing: -.03em; }
.product-invitation p { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.5; color: var(--muted); }
.product-invitation a { font-size: 1.1rem; }
.related { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 48px; }
.related h2 { font-size: 1.8rem; font-weight: 500; }
.related ul { list-style: none; padding: 0; }
.related li { padding: 15px 0; font-size: 1.3rem; }
.reading-exit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; font-size: 1.05rem; }
/* Homepage additions inherit the current landing-page typography and colors. */
.home-editorial { padding: clamp(58px, 9vw, 108px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.home-editorial h2 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; margin: 0 0 24px; }
.home-editorial .editorial-copy { max-width: 420px; font-size: 1.3rem; line-height: 1.45; color: var(--muted); margin: 0 0 28px; }
.home-editorial .article-entry { padding-top: 0; border-bottom: 0; }
.home-editorial .article-entry h3 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
@media (max-width: 760px) {
  .shell, .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { align-items: baseline; padding-block: 24px; }
  .site-nav { gap: 14px; font-size: 1rem; }
  .index-layout { grid-template-columns: 1fr; padding-block: 44px 56px; gap: 54px; }
  .index-intro h1 { margin-bottom: 30px; }
  .index-deck br { display: none; }
  .index-description { max-width: 480px; }
  .index-product { flex-direction: column; gap: 12px; }
  .site-footer { margin-top: 64px; flex-direction: column; gap: 24px; }
  .site-footer nav { gap: 18px; }
  .breadcrumbs { margin: 28px 0 34px; }
  .article-header { padding-bottom: 30px; margin-bottom: 30px; }
  .article-description { font-size: 1.3rem; }
  .article-body { font-size: 1.1875rem; line-height: 1.7; }
  .article-body .article-intro { font-size: 1.3rem; }
  .worked-example { padding: 24px; }
  .product-invitation { padding: 26px; }
  .home-editorial { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 360px) {
  .site-header { flex-direction: column; gap: 16px; }
  .reader-shell { width: calc(100% - 36px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
