/* Explode — custom layer on top of theme.json.
   Dark technical brand: deep slate base, Explode green accent (#10BF6B, used
   with restraint), Inter for text, JetBrains Mono for technical labels.
   Only what presets can't do: header, hero grid, cards, steps, stats. */

:root {
  --x-base: var(--wp--preset--color--base, #0b1117);
  --x-surface: var(--wp--preset--color--surface, #101820);
  --x-surface-2: var(--wp--preset--color--surface-2, #16202b);
  --x-border: var(--wp--preset--color--border, #243140);
  --x-text: var(--wp--preset--color--text, #e8edeb);
  --x-muted: var(--wp--preset--color--muted, #aeb7b3);
  --x-faint: var(--wp--preset--color--faint, #7c8388);
  --x-accent: var(--wp--preset--color--accent, #10bf6b);
  --x-mono: var(--wp--preset--font-family--mono, ui-monospace, monospace);
}

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

/* WP ships no global border-box reset; .x-card uses height:100% + padding, which
   overflows its column (and overlaps the next row) under content-box sizing. */
.x-card, .term, .step__num { box-sizing: border-box; }
.x-card *, .term * { box-sizing: inherit; }

/* visible keyboard focus (WCAG) */
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible {
  outline: 2px solid var(--x-accent); outline-offset: 2px;
}
a, button, .wp-block-button__link { cursor: pointer; }

::selection { background: var(--x-accent); color: #06120d; }

/* ---- Sticky header ------------------------------------------------------ */
/* WordPress wraps the header part in its own <header class="wp-block-template-part">,
   exactly as tall as the bar, so the bar itself has no room to stick: the
   wrapper is what sticks (fixed 2026-11-04; before that no page kept its header). */
.wp-block-template-part:has(> .site-header) { position: sticky; top: 0; z-index: 100; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 23, 0.92);
  border-bottom: 1px solid var(--x-border);
}
@media (min-width: 600px) {
  /* blur only where the mobile overlay can't open — backdrop-filter makes the
     sticky header the containing block for the fixed overlay menu */
  .site-header { backdrop-filter: saturate(140%) blur(10px); }
}
.site-header .wp-block-navigation a {
  color: var(--x-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.site-header .wp-block-navigation a:hover { color: var(--x-accent); text-decoration: none; }
.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
  background: var(--x-surface-2);
  border: 1px solid var(--x-border);
  border-radius: 10px;
  padding: 0.4rem;
}
.site-header .wp-block-navigation .wp-block-navigation__submenu-container a {
  padding: 0.55rem 0.9rem; border-radius: 6px;
}
.site-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover {
  background: var(--x-surface); color: var(--x-accent);
}
.header-cta .wp-block-button__link { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
/* v3 header: the Platform menu lists the page's sections by their full headings,
   one line each */
@media (min-width: 600px) {
  .site-header--v3 .wp-block-navigation .wp-block-navigation__submenu-container { min-width: max-content; }
  .site-header--v3 .wp-block-navigation .wp-block-navigation__submenu-container a { white-space: nowrap; }
}

/* Brand mark: green status dot + lowercase mono wordmark */
.brand-mark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; line-height: 1;
}
.brand-mark .brand-name {
  font-family: var(--x-mono);
  font-weight: 600; font-size: 1.25rem; letter-spacing: 0.02em;
  color: var(--x-text);
}
.brand-mark:hover .brand-name { color: var(--x-accent); }
.brand-dot {
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: var(--x-accent);
  box-shadow: 0 0 8px rgba(16, 191, 107, 0.7);
}

/* ---- Type helpers ------------------------------------------------------- */
/* mono eyebrow — the technical-label signature */
.eyebrow {
  font-family: var(--x-mono);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--x-accent);
}
.eyebrow::before { content: "// "; color: var(--x-faint); }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--x-muted); }
.accent-rule { width: 56px; height: 3px; background: var(--x-accent); border-radius: 2px; }

/* mono trust strip (footer + home) */
.trust-strip {
  font-family: var(--x-mono);
  font-size: 0.78rem; letter-spacing: 0.02em;
  color: var(--x-faint);
  margin-top: 1.5rem;
}

/* open-source stack strip — discreet, muted, hover reveals */
.stack-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.6rem 3rem;
  max-width: 900px; margin: 0 auto;
}
.stack-item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  opacity: 0.6;
  transition: opacity 160ms ease;
}
.stack-item:hover { opacity: 1; }
.stack-item img { width: 22px; height: 22px; display: block; }
.stack-item > span:last-child {
  font-family: var(--x-mono);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--x-muted);
  white-space: nowrap;
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(16, 191, 107, 0.07) 0%, transparent 70%),
    var(--x-base);
  overflow: hidden;
}
.hero::before {
  /* faint blueprint grid, fading downward */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--x-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--x-border) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { max-width: 21ch; }
.hero .lead { max-width: 62ch; }

/* animated architecture banner (SVG via <img>; animations live inside the SVG) */
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 3.5rem;
}

/* terminal-style card (hero aside / how-it-works visual) */
.term {
  font-family: var(--x-mono); font-size: 0.85rem; line-height: 1.75;
  background: var(--x-surface);
  border: 1px solid var(--x-border);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
}
.term .t-prompt { color: var(--x-accent); }
.term .t-dim { color: var(--x-faint); }
.term .t-out { color: var(--x-muted); }

/* ---- Cards -------------------------------------------------------------- */
.x-card {
  background: var(--x-surface);
  border: 1px solid var(--x-border);
  border-radius: 10px;
  padding: 1.6rem 1.6rem 1.4rem;
  height: 100%;
  transition: border-color 160ms ease, background 160ms ease;
}
.x-card:hover { border-color: rgba(16, 191, 107, 0.55); }
.x-card h3, .x-card h4 {
  font-size: 1.08rem; font-weight: 600; margin: 0 0 0.6rem;
  color: var(--x-text);
}
.x-card p { font-size: 0.95rem; line-height: 1.65; margin: 0; color: var(--x-muted); }
.x-card .x-card__kicker {
  font-family: var(--x-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--x-accent); margin-bottom: 0.8rem;
}
.x-card ul { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; line-height: 1.7; }
.x-card li { margin: 0.35rem 0; }
.x-card a { text-decoration: none; }
.x-card a:hover { text-decoration: underline; }

/* clickable product card */
.x-card--link { position: relative; }
.x-card--link > a.x-card__cover {
  position: absolute; inset: 0; border-radius: inherit; text-indent: -9999px;
}

/* ---- Solution banners (home: neo-cloud billing / bioinfo workspace) ------ */
.x-banner {
  position: relative;
  background:
    radial-gradient(45% 90% at 0% 0%, rgba(16, 191, 107, 0.08) 0%, transparent 70%),
    var(--x-surface);
  border: 1px solid var(--x-border);
  border-radius: 14px;
  padding: 2.6rem 2.4rem;
  overflow: hidden;
}
.x-banner + .x-banner { margin-top: 1.5rem; }
.x-banner--flip {
  background:
    radial-gradient(45% 90% at 100% 0%, rgba(16, 191, 107, 0.08) 0%, transparent 70%),
    var(--x-surface);
}
.x-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 2.5rem;
  align-items: center;
}
.x-banner--flip .x-banner__grid > .x-banner__body { order: 2; }
.x-banner--flip .x-banner__grid > .x-banner__aside { order: 1; }
.x-banner h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0.8rem 0 0.9rem; }
.x-banner p { color: var(--x-muted); line-height: 1.65; margin: 0; }
.x-banner__chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1.3rem 0 0; padding: 0; list-style: none;
}
.x-banner__chips li {
  font-family: var(--x-mono);
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--x-muted);
  border: 1px solid var(--x-border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background: var(--x-surface-2);
  white-space: nowrap;
}
.x-banner .wp-block-buttons { margin-top: 1.6rem; }
@media (max-width: 781px) {
  .x-banner { padding: 1.8rem 1.4rem; }
  .x-banner__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .x-banner--flip .x-banner__grid > .x-banner__body { order: 1; }
  .x-banner--flip .x-banner__grid > .x-banner__aside { order: 2; }
}

