/* ============================================================
   Contenzi website, built on the Contenzi design system
   (navy and green), with Plus Jakarta Sans headings over Open Sans.
   Classes are prefixed s- so they live next to theme.css
   on the pages that still use the old theme.
   ============================================================ */

@font-face { font-family: "Open Sans"; src: url("/assets/fonts/OpenSans-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --navy-900: #14244c;
  --navy-800: #1b2d5c;
  --green-500: #20ad72;
  --green-800: #246b4e;
  --green-100: #e1f5ec;
  --green-50: #f0fcf7;
  --gray-100: #f6f9fc;
  --gray-200: #edf1f5;
  --gray-300: #e3e9ef;
  --gray-500: #b4bbc3;
  --gray-600: #858c97;
  --gray-700: #576071;
  --gray-900: #121519;
  --white: #ffffff;

  --bg-canvas: var(--gray-100);
  --bg-surface: var(--white);
  --bg-sunken: var(--gray-200);
  --bg-hover: var(--green-50);
  --bg-selected: var(--green-100);
  --bg-nav: var(--navy-900);
  --bg-nav-active: var(--navy-800);
  --border: var(--gray-300);
  --border-control: var(--gray-600);
  --text: var(--gray-900);
  --text-muted: var(--gray-700);
  --text-accent: var(--green-800);
  --text-nav: var(--gray-200);
  --text-nav-muted: var(--gray-500);
  --accent: var(--green-500);
  --focus-ring: #2e66a8;
  --focus-ring-on-nav: #7fb2f0;
  --shadow-card: 0 1px 2px rgba(18, 21, 25, 0.04);
  --shadow-float: 0 8px 24px rgba(18, 21, 25, 0.12), 0 2px 6px rgba(18, 21, 25, 0.06);

  --font-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Open Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

/* ---------- page ---------- */
body.s-body { display: block; height: auto; min-height: 100%; margin: 0; background: var(--bg-canvas); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 26px; }
.s-body *, .s-body *::before, .s-body *::after { box-sizing: border-box; }
.s-body a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.s-body a:hover { color: var(--text); }
.s-body a:focus-visible, .s-body button:focus-visible, .s-body input:focus-visible, .s-body summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.s-body h1, .s-body h2, .s-body h3 { margin: 0; color: inherit; }
.s-body p, .s-body ul, .s-body ol, .s-body figure, .s-body blockquote { margin: 0; }
.s-body img { max-width: 100%; }

.s-section { padding: 176px var(--gutter) 0; }
.s-wrap { max-width: 1200px; margin: 0 auto; }
.s-stack { display: flex; flex-direction: column; }
.s-intro { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.s-split { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }

/* ---------- type ---------- */
.s-h1 { font: 500 clamp(34px, 4.4vw, 54px)/1.18 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.s-h2 { font: 500 clamp(28px, 3.1vw, 38px)/1.22 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.s-h2-sm { font: 500 clamp(26px, 2.7vw, 32px)/1.25 var(--font-display); letter-spacing: -0.01em; }
.s-h3 { font: 500 26px/34px var(--font-display); letter-spacing: -0.01em; }
.s-h3-card { font: 500 22px/31px var(--font-display); }
.s-lede { max-width: 620px; font-size: 19px; line-height: 32px; color: var(--text-muted); }
.s-muted { color: var(--text-muted); }
.s-label { font: 600 17px/26px var(--font-sans); color: var(--text-accent); display: inline-flex; align-items: center; gap: 8px; }
.s-hl { color: var(--accent); }
.s-body .s-more { font-weight: 600; text-decoration: none; color: var(--accent); }
.s-body .s-more:hover { color: var(--accent); text-decoration: underline; }
.s-icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.s-icon-lg { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.s-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 6px; font: 600 15px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, filter .15s; }
.s-body .s-cta-primary, .s-body .s-cta-primary:hover { background: var(--accent); color: var(--white); }
.s-cta-primary:hover { filter: brightness(.93); }
.s-body .s-cta-outline { border-color: var(--border-control); color: var(--text); background: var(--bg-surface); }
.s-body .s-cta-outline:hover { background: var(--bg-hover); color: var(--text); }
.s-body .s-cta-ghost { border-color: rgba(237, 241, 245, .45); color: var(--text-nav); }
.s-body .s-cta-ghost:hover { background: var(--bg-nav-active); color: var(--text-nav); }
.s-body .s-jump { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--border-control); background: var(--bg-surface); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .15s; }
.s-body .s-jump:hover { background: var(--bg-hover); color: var(--text); }

/* ---------- header ---------- */
.s-header { position: sticky; top: 0; z-index: 1030; background: var(--bg-nav); color: var(--text-nav); font-family: var(--font-sans); }
html { scroll-padding-top: 84px; }
.s-header-in { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter) 10px; display: flex; align-items: center; gap: 12px 40px; }
.s-header-logo { display: inline-flex; align-items: center; min-height: 36px; }
.s-header-logo img { display: block; height: 22px; width: auto; }
.s-header-menu { flex: 1 1 auto; display: flex; align-items: center; gap: 12px 40px; }
.s-header-nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 0 28px; margin-left: 32px; }
.s-header-actions { display: flex; align-items: center; gap: 20px; }
.s-header .s-header-link { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-nav-muted); }
.s-header .s-header-link:hover, .s-header .s-header-link[aria-current="page"] { color: var(--white); }
.s-header .s-header-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.s-header .s-header-signin { color: var(--white); }
.s-header .s-header-demo { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 6px; background: var(--accent); color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; }
.s-header .s-header-demo:hover { color: var(--white); filter: brightness(.93); }
.s-header a:focus-visible, .s-menu-toggle:focus-visible { outline: 2px solid var(--focus-ring-on-nav); outline-offset: 2px; }
.s-menu-toggle { display: none; }

/* Phone and small tablet: the menu folds away behind a button */
@media (max-width: 800px) {
  html { scroll-padding-top: 72px; }
  .s-header-in { flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 10px; }
  .s-header-logo { min-height: 44px; }
  .s-menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--white); cursor: pointer; }
  @media (hover: hover) { .s-menu-toggle:hover { background: var(--bg-nav-active); } }
  .s-menu-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
  .s-menu-close { display: none; }
  .s-header.is-open .s-menu-open { display: none; }
  .s-header.is-open .s-menu-close { display: block; }
  .s-header-menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 20px; }
  .s-header.is-open .s-header-menu { display: flex; }
  .s-header-nav { flex-direction: column; margin-left: 0; gap: 0; }
  .s-header .s-header-link { min-height: 48px; font-size: 16px; border-bottom: 1px solid rgba(237, 241, 245, .1); }
  .s-header .s-header-link[aria-current="page"] { box-shadow: none; color: var(--white); }
  .s-header .s-header-link[aria-current="page"]::before { content: ""; width: 3px; height: 18px; margin-right: 12px; border-radius: 2px; background: var(--accent); }
  .s-header-actions { gap: 12px; }
  .s-header-actions .s-header-signin { display: none; }
  .s-header .s-header-demo { flex: 1 1 auto; justify-content: center; min-height: 44px; font-size: 15px; }
}

