/* ==========================================================================
   Softregent — Website design system v2 (see /new-design.md)
   Tokens: theme.json presets + the custom properties below.
   No @layer: WordPress core styles are unlayered, so layered rules would lose.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	/* primitives */
	--gray-0: #ffffff; --gray-25: #fafafb; --gray-50: #f5f5f7; --gray-100: #ececef; --gray-200: #e4e4e8;
	--gray-300: #d1d1d8; --gray-400: #a0a0ab; --gray-500: #6e6e79; --gray-600: #52525c; --gray-700: #3a3a43;
	--gray-900: #141419; --gray-950: #0b0b10;
	--blue-50: #eef3ff; --blue-100: #dde7ff; --blue-300: #8eacff; --blue-500: #2f62ff; --blue-600: #0036ff; --blue-700: #002bd1; --blue-800: #0023a8;
	--night-950: #05061b; --night-900: #0b0d26; --night-line: rgba(255,255,255,.08);
	--night-fg-2: rgba(255,255,255,.68); --night-fg-3: rgba(255,255,255,.48);

	/* semantic */
	--bg: var(--gray-0); --bg-subtle: var(--gray-50); --bg-hover: var(--gray-25);
	--fg: var(--gray-900); --fg-body: var(--gray-700); --fg-muted: var(--gray-500);
	--border: var(--gray-200); --border-strong: var(--gray-300);
	--action: var(--blue-600); --action-hover: var(--blue-700); --action-press: var(--blue-800); --focus: var(--blue-500);

	/* space */
	--sp-section: 128px; --sp-head: 48px; --sp-block: 64px; --sp-card: 32px; --sp-stack: 16px; --sp-gap: 24px;
	--sr-page-margin: 16px;
	--container: 1200px;

	/* shape / elevation / motion */
	--r-xs: 6px; --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;
	--e1: 0 1px 2px rgba(20,20,25,.06), 0 0 0 1px rgba(20,20,25,.06);
	--e2: 0 16px 40px -12px rgba(20,20,25,.22), 0 0 0 1px rgba(20,20,25,.08);
	--e3: 0 24px 48px -16px rgba(5,6,27,.14), 0 4px 12px -4px rgba(5,6,27,.06), 0 0 0 1px rgba(5,6,27,.08);
	--dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 400ms;
	--ease-out: cubic-bezier(.2,.8,.2,1); --ease-in-out: cubic-bezier(.65,0,.35,1);
	--header-h: 64px;
	--mono: var(--wp--preset--font-family--mono);
}
@media (min-width: 640px) { :root { --sr-page-margin: 24px; } }
@media (min-width: 1024px) { :root { --sr-page-margin: 32px; } }
@media (max-width: 767px) { :root { --sp-section: 80px; --sp-head: 32px; --sp-block: 48px; --sp-card: 24px; --sp-stack: 12px; --sp-gap: 16px; } }

/* ---------- 2. Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-optical-sizing: auto; overflow-x: clip; color: var(--fg-body); }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(h1, h2, h3, h4, h5) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }
::selection { background: var(--blue-100); color: var(--fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:where(:not(.wp-element-button)) { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color var(--dur-fast) ease; }
a:where(:not(.wp-element-button)):hover { text-decoration-color: currentColor; }
.sr-tnum { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; } }


/* Layout glue for post content */
.wp-block-post-content > .alignfull { margin-block: 0; }
.sr-wrap { max-width: var(--container); margin-inline: auto !important; width: 100%; }

/* ---------- 3. Typography helpers ---------- */
.sr-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.5; letter-spacing: -0.012em; color: var(--fg-body); }
.sr-label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-muted); margin: 0 0 12px; }
.sr-meta { font-size: 13px; line-height: 18px; color: var(--fg-muted); }

/* Text link with arrow (navigational) */
.sr-textlink { font-size: 15px; font-weight: 500; color: var(--fg); }
.sr-textlink a { color: var(--fg); text-decoration: none; font-weight: 500; }
.sr-textlink a:hover { text-decoration: none; }
.sr-arr { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
a:hover .sr-arr { transform: translateX(2px); }

/* ---------- 4. Buttons ---------- */
.wp-block-button__link { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 18px; box-sizing: border-box; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease; text-decoration: none; }
.wp-block-button__link:hover { background-color: var(--action-hover); text-decoration: none; }
.wp-block-button__link:active { background-color: var(--action-press); transform: scale(.98); }
.wp-block-button.sr-lg > .wp-block-button__link { height: 48px; padding: 0 24px; font-size: 16px; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: var(--bg); color: var(--fg); border: 1px solid var(--border-strong); box-shadow: none; padding-inline: 17px; }
.wp-block-button.sr-lg.is-style-outline > .wp-block-button__link { padding-inline: 23px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--bg-hover); border-color: var(--gray-400); }
.wp-block-buttons { gap: 12px; }

/* ---------- 5. Header ---------- */
/* WordPress wraps the part in <header class="wp-block-template-part">; that wrapper must be the sticky element. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
.sr-header {
	position: relative;
	height: var(--header-h); box-sizing: border-box;
	padding-inline: var(--sr-page-margin);
	box-shadow: 0 1px 0 transparent;
	transition: box-shadow var(--dur-base) ease;
}
/* The frosted background sits on a pseudo-element, never on .sr-header itself: backdrop-filter (like transform
   or filter) on an ancestor traps position:fixed children, which shrank the mobile menu sheet to the header's
   64px height. */
.sr-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(255,255,255,.85);
	-webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	transition: opacity var(--dur-base) ease;
}
.sr-scrolled .sr-header { box-shadow: 0 1px 0 var(--border); }
.sr-header__inner { max-width: var(--container); height: 100%; margin-inline: auto; }
.sr-header__inner > * { margin: 0 !important; }
.sr-logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.sr-logo img { height: 24px; width: auto; display: block; }
.sr-logo__light { display: none !important; }