/* ---- Contact form (theme-native, [explode_contact_form]) ----------------- */
.x-form {
  position: relative;
  background: var(--x-surface);
  border: 1px solid var(--x-border);
  border-radius: 10px;
  padding: 1.8rem 1.8rem 1.6rem;
  box-sizing: border-box;
}
.x-form * { box-sizing: inherit; }
.x-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 600px) { .x-form__row { grid-template-columns: 1fr; } }
.x-form__field { margin: 0 0 1.1rem; }
.x-form__field label {
  display: block;
  font-family: var(--x-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--x-faint);
  margin-bottom: 0.45rem;
}
.x-form__field input,
.x-form__field select,
.x-form__field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--x-text);
  background: var(--x-base);
  border: 1px solid var(--x-border);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
}
.x-form__field textarea { resize: vertical; min-height: 8rem; }
.x-form__field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--x-accent); outline-offset: 1px;
  border-color: var(--x-accent);
}
.x-form__meta { font-size: 0.82rem; color: var(--x-faint); margin: 0.2rem 0 1.2rem; }
.x-form__notice {
  font-size: 0.95rem;
  border: 1px solid; border-radius: 8px;
  padding: 0.7rem 1rem; margin: 0 0 1.2rem;
}
.x-form__notice--ok { border-color: rgba(16, 191, 107, 0.55); color: var(--x-accent); background: rgba(16, 191, 107, 0.08); }
.x-form__notice--err { border-color: rgba(224, 82, 82, 0.6); color: #e08282; background: rgba(224, 82, 82, 0.08); }
/* honeypot: visually gone, still in the DOM for bots */
.x-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.x-form button.wp-element-button { border: 0; }

/* company / legal details (contact page) */
.x-legal { font-family: var(--x-mono); font-size: 0.82rem; line-height: 1.7; color: var(--x-muted); margin: 0; }

/* legal pages (/privacy-policy/, /gdpr/): ported prose at a readable measure */
.x-legal-text { max-width: 46rem; }
.x-legal-text h2 { font-size: 1.35rem; margin: 2.4rem 0 0.8rem; }
.x-legal-text > h2:first-child { margin-top: 0; }
.x-legal-text p, .x-legal-text li { color: var(--x-muted); line-height: 1.7; }
.x-legal-text p { margin: 0 0 0.9rem; }
.x-legal-text ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ---- Steps (How it works) ----------------------------------------------- */
.step__num {
  font-family: var(--x-mono);
  font-size: 0.85rem; font-weight: 600;
  color: var(--x-accent);
  border: 1px solid var(--x-border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  display: inline-block;
  margin-bottom: 0.9rem;
  background: var(--x-surface);
}

/* ---- Stats -------------------------------------------------------------- */
.stat__num {
  font-family: var(--x-mono);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600;
  color: var(--x-text); line-height: 1.1;
}
.stat__num .unit { color: var(--x-accent); }
.stat__label {
  font-size: 0.85rem; color: var(--x-faint);
  margin-top: 0.4rem; letter-spacing: 0.01em;
}

/* ---- Sections ----------------------------------------------------------- */
.section-dark { background: var(--x-surface); border-top: 1px solid var(--x-border); border-bottom: 1px solid var(--x-border); }
.page-hero { border-bottom: 1px solid var(--x-border); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(50% 80% at 50% 100%, rgba(16, 191, 107, 0.1) 0%, transparent 70%),
    var(--x-surface);
  border-top: 1px solid var(--x-border);
}

/* ---- Buttons ------------------------------------------------------------ */
.wp-block-button__link { transition: background 160ms ease, color 160ms ease, border-color 160ms ease; text-decoration: none; }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--x-border);
  color: var(--x-text);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--x-accent); color: var(--x-accent); background: transparent;
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--x-border); background: var(--x-base); }
.footer-heading { font-size: 0.85rem !important; font-family: var(--x-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--x-faint) !important; font-weight: 500 !important; }
.footer-links { line-height: 2.05; font-size: 0.95rem; }
.footer-links a { color: var(--x-muted); text-decoration: none; }
.footer-links a:hover { color: var(--x-accent); text-decoration: underline; }
.footer-bar { border-top: 1px solid var(--x-border); color: var(--x-faint); }
.footer-bar a { color: var(--x-faint); text-decoration: none; }
.footer-bar a:hover { color: var(--x-accent); }

