/* Content pages: the live site's own markup and site.css (its layouts), recoloured into this design.
   site.css draws with --site-* tokens; here they point at this site's tokens, so both themes follow.
   Rules are prefixed with "html:root body.marketing" to sit above site.css's theme rules. */

body.marketing {
  --font-family: var(--font-ui);
  --site-ink: var(--strong);
  --site-muted: var(--muted);
  --site-paper: var(--panel);
  --site-alt: var(--panel-2);
  --site-line: var(--line);
  --site-dark: var(--console-bg);
  --site-orange: var(--faint); /* site.css draws borders and bars with it; primary buttons and selected bars set var(--orange) below */
  --site-orange-ink: var(--accent-ink);
  --site-orange-pale: var(--sel);
  --site-radius: var(--r-md);
  --site-shadow: var(--shadow);
  --site-header: var(--topbar);
  --site-dark-surface: var(--panel);
  --site-dark-raised: var(--panel-2);
  --site-dark-alt: var(--panel-2);
  --site-dark-line: var(--line);
  --site-dark-muted: var(--muted);
  --site-dark-ink: var(--ink);
  --site-dark-ink-soft: var(--muted);
  --site-dark-orange-ink: var(--accent-ink);
  --site-dark-orange-pale: var(--sel);
  --site-dark-orange-line: var(--sel-edge);
  --text-primary: var(--ink);
  --text-strong: var(--strong);
  --text-secondary: var(--muted);
  --focus-ring: var(--focus);
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

html:root body.marketing .page-content :is(h1, h2, h3, h4) { color: var(--strong); letter-spacing: -.02em; text-wrap: balance; }
html:root body.marketing .page-content h2 { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.375rem); line-height: 1.15; font-weight: 750; }
html:root body.marketing .page-content h3 { font-size: 1.1875rem; line-height: 1.35; font-weight: 700; }
html:root body.marketing .page-content p { color: var(--muted); }
html:root body.marketing .page-content strong { color: var(--strong); }
html:root body.marketing .page-content a:not([class]) { color: var(--link); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--link-line); text-underline-offset: 4px; }
html:root body.marketing .page-content a:not([class]):hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
html:root body.marketing .page-content a:not([class]):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* sections: stacked blocks with a hairline, never full-bleed bands */
html:root body.marketing .page-content .section,
html:root body.marketing .page-content > section {
  padding-block: 0 clamp(36px, 4vw, 48px); margin-bottom: clamp(36px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: transparent; color: inherit;
}
html:root body.marketing .page-content > section:last-child { border-bottom: 0; margin-bottom: 0; }
/* a section ends at its content: no trailing margin adds to the gap before the hairline */
html:root body.marketing .page-content > section > :last-child,
html:root body.marketing .page-content > section > :last-child > :last-child { margin-bottom: 0; }
html:root body.marketing .page-content .section-heading { max-width: 70ch; margin-bottom: 28px; }
/* a heading with its intro beside it uses the full column, so the intro is not squeezed into a narrow strip */
@media (min-width: 761px) {
  html:root body.marketing .page-content .section-heading:is(:has(> h2), :has(> div)) { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); }
  html:root body.marketing .page-content .section-heading:is(:has(> h2), :has(> div)) > p { max-width: 62ch; }
}
html:root body.marketing .page-content .section-heading > p { margin-top: 14px; }
html:root body.marketing .page-content .split { gap: 40px; }
html:root body.marketing .page-content .stack { gap: 14px; }