/* Over the dark hero, until the user scrolls */
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-header::before { opacity: 0; }
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-header .sr-logo__dark { display: none !important; }
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-header .sr-logo__light { display: block !important; }
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:not(.sr-menu__cta) > .wp-block-navigation-item__content,
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon,
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-menu .wp-block-navigation__responsive-container-open { color: var(--night-fg-2); }
html:not(.sr-scrolled) body:has(.sr-hero--dark) .sr-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:not(.sr-menu__cta) > .wp-block-navigation-item__content:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Menu items */
.sr-menu .wp-block-navigation__container { gap: 2px; }
.sr-menu .wp-block-navigation-item__content { padding: 8px 12px; border-radius: var(--r-full); color: var(--fg-body); text-decoration: none; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.sr-menu .wp-block-navigation-item__content:hover { background: var(--bg-hover); color: var(--fg); text-decoration: none; }
.sr-menu .current-menu-item > .wp-block-navigation-item__content { color: var(--fg); background: var(--bg-subtle); }
.sr-menu .wp-block-navigation-item.has-child { padding-right: 4px; }
.sr-menu .wp-block-navigation__submenu-icon { margin-left: -2px; width: 10px; height: 10px; color: var(--fg-muted); }
.sr-menu .sr-menu__cta { margin-left: 12px; }
.sr-menu .sr-menu__cta > .wp-block-navigation-item__content { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--action); color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.sr-menu .sr-menu__cta > .wp-block-navigation-item__content:hover { background: var(--action-hover) !important; color: #fff; }

/* Services mega panel (desktop) */
/* !important: core's :hover rule forces width:auto and left:0 */
.sr-menu .sr-mega > .wp-block-navigation__submenu-container {
	width: 400px !important; min-width: 0 !important; left: 50% !important; translate: -50% 0; padding: 8px !important; margin-top: 4px;
	background: var(--bg) !important; border: 0 !important; border-radius: var(--r-lg);
	box-shadow: var(--e2);
	display: grid !important; grid-template-columns: 1fr 1fr;
	transform: translateY(4px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out) !important;
}
/* Invisible hover bridge across the 4px gap between trigger and panel (kept small so it never covers the link);
   without it, moving the pointer down slowly drops :hover and the panel snaps shut. */
.sr-menu .sr-mega > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; }
.sr-menu .sr-mega:hover > .wp-block-navigation__submenu-container,
.sr-menu .sr-mega:focus-within > .wp-block-navigation__submenu-container,
.sr-menu .sr-mega > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { transform: none; }
/* Opened by a tap (site.js) on touch screens */
.sr-menu .sr-mega.sr-touch-open > .wp-block-navigation__submenu-container { visibility: visible; opacity: 1; height: auto; overflow: visible; transform: none; }
.sr-menu .sr-mi { grid-column: 1 / -1; }
.sr-menu .sr-mi > .wp-block-navigation-item__content {
	display: grid !important; grid-template-columns: 20px 1fr; column-gap: 12px; row-gap: 2px; align-items: start;
	padding: 10px 12px !important; border-radius: var(--r-md); width: 100%; box-sizing: border-box; background: none;
}
.sr-menu .sr-mi > .wp-block-navigation-item__content:hover { background: var(--bg-subtle); }
.sr-menu .sr-mi > .wp-block-navigation-item__content::before { content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px; background: var(--fg-muted); -webkit-mask: var(--ico) center / 20px no-repeat; mask: var(--ico) center / 20px no-repeat; }
.sr-menu .sr-mi .wp-block-navigation-item__label { font-size: 14px; font-weight: 500; color: var(--fg); }
.sr-menu .sr-mi .wp-block-navigation-item__description { grid-column: 2; display: block; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--fg-muted); }
.sr-menu .sr-mi-foot { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.sr-menu .sr-mi-foot > .wp-block-navigation-item__content { padding: 10px 12px !important; border-radius: var(--r-md); font-size: 13px; color: var(--fg) !important; background: none; width: 100%; box-sizing: border-box; }
.sr-menu .sr-mi-foot > .wp-block-navigation-item__content:hover { background: var(--bg-subtle); }

/* Mobile sheet: hamburger below 1024px (phones and tablets). Core switches at 600px, so 600–1023px is overridden here. */
@media (min-width: 600px) and (max-width: 1023px) {
	.sr-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sr-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: grid; }
}
@media (max-width: 1023px) { .sr-menu .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-full); color: var(--fg); } }
.sr-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 12px var(--sr-page-margin) 24px; background: var(--bg) !important; animation: sr-sheet var(--dur-base) var(--ease-out); }
@keyframes sr-sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sr-menu .is-menu-open .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: grid; place-items: center; top: 10px; right: var(--sr-page-margin); }
.sr-menu .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px !important; align-items: stretch !important; }
.sr-menu .is-menu-open .wp-block-navigation__container { gap: 0 !important; align-items: stretch !important; width: 100%; }
.sr-menu .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid var(--border); }
.sr-menu .is-menu-open .wp-block-navigation-item__content { font-size: 18px !important; padding: 16px 4px !important; border-radius: 0; background: none !important; }
.sr-menu .is-menu-open .sr-mega > .wp-block-navigation__submenu-container { display: block !important; width: auto !important; left: auto !important; translate: none; box-shadow: none; padding: 0 0 8px !important; margin: 0; transform: none; }   /* undo the desktop centring (left/translate) */
.sr-menu .is-menu-open .sr-mega > .wp-block-navigation__submenu-container::before { display: none; }
.sr-menu .is-menu-open .sr-mi, .sr-menu .is-menu-open .sr-mi-foot { border: 0; margin: 0; padding: 0; }
.sr-menu .is-menu-open .sr-mi > .wp-block-navigation-item__content { padding: 10px 4px !important; }
.sr-menu .is-menu-open .sr-mi .wp-block-navigation-item__label { font-size: 16px; }
.sr-menu .is-menu-open .sr-mi-foot > .wp-block-navigation-item__content { font-size: 15px !important; padding: 10px 4px !important; }
.sr-menu .is-menu-open .sr-menu__cta { border: 0; margin: 24px 0 0; }
.sr-menu .is-menu-open .sr-menu__cta > .wp-block-navigation-item__content { box-sizing: border-box; padding-block: 0 !important; height: 48px !important; justify-content: center; border-radius: var(--r-full) !important; background: var(--action) !important; font-size: 16px !important; }

/* Icons (Lucide geometry, used as CSS masks) */
.sr-mi--ai { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E"); }
.sr-mi--code { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5M13.5 4l-3 16'/%3E%3C/svg%3E"); }
.sr-mi--design { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E"); }
.sr-mi--mvp { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.7-.8.7-2.1-.1-2.9a2.2 2.2 0 0 0-2.9-.1z'/%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.9A12.9 12.9 0 0 1 22 2c0 2.7-.8 7.5-6 11a22.4 22.4 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.6-3 2-4c1.6-1.1 5 0 5 0M12 15v5s3-.6 4-2c1.1-1.6 0-5 0-5'/%3E%3C/svg%3E"); }
.sr-mi--growth { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }

/* ---------- 6. Sections & headers ---------- */
.sr-section { padding-top: var(--sp-section); padding-bottom: 0; }
.sr-head { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); align-items: end; align-items: last baseline; margin-bottom: var(--sp-head) !important; }
.sr-head > * { margin: 0 !important; }
.sr-head__title { grid-column: 1 / span 6; }
.sr-head__title h2 { margin: 0; max-width: 13em; }   /* keeps a clear gap before the col-7 aside */
.sr-head__aside { grid-column: 7 / span 6; }
.sr-head__aside p:not(.sr-textlink) { max-width: 52ch; }
.sr-head__aside > * { margin: 0; }
.sr-head__aside > * + * { margin-top: 16px; }
@media (max-width: 1023px) {
	.sr-head { grid-template-columns: 1fr; row-gap: 16px; }
	.sr-head__title, .sr-head__aside { grid-column: 1; }
}

/* ---------- 7. Hero (dark, home) ---------- */
.sr-hero { position: relative; isolation: isolate; }
.sr-hero--dark {
	--hero-white: 200px;
	margin-top: calc(-1 * var(--header-h)) !important;
	padding-top: calc(var(--header-h) + 88px);
	padding-bottom: 0;
	color: var(--night-fg-2);
	background:
		linear-gradient(to bottom, transparent calc(100% - var(--hero-white)), var(--bg) calc(100% - var(--hero-white))),
		radial-gradient(65% 55% at 50% 72%, rgba(0, 54, 255, .32) 0%, rgba(0, 54, 255, 0) 100%),
		var(--night-950);
}
.sr-hero__copy { text-align: center; max-width: 880px; margin-inline: auto !important; }
.sr-hero__copy > * { margin: 0 auto !important; }
.sr-hero--dark h1 { color: #fff; font-size: var(--wp--preset--font-size--display); line-height: 1.06; letter-spacing: -0.032em; max-width: 17ch; }
.sr-hero__copy .sr-lead { color: var(--night-fg-2); max-width: 34em; margin-top: 20px !important; }
.sr-hero__copy .wp-block-buttons { justify-content: center; margin-top: 32px !important; }
.sr-hero--dark .wp-block-button.is-style-outline > .wp-block-button__link { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.16); }
.sr-hero--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }

/* Announcement pill */
.sr-pill { display: block; width: fit-content; margin: 0 auto 24px !important; font-size: 13px; line-height: 18px; font-weight: 500; }
.sr-pill a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: var(--r-full); background: var(--gray-100); color: var(--fg); text-decoration: none; transition: background-color var(--dur-fast) ease; }
.sr-pill a:hover { background: var(--gray-200); }
.sr-pill b { font-weight: 500; padding: 1px 8px; border-radius: var(--r-full); background: var(--bg); color: var(--fg); box-shadow: var(--e1); }
.sr-hero--dark .sr-pill a { background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px var(--night-line); }
.sr-hero--dark .sr-pill a:hover { background: rgba(255,255,255,.12); }
.sr-hero--dark .sr-pill b { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }

/* Hero product visual */
.sr-hero__visual { margin-top: 56px !important; }

/* ---------- 8. App window & mocks ---------- */
.sr-window { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--e3); text-align: left; color: var(--fg-body); font-size: 13px; line-height: 18px; }
.sr-window__bar { display: flex; align-items: center; height: 36px; padding: 0 14px; background: var(--gray-50); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--fg-muted); }
.sr-window__dots { display: flex; gap: 6px; flex: none; }
.sr-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); display: block; }
.sr-window__title { flex: 1; text-align: center; padding-right: 42px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Chat mock */
.sr-chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 19px; background: var(--gray-25); }
.sr-chat__msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; }
.sr-chat__msg--user { align-self: flex-end; background: var(--gray-900); color: #fff; border-bottom-right-radius: 4px; }
.sr-chat__msg--bot { align-self: flex-start; background: var(--bg); color: var(--fg); box-shadow: var(--e1); border-bottom-left-radius: 4px; }
.sr-chat__src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.sr-chat__input { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; padding: 6px 6px 6px 12px; border-radius: var(--r-full); background: var(--bg); box-shadow: var(--e1); color: var(--fg-muted); }
.sr-chat__send { width: 26px; height: 26px; border-radius: 50%; background: var(--action); color: #fff; display: grid; place-items: center; font-size: 13px; }

/* Growth chart mock */
.sr-chart { padding: 16px 18px 20px; }
.sr-chart__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--fg); font-weight: 500; }
.sr-chart svg { display: block; width: 100%; height: 132px; }
.sr-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--fg-muted); flex-wrap: wrap; }
.sr-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sr-legend span::before { content: ""; width: 10px; height: 2px; border-radius: 2px; background: var(--gray-400); }
.sr-legend span.is-primary::before { background: var(--action); }