/* ---- Prose defaults on dark --------------------------------------------- */
main strong { color: var(--x-text); }
main hr { border: 0; border-top: 1px solid var(--x-border); }

/* tables (spec lists on product pages) */
main table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
main th { font-family: var(--x-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--x-faint); text-align: left; }
main th, main td { border-bottom: 1px solid var(--x-border); padding: 0.6rem 0.75rem; }

/* ==== v3 home (/v3/) ======================================================
   v1's world, recomposed: a short split hero with the animated architecture
   diagram above the fold, capabilities in three buyer lanes inside one ruled
   panel (selling points: unified management, GPU acceleration and provisioning
   automation, policy engine and organization management), monitoring and
   observability, a shared-foundation grid, pricing cards, a close.
   Green = live state and actions; amber (#e0a23b) is reserved for anything
   shown as in development (none on the page since 2026-11-04). */
:root { --x-amber: #e0a23b; }
html:has(.v3-hero) { scrollbar-color: var(--x-border) var(--x-base); scroll-padding-top: 5.5rem; }

/* -- hero -- */
.v3-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(1.75rem, 3vw, 2.25rem) clamp(2.4rem, 3.5vw, 2.6rem);
  background:
    radial-gradient(50% 65% at 78% 42%, rgba(16, 191, 107, 0.075) 0%, transparent 70%),
    var(--x-base);
  border-bottom: 1px solid var(--x-border);
}
.v3-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--x-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--x-border) 1px, transparent 1px);
  background-size: 44px 44px; opacity: 0.14;
  -webkit-mask-image: radial-gradient(70% 90% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 90% at 70% 40%, #000 0%, transparent 75%);
}
.v3-hero > * { position: relative; }
.v3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}
.v3-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 650; line-height: 1.02; letter-spacing: -0.032em;
  max-width: 11ch; margin: 0 0 1.3rem;
  text-wrap: balance;
}
.v3-hero__lead {
  font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.6;
  color: var(--x-muted); max-width: 46ch; margin: 0;
}
.v3-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.v3-status {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.7rem 0 0;
  font-family: var(--x-mono); font-size: 0.78rem; letter-spacing: 0.02em;
  color: var(--x-faint);
}
.v3-hero__art { position: relative; margin: 0; width: 100%; max-width: 690px; justify-self: end; }
.v3-art svg { display: block; width: 100%; height: auto; }
.v3-art--narrow { display: none; }
.v3-art__note {
  position: absolute; right: 0; top: calc(100% + 0.45rem);
  font-family: var(--x-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--x-faint);
}

