/* ==========================================================================
   Axolt Support Centre 2.0: clean documentation layer
   Loads after main.css and documentation-hub.css (functions.php, priority 100).

   Layout pattern borrowed from large developer documentation portals: a
   two-row header, a documentation bar with tabs, a quiet sidebar with search
   on top, white reading surfaces, centred homepage sections and a tinted
   footer. Colours, copy and content are Axolt's own: red for actions,
   navy for headings, soft neutrals for surfaces.
   ========================================================================== */

:root {
	--sd-red: #d71920;
	--sd-red-ink: #b5141b;
	--sd-red-deep: #8f0d19;
	--sd-navy: #181b31;
	--sd-ink: #2f3245;
	--sd-ink-2: #4d5166;
	--sd-ink-3: #666b80;
	--sd-line: #e4e6ed;
	--sd-line-2: #d3d6e0;
	--sd-bg: #ffffff;
	--sd-soft: #f6f7fa;
	--sd-soft-2: #eef0f5;
	--sd-pink: #fdf0f0;
	--sd-pink-line: #f5c5c8;
	--sd-surface: #ffffff;
	--sd-on-red: #ffffff;
	--sd-bar: #e7e8ed;
	--sd-shadow: 0 1px 2px rgba(24, 27, 49, 0.05), 0 6px 20px rgba(24, 27, 49, 0.07);
	--sd-shadow-lg: 0 2px 6px rgba(24, 27, 49, 0.06), 0 18px 44px rgba(24, 27, 49, 0.12);
	--sd-max: 1240px;
	--sd-max-wide: 1440px;
	--sd-radius: 8px;
	--sd-radius-lg: 14px;

	/* Retune the 1.x tokens so every existing component follows the palette. */
	--brand: var(--sd-red-ink);
	--brand-hover: var(--sd-red-deep);
	--accent-ink: #ffffff;
	--bg: var(--sd-bg);
	--grey: var(--sd-soft);
	--subtle: var(--sd-soft);
	--ink: var(--sd-navy);
	--ink-2: var(--sd-ink-2);
	--ink-3: var(--sd-ink-3);
	--line: var(--sd-line-2);
	--hair: var(--sd-line);
	--tint: color-mix(in srgb, var(--sd-red) 8%, transparent);
	--tint-strong: color-mix(in srgb, var(--sd-red) 15%, transparent);
	--header-h: 64px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--sd-red: #e5484d; --sd-red-ink: #ff8589; --sd-red-deep: #ffb3b5;
		--sd-navy: #f1f2f7; --sd-ink: #d6d8e2; --sd-ink-2: #b4b8c8; --sd-ink-3: #9196aa;
		--sd-line: #262a40; --sd-line-2: #343952; --sd-bg: #0d0f1c; --sd-soft: #13162a; --sd-soft-2: #191d33;
		--sd-pink: rgba(229, 72, 77, 0.14); --sd-pink-line: rgba(229, 72, 77, 0.4); --sd-surface: #151829; --sd-bar: #1b1f34;
		--sd-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
		--sd-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 44px rgba(0, 0, 0, 0.5);
		--brand: var(--sd-red-ink); --brand-hover: var(--sd-red-deep); --accent-ink: #1a0405;
		--bg: var(--sd-bg); --grey: var(--sd-soft); --subtle: var(--sd-soft); --surface: var(--sd-surface); --surface-raised: #1b1f34;
		--ink: var(--sd-navy); --ink-2: var(--sd-ink-2); --ink-3: var(--sd-ink-3);
		--line: var(--sd-line-2); --hair: var(--sd-line);
		--tint: rgba(229, 72, 77, 0.14); --tint-strong: rgba(229, 72, 77, 0.24);
		--material: rgba(13, 15, 28, 0.86);
	}
}
:root[data-theme="dark"] {
	--sd-red: #e5484d; --sd-red-ink: #ff8589; --sd-red-deep: #ffb3b5;
	--sd-navy: #f1f2f7; --sd-ink: #d6d8e2; --sd-ink-2: #b4b8c8; --sd-ink-3: #9196aa;
	--sd-line: #262a40; --sd-line-2: #343952; --sd-bg: #0d0f1c; --sd-soft: #13162a; --sd-soft-2: #191d33;
	--sd-pink: rgba(229, 72, 77, 0.14); --sd-pink-line: rgba(229, 72, 77, 0.4); --sd-surface: #151829; --sd-bar: #1b1f34;
	--sd-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
	--sd-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 44px rgba(0, 0, 0, 0.5);
	--brand: var(--sd-red-ink); --brand-hover: var(--sd-red-deep); --accent-ink: #1a0405;
	--bg: var(--sd-bg); --grey: var(--sd-soft); --subtle: var(--sd-soft); --surface: var(--sd-surface); --surface-raised: #1b1f34;
	--ink: var(--sd-navy); --ink-2: var(--sd-ink-2); --ink-3: var(--sd-ink-3);
	--line: var(--sd-line-2); --hair: var(--sd-line);
	--tint: rgba(229, 72, 77, 0.14); --tint-strong: rgba(229, 72, 77, 0.24);
	--material: rgba(13, 15, 28, 0.86);
}

body { background: var(--sd-bg); color: var(--sd-ink); font-size: 1rem; letter-spacing: -0.006em; }
.sd-wrap { width: 100%; max-width: var(--sd-max); margin: 0 auto; padding: 0 32px; }

/* Buttons --------------------------------------------------------------- */
.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--sd-radius); font: 600 0.9375rem/1 var(--font); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; text-decoration: none !important; transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.sd-btn .ax-icon { width: 17px; height: 17px; }
.sd-btn--sm { min-height: 34px; padding: 0 14px; font-size: 0.875rem; }
.sd-btn--lg { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.sd-btn--primary { background: var(--sd-red); color: var(--sd-on-red); }
.sd-btn--primary:hover { background: var(--sd-red-deep); color: var(--sd-on-red); }
.sd-btn--outline { background: var(--sd-surface); border-color: var(--sd-red-ink); color: var(--sd-red-ink); }
.sd-btn--outline:hover { background: var(--sd-pink); }
.sd-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.sd-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.sd-textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--sd-red-ink); font-weight: 600; font-size: 0.9375rem; }
.sd-textlink .ax-icon { width: 16px; height: 16px; transition: transform 0.15s var(--ease); }
.sd-textlink:hover .ax-icon { transform: translateX(3px); }
.sd-center { margin: 40px 0 0; text-align: center; }

/* Header, row 1: the Axolt-wide bar ------------------------------------- */
.sd-global { position: relative; z-index: 52; background: var(--sd-bg); border-bottom: 1px solid var(--sd-line); }
.sd-global__inner { display: flex; align-items: center; gap: 28px; height: 60px; max-width: var(--sd-max-wide); }
.sd-global .ax-brand__logo { height: 40px; }
.sd-global__nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sd-global__nav a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--sd-navy); font-size: 0.9375rem; font-weight: 500; }
.sd-global__nav a:hover { background: var(--sd-soft); text-decoration: none; }
.sd-global__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sd-global .ax-header__site { color: var(--sd-ink-2); font-size: 0.875rem; }
.sd-global .ax-iconbtn { color: var(--sd-ink-2); }