/* ---------- 9. Services index (rows) ---------- */
.sr-index { border-top: 1px solid var(--border); isolation: isolate; }
.sr-index > * { margin: 0 !important; }
.sr-index__row { position: relative; display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--border); }
.sr-index__row > * { margin: 0 !important; }
.sr-index__row > .sr-index__num { grid-column: 1; grid-row: 1; }
.sr-index__row > h3 { grid-column: 1 / span 6; grid-row: 1; padding-left: 40px; }   /* number sits in the title's inset, not a column of its own */
.sr-index__row > p:not(.sr-index__num) { grid-column: 7 / span 5; }
.sr-index__row::after { grid-column: 12; grid-row: 1; }
.sr-index__row::before { content: ""; position: absolute; inset: 0 -16px; border-radius: var(--r-md); background: var(--gray-50); opacity: 0; transition: opacity var(--dur-fast) ease; z-index: -1; }
.sr-index__row:hover::before { opacity: 1; }
.sr-index__num { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .02em; color: var(--gray-500); }   /* gray-400 fails 4.5:1 */
.sr-index__row h3 { font-size: var(--wp--preset--font-size--heading-md); }
.sr-index__row h3 a { color: var(--fg); text-decoration: none; }
.sr-index__row h3 a::after { content: ""; position: absolute; inset: 0; }
.sr-index__row h3 a:focus-visible { outline: none; }
.sr-index__row:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r-md); }
.sr-index__row p { color: var(--fg-body); }
.sr-index__row::after { content: "→"; justify-self: end; align-self: baseline; font-size: 20px; line-height: 1; color: var(--fg-muted); transition: transform var(--dur-base) var(--ease-out), color var(--dur-fast) ease; }
.sr-index__row:hover::after { transform: translateX(2px); color: var(--fg); }
@media (max-width: 767px) {
	.sr-index__row { grid-template-columns: 32px 1fr 20px; row-gap: 8px; padding: 22px 0; }
	.sr-index__row > .sr-index__num { grid-column: 1; grid-row: 1; }
	.sr-index__row > h3 { grid-column: 2; grid-row: 1; padding-left: 0; }
	.sr-index__row > p:not(.sr-index__num) { grid-column: 2; grid-row: 2; }
	.sr-index__row::after { grid-row: 1; grid-column: 3; }
	.sr-index__row::before { inset: 0 -8px; }
}

/* ---------- 10. Bento ---------- */
.sr-bento { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-gap); }
.sr-bento > * { margin: 0 !important; }
.sr-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--bg-subtle); border-radius: var(--r-lg); padding: var(--sp-card) var(--sp-card) 0; min-height: 380px; }
.sr-tile > * { margin: 0; }
.sr-tile h3 { font-size: var(--wp--preset--font-size--heading-sm); line-height: 1.4; letter-spacing: -0.012em; }
.sr-tile h3 + p { margin-top: 8px; color: var(--fg-body); font-size: 15px; line-height: 24px; max-width: 46ch; }
.sr-tile__visual { margin-top: 0 !important; padding-top: 32px; flex: 1; display: flex; flex-direction: column; }
.sr-tile__visual > .sr-window { flex: 1; }
.sr-tile__visual .sr-window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 24px 48px -24px rgba(5,6,27,.22), 0 0 0 1px rgba(5,6,27,.06); }
.sr-span-7 { grid-column: span 7; } .sr-span-5 { grid-column: span 5; }
@media (max-width: 1023px) { .sr-span-7, .sr-span-5 { grid-column: span 12; } .sr-tile { min-height: 0; } }

/* ---------- 11. Timeline & text columns ---------- */
.sr-timeline { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--sp-gap); position: relative; }
.sr-timeline > * { margin: 0 !important; }
.sr-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--border-strong); }
.sr-step { position: relative; padding-top: 32px; }
.sr-step::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--gray-900); }
.sr-step:first-child::before { background: var(--gray-900); }
.sr-step > * { margin: 0; }
.sr-step .sr-index__num { display: block; margin-bottom: 12px; }
.sr-step h3 { font-size: var(--wp--preset--font-size--heading-sm); }
.sr-step p:last-child { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--fg-body); max-width: 32ch; }
@media (max-width: 1023px) {
	.sr-timeline { grid-template-columns: 1fr; row-gap: 32px; padding-left: 28px; }
	.sr-timeline::before { left: 4px; right: auto; top: 4px; bottom: 4px; width: 1px; height: auto; }
	.sr-step { padding-top: 0; }
	.sr-step::before { left: -28px; top: 2px; }
}

.sr-cols { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sp-gap); row-gap: 32px; }
.sr-cols > * { margin: 0 !important; }
.sr-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
.sr-col-item { border-top: 1px solid var(--border); padding-top: 24px; }
.sr-col-item > * { margin: 0; }
.sr-col-item h3 { font-size: var(--wp--preset--font-size--heading-sm); }
.sr-col-item p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--fg-body); }
.sr-col-item p.sr-meta { margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--fg-muted); }
.sr-col-item .sr-meta strong { color: var(--fg); font-weight: 500; }
@media (max-width: 767px) { .sr-cols, .sr-cols--2 { grid-template-columns: 1fr; row-gap: 24px; } }

.sr-engage { margin-top: var(--sp-block) !important; }

/* Split section: left heading column + right content */
.sr-split { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); row-gap: 32px; align-items: start; }
.sr-split > * { margin: 0 !important; }
.sr-split__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.sr-split__head > * { margin: 0; }
.sr-split__head > * + * { margin-top: 16px; }
.sr-split__body { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .sr-split__head, .sr-split__body { grid-column: 1 / -1; position: static; } }

/* ---------- 12. FAQ ---------- */
.sr-faq { border-top: 1px solid var(--border); }
.sr-faq > * { margin: 0 !important; }
.sr-faq .wp-block-details { border-bottom: 1px solid var(--border); margin: 0; padding: 0; }
.sr-faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 40px 22px 0; font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); border-radius: var(--r-sm); }
.sr-faq summary::-webkit-details-marker { display: none; }
.sr-faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: linear-gradient(var(--fg), var(--fg)) center / 14px 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1.5px 14px no-repeat;
	transition: transform var(--dur-base) var(--ease-out); }
.sr-faq details[open] summary::after { transform: rotate(45deg); }
.sr-faq details > :not(summary) { margin: -6px 0 0; padding-bottom: 24px; max-width: 68ch; color: var(--fg-body); }