/* status lamps: the one shape that means "live" (green) or "in development" (amber) */
.v3-lamp {
  display: inline-block; flex: none;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--x-accent);
  box-shadow: 0 0 8px rgba(16, 191, 107, 0.6);
}
.v3-lamp--dev { background: var(--x-amber); box-shadow: 0 0 8px rgba(224, 162, 59, 0.5); }

/* -- sections -- */
.v3-section { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.v3-section--lanes { padding-top: clamp(2.5rem, 3.5vw, 2.9rem); }
.v3-section--base { padding-top: 0; }
.v3-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); scroll-margin-top: 6rem; }
.v3-section--lanes .v3-head { max-width: none; margin-bottom: clamp(1.4rem, 2.2vw, 1.75rem); }
.v3-head h2, .v3-close h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.022em;
  margin: 0 0 0.7rem; text-wrap: balance;
}
.v3-head p { font-size: 1.1rem; line-height: 1.65; color: var(--x-muted); margin: 0; max-width: 62ch; }

/* -- lanes: one ruled panel, three columns -- */
.v3-lanes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--x-surface);
  border: 1px solid var(--x-border); border-radius: 14px;
  overflow: hidden;
}
.v3-lane {
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v3-lane + .v3-lane { border-left: 1px solid var(--x-border); }
/* one shared row track for head / list / readout, so the three columns line up
   even when one headline wraps to two lines */
@supports (grid-template-rows: subgrid) {
  .v3-lane { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .v3-lane > .v3-readout { margin-top: 0; align-self: start; }
}
.v3-lane:hover { background: #121b24; }
.v3-lane__head h3 {
  font-size: 1.4rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.2;
  color: var(--x-text); margin: 0 0 0.55rem;
}
.v3-lane__head p { font-size: 1rem; line-height: 1.55; color: var(--x-muted); margin: 0; }
.v3-caps {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  border-top: 1px solid var(--x-border);
}
.v3-caps li {
  display: grid; grid-template-columns: 0.5rem 1fr; column-gap: 0.85rem;
  padding: 0.78rem 0;
  font-size: 0.95rem; line-height: 1.55; color: var(--x-text);
  border-bottom: 1px solid #1a2430;
}
.v3-caps li .v3-lamp { margin-top: 0.5rem; }

/* readout: a small slice of the product, labelled illustrative */
.v3-readout {
  margin: auto 0 0; padding-top: 1.6rem;
  font-family: var(--x-mono); font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.v3-readout > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0.85rem;
  background: var(--x-base);
  border: 1px solid var(--x-border); border-top: 0;
  color: var(--x-muted);
}
.v3-readout > div span:last-child { color: var(--x-text); text-align: right; white-space: nowrap; }
.v3-readout .v3-readout__title {
  border-top: 1px solid var(--x-border); border-radius: 8px 8px 0 0;
  color: var(--x-text); font-weight: 600;
  background: #0e151d;
}
.v3-readout .v3-readout__title .v3-readout__ok { color: var(--x-accent); font-weight: 500; }
.v3-readout .v3-readout__row--total { border-radius: 0 0 8px 8px; color: var(--x-text); }
.v3-readout .v3-readout__row--total span:last-child { color: var(--x-accent); font-weight: 600; }
.v3-readout .v3-readout__row--end { border-radius: 0 0 8px 8px; }
.v3-readout figcaption {
  margin-top: 0.55rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--x-faint);
}

/* -- unified monitoring: copy column + one console panel in the readout style -- */
.v3-section--monitor { padding-top: 0; }
.v3-monitor {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.v3-monitor__panel { margin: 0; position: sticky; top: 6rem; }
.v3-monitor__panel .v3-readout { margin: 0; padding-top: 0; }
.v3-monitor__panel .v3-readout + .v3-readout { margin-top: 1rem; }
.v3-monitor__panel figcaption {
  margin-top: 0.55rem;
  font-family: var(--x-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--x-faint);
}
.v3-readout .v3-readout__row--meter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(4rem, 7rem) 3.5rem;
  align-items: center; gap: 1rem;
}
.v3-meter { display: block; height: 5px; border-radius: 3px; background: #1a242f; overflow: hidden; }
.v3-meter i { display: block; height: 100%; width: var(--v); background: var(--x-accent); opacity: 0.75; border-radius: inherit; }
/* feature items in the shape of an operator's bulletin: short heading, one or
   two declarative sentences with the figures in them */
.v3-obs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.5vw, 2rem);
}
.v3-obs__item { padding: 1.15rem 0 1.3rem; border-top: 1px solid var(--x-border); }
.v3-obs__item h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--x-text); margin: 0 0 0.4rem; }
.v3-obs__item p { font-size: 0.92rem; line-height: 1.6; color: var(--x-muted); margin: 0; }

