/* ==========================================================================
   Modulaw — signature styles
   Ports enterprise.css cues that theme.json can't express: uppercase eyebrows,
   hairline section rules, stat grid, institutional tables/quotes, logo marquee,
   reveal-on-scroll, dark band. Black-on-white, 2px corners, no shadows.
   ========================================================================== */

:root {
	--ent-bg: #ffffff;
	--ent-bg-soft: #f8f8f6;
	--ent-ink: #0a0a0a;
	--ent-ink-soft: #404040;
	--ent-muted: #6b6b6b;
	--ent-rule: #e6e6e3;
	--ent-rule-strong: #d4d4d0;
	--ent-accent: #1e3a8a;
	--ent-accent-soft: #1e40af;
	--ent-dark-bg: #0a0a0a;
	--ent-dark-fg: #f5f5f0;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-variant-ligatures: common-ligatures;
}

/* --- Eyebrow (uppercase micro-label above section headings) ---------------- */
.is-style-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem !important;
	font-weight: 500;
	color: var(--ent-muted);
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

/* --- Section hairline rule ------------------------------------------------- */
.is-style-section-rule {
	border-bottom: 1px solid var(--ent-rule);
}

/* --- Card (hairline box, no shadow) --------------------------------------- */
.is-style-card {
	border: 1px solid var(--ent-rule);
	background: var(--ent-bg);
	border-radius: 2px;
}

/* --- Institutional quote (left navy rule, not italic) --------------------- */
.wp-block-quote.is-style-ent-quote {
	border-left: 2px solid var(--ent-accent);
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	padding-left: 1.25rem;
	margin: 0;
	font-style: normal;
	font-size: 1.05rem;
	color: var(--ent-ink-soft);
}
.wp-block-quote.is-style-ent-quote cite,
.wp-block-quote.is-style-ent-quote .wp-block-quote__citation {
	color: var(--ent-muted);
	font-style: normal;
	font-size: 0.8125rem;
	font-weight: 500;
}

/* --- Institutional table (mirrors enterprise.css .ent-table) --------------- */
.wp-block-table.is-style-ent-table { margin: 0; }
.wp-block-table.is-style-ent-table table {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid var(--ent-rule);
}
.wp-block-table.is-style-ent-table th,
.wp-block-table.is-style-ent-table td {
	padding: 1rem 1.2rem;
	text-align: left;
	border-bottom: 1px solid var(--ent-rule);
	border-right: 1px solid var(--ent-rule);
	vertical-align: top;
	font-size: 0.9375rem;
	color: var(--ent-ink);
}
.wp-block-table.is-style-ent-table th:last-child,
.wp-block-table.is-style-ent-table td:last-child { border-right: 0; }
.wp-block-table.is-style-ent-table tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-ent-table thead th {
	background: var(--ent-bg-soft);
	font-weight: 500;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ent-muted);
}
.wp-block-table.is-style-ent-table thead th.ent-accent-col { color: var(--ent-accent); }
.wp-block-table.is-style-ent-table td.ent-td-muted { color: var(--ent-muted); }

/* --- Stat grid ------------------------------------------------------------ */
.ent-stat-value {
	font-size: 2.2rem !important;
	font-weight: 500 !important;
	color: var(--ent-accent) !important;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.02em;
}
.ent-stat-label {
	color: var(--ent-muted) !important;
	font-size: 0.8125rem !important;
}
.ent-tnum { font-variant-numeric: tabular-nums; }

/* --- Numbered step index -------------------------------------------------- */
.ent-step-index {
	font-variant-numeric: tabular-nums;
	color: var(--ent-accent);
	font-weight: 500;
	font-size: 0.875rem;
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 1.5rem;
}

/* --- Buttons: ghost / outline variant ------------------------------------- */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ent-rule-strong);
	color: var(--ent-ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	border-color: var(--ent-ink);
	background: var(--ent-bg-soft);
	color: var(--ent-ink);
}