/* ---------- 13. CTA band ---------- */
.sr-cta-wrap { padding: var(--sp-section) var(--sr-page-margin) 0; }
.sr-cta {
	max-width: var(--container); margin-inline: auto; box-sizing: border-box;
	padding: 96px 32px; border-radius: var(--r-xl); text-align: center;
	color: var(--night-fg-2);
	background: radial-gradient(70% 90% at 50% 120%, rgba(0, 54, 255, .34) 0%, rgba(0, 54, 255, 0) 100%), var(--night-950);
}
.sr-cta > * { margin: 0 auto; }
.sr-cta h2 { color: #fff; max-width: 18ch; }
.sr-cta .sr-lead { color: var(--night-fg-2); max-width: 34em; margin-top: 16px; }
.sr-cta .sr-actions { margin-top: 32px; gap: 20px; }
.sr-cta .sr-actions > * { margin: 0; }
.sr-cta .sr-textlink { color: var(--night-fg-3); font-weight: 400; }
.sr-cta .sr-textlink a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }
.sr-cta .sr-textlink a:hover { text-decoration-color: #fff; }
@media (max-width: 767px) { .sr-cta { padding: 64px 20px; } .sr-cta .sr-actions { flex-direction: column; gap: 16px; } }

/* ---------- 14. Footer ---------- */
.sr-footer { margin-top: 96px; padding: 64px var(--sr-page-margin) 32px; border-top: 1px solid var(--border); font-size: 14px; line-height: 22px; }
.sr-footer > * { max-width: var(--container); margin-inline: auto !important; }
.sr-footer__grid { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); row-gap: 40px; }
.sr-footer__grid > * { margin: 0 !important; }
.sr-footer__brand { grid-column: 1 / span 4; }
.sr-footer__brand p { margin: 16px 0 0; color: var(--fg-muted); max-width: 30ch; }
.sr-footer__col:nth-child(2) { grid-column: 5 / span 3; }
.sr-footer__col:nth-child(3) { grid-column: 8 / span 2; }
.sr-footer__col:nth-child(4) { grid-column: 10 / span 3; }
.sr-footer__title { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; letter-spacing: 0 !important; margin: 0 0 16px !important; color: var(--fg); }
.sr-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sr-footer__links a, .sr-footer__bottom a { color: var(--fg-muted); text-decoration: none; transition: color var(--dur-fast) ease; }
.sr-footer__links a:hover, .sr-footer__bottom a:hover { color: var(--fg); }
.sr-footer__address { margin: 16px 0 0; color: var(--fg-muted); max-width: 28ch; }
.sr-footer__bottom { margin-top: 64px !important; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); }
.sr-footer__bottom p { margin: 0; }
@media (max-width: 1023px) {
	.sr-footer__brand { grid-column: 1 / -1; }
	.sr-footer__col:nth-child(2) { grid-column: 1 / span 5; }
	.sr-footer__col:nth-child(3) { grid-column: 6 / span 3; }
	.sr-footer__col:nth-child(4) { grid-column: 9 / span 4; }
}
@media (max-width: 639px) { .sr-footer__grid > .sr-footer__col { grid-column: 1 / -1 !important; } }

/* ---------- 15. Simple pages ---------- */
.sr-page-head { padding-top: 96px; padding-bottom: 32px; }
.sr-page-head > * { margin-block: 0; }
.sr-page-head > * + * { margin-top: 16px; }
.sr-prose { padding-bottom: 32px; font-size: 17px; line-height: 28px; }
.sr-prose h2 { font-size: 28px; margin-top: 2em; }
.sr-prose h3 { font-size: 20px; margin-top: 1.6em; }
.sr-404 { padding-bottom: 32px; }

/* ---------- Hero: interactive delivery plan ----------
   Static week-7 state without JS. site.js adds .is-live (playback, scrubbing, tabs).
   Blue is used once: the AI lane. Everything else is greyscale. */