/* the page head's buttons become this site's buttons */
html:root body.marketing :is(.page-head, .page-content) .button {
  min-height: 44px; padding: 0 20px; border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 750;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease);
}
html:root body.marketing :is(.page-head, .page-content) .button.primary { background: var(--orange); border-color: var(--orange); color: var(--on-orange); box-shadow: var(--shadow-sm); }
html:root body.marketing :is(.page-head, .page-content) .button.primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); transform: translateY(-1px); }
html:root body.marketing :is(.page-head, .page-content) .button:is(.secondary, .quiet) { background: transparent; border-color: var(--line-strong); color: var(--strong); }
html:root body.marketing :is(.page-head, .page-content) .button:is(.secondary, .quiet):hover { border-color: var(--accent-ink); background: var(--sel-soft); }
html:root body.marketing :is(.page-head, .page-content) .button:active { transform: translateY(1px); }
html:root body.marketing :is(.page-head, .page-content) .text-link {
  padding: 0; border: 0; color: var(--link); font-size: .9375rem; font-weight: 750;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--link-line);
}
html:root body.marketing :is(.page-head, .page-content) .text-link:hover { color: var(--link); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
html:root body.marketing :is(.page-head, .page-content) .text-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
html:root body.marketing .page-head .actions { margin-top: 28px; }

/* surfaces */
html:root body.marketing .page-content :is(.card, .callout, .callout.neutral, .launch-card, .install-panel, .site-license, .aside, .empty-state, .price-card, .capability-stage) {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); color: var(--ink); box-shadow: none;
}
html:root body.marketing .page-content .callout { background: var(--sel-soft); border-color: var(--sel-edge); }
html:root body.marketing .page-content .callout.neutral { background: var(--panel-2); border-color: var(--line); }
html:root body.marketing .page-content .tag {
  border: 0; border-radius: 6px; background: var(--sel); color: var(--accent-ink); font-size: .75rem; font-weight: 700; padding: 3px 8px;
}
html:root body.marketing .page-content .feature-note { color: var(--faint); }
html:root body.marketing .page-content .flow-strip > div { border-top: 2px solid var(--sel-edge); }
html:root body.marketing .page-content .cta-band { border: 1px solid var(--console-line); background: var(--console-bg); }

/* screenshots: the product on a dotted canvas */
html:root body.marketing .page-content .shot { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: none; }
html:root body.marketing .page-content .shot-media { background: radial-gradient(var(--canvas-dot) 1px, transparent 1.2px) 0 0 / 18px 18px, var(--panel-2); padding: 20px 20px 0; }
html:root body.marketing .page-content .shot-media img { border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; }
html:root body.marketing .page-content :is(.shot-caption, .shot > figcaption) { border-top: 1px solid var(--line); background: var(--panel); }
html:root body.marketing .page-content .shot-area { color: var(--faint); font-size: .8125rem; font-weight: 600; }
html:root body.marketing .page-content .shot-open { border-bottom-color: var(--sel-edge); color: var(--accent-ink); }
html:root body.marketing .page-content .gallery-thumb { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); color: var(--ink); overflow: clip; }
html:root body.marketing .page-content .gallery-thumb:is([aria-pressed="true"], [aria-current="true"], [aria-selected="true"]) { border-color: transparent; background: var(--sel); box-shadow: none; position: relative; }
html:root body.marketing .page-content .gallery-thumb:is([aria-pressed="true"], [aria-current="true"], [aria-selected="true"])::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); z-index: 2; }

/* disclosure rows: a list card */
html:root body.marketing .page-content :is(.story-list, .faq-list) { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 0 20px; }
html:root body.marketing .page-content :is(.story-list > details, .faq-list > details, .disclosure) { border-color: var(--rule); }
html:root body.marketing .page-content :is(.story-list > details:last-child, .faq-list > details:last-child) { border-bottom: 0; }
html:root body.marketing .page-content :is(.story-list, .faq-list, .disclosure) summary { color: var(--strong); font-weight: 700; padding-block: 18px; }
html:root body.marketing .page-content :is(.story-list, .faq-list, .disclosure) summary::after { color: var(--accent-ink); }