/* --- Dark band (final CTA / footer) --------------------------------------- */
.is-style-dark-band {
	background: var(--ent-dark-bg);
	color: var(--ent-dark-fg);
}
.is-style-dark-band :where(h1, h2, h3, h4, p, li, cite) {
	color: var(--ent-dark-fg);
}
.is-style-dark-band .is-style-eyebrow { color: #9a9a92; }
/* Links on dark bands (footer, CTA) read light, not navy */
.is-style-dark-band a { color: var(--ent-dark-fg); text-decoration: none; }
.is-style-dark-band a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
/* Kill the block-gap between header/main/footer (was showing page bg as a white strip before the footer) */
.wp-site-blocks > * { margin-block-start: 0 !important; }
/* Inverted buttons on dark band */
.is-style-dark-band .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--ent-dark-fg);
	color: var(--ent-ink);
	border-color: var(--ent-dark-fg);
}
.is-style-dark-band .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: #ffffff;
	border-color: #ffffff;
}
.is-style-dark-band .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #3a3a37;
	color: var(--ent-dark-fg);
}
.is-style-dark-band .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--ent-dark-fg);
	background: rgba(255,255,255,0.04);
}

/* --- Logo marquee (integrations / press / backers) ------------------------ */
.ent-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ent-marquee__track { display: flex; align-items: center; gap: 3.5rem; width: max-content; }
.ent-marquee__track img,
.ent-marquee__track span { opacity: 0.55; filter: grayscale(1); font-weight: 500; color: var(--ent-muted); white-space: nowrap; transition: opacity .2s ease; }
.ent-marquee:hover .ent-marquee__track img,
.ent-marquee:hover .ent-marquee__track span { opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) {
	.ent-marquee__track { animation: ent-marquee 50s linear infinite; }
	.ent-marquee:hover .ent-marquee__track { animation-play-state: paused; }
	@keyframes ent-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}

/* --- Typewriter (hero sub-line) ------------------------------------------- */
.ent-typewriter { color: var(--ent-ink-soft); min-height: 1.6em; display: inline-block; }
.ent-typewriter__caret { display: inline-block; width: 1px; background: var(--ent-accent); margin-left: 2px; animation: ent-caret 1s step-end infinite; }
@keyframes ent-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ent-typewriter__caret { animation: none; } }

/* --- Reveal on scroll (fail-safe: only hides when JS is active) ----------- */
@media (prefers-reduced-motion: no-preference) {
	.js .ent-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
	.js .ent-reveal.is-visible { opacity: 1; transform: none; }
}
/* No JS (or reduced motion) → content is always visible. */

/* --- FAQ (details/summary) ------------------------------------------------ */
.ent-faq details { border-bottom: 1px solid var(--ent-rule); padding: 1.15rem 0; }
.ent-faq summary { cursor: pointer; font-weight: 500; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--ent-ink); }
.ent-faq summary::-webkit-details-marker { display: none; }
.ent-faq summary::after { content: "+"; color: var(--ent-muted); font-weight: 400; transition: transform .2s ease; }
.ent-faq details[open] summary::after { content: "\2212"; }
.ent-faq details > p { margin-top: 0.75rem; color: var(--ent-ink-soft); max-width: 60ch; }

/* --- Header / footer polish ----------------------------------------------- */
.wp-block-navigation .wp-block-navigation-item__content { font-size: 0.9375rem; color: var(--ent-ink); text-decoration: none; }
.wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--ent-accent); }

/* Tighter section padding rhythm helper */
.ent-section { padding-top: clamp(5rem, 6.5vw, 6rem); padding-bottom: clamp(5rem, 6.5vw, 6rem); }