/* GTranslate dropdown as a quiet pill (its own styles are inline, so these are specific). */
.ax-header__translate .gt_switcher { width: auto !important; overflow: visible; position: relative; font-family: var(--font) !important; line-height: 1.2; }
.ax-header__translate .gt_switcher .gt_selected { background: none !important; }
.ax-header__translate .gt_switcher .gt_selected a { width: auto !important; display: flex; align-items: center; gap: 8px; padding: 7px 30px 7px 10px !important; border: 1px solid var(--sd-line) !important; border-radius: 999px; color: var(--sd-ink-2) !important; font-size: 0.8125rem !important; font-weight: 500; }
.ax-header__translate .gt_switcher .gt_selected a:hover { background: var(--sd-soft) !important; }
.ax-header__translate .gt_switcher .gt_selected a::after { right: 8px !important; height: 100% !important; top: 0; }
.ax-header__translate .gt_switcher a img { width: 18px !important; height: 18px !important; border-radius: 50%; object-fit: cover; opacity: 1; }
.ax-header__translate .gt_switcher .gt_option { position: absolute !important; right: 0; top: calc(100% + 6px); width: 200px !important; border: 1px solid var(--sd-line) !important; border-radius: 10px; background: var(--sd-surface) !important; box-shadow: var(--sd-shadow-lg); }
.ax-header__translate .gt_switcher .gt_option a { display: flex !important; align-items: center; gap: 8px; padding: 8px 12px !important; color: var(--sd-ink) !important; font-size: 0.875rem !important; }
.ax-header__translate .gt_switcher .gt_option a:hover { background: var(--sd-soft) !important; }

/* Header, row 2: the Support Centre bar (sticky) ------------------------- */
.ax-header.sd-header { background: var(--sd-bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--sd-line); }
.ax-header.sd-header.is-scrolled { box-shadow: 0 1px 0 var(--sd-line), 0 6px 18px rgba(24, 27, 49, 0.06); }
.sd-header .ax-header__inner { height: var(--header-h); max-width: var(--sd-max-wide); padding: 0 32px; gap: 32px; }
.sd-wordmark { display: inline-flex; align-items: center; flex: none; color: var(--sd-navy); font-family: var(--font-display); font-size: 1.4375rem; font-weight: 750; letter-spacing: -0.035em; }
.sd-wordmark:hover { color: var(--sd-navy); text-decoration: none; }
/* Logo beside the wordmark once the top row has scrolled away (is-stuck, set by clean.js). */
.sd-wordmark__logo { display: inline-flex; align-items: center; flex: none; max-width: 0; margin-right: 0; padding-right: 0; overflow: hidden; opacity: 0; border-right: 1px solid transparent; transition: max-width 0.3s var(--ease-out), margin 0.3s var(--ease-out), padding 0.3s var(--ease-out), opacity 0.2s var(--ease), border-color 0.3s var(--ease); }
.sd-wordmark__logo .ax-brand__logo { height: 36px; width: auto; max-width: none; }
.sd-header.is-stuck .sd-wordmark__logo { max-width: 64px; margin-right: 14px; padding-right: 14px; opacity: 1; border-right-color: var(--sd-line-2); }
.sd-header .ax-nav__list { gap: 4px; }
.sd-header .ax-nav__list a { position: relative; padding: 8px 12px; border-radius: 6px; color: var(--sd-navy); font-size: 0.9375rem; font-weight: 500; }
.sd-header .ax-nav__list a:hover { background: var(--sd-soft); }
.sd-header .ax-nav__list a[aria-current="page"], .sd-header .ax-nav__list .current-menu-item > a { color: var(--sd-red-ink); font-weight: 600; }
.sd-header .ax-nav__list a[aria-current="page"]::after, .sd-header .ax-nav__list .current-menu-item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--sd-red); }
.sd-nav__extra { display: none; }
.sd-header .ax-header__tools { gap: 10px; }
.sd-header .ax-searchbtn { width: 280px; height: 40px; padding: 0 8px 0 14px; border: 1px solid var(--sd-line-2); border-radius: var(--sd-radius); background: var(--sd-bg); color: var(--sd-ink-3); font-size: 0.875rem; }
.sd-header .ax-searchbtn:hover { border-color: var(--sd-ink-3); background: var(--sd-bg); }
.sd-header .ax-searchbtn .ax-icon { width: 16px; height: 16px; color: var(--sd-ink-2); }
.sd-header .ax-kbd { border-color: var(--sd-line-2); background: var(--sd-soft); color: var(--sd-ink-3); }
/* Floating Ask Axo launcher: the one Ask Axo entry point in the site chrome, on every screen size. */
.ax-axo-trigger { background: var(--sd-red); color: #fff; box-shadow: 0 10px 26px -10px rgba(215, 25, 32, 0.6); }

/* Documentation bar ------------------------------------------------------- */
.sd-docbar { background: var(--sd-bg); border-bottom: 1px solid var(--sd-line); }
.sd-docbar__inner { display: flex; align-items: flex-end; gap: 48px; max-width: var(--sd-max-wide); padding-top: 14px; }
.sd-docbar__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-bottom: 14px; }
.sd-docbar__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--sd-ink-2); font-size: 0.8125rem; font-weight: 600; }
.sd-docbar__eyebrow:hover { color: var(--sd-navy); text-decoration: none; }
.sd-docbar__icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--tb, var(--sd-soft)); color: var(--tf, var(--sd-ink-2)); }
.sd-docbar__icon .ax-icon { width: 14px; height: 14px; }
.sd-docbar__title { color: var(--sd-navy); font-family: var(--font-display); font-size: 1.5rem; font-weight: 750; line-height: 1.15; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-docbar__title:hover { color: var(--sd-navy); text-decoration: none; }
.sd-tabs { display: flex; gap: 8px; align-self: stretch; align-items: flex-end; }
.sd-tabs a { position: relative; display: block; padding: 14px 20px 16px; color: var(--sd-ink); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.sd-tabs a:hover { color: var(--sd-navy); text-decoration: none; background: var(--sd-soft); border-radius: 6px 6px 0 0; }
.sd-tabs a[aria-current] { color: var(--sd-red-ink); font-weight: 600; }
.sd-tabs a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--sd-red); border-radius: 3px 3px 0 0; }
.sd-switch { position: relative; margin-left: auto; align-self: center; }
.sd-switch summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--sd-line-2); border-radius: var(--sd-radius); color: var(--sd-ink); font-size: 0.875rem; font-weight: 500; list-style: none; cursor: pointer; }
.sd-switch summary::-webkit-details-marker { display: none; }
.sd-switch summary:hover { border-color: var(--sd-ink-3); }
.sd-switch__chev { width: 13px; height: 13px; transform: rotate(90deg); transition: transform 0.2s var(--ease); }
.sd-switch[open] .sd-switch__chev { transform: rotate(-90deg); }
.sd-switch__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 45; min-width: 240px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--sd-line); border-radius: 10px; background: var(--sd-surface); box-shadow: var(--sd-shadow-lg); }
.sd-switch__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--sd-ink); font-size: 0.9375rem; }
.sd-switch__menu a:hover { background: var(--sd-soft); text-decoration: none; }
.sd-switch__menu a[aria-current] { color: var(--sd-red-ink); font-weight: 600; background: var(--sd-pink); }
.sd-switch__icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--tb, var(--sd-soft)); color: var(--tf, var(--sd-ink-2)); flex: none; }
.sd-switch__icon .ax-icon { width: 15px; height: 15px; }