/* tables */
html:root body.marketing .page-content .table-scroll { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
html:root body.marketing .page-content .comparison-table { color: var(--ink); }
html:root body.marketing .page-content .comparison-table :is(th, td) { border-bottom: 1px solid var(--rule); padding: 14px 18px; font-size: .9375rem; }
html:root body.marketing .page-content .comparison-table thead th { position: sticky; top: 0; background: var(--panel-2); color: var(--strong); }
html:root body.marketing .page-content .comparison-table .group-row th { background: var(--panel-2); color: var(--faint); font-size: .8125rem; font-weight: 650; }
html:root body.marketing .page-content .comparison-table tbody tr:hover > * { background: var(--hover); }
html:root body.marketing .page-content .comparison-table .yes { color: var(--green-ink); }
html:root[data-theme="light"] body.marketing .page-content .comparison-table .yes { color: #157a3a; }
html:root body.marketing .page-content .comparison-table .no { color: var(--faint); }

/* pricing page cards */
html:root body.marketing .page-content .price-card { padding: 24px; }
html:root body.marketing .page-content .price-card.featured { border-color: var(--sel-edge); background: var(--panel); }
html:root body.marketing .page-content .price-amount { color: var(--strong); }
html:root body.marketing .page-content :is(.price-sub, .price-unit, .price-for, .list-lead) { color: var(--faint); }
html:root body.marketing .page-content .checklist li::before { color: var(--accent-ink); border-color: var(--accent-ink); }
html:root body.marketing .page-content .period-switch button { border-radius: 999px; color: var(--muted); }
html:root body.marketing .page-content .period-switch button:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"]) { background: var(--panel); color: var(--strong); box-shadow: 0 1px 2px #0000002e, inset 0 0 0 1px var(--line); }

/* capability explorer: its chapter list takes the product's selected state */
html:root body.marketing .page-content .capability-tour { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
html:root body.marketing .page-content .capability-chapters { top: calc(var(--topbar) + 20px); background: var(--panel-2); border-color: var(--line); }
html:root body.marketing .page-content .capability-chapter { position: relative; border: 0; border-radius: var(--r-sm); color: var(--muted); }
html:root body.marketing .page-content .capability-chapter:hover { background: var(--hover); }
html:root body.marketing .page-content .capability-chapter:is([aria-selected="true"], [aria-pressed="true"]) { background: var(--sel); color: var(--strong); box-shadow: none; }
html:root body.marketing .page-content .capability-chapter:is([aria-selected="true"], [aria-pressed="true"])::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); animation: bar-in var(--t-med) var(--ease); }
html:root body.marketing .page-content .capability-chapter small { color: var(--faint); }
html:root body.marketing .page-content .capability-stage:is([aria-pressed="true"], .is-active) { background: var(--sel); border-color: var(--sel-edge); color: var(--strong); box-shadow: none; }
html:root body.marketing .page-content .capability-stage:is([aria-pressed="true"], .is-active) :is(span, small) { color: var(--muted); }
html:root body.marketing .page-content .capability-focus { border-left: 0; border-radius: var(--r-md); background: var(--sel-soft); position: relative; }
html:root body.marketing .page-content .capability-focus::before { content: ""; position: absolute; left: 0; top: .6rem; bottom: .6rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
html:root body.marketing .page-content .capability-entry { border-color: var(--rule); }
html:root body.marketing .page-content :is(.capability-searchbar, .capability-meta) { border-color: var(--line); }

/* forms in content */
html:root body.marketing .page-content :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--panel-2); color: var(--strong);
}
html:root body.marketing .page-content :is(input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
html:root body.marketing .page-content :is(.field, .search-field, .check-field) { color: var(--ink); }

/* videos */
html:root body.marketing .page-content .video-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: clip; transition: border-color var(--t-fast) ease, transform var(--t-med) var(--ease); }
html:root body.marketing .page-content .video-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
html:root body.marketing .page-content .video-play-icon { background: var(--orange); color: var(--on-orange); }

/* legal documents read as one column */
html:root body.marketing .page-content .prose { max-width: 72ch; }
html:root body.marketing .page-content .prose :is(p, li) { color: var(--ink); }
html:root body.marketing .page-content .prose h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.5rem; scroll-margin-top: calc(var(--topbar) + 20px); }

