/* Public guides and comparisons share the homepage's Inked palette and type. */
:root {
  color-scheme: dark;
  --ink: #000000;
  --ink-2: #000000;
  --paper: #DFDEDC;
  --graphite: #464545;
  --accent: #00ACAC;
  --muted: #A6A7A2;
  --cream: var(--ink);
  --cream-light: #141414;
  --cream-lift: #202020;
  --espresso: var(--paper);
  --warm-brown: var(--paper);
  --tan: var(--muted);
  --terracotta: var(--accent);
  --terracotta-dark: #00BDBD;
  --terracotta-2: var(--accent);
  --accent-bright: var(--paper);
  --system-teal: var(--accent);
  --success: var(--accent);
  --panel: #141414;
  --lift: #202020;
  --dim: var(--muted);
  --faint: var(--muted);
  --line: var(--graphite);
  --line-2: #666666;
  --border: var(--graphite);
  --border-bright: var(--accent);
  --surface-wash-solid: #141414;
  --ac: var(--accent);
  --ac-2: var(--paper);
  --ac-rgb: 0, 172, 172;
  --green: var(--accent);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
html { scroll-padding-top: 24px; }
body.sf-editorial {
  margin: 0;
  background: var(--ink);
  background-image: none;
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
body.sf-editorial::before, body.sf-editorial::after { display: none; }
.sf-editorial *, .sf-editorial *::before, .sf-editorial *::after { box-sizing: border-box; }
.sf-editorial ::selection { background: var(--accent); color: var(--ink); }
.sf-editorial a { color: inherit; text-underline-offset: 5px; }
.sf-editorial a:hover { color: var(--accent); }
.sf-editorial :is(a, button, summary, pre, .ctable):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.sf-editorial :is(h1, h2, .section-title) {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.sf-editorial h1, .sf-editorial.quickstart-page .trust-main h1 {
  max-width: 18ch;
  margin: 20px 0 28px;
  font-size: clamp(48px, 6.5vw, 88px);
}
.sf-editorial h1 :is(i, em, .grad) {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-style: italic;
}
.sf-editorial :is(.eyebrow, .trust-eyebrow, .section-label, .crumbs) {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sf-editorial :is(.trust-lede, .standfirst, .section-intro, .sub) {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
}
.sf-editorial :is(code, pre, .change-date, .meta, .term-body, .codebox) {
  font-family: var(--mono);
}
.sf-editorial code { overflow-wrap: anywhere; }
.sf-editorial :is(pre, .table-wrap, .codecompare, .term, .codebox) { min-width: 0; max-width: 100%; }
.sf-editorial :is(pre, .table-wrap) { overflow-x: auto; }
.sf-editorial .editorial-nav {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid var(--graphite);
  background: var(--ink);
  backdrop-filter: none;
}
.sf-editorial .editorial-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  font-size: 13px;
  font-weight: 400;
}
.sf-editorial .editorial-nav .nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sf-editorial .editorial-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; }
.sf-editorial :is(.nav-cta, .trust-action, .btn-primary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.sf-editorial :is(.nav-cta, .trust-action, .btn-primary):hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.sf-editorial .btn-ghost { border: 1px solid var(--muted); border-radius: 100px; background: transparent; color: var(--paper); min-height: 48px; padding: 12px 24px; text-decoration: none; }
.sf-editorial .editorial-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 72px auto 0;
  padding: 40px 5%;
  border-top: 1px solid var(--graphite);
  color: var(--muted);
  background: var(--ink);
  text-align: left;
  font-size: 12px;
}
.sf-editorial .editorial-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.sf-editorial .editorial-footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.sf-editorial .editorial-footer p { width: 100%; margin: 0; font-size: 12px; }
.sf-editorial .editorial-skip { position: absolute; top: -100px; left: 24px; z-index: 200; background: var(--accent); color: var(--ink); padding: 12px 20px; }
.sf-editorial .editorial-skip:focus { top: 12px; }
.sf-editorial .trust-main { width: 100%; max-width: 1000px; margin: auto; padding: 72px 32px 0; }
.sf-editorial .trust-main h2 { font-size: clamp(30px, 4vw, 44px); }
.sf-editorial .trust-section { margin-top: 64px; }
.sf-editorial .trust-updated { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-top: 24px; }
.sf-editorial .change-entry { gap: 32px; padding: 36px 0; }
.sf-editorial .change-copy h2 { font-size: clamp(28px, 3vw, 38px); }
.sf-editorial .change-date span { color: var(--accent); background: #002D2D; }
.sf-editorial :is(.trust-callout, .quickstart-prompt) { background: var(--panel); border-color: var(--accent); color: var(--paper); }
.sf-editorial .trust-callout.warning { border-color: var(--muted); background: var(--panel); }
.sf-editorial .quickstart-code { background: var(--panel); border: 1px solid var(--graphite); color: var(--paper); }
.sf-editorial :is(.quickstart-jumps a, .quickstart-resources) { background: var(--panel); }
.sf-editorial .quickstart-jumps a { border-radius: 16px; }
.sf-editorial .quickstart-jumps a:hover { border-color: var(--accent); }
.sf-editorial .trust-action { color: var(--ink); }
.sf-editorial .endpoint-link { color: var(--accent); }
.sf-compare .wrap { max-width: 1040px; padding-left: 32px; padding-right: 32px; }
.sf-compare .lead { padding-top: 72px; }
.sf-compare .standfirst { max-width: 66ch; }
.sf-compare .hubgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.sf-compare .hubcard { padding: 32px; background: var(--ink); border-color: var(--graphite); border-radius: 18px; text-decoration: none; }
.sf-compare .hubcard:hover { background: var(--panel); border-color: var(--accent); transform: none; }
.sf-compare .hubcard .vs2 { font-size: 18px; flex-wrap: wrap; }
.sf-compare .hubcard p { font-family: var(--sans); font-size: 15px; line-height: 1.75; }
.sf-compare .hubcard .more { color: var(--accent); font-weight: 400; }
.sf-compare :is(.verdict, .pick, .honest, .ctable, .codeb) { background: var(--panel); box-shadow: none; }
.sf-compare .ctable { overflow-x: auto; }
.sf-compare :is(.verdict, .pick, .honest) { border-color: var(--graphite); }
.sf-compare .final { max-width: 976px; background: var(--panel); padding: 48px 32px; }
.sf-compare .final h2 { font-size: clamp(34px, 4vw, 48px); }
.sf-compare .prose h2 { font-size: clamp(30px, 4vw, 44px); }
.sf-compare .lead-p, .sf-compare .prose p { line-height: 1.8; }
.sf-compare .notes { color: var(--muted); }
.sf-compare :is(.ccol, .cols, .col, .steps) { min-width: 0; }
.sf-compare .steps { overflow-wrap: anywhere; }
.sf-agents .hero-bg { background: var(--ink); }
.sf-agents .hero-bg::after { display: none; }
.sf-agents .hero { min-height: 0; padding: 72px 32px 80px; max-width: 1240px; gap: 56px; }
.sf-agents h1 { font-size: clamp(48px, 5.7vw, 80px); }
.sf-agents .hero-right { min-width: 0; }
.sf-agents :is(.section, .worksbar, .destbar) { background: var(--ink); border-color: var(--graphite); }
.sf-agents .section { padding: 80px 32px; max-width: 1240px; }
.sf-agents .section-title { font-size: clamp(36px, 4.6vw, 60px); }
.sf-agents :is(.term, .codebox, .card) { background: var(--panel); box-shadow: none; }
.sf-agents .term { border-radius: 18px; }
.sf-agents .card { border-radius: 18px; }
.sf-agents .card h3 { font-size: 21px; font-weight: 500; }
.sf-agents .reveal { opacity: 1; transform: none; }
.sf-agents .final-cta { background: var(--panel); border-color: var(--graphite); }
.sf-agents .final-cta h2 { font-size: clamp(40px, 5vw, 64px); }
.sf-agents :is(.term-sum, .ok, .live-dot, .card-icon) { color: var(--accent); }
.sf-agents .sha { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .sf-editorial .editorial-nav { flex-wrap: wrap; }
  .sf-editorial .editorial-nav .nav-links { width: 100%; }
  .sf-agents .hero { grid-template-columns: 1fr; gap: 40px; }
  .sf-agents .term { max-width: none; }
}
@media (max-width: 720px) {
  .sf-editorial .editorial-nav { padding: 24px; gap: 16px; }
  .sf-editorial .editorial-nav .nav-links { gap: 6px 20px; overflow: visible; }
  .sf-editorial .trust-main, .sf-editorial.quickstart-page .trust-main { padding: 48px 24px 0; }
  .sf-editorial .change-entry { grid-template-columns: 1fr; gap: 16px; }
  .sf-editorial .quickstart-jumps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-editorial .editorial-footer { padding: 32px 24px; margin-top: 48px; }
  .sf-compare .wrap { padding-left: 24px; padding-right: 24px; }
  .sf-compare .lead { padding-top: 48px; }
  .sf-compare .hubgrid { grid-template-columns: 1fr; gap: 16px; }
  .sf-compare .hubcard { padding: 24px; }
  .sf-compare .final { margin-left: 24px; margin-right: 24px; padding: 32px 24px; }
  .sf-agents .hero { padding: 48px 24px; }
  .sf-agents .section { padding: 64px 24px; }
  .sf-agents .cards { grid-template-columns: 1fr; }
  .sf-agents .worksbar, .sf-agents .destbar { padding-left: 24px; padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sf-editorial *, .sf-editorial *::before, .sf-editorial *::after { animation: none !important; transition: none !important; }
}