/* Docs layout: sidebar --------------------------------------------------- */
.ax-docs { grid-template-columns: 300px minmax(0, 1fr) 240px; }
.ax-sidebar { border-right: 1px solid var(--sd-line); background: var(--sd-bg); scrollbar-color: var(--sd-line-2) transparent; }
.ax-sidebar__inner { padding: 24px 0 48px; }
.ax-sidebar__top { display: none; margin: 0 16px 14px; }
.sd-sidebar__product { display: flex; align-items: center; gap: 10px; flex: 1; margin: 0; color: var(--sd-navy); font-weight: 700; }
.ax-filter { height: 40px; margin: 0 20px 20px; padding: 0 12px; border: 1px solid var(--sd-line-2); border-radius: var(--sd-radius); background: var(--sd-bg); color: var(--sd-ink-3); }
.ax-filter:focus-within { border-color: var(--sd-red-ink); box-shadow: 0 0 0 3px var(--tint); }
.ax-filter .ax-icon { width: 16px; height: 16px; }
.ax-filter input { font-size: 0.9375rem; }
.ax-filter input::placeholder { color: var(--sd-ink-3); }
.ax-sidebar__home { margin: 0 0 4px; padding: 8px 20px 8px 44px; border-radius: 0; color: var(--sd-navy); font-size: 0.9375rem; font-weight: 600; }
.ax-sidebar__home:hover { background: var(--sd-soft); }
.ax-tree--sub { margin-left: 0; padding-left: 0; }
.ax-tree__row { position: relative; border-radius: 0; }
.ax-tree__row a { padding: 8px 20px 8px 44px; border-radius: 0; color: var(--sd-ink-2); font-size: 0.9375rem; line-height: 1.4; }
.ax-tree--sub .ax-tree__row a { padding-left: 60px; font-size: 0.875rem; }
.ax-tree--sub .ax-tree--sub .ax-tree__row a { padding-left: 76px; }
.ax-tree__row a:hover { background: var(--sd-soft); color: var(--sd-navy); }
.has-children > .ax-tree__row > a { color: var(--sd-navy); font-weight: 600; }
.ax-tree__toggle { position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: var(--sd-ink-2); border-radius: 4px; }
.ax-tree--sub .ax-tree__toggle { left: 32px; }
.ax-tree__toggle:hover { background: var(--sd-soft-2); color: var(--sd-navy); }
.ax-tree__toggle .ax-icon { width: 14px; height: 14px; }
.ax-tree__row a[aria-current="page"] { color: var(--sd-red-ink); background: var(--sd-pink); font-weight: 600; box-shadow: inset 3px 0 0 var(--sd-red); }
.ax-tree__item.is-open > .ax-tree__row:has(a[aria-current="page"]) .ax-tree__toggle { color: var(--sd-red-ink); }
.ax-tree__none { padding: 8px 20px; }

/* Article ---------------------------------------------------------------- */
.ax-article { padding: 36px clamp(28px, 4.5vw, 64px) 120px; }
.ax-article > * { max-width: 820px; }
.ax-crumbs ol { font-size: 0.8125rem; }
.ax-crumbs a { color: var(--sd-ink-2); }
.ax-crumbs a:hover { color: var(--sd-red-ink); }
.ax-article__head { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--sd-line); }
.ax-article__title { margin: 14px 0 12px; color: var(--sd-navy); font-size: clamp(2rem, 3.4vw, 2.625rem); line-height: 1.12; letter-spacing: -0.035em; }
.ax-article__lede { color: var(--sd-ink-2); font-size: 1.1875rem; }
.ax-meta { gap: 6px 0; color: var(--sd-ink-3); font-size: 0.875rem; }
.ax-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: 0.7; }
.ax-meta > span:first-child { color: var(--sd-navy); font-weight: 600; }
/* Article actions as a row of text links with dividers. */
.ax-toolbar { gap: 0; margin-top: 18px; }
.ax-tool { height: auto; padding: 2px 14px; border-radius: 0; background: none; color: var(--sd-red-ink); font-size: 0.875rem; font-weight: 600; }
.ax-tool:first-child { padding-left: 0; }
.ax-tool + .ax-tool { border-left: 1px solid var(--sd-line-2); }
.ax-tool:hover { background: none; color: var(--sd-red-deep); }
.ax-tool:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ax-tool .ax-icon { width: 15px; height: 15px; }

/* Article typography */
.ax-content { color: var(--sd-ink); font-size: 1rem; line-height: 1.7; letter-spacing: -0.004em; }
.ax-content p { margin: 0 0 1.15em; }
.ax-content h2 { margin: 2em 0 0.6em; color: var(--sd-navy); font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.03em; }
.ax-content h3 { margin: 1.7em 0 0.5em; color: var(--sd-navy); font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }
.ax-content h4 { margin: 1.4em 0 0.4em; color: var(--sd-navy); }
.ax-content > h2:first-child, .ax-content > h3:first-child { margin-top: 0; }
.ax-content a { color: var(--sd-red-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--sd-red-ink) 35%, transparent); text-underline-offset: 3px; }
.ax-content a:hover { text-decoration-color: currentColor; }
.ax-content li::marker { color: var(--sd-ink-3); }
.ax-content img { border-radius: var(--sd-radius); box-shadow: 0 0 0 1px var(--sd-line), 0 4px 16px rgba(24, 27, 49, 0.06); }
.ax-content :not(pre) > code { background: var(--sd-soft-2); color: var(--sd-navy); }
.ax-content pre { border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: var(--sd-soft); }
.ax-content .wp-block-table, .ax-tablewrap { border-radius: var(--sd-radius); box-shadow: 0 0 0 1px var(--sd-line); }
.ax-content thead th { background: var(--sd-soft); color: var(--sd-navy); }

/* Article tables (2026-11-20). WordPress core draws a dark 1px border round
   every cell and a 3px rule under the header, and saves new tables as
   .has-fixed-layout (equal-width columns). Replace that with hairline row
   dividers, a soft header and columns sized to their content. The stock
   transfer guide's .axg-table keeps its own inline styles. */
.ax-content .wp-block-table thead { border-bottom: 0; }
.ax-content .wp-block-table tfoot { border-top: 0; }
.ax-content .wp-block-table table:not(.axg-table) { table-layout: auto; }
.ax-content .wp-block-table table:not(.axg-table) :is(th, td) { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--sd-line); word-break: normal; overflow-wrap: break-word; }
.ax-content .wp-block-table table:not(.axg-table) thead th { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; }
.ax-content .wp-block-table table:not(.axg-table) th strong { font-weight: inherit; }
.ax-content .wp-block-table table:not(.axg-table) tbody tr:last-child > * { border-bottom: 0; }
.ax-content .wp-block-table table:not(.axg-table) tbody tr:hover > * { background: color-mix(in srgb, var(--sd-soft) 70%, transparent); }
.ax-content .wp-block-table figcaption { margin: 0; padding: 10px 16px; border-top: 1px solid var(--sd-line); color: var(--sd-ink-2); font-size: 0.8125rem; text-align: left; }
/* Numbered key under a screenshot (tagged .sd-key by clean.js): a narrow
   "#" column with the same red markers as the screenshot. */