@media (max-width: 860px) {
  html:root body.marketing .page-content :is(.split, .cards, .cards.two, .cards.four, .flow-strip) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* the page head wins over site.css's own hero sizes */
html:root body.marketing .page-head h1 { max-width: 20ch; color: var(--strong); font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem); font-weight: 750; line-height: 1.02; letter-spacing: -.04em; }
html:root body.marketing .page-head h1 span { color: inherit; }
html:root body.marketing .page-head .lede, html:root body.marketing .page-head > p { max-width: 64ch; margin-top: 20px; color: var(--muted); font-size: 1.125rem; }
html:root body.marketing .page-head .feature-note { color: var(--faint); font-size: .9375rem; }
html:root body.marketing .foot h2 { font-size: .9375rem; letter-spacing: 0; }

/* site.css draws its own header logos; only the one for the current theme shows here */
html:root[data-theme="dark"] body.marketing .logo-light,
html:root[data-theme="light"] body.marketing .logo-dark { display: none; }
html:root body.marketing .brand img, html:root body.marketing .foot-brand img { width: 171px; height: 32px; max-width: none; }
@media (max-width: 720px) { html:root body.marketing .brand img { width: 139px; height: 26px; } }

/* site.css underlines every link in a list item; the app chrome and list cards are not prose */
html:root body.marketing :is(.topbar, .jump, .list-card, .foot, .palette, .menu-panel) li a,
html:root body.marketing :is(.topbar, .jump, .foot) a { text-decoration: none; }

/* "dark" sections on the live site are ordinary sections here: same surface, same ink, in both themes */
html:root body.marketing .page-content .section.dark { background: transparent; color: inherit; }
html:root body.marketing .page-content .section.dark :is(h2, h3, strong) { color: var(--strong); }
html:root body.marketing .page-content .section.dark :is(p, .feature-note) { color: var(--muted); }
html:root body.marketing .page-content .section.dark :is(.card, .callout) { background: var(--panel); border-color: var(--line); color: var(--ink); }
html:root body.marketing .page-content .section.dark .text-link { color: var(--link); }
html:root body.marketing .page-content .section.dark .tag { background: var(--sel); color: var(--accent-ink); }

/* screenshot galleries: one viewer, not thumbnails over a second copy of the same picture.
   The views are a list on the left (the product's selected state), the picture fills the right. */
html:root body.marketing .page-content .product-gallery {
  display: grid; grid-template-columns: minmax(0, 236px) minmax(0, 1fr);
  grid-template-areas: "views stage" "pager stage" "status stage";
  grid-template-rows: auto auto 1fr;
  margin-block: 24px 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); overflow: clip;
}
html:root body.marketing .page-content .gallery-thumbs {
  grid-area: views; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
  margin: 0; padding: 10px; border-right: 1px solid var(--line);
}
html:root body.marketing .page-content .gallery-thumb {
  position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px;
  padding: 8px 12px 8px 16px; border: 0; border-radius: var(--r-sm); background: transparent; box-shadow: none;
  color: var(--muted); text-align: left; cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
html:root body.marketing .page-content .gallery-thumb img { display: none; }
html:root body.marketing .page-content .gallery-thumb span { position: static; padding: 0; background: none; color: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
html:root body.marketing .page-content .gallery-thumb:hover { background: var(--hover); color: var(--ink); }
html:root body.marketing .page-content .gallery-thumb[aria-pressed="true"] { background: var(--sel); color: var(--strong); }
html:root body.marketing .page-content .gallery-thumb[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); animation: bar-in var(--t-med) var(--ease); }
html:root body.marketing .page-content .gallery-controls { grid-area: pager; display: grid; gap: 8px; padding: 4px 14px 12px; border-right: 1px solid var(--line); color: var(--faint); font-size: .8125rem; }
html:root body.marketing .page-content .gallery-controls > div { display: flex; gap: 6px; }
html:root body.marketing .page-content .gallery-controls .button { min-height: 34px; padding: 0 10px; font-size: .8125rem; }
html:root body.marketing .page-content .gallery-status { grid-area: status; margin: 0; border-right: 1px solid var(--line); }
html:root body.marketing .page-content .gallery-stage { grid-area: stage; min-width: 0; }
html:root body.marketing .page-content .gallery-stage .shot { margin: 0; border: 0; border-radius: 0; }
html:root body.marketing .page-content .gallery-stage .shot-media { padding: 24px 24px 0; }
html:root body.marketing .page-content .gallery-stage :is(.shot-caption, .shot > figcaption) { padding: 16px 24px; }

/* in a narrow column the views become a tab row on top of the same frame */
html:root body.marketing .page-content .split .product-gallery,
html:root body.marketing .page-content .stack .product-gallery {
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "views" "stage" "pager" "status"; grid-template-rows: auto;
}
html:root body.marketing .page-content :is(.split, .stack) .gallery-thumbs {
  grid-auto-flow: column; grid-auto-columns: max-content; grid-template-columns: none;
  overflow-x: auto; scrollbar-width: none; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line);
}
html:root body.marketing .page-content :is(.split, .stack) .gallery-thumb { min-height: 38px; padding: 6px 12px; }
html:root body.marketing .page-content :is(.split, .stack) .gallery-thumb[aria-pressed="true"]::before { display: none; }
html:root body.marketing .page-content :is(.split, .stack) :is(.gallery-controls, .gallery-status) { border-right: 0; }
@media (max-width: 900px) {
  html:root body.marketing .page-content .product-gallery { grid-template-columns: minmax(0, 1fr); grid-template-areas: "views" "stage" "pager" "status"; grid-template-rows: auto; }
  html:root body.marketing .page-content .gallery-thumbs { grid-auto-flow: column; grid-auto-columns: max-content; grid-template-columns: none; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); }
  html:root body.marketing .page-content .gallery-thumb[aria-pressed="true"]::before { display: none; }
  html:root body.marketing .page-content :is(.gallery-controls, .gallery-status) { border-right: 0; }
}