/* --- Blog ----------------------------------------------------------------- */
.ent-blog-grid { gap: 1.5rem !important; }
.ent-blog-card { transition: border-color .2s ease, transform .2s ease; }
.ent-blog-card:hover { border-color: var(--ent-rule-strong); }
.ent-blog-card .wp-block-post-featured-image { margin-bottom: 0.5rem; }
.ent-blog-card .wp-block-post-featured-image img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; }
.ent-blog-card .wp-block-post-terms { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 500; color: var(--ent-muted); }
.wp-block-post-title a { text-decoration: none; color: var(--ent-ink); transition: color .15s ease; }
.wp-block-post-title a:hover { color: var(--ent-accent); }
.ent-blog-card .wp-block-post-excerpt { color: var(--ent-ink-soft); }
.ent-blog-card .wp-block-post-excerpt__excerpt { margin: 0; }
.ent-blog-card .wp-block-post-date { margin-top: auto; padding-top: 0.5rem; }
/* Pagination */
.ent-pagination .wp-block-query-pagination-numbers,
.ent-pagination a, .ent-pagination .page-numbers { font-size: 0.9375rem; }
.ent-pagination .page-numbers.current { color: var(--ent-accent); font-weight: 600; }
/* Single post prose rhythm */
.wp-block-post-content > * { margin-top: 1.25rem; }
.wp-block-post-content > h2 { margin-top: 2.25rem; }
.wp-block-post-content > h3 { margin-top: 1.75rem; }
.wp-block-post-content .wp-block-quote { border-left: 2px solid var(--ent-accent); padding-left: 1.25rem; font-style: normal; color: var(--ent-ink-soft); }

/* ==========================================================================
   Site header — custom mega-menu nav (emulates the React NonAuthNavbar)
   ========================================================================== */
.ent-siteheader { position: sticky; top: 0; z-index: 100; background: var(--ent-bg); border-bottom: 1px solid var(--ent-rule); }
.ent-nav { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ent-brand { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ent-ink); text-decoration: none; flex-shrink: 0; display: inline-flex; align-items: center; }
.ent-brand .ent-logo { height: 26px; width: auto; display: block; }
.ent-brand .ent-logo-dark { display: none; }
:root.dark .ent-brand .ent-logo-light { display: none; }
:root.dark .ent-brand .ent-logo-dark { display: block; }
.ent-nav-primary { display: flex; align-items: center; gap: 0.15rem; }
.ent-nav-link { font-size: 0.9375rem; color: var(--ent-ink); text-decoration: none; padding: 0.5rem 0.75rem; border-radius: 2px; }
.ent-nav-link:hover { color: var(--ent-accent); }
.ent-nav-item { position: relative; }
.ent-nav-trigger { display: inline-flex; align-items: center; gap: 0.35rem; font: inherit; font-size: 0.9375rem; color: var(--ent-ink); background: none; border: 0; padding: 0.5rem 0.75rem; cursor: pointer; border-radius: 2px; }
.ent-nav-trigger svg { color: var(--ent-muted); transition: transform .2s ease; }
.ent-nav-item:hover .ent-nav-trigger svg,
.ent-nav-item:focus-within .ent-nav-trigger svg,
.ent-nav-item.is-open .ent-nav-trigger svg { transform: rotate(180deg); }
.ent-nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.ent-btn-nav { display: inline-flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 500; line-height: 1.5; background: var(--ent-ink); color: var(--ent-bg); border: 1px solid var(--ent-ink); border-radius: 2px; padding: 0.5rem 1.05rem; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.ent-btn-nav:hover { background: var(--ent-accent); border-color: var(--ent-accent); color: var(--ent-bg); }
.ent-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: none; border: 0; color: var(--ent-muted); cursor: pointer; border-radius: 2px; }
.ent-theme-toggle:hover { color: var(--ent-ink); }
.ent-theme-toggle .i-sun { display: none; }
:root.dark .ent-theme-toggle .i-sun { display: block; }
:root.dark .ent-theme-toggle .i-moon { display: none; }