/* ---------- hero ---------- */
.s-hero { padding: 136px var(--gutter) 96px; }
.s-hero .s-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.s-hero .s-h1 { max-width: 860px; }
@media (max-width: 800px) { .s-hero { padding-top: 72px; padding-bottom: 56px; } }

/* ---------- navy hero ----------
   The navy runs from the menu bar through the hero and down behind the top
   of the screenshot. --band is where the screenshot's own navy band ends, as
   a fraction of its width (230 / 1280 for the webpage, 228 / 1280 for the
   experiment), measured in the 1280 × 800 render. All sizes come from the
   stage's width (cqw), so the offset holds at any viewport width. */
.s-stage { container-type: inline-size; }
.s-hero-navy { background: var(--bg-nav); color: var(--white); padding-top: 72px; padding-bottom: 104px; }
.s-hero-navy .s-h1 { color: var(--white); }
.s-hero-navy .s-lede { color: var(--text-nav-muted); }
.s-hero-navy .s-muted { color: var(--text-nav-muted); }
.s-hero-aside { text-align: right; }
@media (max-width: 900px) { .s-hero-aside { text-align: left; } }
.s-hero-navy .s-hl { color: var(--accent); }
.s-hero-navy a:focus-visible { outline-color: var(--focus-ring-on-nav); }
.s-body .s-hero-navy .s-cta-outline { background: transparent; border-color: rgba(237, 241, 245, .45); color: var(--text-nav); }
.s-body .s-hero-navy .s-cta-outline:hover { background: var(--bg-nav-active); color: var(--text-nav); }
.s-body .s-hero-navy .s-jump { background: transparent; border-color: rgba(237, 241, 245, .3); color: var(--text-nav); }
.s-body .s-hero-navy .s-jump:hover { background: var(--bg-nav-active); color: var(--text-nav); }
.s-hero-browser {
  --gutter-c: clamp(16px, 4cqw, 56px);
  --frame-w: min(1100px, calc(100cqw - 2 * var(--gutter-c)));
  --bar: 40px;
  --pad: 8px;
  --img-w: calc(var(--frame-w) - 2 * var(--pad) - 2px);
  /* The page's navy stops at the exact middle of the browser frame (bar,
     1px borders, a 1280 × 800 screenshot and the bottom padding), well past
     the screenshot's own navy band, so the two edges are clearly apart. */
  --edge: calc((var(--bar) + 2px + var(--img-w) * 0.625 + var(--pad)) / 2);
  padding: 0 var(--gutter-c);
  background: linear-gradient(to bottom, var(--bg-nav) 0, var(--bg-nav) var(--edge), transparent var(--edge));
}
.s-browser { width: var(--frame-w); margin: 0 auto; padding: 0 var(--pad) var(--pad); background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 32px 2px rgba(255, 255, 255, .14), 0 0 96px 12px rgba(255, 255, 255, .16), 0 40px 80px -24px rgba(14, 26, 56, .5); }
.s-browser-bar { display: flex; align-items: center; gap: 7px; height: var(--bar); padding: 0 6px; }
.s-browser-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--gray-300); }
.s-browser-url { margin-left: 14px; flex: 0 1 360px; min-width: 0; height: 24px; padding: 0 10px; border-radius: 6px; background: var(--bg-sunken); font-size: 12px; line-height: 24px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-browser-screen { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.s-browser-screen img { display: block; width: 100%; height: auto; }
@media (max-width: 800px) {
  .s-hero-navy { padding-top: 32px; padding-bottom: 64px; }
  .s-hero-browser { --bar: 24px; --pad: 4px; }
  .s-browser { border-radius: 8px; }
  .s-browser-bar { gap: 5px; }
  .s-browser-dot { width: 7px; height: 7px; }
  .s-browser-url { display: none; }
}

/* navy band with a green line, for pages without a screenshot in the hero */
.s-hero-band { border-bottom: 4px solid var(--accent); }

/* ---------- screenshots ---------- */
.s-shot { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-float); background: var(--bg-canvas); }
.s-hero-shot { padding: 0 var(--gutter); }
.s-hero-shot .s-shot { max-width: 1100px; margin: 0 auto; }
.s-caption { max-width: 1200px; margin: 28px auto 0; padding: 0 var(--gutter); text-align: center; font-size: 15px; color: var(--text-muted); }

/* ---------- feature rows ---------- */
.s-rows { display: flex; flex-direction: column; gap: 160px; }
.s-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 88px; }
.s-row-flip { flex-direction: row-reverse; justify-content: flex-end; }
.s-row-text { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.s-row-media { flex: 1 1 520px; max-width: 660px; min-width: 0; }
.s-checks { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.s-checks li { display: flex; gap: 10px; }
.s-checks .s-icon { color: var(--accent); margin-top: 4px; }

/* ---------- cards and grids ---------- */
.s-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); }
.s-card-float { box-shadow: var(--shadow-float); }
.s-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-card); }
.s-tiles-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.s-tile { background: var(--bg-surface); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; }
.s-tile h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.s-tile p { font-size: 15px; line-height: 24px; color: var(--text-muted); }
.s-tile-num { font: 500 28px/32px var(--font-display); font-feature-settings: "lnum", "tnum"; color: var(--accent); }
.s-tile .s-icon { color: var(--accent); }

