:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --white: #fffdfa;
  --ink: #352730;
  --muted: #71616b;
  --plum: #642b50;
  --line: #e9dfe2;
  --blush: #f2e3e6;
  --sage: #e8eee5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--plum); text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--plum); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.55rem, 5.3vw, 4.7rem); font-weight: 550; letter-spacing: -.055em; max-width: 15ch; }
h1 em, h2 em { color: var(--plum); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 550; letter-spacing: -.035em; margin-bottom: 20px; }
h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 12px; }
p + p { margin-top: 15px; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--white); padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.site-header, .page-width { max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.4; }
.brand img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.header-nav { display: flex; gap: 24px; align-items: center; font-size: 13px; font-weight: 600; }
.header-nav a { text-decoration: none; }
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-block: 25px; font-size: 12px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.article-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; padding: 25px 0 56px; align-items: center; }
.eyebrow { color: var(--plum); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.hero-copy { margin-top: 24px; color: var(--muted); font-size: 17px; max-width: 54ch; }
.byline { margin-top: 19px; color: var(--muted); font-size: 12px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 110px 110px 12px 12px; }
.hero-art figcaption { color: var(--muted); font-size: 11px; margin-top: 10px; }
.image-note { position: absolute; bottom: 56px; left: -22px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 14px 19px; color: var(--plum); box-shadow: 0 10px 30px #3527300d; font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 22px; border-radius: 7px; background: var(--plum); color: white; text-decoration: none; font-weight: 650; font-size: 14px; line-height: 1.4; }
.button:hover { background: #42213b; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 26px; font-size: 14px; }
.disclosure { background: var(--sage); border-radius: 9px; padding: 22px 25px; font-size: 13px; margin-bottom: 40px; }
.article-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 52px; padding-bottom: 55px; align-items: start; }
.contents { position: sticky; top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.contents h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 13px; }
.contents ol { padding: 0; margin: 0; list-style: none; }
.contents a { font-size: 13px; text-decoration: none; display: block; padding: 8px 0; }
.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 24px; margin-bottom: 52px; }
.article-body section:last-child { margin-bottom: 0; }
.article-body > section > p, .article-body li { max-width: 75ch; }
.article-body ul, .article-body ol { padding-left: 23px; margin: 18px 0; }
.article-body li + li { margin-top: 10px; }
.lead-answer { font-size: 18px; }
.criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 23px; }
.criterion { background: var(--white); padding: 22px; border: 1px solid var(--line); border-radius: 8px; }
.criterion p { color: var(--muted); font-size: 14px; }
.table-scroll { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { text-align: left; font-weight: 600; padding: 16px 18px; background: var(--blush); }
th, td { text-align: left; padding: 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: #f5efec; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
tbody th { min-width: 135px; width: 20%; font-weight: 650; }
td { min-width: 215px; }
tr:last-child > * { border-bottom: 0; }
td a { font-size: 12px; display: inline-block; margin-top: 9px; }
.table-note, .small-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.callout { background: var(--blush); border-radius: 9px; padding: 24px; margin-top: 24px; }
.callout p { font-size: 14px; }
.feature-list { list-style: none; padding: 0 !important; }
.feature-list li { padding-left: 25px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--plum); font-weight: 700; }
.steps { list-style: none; padding: 0 !important; margin: 0 !important; counter-reset: step; }
.steps > li { counter-increment: step; margin: 0 0 28px !important; padding: 0 0 28px 53px; border-bottom: 1px solid var(--line); position: relative; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -3px; color: var(--plum); background: var(--blush); border-radius: 50%; width: 35px; height: 35px; display: grid; place-items: center; font-size: 12px; font-weight: 650; }
.steps > li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps p { font-size: 15px; }
.sample-pair { display: grid; grid-template-columns: 1fr 150px; gap: 24px; align-items: center; margin: 24px 0; padding: 24px; background: var(--sage); border-radius: 10px; }
.sample-pair img { border-radius: 7px; width: 100%; }
.sample-pair .portrait img { aspect-ratio: 9/16; object-fit: cover; }
.sample-pair figcaption { font-size: 11px; margin-top: 9px; }
.code-sample { background: #42213b; color: #fffdfa; border-radius: 8px; padding: 20px; font-size: 13px; overflow: auto; line-height: 1.65; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { font-size: 14px; margin-top: 14px; }
.next-read { background: #42213b; color: var(--paper); padding: 34px; border-radius: 12px; }
.next-read h2 { font-size: 1.7rem; }
.next-read p { color: #e6d8df; font-size: 15px; }
.next-read a { color: white; }
.next-read .button { background: var(--paper); color: var(--plum); }
.related-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .article-hero { gap: 28px; }
  .article-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 30px; }
  .criteria-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header, .page-width { padding-inline: 22px; }
  .site-header { gap: 12px; padding-block: 18px; }
  .brand { font-size: 12px; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand small { font-size: 9px; }
  .header-nav { gap: 12px; font-size: 12px; }
  .header-nav .optional-link { display: none; }
  .article-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; padding-bottom: 32px; }
  h1 { max-width: 18ch; }
  .hero-art img { aspect-ratio: 16/10; border-radius: 70px 70px 10px 10px; }
  .image-note { left: 12px; bottom: 47px; padding: 10px 14px; font-size: 12px; }
  .hero-copy { font-size: 16px; }
  .article-layout { display: block; }
  .contents { position: static; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
  .contents ol { display: flex; flex-wrap: wrap; gap: 3px 18px; }
  .contents a { font-size: 12px; }
  .disclosure { padding: 18px; margin-bottom: 28px; }
  .article-body section { margin-bottom: 38px; }
  .sample-pair { grid-template-columns: 1fr 95px; gap: 14px; padding: 16px; }
  .steps > li { padding-left: 47px; }
  .next-read { padding: 24px; }
  .site-footer { flex-direction: column; gap: 15px; }
  th, td { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print {
  .contents, .header-nav, .hero-actions, .next-read, .skip-link { display: none; }
  .page-width { max-width: none; padding: 0; }
  .article-layout { display: block; }
  .hero-art { display: none; }
  .article-hero { display: block; }
  .table-scroll { overflow: visible; }
  th, td { min-width: 0; }
  body { background: white; }
}
