/* ── Tokens ────────────────────────────────────────────────────────── */
  :root {
    --bg:          #f7f8f4;
    --surface:     #ffffff;
    --surface-2:   #f1f5f0;
    --border:      #dfe7e0;
    --border-soft: #e9eee9;
    --text:        #132a27;
    --text-2:      #5d6f68;
    --text-3:      #7c8a83;
    --green:       #087b58;
    --green-hi:    #0c9a6b;
    --amber:       #a77e1b;
    --red:         #b4472f;
    --radius:      6px;
    --radius-sm:   4px;
    --max:         1140px;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Manrope', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
  p { margin: 0; }
  ul, ol { margin: 0; padding: 0; list-style: none; }

  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

  /* ── Header ────────────────────────────────────────────────────────── */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand-mark {
    display: block; width: 26px; height: 26px; border-radius: 6px;
    flex: 0 0 auto; background: #fff;
  }
  .brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; color: var(--text); }
  .brand-sub { font-size: 11px; color: var(--text-3); letter-spacing: 0.02em; }
  .nav { display: flex; align-items: center; gap: 21px; }
  .nav a { font-size: 13.5px; color: var(--text-2); transition: color .15s; }
  .nav a:hover, .nav a.active { color: var(--text); }
  /* One sticky bar now: anchors clear the 64px header plus a little air. */
  section[id] { scroll-margin-top: 80px; }
  .nav a.active { position: relative; }
  .nav a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
    height: 2px; background: var(--green);
  }
  .header-actions { display: flex; align-items: center; gap: 10px; }

  /* ── Buttons ───────────────────────────────────────────────────────── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; padding: 9px 17px; font-size: 13.5px; font-weight: 600;
    border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
  }
  .btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
  .btn-primary:hover { background: var(--green-hi); border-color: var(--green-hi); }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
  .btn-ghost:hover { border-color: var(--text-3); background: var(--surface); }
  .btn-lg { padding: 12px 22px; font-size: 14.5px; }

  /* ── Section primitives ────────────────────────────────────────────── */
  .section { padding: 76px 0; border-bottom: 1px solid var(--border-soft); }
  .section-head { max-width: 640px; margin-bottom: 40px; }
  .section-head h2 { font-family: var(--display); font-size: 30px; margin-bottom: 12px; letter-spacing: -0.03em; }
  .section-head p { color: var(--text-2); font-size: 15.5px; }
  .kicker {
    display: block; margin-bottom: 12px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .07em;
    text-transform: uppercase; color: var(--green);
  }
  .eyebrow {
    display: inline-block; margin-bottom: 18px;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--green);
  }

  /* Inner-page hero */
  .page-head { padding: 64px 0 44px; border-bottom: 1px solid var(--border-soft); }
  .page-head h1 { font-size: 38px; margin-bottom: 14px; letter-spacing: -0.025em; }
  .page-head .lede { font-size: 16.5px; color: var(--text-2); max-width: 62ch; line-height: 1.65; }
  .page-head .meta {
    margin-top: 18px; font-size: 12.5px; color: var(--text-3);
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .page-head .meta span + span::before { content: "·"; margin-right: 10px; color: var(--border); }

  /* ── Cards and grids ───────────────────────────────────────────────── */
  .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 24px;
  }
  .card h3 { font-size: 15px; margin-bottom: 8px; }
  .card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
  .card svg { width: 18px; height: 18px; margin-bottom: 14px; color: var(--green); display: block; }

  .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .grid-3 > * { background: var(--surface); padding: 26px 24px; }
  /* Cell used inside .grid-3 (and standalone) */
  .feature h3 { font-size: 15px; margin-bottom: 8px; }
  .feature p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
  .feature svg { width: 18px; height: 18px; margin-bottom: 14px; color: var(--green); display: block; }

  /* ── Long-form prose (legal, docs, help) ───────────────────────────── */
  .prose { max-width: 74ch; }
  .prose h2 { font-size: 20px; margin: 36px 0 12px; }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 { font-size: 15.5px; margin: 26px 0 8px; }
  .prose p { font-size: 14.5px; color: var(--text-2); margin-bottom: 14px; line-height: 1.7; }
  .prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; list-style: revert; }
  .prose li { font-size: 14.5px; color: var(--text-2); margin-bottom: 8px; line-height: 1.7; }
  .prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
  .prose strong { color: var(--text); font-weight: 600; }
  .prose code {
    font-size: 13px; background: var(--surface-2); border: 1px solid var(--border-soft);
    padding: 1px 5px; border-radius: 3px; color: var(--text);
  }
  .prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
  .prose th, .prose td {
    text-align: left; padding: 10px 12px; font-size: 13.5px;
    border-bottom: 1px solid var(--border-soft); color: var(--text-2);
  }
  .prose th { color: var(--text-3); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }

  /* ── FAQ ───────────────────────────────────────────────────────────── */
  .faq { border-top: 1px solid var(--border-soft); }
  .faq details { border-bottom: 1px solid var(--border-soft); }
  .faq summary {
    cursor: pointer; padding: 16px 0; font-size: 14.5px; font-weight: 600;
    color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; }
  .faq details[open] summary::after { content: "–"; }
  .faq .answer { padding: 0 0 18px; font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 74ch; }

  /* ── Tags and callouts ─────────────────────────────────────────────── */
  .tag { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
  .tag-ok { background: rgba(47,140,114,.14); color: var(--green); }
  .tag-due { background: rgba(186,117,23,.14); color: var(--amber); }
  .callout {
    border: 1px solid var(--border); border-left: 2px solid var(--green);
    border-radius: var(--radius-sm); background: var(--surface);
    padding: 14px 18px; font-size: 13.5px; color: var(--text-2);
  }

  /* Closing CTA */
  .closing { padding: 76px 0; text-align: center; }
  .closing h2 { font-size: 30px; margin-bottom: 12px; }
  .closing p { color: var(--text-2); max-width: 52ch; margin: 0 auto 26px; font-size: 15.5px; }
  .closing .cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

  /* ── Footer ────────────────────────────────────────────────────────── */
  .site-footer { border-top: 1px solid var(--border-soft); padding: 52px 0 30px; }
  .footer-grid {
    display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px; margin-bottom: 40px;
  }
  .footer-brand p { font-size: 13px; color: var(--text-3); max-width: 30ch; margin-top: 12px; }
  .footer-col h4 {
    font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
    color: var(--text-3); font-weight: 600; margin-bottom: 14px;
  }
  .footer-col li { margin-bottom: 9px; }
  .footer-col a { font-size: 13px; color: var(--text-2); }
  .footer-col a:hover { color: var(--text); }
  .footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    font-size: 12px; color: var(--text-3);
  }
  .footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
  .footer-bottom a:hover { color: var(--text); }

  /* ── Responsive ────────────────────────────────────────────────────── */
    /* ── Numbered steps ────────────────────────────────────────────────── */
  .steps { list-style: none; display: grid; gap: 2px; }
  .steps li {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 22px 24px; background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
  }
  .steps li:first-child { border-top: 1px solid var(--border-soft); }
  .step-num {
    flex: 0 0 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--green);
    border: 1px solid var(--border);
  }
  .steps h3 { font-size: 15px; margin-bottom: 5px; }
  .steps p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

  /* ── Comparison table ──────────────────────────────────────────────── */
  /* Fixed layout, so the seven columns share the container and wrap their text
     instead of widening the page. Nothing here may reintroduce a min-width. */
  .cmp-scroll { margin-top: 8px; }
  .cmp {
    width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px;
  }
  .cmp th, .cmp td {
    padding: 9px 8px; border-bottom: 1px solid var(--border-soft);
    text-align: center; vertical-align: middle; overflow-wrap: break-word;
  }
  .cmp thead th {
    font-size: 10px; text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-3); font-weight: 600; border-bottom: 1px solid var(--border);
  }
  .cmp thead th.own { color: var(--green); font-weight: 700; }
  .cmp thead th.own, .cmp td.own { background: var(--surface); }
  .cmp tbody th, .cmp td:first-child {
    width: 23%; text-align: left; font-weight: 500; color: var(--text);
    white-space: normal;
  }
  .cmp thead th:not(.own):not(:first-child), .cmp td:not(.own):not(:first-child) {
    width: 12.8%;
  }
  .cmp td { color: var(--text-2); }
  .cmp td.own { color: var(--text); font-weight: 600; }
  .cmp .yes { color: var(--green); font-weight: 700; }
  .cmp .no  { color: var(--text-3); }
  .cmp .unk { color: var(--text-3); font-style: italic; font-size: 11.5px; }
  .cmp tfoot td, .cmp tfoot th {
    border-bottom: none; font-size: 11.5px; color: var(--text-3);
    text-align: left; padding-top: 14px; line-height: 1.6;
  }

@media (max-width: 1000px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .page-head h1 { font-size: 32px; }
  }
  @media (max-width: 720px) {
    .nav { display: none; }
    /* The comparison table stays inside the screen rather than scrolling. */
    .cmp { font-size: 10.5px; }
    .cmp th, .cmp td { padding: 7px 4px; }
    .cmp thead th { font-size: 9px; letter-spacing: 0; }
    .cmp tbody th, .cmp td:first-child { width: 30%; }
    .cmp .unk { font-size: 9.5px; }

    .section { padding: 56px 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-sub { display: none; }
    .page-head { padding: 44px 0 32px; }
    .page-head h1 { font-size: 27px; }
  }
  {% block extra_css %}{% endblock %}

/* ── Panels ───────────────────────────────────────────────────────────────
   .panel and .panel-row are used by eight interior pages and were never given
   a style, so those blocks rendered as unstyled text. */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 18px;
}
.panel h4 {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}
.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
  color: var(--text-2);
}
.panel-row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-row .when { color: var(--text-3); white-space: nowrap; }