.s-stat { display: flex; flex-direction: column; gap: 2px; }
.s-stat-label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-muted); }
.s-stat-value { font: 500 28px/32px var(--font-display); font-feature-settings: "lnum", "tnum"; }
.s-stat-hint { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.s-stats { display: flex; flex-wrap: wrap; gap: 24px 48px; }

.s-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 24px; }
.s-facts dt { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-muted); }
.s-facts dd { margin: 2px 0 0; }

/* case cards on the homepage */
.s-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.s-case-card { overflow: hidden; display: flex; flex-direction: column; }
.s-case-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.s-case-card-body { padding: 40px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.s-case-card-body .s-more { margin-top: auto; padding-top: 8px; }
.s-kicker { font-size: 14px; color: var(--text-muted); }

/* customer and partner logos under the hero */
.s-logos { padding: 112px var(--gutter) 0; }
.s-body .s-logos-title { max-width: 1200px; margin: 0 auto 28px; text-align: center; font-size: 14px; line-height: 20px; color: var(--gray-500); }
/* Logos sit on a shared text baseline: each img hangs whatever is below its
   text (descenders, subtitles) below the line with a negative bottom margin. */
.s-body .s-logos-row { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 32px; }
.s-logos-row li { display: flex; align-items: flex-end; }
.s-logos-row a { display: flex; align-items: flex-end; min-height: 44px; text-decoration: none; opacity: .55; transition: opacity .15s; }
.s-logos-row a:hover, .s-logos-row a:focus-visible { opacity: 1; }
.s-logos-row img { display: block; width: auto; }
@media (max-width: 800px) { .s-logos { padding-top: 80px; } .s-logos-row { justify-content: center; } }

/* compact case cards under "Why" on the homepage */
.s-cases-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 24px; }
.s-body a.s-case-mini { display: flex; gap: 24px; align-items: center; padding: 16px 24px 16px 16px; color: var(--text); text-decoration: none; transition: box-shadow .15s; }
.s-body a.s-case-mini:hover { box-shadow: var(--shadow-float); color: var(--text); }
.s-case-mini img { flex: none; width: 128px; height: 104px; object-fit: cover; border-radius: 6px; }
.s-case-mini h4 { margin: 4px 0 0; font: 500 18px/26px var(--font-display); }
.s-case-mini-more { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--accent); }
.s-body a.s-case-mini:hover .s-case-mini-more { text-decoration: underline; }
@media (max-width: 480px) { .s-case-mini img { width: 88px; height: 88px; } }