/* Mega panel */
.ent-mega { position: absolute; top: calc(100% + 8px); left: 0; width: 640px; max-width: calc(100vw - 3rem); background: var(--ent-bg); border: 1px solid var(--ent-rule); border-radius: 2px; box-shadow: 0 14px 40px rgba(10,10,10,0.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 120; }
.ent-nav-item:hover .ent-mega,
.ent-nav-item:focus-within .ent-mega,
.ent-nav-item.is-open .ent-mega { opacity: 1; visibility: visible; transform: none; }
.ent-mega-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ent-mega-col { padding: 1rem; }
.ent-mega-col:first-child { border-right: 1px solid var(--ent-rule); }
.ent-mega-head { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--ent-muted); margin: 0.25rem 0.5rem 0.5rem; }
.ent-mega-col a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem; border-radius: 2px; text-decoration: none; }
.ent-mega-col a:hover { background: var(--ent-bg-soft); }
.ent-mega-col a span { font-size: 0.9375rem; font-weight: 500; color: var(--ent-ink); }
.ent-mega-col a small { font-size: 0.78rem; color: var(--ent-muted); line-height: 1.35; }
.ent-mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; border-top: 1px solid var(--ent-rule); font-size: 0.8125rem; color: var(--ent-muted); }
.ent-mega-foot a { color: var(--ent-ink); font-weight: 500; text-decoration: none; }
.ent-mega-foot a:hover { color: var(--ent-accent); }

/* Burger + mobile menu */
.ent-burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 0; color: var(--ent-ink); cursor: pointer; }
.ent-mobile-menu { display: none; border-top: 1px solid var(--ent-rule); background: var(--ent-bg); padding: 0.5rem 1.5rem 1.5rem; }
.ent-mobile-menu.is-open { display: block; }
.ent-m-acc { border-bottom: 1px solid var(--ent-rule); padding: 0.35rem 0; }
.ent-mobile-menu summary { cursor: pointer; font-weight: 500; padding: 0.65rem 0; list-style: none; color: var(--ent-ink); }
.ent-mobile-menu summary::-webkit-details-marker { display: none; }
.ent-m-acc a { display: block; padding: 0.4rem 0 0.4rem 0.75rem; color: var(--ent-ink-soft); text-decoration: none; font-size: 0.9rem; }
.ent-m-head { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ent-muted); margin: 0.7rem 0 0.15rem; }
.ent-m-all { color: var(--ent-accent) !important; font-weight: 500; }
.ent-m-link { display: block; padding: 0.75rem 0; color: var(--ent-ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--ent-rule); }
.ent-m-btn { margin-top: 0.85rem; width: 100%; }

@media (max-width: 900px) {
  .ent-nav-primary { display: none; }
  .ent-hide-mobile { display: none; }
  .ent-burger { display: inline-flex; }
}

/* ==========================================================================
   Dark mode — same mechanism as the React app (.dark on <html> + localStorage 'theme').
   Flip both the ent-* tokens and the WordPress preset colour vars so every
   block styled with a colour slug inverts automatically.
   ========================================================================== */
