@import url('/assets/editorial/fonts.css');
/* Shared editorial system. Loaded after legacy styles on every static page. */
:root {
  --editorial-paper: #faf8f4;
  --editorial-card: #fffefa;
  --editorial-ink: #20201e;
  --editorial-plum: #42152f;
  --editorial-muted: #69635e;
  --editorial-line: #ded9d1;
  --editorial-soft: #f1ece5;
  --editorial-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --editorial-sans: Inter, system-ui, "Segoe UI", Arial, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.editorial-site {
  display: block; margin: 0; padding: 0; min-height: 100vh;
  background: var(--editorial-paper); color: var(--editorial-ink);
  font-family: var(--editorial-sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  --ink: var(--editorial-ink); --accent: var(--editorial-plum); --line: var(--editorial-line);
  --bg: var(--editorial-paper); --card: var(--editorial-card); --muted: var(--editorial-muted);
}
.editorial-site *, .editorial-site *::before, .editorial-site *::after { box-sizing: border-box; }
.editorial-site a { color: var(--editorial-plum); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.editorial-site a:hover { text-decoration-thickness: 2px; }
.editorial-site :focus-visible { outline: 2px solid var(--editorial-plum); outline-offset: 5px; }
.editorial-site img, .editorial-site video { max-width: 100%; height: auto; }
.editorial-site iframe { max-width: 100%; }
.editorial-site [id] { scroll-margin-top: 110px; }
.editorial-site [hidden] { display: none !important; }
.editorial-site .editorial-skip {
  position: fixed; z-index: 100; inset-inline-start: 16px; top: 12px;
  transform: translateY(-200%); max-width: calc(100vw - 32px); padding: 12px 20px;
  background: var(--editorial-plum); color: white; text-decoration: none; font-size: .9rem;
}
.editorial-site .editorial-skip:focus { transform: translateY(0); }

/* The navigation is real HTML and remains available when JavaScript is off. */
.editorial-site .editorial-header {
  position: sticky; z-index: 50; top: 0; display: block; width: 100%; max-width: none;
  margin: 0; padding: 0; text-align: start; border: 0;
  border-bottom: 1px solid var(--editorial-line); background: rgba(250, 248, 244, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.editorial-site .site-header-inner {
  position: relative; display: flex; align-items: center; gap: 32px;
  width: min(1320px, 100%); min-height: 96px; margin-inline: auto; padding: 20px 48px;
}
.editorial-site .site-wordmark {
  display: inline-flex; flex-direction: column; flex-shrink: 0; gap: 0;
  color: var(--editorial-ink); font: 500 24px/.96 var(--editorial-display);
  letter-spacing: -.9px; text-decoration: none; white-space: nowrap;
}
.editorial-site .site-wordmark > span:last-child { font-size: 22px; }
.editorial-site .wordmark-dot { color: var(--editorial-plum); }
.editorial-site .site-navigation {
  display: flex; flex: 1; justify-content: center; align-items: center;
  flex-wrap: nowrap; gap: 30px; width: auto; margin: 0; padding: 0; border: 0; background: none;
}
.editorial-site .site-navigation a {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 260px;
  margin: 0; padding: 0; color: var(--editorial-ink); text-decoration: none;
  font: 500 14px/1.4 var(--editorial-sans); letter-spacing: .01em;
}
.editorial-site .site-navigation a:hover { color: var(--editorial-plum); text-decoration: underline; }
.editorial-site .site-language-picker {
  position: relative; flex: 0 0 auto; width: auto; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent;
}
.editorial-site .site-language-picker summary {
  display: flex; align-items: center; gap: 9px; min-width: 72px; min-height: 44px;
  margin: 0; padding: 0; list-style: none; cursor: pointer; color: var(--editorial-ink);
  font: 500 12px/1 var(--editorial-sans); letter-spacing: .08em;
}
.editorial-site .site-language-picker summary::-webkit-details-marker { display: none; }
.editorial-site .site-language-picker summary svg { width: 19px; height: 19px; flex-shrink: 0; }
.editorial-site .site-language-picker summary .language-chevron { width: 12px; height: 12px; }
.editorial-site .site-language-picker[open] summary .language-chevron { transform: rotate(180deg); }
.editorial-site .site-language-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 20px); display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: min(600px, calc(100vw - 40px));
  max-height: min(520px, 72vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 15px; background: var(--editorial-card); border: 1px solid var(--editorial-line);
  box-shadow: 0 18px 45px rgba(32, 32, 30, .09);
}
.editorial-site .site-language-list a {
  display: flex; align-items: center; min-height: 42px; padding: 8px 10px;
  color: var(--editorial-ink); font: 400 13px/1.4 var(--editorial-sans); text-decoration: none;
}
.editorial-site .site-language-list a:hover, .editorial-site .site-language-list a[aria-current] { background: var(--editorial-soft); color: var(--editorial-plum); }
.editorial-site .site-menu-toggle { display: none; }

/* Long-form reading: a quiet, carefully measured column rather than a card. */
.editorial-site > main:not(.blog-list), .editorial-site > article,
.editorial-site > .editorial-page-heading {
  width: min(900px, 100%); max-width: 900px; margin: 0 auto; padding: 74px 48px 88px;
  border: 0; background: transparent; border-radius: 0; box-shadow: none;
  font-family: var(--editorial-sans); overflow-wrap: anywhere; text-align: start;
}
.editorial-site > article.blog-content, .editorial-site > main.blog-content { max-width: 900px; }
.editorial-site h1, .editorial-site h2, .editorial-site h3 {
  color: var(--editorial-ink); font-family: var(--editorial-display); font-weight: 400;
  text-wrap: pretty; overflow-wrap: anywhere;
}
.editorial-site h1 {
  margin: 0 0 24px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.11; letter-spacing: -.045em;
}
.editorial-site h2 { margin: 58px 0 22px; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
.editorial-site h3 { margin: 34px 0 15px; font-size: clamp(23px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -.025em; }
.editorial-site h4 { font-size: 1rem; margin: 28px 0 12px; font-weight: 650; }
.editorial-site p { margin: 0 0 22px; }
.editorial-site li { margin-block: 9px; padding-inline-start: 4px; }
.editorial-site ul, .editorial-site ol { padding-inline-start: 24px; }
.editorial-site .intro, .editorial-site .trust-intro { font-size: 19px; line-height: 1.7; color: #514c47; }
.editorial-site .publisher-credit, .editorial-site .guide-meta, .editorial-site .trust-updated {
  margin: 0 0 18px; color: var(--editorial-muted); font: 400 12px/1.7 var(--editorial-sans);
}
.editorial-site .publisher-credit a { color: inherit; }
.editorial-site .reading-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 32px;
  padding: 0; background: transparent; border: 0; color: var(--editorial-muted); font-size: 12px;
}
.editorial-site .reading-breadcrumb a { min-height: 32px; display: inline-flex; align-items: center; color: inherit; }
.editorial-site hr { border: 0; border-top: 1px solid var(--editorial-line); margin-block: 40px; }
.editorial-site blockquote {
  margin: 32px 0; padding: 8px 0; padding-inline-start: 26px; border: 0; border-inline-start: 2px solid var(--editorial-plum);
  color: #514c47; font: 400 22px/1.6 var(--editorial-display); background: transparent;
}
.editorial-site code { padding: 2px 5px; background: var(--editorial-soft); border-radius: 2px; font-size: .88em; overflow-wrap: anywhere; }
.editorial-site pre { max-width: 100%; overflow: auto; padding: 20px; background: var(--editorial-soft); }
.editorial-site section { border-color: var(--editorial-line); }
.editorial-site main > section:not(.reading-path), .editorial-site article > section:not(.reading-path) {
  margin-block: 38px; padding: 0; background: transparent; border: 0; border-radius: 0;
}
.editorial-site section > h2:first-child { margin-top: 0; }
.editorial-site .guide-cta, .editorial-site .guide-note, .editorial-site .first-product-example,
.editorial-site .trust-contact, .editorial-site .evidence-types {
  margin: 30px 0; padding: 28px; border: 1px solid var(--editorial-line); border-radius: 2px;
  background: var(--editorial-soft); color: var(--editorial-ink);
}
.editorial-site .guide-cta { border-color: #d4c2cb; background: #f2eaee; }
.editorial-site .guide-cta h2, .editorial-site .guide-cta h3, .editorial-site .guide-note h2 { margin-top: 0; }
.editorial-site .guide-note p:last-child, .editorial-site .guide-cta p:last-child { margin-bottom: 0; }
.editorial-site .guide-disclosure, .editorial-site .note, .editorial-site .guide-table-hint,
.editorial-site .reading-startup-note, .editorial-site .affiliate-disclosure {
  color: var(--editorial-muted); font: 400 12px/1.75 var(--editorial-sans);
}
.editorial-site .guide-button, .editorial-site .cta, .editorial-site button:not(.site-menu-toggle),
.editorial-site .reading-startup > a[data-cta-location="primary"] {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px;
  margin: 5px 0 16px; padding: 13px 24px; border: 1px solid var(--editorial-plum); border-radius: 2px;
  background: var(--editorial-plum); color: white; font: 500 13px/1.5 var(--editorial-sans);
  letter-spacing: .015em; text-decoration: none; cursor: pointer; box-shadow: none; animation: none;
}
.editorial-site .guide-button:hover, .editorial-site .cta:hover, .editorial-site button:not(.site-menu-toggle):hover,
.editorial-site .reading-startup > a[data-cta-location="primary"]:hover { background: #5b2646; border-color: #5b2646; }
.editorial-site button:disabled { opacity: .55; cursor: default; }

/* Functional forms and data tables retain their original inputs and scripts. */
.editorial-site input, .editorial-site select, .editorial-site textarea {
  min-width: 0; max-width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #b8aea4; border-radius: 2px; background: var(--editorial-card);
  color: var(--editorial-ink); font: 400 15px/1.5 var(--editorial-sans); box-shadow: none;
}
.editorial-site input:focus, .editorial-site select:focus, .editorial-site textarea:focus { border-color: var(--editorial-plum); }
.editorial-site input[type="checkbox"], .editorial-site input[type="radio"] { width: 19px; height: 19px; min-height: 0; accent-color: var(--editorial-plum); }
.editorial-site label { font-size: 13px; color: #514c47; }
.editorial-site label > span { margin-bottom: 9px; }
.editorial-site fieldset { border: 1px solid var(--editorial-line); border-radius: 2px; padding: 24px; }
.editorial-site legend { padding-inline: 8px; font-size: 14px; }
.editorial-site .cost-fields, .editorial-site .check-fields { gap: 24px; }
.editorial-site .results { gap: 14px; margin-block: 28px; }
.editorial-site .results > div { padding: 24px; border: 1px solid var(--editorial-line); border-radius: 2px; background: var(--editorial-soft); }
.editorial-site .results dt { color: #514c47; font-size: 12px; font-weight: 500; }
.editorial-site output { color: var(--editorial-plum); font: 400 36px/1.3 var(--editorial-display); }
.editorial-site output[data-negative="true"] { color: #972f3d; }
.editorial-site .worksheet { gap: 20px 28px; }
.editorial-site .worksheet dt { font-size: 13px; }
.editorial-site .guide-table { border: 1px solid var(--editorial-line); border-radius: 2px; background: var(--editorial-card); }
.editorial-site .editorial-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 28px; border: 1px solid var(--editorial-line); }
.editorial-site .editorial-table-scroll table { min-width: 580px; }
.editorial-site table { width: 100%; border-collapse: collapse; font: 400 13px/1.6 var(--editorial-sans); }
.editorial-site th, .editorial-site td { padding: 16px; border-color: var(--editorial-line); text-align: start; vertical-align: top; }
.editorial-site th { color: var(--editorial-ink); font-weight: 600; }
.editorial-site caption, .editorial-site thead th { background: var(--editorial-soft); color: var(--editorial-ink); }
.editorial-site .startup-toc, .editorial-site .startup-language-picker { background: var(--editorial-soft); border: 1px solid var(--editorial-line); border-radius: 2px; }
.editorial-site .startup-toc { padding: 26px; }
.editorial-site .startup-toc a, .editorial-site summary { color: var(--editorial-plum); }

/* Useful next steps, with a visible hierarchy and generous tap targets. */
.editorial-site .reading-path {
  width: 100%; max-width: none; margin: 60px 0 0; padding: 34px 0 0;
  border: 0; border-top: 1px solid var(--editorial-line); border-radius: 0;
  background: transparent; color: var(--editorial-ink); font-family: var(--editorial-sans);
}
.editorial-site .reading-path > h2 { margin: 0 0 24px; font-size: 32px; }
.editorial-site .reading-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.editorial-site .reading-steps > li { display: block; margin: 0; padding: 0; min-width: 0; }
.editorial-site .reading-card {
  display: flex; align-items: flex-start; gap: 15px; height: 100%; min-height: 98px;
  padding: 22px; border: 1px solid var(--editorial-line); border-radius: 2px;
  background: var(--editorial-card); color: var(--editorial-ink); text-decoration: none;
  box-shadow: none; transition: border-color .18s ease, background .18s ease;
}
.editorial-site .reading-card:hover { transform: none; border-color: #a8969f; background: #f3eeea; text-decoration: none; }
.editorial-site .reading-step-number { display: block; flex: 0 0 20px; padding: 0; width: auto; height: auto; min-width: 0; border: 0; border-radius: 0; background: none; color: var(--editorial-plum); font: 400 22px/1.2 var(--editorial-display); }
.editorial-site .reading-step-title { color: var(--editorial-ink); font: 500 13px/1.65 var(--editorial-sans); }
.editorial-site .reading-startup { margin: 20px 0; padding: 26px; border: 1px solid var(--editorial-line); border-radius: 2px; background: var(--editorial-soft); }
.editorial-site .reading-startup h3 { margin: 0 0 18px; font-size: 27px; }
.editorial-site .reading-startup a { color: var(--editorial-plum); }
.editorial-site .reading-startup .reading-startup-note { color: var(--editorial-muted); font: 400 12px/1.75 var(--editorial-sans); }
.editorial-site .reading-startup > p:last-child { margin-bottom: 0; }

/* The journal is an editorial grid; its existing titles and excerpts stay intact. */
.editorial-site > .editorial-page-heading {
  width: min(1320px, 100%); max-width: 1320px; padding: 78px 48px 38px; text-align: start;
}
.editorial-site .editorial-page-heading > h1 { max-width: 820px; font-size: clamp(42px, 5vw, 68px); }
.editorial-site .editorial-page-heading > p { max-width: 730px; margin-bottom: 0; color: #615b56; }
.editorial-site .editorial-page-heading .reading-breadcrumb { margin-bottom: 20px; }
.editorial-site > main.blog-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px;
  width: min(1320px, 100%); max-width: 1320px; margin: 0 auto; padding: 0 48px 88px;
}
.editorial-site .blog-list > .reading-path { grid-column: 1/-1; margin: 0 0 42px; padding: 32px 0 36px; border-bottom: 1px solid var(--editorial-line); }
.editorial-site .blog-list > .reading-path > .reading-startup { max-width: 750px; }
.editorial-site .blog-list > .reading-path > p { max-width: 750px; }
.editorial-site .blog-list > .reading-path .reading-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.editorial-site .blog-post {
  display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 32px 0 38px;
  border: 0; border-top: 1px solid var(--editorial-line); border-radius: 0; background: transparent; box-shadow: none;
}
.editorial-site .blog-post h2 { margin: 0 0 20px; font: 400 28px/1.25 var(--editorial-display); letter-spacing: -.03em; }
.editorial-site .blog-post h2 a { color: var(--editorial-ink); text-decoration: none; }
.editorial-site .blog-post h2 a:hover { color: var(--editorial-plum); text-decoration: underline; }
.editorial-site .blog-post .date { order: -1; margin: 0 0 16px; color: var(--editorial-muted); font: 400 10px/1.5 var(--editorial-sans); letter-spacing: .06em; text-transform: uppercase; }
.editorial-site .blog-post .excerpt { margin: 0; color: #615b56; font: 400 13px/1.8 var(--editorial-sans); }

/* A deliberate footer replaces floating promotional overlays. */
.editorial-site > footer {
  width: 100%; max-width: none; margin: 0; padding: 48px max(24px, calc((100vw - 1224px) / 2)) 38px;
  border: 0; border-top: 1px solid var(--editorial-line); background: #efeae3;
  color: #625a54; text-align: start; font: 400 12px/1.8 var(--editorial-sans);
}
.editorial-site > footer p { max-width: 960px; margin: 0 0 18px; }
.editorial-site > footer a { color: var(--editorial-ink); }
.editorial-site .trust-links { justify-content: flex-start; gap: 6px 26px; margin: 22px 0 0; font: 400 12px/1.5 var(--editorial-sans); }
.editorial-site .footer-social { justify-content: flex-start; margin: 18px 0; }
.editorial-site #exitPopup, .editorial-site #stickyStep1 { display: none !important; }
.editorial-site > p { width: min(900px, 100%); margin: 0 auto 28px; padding-inline: 48px; }
.editorial-site .trust-contact-form { border: 1px solid var(--editorial-line); border-radius: 2px; }

/* Legacy onboarding calculator uses the same palette and responsive shell. */
.editorial-site > main.editorial-cms { width: min(1224px, 100%); max-width: 1224px; }
.editorial-site .editorial-cms > .container { width: 100%; max-width: 100%; background: var(--editorial-card); border: 1px solid var(--editorial-line); border-radius: 2px; box-shadow: none; }
.editorial-site .editorial-cms .sidebar { background: var(--editorial-soft); border-color: var(--editorial-line); }
.editorial-site .editorial-cms .card, .editorial-site .editorial-cms .option { background: var(--editorial-card); border-color: var(--editorial-line); color: var(--editorial-ink); }
.editorial-site .editorial-cms .muted, .editorial-site .editorial-cms .small { color: var(--editorial-muted); }
.editorial-site .editorial-cms .step.active { color: var(--editorial-plum); background: #e6dce1; }
.editorial-site .editorial-cms .option { min-height: 60px; padding: 15px; border-radius: 2px; background: var(--editorial-card); color: var(--editorial-ink); border-color: var(--editorial-line); box-shadow: none; text-align: start; }
.editorial-site .editorial-cms .option:hover { transform: none; background: var(--editorial-soft); border-color: #a8969f; }
.editorial-site .editorial-cms .option.selected { outline: 2px solid var(--editorial-plum); border-color: var(--editorial-plum); background: #f2eaee; box-shadow: none; }
.editorial-site .editorial-cms .btn.secondary { color: var(--editorial-plum); background: transparent; border-color: var(--editorial-line); }
.editorial-site .editorial-cms .result-card, .editorial-site .editorial-cms .disclaimer { border: 1px solid var(--editorial-line); border-radius: 2px; background: var(--editorial-soft); }
.editorial-site .editorial-cms .progress-bar, .editorial-site .editorial-cms .meter { background: #e5ddd5; }
.editorial-site .editorial-cms .progress, .editorial-site .editorial-cms .meter-fill { background: var(--editorial-plum); }
.editorial-site .editorial-cms .result-buttons, .editorial-site .editorial-cms .controls { flex-wrap: wrap; }
.editorial-site .editorial-cms .result { max-width: 100%; overflow-x: auto; }
.editorial-site .editorial-cms .sidebar { display: block; }
.editorial-site .editorial-main-container > .container { width: 100%; max-width: 100%; margin: 0; padding: 0; }
.editorial-site .editorial-main-container article { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

/* The handbook keeps its table of contents, reading theme and progress script. */
.editorial-site.editorial-book > .toc { position: static; z-index: auto; width: min(900px, 100%); margin-inline: auto; padding: 24px 48px 0; background: transparent; border: 0; }
.editorial-site.editorial-book .top-ad a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; background: #42152f; color: white; border-radius: 2px; font: 500 13px/1.5 var(--editorial-sans); text-decoration: none; }
.editorial-site.editorial-book .theme-toggle { margin: 0; width: 48px; padding: 10px; background: transparent; color: var(--editorial-ink); border-color: var(--editorial-line); font-size: 19px; }
.editorial-site.editorial-book > main.wrapper { display: block; }
.editorial-site.editorial-book .reader { max-width: none; }
.editorial-site .editorial-book-heading { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--editorial-line); }
.editorial-site .editorial-book-heading .subtitle { color: var(--editorial-muted); font: 400 12px/1.7 var(--editorial-sans); }
.editorial-site.editorial-book .guide-update, .editorial-site.editorial-book .book-contents { padding: 26px; border: 1px solid var(--editorial-line); border-radius: 2px; background: var(--editorial-soft); }
.editorial-site.editorial-book .book-contents h2, .editorial-site.editorial-book .guide-update h2 { margin-top: 0; }
.editorial-site.editorial-book .content h2, .editorial-site.editorial-book .content h3 { font-family: var(--editorial-display); }
.editorial-site.editorial-book .content h2::after { display: none; }
.editorial-site.editorial-book .content p { margin: 0 0 22px; }
.editorial-site.editorial-book .content ul, .editorial-site.editorial-book .content ol { padding-inline-start: 24px; margin: 20px 0; }
[data-theme="dark"] body.editorial-site.editorial-book {
  --editorial-paper: #211e20; --editorial-card: #282327; --editorial-ink: #f4eeea;
  --editorial-plum: #e5c4d5; --editorial-muted: #c0b6b4; --editorial-line: #51464a; --editorial-soft: #30272c;
  color-scheme: dark;
}
[data-theme="dark"] .editorial-site.editorial-book .editorial-header { background: rgba(33,30,32,.97); }
[data-theme="dark"] .editorial-site.editorial-book > footer { background: var(--editorial-soft); color: var(--editorial-muted); }
[data-theme="dark"] .editorial-site.editorial-book .guide-cta, [data-theme="dark"] .editorial-site.editorial-book blockquote { background: var(--editorial-soft); color: var(--editorial-ink); }
[data-theme="dark"] .editorial-site.editorial-book .guide-button { background: #5b2646; color: white; }
.editorial-site .editorial-cms .logo { background: var(--editorial-plum); color: white; border-radius: 2px; }
.editorial-site .editorial-cms h1 { font-size: 34px; }
.editorial-site .editorial-cms h2 { font-size: 27px; }

@media (max-width: 1099px) {
  .editorial-site .site-header-inner { min-height: 84px; padding: 17px 32px; gap: 22px; }
  .editorial-site .site-wordmark { margin-inline-end: auto; }
  .editorial-site .site-menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    order: 3; flex-shrink: 0; width: 44px; height: 44px; min-height: 44px;
    margin: 0; padding: 11px; border: 0; border-radius: 0; background: transparent; color: var(--editorial-ink); cursor: pointer;
  }
  .editorial-site .site-menu-toggle span { width: 22px; height: 1px; background: currentColor; transition: transform .18s ease; }
  .editorial-site .site-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .editorial-site .site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .editorial-site .site-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .editorial-site .site-language-picker { order: 2; }
  .editorial-site .site-navigation {
    position: absolute; top: 100%; inset-inline: 0; display: none; flex-direction: column;
    align-items: stretch; gap: 0; padding: 14px 32px 24px; background: var(--editorial-paper);
    border-bottom: 1px solid var(--editorial-line); box-shadow: 0 12px 16px rgba(32,32,30,.035);
    max-height: calc(100dvh - 84px); overflow-y: auto;
  }
  .editorial-site .site-menu-toggle[aria-expanded="true"] ~ .site-navigation { display: flex; }
  .editorial-site:not(.editorial-js) .site-header-inner { flex-wrap: wrap; }
  .editorial-site:not(.editorial-js) .site-menu-toggle { display: none; }
  .editorial-site:not(.editorial-js) .site-navigation { position: static; display: flex; order: 4; flex: 1 0 100%; padding: 0; border: 0; box-shadow: none; }
  .editorial-site .site-navigation a { max-width: none; min-height: 50px; padding: 9px 0; font-size: 15px; }
  .editorial-site .site-language-list { inset-inline-end: -60px; top: calc(100% + 17px); }
  .editorial-site > main.blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-site .blog-list > .reading-path .reading-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  html { scroll-padding-top: 90px; }
  .editorial-site [id] { scroll-margin-top: 90px; }
  .editorial-site .site-header-inner { min-height: 78px; padding: 15px 20px; gap: 12px; }
  .editorial-site .site-wordmark { font-size: 21px; letter-spacing: -.7px; }
  .editorial-site .site-wordmark > span:last-child { font-size: 19px; }
  .editorial-site .site-language-picker summary { min-width: 64px; gap: 7px; font-size: 11px; }
  .editorial-site .site-language-picker summary svg { width: 17px; height: 17px; }
  .editorial-site .site-language-list { inset-inline-end: -56px; width: calc(100vw - 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-site .site-navigation { padding-inline: 24px; }
  .editorial-site > main:not(.blog-list), .editorial-site > article,
  .editorial-site > .editorial-page-heading { padding: 46px 24px 56px; }
  .editorial-site h1 { font-size: clamp(34px, 9.4vw, 48px); letter-spacing: -.04em; line-height: 1.14; }
  .editorial-site h2 { margin-top: 40px; font-size: 29px; }
  .editorial-site h3 { font-size: 25px; }
  .editorial-site .intro, .editorial-site .trust-intro { font-size: 17px; }
  .editorial-site .guide-cta, .editorial-site .guide-note, .editorial-site .first-product-example,
  .editorial-site .trust-contact, .editorial-site .evidence-types, .editorial-site .reading-startup { padding: 22px; }
  .editorial-site .cost-fields, .editorial-site .check-fields, .editorial-site .results,
  .editorial-site .worksheet, .editorial-site .reading-steps { grid-template-columns: 1fr; }
  .editorial-site .reading-card { min-height: 80px; padding: 20px; }
  .editorial-site .reading-path { margin-top: 42px; }
  .editorial-site .editorial-page-heading > h1 { font-size: 44px; }
  .editorial-site > main.blog-list { display: block; padding: 0 24px 54px; }
  .editorial-site .blog-list > .reading-path { margin-bottom: 16px; padding-bottom: 26px; }
  .editorial-site .blog-list > .reading-path .reading-steps { grid-template-columns: 1fr; }
  .editorial-site .blog-post { padding: 26px 0 30px; }
  .editorial-site .blog-post h2 { font-size: 28px; }
  .editorial-site > footer { padding: 34px 24px; }
  .editorial-site > p { padding-inline: 24px; }
  .editorial-site .editorial-cms .grid { grid-template-columns: 1fr; }
  .editorial-site .editorial-cms .main, .editorial-site .editorial-cms .sidebar { padding: 22px; }
  .editorial-site .editorial-cms .container { padding: 0; }
  .editorial-site .editorial-cms .card { padding: 0; }
  .editorial-site .editorial-cms .options { grid-template-columns: 1fr; }
  .editorial-site .editorial-cms .sidebar { border-inline-end: 0; border-bottom: 1px solid var(--editorial-line); }
  .editorial-site.editorial-book > .toc { padding: 24px 24px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .editorial-site *, .editorial-site *::before, .editorial-site *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .editorial-site .editorial-header, .editorial-site .editorial-skip { display: none; }
  .editorial-site { background: white; color: black; }
  .editorial-site > main:not(.blog-list), .editorial-site > article { max-width: none; padding: 0; }
}