/* full case on the case studies page */
.s-case { overflow: hidden; display: flex; flex-wrap: wrap; scroll-margin-top: 24px; }
.s-case-flip { flex-direction: row-reverse; }
.s-case-text { flex: 1 1 520px; min-width: 0; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.s-case-text .s-h2-case { font: 500 clamp(24px, 2.4vw, 30px)/1.3 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.s-case-band { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.s-case-photo { flex: 1 1 400px; min-height: 360px; background: var(--bg-sunken); }
.s-case-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-case-screen { flex: 1 1 400px; min-height: 360px; background: var(--bg-sunken); display: flex; align-items: center; justify-content: center; padding: 32px; }
.s-case-screen img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-float); }
.s-quote blockquote { font: 400 19px/30px var(--font-sans); color: var(--text); }
.s-quote figcaption { margin-top: 10px; font-size: 15px; color: var(--text-muted); }
.s-quote strong { color: var(--text); font-weight: 600; }
.s-next { background: var(--bg-selected); border-radius: 10px; padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }

/* ---------- stack diagram (platform page) ---------- */
.s-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.25fr) 132px minmax(0, 1fr);
  grid-template-areas:
    ".    people people people .   "
    ".    .      vlink  .      .   "
    "site lsite  core   ldata  data";
  align-items: center;
}
.s-dg-people { grid-area: people; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s-dg-link-v { grid-area: vlink; }
.s-dg-site { grid-area: site; }
.s-dg-rel { display: none; }
.s-dg-link-site { grid-area: lsite; }
.s-dg-core { grid-area: core; }
.s-dg-link-data { grid-area: ldata; }
.s-dg-data { grid-area: data; }
.s-dg-node { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); padding: 24px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.s-dg-node h3, .s-dg-core h3 { font: 500 18px/26px var(--font-display); }
.s-dg-node p { font-size: 14px; line-height: 22px; color: var(--text-muted); }
.s-diagram .s-dg-site, .s-diagram .s-dg-data { height: auto; }
.s-dg-icon { color: var(--accent); display: inline-flex; }
.s-dg-icon .s-icon { width: 22px; height: 22px; }
.s-dg-core { background: var(--bg-nav); color: var(--white); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-float); }
.s-dg-core-name img { display: block; height: 22px; width: auto; }
.s-dg-core-part { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 1px solid rgba(237, 241, 245, .14); }
.s-dg-core-part .s-dg-icon { margin-top: 3px; }
.s-dg-core p { font-size: 14px; line-height: 22px; color: var(--text-nav-muted); }
.s-dg-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; font-size: 13px; line-height: 18px; color: var(--text-muted); text-align: center; }
.s-dg-arrow { display: block; width: 100%; height: 12px; fill: none; stroke: var(--border-control); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s-dg-arrow path { vector-effect: non-scaling-stroke; }
.s-dg-link-v { flex-direction: row; gap: 12px; padding: 12px 0; }
.s-dg-link-v .s-dg-arrow { width: 12px; height: 56px; }
.s-dg-arrow-v { display: none; }
.s-dg-link-v .s-dg-arrow-v, .s-dg-link-v .s-dg-arrow { display: block; }
.s-dg-chips { margin-top: 8px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.s-dg-chips li { padding: 3px 8px; border-radius: 4px; background: var(--bg-sunken); font-size: 12px; line-height: 18px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 960px) {
  /* One column: team and agents feed Contenzi; website and data each say how they connect to it. */
  .s-diagram { grid-template-columns: minmax(0, 1fr); grid-template-areas: "people" "vlink" "core" "site" "data"; gap: 0; }
  .s-dg-link-site, .s-dg-link-data { display: none; }
  .s-dg-site { margin-top: 24px; }
  .s-dg-data { margin-top: 16px; }
  .s-dg-rel { display: block; font-weight: 600; color: var(--text); }
}
@media (max-width: 560px) { .s-dg-people { grid-template-columns: minmax(0, 1fr); } }

/* one block, many variations (platform page) */
.s-variants { display: flex; align-items: center; gap: 20px; padding: 32px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-float); }
.s-var-block { flex: 0 0 200px; padding: 20px; border: 1.5px dashed var(--border-control); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }
.s-var-tag { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.s-var-line { height: 10px; border-radius: 4px; background: var(--bg-sunken); }
.s-var-line-lg { height: 56px; }
.s-var-fields { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.s-var-fields span { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--green-50); border: 1px solid var(--green-100); font: 600 12px/18px var(--font-sans); color: var(--text); }
.s-var-data { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.s-var-data .s-icon { width: 16px; height: 16px; }
.s-var-arrow { flex: none; width: 48px; height: 12px; fill: none; stroke: var(--border-control); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-var-list { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.s-var-card { padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-canvas); display: flex; flex-direction: column; gap: 2px; }
.s-var-who { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.s-var-what { font: 500 16px/22px var(--font-display); }
.s-var-more { padding-left: 16px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 640px) {
  .s-variants { flex-direction: column; align-items: stretch; padding: 20px; }
  .s-var-block { flex: none; }
  .s-var-arrow { transform: rotate(90deg); align-self: center; margin: 12px 0; }
}

/* ---------- tables ---------- */
.s-table-box { position: relative; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; overflow-x: auto; box-shadow: var(--shadow-card); }
.s-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 24px; }
.s-table th { text-align: left; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-muted); background: var(--bg-sunken); padding: 10px 16px; }
.s-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.s-table .s-group td { background: var(--bg-sunken); font-weight: 600; color: var(--text-muted); font-size: 14px; padding-top: 10px; padding-bottom: 10px; }
.s-table .s-yes { color: var(--accent); display: inline-flex; }
.s-table .s-yes .s-icon { width: 22px; height: 22px; stroke-width: 3; }
.s-table .s-no { color: var(--gray-500); }
.s-cell-title { display: block; font-weight: 600; }
.s-cell-sub { display: block; font-size: 13px; line-height: 18px; color: var(--text-muted); }
.s-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; font-size: 13px; line-height: 18px; font-weight: 600; background: var(--bg-selected); color: var(--text-accent); }
.s-badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.s-actor { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.s-actor-avatar { width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.s-panel-head { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.s-panel-head h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.s-panel-head p { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.s-history { list-style: none; padding: 0 24px 12px; font-size: 14px; line-height: 20px; }
.s-history li { display: flex; gap: 8px 20px; padding: 14px 0; border-top: 1px solid var(--border); align-items: baseline; flex-wrap: wrap; }
.s-history-date { flex: 0 0 56px; color: var(--text-muted); }
.s-history-title { flex: 1 1 240px; min-width: 0; }
.s-chips { flex: 1 1 480px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.s-chips li { padding: 10px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 6px; font-weight: 600; font-size: 15px; }

/* ---------- pricing ---------- */
.s-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.s-plan { padding: 40px 36px; display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow-float); }
.s-plan h2 { font: 500 24px/32px var(--font-display); }
.s-plan-desc { font-size: 15px; line-height: 24px; color: var(--text-muted); }
.s-plan-label { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.s-tiers { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-sunken); border-radius: 10px; align-self: flex-start; }
.s-tiers button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.s-tiers button[aria-pressed="true"] { background: var(--bg-surface); color: var(--text); box-shadow: var(--shadow-card); }
.s-price { font: 500 44px/52px var(--font-display); font-feature-settings: "lnum", "tnum"; letter-spacing: -0.01em; }
.s-price-note { font-size: 14px; color: var(--text-muted); }
.s-plan .s-checks { padding-top: 20px; border-top: 1px solid var(--border); font-size: 15px; line-height: 24px; }
.s-faq details { border-bottom: 1px solid var(--border); }
.s-faq details:last-child { border-bottom: 0; }
.s-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary .s-icon { color: var(--text-muted); transition: transform .15s; }
.s-faq details[open] summary .s-icon { transform: rotate(180deg); }
.s-faq details p { padding: 0 24px 20px; color: var(--text-muted); }

/* ---------- navy call to action ---------- */
.s-band { margin-top: 176px; background: var(--bg-nav); border-top: 4px solid var(--accent); padding: 120px var(--gutter); }
.s-band .s-wrap { display: flex; flex-wrap: wrap; gap: 48px 96px; align-items: center; justify-content: space-between; }
.s-band-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.s-band h2 { color: var(--white); }
.s-band p { max-width: 560px; font-size: 18px; line-height: 28px; color: var(--text-nav-muted); }
.s-band .s-band-small { font-size: 16px; line-height: 26px; }
.s-band a:not(.s-cta) { color: #3fca90; font-weight: 600; }
.s-band a:focus-visible, .s-band button:focus-visible, .s-band input:focus-visible { outline-color: var(--focus-ring-on-nav); }
.s-band-form { flex: 1 1 360px; max-width: 460px; display: flex; flex-direction: column; gap: 8px; }
.s-band-form label { font-weight: 600; color: var(--text-nav); }
.s-band-form .s-field-row { display: flex; gap: 8px; flex-wrap: wrap; }
.s-band-form input[type="email"] { flex: 1 1 220px; min-height: 44px; padding: 0 14px; border: 1px solid var(--white); border-radius: 6px; background: var(--white); color: var(--text); font: 400 16px/1 var(--font-sans); }
.s-band-form .s-band-note { font-size: 14px; color: var(--text-nav-muted); }
.s-band .form-error { color: var(--white); font-weight: 600; }
.s-band .form-error a { color: var(--white); }
.s-band-done { color: var(--white); font-size: 18px; }

/* ---------- footer ---------- */
.s-footer { background: var(--bg-surface); border-top: 1px solid var(--border); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 24px; }
.s-footer-in { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 80px var(--gutter) 40px; display: flex; flex-direction: column; gap: 48px; }
.s-footer-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.s-footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.s-footer-brand img { display: block; height: 24px; width: auto; }
.s-footer-brand p { margin: 0; max-width: 300px; color: var(--text-muted); }
.s-footer a.s-footer-mail { color: var(--accent); font-weight: 600; text-decoration: none; }
.s-footer nav { flex: 0 1 160px; display: flex; flex-direction: column; gap: 8px; }
.s-footer nav span { font-weight: 600; color: var(--text-muted); }
.s-footer nav a { color: var(--text); text-decoration: none; }
.s-footer nav a:hover { color: var(--accent); }
.s-footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 800px) {
  .s-section { padding-top: 112px; }
  .s-rows { gap: 96px; }
  .s-band { margin-top: 112px; padding-top: 80px; padding-bottom: 80px; }
}
/* ---------- about page ---------- */
/* About page */
.s-about-why { padding: clamp(28px, 5vw, 64px); }
.s-about-why .s-row { gap: 40px 72px; }
.s-offices { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.s-office { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.s-office address { font-style: normal; color: var(--text-muted); margin: 0; }
.s-office .s-more { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
.s-body .s-partners-row { margin-top: 56px; justify-content: flex-start; gap: 32px 64px; }
.s-partners-row li { opacity: .7; }
.s-body .s-partners-join { margin-top: 56px; }
.s-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 800px) { .s-body .s-partners-row { justify-content: center; } }

/* ---------- demo request, confirmation and 404 pages ---------- */
/* Demo request form, thank-you page and 404 */
.s-form-card { max-width: 1200px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 40px 72px; box-shadow: var(--shadow-float); }
.s-form-card .s-form { flex: 1 1 460px; min-width: 0; }
.s-form-aside { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.s-form-aside h2 { font: 500 20px/28px var(--font-display); }
.s-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; align-content: start; }
.s-field { display: flex; flex-direction: column; gap: 6px; }
.s-field-full { grid-column: 1 / -1; }
.s-field label { font-weight: 600; font-size: 15px; line-height: 22px; }
.s-field .s-optional { font-weight: 400; color: var(--text-muted); }
.s-input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border-control); border-radius: 6px; background: var(--bg-surface); color: var(--text); font: 400 16px/24px var(--font-sans); }
textarea.s-input { min-height: 120px; resize: vertical; }
.s-body .s-input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--focus-ring); }
.s-form .s-cta { justify-self: start; }
.s-form .form-error { grid-column: 1 / -1; margin: 0; }
.s-links { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .s-form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- privacy, cookie and disclaimer pages ---------- */
/* Legal pages: hero band, overlapping text card and shared prose styles.
   .s-legal-text can be reused for any long-form text (blog posts). */

.s-legal-hero { padding-bottom: 136px; }
.s-legal { padding: 0 var(--gutter) 128px; margin-top: -72px; }
.s-legal-card { max-width: 820px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) clamp(20px, 6vw, 56px); }

.s-legal-text { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 29px; color: var(--text); overflow-wrap: break-word; }
.s-legal-text > * + * { margin-top: 18px; }
.s-legal-text h2 { font: 500 clamp(22px, 2.2vw, 26px)/1.3 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.s-legal-text h3 { font: 500 19px/28px var(--font-display); }
.s-legal-text h4 { font: 600 17px/26px var(--font-sans); color: inherit; margin-bottom: 0; }
.s-legal-text > h2 { margin-top: 52px; }
.s-legal-text > h3 { margin-top: 36px; }
.s-legal-text > h4 { margin-top: 28px; }
.s-legal-text > :first-child { margin-top: 0; }
.s-legal-text h2 + *, .s-legal-text h3 + *, .s-legal-text h4 + * { margin-top: 12px; }
.s-legal-text ul, .s-legal-text ol { padding-left: 24px; }
.s-legal-text li + li { margin-top: 8px; }
.s-legal-text li::marker { color: var(--accent); }
.s-legal-text strong { font-weight: 600; }
.s-body .s-legal-text a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.s-body .s-legal-text a:hover { color: var(--accent); }
.s-legal-text blockquote { padding-left: 20px; border-left: 2px solid var(--border); color: var(--text-muted); }
.s-legal-text img { height: auto; border-radius: 10px; }
.s-legal-text code { font-size: .9em; padding: 2px 5px; border-radius: 4px; background: var(--bg-sunken); }
.s-legal-text pre { padding: 16px; border-radius: 10px; background: var(--bg-sunken); overflow-x: auto; font-size: 14px; line-height: 22px; }
.s-legal-text pre code { padding: 0; background: none; }
.s-legal-text hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.s-legal-text table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 24px; display: block; overflow-x: auto; }
.s-legal-text th { text-align: left; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-muted); background: var(--bg-sunken); padding: 10px 16px; }
.s-legal-text td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }

@media (max-width: 800px) {
  .s-legal-hero { padding-bottom: 104px; }
  .s-legal { padding-bottom: 88px; margin-top: -56px; }
  .s-legal-text { font-size: 16px; line-height: 27px; }
}

/* ---------- blog overview ---------- */
/* Blog overview: post card grid and pagination */
.s-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 32px; }
.s-postcard { overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s; }
.s-postcard:hover { box-shadow: var(--shadow-float); }
.s-postcard-cover { display: block; aspect-ratio: 16 / 9; background: var(--bg-sunken); border-bottom: 1px solid var(--border); }
.s-postcard-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-postcard-body { padding: 28px 32px 36px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.s-postcard-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.s-postcard-title { font: 500 20px/29px var(--font-display); letter-spacing: -0.005em; }
.s-body .s-postcard-title a { color: var(--text); text-decoration: none; }
.s-body .s-postcard-title a::after { content: ""; position: absolute; inset: 0; }
.s-body .s-postcard:hover .s-postcard-title a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.s-postcard-abstract { font-size: 15px; line-height: 24px; color: var(--text-muted); }
.s-pager { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; }
.s-body .s-pager-pages { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; }
.s-pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-surface); font-weight: 600; font-size: 15px; }
.s-body a.s-pager-num { color: var(--text); text-decoration: none; }
.s-body a.s-pager-num:hover { background: var(--bg-hover); color: var(--text); }
.s-pager-num[aria-current="page"] { background: var(--bg-nav); border-color: var(--bg-nav); color: var(--white); }