:root.dark {
  --wp--preset--color--base: #0a0a0a;
  --wp--preset--color--base-soft: #141414;
  --wp--preset--color--contrast: #f5f5f0;
  --wp--preset--color--contrast-soft: #cfcfc7;
  --wp--preset--color--muted: #8a8a82;
  --wp--preset--color--rule: #232321;
  --wp--preset--color--rule-strong: #2f2f2c;
  --wp--preset--color--accent: #93c5fd;
  --wp--preset--color--accent-soft: #bfdbfe;
  --ent-bg: #0a0a0a; --ent-bg-soft: #141414; --ent-ink: #f5f5f0; --ent-ink-soft: #cfcfc7;
  --ent-muted: #8a8a82; --ent-rule: #232321; --ent-rule-strong: #2f2f2c;
  --ent-accent: #93c5fd; --ent-accent-soft: #bfdbfe;
  color-scheme: dark;
}
:root.dark body { background-color: #0a0a0a; color: #f5f5f0; }
/* Dark CTA band sits on a near-black page in dark mode — add separation */
:root.dark .is-style-dark-band { border-top: 1px solid var(--ent-rule); }
:root.dark .ent-stat-value { color: var(--ent-accent); }
/* Smooth the flip */
body, .ent-siteheader, .ent-mega, .is-style-card { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }

/* ==========================================================================
   Platform explorer — hover a module to play its product video
   ========================================================================== */
.ent-explorer { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: start; }
.ent-explorer-list { display: flex; flex-direction: column; }
.ent-explorer-item { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; row-gap: 0.15rem; text-align: left; background: none; border: 0; border-top: 1px solid var(--ent-rule); padding: 1rem 0.5rem; cursor: pointer; font: inherit; color: var(--ent-ink); transition: background-color .15s ease, padding-left .15s ease; }
.ent-explorer-item:first-child { border-top: 0; }
.ent-explorer-item:hover, .ent-explorer-item.is-active { background: var(--ent-bg-soft); padding-left: 0.85rem; }
.ent-explorer-num { grid-row: span 2; font-variant-numeric: tabular-nums; font-size: 0.8125rem; color: var(--ent-accent); font-weight: 500; padding-top: 0.15rem; }
.ent-explorer-name { font-size: 1rem; font-weight: 500; }
.ent-explorer-item.is-active .ent-explorer-name { color: var(--ent-accent); }
.ent-explorer-desc { font-size: 0.85rem; color: var(--ent-muted); line-height: 1.35; }

.ent-preview-frame { border: 1px solid var(--ent-rule); background: var(--ent-bg); position: sticky; top: 5.5rem; overflow: hidden; border-radius: 2px; }
.ent-preview-frame.ent-hero-frame { position: static; }
.ent-preview-chrome { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--ent-rule); background: var(--ent-bg-soft); }
.ent-preview-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ent-rule-strong); }
.ent-preview-chrome span[data-preview-label] { margin-left: 0.6rem; font-size: 0.72rem; color: var(--ent-muted); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.ent-preview-body { position: relative; aspect-ratio: 16 / 10; background: var(--ent-bg); overflow: hidden; }
.ent-preview-body img, .ent-preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.ent-preview-video { z-index: 2; }
.ent-preview-open { position: absolute; z-index: 3; right: 0.75rem; bottom: 0.75rem; font-size: 0.78rem; font-weight: 500; color: var(--ent-dark-fg); background: rgba(10,10,10,0.6); padding: 0.35rem 0.7rem; border-radius: 2px; text-decoration: none; backdrop-filter: blur(4px); }
.ent-preview-open:hover { background: rgba(10,10,10,0.8); color: #fff; }

@media (max-width: 800px) {
  .ent-explorer { grid-template-columns: 1fr; gap: 1.5rem; }
  .ent-preview-frame { position: static; }
}

/* ==========================================================================
   Reusable hover-video card grid (data-video on each card)
   ========================================================================== */
.ent-vcard .ent-preview-body { aspect-ratio: 16 / 9; }
.ent-vcard { border: 1px solid var(--ent-rule); border-radius: 2px; overflow: hidden; background: var(--ent-bg); transition: border-color .2s ease; }
.ent-vcard:hover { border-color: var(--ent-rule-strong); }
.ent-vcard-body { padding: 1rem 1.25rem 1.25rem; }
.ent-vcard-body h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.ent-vcard-body p { font-size: 0.875rem; color: var(--ent-muted); margin: 0; }

/* ==========================================================================
   Hero — left-aligned, with the institutional stat grid (mirrors React)
   ========================================================================== */
/* max-width blocks live inside a default-layout wrapper (.ent-flow) so they
   left-align to the content column instead of being auto-centered (constrained
   layout) or pushed to the padding edge (margin-left:0 in constrained). */
.ent-flow > * { margin-left: 0; margin-right: 0; max-width: 100%; }
.ent-hero-h1 { max-width: 820px; }
.ent-measure { max-width: 640px; }
.ent-measure-wide { max-width: 680px; }
/* Sub-page hero H1 — 48–52px (React text-4xl/5xl), vs homepage hero 60px */
.ent-subhero-h1 { max-width: 768px; font-size: clamp(2.25rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.022em; }
.ent-subhero-h1.ent-subhero-lg { font-size: clamp(2.5rem, 5vw, 3.25rem); }
/* Legal prose — mirrors enterprise.css .ent-prose (15px/1.72, tighter heading scale) */
.ent-legal-body { color: var(--ent-ink-soft); font-size: 15px; line-height: 1.72; }
/* Sticky Contents sidebar (React LegalPage) */
.ent-legal-toc { position: sticky; top: 6rem; }
.ent-toc-head { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--ent-muted); margin: 0 0 1rem; }
.ent-toc-list { list-style: none; margin: 0; padding: 0; }
.ent-toc-list li { margin: 0; }
.ent-toc-link { display: block; padding: 0.25rem 0; color: var(--ent-ink-soft); font-size: 0.88rem; line-height: 1.5; text-decoration: none; transition: color .15s ease; }
.ent-toc-link:hover { color: var(--ent-accent); }
@media (max-width: 900px) { .ent-legal-toc { position: static; margin-bottom: 1.5rem; } }
.ent-legal-body h2 { font-size: 1.4rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ent-ink); margin: 2.75rem 0 1rem !important; scroll-margin-top: 6rem; }
.ent-legal-body > h2:first-child { margin-top: 0 !important; }
.ent-legal-body h3 { font-size: 1.02rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.005em; color: var(--ent-ink); margin: 1.5rem 0 0.45rem !important; }
.ent-legal-body p { font-size: 15px; line-height: 1.72; color: var(--ent-ink-soft); margin: 0 0 1rem !important; }
.ent-legal-body ul, .ent-legal-body ol { margin: 0 0 1rem !important; padding-left: 1.4rem; }
.ent-legal-body li { font-size: 15px; line-height: 1.72; margin: 0 0 0.35rem !important; }
.ent-legal-body strong { color: var(--ent-ink); font-weight: 600; }
.ent-legal-body a { color: var(--ent-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ent-legal-body .wp-block-table.is-style-ent-table { margin: 1.25rem 0; }
.ent-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ent-rule); border-bottom: 1px solid var(--ent-rule); margin-top: 4rem; }
.ent-stat { padding: 1.5rem; }
.ent-stat:first-child { padding-left: 0; }
.ent-stat + .ent-stat { border-left: 1px solid var(--ent-rule); }
.ent-stat .ent-stat-value { font-size: 2.2rem; font-weight: 500; color: var(--ent-accent); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }
.ent-stat .ent-stat-label { color: var(--ent-muted); font-size: 0.8125rem; margin-top: 0.5rem; }
@media (max-width: 640px) { .ent-stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Bring-your-own-tools logo grid (real logos, mirrors React ByoTools)
   ========================================================================== */
.ent-byo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.25rem 2rem; border-top: 1px solid var(--ent-rule); padding-top: 3rem; }
.ent-byo-item { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; text-align: center; color: var(--ent-muted); }
.ent-byo-item img, .ent-byo-item svg { width: 26px; height: 26px; opacity: 0.7; filter: grayscale(1); transition: opacity .2s ease; }
.ent-byo-item:hover img, .ent-byo-item:hover svg { opacity: 1; }
.ent-byo-item span { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; line-height: 1.3; }
@media (max-width: 1024px) { .ent-byo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .ent-byo-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Press "As reported" + "Supported by" (real logos) -------------------- */
.ent-supporters { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ent-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.ent-logo-row img { height: 28px; width: auto; max-width: 130px; object-fit: contain; opacity: 0.6; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.ent-logo-row a:hover img { opacity: 1; filter: grayscale(0); }
:root.dark .ent-logo-row img { filter: grayscale(1) invert(1) brightness(1.6); opacity: 0.75; }
:root.dark .ent-logo-row a:hover img { opacity: 1; }
@media (max-width: 700px) { .ent-supporters { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Interactive pricing — control bar, cards, calculator
   ========================================================================== */
.ent-pricing-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--ent-rule); border-bottom: 1px solid var(--ent-rule); }
.ent-pricing-bar .ent-region { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; color: var(--ent-muted); }
.ent-pricing-bar select { font: inherit; font-size: 0.875rem; padding: 0.4rem 0.6rem; border: 1px solid var(--ent-rule-strong); border-radius: 2px; background: var(--ent-bg); color: var(--ent-ink); }
.ent-jump { display: flex; gap: 0.5rem; }
.ent-jump a { font-size: 0.8125rem; color: var(--ent-ink); text-decoration: none; border: 1px solid var(--ent-rule-strong); border-radius: 999px; padding: 0.35rem 0.9rem; }
.ent-jump a:hover { border-color: var(--ent-ink); }
.ent-toggle { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; color: var(--ent-muted); }
.ent-toggle button { font: inherit; font-size: 0.8125rem; background: none; border: 0; color: var(--ent-muted); cursor: pointer; padding: 0.35rem 0.6rem; border-radius: 2px; }
.ent-toggle button.is-active { color: var(--ent-ink); font-weight: 600; background: var(--ent-bg-soft); }
.ent-save-badge { font-size: 0.7rem; color: var(--ent-accent); border: 1px solid var(--ent-accent); border-radius: 999px; padding: 0.1rem 0.5rem; }

.ent-plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.ent-plan { border: 1px solid var(--ent-rule); border-radius: 2px; padding: 1.75rem; display: flex; flex-direction: column; position: relative; }
.ent-plan.is-popular { border: 1px solid var(--ent-rule); border-left: 2px solid var(--ent-accent); }
.ent-plan-badge { position: absolute; top: -1px; left: -1px; background: var(--ent-accent); color: #fff; font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.6rem; }
.ent-plan-name { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; color: var(--ent-muted); margin: 0 0 0.75rem; }
.ent-plan.is-popular .ent-plan-name { margin-top: 0.75rem; }
.ent-plan-price { font-size: 2.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ent-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.ent-price-per { font-size: 0.9375rem; font-weight: 400; color: var(--ent-muted); }
.ent-plan-alt { font-size: 0.8125rem; color: var(--ent-muted); margin: 0.35rem 0 1rem; min-height: 1em; }
.ent-plan-credits { font-size: 0.9375rem; color: var(--ent-ink); margin: 0 0 0.15rem; }
.ent-plan-seats { font-size: 0.8125rem; color: var(--ent-muted); margin: 0 0 1.5rem; }
.ent-plan .wp-block-buttons, .ent-plan .ent-plan-cta { margin-top: auto; }
.ent-plan-cta a { display: block; text-align: center; }

.ent-calc { border: 1px solid var(--ent-rule); border-radius: 2px; padding: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.ent-calc-controls label { display: block; font-size: 0.8125rem; color: var(--ent-muted); margin: 0 0 0.35rem; }
.ent-calc-controls select, .ent-calc-controls input { width: 100%; font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--ent-rule-strong); border-radius: 2px; background: var(--ent-bg); color: var(--ent-ink); margin-bottom: 1.25rem; }
.ent-calc-out { border-left: 1px solid var(--ent-rule); padding-left: 2rem; }
.ent-calc-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; font-size: 0.9375rem; color: var(--ent-ink-soft); border-bottom: 1px solid var(--ent-rule); }
.ent-calc-line.ent-calc-total { color: var(--ent-ink); font-size: 1.05rem; }
.ent-calc-line strong { color: var(--ent-ink); }

/* Team cards (About) */
.ent-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ent-team-card { border: 1px solid var(--ent-rule); border-radius: 2px; overflow: hidden; background: var(--ent-bg); }
.ent-team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; display: block; background: var(--ent-bg-soft); }
.ent-team-ph { width: 100%; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--ent-bg-soft); color: var(--ent-muted); font-size: 2.5rem; font-weight: 600; }
.ent-team-body { padding: 1.25rem 1.5rem 1.5rem; }
.ent-team-role { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ent-muted); margin: 0 0 0.3rem; }
.ent-team-name { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--ent-ink); }
.ent-team-bio { font-size: 0.9rem; color: var(--ent-ink-soft); margin: 0 0 0.85rem; }
.ent-team-card details { border-top: 1px solid var(--ent-rule); padding-top: 0.8rem; }
.ent-team-card summary { cursor: pointer; font-size: 0.8125rem; color: var(--ent-accent); list-style: none; font-weight: 500; }
.ent-team-card summary::-webkit-details-marker { display: none; }
.ent-team-full { font-size: 0.85rem; color: var(--ent-ink-soft); margin-top: 0.6rem; white-space: pre-line; }
@media (max-width: 800px) { .ent-team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ent-team-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .ent-plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ent-plan-grid { grid-template-columns: 1fr; } .ent-calc { grid-template-columns: 1fr; } .ent-calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--ent-rule); padding-top: 1rem; } }
