.editorial {
  --ink: #13231b;
  --muted: #43594e;
  --green: #146a49;
  --line: #d9e5dd;
  --wash: #eff7f0;
  color: var(--ink);
  background: #fbfcf8;
  font-family: "Figtree", sans-serif;
}
.editorial a { color: var(--green); text-underline-offset: .2em; }
.editorial a:hover { text-decoration-thickness: .14em; }
.editorial a:focus-visible, .editorial-skip:focus-visible { outline: 3px solid #21734f; outline-offset: 4px; }
.editorial a.btn { color: #fff; text-decoration: none; }
.editorial a.btn.ghost { color: var(--ink); }
.editorial-skip { position: fixed; z-index: 500; top: .75rem; left: .75rem; padding: .65rem 1rem; background: white; color: #13231b; transform: translateY(-200%); }
.editorial-skip:focus { transform: none; }
.editorial h1, .editorial h2, .editorial h3 { font-family: "Bricolage Grotesque", sans-serif; line-height: 1.05; letter-spacing: -.045em; }
.editorial h1 { font-size: clamp(2.6rem, 6.4vw, 5.5rem); margin: .55em 0 .25em; text-wrap: balance; }
.editorial h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); margin: 0 0 .45em; }
.editorial h3 { font-size: 1.55rem; margin: 0 0 .55em; }
.editorial p, .editorial li { font-size: 1.07rem; line-height: 1.6; }
.editorial-intro nav { display: flex; flex-wrap: wrap; gap: .4rem .65rem; align-items: center; font-size: .92rem; }
.editorial-lead { color: var(--muted); font-size: clamp(1.13rem, 2.4vw, 1.36rem) !important; max-width: 62ch; }
.editorial-byline { color: var(--muted); margin-top: 1.25rem; font-size: .91rem !important; }
.editorial-article { width: min(48rem, calc(100% - 2.5rem)); margin: auto; padding: clamp(3rem, 8vw, 6rem) 0; }
.editorial-article > section, .editorial-related { margin-top: 2.7rem; }
.editorial-article > section p + p { margin-top: .8rem; }
.editorial-demo, .editorial-example { padding: clamp(1.15rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 1.5rem; background: var(--wash); }
.editorial blockquote { margin: 1rem 0; border-inline-start: 3px solid #70ac88; padding-inline-start: 1rem; font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.5; font-weight: 600; }
.editorial-next .ctas, .editorial-bottom .ctas, .editorial-hero .ctas { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; justify-content: flex-start; }
.editorial .meta { color: var(--muted); font-size: .9rem; }
.editorial-sources ul, .editorial-related ul { padding-inline-start: 1.3rem; }
.editorial-hub { padding: 0 max(1.25rem, calc((100% - 74rem) / 2)); }
.editorial-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: center; padding: clamp(3rem, 9vw, 7.5rem) 0; }
.editorial-demo { background: #173428; color: #f2f7ee; border-color: #173428; }
.editorial-demo ol { padding-inline-start: 1.25rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3.5rem; scroll-margin-top: 6rem; }
.editorial-grid h2 { grid-column: 1 / -1; }
.editorial-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; }
.editorial-grid article p { margin-bottom: .9rem; color: var(--muted); }
.editorial-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-bottom { border-top: 1px solid var(--line); padding: 3rem 0 4.5rem; }
.editorial-feed { margin: 2rem 0; }
.editorial-feed details { padding: .7rem 0; border-top: 1px solid #d9e5dd; }
.editorial-feed summary { font-weight: 700; cursor: pointer; }
.editorial-feed ul { padding-inline-start: 1.4rem; margin-top: .5rem; }
@media (max-width: 800px) {
  .editorial-hero { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial a.btn { max-width: 100%; white-space: normal; }
}