.sr-plan { --lane: 188px; padding: 18px 20px 20px; }
.sr-plan__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sr-plan__title { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.sr-plan__title strong { font-size: 15px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; white-space: nowrap; }
.sr-plan__hint { font-size: 12px; color: var(--fg-muted); white-space: nowrap; opacity: 0; transition: opacity var(--dur-base) ease; }
.sr-plan.is-live .sr-plan__hint { opacity: 1; }
.sr-plan__ctrls { display: flex; align-items: center; gap: 8px; }
.sr-plan__tabs { display: flex; gap: 4px; }
.sr-plan__tabs button { font: inherit; font-size: 13px; line-height: 18px; padding: 4px 10px; border: 0; border-radius: var(--r-full); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.sr-plan__tabs button:hover { color: var(--fg); background: var(--gray-50); }
.sr-plan__tabs button[aria-selected="true"] { background: var(--gray-100); color: var(--fg); font-weight: 500; }
.sr-plan:not(.is-live) .sr-plan__tabs button:not([aria-selected="true"]), .sr-plan:not(.is-live) .sr-plan__play { visibility: hidden; }
.sr-plan__play { width: 28px; height: 28px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--gray-900); color: #fff; cursor: pointer; transition: background-color var(--dur-fast) ease, transform var(--dur-fast) ease; }
.sr-plan__play:hover { background: var(--gray-700); }
.sr-plan__play:active { transform: scale(.94); }
.sr-plan__play-ico { width: 0; height: 0; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.sr-plan.is-live.is-playing .sr-plan__play-ico { width: 8px; height: 9px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 3px, transparent 3px 5px, #fff 5px 8px); }

/* Views share one grid cell so switching never changes the height */
.sr-plan__views { display: grid; }
.sr-plan__view { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
.sr-plan__view.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Timeline grid */
.sr-plan__grid { position: relative; }
.sr-plan__row { display: grid; grid-template-columns: var(--lane) 1fr; align-items: center; min-height: 48px; border-top: 1px solid var(--gray-100); }
.sr-plan__head { min-height: 32px; border-top: 0; position: relative; }
.sr-plan__lane { display: flex; flex-direction: column; justify-content: center; padding-right: 16px; min-width: 0; }
.sr-plan__head .sr-plan__lane { font-size: 12px; font-weight: 500; color: var(--fg-muted); }
.sr-plan__name { font-size: 13px; line-height: 17px; font-weight: 500; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-plan__status { font-size: 11px; line-height: 15px; color: var(--fg-muted); white-space: nowrap; }
.sr-plan__weeks, .sr-plan__track { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); position: relative; }
.sr-plan__weeks { height: 32px; align-items: center; }
.sr-plan__weeks span { font-size: 11px; color: var(--gray-500); padding-left: 6px; border-left: 1px solid var(--gray-100); transition: color var(--dur-fast) ease; }
.sr-plan__weeks span.is-past { color: var(--gray-700); }
.sr-plan__weeks span.is-now { color: transparent; }
.sr-plan__track { height: 48px; align-items: center; background: repeating-linear-gradient(to right, var(--gray-100) 0 1px, transparent 1px calc(100% / 12)); }

/* Lane rows are links to the matching service */
a.sr-plan__lanerow { color: inherit; text-decoration: none; position: relative; transition: opacity var(--dur-base) ease, background-color var(--dur-fast) ease; border-radius: 8px; }
a.sr-plan__lanerow:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.sr-plan__grid:has(.sr-plan__lanerow:hover, .sr-plan__lanerow:focus-visible) .sr-plan__lanerow:not(:hover):not(:focus-visible) { opacity: .4; }
a.sr-plan__lanerow:hover, a.sr-plan__lanerow:focus-visible { background: var(--gray-25); }

/* Bars */
.sr-plan__bar { position: relative; z-index: 3; height: 30px; display: flex; align-items: center; padding: 0 10px; margin: 0 3px; border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background-color var(--dur-base) ease, color var(--dur-base) ease, box-shadow var(--dur-base) ease; }
.sr-plan__label { overflow: hidden; text-overflow: ellipsis; position: relative; }
.sr-plan__prog { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--gray-900); transition: width 260ms var(--ease-out); }
.sr-plan__bar.is-next { background: transparent; color: var(--gray-600); box-shadow: inset 0 0 0 1px var(--gray-300); background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--gray-50) 6px 12px); }
.sr-plan__bar.is-active { background: var(--gray-50); color: var(--fg); box-shadow: inset 0 0 0 1px var(--gray-300); }
.sr-plan__bar.is-done { background: var(--gray-100); color: var(--gray-600); box-shadow: none; }
.sr-plan__bar.is-done .sr-plan__label::before { content: "✓ "; color: var(--fg); }
.sr-plan__bar.is-done .sr-plan__prog { opacity: 0; }
.sr-plan__bar.is-hl.is-active { background: var(--action); color: #fff; box-shadow: 0 6px 14px -6px rgba(0,54,255,.5); }
.sr-plan__bar.is-hl.is-active .sr-plan__prog { background: rgba(255,255,255,.75); }
.sr-plan__bar.is-hl.is-next { color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-300); background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--blue-50) 6px 12px); }
.sr-plan__bar.is-hl.is-done { background: var(--blue-50); color: var(--blue-700); }
.sr-plan__bar.is-hl.is-done .sr-plan__label::before { color: var(--blue-700); }
.sr-plan__bar.is-open { -webkit-mask-image: linear-gradient(to right, #000 75%, transparent); mask-image: linear-gradient(to right, #000 75%, transparent); margin-right: 0; }

/* Hover / focus card */
.sr-plan__card { position: absolute; z-index: 5; bottom: calc(100% - 4px); left: calc((var(--a) - 1) / 12 * 100%); width: 264px; padding: 12px 14px; border-radius: var(--r-md); background: var(--bg); box-shadow: var(--e2); display: grid; gap: 4px; text-align: left; opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
.sr-plan__card.is-right { left: auto; right: calc((12 - var(--b)) / 12 * 100%); }
.sr-plan__card.is-below { bottom: auto; top: calc(100% - 4px); transform: translateY(-4px); }
.sr-plan__card b { font-size: 13px; font-weight: 600; color: var(--fg); }
.sr-plan__card span { font-size: 12.5px; line-height: 18px; color: var(--fg-body); white-space: normal; }
.sr-plan__card em { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--fg); margin-top: 4px; }
a.sr-plan__lanerow:hover .sr-plan__card, a.sr-plan__lanerow:focus-visible .sr-plan__card { opacity: 1; visibility: visible; transform: none; transition-delay: 80ms, 80ms, 0s; }

/* Playhead */
.sr-plan__today { z-index: 2; position: absolute; top: 30px; bottom: 0; width: 1px; pointer-events: none; background: var(--gray-900); left: calc(var(--lane) + (100% - var(--lane)) * (var(--w) - .5) / 12); transition: left 260ms var(--ease-out); }
.sr-plan__today em { z-index: 3; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 500; white-space: nowrap; color: #fff; background: var(--gray-900); padding: 2px 7px; border-radius: var(--r-full); }

/* Scrubber: a native range input laid over the week header (keyboard + touch + mouse) */
.sr-plan__scrub { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; z-index: 4; }
.sr-plan:not(.is-live) .sr-plan__scrub { display: none; }
.sr-plan__head:has(.sr-plan__scrub:focus-visible) .sr-plan__weeks { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-plan__head:hover .sr-plan__weeks span { color: var(--gray-700); }

/* Milestones view */
.sr-plan__miles { padding: 0; }
.sr-plan__miles li { padding: 12px 4px; transition: color var(--dur-base) ease; }
.sr-plan__miles li::before { transition: background-color var(--dur-base) ease, box-shadow var(--dur-base) ease; }

/* Team view */
.sr-plan__team { list-style: none; margin: 0; padding: 0; }
.sr-plan__team li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--gray-100); transition: opacity var(--dur-base) ease; }
.sr-plan__team li:first-child { border-top: 0; }
.sr-plan__av { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); color: var(--gray-700); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.sr-plan__who b { display: block; font-size: 13px; font-weight: 500; color: var(--fg); }
.sr-plan__who small { display: block; font-size: 12px; color: var(--fg-muted); }
.sr-plan__pill { font-size: 11.5px; font-weight: 500; padding: 2px 9px; border-radius: var(--r-full); background: var(--gray-100); color: var(--gray-600); white-space: nowrap; }
.sr-plan__team li.is-active .sr-plan__pill { background: var(--gray-900); color: #fff; }
.sr-plan__team li.is-active .sr-plan__av { background: var(--gray-900); color: #fff; }
.sr-plan__team li.is-next { opacity: .55; }

/* Mobile: two-line lanes, full 12 weeks visible, no hover cards */
@media (max-width: 767px) {
	.sr-plan { --lane: 0px; padding: 14px 12px 16px; }
	.sr-plan__hint { display: none; }
	.sr-plan__top { flex-wrap: wrap; row-gap: 10px; }
	.sr-plan__row { grid-template-columns: 1fr; min-height: 0; }
	.sr-plan__head .sr-plan__lane { display: none; }
	.sr-plan__lanerow { padding: 8px 0 6px; }
	.sr-plan__lane { flex-direction: row; justify-content: space-between; gap: 8px; padding: 0 2px 6px; }
	.sr-plan__track { height: 22px; }
	.sr-plan__bar { height: 18px; margin: 0 1px; padding: 0; border-radius: 5px; }
	.sr-plan__label { display: none; }
	.sr-plan__weeks span { font-size: 9.5px; padding-left: 2px; }
	.sr-plan__card { display: none; }
	.sr-plan__today { top: 30px; }
	.sr-plan__team li { grid-template-columns: 28px 1fr auto; gap: 10px; }
	.sr-plan__av { width: 28px; height: 28px; }
	.sr-plan__who small { display: none; }
}

/* ==========================================================================
   16. Inner pages
   ========================================================================== */

/* Light hero (inner pages) — stacked-left text, optional visual on the right */
.sr-hero--light { padding-top: 96px; padding-bottom: 0; }
.sr-hero__grid { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); row-gap: 48px; align-items: center; }
.sr-hero__grid > * { margin: 0 !important; }
.sr-hero__text { grid-column: 1 / span 7; }
.sr-hero__grid:has(.sr-hero__media) .sr-hero__text { grid-column: 1 / span 5; }
.sr-hero__text > * { margin: 0; }
.sr-hero__text .sr-label a { color: inherit; text-decoration: none; }
.sr-hero__text .sr-label a:hover { color: var(--fg); }
.sr-hero--light h1 { font-size: var(--wp--preset--font-size--heading-xl); line-height: 1.07; letter-spacing: -0.028em; max-width: 16ch; }
.sr-hero__text .sr-lead { margin-top: 20px; max-width: 34em; }
.sr-hero__text .wp-block-buttons { margin-top: 32px; }
.sr-hero__media { grid-column: 7 / span 6; align-self: stretch; display: flex; align-items: flex-end; background: var(--bg-subtle); border-radius: var(--r-lg); padding: 40px 40px 0; overflow: hidden; min-height: 400px; }
.sr-hero__media > * { margin: 0 !important; width: 100%; }
.sr-hero__media .sr-window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 24px 48px -24px rgba(5,6,27,.22), 0 0 0 1px rgba(5,6,27,.06); }
@media (max-width: 1023px) {
	.sr-hero__text, .sr-hero__grid:has(.sr-hero__media) .sr-hero__text, .sr-hero__media { grid-column: 1 / -1; }
	.sr-hero__media { min-height: 0; padding: 24px 24px 0; }
}
@media (max-width: 767px) { .sr-hero--light { padding-top: 56px; } }

.sr-section--tight { padding-top: var(--sp-block); }

/* Badge (§8.4) and badge row */
.sr-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-full); background: var(--gray-100); color: var(--gray-700); font-size: 13px; font-weight: 500; line-height: 1; vertical-align: middle; letter-spacing: 0; }
.sr-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.sr-badges li { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--r-full); background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; font-weight: 500; color: var(--fg); margin: 0; }

/* Reading column */
.sr-reading { max-width: 680px; }
.sr-reading > * { margin: 0; }
.sr-reading > * + * { margin-top: 20px; }
.sr-reading p { font-size: 18px; line-height: 30px; color: var(--fg-body); }