/* pricing: the page is wide content, so its "On this page" list sits on top as a sticky tab row,
   and each edition is a wide card: name, price and button on the left, what it includes on the right */
html:root body.page-pricing { --px-bar: 57px; }
html:root body.page-pricing .page-body { display: block; }
html:root body.marketing.page-pricing .page-content > #editions { padding-top: 0; }
html:root body.page-pricing .jump {
  position: sticky; top: var(--topbar); z-index: 40;
  max-height: none; overflow: visible;
  margin-bottom: clamp(24px, 3vw, 36px); padding-block: 10px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--bg) 90%, transparent);
  clip-path: inset(0 -100vmax);
}
html:root body.page-pricing .jump-title { display: none; }
html:root body.page-pricing .jump .list-card {
  display: flex; gap: 2px; padding: 0; border: 0; background: transparent;
  overflow-x: auto; scrollbar-width: none;
}
html:root body.page-pricing .jump .list-card > li + li { border-top: 0; }
html:root body.page-pricing .jump a { min-height: 36px; padding: 0 12px 0 14px; white-space: nowrap; }

/* pricing: the way into the comparison, right under the edition cards */
html:root body.marketing.page-pricing .page-content .compare-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 16px; padding: 16px 20px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
}
html:root body.marketing.page-pricing .page-content .compare-strip p { margin: 0; color: var(--muted); }
html:root body.marketing.page-pricing .page-content .compare-strip strong { color: var(--strong); font-weight: 700; }
html:root body.marketing.page-pricing .page-content .compare-strip .button { display: inline-flex; align-items: center; gap: 8px; }
html:root body.marketing.page-pricing .page-content .compare-strip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* pricing: on a wide screen the comparison scrolls with the page, so its edition names stay in view under the bar */
@media (min-width: 900px) {
  html:root body.marketing.page-pricing .page-content #compare .table-scroll { overflow: visible; }
  html:root body.marketing.page-pricing .page-content #compare thead th { top: calc(var(--topbar) + var(--px-bar)); z-index: 5; }
  html:root body.marketing.page-pricing .page-content #compare thead th:first-child { border-top-left-radius: var(--r-lg); }
  html:root body.marketing.page-pricing .page-content #compare thead th:last-child { border-top-right-radius: var(--r-lg); }
}
html:root body.marketing.page-pricing .page-content #compare thead th { font-size: .9375rem; font-weight: 700; }
html:root body.marketing.page-pricing .page-content #compare td .text-link { margin-top: 0; font-size: inherit; font-weight: 600; }
html:root body.marketing.page-pricing .page-content #compare :is(th, td):not(:first-child) { width: 16%; }
@media (max-width: 720px) {
  html:root body.marketing.page-pricing .page-content #compare .comparison-table { min-width: 560px; }
  html:root body.marketing.page-pricing .page-content #compare :is(tbody th[scope="row"], thead th:first-child) {
    position: sticky; left: 0; z-index: 2; min-width: 0; width: 132px; max-width: 132px;
    background: var(--panel); box-shadow: 1px 0 0 var(--line); font-size: .8125rem;
  }
  html:root body.marketing.page-pricing .page-content #compare thead th:first-child { background: var(--panel-2); z-index: 3; }
  html:root body.marketing.page-pricing .page-content #compare .group-row th span { position: sticky; left: 10px; }
  html:root body.marketing.page-pricing .page-content #compare :is(th, td) { padding: 12px 10px; }
}
html:root body.marketing .page-content .gallery-thumb { justify-content: flex-start; text-align: left; }
html:root body.marketing .page-content .gallery-thumb span { text-align: left; }
html:root body.marketing .page-content .gallery-thumb { flex-direction: row; align-items: center; }