/* ---------- blog post layout ---------- */
/* Blog post layout (_layouts/blogpost.html). Uses the tokens from site.css. */

.s-post-hero { padding-bottom: 136px; }
.s-post-hero .s-wrap { gap: 24px; }
.s-post-title { font-size: clamp(32px, 4vw, 48px); max-width: 900px; }
.s-post-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; line-height: 24px; color: var(--text-nav-muted); }

.s-post-layout { padding: 0 var(--gutter); }
.s-post-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 280px); justify-content: space-between; gap: 64px 80px; align-items: start; }
.s-post-main { min-width: 0; margin-top: -72px; }
.s-post-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-sunken); box-shadow: var(--shadow-float); }
.s-post-back { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }

/* sidebar */
.s-post-side { padding-top: 64px; display: flex; flex-direction: column; gap: 48px; }
@media (min-width: 1025px) { .s-post-side { position: sticky; top: 100px; } }
.s-body .s-post-side-title { font: 500 18px/26px var(--font-display); margin-bottom: 16px; }
.s-body .s-share { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-body .s-share a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-surface); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.s-body .s-share a:hover { background: var(--bg-hover); color: var(--text); }
.s-share .s-icon { color: var(--accent); }
.s-body .s-recent { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.s-body .s-recent a { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; color: var(--text); text-decoration: none; }
.s-recent img { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-sunken); }
.s-recent-title { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.s-body .s-recent a:hover .s-recent-title { color: var(--accent); }
.s-recent-date { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--text-muted); }