/* Facts list (About): each row sits on the 6-column body grid — label 2 cols, value 4 cols */
.sr-facts { margin: 0; border-top: 1px solid var(--border); }
.sr-facts > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--sp-gap); padding: 18px 0; border-bottom: 1px solid var(--border); }
.sr-facts dt, .sr-facts dd { margin: 0; }
.sr-facts dt { grid-column: span 2; font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.sr-facts dd { grid-column: span 4; color: var(--fg); }
.sr-facts a { color: var(--fg); }
@media (max-width: 639px) { .sr-facts > div { grid-template-columns: 1fr; row-gap: 4px; } .sr-facts dt, .sr-facts dd { grid-column: 1; } }

/* Empty state */
.sr-empty { background: var(--bg-subtle); border-radius: var(--r-lg); padding: 48px var(--sp-card); text-align: center; }
.sr-empty > * { margin: 0 auto; max-width: 52ch; }
.sr-empty h2, .sr-empty h3 { font-size: var(--wp--preset--font-size--heading-sm); line-height: 1.4; letter-spacing: -0.012em; }
.sr-empty p { margin-top: 8px; color: var(--fg-body); }
.sr-empty .sr-textlink { margin-top: 16px; }

/* Contact layout */
.sr-contact { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); row-gap: 48px; align-items: start; }
.sr-contact > * { margin: 0 !important; }
.sr-contact__form { grid-column: 1 / span 6; }
.sr-contact__aside { grid-column: 8 / span 5; background: var(--bg-subtle); border-radius: var(--r-lg); padding: var(--sp-card); position: sticky; top: calc(var(--header-h) + 24px); }
.sr-contact__aside > * { margin: 0; }
.sr-contact__aside h2 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.006em; }
.sr-contact__aside h2:not(:first-child) { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.sr-contact__aside p, .sr-contact__aside li { font-size: 15px; line-height: 24px; color: var(--fg-body); }
.sr-contact__aside p { margin-top: 8px; }
.sr-contact__aside a { color: var(--fg); }
.sr-contact__aside ol { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.sr-contact__aside ol li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.sr-contact__aside ol li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: var(--e1); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--fg); }
@media (max-width: 1023px) { .sr-contact__form, .sr-contact__aside { grid-column: 1 / -1; position: static; } }

/* Form (§8.12) */
.sr-form { display: grid; gap: 24px; }
.sr-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--sp-gap); }
@media (max-width: 767px) { .sr-form__grid { grid-template-columns: 1fr; } }
.sr-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sr-field label, .sr-field legend { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg); padding: 0; }
.sr-field label span, .sr-field legend span { color: var(--fg-muted); font-weight: 400; }
.sr-field input, .sr-field select, .sr-field textarea {
	width: 100%; box-sizing: border-box; height: 44px; padding: 0 14px; border-radius: var(--r-sm);
	border: 1px solid var(--border-strong); background: var(--bg); color: var(--fg);
	font: inherit; font-size: 16px; line-height: 24px; letter-spacing: -0.006em;
	transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
	-webkit-appearance: none; appearance: none;
}
.sr-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.sr-field textarea { height: auto; min-height: 148px; padding: 12px 14px; resize: vertical; }
.sr-field input::placeholder, .sr-field textarea::placeholder { color: var(--fg-muted); }
.sr-field input:hover, .sr-field select:hover, .sr-field textarea:hover { border-color: var(--gray-400); }
.sr-field input:focus, .sr-field select:focus, .sr-field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,98,255,.18); }
.sr-field [aria-invalid="true"] { border-color: #d92d20; }
.sr-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(217,45,32,.16); }
.sr-field__error { margin: 0; font-size: 13px; line-height: 18px; color: #b42318; }
.sr-form__alert { padding: 12px 14px; border-radius: var(--r-sm); background: #fdecea; color: #b42318; font-size: 14px; font-weight: 500; }
.sr-chips legend { margin-bottom: 8px; }
.sr-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-chip { position: relative; cursor: pointer; }
.sr-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sr-chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--border-strong); font-size: 14px; font-weight: 500; color: var(--fg-body); transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease; user-select: none; }
.sr-chip:hover span { border-color: var(--gray-400); color: var(--fg); }
.sr-chip input:checked + span { background: var(--gray-900); border-color: var(--gray-900); color: #fff; }
.sr-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sr-form__foot .wp-block-button__link { border: 0; cursor: pointer; font-family: inherit; }
.sr-form__note { margin: 0; font-size: 13px; line-height: 18px; color: var(--fg-muted); max-width: 36ch; }
.sr-form__note a { color: var(--fg-muted); }
@media (max-width: 767px) { .sr-form__foot .wp-block-button, .sr-form__foot .wp-block-button__link { width: 100%; } }
.sr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-form-done { background: var(--bg-subtle); border-radius: var(--r-lg); padding: 40px var(--sp-card); outline: none; }
.sr-form-done > * { margin: 0; }
.sr-form-done h2 { font-size: var(--wp--preset--font-size--heading-sm); line-height: 1.4; margin-top: 16px; }
.sr-form-done p { margin-top: 8px; color: var(--fg-body); }
.sr-form-done .sr-textlink { margin-top: 20px; }
.sr-form-done__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gray-900); }
.sr-form-done__icon::after { content: ""; width: 18px; height: 18px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Products (§8.8) */
.sr-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-gap); }
.sr-product { position: relative; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); transition: border-color var(--dur-fast) ease; }
.sr-product:hover { border-color: var(--border-strong); }
.sr-product--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.sr-product__media { background: var(--bg-subtle); padding: 32px 32px 0; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; overflow: hidden; }
.sr-product__media img { width: 100%; height: auto; border-radius: var(--r-md) var(--r-md) 0 0; box-shadow: var(--e3); display: block; }
.sr-product__ph { width: 100%; height: 80%; border-radius: var(--r-md) var(--r-md) 0 0; background: var(--bg); box-shadow: var(--e1); }
.sr-product__body { padding: var(--sp-card); }
.sr-product__body > * { margin: 0; }
.sr-product__title { font-size: var(--wp--preset--font-size--heading-sm); line-height: 1.4; }
.sr-product__title a { color: var(--fg); text-decoration: none; }
.sr-product__title a::after { content: ""; position: absolute; inset: 0; }
.sr-product__body p { margin-top: 8px; color: var(--fg-body); }
.sr-product__body .sr-textlink { position: relative; z-index: 1; margin-top: 16px; }
@media (max-width: 767px) { .sr-products, .sr-product--featured { grid-template-columns: 1fr; } }
.sr-product-hero img { border-radius: var(--r-lg); }

/* Legal / prose pages */
.sr-prose { margin-inline: 0; }
.sr-prose > * + * { margin-top: 16px; }
.sr-prose a { color: var(--action); }
.sr-prose ul, .sr-prose ol { padding-left: 1.25em; display: grid; gap: 8px; }
.sr-prose p, .sr-prose li { color: var(--fg-body); }
.sr-page-head .wp-block-post-title { font-size: var(--wp--preset--font-size--heading-xl); line-height: 1.07; letter-spacing: -0.028em; }
.sr-legal-meta { color: var(--fg-muted); font-size: 14px; }

/* ==========================================================================
   17. Service illustrations
   ========================================================================== */