.ax-content .wp-block-table table.sd-key :is(th, td):first-child { width: 1%; padding-right: 0; text-align: center; white-space: nowrap; }
.sd-marker { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #d71920; color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
	.ax-content .wp-block-table table:not(.axg-table) :is(th, td) { padding: 10px 12px; }
}
.ax-content .wp-block-details, .ax-content details:not(.ax-toc-mobile) { border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: var(--sd-bg); }
.axd-callout { border-left: 3px solid var(--c); border-radius: 0 var(--sd-radius) var(--sd-radius) 0; }
.axd-callout--important { --c: var(--sd-red-ink); }
.axd-step::before { background: var(--sd-navy); color: var(--sd-bg); }
.axd-prereq { border: 1px solid var(--sd-line); background: var(--sd-soft); border-radius: var(--sd-radius); }

/* Framed code blocks and screenshots (built by assets/js/clean.js) */
.sd-frame { margin: 1.8em 0; border: 1px solid var(--sd-line); border-radius: 10px; overflow: hidden; background: var(--sd-soft); }
.sd-frame__bar { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px 8px 12px; border-bottom: 1px solid var(--sd-line); background: var(--sd-bar); }
.sd-frame__badge { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sd-bg); color: var(--sd-red-ink); box-shadow: 0 1px 2px rgba(24, 27, 49, 0.1); }
.sd-frame__badge .ax-icon { width: 17px; height: 17px; }
.sd-frame__label { color: var(--sd-ink-2); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
.sd-frame__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.sd-frame__btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--sd-navy); cursor: pointer; transition: background 0.15s var(--ease), color 0.15s var(--ease); }
.ax-content a.sd-frame__btn { color: var(--sd-navy); text-decoration: none; }
.sd-frame__btn:hover, .ax-content a.sd-frame__btn:hover { background: rgba(24, 27, 49, 0.08); color: var(--sd-red-ink); }
.sd-frame__btn .ax-icon { width: 19px; height: 19px; }
.sd-frame__btn.is-done { color: #1a7f37; }
.sd-frame__sep { width: 1px; height: 22px; margin: 0 6px; background: var(--sd-line-2); }

/* Code: its own light and dark palettes, switched per reader (saved in the browser). */
.sd-code__body { display: flex; align-items: flex-start; }
.sd-code__gutter { flex: none; min-width: 2ch; padding: 20px 0 20px 20px; font: 0.875rem/1.8 var(--mono); text-align: right; white-space: pre; -webkit-user-select: none; user-select: none; }
.ax-content .sd-code pre { flex: 1; min-width: 0; margin: 0; padding: 20px 24px 20px 20px; border: 0; border-radius: 0; background: transparent; color: inherit; font: 0.875rem/1.8 var(--mono); }
.ax-content .sd-code pre code { padding: 0; background: none; color: inherit; font: inherit; }
.sd-code[data-code-theme="light"] { border-color: #e1e3ea; background: #f3f4f7; color: #181b31; }
.sd-code[data-code-theme="light"] .sd-frame__bar { background: #e7e8ed; border-bottom-color: #e1e3ea; }
.sd-code[data-code-theme="light"] .sd-frame__badge { background: #fff; color: #b5141b; }
.sd-code[data-code-theme="light"] .sd-frame__label { color: #4d5166; }
.sd-code[data-code-theme="light"] .sd-frame__btn { color: #181b31; }
.sd-code[data-code-theme="light"] .sd-frame__btn:hover { background: rgba(24, 27, 49, 0.08); color: #b5141b; }
.sd-code[data-code-theme="light"] .sd-frame__sep { background: #d3d6e0; }
.sd-code[data-code-theme="light"] .sd-code__gutter { color: #6b7084; }
.sd-code[data-code-theme="dark"] { border-color: #2a2e45; background: #12142a; color: #e6e8f0; }
.sd-code[data-code-theme="dark"] .sd-frame__bar { background: #1d2038; border-bottom-color: #2a2e45; }
.sd-code[data-code-theme="dark"] .sd-frame__badge { background: #2a2e45; color: #ff8589; box-shadow: none; }
.sd-code[data-code-theme="dark"] .sd-frame__label { color: #b4b8c8; }
.sd-code[data-code-theme="dark"] .sd-frame__btn { color: #e6e8f0; }
.sd-code[data-code-theme="dark"] .sd-frame__btn:hover { background: rgba(255, 255, 255, 0.08); color: #ff8589; }
.sd-code[data-code-theme="dark"] .sd-frame__sep { background: #343952; }
.sd-code[data-code-theme="dark"] .sd-code__gutter { color: #6f7493; }
.sd-code[data-code-theme="dark"] .sd-frame__btn.is-done { color: #4ed07c; }

/* Screenshots: the frame hugs the image (resized images stay their size). */
.ax-content .sd-media { width: fit-content; max-width: 100%; }
.ax-content .sd-media.aligncenter, .ax-content .sd-media.is-resized { margin-left: auto; margin-right: auto; }
.sd-media__body { padding: 16px; }
.sd-media__body > a { display: block; }
.ax-content .sd-media img { display: block; margin: 0 auto; border-radius: 6px; box-shadow: 0 0 0 1px var(--sd-line); }
.ax-content .sd-media figcaption { margin: -4px 0 0; padding: 0 16px 14px; color: var(--sd-ink-2); font-size: 0.8125rem; text-align: left; }

/* Feedback: one bordered strip, question on the left, answers on the right. */
.ax-feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 64px 0 0; padding: 24px 0; border: 0; border-top: 1px solid var(--sd-line); border-bottom: 1px solid var(--sd-line); border-radius: 0; background: none; text-align: left; }
.ax-feedback__q { margin: 0; color: var(--sd-navy); font-family: var(--font); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sd-feedback__sub { margin: 4px 0 0; color: var(--sd-ink-2); font-size: 0.9375rem; }
.ax-feedback__btns { gap: 8px; }
.ax-feedback__btns .ax-button { min-width: 0; min-height: 38px; padding: 0 16px; border: 1px solid var(--sd-red-ink); border-radius: var(--sd-radius); background: var(--sd-bg); color: var(--sd-red-ink); font-weight: 600; }
.ax-feedback__btns .ax-button:hover { background: var(--sd-pink); }
.ax-feedback__btns .ax-button[aria-pressed="true"] { background: var(--sd-red); border-color: var(--sd-red); color: #fff; }
.ax-feedback__more { flex-basis: 100%; max-width: 560px; margin: 0; }
.ax-feedback__more .ax-button--primary { border-radius: var(--sd-radius); background: var(--sd-red); color: #fff; }
.ax-feedback__done { flex-basis: 100%; margin: 0; }

/* Previous / next and related */
.ax-pager { gap: 16px; margin-top: 32px; }
.ax-pager a { padding: 18px 20px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: var(--sd-bg); color: var(--sd-red-ink); font-weight: 600; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.ax-pager a:hover { border-color: var(--sd-red-ink); background: var(--sd-bg); box-shadow: var(--sd-shadow); }
.ax-pager a span { color: var(--sd-ink-3); font-size: 0.8125rem; font-weight: 500; }
.ax-pager__prev span::before { content: "\2190  "; }
.ax-pager__next span::after { content: "  \2192"; }
.ax-related { margin-top: 48px; }
.ax-related h2, .ax-section__head h2 { color: var(--sd-navy); font-size: 1.25rem; letter-spacing: -0.02em; }
.ax-group { border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: var(--sd-bg); box-shadow: none; overflow: hidden; }
.ax-row + .ax-row, .ax-group > li + li { border-top: 1px solid var(--sd-line); }
.ax-row__link { border-radius: 0; }
.ax-row__link:hover { background: var(--sd-soft); }
.ax-row__title { color: var(--sd-navy); font-weight: 600; }

/* On this page */
.ax-toc { padding: 40px 24px 24px 0; }
.ax-toc__title { color: var(--sd-navy); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ax-toc ol { border-left-color: var(--sd-line); }
.ax-toc li a { color: var(--sd-ink-2); font-size: 0.8125rem; }
.ax-toc li a:hover { color: var(--sd-navy); }
.ax-toc li a.is-active { color: var(--sd-red-ink); border-left-color: var(--sd-red); }
.ax-toc-mobile { border: 1px solid var(--sd-line); background: var(--sd-bg); border-radius: var(--sd-radius); }

/* Product landing (Overview tab) ----------------------------------------- */
.ax-product__head, .ax-hub__head { padding: 36px 0 48px; background: linear-gradient(180deg, var(--sd-soft) 0%, var(--sd-bg) 100%); box-shadow: inset 0 -1px 0 var(--sd-line); }
.ax-product__head::before, .ax-product__head::after, .ax-hub__head::before, .ax-hub__head::after { display: none; }
.ax-product__head .ax-container, .ax-hub__head .ax-container, .ax-product__body.ax-container { max-width: var(--sd-max); padding-left: 32px; padding-right: 32px; }
.ax-product__title h1, .ax-hub__title { color: var(--sd-navy); font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -0.035em; }
.ax-product__head .ax-product__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--tf); box-shadow: none; }
.ax-product__head .ax-product__icon .ax-icon { width: 30px; height: 30px; }
.ax-product__intro { color: var(--sd-ink-2); font-size: 1.0625rem; }
.ax-product__head .ax-searchfield--product input { border: 1px solid var(--sd-line-2); border-radius: var(--sd-radius); box-shadow: none; }
.ax-product__head .ax-searchfield--product input:focus { border-color: var(--sd-red-ink); box-shadow: 0 0 0 3px var(--tint); }
.ax-pindex { padding: 14px 6px 6px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); background: var(--sd-bg); box-shadow: var(--sd-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ax-pindex__title { color: var(--sd-navy); font-weight: 700; }
.ax-pindex a { border-radius: 6px; }
.ax-pindex a:hover { background: var(--sd-soft); }
.ax-product__body { padding-top: 48px; background: var(--sd-bg); }
.ax-product__body .ax-section__head h2 { font-size: 1.5rem; }
.ax-topics { gap: 20px; }
.ax-topic { border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); background: var(--sd-bg); box-shadow: none; }
.ax-topic:hover { transform: none; border-color: var(--sd-line-2); box-shadow: var(--sd-shadow-lg); }
.ax-topic__icon { width: 38px; height: 38px; border-radius: 10px; box-shadow: none; }
.ax-topic h3 a { color: var(--sd-navy); }
.ax-topic h3 a:hover { color: var(--sd-red-ink); }
.ax-topic__list a { color: var(--sd-ink-2); }
.ax-topic__list a:hover, .ax-topic__list a:focus-visible { background: var(--sd-soft); color: var(--sd-red-ink); }
.ax-topic__list a:hover::after { color: var(--sd-red-ink); }
.ax-topic__more { color: var(--sd-red-ink); border-top-color: var(--sd-line); border-radius: 0 0 var(--sd-radius-lg) var(--sd-radius-lg); }
.ax-topic__more:hover { background: var(--sd-pink); }
.ax-product__body .ax-group { box-shadow: none; }
.ax-phelp__card { background: var(--sd-navy); box-shadow: none; }
:root[data-theme="dark"] .ax-phelp__card { background: var(--sd-soft-2); border: 1px solid var(--sd-line-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ax-phelp__card { background: var(--sd-soft-2); border: 1px solid var(--sd-line-2); } }
.ax-phelp__card::after { border-color: rgba(215, 25, 32, 0.45); box-shadow: 0 0 0 24px rgba(215, 25, 32, 0.08), 0 0 0 25px rgba(215, 25, 32, 0.2); }
.ax-phelp__actions .ax-button { border-radius: var(--sd-radius); }
.ax-phelp__actions .ax-button--primary { background: var(--sd-red); color: #fff; }
.ax-phelp__actions .ax-button--primary:hover { background: var(--sd-red-deep); }

/* Documentation hub (/docs/) 2.0: the guide layout with every product in the sidebar. */
.sd-sidebar__label { margin: 20px 20px 6px 44px; color: var(--sd-ink-3); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ax-sidebar__home[aria-current="page"] { color: var(--sd-red-ink); background: var(--sd-pink); box-shadow: inset 3px 0 0 var(--sd-red); }
.sd-hub__lede { margin: 0 0 8px; color: var(--sd-ink); font-size: 1.0625rem; line-height: 1.7; }
.sd-hub__section { padding: 32px 0; border-top: 1px solid var(--sd-line); }
.sd-hub__lede + .sd-hub__section { margin-top: 24px; }
.sd-hub__section h2 { position: relative; margin: 0; color: var(--sd-navy); font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; scroll-margin-top: calc(var(--header-h) + 24px); }
.sd-hub__phead { display: flex; align-items: center; gap: 14px; }
.sd-hub__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--tb, var(--sd-soft)); color: var(--tf, var(--sd-ink-2)); }
.sd-hub__icon .ax-icon { width: 21px; height: 21px; }
.sd-hub__icon--sm { width: 32px; height: 32px; border-radius: 8px; }
.sd-hub__icon--sm .ax-icon { width: 17px; height: 17px; }
.sd-hub__meta { display: flex; flex-wrap: wrap; margin: 3px 0 0; color: var(--sd-ink-3); font-size: 0.8125rem; }
.sd-hub__meta span + span::before { content: "·"; margin: 0 7px; }
.sd-hub__desc { max-width: 64ch; margin: 12px 0 14px; color: var(--sd-ink-2); font-size: 0.9375rem; line-height: 1.6; }
.sd-hub__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; margin: 0 0 18px; padding: 0; list-style: none; }
.sd-hub__links a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--sd-line); color: var(--sd-red-ink); font-size: 0.9375rem; line-height: 1.4; text-decoration: none !important; }
.sd-hub__links a:hover .sd-hub__name { text-decoration: underline; text-underline-offset: 3px; }
.sd-hub__count { flex: none; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--sd-soft-2); color: var(--sd-ink-3); font-size: 0.75rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.sd-hub__starters { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sd-hub__starters a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); background: var(--sd-surface); text-decoration: none !important; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.sd-hub__starters a:hover { border-color: var(--sd-line-2); box-shadow: var(--sd-shadow); }
.sd-hub__starters a > .ax-icon { width: 16px; height: 16px; margin-left: auto; flex: none; color: var(--sd-ink-3); transition: transform 0.15s var(--ease), color 0.15s var(--ease); }
.sd-hub__starters a:hover > .ax-icon { color: var(--sd-red-ink); transform: translateX(3px); }
.sd-hub__starter-text { display: flex; flex-direction: column; min-width: 0; }
.sd-hub__kicker { color: var(--sd-ink-3); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sd-hub__starters .sd-hub__name { color: var(--sd-navy); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.sd-hub__recent { margin: 14px 0 0; padding: 0; list-style: none; }
.sd-hub__recent li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--sd-line); }
.sd-hub__recent a { color: var(--sd-red-ink); font-weight: 600; }
.sd-hub__recent span { color: var(--sd-ink-3); font-size: 0.8125rem; }
.sd-hub__help { margin-top: 24px; }
.sd-hub__help .ax-button { text-decoration: none !important; }
.sd-hub .ax-anchor { left: -30px; }
@media (max-width: 720px) {
	.sd-hub__links { grid-template-columns: minmax(0, 1fr); }
	.sd-hub__section { padding: 26px 0; }
}

/* Footer ---------------------------------------------------------------- */
.ax-footer.sd-footer { margin-top: 0; padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sd-line); background: var(--sd-soft); color: var(--sd-ink-2); font-size: 0.875rem; }
.sd-footer__inner { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr); gap: 48px; }
.sd-footer .ax-brand__logo { height: 52px; }
.sd-footer .ax-footer__intro { margin: 16px 0 20px; padding: 0; border: 0; max-width: 32ch; color: var(--sd-ink-2); line-height: 1.55; }
.sd-footer .ax-footer__intro a { color: var(--sd-red-ink); font-weight: 600; }
.sd-footer__social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sd-footer .sd-footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sd-navy); color: var(--sd-bg); }
.sd-footer .sd-footer__social a:hover { background: var(--sd-red); color: #fff; }
.sd-footer__social .ax-icon { width: 18px; height: 18px; }
.sd-footer .ax-footer__grid { padding: 0; border: 0; gap: 32px; }
.sd-footer .ax-footer__title { margin: 0 0 14px; color: var(--sd-navy); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sd-footer .ax-footer__col li { margin: 0 0 10px; }
.sd-footer a, .sd-footer .ax-footer__btn { color: var(--sd-ink-2); }
.sd-footer .ax-footer__col a:hover, .sd-footer .ax-footer__btn:hover { color: var(--sd-red-ink); }
.sd-footer .ax-footer__bar { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--sd-line-2); color: var(--sd-ink-3); font-size: 0.8125rem; }

/* Homepage ------------------------------------------------------------------ */
.sd-home h2, .sd-home h3 { font-family: var(--font-display); color: var(--sd-navy); }
.sd-eyebrow { margin: 0 0 16px; color: var(--sd-red-ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* Hero: soft wash with a curved lower edge, copy left, feature card right. */
.sd-hero { position: relative; overflow: hidden; padding: 72px 0 120px; background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(215, 25, 32, 0.07), transparent 70%), linear-gradient(180deg, var(--sd-soft) 0%, var(--sd-bg) 100%); }
.sd-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 72px; background: var(--sd-bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.sd-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.sd-hero__inner.has-feature { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.sd-hero__title { margin: 0; color: var(--sd-navy); font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 750; line-height: 1.04; letter-spacing: -0.045em; }
.sd-hero__lede { max-width: 50ch; margin: 20px 0 0; color: var(--sd-ink-2); font-size: 1.1875rem; line-height: 1.55; }
.sd-hero__search { max-width: 600px; margin-top: 32px; }
.sd-hero__search .ax-searchfield input { height: 56px; padding-left: 50px; border: 1px solid var(--sd-line-2); border-radius: 10px; background: var(--sd-bg); box-shadow: 0 6px 24px -12px rgba(24, 27, 49, 0.25); font-size: 1rem; }
.sd-hero__search .ax-searchfield input:focus { border-color: var(--sd-red-ink); box-shadow: 0 0 0 4px var(--tint); }
.sd-hero__search .ax-searchfield__icon { left: 18px; color: var(--sd-ink-2); }
.sd-hero__search .ax-kbd { position: absolute; right: 14px; }
.sd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sd-hero__meta { display: flex; flex-wrap: wrap; margin: 20px 0 0; color: var(--sd-ink-3); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.sd-hero__meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: currentColor; vertical-align: middle; }

.sd-feature { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 36px; border-radius: 18px; background: #181b31; color: #fff; box-shadow: 0 30px 60px -28px rgba(24, 27, 49, 0.55); text-decoration: none !important; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.sd-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(215, 25, 32, 0.55), transparent 55%), radial-gradient(circle at 0% 100%, rgba(143, 13, 25, 0.35), transparent 50%); }
.sd-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%); mask-image: linear-gradient(200deg, #000 10%, transparent 70%); }
.sd-feature:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -28px rgba(24, 27, 49, 0.65); }
.sd-feature__art { display: flex; gap: 8px; margin-bottom: auto; }
.sd-feature__art span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.sd-feature__art span:first-child { background: var(--sd-red); color: #fff; box-shadow: none; }
.sd-feature__art .ax-icon { width: 18px; height: 18px; }
.sd-feature__tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #ffb3b5; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sd-feature__tag .ax-icon { width: 16px; height: 16px; }
.sd-feature__title { font-family: var(--font-display); font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 750; line-height: 1.12; letter-spacing: -0.035em; }
.sd-feature__desc { color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; line-height: 1.55; }
.sd-feature__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; }
.sd-feature__cta .ax-icon { width: 17px; height: 17px; transition: transform 0.15s var(--ease); }
.sd-feature:hover .sd-feature__cta .ax-icon { transform: translateX(4px); }

/* Sections */
.sd-section { padding: 72px 0; }
.sd-section--soft { background: var(--sd-soft); }
.sd-section--tight { padding-top: 24px; }
.sd-section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sd-section__head h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.035em; }
.sd-section__head p { margin: 14px 0 0; color: var(--sd-ink-2); font-size: 1.0625rem; line-height: 1.55; }

/* Card grids: equal cards, centred last row. */
.sd-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.sd-grid > li { display: flex; flex: 0 1 calc((100% - 72px) / 4); min-width: 0; }
.sd-grid--3 > li { flex-basis: calc((100% - 48px) / 3); }
.sd-card { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 28px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); background: var(--sd-surface); color: var(--sd-ink); box-shadow: var(--sd-shadow); text-decoration: none !important; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.sd-card:hover { transform: translateY(-3px); border-color: var(--sd-line-2); box-shadow: var(--sd-shadow-lg); }
.sd-card__kicker { margin: 0; color: var(--sd-ink-3); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sd-card__title { color: var(--sd-navy); font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.sd-card__text { color: var(--sd-ink-2); font-size: 0.9375rem; line-height: 1.55; }
.sd-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--sd-red-ink); font-size: 0.9375rem; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--sd-red-ink) 35%, transparent); text-underline-offset: 4px; }
.sd-card__link .ax-icon { width: 16px; height: 16px; transition: transform 0.15s var(--ease); }
.sd-card:hover .sd-card__link { text-decoration-color: currentColor; }
.sd-card:hover .sd-card__link .ax-icon { transform: translateX(3px); }

/* Banner cards (2.0.1): decorative banner with the title, then pill, title, text and
   an underlined "Read more". One Axolt palette for every card; the product's icon sits
   in the corner. All shapes are CSS, so there are no images to manage. */
.sd-bcard { gap: 0; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: var(--sd-surface); box-shadow: 0 2px 4px rgba(24, 27, 49, 0.04), 0 12px 32px rgba(24, 27, 49, 0.08); }
.sd-bcard:hover { transform: translateY(-4px); border: 0; box-shadow: 0 4px 10px rgba(24, 27, 49, 0.06), 0 24px 52px rgba(24, 27, 49, 0.13); }
/* Banner: a pale wash with one large soft disc and a dotted outline; deep red is kept to a
   small corner shape (carrying the icon) and one small accent. */
.sd-banner { --bn-bg: linear-gradient(160deg, #fbe8ea 0%, #f2d0d4 100%); --bn-disc: rgba(255, 255, 255, 0.58); --bn-dots: rgba(143, 13, 25, 0.26); --bn-ink: #181b31; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; height: 196px; padding: 24px 92px 24px 32px; background: var(--bn-bg); }
.sd-banner::before { content: ""; position: absolute; z-index: -2; left: 4%; top: -62%; width: 96%; aspect-ratio: 1; border-radius: 50%; background: var(--bn-disc); border: 1.5px dotted var(--bn-dots); transition: transform 0.5s var(--ease-out); }
.sd-banner::after { content: ""; position: absolute; z-index: -1; top: -64px; right: -64px; width: 144px; height: 144px; border-radius: 50%; background: linear-gradient(225deg, #8f0d19 0%, #d71920 100%); }
.sd-banner__blob { position: absolute; z-index: -1; left: -52px; bottom: -52px; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(45deg, #8f0d19 0%, #d71920 100%); }
.sd-banner__title { color: var(--bn-ink); font-family: var(--font-display); font-size: clamp(1.5rem, 2.1vw, 1.8125rem); font-weight: 750; line-height: 1.12; letter-spacing: -0.035em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sd-banner__mark { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; }
.sd-banner__mark .ax-icon { width: 22px; height: 22px; }
.sd-bcard:hover .sd-banner::before { transform: scale(1.04); }
.sd-bcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 1; padding: 32px 34px 36px; }
.sd-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--sd-navy) 7%, var(--sd-surface)); color: var(--sd-navy); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.sd-bcard .sd-card__title { font-size: 1.4375rem; line-height: 1.22; letter-spacing: -0.025em; }
.sd-bcard .sd-card__text { color: var(--sd-ink); font-size: 1rem; line-height: 1.6; }
.sd-bcard .sd-card__link { margin-top: auto; padding-top: 18px; color: var(--sd-navy); font-size: 1rem; text-decoration-color: currentColor; text-decoration-thickness: 1.5px; }
.sd-bcard:hover .sd-card__link { color: var(--sd-red-ink); }
/* Banner cards sit three to a row with room to breathe. */
.sd-grid--cards { gap: 32px; }
.sd-grid--cards > li { flex-basis: calc((100% - 64px) / 3); }

/* Videos */
.sd-vfeature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px; border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); background: var(--sd-surface); box-shadow: var(--sd-shadow); }
.sd-vfeature__media, .sd-vcard__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 10px; background: #181b31; }
.sd-vfeature__media img, .sd-vcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease-out); }
.sd-vfeature__media:hover img, .sd-vcard:hover .sd-vcard__media img { transform: scale(1.03); }
.sd-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: var(--sd-red); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.sd-play .ax-icon { width: 28px; height: 28px; margin-left: 3px; fill: currentColor; }
.sd-play--sm { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.sd-play--sm .ax-icon { width: 20px; height: 20px; }
.sd-vfeature__body h3 { margin: 8px 0 12px; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.2; letter-spacing: -0.03em; }
.sd-vfeature__body h3 a { color: var(--sd-navy); }
.sd-vfeature__body p { margin: 0 0 20px; color: var(--sd-ink-2); }
.sd-vfeature__body .sd-btn { margin-top: 8px; }
.sd-vgrid { margin-top: 24px; }
.sd-vcard { padding: 16px 16px 20px; }
.sd-vcard .sd-card__title { margin-top: 6px; font-size: 1.0625rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Integrations: compact connector tiles. */
.sd-ints { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sd-int { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--sd-line); border-radius: 10px; background: var(--sd-surface); text-decoration: none !important; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.sd-int:hover { border-color: var(--sd-line-2); box-shadow: var(--sd-shadow); }
.sd-int__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--hb); color: var(--hf); }
.sd-int__icon .ax-icon { width: 20px; height: 20px; }
.sd-int__text { display: flex; flex-direction: column; min-width: 0; }
.sd-int__name { color: var(--sd-navy); font-weight: 600; font-size: 0.9375rem; }
.sd-int__kind { color: var(--sd-ink-3); font-size: 0.8125rem; }

/* Business processes: copy left, rows right. */
.sd-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.sd-split__text h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.035em; }
.sd-split__text p { margin: 0; max-width: 40ch; color: var(--sd-ink-2); font-size: 1.0625rem; line-height: 1.55; }
.sd-rows { margin: 0; padding: 0; list-style: none; border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); background: var(--sd-surface); overflow: hidden; }
.sd-rows li + li { border-top: 1px solid var(--sd-line); }
.sd-rows a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--sd-navy); text-decoration: none !important; transition: background 0.12s var(--ease); }
.sd-rows a:hover { background: var(--sd-soft); }
.sd-rows__title { flex: 1; font-weight: 600; }
.sd-rows__meta { color: var(--sd-ink-3); font-size: 0.875rem; }
.sd-rows .ax-icon { width: 14px; height: 14px; color: var(--sd-ink-3); }
.sd-rows a:hover .ax-icon { color: var(--sd-red-ink); }

/* Reading lists */
.sd-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.sd-lists.is-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.sd-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--sd-navy); }
.sd-list__head h2 { margin: 0; font-size: 1.375rem; font-weight: 750; letter-spacing: -0.025em; }
.sd-list__items { margin: 0; padding: 0; list-style: none; }
.sd-list__items li { border-bottom: 1px solid var(--sd-line); }
.sd-list__items a { display: grid; gap: 4px; padding: 18px 0; text-decoration: none !important; }
.sd-list__title { color: var(--sd-navy); font-weight: 650; font-size: 1.0625rem; }
.sd-list__items a:hover .sd-list__title { color: var(--sd-red-ink); text-decoration: underline; text-underline-offset: 3px; }
.sd-list__desc { color: var(--sd-ink-2); font-size: 0.9375rem; line-height: 1.5; }
.sd-list__meta { display: flex; flex-wrap: wrap; color: var(--sd-ink-3); font-size: 0.8125rem; }
.sd-list__meta span + span::before { content: "·"; margin: 0 8px; }

/* Help band */
.sd-help { padding: 64px 0; background: #181b31; color: rgba(255, 255, 255, 0.82); }
.sd-help__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.sd-help h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 750; letter-spacing: -0.03em; }
.sd-help__text p { margin: 0; max-width: 60ch; line-height: 1.6; }
.sd-help__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sd-help__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-help__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 12px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sd-help__links a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.sd-help__links a:hover { color: #fff; }
.sd-help__links .ax-icon { width: 17px; height: 17px; color: #ff8589; }
.sd-help + .sd-footer, .sd-home + .sd-footer { border-top: 0; }

/* Dark mode details for the homepage */
:root[data-theme="dark"] .sd-hero { background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(229, 72, 77, 0.12), transparent 70%), linear-gradient(180deg, var(--sd-soft) 0%, var(--sd-bg) 100%); }
:root[data-theme="dark"] .sd-feature, :root[data-theme="dark"] .sd-help { background: #1b1f36; }
:root[data-theme="dark"] .sd-banner { --bn-bg: linear-gradient(160deg, #1d2038 0%, #2a1c2c 100%); --bn-disc: rgba(255, 255, 255, 0.05); --bn-dots: rgba(255, 133, 137, 0.3); --bn-ink: #f1f2f7; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .sd-hero { background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(229, 72, 77, 0.12), transparent 70%), linear-gradient(180deg, var(--sd-soft) 0%, var(--sd-bg) 100%); }
	:root:not([data-theme="light"]) .sd-feature, :root:not([data-theme="light"]) .sd-help { background: #1b1f36; }
	:root:not([data-theme="light"]) .sd-banner { --bn-bg: linear-gradient(160deg, #1d2038 0%, #2a1c2c 100%); --bn-disc: rgba(255, 255, 255, 0.05); --bn-dots: rgba(255, 133, 137, 0.3); --bn-ink: #f1f2f7; }
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1280px) {
	.ax-docs { grid-template-columns: 280px minmax(0, 1fr); }
	.sd-header .ax-searchbtn { width: 220px; }
	.sd-global .ax-header__site { display: none; }
}
@media (max-width: 1100px) {
	.sd-header .ax-nav { position: absolute; top: 100%; background: var(--sd-bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--sd-line); box-shadow: var(--sd-shadow-lg); }
	.sd-header .ax-nav__list a[aria-current="page"]::after, .sd-header .ax-nav__list .current-menu-item > a::after { display: none; }
	.sd-nav__extra { display: block; margin: 8px 0 0; padding: 8px 0 0; list-style: none; border-top: 1px solid var(--sd-line); }
	.sd-nav__extra a { display: block; padding: 12px 10px; color: var(--sd-ink-2); font-size: 1rem; }
	.sd-grid > li { flex-basis: calc((100% - 24px) / 2); }
	.sd-grid--3 > li { flex-basis: calc((100% - 24px) / 2); }
	.sd-grid--cards { gap: 24px; }
	.sd-grid--cards > li { flex-basis: calc((100% - 24px) / 2); }
	.sd-hero__inner.has-feature { grid-template-columns: minmax(0, 1fr); }
	.sd-feature { min-height: 0; max-width: 640px; }
	.sd-vfeature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sd-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sd-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 980px) {
	.ax-sidebar__top { display: flex; }
	.ax-sidebar__inner { padding-top: 16px; }
	.sd-global__nav { display: none; }
	.sd-docbar__inner { flex-wrap: wrap; gap: 0 24px; }
	.sd-docbar__id { flex: 1 1 auto; padding-bottom: 6px; }
	.sd-switch { order: 2; margin-left: auto; }
	.sd-tabs { order: 3; flex-basis: 100%; }
	.sd-tabs a { padding: 10px 16px 12px; }
	.sd-lists { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.sd-help__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.sd-wrap, .sd-header .ax-header__inner { padding-left: 20px; padding-right: 20px; }
	.ax-product__head .ax-container, .ax-hub__head .ax-container, .ax-product__body.ax-container { padding-left: 20px; padding-right: 20px; }
	.sd-global__inner { height: 54px; gap: 12px; }
	.sd-global .ax-brand__logo { height: 34px; }
	.sd-global__cta { display: none; }
	.ax-header__translate .gt_switcher .gt_selected a { padding: 6px 24px 6px 6px !important; font-size: 0 !important; }
	.sd-header .ax-header__inner { gap: 12px; }
	.sd-wordmark { font-size: 1.1875rem; }
	.sd-wordmark__logo .ax-brand__logo { height: 30px; }
	.sd-header.is-stuck .sd-wordmark__logo { margin-right: 10px; padding-right: 10px; }
	.sd-header .ax-searchbtn { width: 40px; padding: 0; justify-content: center; border-color: transparent; }
	.sd-docbar__title { font-size: 1.25rem; }
	.sd-tabs a { padding: 10px 12px 12px; }
	.ax-article { padding: 24px 20px 96px; }
	.ax-tool { padding: 2px 10px; }
	.ax-feedback { flex-direction: column; align-items: flex-start; }
	.sd-hero { padding: 40px 0 88px; }
	.sd-hero__lede { font-size: 1.0625rem; }
	.sd-hero__actions .sd-btn { flex: 1 1 auto; }
	.sd-feature { padding: 26px; }
	.sd-section { padding: 52px 0; }
	.sd-section__head { margin-bottom: 32px; }
	.sd-grid { gap: 16px; }
	.sd-grid > li, .sd-grid--3 > li { flex-basis: 100%; }
	.sd-card { padding: 22px; }
	/* Phones: products two-up without descriptions; guides without the decorative band. */
	/* Phones: guide cards one per row with a shorter banner; product cards two-up and compact. */
	.sd-grid--cards > li { flex-basis: 100%; }
	.sd-card.sd-bcard { padding: 0; }
	.sd-banner__title { overflow-wrap: anywhere; }
	.sd-banner { height: 140px; padding: 20px 76px 20px 22px; }
	.sd-banner__title { font-size: 1.5rem; }
	.sd-bcard__body { gap: 10px; padding: 22px 22px 26px; }
	.sd-bcard .sd-card__title { font-size: 1.25rem; }
	.sd-bcard .sd-card__link { padding-top: 10px; }
	.sd-grid--products > li { flex-basis: calc((100% - 16px) / 2); }
	.sd-grid--products .sd-banner { height: 84px; padding: 12px 44px 12px 14px; }
	.sd-grid--products .sd-banner::after { top: -48px; right: -48px; width: 96px; height: 96px; }
	.sd-grid--products .sd-banner__title { font-size: 1.0625rem; }
	.sd-grid--products .sd-banner__mark { top: 8px; right: 8px; width: 24px; height: 24px; }
	.sd-grid--products .sd-banner__mark .ax-icon { width: 16px; height: 16px; }
	.sd-grid--products .sd-banner__blob { display: none; }
	.sd-grid--products .sd-bcard__body { gap: 8px; padding: 14px 14px 16px; }
	.sd-grid--products .sd-pill { padding: 3px 9px; font-size: 0.75rem; }
	.sd-grid--products .sd-bcard .sd-card__title { font-size: 1rem; }
	.sd-grid--products .sd-bcard .sd-card__text { display: none; }
	.sd-grid--products .sd-bcard .sd-card__link { padding-top: 2px; font-size: 0.875rem; }
	.sd-vcard { flex-direction: row; align-items: center; gap: 14px; padding: 12px; }
	.sd-vcard__media { flex: 0 0 120px; }
	.sd-vcard .sd-card__title { margin: 0; font-size: 0.9375rem; }
	.sd-vcard .sd-card__link { display: none; }
	.sd-vfeature { padding: 16px; }
	.sd-ints { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.sd-int { padding: 12px; gap: 10px; }
	.sd-int__icon { width: 34px; height: 34px; }
	.sd-help { padding: 48px 0; }
	.sd-help__actions .sd-btn { flex: 1 1 auto; }
	.sd-footer .ax-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media print {
	.sd-global, .sd-docbar, .sd-help, .sd-frame__bar { display: none !important; }
	.sd-frame { border-color: #ddd; }
	.sd-code[data-code-theme="dark"] { background: #fff; color: #000; }
}