.s-post-band { margin-top: 144px; }

@media (max-width: 1024px) {
  .s-post-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .s-post-side { padding-top: 0; flex-direction: row; flex-wrap: wrap; gap: 48px 64px; }
  .s-post-side-block { flex: 1 1 280px; }
}
@media (max-width: 800px) {
  .s-post-hero { padding-bottom: 96px; }
  .s-post-main { margin-top: -48px; }
  .s-post-band { margin-top: 96px; }
}

/* ---------- article body ---------- */
.s-prose { margin-top: 56px; font-size: 18px; line-height: 30px; color: var(--text); overflow-wrap: break-word; }
.s-prose > :first-child { margin-top: 0; }
.s-body .s-prose p, .s-body .s-prose ul, .s-body .s-prose ol, .s-body .s-prose blockquote, .s-body .s-prose pre, .s-body .s-prose table, .s-body .s-prose figure { margin: 0 0 24px; }
.s-body .s-prose h2 { margin: 56px 0 16px; font: 500 clamp(24px, 2.4vw, 30px)/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.s-body .s-prose h3, .s-body .s-prose h4 { margin: 40px 0 12px; font: 500 21px/30px var(--font-display); color: var(--text); }
.s-body .s-prose h5, .s-body .s-prose h6 { margin: 32px 0 8px; font: 600 18px/28px var(--font-sans); color: var(--text); }
.s-body .s-prose h2 + h3, .s-body .s-prose h2 + h4 { margin-top: 24px; }
.s-body .s-prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.s-body .s-prose a:hover { color: var(--accent); }
.s-body .s-prose strong { font-weight: 600; }
.s-body .s-prose ul, .s-body .s-prose ol { padding-left: 1.4em; }
.s-body .s-prose li { margin-bottom: 8px; padding-left: 4px; }
.s-body .s-prose li > ul, .s-body .s-prose li > ol { margin: 8px 0 0; }
.s-prose ul li::marker { color: var(--accent); }
.s-prose ol li::marker { color: var(--accent); font-weight: 600; font-feature-settings: "lnum", "tnum"; }
.s-body .s-prose blockquote { padding: 4px 0 4px 24px; border-left: 2px solid var(--border); font: 400 21px/34px var(--font-display); color: var(--text); }
.s-body .s-prose blockquote p:last-child { margin-bottom: 0; }
.s-body .s-prose img { display: block; height: auto; margin: 40px auto; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-surface); }
.s-body .s-prose p > img:only-child { margin: 16px auto; }
/* image with a caption below it, written as inline HTML in a few posts */
.s-body .s-prose > div[style] { margin: 40px 0 !important; }
.s-body .s-prose > div > img { margin: 0 auto 12px; }
.s-body .s-prose > div > img + p { margin: 0 !important; font-size: 14px !important; line-height: 22px; color: var(--text-muted) !important; text-align: center; }
.s-body .s-prose sub, .s-body .s-prose sup { font-size: 14px; line-height: 20px; vertical-align: baseline; color: var(--text-muted); }
.s-body .s-prose hr { margin: 48px 0; border: 0; border-top: 1px solid var(--border); opacity: 1; }

.s-body .s-prose code { padding: 2px 6px; border-radius: 4px; background: var(--bg-sunken); color: var(--text); font-size: .85em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.s-body .s-prose pre { padding: 20px 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-surface); overflow-x: auto; font-size: 14px; line-height: 22px; }
.s-body .s-prose pre code { padding: 0; background: none; font-size: inherit; white-space: pre; }
.s-body .s-prose .highlighter-rouge, .s-body .s-prose .highlight { margin: 0 0 24px; background: none; }
.s-body .s-prose .highlight pre { margin: 0; }

.s-body .s-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-surface); }
.s-prose th { text-align: left; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-muted); background: var(--bg-sunken); padding: 10px 16px; }
.s-prose td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }

@media (max-width: 800px) {
  .s-prose { margin-top: 40px; font-size: 17px; line-height: 28px; }
  .s-body .s-prose h2 { margin-top: 48px; }
  .s-body .s-prose blockquote { font-size: 19px; line-height: 30px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .s-cta, .s-jump, .s-faq summary .s-icon { transition: none; }
}