/* Architecture diagram (Custom software) */
.sr-arch { padding: 24px 20px 28px; background: var(--gray-25); }
.sr-arch__row { display: grid; gap: 12px; }
.sr-arch__row--2 { grid-template-columns: repeat(2, 1fr); }
.sr-arch__row--1 { grid-template-columns: 1fr; width: 50%; margin-inline: auto; }
.sr-arch__row--3 { grid-template-columns: repeat(3, 1fr); }
.sr-node { background: var(--bg); border-radius: 10px; padding: 10px 12px; box-shadow: var(--e1); text-align: center; min-width: 0; }
.sr-node b { display: block; font-size: 13px; font-weight: 500; color: var(--fg); }
.sr-node small { display: block; font-size: 11.5px; color: var(--fg-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-node.is-hl { box-shadow: 0 0 0 1.5px var(--action), 0 8px 16px -8px rgba(0,54,255,.35); }
.sr-wire { height: 32px; --c: var(--gray-300); }
.sr-wire--2to1 { background:
	linear-gradient(var(--c), var(--c)) 25% 0 / 1px 50% no-repeat,
	linear-gradient(var(--c), var(--c)) 75% 0 / 1px 50% no-repeat,
	linear-gradient(var(--c), var(--c)) 50% 50% / calc(50% + 1px) 1px no-repeat,
	linear-gradient(var(--c), var(--c)) 50% 100% / 1px 50% no-repeat; }
.sr-wire--1to3 { background:
	linear-gradient(var(--c), var(--c)) 50% 0 / 1px 50% no-repeat,
	linear-gradient(var(--c), var(--c)) 50% 50% / calc(66.67% - 8px) 1px no-repeat,
	linear-gradient(var(--c), var(--c)) calc(16.67% - 4px) 100% / 1px 50% no-repeat,
	linear-gradient(var(--c), var(--c)) 50% 100% / 1px 50% no-repeat,
	linear-gradient(var(--c), var(--c)) calc(83.33% + 4px) 100% / 1px 50% no-repeat; }

/* Screens flow (UI/UX) */
.sr-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; padding: 24px 20px 28px; background: var(--gray-25); }
.sr-flow__arrow { color: var(--gray-400); font-size: 14px; }
.sr-screen { display: grid; gap: 6px; }
.sr-screen__frame { aspect-ratio: 9 / 16; border-radius: 14px; background: var(--bg); box-shadow: var(--e1); padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.sr-screen__cap { text-align: center; font-size: 11.5px; font-weight: 500; color: var(--fg-muted); }
.sr-screen i { display: block; border-radius: 4px; background: var(--gray-100); height: 8px; }
.sr-screen i.w-60 { width: 60%; } .sr-screen i.w-80 { width: 80%; } .sr-screen i.w-40 { width: 40%; }
.sr-screen i.box { height: 34px; border-radius: 6px; }
.sr-screen i.btn { height: 16px; border-radius: 999px; margin-top: auto; }
.sr-screen--wire i { background: none; box-shadow: inset 0 0 0 1px var(--gray-300); }
.sr-screen--wire i.box { background: repeating-linear-gradient(45deg, transparent 0 6px, var(--gray-100) 6px 7px); }
.sr-screen--ui i.head { height: 10px; width: 70%; background: var(--gray-900); }
.sr-screen--ui i.box { background: var(--gray-50); box-shadow: inset 0 0 0 1px var(--gray-200); }
.sr-screen--ui i.btn { background: var(--gray-900); }
.sr-screen--proto i.head { height: 10px; width: 70%; background: var(--gray-900); }
.sr-screen--proto i.box { background: var(--gray-50); box-shadow: inset 0 0 0 1px var(--gray-200); }
.sr-screen--proto i.btn { background: var(--action); position: relative; }
.sr-screen--proto i.btn::after { content: ""; position: absolute; right: 18%; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(0,54,255,.18); box-shadow: 0 0 0 4px rgba(0,54,255,.10); }

/* MVP milestones */
.sr-miles { list-style: none; margin: 0; padding: 8px 0; }
.sr-miles li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--fg); }
.sr-miles li:first-child { border-top: 0; }
.sr-miles li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gray-300); }
.sr-miles li.is-done::before { background: var(--gray-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: none; }
.sr-miles li.is-now::before { box-shadow: inset 0 0 0 4px var(--action); }
.sr-miles li.is-done { color: var(--fg-muted); }
.sr-miles li.is-now { font-weight: 500; }
.sr-miles li em { font-style: normal; font-size: 11.5px; color: var(--fg-muted); }

/* ==========================================================================
   18. Motion (only when JS adds .sr-motion and the user allows motion)
   ========================================================================== */
.sr-motion .sr-reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.sr-motion .sr-reveal.is-in { opacity: 1; transform: none; }
.sr-motion .sr-hero--dark .sr-plan__bar { transform-origin: left center; animation: sr-grow 700ms var(--ease-out) both; animation-delay: calc(300ms + var(--i, 0) * 90ms); }
@keyframes sr-grow { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.sr-tile .sr-window, .sr-hero__media .sr-window { transition: transform var(--dur-slow) var(--ease-out); }
.sr-tile:hover .sr-window { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .sr-motion .sr-reveal { opacity: 1; transform: none; } }
/* Legal pages: title shares the 680px reading column */
/* Title + text share a 7-column reading width (690px), left-aligned on the container like every other page */
.sr-page-head.is-layout-constrained > *, .sr-prose.is-layout-constrained > * { max-width: calc((min(100%, var(--container)) - 11 * var(--sp-gap)) / 12 * 7 + 6 * var(--sp-gap)); margin-left: max(0px, calc((100% - var(--container)) / 2)) !important; margin-right: auto !important; }

/* Playhead label stays inside the window at the first and last weeks */
.sr-plan[data-week="1"] .sr-plan__today em { transform: translateX(-12px); }
.sr-plan[data-week="12"] .sr-plan__today em, .sr-plan[data-week="11"] .sr-plan__today em { transform: translateX(calc(-100% + 12px)); }

/* Loop restart: brief fade so the jump from launch week back to week 1 reads as a new cycle */
.sr-plan__grid { transition: opacity 300ms var(--ease-out); }
.sr-plan.is-reset .sr-plan__grid { opacity: .35; }
.sr-plan.is-reset .sr-plan__prog, .sr-plan.is-reset .sr-plan__today { transition: none; }

/* Legal pages: true 7-column width at every container size; full width below 768px */
@media (max-width: 767px) { .sr-page-head.is-layout-constrained > *, .sr-prose.is-layout-constrained > * { max-width: none; } }

/* ==========================================================================
   19. Home bento illustrations
   Greyscale + one blue element each; no window chrome except the search page.
   ========================================================================== */
.sr-tag { display: inline-flex; align-items: center; font-size: 11px; line-height: 16px; padding: 1px 8px; border-radius: var(--r-full); background: var(--gray-100); color: var(--gray-600); font-weight: 500; white-space: nowrap; }

/* Shared: diagrams centred in the space under the tile text, 32px clear of the bottom edge */
.sr-tile__visual > .sr-ai-flow, .sr-tile__visual > .sr-ship { margin-top: auto !important; margin-bottom: auto !important; padding-bottom: 32px; }

/* AI: sources → assistant → grounded answer */
.sr-ai-flow { display: grid; grid-template-columns: minmax(150px, 176px) 48px 64px 24px minmax(180px, 1fr); align-items: center; }
.sr-ai-flow__sources { display: grid; gap: 12px; }
.sr-src { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px; border-radius: var(--r-md); background: var(--bg); box-shadow: var(--e1); }
.sr-src__ico { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--gray-100); color: var(--gray-600); font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .03em; display: grid; place-items: center; }
.sr-src b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 500; color: var(--fg); white-space: nowrap; }
.sr-src small { display: block; font-size: 11px; line-height: 14px; color: var(--fg-muted); white-space: nowrap; }
.sr-ai-flow__wires, .sr-ai-flow__out { width: 100%; height: 168px; overflow: visible; }
.sr-ai-flow__out { height: 8px; }
.sr-ai-flow__wires path, .sr-ai-flow__out path { fill: none; stroke: var(--gray-300); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; animation: sr-flow 1.2s linear infinite; }
@keyframes sr-flow { to { stroke-dashoffset: -16; } }
.sr-ai-flow__core { display: grid; justify-items: center; gap: 6px; }
.sr-ai-flow__core small { font-size: 11px; font-weight: 500; color: var(--fg-muted); }
.sr-ai-node { width: 52px; height: 52px; border-radius: 16px; background: var(--action); box-shadow: 0 10px 24px -8px rgba(0,54,255,.55), inset 0 1px 0 rgba(255,255,255,.2); display: grid; place-items: center; }
.sr-ai-node::after { content: ""; width: 24px; height: 24px; background: #fff; -webkit-mask: var(--sparkle) center / contain no-repeat; mask: var(--sparkle) center / contain no-repeat; }
.sr-ai-flow { --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E"); }
.sr-ai-answer { padding: 12px 14px; border-radius: var(--r-md); border-top-left-radius: 4px; background: var(--bg); box-shadow: var(--e1); display: grid; gap: 8px; }
.sr-ai-answer p { margin: 0; font-size: 12.5px; line-height: 18px; color: var(--fg); }
.sr-ai-answer sup { font-size: 9px; font-weight: 600; color: var(--fg-muted); margin-left: 1px; }
.sr-ai-answer__src { display: flex; flex-wrap: wrap; gap: 4px; }
.sr-ai-answer__foot { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px solid var(--gray-100); font-size: 11px; font-weight: 500; color: var(--fg-muted); }
.sr-ai-answer__foot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--gray-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 8px no-repeat; }
@media (max-width: 767px) {
	.sr-ai-flow { grid-template-columns: 1fr; justify-items: stretch; row-gap: 12px; }
	.sr-ai-flow__wires, .sr-ai-flow__out { display: none; }
	.sr-ai-flow__sources { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.sr-src { height: auto; padding: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
	.sr-src small { display: none; }
	.sr-src b { white-space: normal; }
	.sr-ai-flow__core { grid-auto-flow: column; justify-content: center; align-items: center; gap: 10px; }
	.sr-ai-node { width: 40px; height: 40px; border-radius: 12px; }
}

/* Design: canvas with a selected component + inspector */
.sr-canvas { position: relative; flex: 1; min-height: 300px; margin: 0 calc(-1 * var(--sp-card)); padding: 8px var(--sp-card) 0; background-image: radial-gradient(var(--gray-300) 1px, transparent 1.2px); background-size: 16px 16px; display: flex; align-items: flex-end; overflow: hidden; }
.sr-phone { box-sizing: border-box; width: 204px; margin-left: 0; padding: 22px 18px 24px; border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: 0 24px 48px -24px rgba(5,6,27,.22), 0 0 0 1px rgba(5,6,27,.06); display: flex; flex-direction: column; }
.sr-phone__title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 14px; }
.sr-phone__label { font-size: 10.5px; font-weight: 500; color: var(--fg-muted); margin-bottom: 4px; }
.sr-phone__input { height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--border-strong); padding: 0 10px; display: flex; align-items: center; font-size: 11px; color: var(--fg); margin-bottom: 10px; }
.sr-gap { position: relative; height: 24px; margin: -4px 0 0; }
.sr-gap::before { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--gray-400); }
.sr-gap::after { content: ""; position: absolute; left: calc(50% - 4px); top: 2px; bottom: 2px; width: 8px; border-top: 1px solid var(--gray-400); border-bottom: 1px solid var(--gray-400); }
.sr-gap em { position: absolute; left: calc(50% + 8px); top: 50%; transform: translateY(-50%); font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--fg-muted); }
.sr-phone__btn { position: relative; height: 36px; border-radius: var(--r-full); background: var(--gray-900); color: #fff; font-size: 12px; font-weight: 500; display: grid; place-items: center; }
.sr-sel { position: absolute; inset: -5px; border: 1.5px solid var(--action); border-radius: 6px; pointer-events: none; }
.sr-sel em { position: absolute; left: -1.5px; top: -20px; font-style: normal; font-size: 9.5px; font-weight: 600; color: #fff; background: var(--action); padding: 1px 6px; border-radius: 4px 4px 4px 0; white-space: nowrap; }
.sr-sel i { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--action); border-radius: 2px; }
.sr-sel i:nth-of-type(1) { left: -4.5px; top: -4.5px; } .sr-sel i:nth-of-type(2) { right: -4.5px; top: -4.5px; }
.sr-sel i:nth-of-type(3) { left: -4.5px; bottom: -4.5px; } .sr-sel i:nth-of-type(4) { right: -4.5px; bottom: -4.5px; }
.sr-phone__link { margin-top: 14px; font-size: 10.5px; color: var(--fg-muted); text-align: center; }
.sr-inspect { position: absolute; right: var(--sp-card); top: 28px; width: 160px; padding: 12px; border-radius: var(--r-md); background: var(--bg); box-shadow: var(--e2); }
.sr-inspect b { display: block; font-size: 12px; font-weight: 600; color: var(--fg); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--gray-100); }
.sr-inspect dl { margin: 0; display: grid; gap: 2px; }
.sr-inspect dl div { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 11px; }
.sr-inspect dt { color: var(--fg-muted); }
.sr-inspect dd { margin: 0; color: var(--fg); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.sr-inspect__sw { width: 10px; height: 10px; border-radius: 3px; background: var(--action); display: inline-block; }
@media (max-width: 1023px) { .sr-canvas { justify-content: center; gap: 24px; } .sr-inspect { position: static; align-self: center; margin-bottom: 24px; } }
@media (max-width: 479px) { .sr-inspect { display: none; } .sr-phone { margin-inline: auto; } }

/* Engineering: deploy pipeline + pull request */
.sr-ship { display: grid; gap: 16px; }
.sr-pipe { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.sr-pipe li { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-full); background: var(--bg); box-shadow: var(--e1); font-size: 11.5px; font-weight: 500; color: var(--fg); white-space: nowrap; }
.sr-pipe li + li { margin-left: 18px; }
.sr-pipe li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 18px; height: 1px; background: var(--gray-300); }
.sr-pipe li.is-done::after { content: ""; order: -1; width: 12px; height: 12px; border-radius: 50%; background: var(--gray-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 7px no-repeat; }
.sr-pipe li.is-now { background: var(--action); color: #fff; box-shadow: 0 8px 16px -8px rgba(0,54,255,.6); }
.sr-pipe li.is-now::after { content: ""; order: -1; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sr-pulse 1.6s ease-out infinite; }
@keyframes sr-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
.sr-pr { padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); box-shadow: var(--e1); }
.sr-pr__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--gray-100); }
.sr-pr__head b { font-size: 13px; font-weight: 600; color: var(--fg); }
.sr-pr__head code { font-family: var(--mono); font-size: 11.5px; color: var(--fg-muted); background: none; padding: 0; }
.sr-pr__state { order: 3; margin-left: auto; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--gray-900); padding: 2px 8px; border-radius: var(--r-full); }
.sr-pr__checks { list-style: none; margin: 0; padding: 0; }
.sr-pr__checks li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; padding: 6px 0; font-size: 12px; color: var(--fg); }
.sr-pr__checks i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gray-900); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141419' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 8px no-repeat; }
.sr-pr__checks em { font-style: normal; font-size: 11px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .sr-pipe li { padding: 0 8px; font-size: 10.5px; } .sr-pipe li + li { margin-left: 10px; } .sr-pipe li + li::before { width: 10px; } }