/* -- shared foundation: ruled grid, no boxes -- */
.v3-base {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
}
.v3-base__item { padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--x-border); }
.v3-base__item h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1rem; font-weight: 600; color: var(--x-text); margin: 0 0 0.45rem; letter-spacing: 0; }
.v3-base__item p { font-size: 0.93rem; line-height: 1.6; color: var(--x-muted); margin: 0; }

/* -- pricing: the cloud.explode.io plan cards (apps/site tier-cards.tsx in the
   platform repo) in this theme's tokens. Surface card, 12px radius, mono price,
   spec rows (muted label + icon left, mono value right), one full-width action.
   The highlighted card carries the accent border, the glow and the filled
   action; the others answer hover with the accent border. -- */
.v3-section--pricing { padding-top: 0; }
.v3-plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; align-items: stretch;
}
.v3-plan {
  display: flex; flex-direction: column;
  padding: 1.5rem;
  background: var(--x-surface);
  border: 1px solid var(--x-border); border-radius: 12px;
  transition: border-color 160ms ease;
}
/* name / price / description / specs / action share row tracks across cards */
@supports (grid-template-rows: subgrid) {
  .v3-plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
.v3-plan:hover { border-color: var(--x-accent); }
.v3-plan--highlight {
  border-color: var(--x-accent);
  box-shadow: 0 0 0 1px var(--x-accent), 0 8px 40px -8px rgba(16, 191, 107, 0.45);
}
.v3-plan__name { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--x-text); margin: 0; text-align: center; }
.v3-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin: 0.3rem 0 0; }
.v3-plan__amount {
  font-family: var(--x-mono); font-size: 1.6rem; font-weight: 600; line-height: 1.2;
  color: var(--x-text); font-variant-numeric: tabular-nums;
}
.v3-plan__unit { font-size: 0.78rem; color: var(--x-faint); }
.v3-plan__quote { font-size: 1.6rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--x-text); }
.v3-plan__desc { font-size: 0.9rem; line-height: 1.55; color: var(--x-muted); margin: 0.8rem 0 0; }
.v3-plan__specs { margin: 1rem 0 0; }
.v3-plan__specs > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0; font-size: 0.875rem;
  border-bottom: 1px solid rgba(36, 49, 64, 0.6);
}
.v3-plan__specs > div:last-child { border-bottom: 0; }
.v3-plan__specs dt { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--x-muted); text-wrap: balance; }
.v3-plan__icon { width: 0.875rem; height: 0.875rem; flex: none; margin-top: 0.18rem; opacity: 0.7; }
.v3-plan__specs dd {
  margin: 0; text-align: right; text-wrap: balance;
  font-family: var(--x-mono); font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--x-text);
}
.v3-plan__cta {
  display: block; align-self: end; margin-top: 1.25rem;
  padding: 0.55rem 1rem; border-radius: 8px;
  border: 1px solid var(--x-border);
  font-size: 0.875rem; font-weight: 600; text-align: center; text-decoration: none;
  color: var(--x-text);
  transition: transform 160ms ease, border-color 160ms ease;
}
.v3-plan__cta:hover { transform: translateY(-1px); border-color: var(--x-accent); color: var(--x-text); text-decoration: none; }
.v3-plan--highlight .v3-plan__cta { background: var(--x-accent); border-color: var(--x-accent); color: #06120d; }
.v3-plan--highlight .v3-plan__cta:hover { background: var(--wp--preset--color--accent-deep, #0da85e); color: #06120d; }
.v3-plans__note { font-size: 0.85rem; line-height: 1.6; color: var(--x-faint); margin: 1.25rem 0 0; max-width: 80ch; }

/* -- close -- */
.v3-close {
  padding-block: clamp(4rem, 7vw, 5.5rem);
  background:
    radial-gradient(45% 90% at 85% 100%, rgba(16, 191, 107, 0.09) 0%, transparent 70%),
    var(--x-surface);
  border-top: 1px solid var(--x-border);
}
.v3-close__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.v3-close p { font-size: 1.1rem; line-height: 1.65; color: var(--x-muted); margin: 0; max-width: 52ch; }
.v3-close__actions { margin-top: 0; }
/* the close band meets the footer: no root block gap between them */
.wp-site-blocks:has(.v3-close) > footer { margin-block-start: 0; }

/* -- responsive: shed columns, keep the rules -- */
@media (max-width: 1080px) {
  .v3-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .v3-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .v3-hero h1 { max-width: 14ch; }
  .v3-hero__art { justify-self: stretch; max-width: none; }
  .v3-lanes { grid-template-columns: 1fr; }
  .v3-lane + .v3-lane { border-left: 0; border-top: 1px solid var(--x-border); }
  .v3-readout { margin-top: 0; }
  .v3-close__grid { grid-template-columns: 1fr; }
  .v3-close__actions { justify-self: start; }
  .v3-monitor { grid-template-columns: 1fr; }
  .v3-monitor__panel { position: static; }
  .v3-plans { grid-template-columns: minmax(0, 34rem); }
}
@media (max-width: 600px) {
  .v3-art--wide { display: none; }
  .v3-art--narrow { display: block; }
  .v3-art__note { position: static; display: block; margin-top: 0.6rem; text-align: right; }
  .v3-base { grid-template-columns: 1fr; }
  .v3-obs { grid-template-columns: 1fr; }
  .v3-plans { grid-template-columns: minmax(0, 1fr); }
  .v3-close__actions { justify-self: stretch; }
  .v3-hero__actions .wp-block-button { flex: 1 1 auto; }
  .v3-hero__actions .wp-block-button__link { display: block; text-align: center; }
}

/* ---- Motion restraint ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
