/* Editorial pages share the landing page's type, palette and cut corners. */
.notes-header .site-nav { display: flex; }
.notes-header .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.notes-intro { padding: 64px 0 44px; }
.notes-intro h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; }
.notes-intro p { max-width: 660px; margin-top: 24px; font-size: 21px; line-height: 1.6; }
.note-line { display: block; text-wrap: pretty; }
.note-line + .note-line { margin-top: 6px; }
.note-keep { display: inline-block; max-inline-size: 100%; }
.notes-topics { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.notes-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0 64px; border-top: 1px solid var(--ink); }
.note-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.notes-feature h2 { margin-top: 24px; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.35; letter-spacing: -0.035em; }
.notes-feature h2 a { text-decoration: none; text-underline-offset: 6px; }
.notes-feature h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.notes-feature p { margin-top: 20px; font-size: 17px; }
.note-read { display: inline-block; margin-top: 28px; font-weight: 600; text-underline-offset: 5px; }
.note-preview { margin: 0; min-width: 0; }
.note-preview picture { display: block; background: var(--bg-soft); padding: 24px 0 0 24px; clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px); }
.note-preview img { width: 100%; }
.note-preview figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.notes-about { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 32px 0 64px; border-top: 1px solid var(--line); }
.notes-about h2 { font-size: 20px; }
.notes-about p { max-width: 660px; }
.notes-about a { display: block; width: fit-content; margin-top: 10px; text-underline-offset: 4px; }
.note-breadcrumb { padding-top: 32px; font-size: 14px; color: var(--muted); }
.note-breadcrumb a { text-underline-offset: 4px; }
.note-heading { max-width: 940px; padding: 48px 0; }
.note-heading h1 { margin-top: 22px; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.25; letter-spacing: -0.045em; text-wrap: balance; }
.note-heading .note-lead { max-width: 680px; margin-top: 28px; font-size: 22px; line-height: 1.65; }
.note-lead .note-line { text-wrap: balance; }
.note-layout { display: grid; grid-template-columns: 192px minmax(0, 680px); gap: 48px; align-items: start; padding: 36px 0 80px; border-top: 1px solid var(--line-strong); }
.note-toc { position: sticky; top: 100px; font-size: 14px; }
.note-toc p { color: var(--ink); font-weight: 600; }
.note-toc ol { padding-left: 20px; margin: 16px 0 0; }
.note-toc li + li { margin-top: 12px; }
.note-toc a { text-decoration: none; }
.note-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.note-body { min-width: 0; font-size: 18px; line-height: 1.85; }
.note-body section + section { margin-top: 56px; }
.note-body h2 { margin-bottom: 24px; font-size: 29px; line-height: 1.4; letter-spacing: -0.025em; }
.note-body p + p { margin-top: 20px; }
.note-body a { text-underline-offset: 4px; }
.note-body strong { color: var(--ink); font-weight: 600; }
.note-rules { margin: 28px 0; padding: 28px 32px 28px 52px; background: var(--bg-soft); }
.note-rules li { padding-left: 4px; }
.note-rules li + li { margin-top: 18px; }
.note-rules strong { display: block; }
.note-figure { margin: 32px 0; }
.note-figure img { width: 100%; border: 1px solid var(--line); }
.note-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.note-example { padding: 28px; margin: 28px 0; border-left: 3px solid var(--red); background: var(--bg-soft); font-size: 16px; }
.note-example h3 { margin-bottom: 18px; font-size: 18px; }
.note-example dl { margin: 0; }
.note-example dt { margin-top: 16px; color: var(--ink); font-weight: 600; }
.note-example dd { margin: 4px 0 0; }
.note-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.note-cta h2 { font-size: 25px; }
.note-cta .btn { margin-top: 24px; }
.note-byline { margin-top: 40px; color: var(--muted); font-size: 14px; }
.note-back { display: inline-block; margin-top: 24px; font-size: 15px; }
@media (width < 960px) {
  .note-layout { grid-template-columns: minmax(0, 680px); gap: 28px; }
  .note-toc { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .note-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .note-toc li + li { margin-top: 0; }
}
@media (width < 380px) {
  .note-toc ol { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 767px) {
  .notes-header .site-nav { margin-left: 0; }
  .notes-header .site-nav a { padding: 8px 4px; font-size: 14px; }
  .notes-header .site-nav a:first-child, .notes-header .btn-ghost { display: none; }
  .notes-header .container { gap: 12px; }
  .notes-header .brand img { width: 108px; height: auto; }
  .notes-header .header-actions .btn { padding: 0 12px; }
  .notes-intro { padding: 40px 0 32px; }
  .notes-intro p { font-size: 18px; }
  .notes-feature, .notes-about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .notes-feature { padding-top: 28px; padding-bottom: 40px; }
  .notes-about { padding-bottom: 40px; gap: 16px; }
  .note-heading { padding: 32px 0; }
  .note-heading .note-lead { font-size: 19px; margin-top: 22px; }
  .note-layout { padding-top: 24px; padding-bottom: 48px; }
  .note-body { font-size: 17px; }
  .note-body h2 { font-size: 25px; }
  .note-rules { padding: 24px 20px 24px 40px; }
  .note-example { padding: 22px; }
}
@media print {
  .site-header, .site-footer, .note-toc, .note-cta, .note-back, .note-breadcrumb { display: none; }
  .note-layout { display: block; padding: 20px 0; }
  .note-heading { padding: 20px 0; }
  .note-body { font-size: 12pt; }
  .note-body h2 { break-after: avoid; }
  .note-figure, .note-example { break-inside: avoid; }
}

.note-figure video { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #111; }
.note-cta-terms { color: var(--muted); font-size: 14px; line-height: 1.7; }
.note-next-brief { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.note-next-brief ol { padding-left: 24px; }

.notes-feature h2, .note-body h2 { text-wrap: balance; }
.notes-intro p, .notes-feature p, .note-lead, .note-body p { text-wrap: pretty; }