/* Growth: search results with the client's page on top */
.sr-serp { padding: 16px 20px 24px; display: grid; gap: 14px; }
.sr-serp__q { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: var(--r-full); box-shadow: inset 0 0 0 1px var(--border-strong); font-size: 12.5px; color: var(--fg); }
.sr-serp__mag { width: 14px; height: 14px; flex: none; background: var(--fg-muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.sr-serp__res { position: relative; display: grid; gap: 4px; }
.sr-serp__res.is-you { padding: 12px 14px; margin: 0 -14px; border-radius: var(--r-md); background: var(--gray-25); box-shadow: inset 0 0 0 1px var(--gray-200); }
.sr-serp__site { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--fg-muted); }
.sr-serp__site i { width: 14px; height: 14px; border-radius: 4px; background: var(--gray-900); }
.sr-serp__res b { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--action); }
.sr-serp__res p { margin: 0; font-size: 12px; line-height: 18px; color: var(--fg-body); }
.sr-serp__links { display: flex; gap: 14px; margin-top: 2px; font-size: 11.5px; color: var(--fg); font-weight: 500; }
.sr-serp__rank { position: absolute; right: 12px; top: 12px; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--gray-900); padding: 2px 8px; border-radius: var(--r-full); }
.sr-serp__res.is-sk { gap: 7px; padding-top: 2px; }
.sr-serp__res.is-sk i { display: block; height: 8px; border-radius: 4px; background: var(--gray-100); }
.sr-serp__res.is-sk i.w30 { width: 30%; } .sr-serp__res.is-sk i.w70 { width: 70%; height: 10px; background: var(--gray-200); }
.sr-serp__res.is-sk i.w90 { width: 90%; } .sr-serp__res.is-sk i.w60 { width: 60%; }
@media (max-width: 479px) { .sr-serp__q { height: auto; min-height: 36px; padding: 8px 14px; border-radius: 18px; line-height: 18px; } .sr-serp__links { display: none; } .sr-serp__rank { position: static; justify-self: start; } }