/* site.css paints several blocks dark with white text; here they become panels that follow the theme,
   so no heading or paragraph ends up dark on dark (or light on light) */
html:root body.marketing .page-content :is(.dark-card, .card.dark-card, .cta-band, .connection-core, .planning-output, .generation-to, .generation-map .to, .platform-diagram > :last-child) { border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); box-shadow: none; }
html:root body.marketing .page-content :is(.dark-card, .cta-band, .connection-core, .planning-output, .generation-to, .generation-map .to, .platform-diagram > :last-child) :is(h2, h3, h4, strong, b) { color: var(--strong); }
html:root body.marketing .page-content :is(.dark-card, .cta-band, .connection-core, .planning-output, .generation-to, .generation-map .to, .platform-diagram > :last-child) :is(p, li, span, small) { color: var(--muted); }
html:root body.marketing .page-content :is(.dark-card, .cta-band, .planning-output) .text-link { color: var(--link); }
html:root body.marketing .page-content :is(.dark-card, .cta-band, .planning-output) .button.secondary { background: transparent; border-color: var(--line-strong); color: var(--strong); }
html:root body.marketing .page-content .platform-diagram > :last-child { border-left: 3px solid var(--line-strong); }
html:root body.marketing .page-content :is(.workspace-stage, .hero-context) { border-color: var(--line); background: var(--panel-2); }
html:root body.marketing .page-content :is(.filter-pills, .connection-tabs, .install-options) button:is([aria-pressed="true"], [aria-selected="true"], .is-active) { border-color: transparent; background: var(--sel); color: var(--strong); box-shadow: none; }

/* the yearly / perpetual switch is the one choice that changes every price: it reads as the primary control */
html:root body.marketing .page-content .period-bar { border: 0; border-radius: 0; background: transparent; padding: 0; }
html:root body.marketing .page-content .period-switch { border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); }
html:root body.marketing .page-content .period-switch button { min-height: 40px; padding: 0 18px; font-weight: 700; }
html:root body.marketing .page-content .period-switch button:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"]) { background: var(--panel); color: var(--strong); box-shadow: 0 1px 2px #00000033, inset 0 0 0 1px var(--line-strong); }

/* galleries: the page count and the screen-reader status are not page furniture */
html:root body.marketing .page-content .gallery-controls > p { display: none; }
html:root body.marketing .page-content .gallery-controls:has(> div[hidden]) { display: none; }
html:root body.marketing .page-content .gallery-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; }
html:root body.marketing .page-content .product-gallery + *, html:root body.marketing .page-content .product-gallery ~ :is(.cards, .split, .flow-strip, .story-list) { margin-top: 32px; }
html:root body.marketing .page-content .cta-band > div { display: grid; gap: 14px; justify-items: start; }
