:root {
  color-scheme: dark;
  --bg: #050d18;
  --bg-deep: #030813;
  --surface: #0a1424;
  --surface-elevated: #0d1b2e;
  --surface-soft: rgba(13, 27, 46, 0.72);
  --text: #e6eaf1;
  --muted: #9aa8bc;
  --muted-strong: #c0cad8;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --cyan: #00e6ff;
  --blue: #2d7cff;
  --violet: #7c5cff;
  --silver: #d7e4f2;
  --active-text: #04101d;
  --danger: #ff6b7a;
  --success: #35e6a7;
  --warning: #f4c95d;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --body-bg:
    linear-gradient(180deg, rgba(45, 124, 255, 0.08) 0%, rgba(5, 13, 24, 0) 28%),
    linear-gradient(135deg, #050d18 0%, #07111f 42%, #030813 100%);
  --grid-line-a: rgba(255, 255, 255, 0.035);
  --grid-line-b: rgba(255, 255, 255, 0.028);
  --ambient-bg:
    linear-gradient(115deg, rgba(0, 230, 255, 0.12), transparent 28%),
    linear-gradient(245deg, rgba(124, 92, 255, 0.12), transparent 31%),
    linear-gradient(180deg, transparent 0%, rgba(3, 8, 19, 0.92) 86%);
  --header-bg: rgba(5, 13, 24, 0.82);
  --control-bg: rgba(255, 255, 255, 0.035);
  --secondary-bg: rgba(255, 255, 255, 0.045);
  --chip-bg: rgba(0, 230, 255, 0.07);
  --chip-alt-bg: rgba(124, 92, 255, 0.08);
  --card-bg: rgba(10, 20, 36, 0.72);
  --card-bg-strong: rgba(13, 27, 46, 0.86);
  --card-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  --mountain-panel-bg:
    linear-gradient(180deg, rgba(0, 230, 255, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(13, 27, 46, 0.96), rgba(5, 13, 24, 0.84));
  --mountain-grid-a: rgba(255, 255, 255, 0.05);
  --mountain-grid-b: rgba(255, 255, 255, 0.04);
  --platform-bg:
    linear-gradient(90deg, rgba(0, 230, 255, 0.055), transparent 38%),
    linear-gradient(270deg, rgba(124, 92, 255, 0.075), transparent 38%);
  --step-bg: linear-gradient(180deg, rgba(13, 27, 46, 0.9), rgba(10, 20, 36, 0.62));
  --panel-bg:
    linear-gradient(135deg, rgba(0, 230, 255, 0.07), transparent 32%),
    linear-gradient(270deg, rgba(124, 92, 255, 0.08), transparent 36%),
    rgba(10, 20, 36, 0.62);
  --accent-card-bg:
    linear-gradient(135deg, rgba(0, 230, 255, 0.1), rgba(124, 92, 255, 0.08)),
    rgba(13, 27, 46, 0.86);
  --tool-bg:
    linear-gradient(180deg, rgba(13, 27, 46, 0.34), rgba(3, 8, 19, 0.62)),
    linear-gradient(90deg, rgba(0, 230, 255, 0.05), rgba(124, 92, 255, 0.045));
  --tool-report-bg:
    linear-gradient(135deg, rgba(0, 230, 255, 0.09), transparent 32%),
    linear-gradient(225deg, rgba(124, 92, 255, 0.1), transparent 34%),
    #07111f;
  --input-bg: rgba(255, 255, 255, 0.045);
  --placeholder: rgba(154, 168, 188, 0.72);
  --replay-bg:
    linear-gradient(180deg, rgba(0, 230, 255, 0.08), transparent 44%),
    rgba(3, 8, 19, 0.42);
  --chart-track-bg: rgba(255, 255, 255, 0.08);
  --muted-faint: rgba(154, 168, 188, 0.72);
  --radius-card: 8px;
  --radius-panel: 12px;
  --site-width: 1180px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "SF Pro Display", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fd;
  --bg-deep: #e8eef8;
  --surface: #ffffff;
  --surface-elevated: #edf4fc;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --text: #07111f;
  --muted: #53647a;
  --muted-strong: #24364d;
  --line: rgba(5, 17, 31, 0.12);
  --line-strong: rgba(5, 17, 31, 0.2);
  --cyan: #009ec2;
  --blue: #246df4;
  --violet: #6f55f2;
  --silver: #36506c;
  --active-text: #f8fbff;
  --shadow: 0 24px 60px rgba(23, 46, 77, 0.14);
  --body-bg:
    linear-gradient(180deg, rgba(45, 124, 255, 0.12) 0%, rgba(245, 248, 253, 0) 30%),
    linear-gradient(135deg, #f8fbff 0%, #edf4fc 48%, #e8eef8 100%);
  --grid-line-a: rgba(5, 17, 31, 0.055);
  --grid-line-b: rgba(5, 17, 31, 0.04);
  --ambient-bg:
    linear-gradient(115deg, rgba(0, 158, 194, 0.14), transparent 30%),
    linear-gradient(245deg, rgba(111, 85, 242, 0.12), transparent 33%),
    linear-gradient(180deg, transparent 0%, rgba(248, 251, 255, 0.9) 86%);
  --header-bg: rgba(255, 255, 255, 0.84);
  --control-bg: rgba(5, 17, 31, 0.045);
  --secondary-bg: rgba(5, 17, 31, 0.045);
  --chip-bg: rgba(0, 158, 194, 0.1);
  --chip-alt-bg: rgba(111, 85, 242, 0.1);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-bg-strong: rgba(255, 255, 255, 0.96);
  --card-shadow: 0 16px 34px rgba(23, 46, 77, 0.1);
  --mountain-panel-bg:
    linear-gradient(180deg, rgba(0, 158, 194, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 252, 0.9));
  --mountain-grid-a: rgba(5, 17, 31, 0.055);
  --mountain-grid-b: rgba(5, 17, 31, 0.045);
  --platform-bg:
    linear-gradient(90deg, rgba(0, 158, 194, 0.1), transparent 38%),
    linear-gradient(270deg, rgba(111, 85, 242, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.42);
  --step-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 252, 0.72));
  --panel-bg:
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), transparent 34%),
    linear-gradient(270deg, rgba(111, 85, 242, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.78);
  --accent-card-bg:
    linear-gradient(135deg, rgba(0, 158, 194, 0.13), rgba(111, 85, 242, 0.1)),
    rgba(255, 255, 255, 0.92);
  --tool-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(232, 241, 252, 0.7)),
    linear-gradient(90deg, rgba(0, 158, 194, 0.08), rgba(111, 85, 242, 0.07));
  --tool-report-bg:
    linear-gradient(135deg, rgba(0, 158, 194, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(111, 85, 242, 0.12), transparent 36%),
    #ffffff;
  --input-bg: rgba(255, 255, 255, 0.86);
  --placeholder: rgba(83, 100, 122, 0.72);
  --replay-bg:
    linear-gradient(180deg, rgba(0, 158, 194, 0.1), transparent 44%),
    rgba(232, 241, 252, 0.7);
  --chart-track-bg: rgba(5, 17, 31, 0.08);
  --muted-faint: rgba(83, 100, 122, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--body-bg);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--ambient-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--header-bg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(18px);
  min-width: 0;
}

.header-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.brand,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

.brand-mark-image {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 230, 255, 0.24));
}

html[data-theme="light"] .brand-mark-image {
  filter: drop-shadow(0 8px 14px rgba(23, 46, 77, 0.14));
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-wordmark {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-wordmark span {
  color: var(--cyan);
}

.brand-tag {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--control-bg);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav a,
.site-footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a {
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.language-switch,
.theme-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--control-bg);
}

.language-switch button,
.theme-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}

.theme-switch button {
  padding-inline: 12px;
}

.language-switch button.is-active,
.theme-switch button.is-active {
  color: var(--active-text);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 230, 255, 0.42);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.button-small {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.button-primary,
.button.primary {
  color: var(--active-text);
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 56%, var(--violet));
  box-shadow: 0 16px 34px rgba(0, 230, 255, 0.18);
}

.button-secondary,
.button.secondary {
  color: var(--text);
  background: var(--secondary-bg);
}

html[data-theme="light"] .button-secondary,
html[data-theme="light"] .button.secondary {
  color: #07111f;
  border-color: rgba(5, 17, 31, 0.16);
  background: rgba(255, 255, 255, 0.64);
}

.section-band {
  padding: 96px 0;
}

.section-inner {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.hero {
  padding-top: 118px;
  padding-bottom: 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow,
.card-label,
.special-link-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 4.85rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 2.65rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text,
.section-head p,
.platform p,
.about p,
.contact p,
.product-card p,
.feature-card p,
.tool-brief-card p,
.tool-note,
.markdown-body p,
.markdown-body li {
  color: var(--muted);
  line-height: 1.68;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 1.18rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.mountain-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--mountain-panel-bg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
}

.mountain-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.36;
}

.mountain-shell img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.feature-strip {
  padding-top: 34px;
  padding-bottom: 78px;
}

.feature-grid,
.product-grid,
.tool-brief-grid,
.card-grid,
.spotlight-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.product-card,
.spotlight-card,
.why-card,
.flow-step,
.tool-brief-card,
.service-card,
.tool-control,
.tool-report-card,
.legal-detail-main,
.legal-detail-side,
.tool-metrics article,
.tool-panel-stats article,
.tool-summary article,
.tool-replay-log article,
.tool-approval article,
.tool-case-card,
.tool-performance-chart-block,
.tool-performance-details article,
.tool-approval-runtime {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.feature-card {
  padding: 22px;
  min-height: 172px;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
}

.feature-card h2 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.18;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head-centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-head-centered p {
  margin-inline: auto;
}

.product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 226px;
  padding: 26px;
  grid-column: span 2;
}

.product-card-wide {
  grid-column: span 2;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(0, 230, 255, 0.28);
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card:hover::before,
.product-card:focus-within::before {
  opacity: 1;
}

.product-glow {
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.product-card h3 {
  font-size: 1.28rem;
}

.product-card p {
  margin-bottom: 0;
}

.product-card a {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 760;
}

.product-card-accent {
  background: var(--accent-card-bg);
}

.spotlight {
  padding-top: 40px;
}

.spotlight-grid,
.why-grid,
.flow-list,
.credibility-list {
  display: grid;
  gap: 16px;
}

.spotlight-grid,
.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spotlight-card,
.why-card {
  min-width: 0;
  min-height: 220px;
  padding: 26px;
}

.spotlight-card h3,
.why-card h3 {
  margin-top: 24px;
}

.spotlight-card p,
.why-card p,
.flow-step p,
.credibility-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.spotlight-card a {
  color: var(--cyan);
}

.spotlight-card-primary {
  background: var(--accent-card-bg);
}

.platform {
  border-block: 1px solid var(--line);
  background: var(--platform-bg);
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
}

.platform-grid p {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.architecture-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel-bg);
  padding: 42px;
}

.architecture-panel .section-head {
  max-width: 820px;
}

.flow-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-step {
  position: relative;
  min-height: 176px;
  padding: 20px;
}

.flow-step span,
.credibility-list span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 820;
}

.flow-step h3 {
  font-size: 1.02rem;
}

.why {
  padding-top: 40px;
}

.why-card {
  min-height: 188px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
}

.step-list li {
  display: grid;
  gap: 18px;
  min-height: 136px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--step-bg);
}

.step-list span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 820;
}

.step-list strong {
  align-self: end;
  color: var(--text);
  font-size: 1.03rem;
}

.about-panel,
.contact-grid {
  display: grid;
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel-bg);
}

.about-panel {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  padding: 42px;
}

.about-copy {
  max-width: 720px;
  min-width: 0;
}

.credibility-list {
  gap: 10px;
}

.credibility-list article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card-bg);
}

.credibility-list span {
  margin-bottom: 12px;
}

.credibility-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
}

.about p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.contact {
  padding-top: 70px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 42px;
}

.contact-grid h2 {
  margin-bottom: 12px;
}

.contact-grid .button {
  min-width: 172px;
}

.tool-lab {
  background: var(--tool-bg);
  border-block: 1px solid var(--line);
}

.tool-agent-buttons,
.tool-mode-buttons,
.tool-tabs,
.tool-examples,
.tool-approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-agent-buttons {
  margin-top: 22px;
}

.tool-agent-button,
.tool-mode,
.tool-tab {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--secondary-bg);
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.tool-agent-button {
  min-height: 48px;
  padding-inline: 18px;
}

.tool-agent-button:hover,
.tool-mode:hover,
.tool-tab:hover,
.tool-agent-button:focus-visible,
.tool-mode:focus-visible,
.tool-tab:focus-visible {
  color: var(--text);
  border-color: rgba(0, 230, 255, 0.34);
}

.tool-agent-button.is-active,
.tool-mode.is-active,
.tool-tab.is-active {
  color: var(--active-text);
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.tool-brief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.tool-brief-card {
  padding: 22px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: start;
}

.tool-control,
.tool-report-card {
  padding: 24px;
  min-width: 0;
}

.tool-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.tool-form input,
.tool-goal-field input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--text);
  background: var(--input-bg);
  padding: 0 14px;
}

.tool-form input::placeholder,
.tool-goal-field input::placeholder {
  color: var(--placeholder);
}

.tool-goal-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.tool-field-label {
  color: var(--muted-strong);
  font-weight: 760;
}

.tool-note {
  margin: 12px 0 0;
}

.tool-note.is-live {
  color: var(--success);
}

.tool-note.is-error {
  color: var(--danger);
}

.tool-mode-group {
  margin-top: 20px;
}

.tool-mode-buttons {
  margin-top: 10px;
}

.tool-examples {
  margin-top: 14px;
}

.tool-examples span,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  background: var(--chip-bg);
  font-size: 0.84rem;
  font-weight: 720;
}

.chip-alt {
  color: var(--muted-strong);
  background: var(--chip-alt-bg);
}

.tool-metrics,
.tool-panel-stats,
.tool-summary {
  display: grid;
  gap: 10px;
}

.tool-metrics,
.tool-panel-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-metrics {
  margin-top: 18px;
}

.tool-metrics article,
.tool-panel-stats article,
.tool-summary article,
.tool-replay-log article,
.tool-approval article,
.tool-case-card,
.tool-performance-chart-block,
.tool-performance-details article,
.tool-approval-runtime {
  padding: 14px;
  min-width: 0;
}

.tool-metrics strong,
.tool-panel-stats strong,
.tool-summary strong,
.tool-approval strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-display);
}

.tool-metrics span,
.tool-panel-stats span,
.tool-summary span,
.tool-approval span {
  color: var(--muted);
  line-height: 1.55;
}

.tool-report-card {
  background: var(--tool-report-bg);
}

.tool-console-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.tool-console-head h3 {
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.tool-report-card .chip.is-running {
  color: var(--cyan);
}

.tool-report-card .chip.is-completed,
.tool-report-card .chip.is-passed {
  color: var(--success);
}

.tool-report-card .chip.is-issues {
  color: var(--warning);
}

.tool-report-card .chip.is-partial {
  color: #ff9c66;
}

.tool-report-card .chip.is-blocked,
.tool-report-card .chip.is-awaiting,
.tool-report-card .chip.is-failed,
.tool-report-card .chip.is-error {
  color: var(--danger);
}

.tool-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.tool-summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-summary strong,
.tool-replay-screen p,
.tool-replay-log article,
.tool-list li,
.tool-case-card,
.tool-performance-details article {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tool-tabs {
  margin-top: 18px;
}

.tool-panel {
  display: none;
  margin-top: 18px;
}

.tool-panel.is-visible {
  display: block;
}

.tool-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.7;
}

.tool-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.tool-case-card strong {
  display: block;
  margin-bottom: 8px;
}

.tool-case-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 760;
}

.tool-case-status.is-passed {
  color: var(--success);
}

.tool-case-status.is-issues {
  color: var(--warning);
}

.tool-case-status.is-partial {
  color: #ff9c66;
}

.tool-case-status.is-blocked {
  color: var(--danger);
}

.tool-case-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.tool-replay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.86fr);
  gap: 14px;
}

.tool-replay-screen {
  min-height: 238px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--replay-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.tool-replay-screen p {
  margin: 0;
  color: var(--muted-strong);
}

.tool-replay-video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-deep);
}

.tool-replay-log {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.tool-replay-log article {
  color: var(--muted-strong);
  line-height: 1.5;
}

.tool-performance-chart-block {
  margin-top: 18px;
}

.tool-performance-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tool-performance-chart-head strong,
.tool-performance-chart-head span {
  color: var(--text);
}

.tool-performance-chart {
  display: grid;
  gap: 14px;
}

.tool-chart-row {
  display: grid;
  gap: 8px;
}

.tool-chart-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.tool-chart-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--chart-track-bg);
}

.tool-chart-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.tool-performance-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.tool-performance-details article,
.tool-approval-runtime {
  color: var(--muted-strong);
  line-height: 1.55;
}

.tool-approval {
  display: grid;
  gap: 10px;
}

.tool-approval-runtime {
  margin-top: 14px;
}

.tool-approval-runtime .tool-note {
  margin: 0;
}

.tool-approval-actions {
  margin-top: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 52px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.site-footer-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-self: start;
}

.site-footer-links a {
  padding: 6px 0;
}

.copyright {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--muted-faint);
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.docs-hero {
  padding-top: 76px;
}

.docs-hero .hero-copy {
  max-width: 920px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--card-bg);
}

.legal-body .hero {
  display: block;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
}

.legal-body h1 {
  margin-bottom: 14px;
  font-size: 3rem;
  line-height: 1.04;
}

.legal-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 24px auto 80px;
}

.legal-detail-main,
.legal-detail-side {
  align-self: start;
  padding: 28px;
}

.markdown-body h2 {
  margin-top: 28px;
  font-size: 1.45rem;
}

.markdown-body h2:first-child {
  margin-top: 0;
}

.markdown-body ul,
.signal-list {
  padding-left: 20px;
}

.signal-list {
  color: var(--muted);
  line-height: 1.7;
}

.compact {
  margin-top: 6px;
}

.page-shell {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-panel {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-grid,
  .platform-grid,
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 86px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    max-width: 640px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card,
  .product-card-wide {
    grid-column: span 3;
  }

  .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-summary,
  .tool-metrics,
  .tool-panel-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-band {
    padding: 64px 0;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(100% - 20px, var(--site-width));
    margin-top: 10px;
    gap: 12px;
    align-items: center;
  }

  .menu-toggle {
    display: grid;
  }

  .header-panel {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 2px;
  }

  .site-header.is-menu-open .header-panel {
    display: grid;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: 8px;
    align-items: stretch;
  }

  .header-actions .button-small {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .theme-switch {
    width: 100%;
  }

  .theme-switch button {
    flex: 1 1 0;
    min-width: 0;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 8px;
    overflow: visible;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: var(--control-bg);
    font-size: 0.88rem;
  }

  .button-small {
    min-height: 36px;
    padding-inline: 12px;
  }

  .language-switch button,
  .theme-switch button {
    min-width: 36px;
    min-height: 32px;
  }

  h1 {
    font-size: clamp(2.35rem, 9vw, 3rem);
    line-height: 1.05;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-copy,
  .hero-text,
  .hero-actions,
  .mountain-shell {
    width: 100%;
    max-width: 100%;
  }

  .hero-text {
    font-size: 1.06rem;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .feature-grid,
  .spotlight-grid,
  .why-grid,
  .flow-list,
  .tool-brief-grid,
  .tool-replay,
  .tool-case-grid,
  .tool-performance-details,
  .legal-detail-grid,
  .about-panel,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-wide {
    grid-column: auto;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .step-list li {
    min-height: 104px;
  }

  .about-panel,
  .architecture-panel,
  .contact-grid,
  .docs-hero .hero-copy {
    padding: 28px;
  }

  .tool-form {
    grid-template-columns: 1fr;
  }

  .tool-agent-buttons,
  .tool-mode-buttons,
  .tool-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-agent-button,
  .tool-mode,
  .tool-tab {
    justify-content: center;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .tool-summary,
  .tool-metrics,
  .tool-panel-stats {
    grid-template-columns: 1fr;
  }

  .tool-chart-copy {
    flex-direction: column;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .legal-body h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .section-inner,
  .site-footer,
  .page-shell {
    width: min(100% - 20px, var(--site-width));
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(100% - 20px, var(--site-width));
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .language-switch {
    width: 100%;
  }

  .language-switch button {
    flex: 1 1 0;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2.18rem, 9.8vw, 2.48rem);
  }

  h2 {
    font-size: 1.8rem;
  }

  .feature-card,
  .product-card,
  .spotlight-card,
  .why-card,
  .flow-step,
  .tool-control,
  .tool-report-card {
    padding: 20px;
  }
}

/* Visual convergence pass: richer composition and brand depth for the approved PeakByte direction. */
body {
  background:
    radial-gradient(circle at 76% 14%, rgba(0, 230, 255, 0.09), transparent 28%),
    radial-gradient(circle at 24% 8%, rgba(124, 92, 255, 0.08), transparent 26%),
    var(--body-bg);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 76% 14%, rgba(0, 158, 194, 0.13), transparent 28%),
    radial-gradient(circle at 24% 8%, rgba(111, 85, 242, 0.1), transparent 26%),
    var(--body-bg);
}

.site-header {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .site-header {
  box-shadow: 0 18px 42px rgba(23, 46, 77, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  padding-top: 132px;
  padding-bottom: 98px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 58px max(16px, calc((100vw - var(--site-width)) / 2)) 28px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(0, 230, 255, 0.035), transparent 38%),
    linear-gradient(260deg, rgba(124, 92, 255, 0.045), transparent 34%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 92%);
}

html[data-theme="light"] .hero::before {
  border-color: rgba(5, 17, 31, 0.055);
  background:
    linear-gradient(120deg, rgba(0, 158, 194, 0.08), transparent 38%),
    linear-gradient(260deg, rgba(111, 85, 242, 0.08), transparent 34%);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.9fr);
  gap: 64px;
}

h1 {
  max-width: 780px;
  font-size: clamp(4.25rem, 6.2vw, 5.8rem);
  line-height: 0.94;
}

.hero-text {
  max-width: 680px;
  font-size: 1.22rem;
}

.hero-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-insights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.9rem;
  font-weight: 720;
}

html[data-theme="light"] .hero-insights span {
  background: rgba(255, 255, 255, 0.64);
}

.mountain-shell {
  min-height: 536px;
  padding: 18px;
  border-color: rgba(0, 230, 255, 0.16);
  background:
    radial-gradient(circle at 52% 22%, rgba(0, 230, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%),
    var(--mountain-panel-bg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(0, 230, 255, 0.045);
}

html[data-theme="light"] .mountain-shell {
  border-color: rgba(0, 158, 194, 0.22);
  background:
    radial-gradient(circle at 52% 22%, rgba(0, 158, 194, 0.18), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.36) 32%, transparent),
    var(--mountain-panel-bg);
  box-shadow: 0 32px 78px rgba(23, 46, 77, 0.18), 0 0 0 1px rgba(0, 158, 194, 0.08);
}

.mountain-shell::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

html[data-theme="light"] .mountain-shell::after {
  border-color: rgba(5, 17, 31, 0.055);
}

.mountain-shell img {
  width: min(112%, 680px);
  max-width: none;
  margin: -10px auto 0;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.34));
}

.hero-orbit-card,
.hero-visual-caption {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 13, 24, 0.72);
  color: var(--muted-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .hero-orbit-card,
html[data-theme="light"] .hero-visual-caption {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 32px rgba(23, 46, 77, 0.1);
}

.hero-orbit-card {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-orbit-card-top {
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-card-left {
  left: 24px;
  top: 42%;
}

.hero-orbit-card-right {
  right: 24px;
  top: 56%;
}

.hero-visual-caption {
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 10px;
}

.hero-visual-caption strong {
  color: var(--text);
  font-family: var(--font-display);
}

.hero-visual-caption span {
  color: var(--muted);
  line-height: 1.4;
}

.feature-strip {
  padding-top: 26px;
}

.feature-card,
.product-card,
.spotlight-card,
.why-card,
.flow-step {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.product-card::after,
.spotlight-card::before,
.why-card::before,
.flow-step::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.055), transparent 36%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.045), transparent 38%);
  opacity: 0.8;
}

html[data-theme="light"] .feature-card::before,
html[data-theme="light"] .product-card::after,
html[data-theme="light"] .spotlight-card::before,
html[data-theme="light"] .why-card::before,
html[data-theme="light"] .flow-step::before {
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.07), transparent 40%);
}

.feature-card > *,
.product-card > *,
.spotlight-card > *,
.why-card > *,
.flow-step > * {
  position: relative;
  z-index: 1;
}

.feature-card {
  min-height: 198px;
  padding: 24px;
}

.feature-orb {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 230, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(0, 230, 255, 0.38) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.13), rgba(124, 92, 255, 0.11));
}

.product-grid {
  gap: 18px;
}

.product-card {
  min-height: 276px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.product-card-wide {
  grid-column: span 4;
}

.product-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.product-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 230, 255, 0.22);
  border-radius: 12px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.12), rgba(124, 92, 255, 0.08));
  font-size: 0.8rem;
  font-weight: 860;
}

.product-card h3 {
  font-size: 1.42rem;
}

.product-card-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  color: var(--cyan);
  font-weight: 780;
}

.product-card-accent {
  border-color: rgba(0, 230, 255, 0.24);
}

.spotlight {
  padding-top: 70px;
}

.spotlight-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px;
  background:
    linear-gradient(120deg, rgba(0, 230, 255, 0.07), transparent 38%),
    linear-gradient(270deg, rgba(124, 92, 255, 0.08), transparent 36%),
    rgba(10, 20, 36, 0.48);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .spotlight-panel {
  background:
    linear-gradient(120deg, rgba(0, 158, 194, 0.1), transparent 38%),
    linear-gradient(270deg, rgba(111, 85, 242, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.66);
}

.spotlight-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.spotlight-card-primary {
  min-height: 360px;
}

.spotlight-checks {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.spotlight-checks span {
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.45;
}

html[data-theme="light"] .spotlight-checks span {
  background: rgba(255, 255, 255, 0.72);
}

.product-interface {
  min-width: 0;
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(5, 13, 24, 0.92), rgba(13, 27, 46, 0.62));
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .product-interface {
  border-color: rgba(0, 158, 194, 0.18);
  background:
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 252, 0.72));
}

.interface-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.interface-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.interface-grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 292px;
}

.interface-sidebar,
.interface-canvas {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .interface-sidebar,
html[data-theme="light"] .interface-canvas {
  background: rgba(255, 255, 255, 0.68);
}

.interface-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.interface-sidebar strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.interface-sidebar span {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  font-weight: 720;
}

.interface-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-content: center;
  padding: 22px;
}

.canvas-node {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 780;
  text-align: center;
}

.canvas-node-primary {
  grid-column: 1 / -1;
  border-color: rgba(0, 230, 255, 0.26);
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.12), rgba(124, 92, 255, 0.1));
}

.canvas-link {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 1px;
  height: 58px;
  background: linear-gradient(var(--cyan), var(--violet));
}

.spotlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.platform {
  padding-block: 88px;
}

.platform-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
  background: var(--platform-bg);
}

.platform-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.platform-pill-row span {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--control-bg);
  font-weight: 740;
}

.architecture-panel {
  padding: 46px;
}

.ecosystem-map {
  position: relative;
  min-height: 374px;
  margin: 28px 0 22px;
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(0, 230, 255, 0.14), transparent 32%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  overflow: hidden;
}

html[data-theme="light"] .ecosystem-map {
  border-color: rgba(0, 158, 194, 0.18);
  background:
    radial-gradient(circle at center, rgba(0, 158, 194, 0.15), transparent 32%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.ecosystem-map::before,
.ecosystem-map::after {
  content: "";
  position: absolute;
  inset: 68px 96px;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 999px;
}

.ecosystem-map::after {
  inset: 108px 180px;
  border-color: rgba(124, 92, 255, 0.18);
}

.ecosystem-center,
.ecosystem-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  text-align: center;
  backdrop-filter: blur(14px);
}

.ecosystem-center {
  left: 50%;
  top: 50%;
  width: 210px;
  min-height: 108px;
  padding: 20px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.14), rgba(124, 92, 255, 0.12)), var(--card-bg-strong);
}

.ecosystem-center span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ecosystem-center strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.2;
}

.ecosystem-node {
  min-width: 150px;
  min-height: 48px;
  padding: 12px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(5, 13, 24, 0.64);
  font-weight: 760;
}

html[data-theme="light"] .ecosystem-node {
  background: rgba(255, 255, 255, 0.76);
}

.ecosystem-node-a { left: 9%; top: 18%; }
.ecosystem-node-b { right: 9%; top: 18%; }
.ecosystem-node-c { left: 7%; bottom: 18%; }
.ecosystem-node-d { right: 8%; bottom: 18%; }
.ecosystem-node-e { left: 50%; bottom: 8%; transform: translateX(-50%); }

.flow-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-card {
  min-height: 238px;
  padding: 28px;
}

.why-card-wide {
  grid-column: span 2;
}

.why-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 230, 255, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.18), rgba(124, 92, 255, 0.11)),
    radial-gradient(circle at 70% 28%, rgba(230, 234, 241, 0.9) 0 7%, transparent 8%);
}

.step-list-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-list-compact li {
  min-height: 178px;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.about-panel {
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 230, 255, 0.14);
  transform: rotate(45deg);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.08), rgba(124, 92, 255, 0.08));
}

.contact-grid {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-color: rgba(0, 230, 255, 0.2);
  background:
    radial-gradient(circle at 84% 42%, rgba(0, 230, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.09), rgba(124, 92, 255, 0.1)),
    rgba(10, 20, 36, 0.68);
}

html[data-theme="light"] .contact-grid {
  background:
    radial-gradient(circle at 84% 42%, rgba(0, 158, 194, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.12), rgba(111, 85, 242, 0.1)),
    rgba(255, 255, 255, 0.76);
}

.site-footer {
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  padding-top: 58px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.2;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 650;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .mountain-shell {
    min-height: 500px;
  }

  .spotlight-showcase,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .product-card-wide {
    grid-column: span 3;
  }

  .step-list-compact,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 70px;
  }

  .hero::before {
    inset: 46px 10px 20px;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 3.2rem);
    line-height: 1.02;
  }

  .hero-insights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mountain-shell {
    min-height: auto;
    padding: 12px;
  }

  .mountain-shell img {
    width: 100%;
    margin-top: 0;
  }

  .hero-orbit-card {
    display: none;
  }

  .hero-visual-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .product-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .spotlight-panel,
  .platform-panel,
  .architecture-panel {
    padding: 24px;
  }

  .spotlight-showcase,
  .interface-grid,
  .spotlight-grid,
  .why-grid,
  .step-list-compact,
  .flow-list,
  .footer-columns,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-wide {
    grid-column: auto;
  }

  .why-card-wide {
    grid-column: auto;
  }

  .product-interface {
    min-height: auto;
  }

  .interface-canvas {
    grid-template-columns: 1fr;
  }

  .canvas-node-primary {
    grid-column: auto;
  }

  .canvas-link {
    display: none;
  }

  .ecosystem-map {
    display: grid;
    gap: 10px;
    min-height: auto;
    padding: 16px;
  }

  .ecosystem-map::before,
  .ecosystem-map::after {
    display: none;
  }

  .ecosystem-center,
  .ecosystem-node,
  .ecosystem-node-a,
  .ecosystem-node-b,
  .ecosystem-node-c,
  .ecosystem-node-d,
  .ecosystem-node-e {
    position: static;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .ecosystem-center {
    min-height: 96px;
  }

  .contact-grid {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.4vw, 2.62rem);
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .feature-card,
  .product-card,
  .spotlight-card,
  .why-card,
  .flow-step {
    min-height: auto;
  }

  .spotlight-panel,
  .platform-panel,
  .architecture-panel,
  .about-panel,
  .contact-grid {
    padding: 22px;
  }
}

/* Information architecture pass: shared page patterns for Systems and Platform. */
.ia-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.ia-flow span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--text);
  background: var(--card-bg-strong);
  font-weight: 780;
  text-align: center;
}

.ia-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 1;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.detail-page {
  min-width: 0;
}

.page-hero {
  position: relative;
  padding-top: 112px;
  padding-bottom: 80px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 54px;
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
  max-width: 780px;
}

.page-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 230, 255, 0.2), transparent 31%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    var(--mountain-panel-bg);
  background-size: auto, 44px 44px, 44px 44px, auto;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .page-hero-visual {
  border-color: rgba(0, 158, 194, 0.18);
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 158, 194, 0.18), transparent 31%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    var(--mountain-panel-bg);
  background-size: auto, 44px 44px, 44px 44px, auto;
}

.page-hero-visual img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(118%, 620px);
  max-width: none;
  transform: translate(-50%, -48%);
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.28));
}

.systems-detail {
  padding-top: 38px;
}

.systems-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.system-detail-card,
.platform-deep-panel,
.platform-layer-grid article,
.principle-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.system-detail-card {
  scroll-margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 30px;
}

.system-detail-featured {
  grid-column: span 2;
  background: var(--accent-card-bg);
}

.system-detail-card h2 {
  margin-bottom: 0;
}

.system-detail-card > p:not(.eyebrow),
.platform-deep-panel .section-head p,
.platform-layer-grid p,
.principle-grid p {
  color: var(--muted);
  line-height: 1.66;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-columns h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.detail-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-list li {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--muted-strong);
  background: var(--secondary-bg);
  line-height: 1.45;
}

.platform-deep {
  padding-top: 38px;
}

.platform-deep-panel {
  padding: 42px;
  background: var(--panel-bg);
}

.platform-layer-grid,
.principle-grid {
  display: grid;
  gap: 16px;
}

.platform-layer-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-layer-grid article,
.principle-grid article {
  min-width: 0;
  padding: 22px;
}

.platform-layer-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 820;
}

.principle-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-orbit {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.platform-orbit::before,
.platform-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 50%;
}

.platform-orbit::before {
  width: 72%;
  aspect-ratio: 1;
}

.platform-orbit::after {
  width: 46%;
  aspect-ratio: 1;
  border-color: rgba(124, 92, 255, 0.2);
}

.platform-orbit-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(0, 230, 255, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.16), rgba(124, 92, 255, 0.14)), var(--card-bg-strong);
  font-family: var(--font-display);
  font-weight: 820;
  text-align: center;
}

.platform-orbit span {
  position: absolute;
  z-index: 2;
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(5, 13, 24, 0.72);
  font-weight: 760;
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .platform-orbit span {
  background: rgba(255, 255, 255, 0.78);
}

.platform-orbit span:nth-of-type(1) {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.platform-orbit span:nth-of-type(2) {
  top: 34%;
  right: 8%;
}

.platform-orbit span:nth-of-type(3) {
  right: 12%;
  bottom: 18%;
}

.platform-orbit span:nth-of-type(4) {
  left: 10%;
  bottom: 22%;
}

.platform-orbit span:nth-of-type(5) {
  top: 36%;
  left: 8%;
}

.footer-columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .ia-flow,
  .platform-layer-grid,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ia-flow span:not(:last-child)::after {
    display: none;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .ia-flow,
  .systems-detail-grid,
  .detail-columns,
  .platform-layer-grid,
  .principle-grid,
  .system-detail-featured,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 70px;
    padding-bottom: 56px;
  }

  .page-hero-grid {
    gap: 30px;
  }

  .page-hero-visual,
  .platform-orbit {
    min-height: 320px;
  }

  .page-hero-visual img {
    width: min(112%, 540px);
  }

  .system-detail-card,
  .platform-deep-panel,
  .platform-layer-grid article,
  .principle-grid article {
    padding: 22px;
  }

  .system-detail-featured {
    grid-column: auto;
  }

  .platform-orbit::before {
    width: 84%;
  }

  .platform-orbit::after {
    width: 56%;
  }

  .platform-orbit-core {
    width: 128px;
    height: 128px;
  }

  .platform-orbit span {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .page-hero-visual,
  .platform-orbit {
    min-height: 270px;
  }

  .platform-orbit span {
    position: static;
    transform: none !important;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .platform-orbit {
    align-content: center;
    gap: 8px;
    padding: 16px;
  }

  .platform-orbit::before,
  .platform-orbit::after {
    display: none;
  }

  .platform-orbit-core {
    width: 100%;
    height: auto;
    min-height: 72px;
    border-radius: var(--radius-card);
  }
}

/* Asset preparation pass: final artwork drops into these stable paths. */
.brand-logo-wrap {
  display: inline-grid;
  align-items: center;
  width: clamp(156px, 13vw, 198px);
  height: 46px;
  min-width: 0;
}

.brand-logo {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-light {
  display: none;
}

html[data-theme="light"] .brand-logo-dark {
  display: none;
}

html[data-theme="light"] .brand-logo-light {
  display: block;
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(156px, 13vw, 198px);
}

.legal-body .site-header .brand {
  min-width: clamp(176px, 20vw, 220px);
}

.hero-cinematic {
  padding-top: 72px;
  padding-bottom: 34px;
}

.hero-cinematic::before {
  inset: 42px max(16px, calc((100vw - var(--site-width)) / 2)) 12px;
}

.hero-cinematic .hero-grid {
  position: relative;
  min-height: clamp(560px, 52vw, 680px);
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.hero-cinematic .hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  max-width: 650px;
  padding: clamp(34px, 5vw, 72px);
  align-self: center;
}

.hero-cinematic .hero-copy::before {
  content: "";
  position: absolute;
  inset: -16px -72px -16px -16px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 13, 24, 0.84), rgba(5, 13, 24, 0.58) 58%, transparent);
}

html[data-theme="light"] .hero-cinematic .hero-copy::before {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.9), rgba(248, 251, 255, 0.66) 58%, transparent);
}

.asset-slot {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 18px;
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .asset-slot {
  border-color: rgba(0, 158, 194, 0.18);
}

.hero-asset-slot {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(90deg, rgba(5, 13, 24, 0.34), rgba(5, 13, 24, 0.06) 46%, rgba(5, 13, 24, 0.18)),
    url("assets/visuals/hero-mountain-dark.webp"),
    linear-gradient(135deg, rgba(13, 27, 46, 0.98), rgba(5, 13, 24, 0.86));
  background-position: center;
  background-size: cover;
  box-shadow: none;
}

html[data-theme="light"] .hero-asset-slot {
  background-image:
    linear-gradient(90deg, rgba(248, 251, 255, 0.58), rgba(248, 251, 255, 0.08) 48%, rgba(232, 241, 252, 0.22)),
    url("assets/visuals/hero-mountain-light.webp"),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 252, 0.86));
}

.hero-asset-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.hero-asset-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 230, 255, 0.14), transparent 23%),
    linear-gradient(180deg, rgba(5, 13, 24, 0.04), rgba(5, 13, 24, 0.4));
  opacity: 0.84;
}

html[data-theme="light"] .hero-asset-slot::after {
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 158, 194, 0.12), transparent 23%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.02), rgba(232, 241, 252, 0.3));
}

.hero-asset-slot .hero-visual-caption {
  position: absolute;
  z-index: 2;
  left: auto;
  right: 26px;
  bottom: 26px;
  width: min(430px, calc(100% - 52px));
}

.product-asset-slot,
.compact-asset-slot,
.systems-hero-asset-slot,
.platform-core-asset-slot {
  background-position: center;
  background-size: cover;
}

.product-asset-slot {
  min-height: 360px;
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.28), rgba(5, 13, 24, 0.02)),
    url("assets/visuals/manai-builder-panel.webp"),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(5, 13, 24, 0.92), rgba(13, 27, 46, 0.62));
  background-size: cover, cover, 42px 42px, 42px 42px, auto;
}

html[data-theme="light"] .product-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(248, 251, 255, 0.34), rgba(248, 251, 255, 0.04)),
    url("assets/visuals/manai-builder-panel.webp"),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 252, 0.72));
}

.compact-asset-slot {
  min-height: 132px;
  margin-bottom: 22px;
  border-radius: 12px;
}

.ai-automator-flow-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.2), rgba(5, 13, 24, 0.02)),
    url("assets/visuals/ai-automator-flow.webp"),
    radial-gradient(circle at 70% 30%, rgba(0, 230, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(13, 27, 46, 0.88), rgba(5, 13, 24, 0.7));
}

html[data-theme="light"] .ai-automator-flow-slot {
  background-image:
    linear-gradient(135deg, rgba(248, 251, 255, 0.4), rgba(248, 251, 255, 0.04)),
    url("assets/visuals/ai-automator-flow.webp"),
    radial-gradient(circle at 70% 30%, rgba(0, 158, 194, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 252, 0.72));
}

.systems-hero-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.22), rgba(5, 13, 24, 0.04)),
    url("assets/visuals/manai-builder-panel.webp"),
    radial-gradient(circle at 60% 22%, rgba(0, 230, 255, 0.16), transparent 34%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    var(--mountain-panel-bg);
  background-size: cover, cover, auto, 44px 44px, 44px 44px, auto;
}

html[data-theme="light"] .systems-hero-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(248, 251, 255, 0.42), rgba(248, 251, 255, 0.04)),
    url("assets/visuals/manai-builder-panel.webp"),
    radial-gradient(circle at 60% 22%, rgba(0, 158, 194, 0.15), transparent 34%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    var(--mountain-panel-bg);
}

.platform-core-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.18), rgba(5, 13, 24, 0.04)),
    url("assets/visuals/platform-core.webp"),
    radial-gradient(circle at 50% 50%, rgba(0, 230, 255, 0.14), transparent 36%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    var(--mountain-panel-bg);
  background-size: cover, cover, auto, 44px 44px, 44px 44px, auto;
}

html[data-theme="light"] .platform-core-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(248, 251, 255, 0.42), rgba(248, 251, 255, 0.04)),
    url("assets/visuals/platform-core.webp"),
    radial-gradient(circle at 50% 50%, rgba(0, 158, 194, 0.14), transparent 36%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    var(--mountain-panel-bg);
}

@media (max-width: 1080px) {
  .hero-cinematic .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-asset-visual {
    max-width: none;
  }

  .hero-cinematic .hero-copy {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .brand-logo-wrap {
    width: 166px;
    height: 42px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 166px;
  }

  .hero-cinematic {
    padding-top: 62px;
    padding-bottom: 44px;
  }

  .hero-cinematic .hero-grid {
    min-height: 760px;
    align-items: start;
  }

  .hero-cinematic .hero-copy {
    grid-column: 1 / -1;
    padding: 34px 22px 0;
  }

  .hero-cinematic .hero-copy::before {
    inset: 0 -24px -36px -24px;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.92), rgba(5, 13, 24, 0.72) 68%, transparent);
  }

  html[data-theme="light"] .hero-cinematic .hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.94), rgba(248, 251, 255, 0.74) 68%, transparent);
  }

  .hero-asset-slot {
    min-height: 100%;
    background-position: 62% center;
  }

  .hero-asset-slot .hero-visual-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: auto;
  }

  .product-asset-slot {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .brand-logo-wrap {
    width: 154px;
    height: 40px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 154px;
  }

  .hero-asset-slot {
    min-height: 100%;
  }

  .compact-asset-slot {
    min-height: 112px;
  }
}

/* High-fidelity convergence pass: production assets, stronger hierarchy, richer section architecture. */
:root {
  --site-width: 1240px;
  --radius-card: 10px;
  --radius-panel: 18px;
  --glass-line: rgba(255, 255, 255, 0.12);
  --soft-glow: 0 0 42px rgba(0, 230, 255, 0.12);
  --panel-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] {
  --glass-line: rgba(5, 17, 31, 0.14);
  --soft-glow: 0 24px 60px rgba(45, 124, 255, 0.13);
  --panel-shadow: 0 34px 80px rgba(23, 46, 77, 0.16);
}

body {
  overflow-x: clip;
}

body::before {
  background-size: 88px 88px;
  opacity: 0.74;
}

.site-background {
  background:
    radial-gradient(circle at 72% 9%, rgba(0, 230, 255, 0.16), transparent 25%),
    radial-gradient(circle at 18% 18%, rgba(124, 92, 255, 0.13), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(3, 8, 19, 0.86) 82%);
}

html[data-theme="light"] .site-background {
  background:
    radial-gradient(circle at 72% 9%, rgba(0, 158, 194, 0.14), transparent 25%),
    radial-gradient(circle at 18% 18%, rgba(111, 85, 242, 0.11), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(248, 251, 255, 0.9) 82%);
}

.section-band {
  padding: clamp(72px, 8vw, 112px) 0;
}

.section-head {
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head p {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

h1 {
  max-width: 760px;
  font-size: clamp(4.6rem, 6.8vw, 6.75rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.35rem, 4vw, 4.35rem);
  line-height: 0.98;
}

.button {
  min-height: 52px;
  padding-inline: 22px;
}

.button-primary {
  box-shadow:
    0 18px 38px rgba(0, 230, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.button-secondary {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--secondary-bg);
}

.site-header {
  width: min(var(--site-width), calc(100% - 36px));
  margin-top: 18px;
  padding: 10px 12px;
  border-color: var(--glass-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(5, 13, 24, 0.78);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72)),
    rgba(248, 251, 255, 0.82);
}

.brand-logo-wrap {
  width: clamp(174px, 14vw, 220px);
  height: 48px;
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(174px, 14vw, 220px);
}

.site-nav {
  gap: 2px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--control-bg);
}

.language-switch,
.theme-switch {
  min-height: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--control-bg);
}

.hero-cinematic {
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(34px, 5vw, 62px);
}

.hero-cinematic::before {
  display: none;
}

.hero-cinematic .hero-grid {
  min-height: clamp(680px, 62vw, 780px);
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: 0;
  border-color: rgba(0, 230, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 230, 255, 0.16), transparent 28%),
    linear-gradient(115deg, rgba(13, 27, 46, 0.94), rgba(5, 13, 24, 0.82) 46%, rgba(5, 13, 24, 0.42)),
    var(--card-bg);
  box-shadow:
    var(--panel-shadow),
    0 0 0 1px rgba(0, 230, 255, 0.04);
}

html[data-theme="light"] .hero-cinematic .hero-grid {
  border-color: rgba(0, 158, 194, 0.18);
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 158, 194, 0.14), transparent 28%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.76) 46%, rgba(232, 241, 252, 0.42)),
    var(--card-bg);
}

.hero-cinematic .hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.34;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 72%);
}

.hero-cinematic .hero-copy {
  padding: clamp(44px, 6vw, 84px);
}

.hero-cinematic .hero-copy::before {
  inset: 0 -120px 0 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.95) 0%, rgba(5, 13, 24, 0.82) 58%, transparent 100%);
}

html[data-theme="light"] .hero-cinematic .hero-copy::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.78) 58%, transparent 100%);
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
}

.hero-insights {
  margin-top: 34px;
}

.hero-insights span {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

.hero-asset-slot {
  background-position: center right;
}

.hero-asset-slot::after {
  background:
    radial-gradient(circle at 70% 24%, rgba(0, 230, 255, 0.22), transparent 23%),
    radial-gradient(circle at 82% 58%, rgba(124, 92, 255, 0.15), transparent 24%),
    linear-gradient(90deg, rgba(5, 13, 24, 0.18), rgba(5, 13, 24, 0.02) 48%, rgba(5, 13, 24, 0.2)),
    linear-gradient(180deg, transparent, rgba(3, 8, 19, 0.36));
}

html[data-theme="light"] .hero-asset-slot::after {
  background:
    radial-gradient(circle at 70% 24%, rgba(0, 158, 194, 0.13), transparent 23%),
    radial-gradient(circle at 82% 58%, rgba(111, 85, 242, 0.11), transparent 24%),
    linear-gradient(90deg, rgba(248, 251, 255, 0.26), rgba(248, 251, 255, 0.02) 48%, rgba(232, 241, 252, 0.18)),
    linear-gradient(180deg, transparent, rgba(232, 241, 252, 0.24));
}

.hero-orbit-card {
  border-radius: 12px;
  background: rgba(5, 13, 24, 0.66);
}

.hero-visual-caption {
  max-width: 440px;
  border-color: rgba(0, 230, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.11), rgba(124, 92, 255, 0.08)),
    rgba(5, 13, 24, 0.72);
}

.feature-strip {
  padding-top: 20px;
  padding-bottom: clamp(58px, 7vw, 90px);
}

.feature-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.06), transparent 34%),
    rgba(10, 20, 36, 0.58);
  box-shadow: var(--card-shadow);
}

html[data-theme="light"] .feature-grid {
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.74);
}

.feature-card {
  min-height: 184px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card:last-child {
  border-right: 0;
}

.product-grid-summary {
  gap: 18px;
}

.product-summary-card {
  min-height: 300px;
  border-color: rgba(255, 255, 255, 0.105);
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 230, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--card-bg);
}

html[data-theme="light"] .product-summary-card {
  border-color: rgba(5, 17, 31, 0.12);
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 158, 194, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.66)),
    var(--card-bg);
}

.product-summary-card:hover,
.product-summary-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 255, 0.28);
}

.product-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.spotlight-panel,
.architecture-panel,
.platform-panel,
.about-panel,
.contact-grid,
.platform-deep-panel,
.systems-ecosystem-panel,
.platform-model-panel {
  border-color: rgba(0, 230, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--panel-shadow);
}

html[data-theme="light"] .spotlight-panel,
html[data-theme="light"] .architecture-panel,
html[data-theme="light"] .platform-panel,
html[data-theme="light"] .about-panel,
html[data-theme="light"] .contact-grid,
html[data-theme="light"] .platform-deep-panel,
html[data-theme="light"] .systems-ecosystem-panel,
html[data-theme="light"] .platform-model-panel {
  border-color: rgba(0, 158, 194, 0.16);
}

.spotlight-panel {
  padding: clamp(30px, 5vw, 58px);
}

.spotlight-showcase {
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1fr);
  gap: 22px;
}

.spotlight-card-primary,
.product-asset-slot {
  min-height: clamp(390px, 38vw, 480px);
}

.manai-builder-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.26), rgba(5, 13, 24, 0.04)),
    url("assets/visuals/manai-builder-panel.webp"),
    radial-gradient(circle at 70% 28%, rgba(0, 230, 255, 0.12), transparent 34%),
    var(--mountain-panel-bg);
  background-position: center;
  background-size: cover;
}

html[data-theme="light"] .manai-builder-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(248, 251, 255, 0.38), rgba(248, 251, 255, 0.04)),
    url("assets/visuals/manai-builder-panel.webp"),
    radial-gradient(circle at 70% 28%, rgba(0, 158, 194, 0.12), transparent 34%),
    var(--mountain-panel-bg);
}

.product-asset-slot {
  border-radius: 20px;
  background-position: center;
}

.spotlight-grid {
  gap: 22px;
  margin-top: 22px;
}

.spotlight-card {
  border-radius: 16px;
}

.architecture-panel {
  padding: clamp(30px, 5vw, 58px);
}

.ecosystem-map {
  min-height: clamp(340px, 38vw, 470px);
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(0, 230, 255, 0.18), transparent 30%),
    radial-gradient(circle at 30% 28%, rgba(124, 92, 255, 0.1), transparent 24%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(5, 13, 24, 0.38);
}

.ecosystem-map::before,
.ecosystem-map::after {
  border-style: solid;
}

.ia-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.ia-flow span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted-strong);
  background: var(--control-bg);
  font-weight: 760;
  text-align: center;
}

.ia-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.flow-list-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}

.flow-list-compact .flow-step {
  min-height: 210px;
}

.platform {
  border-block: 0;
  background: transparent;
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 4.8vw, 52px);
  background:
    linear-gradient(120deg, rgba(0, 230, 255, 0.075), transparent 38%),
    linear-gradient(280deg, rgba(124, 92, 255, 0.08), transparent 34%),
    rgba(10, 20, 36, 0.62);
}

html[data-theme="light"] .platform-panel {
  background:
    linear-gradient(120deg, rgba(0, 158, 194, 0.09), transparent 38%),
    linear-gradient(280deg, rgba(111, 85, 242, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.76);
}

.platform-grid {
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 0.8fr);
  gap: 34px;
}

.platform-preview-asset {
  min-height: 330px;
  border-radius: 20px;
}

.why-grid-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.why-grid-compact .why-card {
  grid-column: span 2;
}

.why-grid-compact .why-card-wide {
  grid-column: span 3;
}

.why-card {
  border-radius: 16px;
}

.step-list {
  gap: 14px;
}

.step-list li {
  min-height: 214px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--step-bg);
}

.step-list strong {
  align-self: auto;
  font-size: 1.12rem;
}

.about-panel {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.82fr);
  padding: clamp(30px, 5vw, 58px);
}

.about-goal {
  margin-top: 24px;
  color: var(--muted-strong) !important;
  font-size: 1.08rem;
}

.credibility-list article {
  border-radius: 14px;
}

.contact-grid {
  padding: clamp(30px, 5vw, 58px);
  min-height: 290px;
}

.site-footer {
  width: min(var(--site-width), calc(100% - 32px));
  border-top: 1px solid var(--line);
  padding-bottom: 36px;
}

.footer-columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.page-hero {
  padding-top: clamp(58px, 7vw, 96px);
}

.page-hero-grid {
  min-height: clamp(520px, 46vw, 650px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 74% 22%, rgba(0, 230, 255, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(13, 27, 46, 0.92), rgba(5, 13, 24, 0.66)),
    var(--card-bg);
  box-shadow: var(--panel-shadow);
}

html[data-theme="light"] .page-hero-grid {
  border-color: rgba(0, 158, 194, 0.16);
  background:
    radial-gradient(circle at 74% 22%, rgba(0, 158, 194, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 252, 0.66)),
    var(--card-bg);
}

.page-hero-visual {
  min-height: 420px;
  border-radius: 22px;
}

.systems-ecosystem {
  padding-top: 36px;
}

.systems-ecosystem-panel {
  padding: clamp(28px, 4.5vw, 50px);
  background: var(--panel-bg);
}

.systems-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.systems-ecosystem-grid article,
.platform-model-rail article {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
}

.systems-ecosystem-grid span,
.platform-model-rail span,
.system-detail-number {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.systems-ecosystem-grid p,
.platform-model-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.systems-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.system-detail-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 38px);
}

.system-detail-featured {
  grid-column: span 2;
}

.system-detail-number {
  position: absolute;
  top: 24px;
  right: 28px;
}

.system-detail-asset {
  min-height: 280px;
  margin: 26px 0;
  border-radius: 18px;
}

.detail-columns {
  align-items: stretch;
}

.detail-columns > div {
  border-radius: 14px;
}

.platform-model {
  padding-top: 36px;
}

.platform-model-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(28px, 4.5vw, 52px);
  background: var(--panel-bg);
}

.platform-model-copy {
  align-self: center;
}

.platform-model-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.platform-model-rail article {
  min-height: 168px;
  display: grid;
  align-content: space-between;
}

.platform-model-rail strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
}

.platform-layer-grid article,
.principle-grid article {
  border-radius: 16px;
}

.platform-orbit {
  min-height: 460px;
  border-radius: 22px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .hero-cinematic .hero-grid,
  .page-hero-grid,
  .platform-panel,
  .platform-model-panel {
    grid-template-columns: 1fr;
  }

  .hero-cinematic .hero-copy {
    max-width: 760px;
  }

  .platform-preview-asset,
  .page-hero-visual {
    min-height: 360px;
  }

  .flow-list-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid-compact .why-card,
  .why-grid-compact .why-card-wide {
    grid-column: auto;
  }

  .platform-model-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-column {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .section-band {
    padding: 62px 0;
  }

  .site-header {
    width: min(100% - 20px, var(--site-width));
    margin-top: 10px;
    border-radius: 16px;
  }

  .brand-logo-wrap {
    width: 160px;
    height: 42px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 160px;
  }

  .header-panel {
    padding-top: 8px;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .theme-switch,
  .language-switch {
    width: 100%;
  }

  .theme-switch button,
  .language-switch button {
    flex: 1 1 0;
  }

  h1 {
    font-size: clamp(2.62rem, 12vw, 4.1rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.85rem);
    line-height: 1.02;
  }

  .hero-cinematic {
    padding-top: 44px;
  }

  .hero-cinematic .hero-grid {
    min-height: 760px;
    border-radius: 22px;
  }

  .hero-cinematic .hero-copy {
    padding: 30px 22px 0;
  }

  .hero-cinematic .hero-copy::before {
    inset: 0 -24px -110px -24px;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.96), rgba(5, 13, 24, 0.82) 62%, transparent);
  }

  html[data-theme="light"] .hero-cinematic .hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.82) 62%, transparent);
  }

  .hero-asset-slot {
    background-position: 62% center;
  }

  .hero-orbit-card {
    display: none;
  }

  .hero-asset-slot .hero-visual-caption {
    grid-template-columns: 1fr;
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .hero-insights {
    gap: 8px;
  }

  .hero-insights span {
    width: 100%;
  }

  .feature-grid,
  .systems-ecosystem-grid,
  .systems-detail-grid,
  .platform-model-rail,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-width: 0 0 1px;
    min-height: auto;
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .product-summary-card,
  .spotlight-card,
  .why-card,
  .flow-step {
    min-height: auto;
  }

  .spotlight-panel,
  .architecture-panel,
  .platform-panel,
  .about-panel,
  .contact-grid,
  .page-hero-grid,
  .systems-ecosystem-panel,
  .platform-model-panel {
    border-radius: 20px;
    padding: 24px;
  }

  .spotlight-showcase,
  .spotlight-grid,
  .platform-grid,
  .about-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-asset-slot,
  .platform-preview-asset,
  .page-hero-visual,
  .platform-orbit {
    min-height: 260px;
  }

  .ecosystem-map {
    min-height: 360px;
  }

  .ecosystem-map::before,
  .ecosystem-map::after {
    display: none;
  }

  .ecosystem-center {
    width: min(190px, calc(100% - 40px));
  }

  .ecosystem-node {
    min-width: 120px;
    font-size: 0.82rem;
  }

  .ecosystem-node-a { left: 5%; top: 16%; }
  .ecosystem-node-b { right: 5%; top: 16%; }
  .ecosystem-node-c { left: 5%; bottom: 18%; }
  .ecosystem-node-d { right: 5%; bottom: 18%; }
  .ecosystem-node-e { bottom: 5%; }

  .ia-flow {
    grid-template-columns: 1fr;
  }

  .ia-flow span:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -10px;
    width: 1px;
    height: 10px;
  }

  .flow-list-compact,
  .why-grid-compact,
  .platform-layer-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .system-detail-featured {
    grid-column: auto;
  }

  .system-detail-card {
    min-height: auto;
    border-radius: 18px;
  }

  .system-detail-asset {
    min-height: 220px;
  }

  .contact-grid .button,
  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-inner,
  .site-footer,
  .page-shell {
    width: min(100% - 20px, var(--site-width));
  }

  .brand-logo-wrap {
    width: 146px;
    height: 38px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 146px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero-cinematic .hero-grid {
    min-height: 720px;
  }

  .hero-cinematic .hero-copy {
    padding-inline: 18px;
  }

  .hero-asset-slot .hero-visual-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .product-topline {
    align-items: flex-start;
  }

  .product-label {
    max-width: 150px;
  }

  .ecosystem-node {
    min-width: 104px;
    padding-inline: 9px;
  }
}

/* Premium fidelity pass 2: closer to the approved cinematic SaaS composition. */
:root {
  --site-width: 1320px;
  --section-gap: clamp(88px, 9vw, 138px);
  --hero-width: min(1380px, calc(100% - 32px));
}

body {
  background:
    radial-gradient(circle at 78% 4%, rgba(0, 230, 255, 0.16), transparent 23%),
    radial-gradient(circle at 20% 8%, rgba(45, 124, 255, 0.14), transparent 25%),
    radial-gradient(circle at 72% 42%, rgba(124, 92, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #050d18 0%, #07111f 34%, #030813 100%);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 4%, rgba(0, 158, 194, 0.14), transparent 23%),
    radial-gradient(circle at 20% 8%, rgba(45, 124, 255, 0.12), transparent 25%),
    radial-gradient(circle at 72% 42%, rgba(111, 85, 242, 0.09), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fc 44%, #e8eef8 100%);
}

.site-header {
  width: var(--hero-width);
  min-height: 70px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 20px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.14), transparent 28%, rgba(124, 92, 255, 0.12)),
    rgba(5, 13, 24, 0.22);
  opacity: 0.72;
}

html[data-theme="light"] .site-header::before {
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.13), transparent 28%, rgba(111, 85, 242, 0.1)),
    rgba(255, 255, 255, 0.42);
}

.brand-logo-wrap {
  width: clamp(186px, 14vw, 228px);
  height: 50px;
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(186px, 14vw, 228px);
}

.site-nav {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="light"] .site-nav {
  border-color: rgba(5, 17, 31, 0.06);
  background: rgba(255, 255, 255, 0.42);
}

.site-nav a {
  min-height: 34px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

.header-actions {
  gap: 12px;
}

.theme-switch,
.language-switch {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-cinematic {
  padding-top: clamp(26px, 4vw, 52px);
  padding-bottom: 0;
}

.hero-cinematic .section-inner {
  width: var(--hero-width);
}

.hero-cinematic .hero-grid {
  min-height: clamp(650px, 58vw, 790px);
  grid-template-columns: minmax(420px, 0.46fr) minmax(0, 0.54fr);
  border-radius: 30px;
  border-color: rgba(0, 230, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.98) 0%, rgba(7, 17, 31, 0.78) 42%, rgba(7, 17, 31, 0.22) 63%, transparent 100%),
    radial-gradient(circle at 72% 28%, rgba(0, 230, 255, 0.17), transparent 24%),
    radial-gradient(circle at 88% 66%, rgba(124, 92, 255, 0.13), transparent 25%),
    #050d18;
}

html[data-theme="light"] .hero-cinematic .hero-grid {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.82) 42%, rgba(248, 251, 255, 0.3) 63%, transparent 100%),
    radial-gradient(circle at 72% 28%, rgba(0, 158, 194, 0.13), transparent 24%),
    radial-gradient(circle at 88% 66%, rgba(111, 85, 242, 0.1), transparent 25%),
    #f8fbff;
}

.hero-cinematic .hero-grid::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 22px;
}

html[data-theme="light"] .hero-cinematic .hero-grid::before {
  border-color: rgba(5, 17, 31, 0.07);
}

.hero-cinematic .hero-grid::after {
  z-index: 1;
  opacity: 0.26;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 68%);
}

.hero-cinematic .hero-copy {
  z-index: 3;
  max-width: 640px;
  padding: clamp(48px, 6vw, 86px) clamp(34px, 5vw, 76px);
}

.hero-cinematic .hero-copy::before {
  inset: 0 -180px 0 -1px;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.96) 0%, rgba(5, 13, 24, 0.78) 54%, rgba(5, 13, 24, 0) 100%);
}

html[data-theme="light"] .hero-cinematic .hero-copy::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.78) 54%, rgba(248, 251, 255, 0) 100%);
}

.hero-cinematic h1 {
  max-width: 660px;
  font-size: clamp(4.15rem, 5.25vw, 5.65rem);
  line-height: 0.92;
  text-wrap: balance;
}

.hero-text {
  max-width: 580px;
  color: var(--muted-strong);
}

.hero-actions {
  margin-top: 30px;
}

.hero-insights {
  max-width: 560px;
  margin-top: 30px;
}

.hero-insights span {
  min-height: 36px;
  padding-inline: 14px;
}

.hero-asset-slot {
  background-position: center right;
  background-size: cover;
  transform: scale(1.012);
}

.hero-asset-slot::before {
  z-index: 2;
  border-color: rgba(0, 230, 255, 0.12);
}

.hero-asset-slot::after {
  z-index: 1;
  background:
    radial-gradient(circle at 68% 30%, rgba(0, 230, 255, 0.18), transparent 20%),
    radial-gradient(circle at 82% 64%, rgba(124, 92, 255, 0.14), transparent 23%),
    linear-gradient(90deg, rgba(5, 13, 24, 0.24), transparent 48%, rgba(3, 8, 19, 0.08)),
    linear-gradient(180deg, rgba(3, 8, 19, 0.02), rgba(3, 8, 19, 0.32));
}

.hero-orbit-card {
  z-index: 4;
  min-height: 40px;
  padding-inline: 14px;
  border-color: rgba(0, 230, 255, 0.22);
  background: rgba(5, 13, 24, 0.76);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.hero-orbit-card-top {
  top: 44px;
  left: 58%;
}

.hero-orbit-card-left {
  left: 46%;
  top: 38%;
}

.hero-orbit-card-right {
  right: 30px;
  top: 58%;
}

.hero-asset-slot .hero-visual-caption {
  z-index: 4;
  right: 30px;
  bottom: 30px;
  width: min(450px, calc(100% - 60px));
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 16px;
}

.feature-strip {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  padding-top: 0;
  padding-bottom: var(--section-gap);
}

.feature-strip .section-inner {
  width: min(1240px, calc(100% - 48px));
}

.feature-grid {
  border-radius: 20px;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.11), transparent 30%, rgba(124, 92, 255, 0.07)),
    rgba(7, 17, 31, 0.78);
}

html[data-theme="light"] .feature-grid {
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.11), transparent 30%, rgba(111, 85, 242, 0.08)),
    rgba(255, 255, 255, 0.84);
}

.feature-card {
  padding: 26px;
}

.feature-index {
  margin-bottom: 28px;
}

.systems.section-band,
.spotlight.section-band,
.architecture.section-band,
.platform.section-band,
.why.section-band,
.approach.section-band,
.about.section-band {
  padding-top: 0;
  padding-bottom: var(--section-gap);
}

.systems .section-head,
.why .section-head,
.approach .section-head {
  margin-bottom: clamp(32px, 4.2vw, 58px);
}

.systems .section-head {
  max-width: 680px;
}

.product-grid-summary {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.product-summary-card {
  grid-column: span 4;
  min-height: 318px;
  padding: 30px;
  border-radius: 18px;
}

.product-summary-card:nth-child(2),
.product-summary-card:nth-child(5) {
  grid-column: span 4;
}

.product-summary-card:nth-child(5) {
  grid-column: span 8;
}

.product-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}

.product-card h3 {
  margin-top: 18px;
  font-size: 1.55rem;
}

.product-card-link {
  padding-top: 30px;
}

.spotlight-panel,
.architecture-panel,
.platform-panel,
.about-panel,
.contact-grid,
.systems-ecosystem-panel,
.platform-model-panel,
.platform-deep-panel {
  border-radius: 28px;
}

.spotlight-panel {
  padding: clamp(36px, 5vw, 70px);
  background:
    radial-gradient(circle at 78% 10%, rgba(0, 230, 255, 0.12), transparent 25%),
    radial-gradient(circle at 16% 88%, rgba(124, 92, 255, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(10, 20, 36, 0.66));
}

html[data-theme="light"] .spotlight-panel {
  background:
    radial-gradient(circle at 78% 10%, rgba(0, 158, 194, 0.12), transparent 25%),
    radial-gradient(circle at 16% 88%, rgba(111, 85, 242, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 252, 0.66));
}

.spotlight-showcase {
  grid-template-columns: minmax(320px, 0.46fr) minmax(0, 0.74fr);
}

.spotlight-card-primary,
.product-asset-slot {
  min-height: clamp(420px, 40vw, 540px);
}

.spotlight-card,
.why-card,
.flow-step,
.tool-brief-card,
.system-detail-card,
.platform-layer-grid article,
.principle-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    var(--card-bg);
}

.product-asset-slot,
.compact-asset-slot,
.platform-preview-asset,
.page-hero-visual,
.system-detail-asset,
.platform-orbit {
  border-color: rgba(0, 230, 255, 0.2);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .product-asset-slot,
html[data-theme="light"] .compact-asset-slot,
html[data-theme="light"] .platform-preview-asset,
html[data-theme="light"] .page-hero-visual,
html[data-theme="light"] .system-detail-asset,
html[data-theme="light"] .platform-orbit {
  border-color: rgba(0, 158, 194, 0.18);
  box-shadow:
    0 22px 48px rgba(23, 46, 77, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.architecture-panel {
  padding: clamp(36px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.07), transparent 32%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.08), transparent 36%),
    rgba(7, 17, 31, 0.78);
}

html[data-theme="light"] .architecture-panel {
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), transparent 32%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.78);
}

.ecosystem-map {
  min-height: clamp(380px, 38vw, 520px);
  margin-top: 34px;
}

.ia-flow {
  margin-top: 26px;
}

.flow-list-compact {
  gap: 14px;
  margin-top: 20px;
}

.flow-list-compact .flow-step {
  min-height: 224px;
}

.platform-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.82fr);
  padding: clamp(34px, 5vw, 64px);
}

.platform-preview-asset {
  min-height: 380px;
}

.why-grid-compact {
  gap: 20px;
}

.why-card {
  min-height: 250px;
  padding: 30px;
}

.step-list {
  gap: 16px;
}

.step-list li {
  min-height: 236px;
  padding: 26px;
}

.about-panel {
  min-height: 420px;
  background:
    radial-gradient(circle at 88% 20%, rgba(124, 92, 255, 0.14), transparent 25%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.075), rgba(124, 92, 255, 0.08)),
    rgba(7, 17, 31, 0.72);
}

html[data-theme="light"] .about-panel {
  background:
    radial-gradient(circle at 88% 20%, rgba(111, 85, 242, 0.12), transparent 25%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), rgba(111, 85, 242, 0.08)),
    rgba(255, 255, 255, 0.78);
}

.contact.section-band {
  padding-top: 0;
}

.contact-grid {
  min-height: 320px;
}

.site-footer {
  padding-top: 64px;
}

.detail-page .page-hero-grid {
  width: var(--hero-width);
  margin-inline: auto;
}

.page-hero-grid {
  min-height: clamp(560px, 48vw, 700px);
}

.systems-ecosystem-panel,
.platform-model-panel,
.platform-deep-panel {
  padding: clamp(34px, 5vw, 64px);
}

.system-detail-card {
  min-height: 560px;
}

.system-detail-featured {
  min-height: 720px;
}

.system-detail-asset {
  min-height: 330px;
}

.platform-model-panel {
  min-height: 420px;
}

.platform-model-rail article {
  min-height: 240px;
}

.platform-deep-panel {
  min-height: 560px;
}

@media (max-width: 1180px) {
  .hero-cinematic .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 820px;
  }

  .hero-cinematic .hero-copy {
    max-width: 720px;
  }

  .hero-cinematic .hero-copy::before {
    inset: 0 -40px -120px -1px;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.96), rgba(5, 13, 24, 0.78) 64%, transparent);
  }

  html[data-theme="light"] .hero-cinematic .hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.78) 64%, transparent);
  }

  .product-grid-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .product-summary-card,
  .product-summary-card:nth-child(2),
  .product-summary-card:nth-child(5) {
    grid-column: span 3;
  }

  .platform-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --section-gap: 72px;
    --hero-width: min(100% - 20px, var(--site-width));
  }

  .site-header {
    min-height: 62px;
  }

  .site-nav {
    border-radius: 16px;
  }

  .brand-logo-wrap {
    width: 152px;
    height: 39px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 152px;
  }

  .hero-cinematic {
    padding-top: 28px;
  }

  .hero-cinematic .hero-grid {
    min-height: 700px;
    border-radius: 22px;
  }

  .hero-cinematic .hero-grid::before {
    inset: 10px;
    border-radius: 16px;
  }

  .hero-cinematic .hero-copy {
    padding: 28px 20px 0;
  }

  .hero-cinematic h1 {
    font-size: clamp(2.68rem, 10.8vw, 3.55rem);
    line-height: 0.97;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-insights {
    margin-top: 22px;
  }

  .hero-asset-slot {
    background-position: 58% center;
  }

  .feature-strip {
    margin-top: 18px;
    padding-bottom: var(--section-gap);
  }

  .feature-strip .section-inner {
    width: var(--hero-width);
  }

  .product-grid-summary,
  .product-summary-card,
  .product-summary-card:nth-child(2),
  .product-summary-card:nth-child(5) {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .product-summary-card {
    min-height: auto;
  }

  .spotlight-card-primary,
  .product-asset-slot,
  .platform-preview-asset,
  .system-detail-asset {
    min-height: 240px;
  }

  .flow-list-compact .flow-step,
  .why-card,
  .step-list li,
  .system-detail-card,
  .system-detail-featured,
  .platform-model-rail article,
  .platform-deep-panel {
    min-height: auto;
  }

  .page-hero-grid {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero-cinematic .hero-grid {
    min-height: 680px;
  }

  .hero-cinematic h1 {
    font-size: clamp(2.36rem, 10.2vw, 3.1rem);
  }

  .hero-asset-slot .hero-visual-caption {
    display: none;
  }

  .product-summary-card,
  .spotlight-card,
  .why-card,
  .flow-step,
  .systems-ecosystem-grid article,
  .platform-model-rail article {
    padding: 22px;
  }
}

/* High-fidelity premium convergence pass: dense cinematic IA close to the approved concept. */
:root {
  --site-width: 1360px;
  --hero-width: min(1460px, calc(100% - 32px));
  --section-gap: clamp(90px, 8vw, 132px);
  --premium-panel:
    linear-gradient(145deg, rgba(0, 230, 255, 0.075), transparent 32%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.08), transparent 38%),
    rgba(7, 17, 31, 0.78);
  --premium-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.018)),
    rgba(10, 20, 36, 0.76);
  --premium-card-hover:
    radial-gradient(circle at 85% 12%, rgba(0, 230, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(13, 27, 46, 0.86);
  --premium-border: rgba(255, 255, 255, 0.12);
  --premium-border-hot: rgba(0, 230, 255, 0.28);
  --premium-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] {
  --premium-panel:
    linear-gradient(145deg, rgba(0, 158, 194, 0.1), transparent 32%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.09), transparent 38%),
    rgba(255, 255, 255, 0.8);
  --premium-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.62)),
    rgba(248, 251, 255, 0.88);
  --premium-card-hover:
    radial-gradient(circle at 85% 12%, rgba(0, 158, 194, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 252, 0.72)),
    rgba(255, 255, 255, 0.94);
  --premium-border: rgba(5, 17, 31, 0.13);
  --premium-border-hot: rgba(0, 158, 194, 0.26);
  --premium-shadow: 0 34px 80px rgba(23, 46, 77, 0.16);
}

body {
  background:
    linear-gradient(180deg, rgba(0, 230, 255, 0.045) 0%, transparent 22%),
    radial-gradient(circle at 72% 8%, rgba(0, 230, 255, 0.15), transparent 23%),
    radial-gradient(circle at 16% 12%, rgba(45, 124, 255, 0.14), transparent 26%),
    radial-gradient(circle at 78% 46%, rgba(124, 92, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #050d18 0%, #07111f 38%, #030813 100%);
}

html[data-theme="light"] body {
  background:
    linear-gradient(180deg, rgba(0, 158, 194, 0.055) 0%, transparent 22%),
    radial-gradient(circle at 72% 8%, rgba(0, 158, 194, 0.13), transparent 23%),
    radial-gradient(circle at 16% 12%, rgba(45, 124, 255, 0.11), transparent 26%),
    radial-gradient(circle at 78% 46%, rgba(111, 85, 242, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fc 42%, #e8eef8 100%);
}

.site-background {
  background:
    linear-gradient(120deg, rgba(0, 230, 255, 0.06), transparent 34%),
    linear-gradient(240deg, rgba(124, 92, 255, 0.07), transparent 34%),
    linear-gradient(180deg, transparent, rgba(3, 8, 19, 0.84) 82%);
}

html[data-theme="light"] .site-background {
  background:
    linear-gradient(120deg, rgba(0, 158, 194, 0.075), transparent 34%),
    linear-gradient(240deg, rgba(111, 85, 242, 0.065), transparent 34%),
    linear-gradient(180deg, transparent, rgba(248, 251, 255, 0.88) 82%);
}

body::before {
  background-size: 96px 96px;
  opacity: 0.52;
}

.section-inner {
  width: min(var(--site-width), calc(100% - 40px));
}

.section-band {
  padding-block: var(--section-gap);
}

.site-header {
  width: var(--hero-width);
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px 14px;
  border-color: rgba(0, 230, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(5, 13, 24, 0.78);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .site-header {
  border-color: rgba(0, 158, 194, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72)),
    rgba(248, 251, 255, 0.88);
}

.header-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 26px);
}

.brand-logo-wrap {
  width: clamp(190px, 13vw, 230px);
  height: 52px;
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(190px, 13vw, 230px);
}

.site-nav {
  justify-self: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.026);
}

html[data-theme="light"] .site-nav {
  border-color: rgba(5, 17, 31, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.46);
}

.site-nav a {
  min-height: 36px;
  padding: 8px 14px;
  color: var(--muted-strong);
  font-size: 0.89rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a:focus-visible {
  background: rgba(5, 17, 31, 0.055);
}

.theme-switch,
.language-switch {
  border-color: var(--premium-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--control-bg);
}

.button {
  min-height: 52px;
  padding-inline: 24px;
  border-color: var(--premium-border);
}

.button-primary {
  background:
    linear-gradient(135deg, #00e6ff 0%, #2d7cff 54%, #7c5cff 100%);
  box-shadow:
    0 20px 44px rgba(0, 230, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.036);
}

h1 {
  font-size: clamp(4.35rem, 5.5vw, 6.55rem);
  line-height: 0.91;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.45rem, 3.8vw, 4.25rem);
  line-height: 0.99;
  text-wrap: balance;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--cyan);
}

.hero-cinematic {
  padding-top: clamp(28px, 3.8vw, 56px);
  padding-bottom: 0;
}

.hero-cinematic .section-inner {
  width: var(--hero-width);
}

.hero-cinematic .hero-grid {
  position: relative;
  min-height: clamp(700px, 58vw, 820px);
  grid-template-columns: minmax(430px, 0.44fr) minmax(0, 0.56fr);
  gap: 0;
  isolation: isolate;
  border: 1px solid rgba(0, 230, 255, 0.22);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.99) 0%, rgba(7, 17, 31, 0.82) 43%, rgba(7, 17, 31, 0.18) 66%, transparent 100%),
    radial-gradient(circle at 68% 30%, rgba(0, 230, 255, 0.19), transparent 24%),
    radial-gradient(circle at 86% 66%, rgba(124, 92, 255, 0.14), transparent 25%),
    #050d18;
  box-shadow:
    0 46px 110px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(0, 230, 255, 0.055);
}

html[data-theme="light"] .hero-cinematic .hero-grid {
  border-color: rgba(0, 158, 194, 0.2);
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.84) 43%, rgba(248, 251, 255, 0.2) 66%, transparent 100%),
    radial-gradient(circle at 68% 30%, rgba(0, 158, 194, 0.14), transparent 24%),
    radial-gradient(circle at 86% 66%, rgba(111, 85, 242, 0.11), transparent 25%),
    #f8fbff;
}

.hero-cinematic .hero-grid::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 26px;
}

html[data-theme="light"] .hero-cinematic .hero-grid::before {
  border-color: rgba(5, 17, 31, 0.07);
}

.hero-cinematic .hero-grid::after {
  z-index: 1;
  opacity: 0.34;
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

.hero-cinematic .hero-copy {
  z-index: 4;
  max-width: 680px;
  padding: clamp(48px, 6vw, 92px) clamp(32px, 5vw, 78px);
}

.hero-cinematic .hero-copy::before {
  inset: 0 -210px 0 -2px;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.98) 0%, rgba(5, 13, 24, 0.84) 54%, transparent 100%);
}

html[data-theme="light"] .hero-cinematic .hero-copy::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.82) 54%, transparent 100%);
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.hero-kicker-row span,
.hero-insights span,
.capability-rail-inner span,
.product-meta,
.asset-overlay-stack span,
.platform-core-notes span,
.systems-product-nav a {
  border: 1px solid var(--premium-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.032);
  backdrop-filter: blur(14px);
}

.hero-kicker-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 590px;
  font-size: clamp(1.08rem, 1.25vw, 1.23rem);
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 590px;
  margin-top: 22px;
}

.hero-proof-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.07), transparent 48%),
    rgba(255, 255, 255, 0.032);
}

html[data-theme="light"] .hero-proof-grid article {
  border-color: rgba(0, 158, 194, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), transparent 48%),
    rgba(255, 255, 255, 0.7);
}

.hero-proof-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.92rem;
}

.hero-proof-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-asset-slot {
  z-index: 0;
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero-asset-slot::after {
  z-index: 1;
  background:
    radial-gradient(circle at 66% 27%, rgba(0, 230, 255, 0.18), transparent 20%),
    radial-gradient(circle at 84% 65%, rgba(124, 92, 255, 0.14), transparent 23%),
    linear-gradient(90deg, rgba(5, 13, 24, 0.32), transparent 48%, rgba(3, 8, 19, 0.1)),
    linear-gradient(180deg, rgba(3, 8, 19, 0.02), rgba(3, 8, 19, 0.34));
}

html[data-theme="light"] .hero-asset-slot::after {
  background:
    radial-gradient(circle at 66% 27%, rgba(0, 158, 194, 0.13), transparent 20%),
    radial-gradient(circle at 84% 65%, rgba(111, 85, 242, 0.11), transparent 23%),
    linear-gradient(90deg, rgba(248, 251, 255, 0.28), transparent 48%, rgba(232, 241, 252, 0.14)),
    linear-gradient(180deg, rgba(248, 251, 255, 0.02), rgba(232, 241, 252, 0.24));
}

.hero-orbit-card {
  z-index: 5;
  border-radius: 14px;
}

.hero-orbit-card-top {
  top: 46px;
  left: 61%;
}

.hero-orbit-card-left {
  left: 49%;
  top: 37%;
}

.hero-orbit-card-right {
  right: 34px;
  top: 56%;
}

.hero-asset-slot .hero-visual-caption {
  z-index: 5;
  right: 34px;
  bottom: 34px;
  width: min(468px, calc(100% - 68px));
  min-height: 78px;
  border-radius: 18px;
}

.hero-data-panel {
  position: absolute;
  z-index: 5;
  right: 36px;
  top: 118px;
  display: grid;
  gap: 8px;
  width: min(210px, calc(100% - 72px));
}

.hero-data-panel span {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 12px;
  color: var(--muted-strong);
  background: rgba(5, 13, 24, 0.62);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 760;
}

html[data-theme="light"] .hero-data-panel span {
  background: rgba(255, 255, 255, 0.74);
}

.capability-rail {
  position: relative;
  z-index: 6;
  margin-top: -34px;
  padding: 0 0 24px;
}

.capability-rail-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: min(1240px, calc(100% - 48px));
  padding: 10px;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.08), transparent 36%, rgba(124, 92, 255, 0.065)),
    rgba(5, 13, 24, 0.8);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .capability-rail-inner {
  border-color: rgba(0, 158, 194, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.095), transparent 36%, rgba(111, 85, 242, 0.065)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 42px rgba(23, 46, 77, 0.13);
}

.capability-rail-inner span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 10px;
  border-radius: 14px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 760;
  text-align: center;
}

.feature-strip {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: var(--section-gap);
}

.feature-grid {
  width: min(1240px, calc(100% - 48px));
  border-color: rgba(0, 230, 255, 0.14);
  border-radius: 22px;
}

.feature-card {
  min-height: 192px;
  padding: 28px;
}

.feature-orb {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.feature-index {
  margin-bottom: 30px;
}

.systems.section-band,
.spotlight.section-band,
.architecture.section-band,
.platform.section-band,
.why.section-band,
.approach.section-band,
.about.section-band {
  padding-top: 0;
  padding-bottom: var(--section-gap);
}

.product-grid-summary {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.product-summary-card {
  grid-column: span 4;
  min-height: 334px;
  padding: 32px;
  border-color: var(--premium-border);
  border-radius: 20px;
  background: var(--premium-card);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.product-summary-card:nth-child(1) {
  grid-column: span 5;
}

.product-summary-card:nth-child(2) {
  grid-column: span 4;
}

.product-summary-card:nth-child(3) {
  grid-column: span 3;
}

.product-summary-card:nth-child(4) {
  grid-column: span 4;
}

.product-summary-card:nth-child(5) {
  grid-column: span 8;
}

.product-summary-card:hover,
.product-summary-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--premium-border-hot);
  background: var(--premium-card-hover);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] .product-summary-card:hover,
html[data-theme="light"] .product-summary-card:focus-visible {
  box-shadow: 0 28px 58px rgba(23, 46, 77, 0.14);
}

.product-topline {
  margin-bottom: 26px;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-color: rgba(0, 230, 255, 0.26);
  border-radius: 15px;
}

.product-label {
  max-width: 170px;
}

.product-card h3 {
  margin-top: 18px;
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
}

.product-card p {
  margin-bottom: 18px;
}

.product-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin-top: auto;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 740;
}

.product-card-link {
  padding-top: 18px;
}

.spotlight-panel,
.architecture-panel,
.platform-panel,
.about-panel,
.contact-grid,
.systems-ecosystem-panel,
.platform-model-panel,
.platform-deep-panel,
.page-hero-grid {
  border-color: rgba(0, 230, 255, 0.16);
  border-radius: 30px;
  box-shadow: var(--premium-shadow);
}

html[data-theme="light"] .spotlight-panel,
html[data-theme="light"] .architecture-panel,
html[data-theme="light"] .platform-panel,
html[data-theme="light"] .about-panel,
html[data-theme="light"] .contact-grid,
html[data-theme="light"] .systems-ecosystem-panel,
html[data-theme="light"] .platform-model-panel,
html[data-theme="light"] .platform-deep-panel,
html[data-theme="light"] .page-hero-grid {
  border-color: rgba(0, 158, 194, 0.17);
}

.spotlight-panel {
  padding: clamp(38px, 5.4vw, 76px);
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 230, 255, 0.14), transparent 26%),
    radial-gradient(circle at 15% 86%, rgba(124, 92, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(10, 20, 36, 0.68));
}

html[data-theme="light"] .spotlight-panel {
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 158, 194, 0.12), transparent 26%),
    radial-gradient(circle at 15% 86%, rgba(111, 85, 242, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 252, 0.68));
}

.spotlight-showcase {
  grid-template-columns: minmax(330px, 0.44fr) minmax(0, 0.76fr);
  gap: 24px;
}

.spotlight-card {
  padding: 30px;
  border-color: var(--premium-border);
  border-radius: 20px;
  background: var(--premium-card);
}

.spotlight-card-primary,
.product-asset-slot {
  min-height: clamp(440px, 40vw, 560px);
}

.spotlight-checks span {
  border-color: var(--premium-border);
  border-radius: 14px;
}

.product-asset-slot,
.compact-asset-slot,
.platform-preview-asset,
.page-hero-visual,
.system-detail-asset,
.platform-orbit {
  border-color: rgba(0, 230, 255, 0.22);
  border-radius: 22px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

html[data-theme="light"] .product-asset-slot,
html[data-theme="light"] .compact-asset-slot,
html[data-theme="light"] .platform-preview-asset,
html[data-theme="light"] .page-hero-visual,
html[data-theme="light"] .system-detail-asset,
html[data-theme="light"] .platform-orbit {
  border-color: rgba(0, 158, 194, 0.19);
  box-shadow:
    0 24px 54px rgba(23, 46, 77, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.asset-overlay-stack {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: calc(100% - 40px);
}

.asset-overlay-stack span {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 760;
}

.spotlight-grid {
  gap: 24px;
  margin-top: 24px;
}

.compact-asset-slot {
  min-height: 168px;
  margin-bottom: 24px;
}

.architecture-panel {
  padding: clamp(38px, 5.4vw, 76px);
  background: var(--premium-panel);
}

.ecosystem-chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 28px;
}

.ecosystem-chain a {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--premium-border);
  border-radius: 18px;
  background: var(--premium-card);
}

.ecosystem-chain a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  z-index: 2;
  width: 12px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.ecosystem-chain span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.ecosystem-chain strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.18;
}

.ecosystem-map {
  min-height: clamp(400px, 38vw, 530px);
  margin-block: 26px 22px;
  border-color: rgba(0, 230, 255, 0.16);
  border-radius: 24px;
}

.ecosystem-center {
  width: 230px;
  min-height: 124px;
}

.ecosystem-node {
  min-height: 52px;
  border-color: rgba(0, 230, 255, 0.16);
}

.ia-flow {
  gap: 10px;
  margin-top: 24px;
}

.ia-flow span {
  min-height: 60px;
  border-radius: 14px;
  background: var(--premium-card);
}

.flow-list-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.flow-list-compact .flow-step {
  min-height: 224px;
}

.platform-panel {
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.76fr);
  gap: 30px;
  padding: clamp(36px, 5vw, 66px);
  background: var(--premium-panel);
}

.platform-preview-asset {
  min-height: clamp(360px, 32vw, 460px);
}

.platform-core-notes {
  position: absolute;
  inset: auto 20px 20px 20px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-core-notes span {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 760;
}

.why-grid-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.why-grid-compact .why-card {
  grid-column: span 2;
}

.why-grid-compact .why-card-wide {
  grid-column: span 3;
}

.why-card {
  min-height: 260px;
  padding: 32px;
  border-color: var(--premium-border);
  border-radius: 20px;
  background: var(--premium-card);
}

.why-icon {
  width: 42px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.step-list {
  gap: 16px;
}

.step-list li {
  min-height: 232px;
  padding: 28px;
  border-color: var(--premium-border);
  border-radius: 20px;
  background: var(--premium-card);
}

.about-panel {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.78fr);
  min-height: 430px;
  padding: clamp(36px, 5vw, 66px);
  background: var(--premium-panel);
}

.about-panel::before {
  right: 38px;
  top: 38px;
  width: 150px;
  height: 150px;
  border-color: rgba(0, 230, 255, 0.13);
  opacity: 0.42;
}

.credibility-list article {
  border-color: var(--premium-border);
  border-radius: 16px;
  background: var(--premium-card);
}

.contact.section-band {
  padding-top: 0;
  padding-bottom: clamp(70px, 8vw, 110px);
}

.contact-grid {
  min-height: 330px;
  padding: clamp(36px, 5vw, 66px);
  background:
    radial-gradient(circle at 82% 36%, rgba(0, 230, 255, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.1), rgba(124, 92, 255, 0.11)),
    rgba(7, 17, 31, 0.82);
}

html[data-theme="light"] .contact-grid {
  background:
    radial-gradient(circle at 82% 36%, rgba(0, 158, 194, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.11), rgba(111, 85, 242, 0.1)),
    rgba(255, 255, 255, 0.84);
}

.tool-lab {
  border-block-color: rgba(0, 230, 255, 0.12);
}

.tool-control,
.tool-report-card,
.tool-brief-card {
  border-radius: 18px;
  background: var(--premium-card);
}

.site-footer {
  width: var(--hero-width);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  padding: 62px 0 42px;
}

.footer-columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}

.footer-column h2 {
  color: var(--muted-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
}

.page-hero-grid {
  width: var(--hero-width);
  min-height: clamp(580px, 47vw, 710px);
  padding: clamp(36px, 5.2vw, 72px);
  background:
    radial-gradient(circle at 74% 24%, rgba(0, 230, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(10, 20, 36, 0.68)),
    rgba(7, 17, 31, 0.8);
}

html[data-theme="light"] .page-hero-grid {
  background:
    radial-gradient(circle at 74% 24%, rgba(0, 158, 194, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 252, 0.68)),
    rgba(255, 255, 255, 0.82);
}

.page-hero-visual {
  min-height: clamp(390px, 34vw, 500px);
}

.systems-ecosystem-panel,
.platform-model-panel,
.platform-deep-panel {
  background: var(--premium-panel);
}

.systems-ecosystem-grid {
  gap: 18px;
}

.systems-ecosystem-grid article,
.platform-model-rail article,
.system-detail-card,
.platform-layer-grid article,
.principle-grid article {
  border-color: var(--premium-border);
  background: var(--premium-card);
}

.systems-product-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.systems-product-nav a {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 10px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 760;
  text-align: center;
}

.system-detail-card {
  min-height: 560px;
  border-radius: 24px;
}

.system-detail-featured {
  min-height: 720px;
}

.system-detail-asset {
  min-height: 340px;
}

.platform-orbit {
  min-height: 480px;
}

.platform-hero-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.1), rgba(124, 92, 255, 0.08)),
    rgba(5, 13, 24, 0.72);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .platform-hero-caption {
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), rgba(111, 85, 242, 0.08)),
    rgba(255, 255, 255, 0.78);
}

.platform-hero-caption strong {
  color: var(--text);
  font-family: var(--font-display);
}

.platform-hero-caption small {
  color: var(--muted);
  line-height: 1.45;
}

.platform-model-rail {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-model-rail article {
  min-height: 238px;
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-panel {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-cinematic .hero-grid {
    grid-template-columns: 1fr;
    min-height: 840px;
  }

  .hero-cinematic .hero-copy {
    max-width: 760px;
  }

  .hero-cinematic .hero-copy::before {
    inset: 0 -42px -150px -2px;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.98), rgba(5, 13, 24, 0.78) 64%, transparent);
  }

  html[data-theme="light"] .hero-cinematic .hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.78) 64%, transparent);
  }

  .hero-data-panel {
    top: auto;
    right: 30px;
    bottom: 130px;
  }

  .product-grid-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .product-summary-card,
  .product-summary-card:nth-child(1),
  .product-summary-card:nth-child(2),
  .product-summary-card:nth-child(3),
  .product-summary-card:nth-child(4),
  .product-summary-card:nth-child(5) {
    grid-column: span 3;
  }

  .spotlight-showcase,
  .platform-panel,
  .platform-model-panel {
    grid-template-columns: 1fr;
  }

  .ecosystem-chain,
  .flow-list-compact,
  .platform-model-rail,
  .platform-layer-grid,
  .principle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecosystem-chain a:nth-child(3)::after,
  .ecosystem-chain a:nth-child(6)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .capability-rail-inner,
  .feature-grid,
  .why-grid-compact,
  .footer-columns,
  .systems-product-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    border-width: 0 1px 1px 0;
  }

  .feature-card:nth-child(2n) {
    border-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .why-grid-compact .why-card,
  .why-grid-compact .why-card-wide {
    grid-column: auto;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --hero-width: min(100% - 20px, var(--site-width));
    --section-gap: 72px;
  }

  .section-inner,
  .site-footer {
    width: min(100% - 20px, var(--site-width));
  }

  .section-band {
    padding-block: 64px;
  }

  .site-header {
    width: var(--hero-width);
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px;
    border-radius: 18px;
  }

  .brand-logo-wrap {
    width: 152px;
    height: 40px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 152px;
  }

  .header-panel {
    grid-column: 1 / -1;
    padding-top: 8px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-nav a {
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--premium-border);
    border-radius: 14px;
    background: var(--control-bg);
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .theme-switch,
  .language-switch {
    width: 100%;
  }

  .theme-switch button,
  .language-switch button {
    flex: 1 1 0;
  }

  h1 {
    font-size: clamp(2.62rem, 10.8vw, 3.6rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.02rem, 8vw, 2.85rem);
    line-height: 1.03;
  }

  .hero-cinematic {
    padding-top: 28px;
  }

  .hero-cinematic .hero-grid {
    min-height: 760px;
    border-radius: 24px;
  }

  .hero-cinematic .hero-grid::before {
    inset: 10px;
    border-radius: 18px;
  }

  .hero-cinematic .hero-copy {
    padding: 30px 20px 0;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button,
  .section-actions .button,
  .contact-grid .button {
    width: 100%;
  }

  .hero-kicker-row {
    gap: 7px;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-data-panel,
  .hero-orbit-card,
  .hero-asset-slot .hero-visual-caption {
    display: none;
  }

  .hero-asset-slot {
    background-position: 58% center;
  }

  .capability-rail {
    margin-top: 18px;
    padding-bottom: 20px;
  }

  .capability-rail-inner,
  .feature-grid,
  .product-grid-summary,
  .ecosystem-chain,
  .flow-list-compact,
  .why-grid-compact,
  .step-list,
  .systems-ecosystem-grid,
  .systems-detail-grid,
  .detail-columns,
  .platform-model-rail,
  .platform-layer-grid,
  .principle-grid,
  .systems-product-nav,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .capability-rail-inner,
  .feature-grid {
    width: var(--hero-width);
  }

  .feature-card {
    min-height: auto;
    border-width: 0 0 1px;
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .product-summary-card,
  .product-summary-card:nth-child(1),
  .product-summary-card:nth-child(2),
  .product-summary-card:nth-child(3),
  .product-summary-card:nth-child(4),
  .product-summary-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
  }

  .spotlight-panel,
  .architecture-panel,
  .platform-panel,
  .about-panel,
  .contact-grid,
  .page-hero-grid,
  .systems-ecosystem-panel,
  .platform-model-panel,
  .platform-deep-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .spotlight-showcase,
  .spotlight-grid,
  .platform-grid,
  .about-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-card-primary,
  .product-asset-slot,
  .platform-preview-asset,
  .page-hero-visual,
  .system-detail-asset,
  .platform-orbit {
    min-height: 260px;
  }

  .ecosystem-chain a {
    min-height: auto;
  }

  .ecosystem-chain a::after {
    display: none;
  }

  .ecosystem-map {
    display: grid;
    min-height: auto;
    gap: 10px;
    padding: 16px;
  }

  .ecosystem-map::before,
  .ecosystem-map::after {
    display: none;
  }

  .ecosystem-center,
  .ecosystem-node,
  .ecosystem-node-a,
  .ecosystem-node-b,
  .ecosystem-node-c,
  .ecosystem-node-d,
  .ecosystem-node-e {
    position: static;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .ia-flow {
    grid-template-columns: 1fr;
  }

  .ia-flow span:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -10px;
    width: 1px;
    height: 10px;
  }

  .system-detail-card,
  .system-detail-featured,
  .platform-model-rail article,
  .platform-deep-panel,
  .step-list li,
  .why-card {
    min-height: auto;
  }

  .platform-hero-caption {
    display: none;
  }

  .site-footer {
    gap: 30px;
    padding-top: 48px;
  }
}

@media (max-width: 480px) {
  .brand-logo-wrap {
    width: 144px;
    height: 38px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 144px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero-cinematic .hero-grid {
    min-height: 710px;
  }

  .hero-cinematic .hero-copy {
    padding-inline: 18px;
  }

  .hero-kicker-row span {
    font-size: 0.72rem;
  }

  .product-summary-card,
  .spotlight-card,
  .why-card,
  .flow-step,
  .systems-ecosystem-grid article,
  .platform-model-rail article,
  .system-detail-card {
    padding: 22px;
  }

  .asset-overlay-stack,
  .platform-core-notes {
    display: none;
  }
}

/* Strict reference alignment: simpler premium hero, no invented labels, denser first screen. */
:root {
  --hero-width: min(1400px, calc(100% - 32px));
  --site-width: 1280px;
  --section-gap: clamp(76px, 7vw, 112px);
}

.site-header {
  min-height: 64px;
  padding: 9px 12px;
  border-radius: 18px;
}

.brand-logo-wrap {
  width: clamp(150px, 11vw, 178px);
  height: 42px;
  overflow: hidden;
  border-radius: 10px;
}

.brand-logo {
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.brand-logo-dark {
  mix-blend-mode: screen;
}

html[data-theme="light"] .brand-logo-light {
  mix-blend-mode: multiply;
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(150px, 11vw, 178px);
}

.site-nav {
  padding: 4px;
}

.site-nav a {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 0.87rem;
}

.theme-switch,
.language-switch {
  min-height: 36px;
  padding: 3px;
}

.theme-switch button,
.language-switch button {
  min-height: 30px;
  min-width: 38px;
}

.button-small {
  min-height: 38px;
}

.hero-cinematic {
  padding-top: clamp(22px, 3.2vw, 42px);
}

.hero-cinematic .hero-grid {
  min-height: clamp(520px, 42vw, 610px);
  grid-template-columns: minmax(390px, 0.42fr) minmax(0, 0.58fr);
  border-radius: 28px;
}

.hero-cinematic .hero-grid::before {
  inset: 14px;
  border-radius: 21px;
}

.hero-cinematic .hero-copy {
  max-width: 610px;
  padding: clamp(38px, 4.9vw, 66px) clamp(30px, 4.3vw, 62px);
}

.hero-cinematic .hero-copy::before {
  inset: 0 -150px 0 -2px;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.98) 0%, rgba(5, 13, 24, 0.83) 55%, rgba(5, 13, 24, 0.04) 100%);
}

html[data-theme="light"] .hero-cinematic .hero-copy::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.84) 55%, rgba(248, 251, 255, 0.06) 100%);
}

.hero-cinematic h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(3.65rem, 4.9vw, 5.2rem);
  line-height: 0.94;
}

.hero-text {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.1vw, 1.16rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 28px;
}

.hero-asset-slot {
  background-position: center right;
  transform: none;
}

.hero-asset-slot::after {
  background:
    radial-gradient(circle at 68% 30%, rgba(0, 230, 255, 0.12), transparent 22%),
    radial-gradient(circle at 84% 64%, rgba(124, 92, 255, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(5, 13, 24, 0.28), transparent 48%, rgba(3, 8, 19, 0.05)),
    linear-gradient(180deg, transparent, rgba(3, 8, 19, 0.22));
}

html[data-theme="light"] .hero-asset-slot::after {
  background:
    radial-gradient(circle at 68% 30%, rgba(0, 158, 194, 0.09), transparent 22%),
    radial-gradient(circle at 84% 64%, rgba(111, 85, 242, 0.06), transparent 24%),
    linear-gradient(90deg, rgba(248, 251, 255, 0.22), transparent 48%, rgba(232, 241, 252, 0.06)),
    linear-gradient(180deg, transparent, rgba(232, 241, 252, 0.14));
}

.hero-kicker-row,
.hero-insights,
.hero-proof-grid,
.hero-orbit-card,
.hero-data-panel,
.hero-asset-slot .hero-visual-caption {
  display: none !important;
}

.feature-strip {
  margin-top: -26px;
  padding-top: 0;
  padding-bottom: var(--section-gap);
}

.feature-strip .section-inner,
.feature-grid {
  width: min(1180px, calc(100% - 48px));
}

.feature-grid {
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.08), transparent 34%, rgba(124, 92, 255, 0.055)),
    rgba(7, 17, 31, 0.82);
}

html[data-theme="light"] .feature-grid {
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.09), transparent 34%, rgba(111, 85, 242, 0.055)),
    rgba(255, 255, 255, 0.88);
}

.feature-card {
  min-height: 142px;
  padding: 22px;
}

.feature-index {
  margin-bottom: 16px;
}

.feature-card h2 {
  font-size: 1rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-orb {
  width: 28px;
}

.product-summary-card {
  min-height: 254px;
  padding: 26px;
}

.product-topline {
  margin-bottom: 18px;
}

.product-icon {
  width: 44px;
  height: 44px;
}

.product-card h3 {
  margin-top: 10px;
  font-size: clamp(1.24rem, 1.55vw, 1.48rem);
}

.product-card p {
  font-size: 0.95rem;
  line-height: 1.58;
}

.product-meta {
  min-height: 30px;
  font-size: 0.76rem;
}

.systems.section-band,
.spotlight.section-band,
.architecture.section-band,
.platform.section-band,
.why.section-band,
.approach.section-band,
.about.section-band {
  padding-bottom: var(--section-gap);
}

.spotlight-panel,
.architecture-panel,
.platform-panel,
.about-panel,
.contact-grid,
.systems-ecosystem-panel,
.platform-model-panel,
.platform-deep-panel {
  border-radius: 24px;
}

.spotlight-panel,
.architecture-panel,
.platform-panel,
.about-panel,
.contact-grid {
  padding: clamp(30px, 4.4vw, 54px);
}

.spotlight-card-primary,
.product-asset-slot {
  min-height: clamp(330px, 32vw, 430px);
}

.platform-preview-asset {
  min-height: clamp(300px, 28vw, 380px);
}

.why-card,
.flow-list-compact .flow-step,
.step-list li {
  min-height: 190px;
}

.site-footer {
  width: min(var(--site-width), calc(100% - 32px));
}

@media (max-width: 1220px) {
  .hero-cinematic .hero-grid {
    min-height: 680px;
    grid-template-columns: 1fr;
  }

  .hero-cinematic .hero-copy::before {
    inset: 0 -32px -96px -2px;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.98), rgba(5, 13, 24, 0.8) 62%, transparent);
  }

  html[data-theme="light"] .hero-cinematic .hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.82) 62%, transparent);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 60px;
  }

  .brand-logo-wrap {
    width: 142px;
    height: 36px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 142px;
  }

  .hero-cinematic {
    padding-top: 24px;
  }

  .hero-cinematic .hero-grid {
    min-height: 590px;
    border-radius: 22px;
  }

  .hero-cinematic .hero-grid::before {
    inset: 10px;
    border-radius: 16px;
  }

  .hero-cinematic .hero-copy {
    padding: 28px 20px 0;
  }

  .hero-cinematic h1 {
    font-size: clamp(2.42rem, 10.4vw, 3.18rem);
    line-height: 1;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-asset-slot {
    background-position: 60% center;
  }

  .feature-strip {
    margin-top: 14px;
  }

  .feature-strip .section-inner,
  .feature-grid {
    width: var(--hero-width);
  }

  .feature-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .brand-logo-wrap {
    width: 136px;
    height: 35px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 136px;
  }

  .hero-cinematic .hero-grid {
    min-height: 570px;
  }

  .hero-cinematic .hero-copy {
    padding-inline: 18px;
  }
}

/* Homepage rebuild: clean premium structure, scoped away from earlier layout experiments. */
:root {
  --pb-page-max: 1440px;
  --pb-content-max: 1280px;
  --pb-page-pad: clamp(16px, 2.2vw, 28px);
  --pb-gap: clamp(72px, 7vw, 104px);
  --pb-panel:
    linear-gradient(135deg, rgba(0, 230, 255, 0.065), transparent 34%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.07), transparent 40%),
    rgba(7, 17, 31, 0.78);
  --pb-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(10, 20, 36, 0.76);
  --pb-line: rgba(255, 255, 255, 0.12);
  --pb-line-hot: rgba(0, 230, 255, 0.24);
  --pb-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

html[data-theme="light"] {
  --pb-panel:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), transparent 34%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.08), transparent 40%),
    rgba(255, 255, 255, 0.82);
  --pb-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.62)),
    rgba(248, 251, 255, 0.88);
  --pb-line: rgba(5, 17, 31, 0.13);
  --pb-line-hot: rgba(0, 158, 194, 0.24);
  --pb-shadow: 0 28px 68px rgba(23, 46, 77, 0.15);
}

body {
  background:
    radial-gradient(circle at 76% 6%, rgba(0, 230, 255, 0.13), transparent 24%),
    radial-gradient(circle at 18% 14%, rgba(45, 124, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #050d18 0%, #07111f 42%, #030813 100%);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 76% 6%, rgba(0, 158, 194, 0.12), transparent 24%),
    radial-gradient(circle at 18% 14%, rgba(45, 124, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fc 46%, #e8eef8 100%);
}

.site-header {
  width: min(var(--pb-page-max), calc(100% - (var(--pb-page-pad) * 2)));
  min-height: 72px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid var(--pb-line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(5, 13, 24, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.66)),
    rgba(248, 251, 255, 0.84);
  box-shadow: 0 20px 48px rgba(23, 46, 77, 0.12);
}

.site-header::before {
  display: none;
}

.brand-logo-wrap {
  width: clamp(176px, 13vw, 214px);
  height: 48px;
  border-radius: 0;
  background: transparent;
}

.brand-logo {
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

.brand-logo-dark {
  mix-blend-mode: screen;
}

html[data-theme="light"] .brand-logo-light {
  mix-blend-mode: multiply;
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(176px, 13vw, 214px);
}

.site-nav {
  justify-self: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .site-nav {
  border-color: rgba(5, 17, 31, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.site-nav a {
  min-height: 34px;
  padding: 7px 13px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.theme-switch,
.language-switch {
  min-height: 38px;
  padding: 3px;
}

.theme-switch button,
.language-switch button {
  min-height: 30px;
  min-width: 38px;
}

.button-small {
  min-height: 40px;
}

.pb-home {
  padding-top: clamp(28px, 3.2vw, 48px);
}

.pb-shell {
  width: min(var(--pb-page-max), calc(100% - (var(--pb-page-pad) * 2)));
  margin-inline: auto;
  min-width: 0;
}

.pb-section {
  padding-top: var(--pb-gap);
}

.pb-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  min-height: clamp(560px, 42vw, 660px);
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.98) 0%, rgba(7, 17, 31, 0.84) 42%, rgba(7, 17, 31, 0.24) 63%, transparent 100%),
    radial-gradient(circle at 72% 32%, rgba(0, 230, 255, 0.13), transparent 26%),
    #050d18;
  box-shadow: var(--pb-shadow);
  isolation: isolate;
}

html[data-theme="light"] .pb-hero-panel {
  border-color: rgba(0, 158, 194, 0.18);
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.84) 42%, rgba(248, 251, 255, 0.26) 63%, transparent 100%),
    radial-gradient(circle at 72% 32%, rgba(0, 158, 194, 0.11), transparent 26%),
    #f8fbff;
}

.pb-hero-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
}

html[data-theme="light"] .pb-hero-panel::before {
  border-color: rgba(5, 17, 31, 0.07);
}

.pb-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 74%);
}

.pb-hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  padding: clamp(42px, 5vw, 72px);
}

.pb-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 -150px 0 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 13, 24, 0.98), rgba(5, 13, 24, 0.72) 58%, transparent);
}

html[data-theme="light"] .pb-hero-copy::before {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.74) 58%, transparent);
}

.pb-hero-copy h1 {
  max-width: 540px;
  margin-bottom: 20px;
  font-size: clamp(4rem, 5vw, 5.25rem);
  line-height: 0.94;
}

.pb-hero-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  line-height: 1.64;
}

.pb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.pb-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 72% 30%, rgba(0, 230, 255, 0.12), transparent 22%),
    linear-gradient(90deg, rgba(5, 13, 24, 0.24), transparent 50%, rgba(3, 8, 19, 0.08)),
    url("assets/visuals/hero-mountain-dark.webp");
  background-position: center right;
  background-size: cover;
}

html[data-theme="light"] .pb-hero-art {
  background-image:
    radial-gradient(circle at 72% 30%, rgba(0, 158, 194, 0.09), transparent 22%),
    linear-gradient(90deg, rgba(248, 251, 255, 0.22), transparent 50%, rgba(232, 241, 252, 0.06)),
    url("assets/visuals/hero-mountain-light.webp");
}

.pb-value {
  padding-top: 16px;
}

.pb-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.08), transparent 35%, rgba(124, 92, 255, 0.06)),
    rgba(7, 17, 31, 0.8);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .pb-value-grid {
  border-color: rgba(0, 158, 194, 0.16);
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.09), transparent 35%, rgba(111, 85, 242, 0.06)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 42px rgba(23, 46, 77, 0.12);
}

.pb-value-grid article {
  min-height: 138px;
  padding: 24px;
  border-right: 1px solid var(--pb-line);
}

.pb-value-grid article:last-child {
  border-right: 0;
}

.pb-value-grid span,
.pb-tag,
.pb-chain span::before {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.pb-value-grid h2 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.pb-value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pb-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.pb-section-head h2,
.pb-panel h2,
.pb-cta-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 3.3vw, 3.6rem);
  line-height: 1;
}

.pb-section-head p:not(.eyebrow),
.pb-panel p,
.pb-cta-panel p {
  color: var(--muted);
  line-height: 1.66;
}

.pb-product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.pb-product-card,
.pb-spotlight-card,
.pb-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--pb-line);
  border-radius: 18px;
  background: var(--pb-card);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.pb-product-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 24px;
}

.pb-product-card-wide {
  grid-column: span 6;
}

.pb-product-card:hover,
.pb-product-card:focus-visible,
.pb-spotlight-card:hover,
.pb-spotlight-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--pb-line-hot);
}

.pb-tag {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 230, 255, 0.2);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.12), rgba(124, 92, 255, 0.09));
}

.pb-product-card h3,
.pb-spotlight-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.pb-product-card p,
.pb-spotlight-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.pb-product-card strong,
.pb-spotlight-card strong {
  display: inline-flex;
  margin-top: auto;
  padding-top: 22px;
  color: var(--cyan);
  font-size: 0.94rem;
}

.pb-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 18px;
}

.pb-spotlight-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 22px;
}

.pb-spotlight-card-large {
  min-height: 500px;
}

.pb-visual {
  display: block;
  min-height: 220px;
  margin: -6px -6px 20px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pb-spotlight-card-large .pb-visual {
  min-height: 278px;
}

.pb-visual-manai {
  background-image:
    linear-gradient(180deg, rgba(5, 13, 24, 0.06), rgba(5, 13, 24, 0.12)),
    url("assets/visuals/manai-builder-panel.webp");
}

.pb-visual-automator {
  background-image:
    linear-gradient(180deg, rgba(5, 13, 24, 0.08), rgba(5, 13, 24, 0.16)),
    url("assets/visuals/ai-automator-flow.webp");
}

.pb-visual-platform,
.pb-platform-image {
  background-image:
    linear-gradient(180deg, rgba(5, 13, 24, 0.08), rgba(5, 13, 24, 0.16)),
    url("assets/visuals/platform-core.webp");
}

html[data-theme="light"] .pb-visual-manai,
html[data-theme="light"] .pb-visual-automator,
html[data-theme="light"] .pb-visual-platform,
html[data-theme="light"] .pb-platform-image {
  filter: saturate(0.98) contrast(0.98);
}

.pb-connect-grid,
.pb-cred-grid {
  display: grid;
  gap: 18px;
}

.pb-connect-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.pb-panel {
  padding: clamp(26px, 3.6vw, 42px);
}

.pb-chain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.pb-chain span {
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--pb-line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 760;
}

html[data-theme="light"] .pb-chain span {
  background: rgba(255, 255, 255, 0.72);
}

.pb-platform-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(240px, 0.8fr);
  gap: 22px;
  align-items: center;
}

.pb-platform-image {
  display: block;
  min-height: 280px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 18px;
  background-position: center;
  background-size: cover;
}

.pb-cred-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pb-cred-grid .pb-panel {
  min-height: 300px;
}

.pb-mini-steps {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.pb-mini-steps li {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--pb-line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 740;
}

html[data-theme="light"] .pb-mini-steps li {
  background: rgba(255, 255, 255, 0.72);
}

.pb-final-cta {
  padding: var(--pb-gap) 0 clamp(60px, 7vw, 92px);
}

.pb-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 260px;
  padding: clamp(30px, 4.4vw, 56px);
  border: 1px solid rgba(0, 230, 255, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 36%, rgba(0, 230, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.08), rgba(124, 92, 255, 0.1)),
    rgba(7, 17, 31, 0.84);
  box-shadow: var(--pb-shadow);
}

html[data-theme="light"] .pb-cta-panel {
  background:
    radial-gradient(circle at 82% 36%, rgba(0, 158, 194, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), rgba(111, 85, 242, 0.08)),
    rgba(255, 255, 255, 0.86);
}

.pb-home + .site-footer,
.site-footer {
  width: min(var(--pb-page-max), calc(100% - (var(--pb-page-pad) * 2)));
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-panel {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .pb-hero-panel {
    grid-template-columns: 1fr;
    min-height: 700px;
  }

  .pb-hero-copy::before {
    inset: 0 -40px -120px 0;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.98), rgba(5, 13, 24, 0.78) 64%, transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.78) 64%, transparent);
  }

  .pb-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pb-product-card,
  .pb-product-card-wide {
    grid-column: span 3;
  }

  .pb-spotlight-grid,
  .pb-connect-grid,
  .pb-platform-card {
    grid-template-columns: 1fr;
  }

  .pb-platform-image {
    min-height: 320px;
  }
}

@media (max-width: 860px) {
  .pb-value-grid,
  .pb-cred-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pb-value-grid article {
    border-right: 1px solid var(--pb-line);
    border-bottom: 1px solid var(--pb-line);
  }

  .pb-value-grid article:nth-child(2n) {
    border-right: 0;
  }

  .pb-value-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pb-product-card,
  .pb-product-card-wide {
    grid-column: auto;
  }

  .pb-cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --pb-page-pad: 10px;
    --pb-gap: 64px;
  }

  .site-header {
    min-height: 60px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .brand-logo-wrap {
    width: 142px;
    height: 38px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 142px;
  }

  .header-panel {
    grid-column: 1 / -1;
    padding-top: 8px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-nav a {
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--pb-line);
    border-radius: 14px;
    background: var(--control-bg);
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .theme-switch,
  .language-switch {
    width: 100%;
  }

  .theme-switch button,
  .language-switch button {
    flex: 1 1 0;
  }

  .pb-home {
    padding-top: 24px;
  }

  .pb-hero-panel {
    min-height: 720px;
    border-radius: 22px;
  }

  .pb-hero-panel::before {
    inset: 10px;
    border-radius: 16px;
  }

  .pb-hero-copy {
    padding: 30px 20px 0;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2.58rem, 10.8vw, 3.35rem);
    line-height: 1;
  }

  .pb-hero-copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.58;
  }

  .pb-actions {
    display: grid;
    gap: 10px;
  }

  .pb-actions .button {
    width: 100%;
  }

  .pb-hero-art {
    background-position: 60% center;
  }

  .pb-value {
    padding-top: 14px;
  }

  .pb-value-grid,
  .pb-product-grid,
  .pb-cred-grid,
  .pb-chain {
    grid-template-columns: 1fr;
  }

  .pb-value-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--pb-line);
  }

  .pb-value-grid article:last-child {
    border-bottom: 0;
  }

  .pb-section-head {
    margin-bottom: 24px;
  }

  .pb-section-head h2,
  .pb-panel h2,
  .pb-cta-panel h2 {
    font-size: clamp(1.92rem, 7.5vw, 2.55rem);
  }

  .pb-product-card,
  .pb-spotlight-card,
  .pb-panel {
    padding: 22px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: auto;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual,
  .pb-platform-image {
    min-height: 220px;
  }

  .pb-cta-panel {
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .brand-logo-wrap {
    width: 136px;
    height: 36px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 136px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .pb-hero-panel {
    min-height: 690px;
  }
}

/* Premium responsive convergence pass: compact mobile, dense desktop. */
:root {
  --pb-gap: clamp(54px, 5vw, 82px);
}

.pb-section {
  padding-top: var(--pb-gap);
}

.pb-hero-panel {
  min-height: clamp(540px, 40vw, 625px);
}

.pb-hero-copy {
  padding: clamp(38px, 4.6vw, 64px);
}

.pb-hero-copy h1 {
  font-size: clamp(3.8rem, 4.55vw, 5rem);
}

.pb-value {
  padding-top: 14px;
}

.pb-product-card {
  min-height: 218px;
}

.pb-spotlight-card {
  min-height: 398px;
}

.pb-spotlight-card-large {
  min-height: 450px;
}

.pb-spotlight-card-large .pb-visual {
  min-height: 242px;
}

.pb-mobile-section-action {
  display: none;
}

.pb-mobile-section-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--pb-line-hot);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 230, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 760;
}

html[data-theme="light"] .pb-mobile-section-action a {
  background: rgba(0, 158, 194, 0.08);
}

@media (max-width: 760px) {
  :root {
    --pb-page-pad: 10px;
    --pb-gap: 42px;
  }

  body {
    overflow-x: clip;
  }

  .site-header {
    min-height: 56px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 8px;
    gap: 8px;
    border-radius: 17px;
  }

  .brand-logo-wrap {
    width: 136px;
    height: 35px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 136px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .header-panel {
    grid-column: 1 / -1;
    gap: 10px;
    padding-top: 6px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .site-nav a {
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--pb-line);
    border-radius: 12px;
    background: var(--control-bg);
    font-size: 0.86rem;
  }

  .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .theme-switch,
  .language-switch {
    width: 100%;
    min-height: 38px;
  }

  .theme-switch button,
  .language-switch button {
    flex: 1 1 0;
    min-height: 30px;
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .header-actions .button-small {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }

  .pb-home {
    padding-top: 16px;
  }

  .pb-shell {
    width: calc(100% - (var(--pb-page-pad) * 2));
  }

  .pb-hero-panel {
    display: block;
    min-height: clamp(610px, 158vw, 675px);
    border-radius: 22px;
  }

  .pb-hero-panel::before {
    inset: 10px;
    border-radius: 16px;
  }

  .pb-hero-panel::after {
    opacity: 0.2;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 78%);
  }

  .pb-hero-art {
    inset: auto 0 0 0;
    height: 55%;
    background-position: 62% 50%;
    background-size: cover;
  }

  .pb-hero-copy {
    justify-content: flex-start;
    max-width: none;
    min-height: 58%;
    padding: 26px 20px 0;
  }

  .pb-hero-copy::before {
    inset: 0 -10px -110px 0;
    background: linear-gradient(180deg, rgba(5, 13, 24, 0.99) 0%, rgba(5, 13, 24, 0.9) 68%, rgba(5, 13, 24, 0.18) 100%);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.9) 68%, rgba(248, 251, 255, 0.18) 100%);
  }

  .pb-hero-copy h1 {
    max-width: 10ch;
    margin-bottom: 14px;
    font-size: clamp(2.38rem, 10vw, 2.875rem);
    line-height: 0.98;
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .pb-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
  }

  .pb-actions .button {
    width: 100%;
    min-height: 46px;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .pb-value {
    padding-top: 12px;
  }

  .pb-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .pb-value-grid article {
    min-height: 112px;
    padding: 15px;
    border-right: 1px solid var(--pb-line);
    border-bottom: 1px solid var(--pb-line);
  }

  .pb-value-grid article:nth-child(2n) {
    border-right: 0;
  }

  .pb-value-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pb-value-grid h2 {
    margin: 9px 0 5px;
    font-size: 0.95rem;
  }

  .pb-value-grid p {
    font-size: 0.81rem;
    line-height: 1.43;
  }

  .pb-section-head {
    margin-bottom: 18px;
  }

  .pb-section-head h2,
  .pb-panel h2,
  .pb-cta-panel h2 {
    margin-bottom: 10px;
    font-size: clamp(1.72rem, 7.2vw, 2.18rem);
    line-height: 1.02;
  }

  .pb-section-head p:not(.eyebrow),
  .pb-panel p,
  .pb-cta-panel p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .pb-product-grid,
  .pb-spotlight-grid,
  .pb-cred-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--pb-page-pad) * -1);
    padding: 0 var(--pb-page-pad) 8px;
  }

  .pb-product-grid::-webkit-scrollbar,
  .pb-spotlight-grid::-webkit-scrollbar,
  .pb-cred-grid::-webkit-scrollbar,
  .pb-chain::-webkit-scrollbar {
    display: none;
  }

  .pb-product-card {
    flex: 0 0 min(78vw, 292px);
    min-height: 186px;
    padding: 17px;
    scroll-snap-align: start;
  }

  .pb-product-card-wide {
    flex-basis: min(82vw, 312px);
  }

  .pb-tag {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 11px;
    font-size: 0.7rem;
  }

  .pb-product-card h3,
  .pb-spotlight-card h3 {
    margin-bottom: 7px;
    font-size: 1.08rem;
  }

  .pb-product-card p,
  .pb-spotlight-card p {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .pb-product-card strong,
  .pb-spotlight-card strong {
    padding-top: 16px;
    font-size: 0.86rem;
  }

  .pb-mobile-section-action {
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    flex: 0 0 min(84vw, 328px);
    min-height: 350px;
    padding: 18px;
    scroll-snap-align: start;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 148px;
    margin: -4px -4px 14px;
    border-radius: 14px;
  }

  .pb-connect-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pb-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .pb-chain {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 16px -6px 0;
    padding: 0 6px 4px;
  }

  .pb-chain span {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 12px;
    scroll-snap-align: start;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .pb-platform-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pb-platform-image {
    min-height: 142px;
    border-radius: 14px;
  }

  .pb-cred-grid .pb-panel {
    flex: 0 0 min(84vw, 328px);
    min-height: 214px;
    scroll-snap-align: start;
  }

  .pb-mini-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  .pb-mini-steps li {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.8rem;
    text-align: center;
  }

  .tool-lab.section-band {
    padding-block: 48px;
  }

  .tool-brief-grid,
  .tool-layout {
    gap: 12px;
  }

  .pb-final-cta {
    padding: 44px 0 50px;
  }

  .pb-cta-panel {
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .site-footer {
    width: calc(100% - 20px);
    gap: 20px;
    padding: 34px 0 30px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .footer-column {
    gap: 7px;
  }

  .footer-column h2 {
    font-size: 0.74rem;
  }

  .footer-column a,
  .site-footer-copy,
  .copyright {
    font-size: 0.85rem;
  }
}

@media (max-width: 430px) {
  .pb-hero-panel {
    min-height: 650px;
  }

  .pb-hero-copy {
    padding: 24px 18px 0;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2.36rem, 10.4vw, 2.72rem);
  }

  .pb-product-card {
    flex-basis: 80vw;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large,
  .pb-cred-grid .pb-panel {
    flex-basis: 84vw;
  }
}

@media (max-width: 390px) {
  .pb-hero-panel {
    min-height: 640px;
  }

  .pb-actions {
    grid-template-columns: 1fr;
  }

  .pb-actions .button {
    min-height: 44px;
  }

  .pb-value-grid article {
    padding: 14px;
  }

  .pb-value-grid p {
    font-size: 0.78rem;
  }

  .pb-product-card {
    flex-basis: 82vw;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large,
  .pb-cred-grid .pb-panel {
    flex-basis: 86vw;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  :root {
    --pb-page-pad: 18px;
    --pb-gap: 54px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 36px);
    min-height: 62px;
    padding: 10px;
    gap: 10px;
    border-radius: 18px;
  }

  .brand-logo-wrap {
    width: 160px;
    height: 40px;
  }

  .site-header .brand {
    min-width: 160px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-panel {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 8px;
  }

  .site-header.is-menu-open .header-panel {
    display: grid;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .site-nav a {
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--pb-line);
    border-radius: 13px;
    background: var(--control-bg);
  }

  .header-actions {
    display: grid;
    grid-template-columns: auto auto minmax(160px, 1fr);
    gap: 9px;
    align-items: stretch;
    width: 100%;
  }

  .header-actions .button-small {
    width: 100%;
    min-width: 0;
  }

  .pb-hero-panel {
    min-height: 610px;
  }

  .pb-product-card {
    min-height: 198px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 380px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 190px;
  }
}

/* Compact premium board pass: homepage should read as a dense SaaS board, not a hero-only landing page. */
:root {
  --pb-page-max: 1500px;
  --pb-content-max: 1320px;
  --pb-page-pad: clamp(18px, 2.2vw, 28px);
  --pb-gap: clamp(30px, 3vw, 44px);
}

.site-header {
  width: min(var(--pb-page-max), calc(100% - 36px));
  min-height: 64px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.brand-logo-wrap {
  width: clamp(142px, 10.4vw, 166px);
  height: 36px;
}

.brand-logo {
  filter: drop-shadow(0 5px 11px rgba(0, 0, 0, 0.16));
}

.site-header .brand,
.site-footer .brand {
  min-width: clamp(142px, 10.4vw, 166px);
}

.site-nav {
  padding: 3px;
}

.site-nav a {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 0.86rem;
}

.theme-switch,
.language-switch {
  min-height: 36px;
  padding: 3px;
}

.theme-switch button,
.language-switch button {
  min-height: 28px;
  min-width: 36px;
  padding-inline: 10px;
  font-size: 0.82rem;
}

.button-small {
  min-height: 38px;
  padding-inline: 16px;
}

.pb-home {
  padding-top: 18px;
}

.pb-section {
  padding-top: var(--pb-gap);
}

@media (min-width: 981px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .header-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding-top: 0;
  }

  .site-nav {
    justify-self: center;
    overflow: visible;
  }

  .header-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

.pb-hero-panel {
  height: clamp(430px, 31vw, 495px);
  min-height: 0;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  border-radius: 24px;
}

.pb-hero-panel::before {
  inset: 12px;
  border-radius: 18px;
}

.pb-hero-copy {
  max-width: 510px;
  padding: clamp(30px, 3.4vw, 48px);
}

.pb-hero-copy::before {
  inset: 0 -130px 0 0;
  background: linear-gradient(90deg, rgba(5, 13, 24, 0.99), rgba(5, 13, 24, 0.76) 58%, transparent);
}

html[data-theme="light"] .pb-hero-copy::before {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.78) 58%, transparent);
}

.pb-hero-copy h1 {
  max-width: 11ch;
  margin-bottom: 14px;
  font-size: clamp(3rem, 3.65vw, 3.62rem);
  line-height: 0.95;
}

.pb-hero-copy p:not(.eyebrow) {
  max-width: 420px;
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.55;
}

.pb-actions {
  gap: 10px;
  margin-top: 22px;
}

.pb-actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

.pb-value {
  padding-top: 10px;
}

.pb-value-grid {
  border-radius: 18px;
}

.pb-value-grid article {
  min-height: 112px;
  padding: 18px 20px;
}

.pb-value-grid h2 {
  margin: 10px 0 6px;
  font-size: 0.98rem;
}

.pb-value-grid p {
  font-size: 0.85rem;
  line-height: 1.45;
}

.pb-section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: 18px;
  align-items: end;
  max-width: none;
  margin-bottom: 18px;
}

.pb-section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.pb-section-head h2,
.pb-panel h2,
.pb-cta-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.72rem, 2.05vw, 2.45rem);
  line-height: 1.03;
}

.pb-section-head p:not(.eyebrow) {
  margin: 0;
  max-width: 700px;
  font-size: 0.94rem;
  line-height: 1.52;
}

.pb-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pb-product-card,
.pb-product-card-wide {
  grid-column: auto;
}

.pb-product-card {
  min-height: 176px;
  padding: 18px;
  border-radius: 16px;
}

.pb-tag {
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border-radius: 10px;
  font-size: 0.68rem;
}

.pb-product-card h3,
.pb-spotlight-card h3 {
  margin-bottom: 7px;
  font-size: 1.04rem;
}

.pb-product-card p,
.pb-spotlight-card p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.pb-product-card strong,
.pb-spotlight-card strong {
  padding-top: 14px;
  font-size: 0.84rem;
}

.pb-spotlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pb-spotlight-card,
.pb-spotlight-card-large {
  min-height: 276px;
  padding: 16px;
  border-radius: 16px;
}

.pb-visual,
.pb-spotlight-card-large .pb-visual {
  min-height: 128px;
  margin: -2px -2px 13px;
  border-radius: 13px;
}

.chip {
  min-height: 28px;
  padding: 6px 10px;
  font-size: 0.72rem;
}

.pb-connect-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.pb-panel {
  padding: 22px;
  border-radius: 16px;
}

.pb-panel p,
.pb-cta-panel p {
  font-size: 0.94rem;
  line-height: 1.55;
}

.pb-chain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.pb-chain span {
  min-height: 38px;
  padding: 9px 11px;
  font-size: 0.78rem;
}

.pb-platform-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(180px, 0.62fr);
  gap: 16px;
}

.pb-platform-image {
  min-height: 170px;
  border-radius: 14px;
}

.pb-cred-grid {
  gap: 12px;
}

.pb-cred-grid .pb-panel {
  min-height: 214px;
}

.pb-mini-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

.pb-mini-steps li {
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.8rem;
}

.tool-lab.section-band {
  padding-block: 54px;
}

.pb-final-cta {
  padding: var(--pb-gap) 0 54px;
}

.pb-cta-panel {
  min-height: 180px;
  padding: 28px;
  border-radius: 20px;
}

.site-footer {
  width: min(var(--pb-page-max), calc(100% - 36px));
  padding: 36px 0 32px;
  gap: 24px;
}

.footer-columns {
  gap: 18px;
}

.footer-column {
  gap: 7px;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .pb-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pb-product-card {
    min-height: 190px;
    padding: 15px;
  }

  .pb-product-card p {
    font-size: 0.82rem;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  :root {
    --pb-page-pad: 16px;
    --pb-gap: 34px;
  }

  .site-header {
    min-height: 60px;
  }

  .pb-home {
    padding-top: 16px;
  }

  .pb-hero-panel {
    height: 520px;
    min-height: 0;
    border-radius: 22px;
  }

  .pb-hero-copy {
    padding: 34px 36px;
  }

  .pb-hero-copy h1 {
    font-size: clamp(3rem, 6vw, 3.6rem);
  }

  .pb-value-grid article {
    min-height: 112px;
    padding: 17px;
  }

  .pb-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pb-section-head .eyebrow {
    margin-bottom: 0;
  }

  .pb-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .pb-product-card,
  .pb-product-card-wide {
    grid-column: auto;
    min-height: 172px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 288px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 132px;
  }

  .pb-connect-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --pb-page-pad: 10px;
    --pb-gap: 34px;
  }

  .site-header {
    min-height: 56px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .brand-logo-wrap {
    width: 126px;
    height: 32px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 126px;
  }

  .pb-home {
    padding-top: 14px;
  }

  .pb-hero-panel {
    height: clamp(565px, 148vw, 610px);
    min-height: 0;
    border-radius: 20px;
  }

  .pb-hero-panel::before {
    inset: 9px;
    border-radius: 14px;
  }

  .pb-hero-art {
    height: 50%;
    background-position: 62% 52%;
  }

  .pb-hero-copy {
    min-height: 56%;
    padding: 22px 18px 0;
  }

  .pb-hero-copy h1 {
    max-width: 11ch;
    margin-bottom: 12px;
    font-size: clamp(2.12rem, 9.3vw, 2.5rem);
  }

  .pb-hero-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .pb-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .pb-actions .button {
    min-height: 42px;
    padding-inline: 8px;
    font-size: 0.84rem;
  }

  .pb-value {
    padding-top: 9px;
  }

  .pb-value-grid article {
    min-height: 98px;
    padding: 13px;
  }

  .pb-value-grid h2 {
    margin: 7px 0 4px;
    font-size: 0.88rem;
  }

  .pb-value-grid p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .pb-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .pb-section-head .eyebrow {
    margin-bottom: 0;
  }

  .pb-section-head h2,
  .pb-panel h2,
  .pb-cta-panel h2 {
    font-size: clamp(1.5rem, 6.4vw, 1.95rem);
  }

  .pb-section-head p:not(.eyebrow),
  .pb-panel p,
  .pb-cta-panel p {
    font-size: 0.88rem;
  }

  .pb-product-card {
    flex-basis: min(76vw, 278px);
    min-height: 164px;
    padding: 15px;
  }

  .pb-product-card-wide {
    flex-basis: min(78vw, 292px);
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    flex-basis: min(82vw, 312px);
    min-height: 292px;
    padding: 15px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 118px;
  }

  .pb-platform-image {
    min-height: 126px;
  }

  .pb-cred-grid .pb-panel {
    flex-basis: min(82vw, 312px);
    min-height: 188px;
  }

  .pb-panel {
    padding: 16px;
  }

  .pb-final-cta {
    padding: 34px 0 42px;
  }
}

@media (max-width: 430px) {
  .pb-hero-panel {
    height: 595px;
    min-height: 0;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2.08rem, 9.2vw, 2.36rem);
  }

  .pb-product-card {
    flex-basis: 78vw;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large,
  .pb-cred-grid .pb-panel {
    flex-basis: 82vw;
  }
}

@media (max-width: 390px) {
  .pb-hero-panel {
    height: 585px;
    min-height: 0;
  }

  .pb-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pb-actions .button {
    min-height: 40px;
    font-size: 0.8rem;
  }
}

/* Final desktop density nudge: expose the next product band in the first screen. */
@media (min-width: 981px) {
  :root {
    --pb-gap: clamp(26px, 2.5vw, 36px);
  }

  .pb-home {
    padding-top: 16px;
  }

  .pb-hero-panel {
    height: clamp(430px, 29vw, 465px);
  }

  .pb-hero-copy {
    padding: clamp(28px, 3vw, 42px);
  }

  .pb-hero-copy h1 {
    font-size: clamp(2.9rem, 3.45vw, 3.48rem);
  }

  .pb-value-grid article {
    min-height: 104px;
    padding-block: 16px;
  }

  .pb-section-head {
    margin-bottom: 14px;
  }

  .pb-section-head h2,
  .pb-panel h2,
  .pb-cta-panel h2 {
    font-size: clamp(1.62rem, 1.9vw, 2.18rem);
  }

  .pb-section-head p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.46;
  }

  .pb-product-card {
    min-height: 170px;
    padding: 16px;
  }

  .pb-product-card p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .pb-product-card strong {
    padding-top: 12px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 260px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 118px;
  }
}

/* Strict refinement pass: tighter overview, calmer hero, cleaner platform artwork, RO fit. */
@media (min-width: 981px) {
  .site-header {
    width: min(1480px, calc(100% - 36px));
    border-radius: 16px;
  }

  .brand-logo-wrap {
    width: clamp(134px, 9.6vw, 154px);
    height: 34px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: clamp(134px, 9.6vw, 154px);
  }

  .pb-hero-panel {
    height: clamp(405px, 27.5vw, 438px);
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    border-radius: 22px;
    background:
      linear-gradient(90deg, rgba(5, 13, 24, 0.99) 0%, rgba(7, 17, 31, 0.86) 39%, rgba(7, 17, 31, 0.48) 58%, rgba(7, 17, 31, 0.22) 100%),
      radial-gradient(circle at 78% 34%, rgba(0, 230, 255, 0.09), transparent 24%),
      #050d18;
  }

  html[data-theme="light"] .pb-hero-panel {
    background:
      linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.9) 39%, rgba(248, 251, 255, 0.56) 58%, rgba(248, 251, 255, 0.25) 100%),
      radial-gradient(circle at 78% 34%, rgba(0, 158, 194, 0.08), transparent 24%),
      #f8fbff;
  }

  .pb-hero-art {
    opacity: 0.82;
    background-repeat: no-repeat;
    background-size: auto 106%;
    background-position: calc(100% + 92px) 50%;
  }

  .pb-hero-copy {
    padding: clamp(26px, 2.8vw, 38px);
  }

  .pb-hero-copy::before {
    inset: 0 -110px 0 0;
    background: linear-gradient(90deg, rgba(5, 13, 24, 0.99), rgba(5, 13, 24, 0.82) 62%, transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background: linear-gradient(90deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.84) 62%, transparent);
  }

  .pb-hero-copy h1 {
    max-width: 10.6ch;
    font-size: clamp(2.68rem, 3.18vw, 3.22rem);
    letter-spacing: 0;
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: 400px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .pb-actions {
    margin-top: 18px;
  }

  .pb-value-grid article {
    min-height: 98px;
    padding: 15px 18px;
  }

  .pb-value-grid p {
    font-size: 0.82rem;
  }

  .pb-product-card {
    min-height: 158px;
    padding: 15px;
  }

  .pb-tag {
    width: 32px;
    height: 32px;
    margin-bottom: 11px;
  }

  .pb-product-card h3,
  .pb-spotlight-card h3 {
    font-size: 1rem;
  }

  .pb-product-card p,
  .pb-spotlight-card p {
    font-size: 0.82rem;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 236px;
    padding: 14px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 108px;
    margin-bottom: 11px;
  }

  .pb-connect-grid,
  .pb-cred-grid {
    gap: 10px;
  }

  .pb-panel {
    padding: 20px;
  }
}

.pb-spotlight .chip {
  display: none;
}

.pb-visual-platform,
.pb-platform-image,
.platform-core-asset-slot {
  background-repeat: no-repeat;
  background-position: center 18%;
}

.pb-visual-platform {
  background-size: cover, auto 220%;
  background-position: center, center top;
}

.pb-platform-image {
  position: relative;
  background-size: cover, auto 230%;
  background-position: center, center top;
}

.pb-platform-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 13, 24, 0.04), rgba(5, 13, 24, 0.22));
}

html[data-theme="light"] .pb-platform-image::after {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.08), rgba(248, 251, 255, 0.32));
}

.platform-core-asset-slot {
  overflow: hidden;
  background-size: cover, auto 260%, auto, 44px 44px, 44px 44px, auto;
  background-position: center, center top, center, center, center, center;
}

.platform-orbit::before,
.platform-orbit::after,
.platform-orbit-core,
.platform-orbit span,
.platform-hero-caption {
  display: none;
}

html[lang="ro"] .site-nav a {
  padding-inline: 10px;
  font-size: 0.82rem;
}

html[lang="ro"] .button-small {
  padding-inline: 13px;
}

html[lang="ro"] .pb-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.52rem, 3vw, 3.04rem);
}

html[lang="ro"] .pb-hero-copy p:not(.eyebrow) {
  max-width: 440px;
}

html[lang="ro"] .pb-section-head h2,
html[lang="ro"] .pb-panel h2,
html[lang="ro"] .pb-cta-panel h2 {
  line-height: 1.06;
}

html[lang="ro"] .pb-value-grid h2,
html[lang="ro"] .pb-product-card h3,
html[lang="ro"] .pb-spotlight-card h3,
html[lang="ro"] .pb-panel h2,
html[lang="ro"] .page-hero-copy h1,
html[lang="ro"] .system-detail-card h2,
html[lang="ro"] .platform-layer-grid h3 {
  overflow-wrap: normal;
  hyphens: none;
}

html[lang="ro"] .pb-value-grid p,
html[lang="ro"] .pb-product-card p,
html[lang="ro"] .pb-spotlight-card p,
html[lang="ro"] .pb-panel p,
html[lang="ro"] .page-hero-copy .hero-text,
html[lang="ro"] .system-detail-card p,
html[lang="ro"] .detail-list li,
html[lang="ro"] .platform-layer-grid p {
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

html[lang="ro"] .pb-product-card p,
html[lang="ro"] .pb-spotlight-card p {
  font-size: 0.8rem;
  line-height: 1.4;
}

html[lang="ro"] .pb-chain span,
html[lang="ro"] .pb-mini-steps li {
  font-size: 0.76rem;
}

html[lang="ro"] .page-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 4.9vw, 4.55rem);
  line-height: 0.98;
}

html[lang="ro"] .systems-product-nav a,
html[lang="ro"] .platform-model-rail strong {
  font-size: 0.88rem;
  line-height: 1.24;
}

@media (max-width: 760px) {
  .pb-hero-panel {
    height: clamp(540px, 142vw, 585px);
  }

  .pb-hero-art {
    height: 46%;
    opacity: 0.86;
    background-size: auto 112%;
    background-position: 78% 55%;
  }

  .pb-hero-copy {
    min-height: 56%;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2rem, 8.7vw, 2.32rem);
  }

  html[lang="ro"] .pb-hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(1.96rem, 8.3vw, 2.22rem);
  }

  html[lang="ro"] .pb-hero-copy p:not(.eyebrow) {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  html[lang="ro"] .pb-value-grid p {
    font-size: 0.74rem;
  }

  html[lang="ro"] .pb-product-card p,
  html[lang="ro"] .pb-spotlight-card p {
    font-size: 0.82rem;
  }

  .pb-platform-image,
  .pb-visual-platform {
    background-size: cover, auto 210%;
    background-position: center, center top;
  }

  html[lang="ro"] .page-hero-copy h1 {
    font-size: clamp(2.25rem, 9.2vw, 3rem);
    max-width: 12ch;
  }
}

@media (max-width: 390px) {
  .pb-hero-panel {
    height: 560px;
  }

  html[lang="ro"] .pb-actions .button {
    font-size: 0.76rem;
  }
}

/* Production v1 structure pass: focused homepage, stable hero crop, RO wrapping polish. */
.pb-home .pb-section {
  padding-top: clamp(24px, 2.4vw, 34px);
}

.pb-home .pb-final-cta {
  padding-top: clamp(28px, 3vw, 40px);
}

.pb-home .pb-section-head {
  margin-bottom: 14px;
}

.detail-page .page-hero {
  padding-top: clamp(52px, 5vw, 70px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.detail-page .page-hero-grid {
  min-height: clamp(430px, 34vw, 520px);
  padding: clamp(32px, 4vw, 54px);
}

.detail-page .page-hero-visual {
  min-height: clamp(300px, 25vw, 380px);
}

.detail-page .systems-hero-asset-slot {
  background-repeat: no-repeat;
  background-size: cover, contain, auto, 44px 44px, 44px 44px, auto;
  background-position: center, center, center, center, center, center;
}

@media (min-width: 981px) {
  .pb-hero-panel {
    height: clamp(410px, 27vw, 438px);
    grid-template-columns: minmax(0, 0.39fr) minmax(0, 0.61fr);
  }

  .pb-hero-art {
    opacity: 0.78;
    background-size: 100% 100%, 100% 100%, auto 104%;
    background-position: center, center, calc(100% + 58px) 8px;
  }

  .pb-hero-copy::before {
    inset: 0 -170px 0 0;
    background: linear-gradient(90deg, rgba(5, 13, 24, 0.99), rgba(5, 13, 24, 0.86) 48%, rgba(5, 13, 24, 0.46) 74%, transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background: linear-gradient(90deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.88) 48%, rgba(248, 251, 255, 0.52) 74%, transparent);
  }

  .pb-hero-copy h1 {
    margin-bottom: 12px;
  }

  .pb-hero-copy p:not(.eyebrow) {
    line-height: 1.52;
  }

  .pb-actions {
    margin-top: 20px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 248px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 112px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .pb-hero-art {
    background-size: 100% 100%, 100% 100%, auto 106%;
    background-position: center, center, 84% 8px;
  }
}

@media (max-width: 1100px) {
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-column h2,
  .footer-column a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .pb-home .pb-section {
    padding-top: 28px;
  }

  .pb-hero-panel {
    height: clamp(530px, 136vw, 570px);
  }

  .pb-hero-art {
    height: 43%;
    background-size: 100% 100%, 100% 100%, auto 104%;
    background-position: center, center, 78% 8px;
  }

  .pb-hero-copy {
    min-height: 57%;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 268px;
  }

  .pb-actions .button {
    min-width: 0;
    max-width: 100%;
  }

  .detail-page .pb-connect-grid,
  .detail-page .pb-cred-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    margin-inline: auto;
    padding: 0;
  }

  .detail-page .pb-cred-grid .pb-panel {
    width: auto;
    min-height: 0;
    flex-basis: auto;
  }

  .detail-page .pb-chain {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .detail-page .pb-platform-card {
    grid-template-columns: 1fr;
  }

  .detail-page .pb-platform-image {
    width: 100%;
    min-height: 150px;
  }

  .detail-page .page-hero {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .detail-page .page-hero-grid {
    min-height: 0;
    padding: 22px;
    gap: 22px;
  }

  .detail-page .page-hero-visual {
    min-height: 220px;
  }
}

@media (max-width: 430px) {
  .pb-hero-panel {
    height: 570px;
  }

  .pb-actions {
    grid-template-columns: 1fr;
  }

  .pb-actions .button {
    white-space: normal;
    line-height: 1.14;
  }
}

@media (max-width: 390px) {
  .pb-hero-panel {
    height: 568px;
  }
}

html[lang="ro"] .pb-product-card,
html[lang="ro"] .pb-spotlight-card,
html[lang="ro"] .pb-panel,
html[lang="ro"] .system-detail-card,
html[lang="ro"] .platform-layer-grid article {
  text-wrap: pretty;
}

html[lang="ro"] .pb-product-card p,
html[lang="ro"] .pb-spotlight-card p,
html[lang="ro"] .system-detail-card p,
html[lang="ro"] .detail-list li,
html[lang="ro"] .platform-layer-grid p {
  line-height: 1.46;
}

html[lang="ro"] .pb-product-card h3,
html[lang="ro"] .pb-spotlight-card h3 {
  line-height: 1.12;
}

@media (min-width: 981px) {
  html[lang="ro"] .pb-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 2.85vw, 2.95rem);
  }

  html[lang="ro"] .pb-hero-copy p:not(.eyebrow) {
    max-width: 470px;
    font-size: 0.94rem;
  }

  html[lang="ro"] .pb-product-card {
    min-height: 180px;
  }
}

@media (max-width: 760px) {
  html[lang="ro"] .pb-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(1.9rem, 8vw, 2.16rem);
  }

  html[lang="ro"] .pb-actions .button {
    padding-inline: 6px;
    font-size: 0.74rem;
  }
}

/* Mobile density pass: compact SaaS board behavior without scaling hacks. */
.pb-mobile-rail {
  display: none;
}

@media (min-width: 761px) and (max-width: 980px) {
  :root {
    --pb-gap: 26px;
  }

  .pb-home {
    padding-top: 12px;
  }

  .site-header {
    min-height: 58px;
  }

  .pb-hero-panel {
    height: 430px;
  }

  .pb-hero-copy {
    padding: 28px;
  }

  .pb-hero .pb-actions {
    display: grid;
    width: min(320px, 72vw);
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pb-hero .pb-actions .button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2.45rem, 5.3vw, 3.15rem);
  }

  .pb-value-grid article {
    min-height: 90px;
    padding: 14px;
  }

  .pb-product-card {
    min-height: 152px;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    min-height: 232px;
  }

  .detail-page .page-hero {
    padding-top: 22px;
  }

  .detail-page .page-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(240px, 0.75fr);
    gap: 24px;
    min-height: 390px;
    padding: 28px;
  }

  .detail-page .page-hero-copy h1 {
    font-size: clamp(2.55rem, 5.3vw, 3.35rem);
  }

  .detail-page .page-hero-copy .hero-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .detail-page .page-hero-visual {
    min-height: 250px;
  }

  .detail-page .hero-actions .button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }
}

@media (max-width: 760px) {
  :root {
    --pb-page-pad: 10px;
    --pb-gap: 24px;
  }

  .site-header {
    min-height: 56px;
    padding: 7px;
  }

  .brand-logo-wrap {
    width: 124px;
    height: 30px;
  }

  .site-header .brand,
  .site-footer .brand {
    min-width: 124px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .header-panel {
    padding-top: 4px;
  }

  .site-nav a {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.8rem;
  }

  .theme-switch,
  .language-switch {
    min-height: 34px;
  }

  .theme-switch button,
  .language-switch button {
    min-height: 28px;
    font-size: 0.74rem;
  }

  .header-actions .button-small {
    min-height: 36px;
    font-size: 0.82rem;
  }

  .pb-home {
    padding-top: 10px;
  }

  .pb-hero-panel {
    display: block;
    height: clamp(462px, 112vw, 500px);
    min-height: 0;
    border-radius: 18px;
  }

  .pb-hero-panel::before {
    inset: 8px;
    border-radius: 13px;
  }

  .pb-hero-panel::after {
    opacity: 0.18;
  }

  .pb-hero-art {
    inset: 0;
    height: auto;
    opacity: 0.96;
    background-size: 100% 100%, 100% 100%, auto 90%;
    background-position: center, center, 78% 100%;
  }

  .pb-hero-copy {
    position: relative;
    max-width: none;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    min-height: 0;
    padding: 20px 18px;
  }

  .pb-hero-copy::before {
    inset: 0 -16px -96px 0;
    background:
      linear-gradient(180deg, rgba(5, 13, 24, 0.98) 0%, rgba(5, 13, 24, 0.84) 48%, rgba(5, 13, 24, 0.2) 74%, transparent 100%),
      linear-gradient(90deg, rgba(5, 13, 24, 0.98), rgba(5, 13, 24, 0.58), transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.9) 48%, rgba(248, 251, 255, 0.4) 74%, transparent 100%),
      linear-gradient(90deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.66), transparent);
  }

  .pb-hero-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  .pb-hero-copy h1 {
    max-width: min(64vw, 250px);
    margin-bottom: 10px;
    font-size: clamp(2.06rem, 8.9vw, 2.42rem);
    line-height: 0.96;
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: min(68vw, 280px);
    font-size: 0.86rem;
    line-height: 1.43;
  }

  .pb-hero .pb-actions {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .pb-hero .pb-actions .button {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .pb-mobile-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 8px;
    padding-block: 2px 3px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .pb-mobile-rail::-webkit-scrollbar {
    display: none;
  }

  .pb-mobile-rail a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 7px 11px;
    border: 1px solid var(--pb-line);
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.76rem;
    font-weight: 780;
    scroll-snap-align: start;
  }

  html[data-theme="light"] .pb-mobile-rail a {
    background: rgba(255, 255, 255, 0.7);
  }

  .pb-value {
    padding-top: 8px;
  }

  .pb-value-grid article {
    min-height: 88px;
    padding: 12px;
  }

  .pb-value-grid h2 {
    margin: 6px 0 3px;
    font-size: 0.84rem;
    line-height: 1.12;
  }

  .pb-value-grid p {
    font-size: 0.71rem;
    line-height: 1.28;
  }

  .pb-home .pb-section {
    padding-top: 22px;
  }

  .pb-section-head {
    gap: 5px;
    margin-bottom: 10px;
  }

  .pb-section-head .eyebrow {
    font-size: 0.68rem;
  }

  .pb-section-head h2,
  .pb-panel h2,
  .pb-cta-panel h2 {
    margin-bottom: 5px;
    font-size: clamp(1.36rem, 5.6vw, 1.72rem);
    line-height: 1.02;
  }

  .pb-section-head p:not(.eyebrow),
  .pb-panel p,
  .pb-cta-panel p {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .pb-product-grid,
  .pb-spotlight-grid {
    gap: 10px;
    margin-inline: calc(var(--pb-page-pad) * -1);
    padding: 0 var(--pb-page-pad) 5px;
    scroll-padding-inline: var(--pb-page-pad);
  }

  .pb-product-card,
  .pb-product-card-wide {
    flex: 0 0 min(76vw, 286px);
    min-height: 142px;
    padding: 13px;
    border-radius: 14px;
  }

  .pb-tag {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 9px;
    font-size: 0.64rem;
  }

  .pb-product-card h3,
  .pb-spotlight-card h3 {
    margin-bottom: 5px;
    font-size: 0.95rem;
    line-height: 1.12;
  }

  .pb-product-card p,
  .pb-spotlight-card p {
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .pb-product-card strong,
  .pb-spotlight-card strong {
    padding-top: 9px;
    font-size: 0.76rem;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    flex: 0 0 min(78vw, 296px);
    min-height: 228px;
    padding: 13px;
    border-radius: 14px;
  }

  .pb-visual,
  .pb-spotlight-card-large .pb-visual {
    min-height: 88px;
    margin: -1px -1px 9px;
    border-radius: 11px;
  }

  .chip {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 0.66rem;
  }

  .pb-mobile-section-action {
    margin-top: 8px;
  }

  .pb-mobile-section-action a {
    min-height: 30px;
    font-size: 0.76rem;
  }

  .pb-final-cta {
    padding: 24px 0 32px;
  }

  .pb-cta-panel {
    min-height: 0;
    padding: 18px;
    border-radius: 16px;
  }

  .pb-cta-panel .pb-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 24px 0 26px;
    gap: 16px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .footer-column {
    gap: 5px;
  }

  .footer-column h2 {
    font-size: 0.68rem;
  }

  .footer-column a,
  .site-footer-copy,
  .copyright {
    font-size: 0.78rem;
  }

  .detail-page .page-hero {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .detail-page .page-hero-grid {
    position: relative;
    display: block;
    min-height: 430px;
    overflow: hidden;
    padding: 20px;
  }

  .detail-page .page-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 100%;
  }

  .detail-page .page-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2rem, 8.7vw, 2.44rem);
    line-height: 0.98;
  }

  .detail-page .page-hero-copy .hero-text {
    max-width: 28rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .detail-page .page-hero-visual {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    width: min(58%, 230px);
    min-height: 154px;
    opacity: 0.78;
    box-shadow: none;
  }

  .detail-page .page-hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.86) 58%, rgba(7, 17, 31, 0.22) 100%);
  }

  html[data-theme="light"] .detail-page .page-hero-grid::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.86) 58%, rgba(248, 251, 255, 0.24) 100%);
  }

  .detail-page .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .detail-page .hero-actions .button {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.78rem;
    line-height: 1.14;
  }

  .section-band {
    padding-block: 34px;
  }

  .systems-ecosystem-panel,
  .platform-model-panel,
  .platform-deep-panel,
  .system-detail-card {
    border-radius: 16px;
    padding: 18px;
  }

  .systems-product-nav,
  .platform-model-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .systems-product-nav::-webkit-scrollbar,
  .platform-model-rail::-webkit-scrollbar {
    display: none;
  }

  .systems-product-nav a,
  .platform-model-rail article {
    flex: 0 0 auto;
    min-height: 34px;
    border-radius: 999px;
    scroll-snap-align: start;
  }

  .systems-ecosystem-grid,
  .platform-layer-grid,
  .principle-grid,
  .systems-detail-grid {
    gap: 12px;
  }

  .system-detail-asset {
    min-height: 150px;
  }
}

@media (max-width: 430px) {
  .pb-hero-panel {
    height: 480px;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2rem, 8.7vw, 2.28rem);
  }

  .pb-hero-copy p:not(.eyebrow) {
    font-size: 0.84rem;
  }

  .pb-hero .pb-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pb-hero .pb-actions .button {
    min-height: 37px;
    font-size: 0.76rem;
  }

  .pb-product-card,
  .pb-product-card-wide {
    flex-basis: 75vw;
  }

  .pb-spotlight-card,
  .pb-spotlight-card-large {
    flex-basis: 78vw;
  }
}

@media (max-width: 390px) {
  .pb-hero-panel {
    height: 474px;
  }

  html[lang="ro"] .pb-hero-copy h1 {
    max-width: min(66vw, 250px);
    font-size: clamp(1.92rem, 8.2vw, 2.12rem);
  }

  html[lang="ro"] .pb-hero-copy p:not(.eyebrow) {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  html[lang="ro"] .pb-actions .button {
    font-size: 0.7rem;
  }
}

/* Focused responsive polish: tablet gets a real two-column hero; phones stay dense. */
@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --pb-page-pad: clamp(16px, 2.2vw, 24px);
    --pb-gap: clamp(28px, 3.6vw, 40px);
  }

  .pb-home {
    padding-top: clamp(12px, 1.8vw, 20px);
  }

  .pb-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    height: clamp(480px, 54vw, 540px);
    min-height: 0;
    border-radius: 24px;
    background:
      linear-gradient(90deg, rgba(5, 13, 24, 0.99) 0%, rgba(7, 17, 31, 0.9) 42%, rgba(7, 17, 31, 0.28) 64%, transparent 100%),
      radial-gradient(circle at 72% 31%, rgba(0, 230, 255, 0.14), transparent 27%),
      #050d18;
  }

  html[data-theme="light"] .pb-hero-panel {
    background:
      linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.9) 42%, rgba(248, 251, 255, 0.3) 64%, transparent 100%),
      radial-gradient(circle at 72% 31%, rgba(0, 158, 194, 0.1), transparent 27%),
      #f8fbff;
  }

  .pb-hero-panel::before {
    inset: 12px;
    border-radius: 17px;
  }

  .pb-hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    min-height: 0;
    padding: clamp(30px, 4vw, 46px);
  }

  .pb-hero-copy::before {
    inset: 0 -84px 0 0;
    background: linear-gradient(90deg, rgba(5, 13, 24, 0.99), rgba(5, 13, 24, 0.72) 62%, transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background: linear-gradient(90deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.76) 62%, transparent);
  }

  .pb-hero-copy .eyebrow {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .pb-hero-copy h1 {
    max-width: 9.6ch;
    margin-bottom: 14px;
    font-size: clamp(2.75rem, 5.45vw, 3.75rem);
    line-height: 0.95;
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: 27rem;
    font-size: clamp(0.92rem, 1.35vw, 1.04rem);
    line-height: 1.52;
  }

  .pb-hero .pb-actions {
    position: static;
    display: grid;
    grid-template-columns: max-content max-content;
    width: auto;
    gap: 10px;
    margin-top: 22px;
    align-items: center;
  }

  .pb-hero .pb-actions .button {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .pb-hero-art {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    inset: auto;
    height: auto;
    min-height: 100%;
    margin: 14px 14px 14px 0;
    overflow: hidden;
    border-radius: 18px;
    opacity: 1;
    background-size: 100% 100%, 100% 100%, auto 112%;
    background-position: center, center, 58% 46%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .pb-value {
    padding-top: 12px;
  }

  .pb-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .pb-value-grid article {
    min-height: 96px;
    padding: 16px;
  }

  .pb-value-grid article:nth-child(2n) {
    border-right: 0;
  }

  .pb-value-grid article:nth-last-child(-n + 2) {
    border-top: 1px solid var(--pb-line);
  }

  .pb-value-grid h2 {
    margin: 8px 0 4px;
    font-size: 0.95rem;
  }

  .pb-value-grid p {
    font-size: 0.8rem;
    line-height: 1.34;
  }
}

@media (min-width: 431px) and (max-width: 767px) {
  .pb-hero-panel {
    height: clamp(474px, 102vw, 520px);
  }

  .pb-hero-art {
    opacity: 1;
    background-image:
      radial-gradient(circle at 72% 34%, rgba(0, 230, 255, 0.14), transparent 25%),
      linear-gradient(180deg, rgba(5, 13, 24, 0.06), rgba(5, 13, 24, 0.02) 48%, rgba(3, 8, 19, 0.08)),
      url("assets/visuals/hero-mountain-dark.webp");
    background-size: 100% 100%, 100% 100%, auto 104%;
    background-position: center, center, 77% 94%;
  }

  html[data-theme="light"] .pb-hero-art {
    background-image:
      radial-gradient(circle at 72% 34%, rgba(0, 158, 194, 0.1), transparent 25%),
      linear-gradient(180deg, rgba(248, 251, 255, 0.08), rgba(248, 251, 255, 0.02) 48%, rgba(232, 241, 252, 0.06)),
      url("assets/visuals/hero-mountain-light.webp");
  }

  .pb-hero-copy {
    padding: 18px;
  }

  .pb-hero-copy::before {
    inset: 0 -18px -64px 0;
    background:
      linear-gradient(180deg, rgba(5, 13, 24, 0.94) 0%, rgba(5, 13, 24, 0.72) 44%, rgba(5, 13, 24, 0.12) 68%, transparent 100%),
      linear-gradient(90deg, rgba(5, 13, 24, 0.96), rgba(5, 13, 24, 0.48), transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.78) 44%, rgba(248, 251, 255, 0.22) 68%, transparent 100%),
      linear-gradient(90deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.56), transparent);
  }

  .pb-hero-copy h1 {
    max-width: min(62vw, 270px);
    margin-bottom: 9px;
    font-size: clamp(2.14rem, 7.6vw, 2.38rem);
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: min(67vw, 292px);
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .pb-hero .pb-actions {
    right: 16px;
    bottom: 14px;
    left: 16px;
    gap: 7px;
  }

  .pb-hero .pb-actions .button {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 0.75rem;
  }

  .pb-mobile-rail {
    margin-top: 6px;
    padding-block: 1px 2px;
  }

  .pb-value {
    padding-top: 6px;
  }

  .pb-value-grid article {
    min-height: 82px;
    padding: 10px;
  }

  .pb-home .pb-section {
    padding-top: 18px;
  }
}

@media (max-width: 430px) {
  .pb-hero-panel {
    height: 462px;
  }

  .pb-hero-art {
    opacity: 1;
    background-image:
      radial-gradient(circle at 72% 35%, rgba(0, 230, 255, 0.15), transparent 25%),
      linear-gradient(180deg, rgba(5, 13, 24, 0.04), rgba(5, 13, 24, 0.01) 46%, rgba(3, 8, 19, 0.06)),
      url("assets/visuals/hero-mountain-dark.webp");
    background-size: 100% 100%, 100% 100%, auto 112%;
    background-position: center, center, 75% 92%;
  }

  html[data-theme="light"] .pb-hero-art {
    background-image:
      radial-gradient(circle at 72% 35%, rgba(0, 158, 194, 0.11), transparent 25%),
      linear-gradient(180deg, rgba(248, 251, 255, 0.05), rgba(248, 251, 255, 0.01) 46%, rgba(232, 241, 252, 0.05)),
      url("assets/visuals/hero-mountain-light.webp");
  }

  .pb-hero-copy {
    padding: 17px 16px;
  }

  .pb-hero-copy::before {
    inset: 0 -14px -56px 0;
    background:
      linear-gradient(180deg, rgba(5, 13, 24, 0.93) 0%, rgba(5, 13, 24, 0.7) 43%, rgba(5, 13, 24, 0.12) 67%, transparent 100%),
      linear-gradient(90deg, rgba(5, 13, 24, 0.96), rgba(5, 13, 24, 0.46), transparent);
  }

  html[data-theme="light"] .pb-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.97) 0%, rgba(248, 251, 255, 0.78) 43%, rgba(248, 251, 255, 0.22) 67%, transparent 100%),
      linear-gradient(90deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.56), transparent);
  }

  .pb-hero-copy .eyebrow {
    margin-bottom: 8px;
  }

  .pb-hero-copy h1 {
    max-width: min(66vw, 252px);
    margin-bottom: 8px;
    font-size: clamp(2.08rem, 8vw, 2.2rem);
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: min(70vw, 274px);
    font-size: 0.8rem;
    line-height: 1.36;
  }

  .pb-hero .pb-actions {
    right: 14px;
    bottom: 13px;
    left: 14px;
    gap: 7px;
  }

  .pb-hero .pb-actions .button {
    min-height: 35px;
    padding-inline: 6px;
    font-size: 0.72rem;
  }

  .pb-mobile-rail {
    margin-top: 5px;
    padding-block: 0 2px;
  }

  .pb-mobile-rail a {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .pb-value {
    padding-top: 6px;
  }

  .pb-value-grid article {
    min-height: 78px;
    padding: 10px;
  }

  .pb-value-grid h2 {
    margin: 5px 0 2px;
    font-size: 0.8rem;
  }

  .pb-value-grid p {
    font-size: 0.68rem;
    line-height: 1.24;
  }

  .pb-home .pb-section {
    padding-top: 17px;
  }

  .pb-section-head {
    margin-bottom: 8px;
  }
}

@media (max-width: 390px) {
  .pb-hero-panel {
    height: 460px;
  }

  .pb-hero-art {
    background-size: 100% 100%, 100% 100%, auto 116%;
    background-position: center, center, 74% 92%;
  }

  .pb-hero-copy h1 {
    font-size: clamp(2.02rem, 8vw, 2.12rem);
  }

  .pb-hero-copy p:not(.eyebrow) {
    max-width: min(71vw, 268px);
    font-size: 0.78rem;
  }

  html[lang="ro"] .pb-hero-copy h1 {
    max-width: min(69vw, 254px);
    font-size: clamp(1.94rem, 7.9vw, 2.05rem);
  }

  html[lang="ro"] .pb-actions .button {
    font-size: 0.69rem;
  }
}

/* Platform page restoration: scoped so homepage and systems keep their current layout. */
body[data-page="platform"] .page-hero {
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

body[data-page="platform"] .page-hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  min-height: clamp(430px, 36vw, 540px);
  padding: clamp(30px, 4.5vw, 58px);
}

body[data-page="platform"] .page-hero-copy h1 {
  max-width: 10.4ch;
  font-size: clamp(3.15rem, 5vw, 4.85rem);
  line-height: 0.95;
}

body[data-page="platform"] .page-hero-copy .hero-text {
  max-width: 620px;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.58;
}

body[data-page="platform"] .page-hero-visual.platform-core-asset-slot {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(300px, 25vw, 380px);
  aspect-ratio: 12 / 7;
  border-radius: 22px;
  opacity: 1;
  background-position: center, center 44%, center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  background-size: 100% 100%, contain, auto, 42px 42px, 42px 42px, auto;
}

body[data-page="platform"] .page-hero-visual.platform-core-asset-slot::before,
body[data-page="platform"] .page-hero-visual.platform-core-asset-slot::after {
  display: none;
}

body[data-page="platform"] .platform-model {
  padding-top: clamp(26px, 4vw, 54px);
}

body[data-page="platform"] .platform-model-panel {
  align-items: center;
}

@media (min-width: 768px) and (max-width: 1120px) {
  body[data-page="platform"] .page-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
    gap: clamp(24px, 4vw, 42px);
    min-height: clamp(420px, 46vw, 500px);
    padding: clamp(28px, 4vw, 42px);
  }

  body[data-page="platform"] .page-hero-copy h1 {
    max-width: 10.6ch;
    font-size: clamp(2.75rem, 5.2vw, 3.7rem);
  }

  body[data-page="platform"] .page-hero-copy .hero-text {
    max-width: 520px;
    font-size: 0.95rem;
  }

  body[data-page="platform"] .page-hero-visual.platform-core-asset-slot {
    aspect-ratio: auto;
    min-height: clamp(260px, 32vw, 340px);
  }
}

@media (max-width: 760px) {
  body[data-page="platform"] .page-hero {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  body[data-page="platform"] .page-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 20px;
    overflow: hidden;
  }

  body[data-page="platform"] .page-hero-grid::before {
    display: none;
  }

  body[data-page="platform"] .page-hero-copy {
    max-width: 100%;
  }

  body[data-page="platform"] .page-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.05rem, 8.6vw, 2.46rem);
    line-height: 0.98;
  }

  body[data-page="platform"] .page-hero-copy .hero-text {
    max-width: 100%;
    font-size: 0.86rem;
    line-height: 1.44;
  }

  body[data-page="platform"] .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  body[data-page="platform"] .hero-actions .button {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.78rem;
    line-height: 1.14;
  }

  body[data-page="platform"] .page-hero-visual.platform-core-asset-slot {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: clamp(162px, 48vw, 220px);
    margin: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    background-position: center, center 44%, center, center, center, center;
    background-size: 100% 100%, contain, auto, 36px 36px, 36px 36px, auto;
  }

  body[data-page="platform"] .platform-model {
    padding-top: 28px;
  }

  body[data-page="platform"] .platform-model-panel,
  body[data-page="platform"] .platform-deep-panel {
    padding: 20px;
  }
}

@media (max-width: 390px) {
  body[data-page="platform"] .page-hero-copy h1 {
    font-size: clamp(1.98rem, 8.2vw, 2.24rem);
  }

  body[data-page="platform"] .hero-actions .button {
    font-size: 0.73rem;
  }
}

/* Final scoped polish: light-mode depth and narrow-width balance only. */
html[data-theme="light"] .site-background {
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 158, 194, 0.18), transparent 24%),
    radial-gradient(circle at 14% 18%, rgba(111, 85, 242, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(232, 241, 252, 0.9) 0%, rgba(248, 251, 255, 0.96) 44%, rgba(228, 237, 249, 0.95) 100%);
}

html[data-theme="light"] .site-header {
  border-color: rgba(5, 17, 31, 0.13);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(23, 46, 77, 0.13);
}

html[data-theme="light"] .brand-logo-wrap {
  filter: drop-shadow(0 10px 18px rgba(23, 46, 77, 0.1));
}

html[data-theme="light"] .theme-switch,
html[data-theme="light"] .language-switch,
html[data-theme="light"] .site-nav {
  border-color: rgba(5, 17, 31, 0.13);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(23, 46, 77, 0.08);
}

html[data-theme="light"] .button-secondary,
html[data-theme="light"] .button.secondary {
  border-color: rgba(5, 17, 31, 0.16);
  background: rgba(255, 255, 255, 0.76);
  color: #07111f;
  box-shadow: 0 12px 28px rgba(23, 46, 77, 0.09);
}

html[data-theme="light"] .pb-hero-panel,
html[data-theme="light"] .page-hero-grid {
  border-color: rgba(0, 158, 194, 0.2);
  background:
    radial-gradient(circle at 72% 24%, rgba(0, 158, 194, 0.16), transparent 29%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 255, 0.82) 62%, rgba(221, 234, 248, 0.72)),
    #f8fbff;
  box-shadow: 0 30px 76px rgba(23, 46, 77, 0.16);
}

html[data-theme="light"] .pb-hero-panel::before,
html[data-theme="light"] .page-hero-grid::before {
  border-color: rgba(5, 17, 31, 0.08);
}

html[data-theme="light"] .pb-hero-art {
  filter: saturate(1.06) contrast(1.04);
}

html[data-theme="light"] .pb-value-grid,
html[data-theme="light"] .pb-product-card,
html[data-theme="light"] .pb-spotlight-card,
html[data-theme="light"] .pb-cta-panel,
html[data-theme="light"] .systems-ecosystem-panel,
html[data-theme="light"] .platform-model-panel,
html[data-theme="light"] .platform-deep-panel,
html[data-theme="light"] .system-detail-card,
html[data-theme="light"] .platform-layer-grid article,
html[data-theme="light"] .principle-grid article,
html[data-theme="light"] .contact-grid {
  border-color: rgba(5, 17, 31, 0.13);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.08), transparent 34%),
    linear-gradient(240deg, rgba(111, 85, 242, 0.06), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 52px rgba(23, 46, 77, 0.12);
}

html[data-theme="light"] .asset-slot,
html[data-theme="light"] .page-hero-visual,
html[data-theme="light"] .system-detail-asset,
html[data-theme="light"] .pb-visual,
html[data-theme="light"] .pb-platform-image {
  border-color: rgba(0, 158, 194, 0.18);
  box-shadow: 0 18px 44px rgba(23, 46, 77, 0.14);
}

body[data-title-key="meta.systems.title"] .systems-hero-asset-slot {
  background-position: center, center, center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  background-size: 100% 100%, cover, auto, 44px 44px, 44px 44px, auto;
}

html[data-theme="light"] .site-footer {
  border-color: rgba(5, 17, 31, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) and (max-width: 1024px) {
  body[data-title-key="meta.home.title"] .pb-hero-panel {
    min-height: 0;
    height: clamp(460px, 52vw, 520px);
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy h1 {
    max-width: 9.8ch;
    font-size: clamp(2.55rem, 5.15vw, 3.45rem);
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy p:not(.eyebrow) {
    max-width: 25.5rem;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  body[data-title-key="meta.home.title"] .pb-hero-art {
    background-size: 100% 100%, 100% 100%, auto 108%;
    background-position: center, center, 58% 47%;
  }

  body[data-title-key="meta.systems.title"] .page-hero-grid {
    min-height: clamp(390px, 47vw, 470px);
    padding: clamp(26px, 3.6vw, 40px);
  }

  body[data-title-key="meta.systems.title"] .page-hero-copy h1,
  body[data-page="platform"] .page-hero-copy h1 {
    font-size: clamp(2.52rem, 5vw, 3.45rem);
  }
}

@media (max-width: 760px) {
  body[data-title-key="meta.home.title"] .pb-hero-copy h1 {
    max-width: min(70vw, 275px);
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy p:not(.eyebrow) {
    max-width: min(72vw, 286px);
  }

  body[data-title-key="meta.systems.title"] .page-hero-grid {
    gap: 14px;
    min-height: 0;
  }

  body[data-title-key="meta.systems.title"] .page-hero-copy h1 {
    font-size: clamp(2rem, 8.3vw, 2.32rem);
  }

  body[data-title-key="meta.systems.title"] .hero-actions,
  body[data-page="platform"] .hero-actions {
    gap: 7px;
  }

  body[data-title-key="meta.systems.title"] .hero-actions .button,
  body[data-page="platform"] .hero-actions .button {
    min-height: 36px;
    font-size: 0.75rem;
  }

  html[data-theme="light"] .pb-mobile-rail a {
    border-color: rgba(5, 17, 31, 0.14);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 18px rgba(23, 46, 77, 0.08);
  }
}

@media (max-width: 430px) {
  body[data-title-key="meta.home.title"] .pb-hero-panel {
    height: 452px;
  }

  body[data-title-key="meta.home.title"] .pb-hero .pb-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy h1 {
    max-width: min(72vw, 272px);
    font-size: clamp(2rem, 7.7vw, 2.16rem);
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy p:not(.eyebrow) {
    max-width: min(74vw, 286px);
    font-size: 0.78rem;
  }

  body[data-title-key="meta.home.title"] .pb-hero .pb-actions .button {
    min-height: 34px;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  body[data-title-key="meta.home.title"] .pb-value-grid article {
    min-height: 76px;
  }

  body[data-title-key="meta.systems.title"] .page-hero-copy h1,
  body[data-page="platform"] .page-hero-copy h1 {
    max-width: 11.2ch;
  }
}

@media (max-width: 390px) {
  body[data-title-key="meta.home.title"] .pb-hero-panel {
    height: 448px;
  }

  html[lang="ro"] body[data-title-key="meta.home.title"] .pb-hero-copy h1 {
    max-width: min(72vw, 268px);
    font-size: clamp(1.9rem, 7.6vw, 2.02rem);
  }

  body[data-title-key="meta.systems.title"] .hero-actions .button,
  body[data-page="platform"] .hero-actions .button {
    font-size: 0.7rem;
  }
}

/* Pre-push polish: product icon system and scoped light-theme depth. */
.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.product-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.22);
  border-radius: 15px;
  color: var(--cyan);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 230, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.12), rgba(124, 92, 255, 0.1)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 230, 255, 0.08);
}

.product-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.product-icon svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-icon-automator,
.product-icon-custom {
  color: var(--blue);
}

.product-icon-patrol {
  color: #35e6a7;
}

.product-icon-amen {
  color: var(--violet);
}

.product-card-head .pb-tag {
  width: auto;
  min-width: 34px;
  height: 28px;
  margin: 0;
  padding-inline: 9px;
  border-radius: 999px;
  background: rgba(0, 230, 255, 0.08);
}

.pb-product-card {
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pb-product-card::before,
.pb-spotlight-card::before,
body[data-page="systems"] .system-detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.07), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.pb-product-card > *,
.pb-spotlight-card > *,
body[data-page="systems"] .system-detail-card > * {
  position: relative;
  z-index: 1;
}

.pb-product-card:hover::before,
.pb-product-card:focus-visible::before,
.pb-spotlight-card:hover::before,
.pb-spotlight-card:focus-visible::before,
body[data-page="systems"] .system-detail-card:hover::before,
body[data-page="systems"] .system-detail-card:focus-within::before {
  opacity: 1;
}

.pb-product-card:hover,
.pb-product-card:focus-visible,
.pb-spotlight-card:hover,
.pb-spotlight-card:focus-visible {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 230, 255, 0.08);
}

.pb-product-card h3 {
  margin-bottom: 9px;
}

.pb-product-card p {
  max-width: 31ch;
}

.pb-product-card strong,
.pb-spotlight-card strong {
  align-items: center;
  gap: 7px;
}

.pb-product-card strong::after,
.pb-spotlight-card strong::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.pb-visual {
  position: relative;
  overflow: hidden;
}

.pb-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(0, 230, 255, 0.16), transparent 28%);
  mix-blend-mode: screen;
}

body[data-page="systems"] .system-detail-card > .product-icon {
  width: 52px;
  height: 52px;
  margin-bottom: -4px;
}

body[data-page="systems"] .system-detail-card > .product-icon svg {
  width: 27px;
  height: 27px;
}

html[data-theme="light"] {
  --pb-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.72)),
    rgba(255, 255, 255, 0.94);
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-bg-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(5, 17, 31, 0.14);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 72% 7%, rgba(0, 158, 194, 0.15), transparent 23%),
    radial-gradient(circle at 15% 15%, rgba(111, 85, 242, 0.1), transparent 27%),
    linear-gradient(180deg, #f3f8ff 0%, #edf4fc 42%, #e8eff9 100%);
}

html[data-theme="light"] .site-header {
  border-color: rgba(5, 17, 31, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.86)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 54px rgba(23, 46, 77, 0.16);
}

html[data-theme="light"] .site-nav,
html[data-theme="light"] .theme-switch,
html[data-theme="light"] .language-switch {
  border-color: rgba(5, 17, 31, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.76)),
    rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .pb-hero-panel,
html[data-theme="light"] .page-hero-grid {
  border-color: rgba(5, 17, 31, 0.12);
  box-shadow: 0 34px 86px rgba(23, 46, 77, 0.18);
}

html[data-theme="light"] .pb-value-grid,
html[data-theme="light"] .pb-product-card,
html[data-theme="light"] .pb-spotlight-card,
html[data-theme="light"] .pb-cta-panel,
html[data-theme="light"] .systems-ecosystem-panel,
html[data-theme="light"] .platform-model-panel,
html[data-theme="light"] .platform-deep-panel,
html[data-theme="light"] .system-detail-card,
html[data-theme="light"] .platform-layer-grid article,
html[data-theme="light"] .principle-grid article,
html[data-theme="light"] .contact-grid {
  border-color: rgba(5, 17, 31, 0.14);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), transparent 35%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.07), transparent 41%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 58px rgba(23, 46, 77, 0.15);
}

html[data-theme="light"] .product-icon {
  border-color: rgba(0, 118, 170, 0.22);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 158, 194, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.12), rgba(111, 85, 242, 0.09)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px rgba(23, 46, 77, 0.1);
}

html[data-theme="light"] .product-icon::before {
  border-color: rgba(5, 17, 31, 0.08);
}

html[data-theme="light"] .product-card-head .pb-tag {
  border-color: rgba(0, 118, 170, 0.16);
  background: rgba(0, 158, 194, 0.09);
}

html[data-theme="light"] .button-primary {
  box-shadow: 0 16px 34px rgba(0, 118, 170, 0.22);
}

html[data-theme="light"] .pb-visual::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(0, 158, 194, 0.14), transparent 28%);
  mix-blend-mode: multiply;
}

html[data-theme="light"] .site-footer {
  border-color: rgba(5, 17, 31, 0.14);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.07), transparent 36%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 -18px 48px rgba(23, 46, 77, 0.08);
}

@media (max-width: 760px) {
  .product-card-head {
    margin-bottom: 10px;
  }

  .product-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .product-icon::before {
    inset: 5px;
    border-radius: 7px;
  }

  .product-icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.9;
  }

  .product-card-head .pb-tag {
    min-width: 30px;
    height: 24px;
    padding-inline: 7px;
  }

  body[data-page="systems"] .system-detail-card > .product-icon {
    width: 40px;
    height: 40px;
    margin-bottom: -6px;
  }

  body[data-page="systems"] .system-detail-card > .product-icon svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 430px) {
  html[lang="ro"] .pb-product-card h3 {
    font-size: 0.9rem;
  }

  html[lang="ro"] .pb-product-card p {
    line-height: 1.3;
  }
}

/* Final dark-theme depth pass: scoped color/surface polish only. */
html[data-theme="dark"] {
  --text: #dde6f2;
  --muted: #8f9db1;
  --muted-strong: #b7c5d6;
  --line: rgba(218, 235, 255, 0.085);
  --line-strong: rgba(218, 235, 255, 0.14);
  --header-bg: rgba(3, 8, 19, 0.9);
  --control-bg: rgba(255, 255, 255, 0.028);
  --secondary-bg: rgba(255, 255, 255, 0.038);
  --card-bg: rgba(6, 15, 28, 0.84);
  --card-bg-strong: rgba(8, 18, 32, 0.92);
  --card-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  --premium-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012)),
    rgba(6, 15, 28, 0.88);
  --premium-panel:
    linear-gradient(135deg, rgba(0, 230, 255, 0.055), transparent 36%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.055), transparent 42%),
    rgba(5, 13, 24, 0.9);
  --pb-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(6, 14, 26, 0.88);
  --pb-line: rgba(218, 235, 255, 0.085);
  --pb-line-hot: rgba(0, 230, 255, 0.18);
  --pb-shadow: 0 34px 88px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 76% 6%, rgba(0, 230, 255, 0.105), transparent 23%),
    radial-gradient(circle at 17% 13%, rgba(45, 124, 255, 0.09), transparent 28%),
    radial-gradient(circle at 68% 78%, rgba(124, 92, 255, 0.055), transparent 32%),
    linear-gradient(180deg, #020711 0%, #050d18 42%, #020711 100%);
}

html[data-theme="dark"] .site-background {
  background:
    radial-gradient(circle at 78% 7%, rgba(0, 230, 255, 0.12), transparent 23%),
    radial-gradient(circle at 14% 16%, rgba(45, 124, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.2), rgba(2, 7, 17, 0.88));
}

html[data-theme="dark"] .site-header {
  border-color: rgba(218, 235, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(9, 19, 33, 0.92), rgba(3, 8, 19, 0.88)),
    rgba(3, 8, 19, 0.9);
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .theme-switch,
html[data-theme="dark"] .language-switch {
  border-color: rgba(218, 235, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016)),
    rgba(3, 8, 19, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 10px 26px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .button.secondary {
  border-color: rgba(218, 235, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(6, 15, 28, 0.72);
}

html[data-theme="dark"] .pb-hero-panel,
html[data-theme="dark"] .page-hero-grid {
  border-color: rgba(0, 230, 255, 0.13);
  background:
    radial-gradient(circle at 72% 26%, rgba(0, 230, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(5, 13, 24, 0.96), rgba(2, 7, 17, 0.92)),
    #020711;
  box-shadow: 0 36px 92px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] .pb-hero-panel::before,
html[data-theme="dark"] .page-hero-grid::before {
  border-color: rgba(255, 255, 255, 0.045);
}

html[data-theme="dark"] .pb-hero-art {
  filter: saturate(1.06) contrast(1.04) brightness(0.95);
}

@media (min-width: 761px) {
  html[data-theme="dark"] .pb-hero-copy::before {
    background: linear-gradient(90deg, rgba(2, 7, 17, 0.99), rgba(3, 8, 19, 0.78) 58%, transparent);
  }
}

@media (max-width: 760px) {
  html[data-theme="dark"] .pb-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(2, 7, 17, 0.96) 0%, rgba(3, 8, 19, 0.74) 44%, rgba(3, 8, 19, 0.14) 68%, transparent 100%),
      linear-gradient(90deg, rgba(2, 7, 17, 0.98), rgba(3, 8, 19, 0.48), transparent);
  }
}

html[data-theme="dark"] .pb-hero-copy h1,
html[data-theme="dark"] .page-hero-copy h1,
html[data-theme="dark"] .pb-section-head h2,
html[data-theme="dark"] .pb-product-card h3,
html[data-theme="dark"] .pb-spotlight-card h3,
html[data-theme="dark"] .system-detail-card h2,
html[data-theme="dark"] .platform-deep-panel h2,
html[data-theme="dark"] .pb-cta-panel h2 {
  color: #dde6f2;
}

html[data-theme="dark"] .pb-hero-copy p:not(.eyebrow),
html[data-theme="dark"] .page-hero-copy .hero-text,
html[data-theme="dark"] .pb-section-head p:not(.eyebrow),
html[data-theme="dark"] .pb-product-card p,
html[data-theme="dark"] .pb-spotlight-card p,
html[data-theme="dark"] .system-detail-card > p:not(.eyebrow),
html[data-theme="dark"] .pb-cta-panel p {
  color: var(--muted);
}

html[data-theme="dark"] .eyebrow {
  color: #00dff7;
}

html[data-theme="dark"] .pb-value-grid,
html[data-theme="dark"] .pb-product-card,
html[data-theme="dark"] .pb-spotlight-card,
html[data-theme="dark"] .pb-cta-panel,
html[data-theme="dark"] .systems-ecosystem-panel,
html[data-theme="dark"] .platform-model-panel,
html[data-theme="dark"] .platform-deep-panel,
html[data-theme="dark"] .system-detail-card,
html[data-theme="dark"] .platform-layer-grid article,
html[data-theme="dark"] .principle-grid article,
html[data-theme="dark"] .contact-grid {
  border-color: rgba(218, 235, 255, 0.085);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.052), transparent 35%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.048), transparent 42%),
    rgba(6, 15, 28, 0.88);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .pb-value-grid {
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.058), transparent 36%, rgba(124, 92, 255, 0.045)),
    rgba(4, 11, 21, 0.9);
}

html[data-theme="dark"] .pb-value-grid article {
  border-color: rgba(218, 235, 255, 0.075);
}

html[data-theme="dark"] .pb-product-card:hover,
html[data-theme="dark"] .pb-product-card:focus-visible,
html[data-theme="dark"] .pb-spotlight-card:hover,
html[data-theme="dark"] .pb-spotlight-card:focus-visible {
  border-color: rgba(0, 230, 255, 0.2);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(0, 230, 255, 0.06);
}

html[data-theme="dark"] .product-icon {
  border-color: rgba(0, 230, 255, 0.18);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 230, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.09), rgba(124, 92, 255, 0.075)),
    rgba(3, 8, 19, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .product-card-head .pb-tag {
  border-color: rgba(0, 230, 255, 0.15);
  background: rgba(0, 230, 255, 0.065);
}

html[data-theme="dark"] .pb-visual,
html[data-theme="dark"] .asset-slot,
html[data-theme="dark"] .page-hero-visual,
html[data-theme="dark"] .system-detail-asset,
html[data-theme="dark"] .pb-platform-image {
  border-color: rgba(0, 230, 255, 0.12);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .pb-visual::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(0, 230, 255, 0.12), transparent 28%);
}

html[data-theme="dark"] .site-footer {
  border-color: rgba(218, 235, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.04), transparent 36%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.04), transparent 42%),
    rgba(3, 8, 19, 0.78);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.18);
}

/* Final light-theme contrast pass: scoped surface depth only. */
html[data-theme="light"] {
  --bg: #eef5fd;
  --bg-deep: #dfeaf6;
  --surface: #ffffff;
  --surface-elevated: #e7f0fa;
  --surface-soft: rgba(255, 255, 255, 0.82);
  --text: #07111f;
  --muted: #4c5e75;
  --muted-strong: #1f334d;
  --line: rgba(5, 17, 31, 0.16);
  --line-strong: rgba(5, 17, 31, 0.24);
  --control-bg: rgba(255, 255, 255, 0.74);
  --secondary-bg: rgba(255, 255, 255, 0.82);
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-bg-strong: rgba(255, 255, 255, 0.99);
  --pb-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.82)),
    rgba(255, 255, 255, 0.94);
  --pb-panel:
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.075), transparent 40%),
    rgba(255, 255, 255, 0.88);
  --pb-line: rgba(5, 17, 31, 0.16);
  --pb-line-hot: rgba(0, 118, 170, 0.28);
  --pb-shadow: 0 30px 78px rgba(23, 46, 77, 0.18);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 74% 7%, rgba(0, 158, 194, 0.16), transparent 22%),
    radial-gradient(circle at 14% 14%, rgba(45, 124, 255, 0.12), transparent 28%),
    radial-gradient(circle at 68% 80%, rgba(111, 85, 242, 0.07), transparent 31%),
    linear-gradient(180deg, #e8f2fc 0%, #f4f8fd 42%, #dde9f6 100%);
}

html[data-theme="light"] .site-background {
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 158, 194, 0.2), transparent 23%),
    radial-gradient(circle at 13% 17%, rgba(45, 124, 255, 0.12), transparent 29%),
    linear-gradient(180deg, rgba(232, 241, 252, 0.88), rgba(221, 234, 248, 0.96));
}

html[data-theme="light"] .site-header {
  border-color: rgba(5, 17, 31, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.88)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 58px rgba(23, 46, 77, 0.18);
}

html[data-theme="light"] .site-nav,
html[data-theme="light"] .theme-switch,
html[data-theme="light"] .language-switch {
  border-color: rgba(5, 17, 31, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 242, 253, 0.84)),
    rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px rgba(23, 46, 77, 0.1);
}

html[data-theme="light"] .button-secondary,
html[data-theme="light"] .button.secondary {
  border-color: rgba(5, 17, 31, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 253, 0.86)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(23, 46, 77, 0.12);
}

html[data-theme="light"] .button-primary,
html[data-theme="light"] .button.primary {
  box-shadow: 0 18px 38px rgba(0, 118, 170, 0.24);
}

html[data-theme="light"] .pb-hero-panel,
html[data-theme="light"] .page-hero-grid {
  border-color: rgba(5, 17, 31, 0.14);
  background:
    radial-gradient(circle at 73% 25%, rgba(0, 158, 194, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(233, 243, 254, 0.9) 61%, rgba(215, 230, 246, 0.78)),
    #f4f8fd;
  box-shadow: 0 36px 90px rgba(23, 46, 77, 0.2);
}

html[data-theme="light"] .pb-hero-panel::before,
html[data-theme="light"] .page-hero-grid::before {
  border-color: rgba(5, 17, 31, 0.1);
}

html[data-theme="light"] .pb-hero-copy::before {
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.99), rgba(239, 247, 255, 0.78) 58%, transparent);
}

html[data-theme="light"] .pb-hero-art {
  filter: saturate(1.12) contrast(1.07) brightness(0.985);
}

html[data-theme="light"] .pb-value-grid,
html[data-theme="light"] .pb-product-card,
html[data-theme="light"] .pb-spotlight-card,
html[data-theme="light"] .pb-cta-panel,
html[data-theme="light"] .systems-ecosystem-panel,
html[data-theme="light"] .platform-model-panel,
html[data-theme="light"] .platform-deep-panel,
html[data-theme="light"] .system-detail-card,
html[data-theme="light"] .platform-layer-grid article,
html[data-theme="light"] .principle-grid article,
html[data-theme="light"] .contact-grid {
  border-color: rgba(5, 17, 31, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), transparent 35%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.07), transparent 41%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 64px rgba(23, 46, 77, 0.17);
}

html[data-theme="light"] .pb-value-grid {
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.1), transparent 36%, rgba(111, 85, 242, 0.065)),
    rgba(246, 251, 255, 0.94);
}

html[data-theme="light"] .pb-value-grid article {
  border-color: rgba(5, 17, 31, 0.13);
}

html[data-theme="light"] .pb-product-card:hover,
html[data-theme="light"] .pb-product-card:focus-visible,
html[data-theme="light"] .pb-spotlight-card:hover,
html[data-theme="light"] .pb-spotlight-card:focus-visible {
  border-color: rgba(0, 118, 170, 0.3);
  box-shadow: 0 30px 70px rgba(23, 46, 77, 0.2), 0 0 0 1px rgba(0, 158, 194, 0.08);
}

html[data-theme="light"] .product-icon {
  border-color: rgba(0, 118, 170, 0.25);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 158, 194, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.14), rgba(111, 85, 242, 0.1)),
    rgba(246, 251, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(23, 46, 77, 0.13);
}

html[data-theme="light"] .product-card-head .pb-tag {
  border-color: rgba(0, 118, 170, 0.18);
  background: rgba(0, 158, 194, 0.11);
}

html[data-theme="light"] .pb-visual,
html[data-theme="light"] .asset-slot,
html[data-theme="light"] .page-hero-visual,
html[data-theme="light"] .system-detail-asset,
html[data-theme="light"] .pb-platform-image {
  border-color: rgba(0, 118, 170, 0.2);
  box-shadow: 0 20px 50px rgba(23, 46, 77, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .site-footer {
  border-color: rgba(5, 17, 31, 0.15);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.055), transparent 42%),
    rgba(246, 251, 255, 0.86);
  box-shadow: 0 -18px 48px rgba(23, 46, 77, 0.1);
}

@media (max-width: 760px) {
  html[data-theme="light"] .pb-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.97) 0%, rgba(238, 247, 255, 0.78) 43%, rgba(238, 247, 255, 0.24) 67%, transparent 100%),
      linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(238, 247, 255, 0.58), transparent);
  }
}

/* Launch polish: final light-theme material contrast, no layout changes. */
html[data-theme="light"] {
  --bg: #e7f0fa;
  --bg-deep: #d7e4f2;
  --surface-elevated: #e4eef9;
  --surface-soft: rgba(244, 249, 255, 0.86);
  --muted: #435872;
  --muted-strong: #172a42;
  --line: rgba(5, 17, 31, 0.18);
  --line-strong: rgba(5, 17, 31, 0.28);
  --pb-card:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 243, 253, 0.88)),
    rgba(244, 249, 255, 0.96);
  --pb-line: rgba(5, 17, 31, 0.18);
  --pb-shadow: 0 34px 84px rgba(23, 46, 77, 0.2);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 74% 7%, rgba(0, 158, 194, 0.18), transparent 22%),
    radial-gradient(circle at 14% 14%, rgba(45, 124, 255, 0.14), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(111, 85, 242, 0.08), transparent 30%),
    linear-gradient(180deg, #dfebf8 0%, #f1f7fd 40%, #d8e6f4 100%);
}

html[data-theme="light"] .site-background {
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 158, 194, 0.22), transparent 23%),
    radial-gradient(circle at 13% 17%, rgba(45, 124, 255, 0.14), transparent 29%),
    linear-gradient(180deg, rgba(222, 235, 249, 0.94), rgba(214, 228, 244, 0.98));
}

html[data-theme="light"] .site-header {
  border-color: rgba(5, 17, 31, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(232, 242, 253, 0.9)),
    rgba(245, 250, 255, 0.94);
  box-shadow: 0 24px 62px rgba(23, 46, 77, 0.2);
}

html[data-theme="light"] .site-nav,
html[data-theme="light"] .theme-switch,
html[data-theme="light"] .language-switch {
  border-color: rgba(5, 17, 31, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(225, 238, 251, 0.86)),
    rgba(241, 247, 254, 0.86);
}

html[data-theme="light"] .pb-hero-panel,
html[data-theme="light"] .page-hero-grid {
  border-color: rgba(5, 17, 31, 0.16);
  background:
    radial-gradient(circle at 73% 25%, rgba(0, 158, 194, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(252, 254, 255, 0.99), rgba(226, 239, 252, 0.92) 61%, rgba(205, 223, 241, 0.82)),
    #eef6fc;
  box-shadow: 0 38px 94px rgba(23, 46, 77, 0.22);
}

html[data-theme="light"] .pb-hero-copy::before {
  background: linear-gradient(90deg, rgba(242, 249, 255, 0.99), rgba(225, 239, 253, 0.82) 58%, transparent);
}

html[data-theme="light"] .pb-hero-art {
  filter: saturate(1.16) contrast(1.1) brightness(0.97);
}

html[data-theme="light"] .pb-value-grid,
html[data-theme="light"] .pb-product-card,
html[data-theme="light"] .pb-spotlight-card,
html[data-theme="light"] .pb-cta-panel,
html[data-theme="light"] .systems-ecosystem-panel,
html[data-theme="light"] .platform-model-panel,
html[data-theme="light"] .platform-deep-panel,
html[data-theme="light"] .system-detail-card,
html[data-theme="light"] .platform-layer-grid article,
html[data-theme="light"] .principle-grid article,
html[data-theme="light"] .contact-grid {
  border-color: rgba(5, 17, 31, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.105), transparent 34%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.075), transparent 41%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 245, 254, 0.9));
  box-shadow: 0 28px 68px rgba(23, 46, 77, 0.19);
}

html[data-theme="light"] .pb-value-grid {
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.105), transparent 36%, rgba(111, 85, 242, 0.075)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(231, 241, 252, 0.9));
}

html[data-theme="light"] .pb-product-card,
html[data-theme="light"] .pb-spotlight-card,
html[data-theme="light"] .system-detail-card {
  box-shadow: 0 24px 58px rgba(23, 46, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .product-icon {
  border-color: rgba(0, 118, 170, 0.28);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 158, 194, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.16), rgba(111, 85, 242, 0.11)),
    rgba(237, 247, 255, 0.94);
}

html[data-theme="light"] .pb-visual,
html[data-theme="light"] .asset-slot,
html[data-theme="light"] .page-hero-visual,
html[data-theme="light"] .system-detail-asset,
html[data-theme="light"] .pb-platform-image {
  border-color: rgba(0, 118, 170, 0.22);
  background-color: rgba(227, 239, 252, 0.72);
  box-shadow: 0 24px 58px rgba(23, 46, 77, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] body[data-page="platform"] .platform-core-asset-slot,
html[data-theme="light"] body[data-page="platform"] .pb-platform-image {
  border-color: rgba(0, 118, 170, 0.24);
  background-color: rgba(224, 238, 252, 0.82);
  box-shadow: 0 26px 64px rgba(23, 46, 77, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  filter: saturate(1.08) contrast(1.05);
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot,
html[data-theme="light"] body[data-page="systems"] .system-detail-asset {
  border-color: rgba(0, 118, 170, 0.22);
  background-color: rgba(224, 238, 252, 0.78);
  filter: saturate(1.05) contrast(1.04);
}

html[data-theme="light"] .site-footer {
  border-color: rgba(5, 17, 31, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), transparent 36%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.065), transparent 42%),
    rgba(238, 247, 255, 0.9);
}

@media (max-width: 760px) {
  html[data-theme="light"] .pb-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(242, 249, 255, 0.96) 0%, rgba(225, 239, 253, 0.74) 43%, rgba(225, 239, 253, 0.2) 67%, transparent 100%),
      linear-gradient(90deg, rgba(242, 249, 255, 0.98), rgba(225, 239, 253, 0.54), transparent);
  }
}

/* Stage 1 IA: scoped product-page structure for dedicated shareable system URLs. */
body[data-product-page="true"] .product-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-product-page="true"] .product-page-card,
body[data-product-page="true"] .product-preview-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pb-line);
  border-radius: 20px;
  background: var(--pb-card);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

body[data-product-page="true"] .product-page-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
}

body[data-product-page="true"] .product-page-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

body[data-product-page="true"] .product-page-card p,
body[data-product-page="true"] .product-page-card li,
body[data-product-page="true"] .product-preview-panel p {
  color: var(--muted);
  line-height: 1.62;
}

body[data-product-page="true"] .product-page-card .detail-list {
  margin-top: 0;
}

body[data-product-page="true"] .product-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
}

body[data-product-page="true"] .product-preview-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: 1;
}

body[data-product-page="true"] .product-page-visual {
  min-height: clamp(300px, 28vw, 420px);
}

body[data-product-page="true"] .page-hero-visual.manai-builder-asset-slot,
body[data-product-page="true"] .page-hero-visual.ai-automator-flow-slot,
body[data-product-page="true"] .page-hero-visual.platform-core-asset-slot {
  background-repeat: no-repeat;
  background-position: center;
}

body[data-product-page="true"] .page-hero-visual.platform-core-asset-slot {
  background-size: cover, auto 230%, auto, 44px 44px, 44px 44px, auto;
  background-position: center, center top, center, center, center, center;
}

html[data-theme="dark"] body[data-product-page="true"] .product-page-card,
html[data-theme="dark"] body[data-product-page="true"] .product-preview-panel {
  border-color: rgba(218, 235, 255, 0.085);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.052), transparent 35%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.048), transparent 42%),
    rgba(6, 15, 28, 0.88);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] body[data-product-page="true"] .product-page-card,
html[data-theme="light"] body[data-product-page="true"] .product-preview-panel {
  border-color: rgba(5, 17, 31, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.105), transparent 34%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.075), transparent 41%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 245, 254, 0.9));
  box-shadow: 0 28px 68px rgba(23, 46, 77, 0.19);
}

@media (max-width: 900px) {
  body[data-product-page="true"] .product-page-grid {
    grid-template-columns: 1fr;
  }

  body[data-product-page="true"] .product-page-card {
    min-height: 0;
  }

  body[data-product-page="true"] .product-preview-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-product-page="true"] .product-page-visual {
    min-height: clamp(170px, 50vw, 230px);
  }

  body[data-product-page="true"] .product-page-card,
  body[data-product-page="true"] .product-preview-panel {
    padding: 20px;
    border-radius: 18px;
  }

  body[data-product-page="true"] .product-preview-panel .button {
    width: 100%;
  }
}

/* Dedicated product pages: scoped visual restoration for shareable product URLs. */
body[data-page="manai-builder"] .page-hero-grid,
body[data-page="ai-automator"] .page-hero-grid,
body[data-page="patrol-doctor"] .page-hero-grid,
body[data-page="amen"] .page-hero-grid,
body[data-page="custom-systems"] .page-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  min-height: clamp(520px, 39vw, 620px);
  gap: clamp(30px, 4vw, 58px);
  align-items: stretch;
}

body[data-page="manai-builder"] .page-hero,
body[data-page="ai-automator"] .page-hero,
body[data-page="patrol-doctor"] .page-hero,
body[data-page="amen"] .page-hero,
body[data-page="custom-systems"] .page-hero {
  padding-bottom: clamp(22px, 2.6vw, 36px);
}

body[data-page="manai-builder"] .page-hero-copy,
body[data-page="ai-automator"] .page-hero-copy,
body[data-page="patrol-doctor"] .page-hero-copy,
body[data-page="amen"] .page-hero-copy,
body[data-page="custom-systems"] .page-hero-copy {
  align-self: center;
  max-width: 620px;
}

body[data-page="manai-builder"] .page-hero-copy h1,
body[data-page="ai-automator"] .page-hero-copy h1,
body[data-page="patrol-doctor"] .page-hero-copy h1,
body[data-page="amen"] .page-hero-copy h1,
body[data-page="custom-systems"] .page-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 4.6vw, 4.25rem);
  line-height: 0.94;
}

body[data-page="manai-builder"] .page-hero-copy .hero-text,
body[data-page="ai-automator"] .page-hero-copy .hero-text,
body[data-page="patrol-doctor"] .page-hero-copy .hero-text,
body[data-page="amen"] .page-hero-copy .hero-text,
body[data-page="custom-systems"] .page-hero-copy .hero-text {
  max-width: 34rem;
}

body[data-page="manai-builder"] .product-page-visual,
body[data-page="ai-automator"] .product-page-visual,
body[data-page="patrol-doctor"] .product-page-visual,
body[data-page="amen"] .product-page-visual,
body[data-page="custom-systems"] .product-page-visual {
  align-self: stretch;
  min-height: clamp(390px, 34vw, 520px);
  border-radius: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover, cover;
  isolation: isolate;
}

body[data-page="manai-builder"] .product-page-visual::after,
body[data-page="ai-automator"] .product-page-visual::after,
body[data-page="patrol-doctor"] .product-page-visual::after,
body[data-page="amen"] .product-page-visual::after,
body[data-page="custom-systems"] .product-page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 230, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.14));
  mix-blend-mode: screen;
  opacity: 0.72;
}

body[data-page="manai-builder"] .page-hero-visual.manai-builder-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.16), rgba(5, 13, 24, 0.02)),
    url("assets/visuals/manai-builder-panel.webp");
  background-position: center, center;
  background-size: cover, cover;
}

body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot,
body[data-page="patrol-doctor"] .page-hero-visual.ai-automator-flow-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.14), rgba(5, 13, 24, 0.02)),
    url("assets/visuals/ai-automator-flow.webp");
  background-position: center, center;
  background-size: cover, cover;
}

body[data-page="amen"] .page-hero-visual.platform-core-asset-slot,
body[data-page="custom-systems"] .page-hero-visual.platform-core-asset-slot {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 24, 0.15), rgba(5, 13, 24, 0.02)),
    url("assets/visuals/platform-core.webp");
  background-position: center, center top;
  background-size: cover, cover;
}

body[data-page="manai-builder"] .product-page-section,
body[data-page="ai-automator"] .product-page-section,
body[data-page="patrol-doctor"] .product-page-section,
body[data-page="amen"] .product-page-section,
body[data-page="custom-systems"] .product-page-section {
  padding-block: clamp(22px, 2.7vw, 36px);
}

body[data-page="manai-builder"] .product-page-card,
body[data-page="ai-automator"] .product-page-card,
body[data-page="patrol-doctor"] .product-page-card,
body[data-page="amen"] .product-page-card,
body[data-page="custom-systems"] .product-page-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

body[data-page="manai-builder"] .product-preview-panel,
body[data-page="ai-automator"] .product-preview-panel,
body[data-page="patrol-doctor"] .product-preview-panel,
body[data-page="amen"] .product-preview-panel,
body[data-page="custom-systems"] .product-preview-panel {
  min-height: 0;
}

html[data-theme="dark"] body[data-page="manai-builder"] .product-page-visual,
html[data-theme="dark"] body[data-page="ai-automator"] .product-page-visual,
html[data-theme="dark"] body[data-page="patrol-doctor"] .product-page-visual,
html[data-theme="dark"] body[data-page="amen"] .product-page-visual,
html[data-theme="dark"] body[data-page="custom-systems"] .product-page-visual {
  border-color: rgba(0, 230, 255, 0.14);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] body[data-page="manai-builder"] .product-page-visual,
html[data-theme="light"] body[data-page="ai-automator"] .product-page-visual,
html[data-theme="light"] body[data-page="patrol-doctor"] .product-page-visual,
html[data-theme="light"] body[data-page="amen"] .product-page-visual,
html[data-theme="light"] body[data-page="custom-systems"] .product-page-visual {
  border-color: rgba(0, 118, 170, 0.22);
  box-shadow:
    0 28px 68px rgba(23, 46, 77, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  filter: saturate(1.06) contrast(1.04);
}

html[data-theme="light"] body[data-page="manai-builder"] .product-page-visual::after,
html[data-theme="light"] body[data-page="ai-automator"] .product-page-visual::after,
html[data-theme="light"] body[data-page="patrol-doctor"] .product-page-visual::after,
html[data-theme="light"] body[data-page="amen"] .product-page-visual::after,
html[data-theme="light"] body[data-page="custom-systems"] .product-page-visual::after {
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 158, 194, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 40%, rgba(23, 46, 77, 0.08));
  opacity: 0.6;
}

@media (min-width: 761px) and (max-width: 1024px) {
  body[data-page="manai-builder"] .page-hero-grid,
  body[data-page="ai-automator"] .page-hero-grid,
  body[data-page="patrol-doctor"] .page-hero-grid,
  body[data-page="amen"] .page-hero-grid,
  body[data-page="custom-systems"] .page-hero-grid {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    min-height: clamp(450px, 54vw, 540px);
    gap: 24px;
  }

  body[data-page="manai-builder"] .page-hero-copy h1,
  body[data-page="ai-automator"] .page-hero-copy h1,
  body[data-page="patrol-doctor"] .page-hero-copy h1,
  body[data-page="amen"] .page-hero-copy h1,
  body[data-page="custom-systems"] .page-hero-copy h1 {
    font-size: clamp(2.55rem, 5.2vw, 3.4rem);
  }

  body[data-page="manai-builder"] .product-page-visual,
  body[data-page="ai-automator"] .product-page-visual,
  body[data-page="patrol-doctor"] .product-page-visual,
  body[data-page="amen"] .product-page-visual,
  body[data-page="custom-systems"] .product-page-visual {
    min-height: clamp(300px, 39vw, 410px);
  }
}

@media (max-width: 760px) {
  body[data-page="manai-builder"] .page-hero-grid,
  body[data-page="ai-automator"] .page-hero-grid,
  body[data-page="patrol-doctor"] .page-hero-grid,
  body[data-page="amen"] .page-hero-grid,
  body[data-page="custom-systems"] .page-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
    padding: 20px;
  }

  body[data-page="manai-builder"] .page-hero-grid::before,
  body[data-page="ai-automator"] .page-hero-grid::before,
  body[data-page="patrol-doctor"] .page-hero-grid::before,
  body[data-page="amen"] .page-hero-grid::before,
  body[data-page="custom-systems"] .page-hero-grid::before {
    z-index: 0;
  }

  body[data-page="manai-builder"] .page-hero-copy,
  body[data-page="ai-automator"] .page-hero-copy,
  body[data-page="patrol-doctor"] .page-hero-copy,
  body[data-page="amen"] .page-hero-copy,
  body[data-page="custom-systems"] .page-hero-copy {
    position: relative;
    z-index: 2;
  }

  body[data-page="manai-builder"] .page-hero-copy h1,
  body[data-page="ai-automator"] .page-hero-copy h1,
  body[data-page="patrol-doctor"] .page-hero-copy h1,
  body[data-page="amen"] .page-hero-copy h1,
  body[data-page="custom-systems"] .page-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.12rem, 9vw, 2.72rem);
    line-height: 0.96;
  }

  body[data-page="manai-builder"] .page-hero-copy .hero-text,
  body[data-page="ai-automator"] .page-hero-copy .hero-text,
  body[data-page="patrol-doctor"] .page-hero-copy .hero-text,
  body[data-page="amen"] .page-hero-copy .hero-text,
  body[data-page="custom-systems"] .page-hero-copy .hero-text {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  body[data-page="manai-builder"] .product-page-visual,
  body[data-page="ai-automator"] .product-page-visual,
  body[data-page="patrol-doctor"] .product-page-visual,
  body[data-page="amen"] .product-page-visual,
  body[data-page="custom-systems"] .product-page-visual {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    min-height: clamp(180px, 52vw, 240px);
    opacity: 1;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }

  body[data-page="manai-builder"] .product-page-grid,
  body[data-page="ai-automator"] .product-page-grid,
  body[data-page="patrol-doctor"] .product-page-grid,
  body[data-page="amen"] .product-page-grid,
  body[data-page="custom-systems"] .product-page-grid {
    gap: 12px;
  }

  body[data-page="manai-builder"] .product-page-card,
  body[data-page="ai-automator"] .product-page-card,
  body[data-page="patrol-doctor"] .product-page-card,
  body[data-page="amen"] .product-page-card,
  body[data-page="custom-systems"] .product-page-card {
    min-height: 0;
    padding: 18px;
  }

  body[data-page="manai-builder"] .product-preview-panel,
  body[data-page="ai-automator"] .product-preview-panel,
  body[data-page="patrol-doctor"] .product-preview-panel,
  body[data-page="amen"] .product-preview-panel,
  body[data-page="custom-systems"] .product-preview-panel {
    gap: 16px;
  }
}

@media (max-width: 430px) {
  body[data-page="manai-builder"] .hero-actions,
  body[data-page="ai-automator"] .hero-actions,
  body[data-page="patrol-doctor"] .hero-actions,
  body[data-page="amen"] .hero-actions,
  body[data-page="custom-systems"] .hero-actions {
    grid-template-columns: 1fr;
  }
}

/* Future ManAI Builder app route: scoped static shell for /manaibuilder/. */
body[data-page="manai-builder"] .product-route-note {
  max-width: 34rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

body[data-page="manaibuilder"] .page-hero {
  padding-bottom: clamp(34px, 4vw, 58px);
}

body[data-page="manaibuilder"] .page-hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  min-height: clamp(500px, 37vw, 600px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

body[data-page="manaibuilder"] .page-hero-copy {
  max-width: 650px;
}

body[data-page="manaibuilder"] .page-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 5vw, 5.1rem);
  line-height: 0.92;
}

body[data-page="manaibuilder"] .manaibuilder-shell-text {
  max-width: 36rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

body[data-page="manaibuilder"] .manaibuilder-workspace-visual {
  display: grid;
  place-items: center;
  min-height: clamp(360px, 31vw, 480px);
  padding: clamp(18px, 2.5vw, 30px);
  border-radius: 24px;
  border-color: rgba(0, 230, 255, 0.16);
  background:
    radial-gradient(circle at 74% 20%, rgba(0, 230, 255, 0.18), transparent 32%),
    radial-gradient(circle at 20% 82%, rgba(124, 92, 255, 0.16), transparent 34%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(4, 10, 20, 0.9));
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.34);
}

body[data-page="manaibuilder"] .manaibuilder-workspace-frame {
  position: relative;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.08), transparent 36%),
    rgba(8, 20, 38, 0.86);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-page="manaibuilder"] .manaibuilder-workspace-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="manaibuilder"] .manaibuilder-workspace-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 230, 255, 0.48);
  box-shadow: 0 0 18px rgba(0, 230, 255, 0.16);
}

body[data-page="manaibuilder"] .manaibuilder-workspace-body {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

body[data-page="manaibuilder"] .manaibuilder-chat-line {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(0, 230, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(0, 230, 255, 0.14), rgba(124, 92, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
}

body[data-page="manaibuilder"] .manaibuilder-chat-line-system {
  width: 82%;
  margin-left: auto;
  border-color: rgba(124, 92, 255, 0.18);
}

body[data-page="manaibuilder"] .manaibuilder-builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="manaibuilder"] .manaibuilder-builder-grid span {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 230, 255, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-workspace-visual {
  border-color: rgba(0, 118, 170, 0.2);
  background:
    radial-gradient(circle at 74% 20%, rgba(0, 158, 194, 0.15), transparent 32%),
    radial-gradient(circle at 20% 82%, rgba(111, 85, 242, 0.11), transparent 34%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(221, 235, 249, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 28px 72px rgba(23, 46, 77, 0.18);
}

html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-workspace-frame {
  border-color: rgba(5, 17, 31, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), transparent 36%),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    0 22px 60px rgba(23, 46, 77, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-workspace-top {
  border-bottom-color: rgba(5, 17, 31, 0.1);
}

html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-chat-line,
html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-builder-grid span {
  border-color: rgba(0, 118, 170, 0.13);
  background:
    linear-gradient(90deg, rgba(0, 158, 194, 0.12), rgba(111, 85, 242, 0.06)),
    rgba(248, 251, 255, 0.72);
}

@media (max-width: 900px) {
  body[data-page="manaibuilder"] .page-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="manaibuilder"] .page-hero-grid {
    display: grid;
    gap: 18px;
    padding: 20px;
  }

  body[data-page="manaibuilder"] .page-hero-grid::before {
    z-index: 0;
  }

  body[data-page="manaibuilder"] .page-hero-copy {
    position: relative;
    z-index: 2;
  }

  body[data-page="manaibuilder"] .page-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  body[data-page="manaibuilder"] .manaibuilder-shell-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  body[data-page="manaibuilder"] .manaibuilder-workspace-visual {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    min-height: 240px;
    opacity: 1;
  }

  body[data-page="manaibuilder"] .manaibuilder-workspace-body {
    gap: 12px;
    padding: 16px;
  }

  body[data-page="manaibuilder"] .manaibuilder-chat-line {
    min-height: 42px;
  }

  body[data-page="manaibuilder"] .manaibuilder-builder-grid span {
    min-height: 58px;
  }
}

/* AI Automator only: show the product-flow asset as a clean contained screenshot. */
body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot {
  align-self: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 12 / 7;
  background-image:
    radial-gradient(circle at 72% 24%, rgba(0, 230, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(3, 8, 19, 0.94), rgba(6, 15, 28, 0.76));
  background-position: center;
  background-size: cover;
}

body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot::before {
  content: "";
  position: absolute;
  inset: clamp(8px, 1vw, 14px);
  z-index: 0;
  border-radius: calc(22px - 8px);
  background-image: url("assets/visuals/ai-automator-flow.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: saturate(1.04) contrast(1.04);
}

body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot::after {
  z-index: 1;
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 230, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%, rgba(0, 0, 0, 0.08));
  opacity: 0.56;
}

html[data-theme="light"] body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot {
  background-image:
    radial-gradient(circle at 72% 24%, rgba(0, 158, 194, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(238, 247, 255, 0.94), rgba(215, 231, 248, 0.82));
}

html[data-theme="light"] body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot::before {
  filter: saturate(1.07) contrast(1.05);
}

html[data-theme="light"] body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot::after {
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 158, 194, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 42%, rgba(23, 46, 77, 0.06));
  opacity: 0.48;
}

@media (min-width: 761px) and (max-width: 1024px) {
  body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot {
    aspect-ratio: 12 / 7;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot {
    aspect-ratio: 12 / 7;
    min-height: 0;
  }

  body[data-page="ai-automator"] .page-hero-visual.ai-automator-flow-slot::before {
    inset: 8px;
  }
}

/* Product visual differentiation: scoped asset framing and product-specific identity. */
body[data-title-key="meta.home.title"] .pb-visual-manai {
  background-color: rgba(7, 17, 31, 0.84);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 100% 100%, 92% auto;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-visual-manai {
  background-color: rgba(238, 247, 255, 0.92);
}

body[data-page="systems"] .systems-hero-asset-slot {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px);
  border-color: rgba(0, 230, 255, 0.18);
  background:
    radial-gradient(circle at 76% 18%, rgba(0, 230, 255, 0.18), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(124, 92, 255, 0.16), transparent 34%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(4, 10, 20, 0.9));
  background-position: center;
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -32px 70px rgba(0, 0, 0, 0.24),
    0 28px 80px rgba(0, 0, 0, 0.32);
}

body[data-page="systems"] .systems-hero-asset-slot::before,
body[data-page="systems"] .systems-hero-asset-slot::after {
  content: none;
}

body[data-page="systems"] .systems-hero-map {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  min-height: clamp(300px, 25vw, 382px);
  isolation: isolate;
}

body[data-page="systems"] .systems-map-core,
body[data-page="systems"] .systems-map-card,
body[data-page="systems"] .systems-map-line {
  position: absolute;
}

body[data-page="systems"] .systems-map-core {
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: clamp(126px, 11vw, 156px);
  height: clamp(54px, 5vw, 66px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 230, 255, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.16), rgba(124, 92, 255, 0.08)),
    rgba(6, 18, 33, 0.88);
  box-shadow:
    0 0 0 8px rgba(0, 230, 255, 0.035),
    0 18px 56px rgba(0, 0, 0, 0.28),
    0 0 42px rgba(0, 230, 255, 0.1);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="systems"] .systems-map-card {
  z-index: 3;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(43%, 196px);
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 20, 38, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

body[data-page="systems"] .systems-map-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 230, 255, 0.22), transparent 55%),
    rgba(0, 230, 255, 0.08);
  color: #00e6ff;
  box-shadow: inset 0 0 0 1px rgba(0, 230, 255, 0.18);
}

body[data-page="systems"] .systems-map-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="systems"] .systems-map-title {
  min-width: 0;
  color: var(--text);
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  font-weight: 800;
  line-height: 1.15;
}

body[data-page="systems"] .systems-map-card-manai {
  top: 5%;
  left: 3%;
}

body[data-page="systems"] .systems-map-card-automator {
  top: 5%;
  right: 3%;
}

body[data-page="systems"] .systems-map-card-patrol {
  bottom: 6%;
  left: 4%;
}

body[data-page="systems"] .systems-map-card-amen {
  bottom: 6%;
  right: 4%;
}

body[data-page="systems"] .systems-map-card-custom {
  top: 52%;
  left: 50%;
  width: min(46%, 212px);
  transform: translate(-50%, -50%);
}

body[data-page="systems"] .systems-map-line {
  z-index: 1;
  pointer-events: none;
  opacity: 0.72;
}

body[data-page="systems"] .systems-map-line-a {
  inset: 50% 16% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 255, 0.42), rgba(124, 92, 255, 0.32), transparent);
}

body[data-page="systems"] .systems-map-line-b {
  inset: 16% auto 16% 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(45, 124, 255, 0.38), rgba(0, 230, 255, 0.36), transparent);
}

body[data-page="systems"] .systems-map-line-c {
  inset: 19% 18%;
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 28px;
  box-shadow: inset 0 0 34px rgba(0, 230, 255, 0.04);
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot {
  border-color: rgba(0, 118, 170, 0.22);
  background:
    radial-gradient(circle at 76% 18%, rgba(0, 158, 194, 0.16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(111, 85, 242, 0.12), transparent 34%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(221, 235, 249, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -30px 70px rgba(79, 111, 145, 0.08),
    0 28px 74px rgba(23, 46, 77, 0.18);
}

html[data-theme="light"] body[data-page="systems"] .systems-map-core {
  border-color: rgba(0, 118, 170, 0.26);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.12), rgba(111, 85, 242, 0.08)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 8px rgba(0, 158, 194, 0.04),
    0 18px 46px rgba(23, 46, 77, 0.14),
    0 0 34px rgba(0, 158, 194, 0.1);
}

html[data-theme="light"] body[data-page="systems"] .systems-map-card {
  border-color: rgba(0, 83, 126, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.76)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 42px rgba(23, 46, 77, 0.13);
}

html[data-theme="light"] body[data-page="systems"] .systems-map-line-a {
  background: linear-gradient(90deg, transparent, rgba(0, 118, 170, 0.3), rgba(111, 85, 242, 0.22), transparent);
}

html[data-theme="light"] body[data-page="systems"] .systems-map-line-b {
  background: linear-gradient(180deg, transparent, rgba(45, 124, 255, 0.24), rgba(0, 118, 170, 0.26), transparent);
}

html[data-theme="light"] body[data-page="systems"] .systems-map-line-c {
  border-color: rgba(0, 118, 170, 0.11);
}

body[data-page="systems"] .systems-hero-asset-slot .asset-slot-media {
  display: none;
}

@media (max-width: 760px) {
  body[data-page="systems"] .page-hero-grid::before {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.82) 54%, rgba(7, 17, 31, 0.14) 100%);
  }

  html[data-theme="light"] body[data-page="systems"] .page-hero-grid::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.82) 54%, rgba(248, 251, 255, 0.16) 100%);
  }

  body[data-page="systems"] .page-hero-visual.systems-hero-asset-slot {
    right: 10px;
    bottom: 10px;
    width: min(78%, 316px);
    min-height: clamp(226px, 58vw, 270px);
    opacity: 0.9;
  }

  body[data-page="systems"] .systems-hero-asset-slot {
    padding: 12px;
  }

  body[data-page="systems"] .systems-hero-map {
    width: 100%;
    min-height: clamp(208px, 52vw, 246px);
  }

  body[data-page="systems"] .systems-map-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    width: min(45%, 160px);
    min-height: 58px;
    padding: 8px;
    border-radius: 14px;
  }

  body[data-page="systems"] .systems-map-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  body[data-page="systems"] .systems-map-icon svg {
    width: 20px;
    height: 20px;
  }

  body[data-page="systems"] .systems-map-core {
    width: 112px;
    height: 48px;
    font-size: 0.64rem;
  }

  body[data-page="systems"] .systems-map-title {
    font-size: 0.66rem;
  }
}

@media (max-width: 430px) {
  body[data-page="systems"] .page-hero-visual.systems-hero-asset-slot {
    width: min(82%, 312px);
    min-height: clamp(232px, 61vw, 256px);
  }

  body[data-page="systems"] .systems-hero-map {
    min-height: clamp(214px, 55vw, 234px);
  }

  body[data-page="systems"] .systems-map-core {
    width: 108px;
    height: 46px;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
  }

  body[data-page="systems"] .systems-map-card {
    width: 45%;
    min-height: 56px;
    padding: 8px;
  }

  body[data-page="systems"] .systems-map-card-custom {
    width: 50%;
  }

  body[data-page="systems"] .systems-map-title {
    font-size: 0.66rem;
  }
}

body[data-page="manai-builder"] .page-hero-visual.manai-builder-asset-slot {
  overflow: hidden;
  background-image:
    radial-gradient(circle at 70% 24%, rgba(0, 230, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(3, 8, 19, 0.94), rgba(6, 15, 28, 0.76));
  background-position: center;
  background-size: cover;
}

body[data-page="manai-builder"] .page-hero-visual.manai-builder-asset-slot::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.4vw, 18px);
  z-index: 0;
  border-radius: calc(22px - 8px);
  background-image: url("assets/visuals/manai-builder-panel.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: saturate(1.04) contrast(1.04);
}

html[data-theme="light"] body[data-page="manai-builder"] .page-hero-visual.manai-builder-asset-slot {
  background-image:
    radial-gradient(circle at 70% 24%, rgba(0, 158, 194, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(238, 247, 255, 0.94), rgba(215, 231, 248, 0.84));
}

body[data-page="amen"] .page-hero-visual.amen-voice-asset-slot,
body[data-page="patrol-doctor"] .page-hero-visual.patrol-diagnostic-asset-slot,
body[data-page="custom-systems"] .page-hero-visual.custom-systems-asset-slot {
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90% auto;
}

body[data-page="amen"] .page-hero-visual.amen-voice-asset-slot {
  background-image: url("assets/visuals/amen-voice-ai.svg");
}

body[data-page="patrol-doctor"] .page-hero-visual.patrol-diagnostic-asset-slot {
  background-image: url("assets/visuals/patrol-doctor-diagnostic.svg");
}

body[data-page="custom-systems"] .page-hero-visual.custom-systems-asset-slot {
  background-image: url("assets/visuals/custom-systems-layers.svg");
}

html[data-theme="light"] body[data-page="amen"] .page-hero-visual.amen-voice-asset-slot,
html[data-theme="light"] body[data-page="patrol-doctor"] .page-hero-visual.patrol-diagnostic-asset-slot,
html[data-theme="light"] body[data-page="custom-systems"] .page-hero-visual.custom-systems-asset-slot {
  background-color: rgba(238, 247, 255, 0.88);
  filter: saturate(1.08) contrast(1.05);
}

body[data-page="patrol-doctor"] .product-disclaimer {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  line-height: 1.35;
}

html[data-theme="light"] body[data-page="patrol-doctor"] .product-disclaimer {
  border-color: rgba(0, 118, 170, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="amen"] .amen-demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(22px, 3.6vw, 48px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 230, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.055), transparent 36%),
    rgba(7, 17, 31, 0.82);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

body[data-page="amen"] .amen-demo-copy h2 {
  max-width: 11ch;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 0.98;
}

body[data-page="amen"] .amen-demo-note,
body[data-page="amen"] .amen-demo-helper,
body[data-page="amen"] .amen-demo-status {
  color: var(--muted);
  font-size: 0.94rem;
}

body[data-page="amen"] .amen-demo-copy {
  position: relative;
  padding-top: 4px;
}

body[data-page="amen"] .amen-demo-copy::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 230, 255, 0.22) 0 3px, transparent 4px),
    linear-gradient(90deg, transparent 12px, rgba(0, 230, 255, 0.35) 13px 14px, transparent 15px),
    linear-gradient(90deg, transparent 22px, rgba(124, 92, 255, 0.35) 23px 24px, transparent 25px),
    linear-gradient(90deg, transparent 32px, rgba(0, 230, 255, 0.32) 33px 34px, transparent 35px),
    rgba(0, 230, 255, 0.075);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

body[data-page="amen"] .amen-demo-control {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.07), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

body[data-page="amen"] .amen-demo-control label {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

body[data-page="amen"] .amen-demo-control textarea,
body[data-page="amen"] .amen-demo-control select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: var(--text);
  background: rgba(5, 13, 24, 0.72);
  font: inherit;
}

body[data-page="amen"] .amen-demo-control textarea {
  min-height: 122px;
  resize: vertical;
  padding: 14px 15px;
}

body[data-page="amen"] .amen-demo-control select {
  min-height: 48px;
  padding: 0 14px;
}

body[data-page="amen"] .amen-demo-helper {
  margin: -2px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(0, 230, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 230, 255, 0.045);
  line-height: 1.45;
}

body[data-page="amen"] .amen-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

body[data-page="amen"] .amen-demo-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted-strong);
  font-weight: 700;
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-panel {
  border-color: rgba(0, 118, 170, 0.16);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 158, 194, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.07), transparent 36%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 70px rgba(23, 46, 77, 0.16);
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-control {
  border-color: rgba(5, 17, 31, 0.13);
  background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-control textarea,
html[data-theme="light"] body[data-page="amen"] .amen-demo-control select {
  border-color: rgba(5, 17, 31, 0.14);
  background: rgba(248, 251, 255, 0.9);
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-copy::before {
  border-color: rgba(0, 118, 170, 0.17);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 158, 194, 0.22) 0 3px, transparent 4px),
    linear-gradient(90deg, transparent 12px, rgba(0, 158, 194, 0.32) 13px 14px, transparent 15px),
    linear-gradient(90deg, transparent 22px, rgba(111, 85, 242, 0.3) 23px 24px, transparent 25px),
    linear-gradient(90deg, transparent 32px, rgba(0, 158, 194, 0.28) 33px 34px, transparent 35px),
    rgba(0, 158, 194, 0.07);
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-helper {
  border-color: rgba(0, 118, 170, 0.13);
  background: rgba(0, 158, 194, 0.06);
}

/* Platform only: balanced operating-model cards. */
body[data-page="platform"] .platform-model-panel {
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.14fr);
  gap: clamp(24px, 3.2vw, 42px);
}

body[data-page="platform"] .platform-model-copy {
  max-width: 520px;
}

body[data-page="platform"] .platform-model-rail {
  gap: 12px;
  align-items: stretch;
}

body[data-page="platform"] .platform-model-rail article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  min-height: 146px;
  padding: 16px 14px 15px;
  border-color: rgba(255, 255, 255, 0.085);
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 230, 255, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 17, 31, 0.74);
}

body[data-page="platform"] .platform-model-number {
  justify-self: start;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 860;
  letter-spacing: 0.12em;
}

body[data-page="platform"] .platform-model-icon {
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 32% 18%, rgba(0, 230, 255, 0.18), transparent 58%),
    rgba(0, 230, 255, 0.055);
  color: var(--cyan);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

body[data-page="platform"] .platform-model-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="platform"] .platform-model-rail strong {
  align-self: end;
  min-height: 2.35em;
  font-size: clamp(0.86rem, 0.92vw, 1rem);
  line-height: 1.16;
  text-wrap: balance;
}

html[data-theme="light"] body[data-page="platform"] .platform-model-rail article {
  border-color: rgba(5, 17, 31, 0.12);
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 158, 194, 0.105), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.68));
  box-shadow: 0 18px 44px rgba(23, 46, 77, 0.12);
}

html[data-theme="light"] body[data-page="platform"] .platform-model-icon {
  border-color: rgba(0, 118, 170, 0.16);
  background:
    radial-gradient(circle at 32% 18%, rgba(0, 158, 194, 0.18), transparent 58%),
    rgba(0, 158, 194, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 12px 28px rgba(23, 46, 77, 0.12);
}

@media (max-width: 1120px) {
  body[data-page="platform"] .platform-model-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="platform"] .platform-model-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  body[data-page="platform"] .platform-model-panel {
    gap: 18px;
    padding: 18px;
  }

  body[data-page="platform"] .platform-model-copy h2 {
    max-width: 17ch;
    font-size: clamp(1.85rem, 7vw, 2.22rem);
    line-height: 1;
  }

  body[data-page="platform"] .platform-model-copy p {
    max-width: 28rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  body[data-page="platform"] .platform-model-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(122px, 42%);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  body[data-page="platform"] .platform-model-rail article {
    flex: initial;
    min-height: 132px;
    padding: 14px 12px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  body[data-page="platform"] .platform-model-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  body[data-page="platform"] .platform-model-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 760px) {
  body[data-title-key="meta.home.title"] .pb-visual-manai {
    background-size: 100% 100%, 94% auto;
  }

  body[data-page="manai-builder"] .page-hero-visual.manai-builder-asset-slot::before {
    inset: 8px;
  }

  body[data-page="amen"] .page-hero-visual.amen-voice-asset-slot,
  body[data-page="patrol-doctor"] .page-hero-visual.patrol-diagnostic-asset-slot,
  body[data-page="custom-systems"] .page-hero-visual.custom-systems-asset-slot {
    background-size: 94% auto;
  }

  body[data-page="amen"] .amen-demo-panel {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 20px;
  }

  body[data-page="amen"] .amen-demo-copy h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  body[data-page="amen"] .amen-demo-control {
    padding: 16px;
  }

  body[data-page="amen"] .amen-demo-actions .button {
    flex: 1 1 150px;
  }
}

/* V2 scoped IA and interaction polish. */
body[data-page="systems"] a.systems-map-card {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

body[data-page="systems"] a.systems-map-card:hover,
body[data-page="systems"] a.systems-map-card:focus-visible {
  border-color: rgba(0, 230, 255, 0.28);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 52px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(0, 230, 255, 0.1);
}

body[data-page="systems"] a.systems-map-card-custom:hover,
body[data-page="systems"] a.systems-map-card-custom:focus-visible {
  transform: translate(-50%, calc(-50% - 2px));
}

html[data-theme="light"] body[data-page="systems"] a.systems-map-card:hover,
html[data-theme="light"] body[data-page="systems"] a.systems-map-card:focus-visible {
  border-color: rgba(0, 118, 170, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 46px rgba(23, 46, 77, 0.16),
    0 0 0 1px rgba(0, 118, 170, 0.08);
}

body[data-page="platform"] .platform-model-panel {
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.08fr) minmax(280px, 0.7fr);
}

body[data-page="platform"] .platform-layer-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  min-height: 146px;
  padding: 16px 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  color: inherit;
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 230, 255, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 17, 31, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 40px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

body[data-page="platform"] .platform-layer-card:hover,
body[data-page="platform"] .platform-layer-card:focus-visible,
body[data-page="platform"] .platform-layer-card.is-active {
  border-color: rgba(0, 230, 255, 0.28);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 58px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 230, 255, 0.08);
}

body[data-page="platform"] .platform-layer-detail,
body[data-page="platform"] .platform-knx-panel {
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 230, 255, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.055), transparent 42%),
    rgba(7, 17, 31, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 22px 56px rgba(0, 0, 0, 0.22);
}

body[data-page="platform"] .platform-layer-detail {
  min-height: 100%;
  padding: clamp(18px, 2.5vw, 28px);
  align-self: stretch;
}

body[data-page="platform"] .platform-layer-detail h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1;
}

body[data-page="platform"] .platform-layer-detail p:last-child,
body[data-page="platform"] .platform-knx-panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

body[data-page="platform"] .platform-knx-panel {
  padding: clamp(22px, 3.2vw, 36px);
}

body[data-page="platform"] .platform-knx-panel h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

html[data-theme="light"] body[data-page="platform"] .platform-layer-card {
  border-color: rgba(5, 17, 31, 0.12);
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 158, 194, 0.105), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.68));
  box-shadow: 0 18px 44px rgba(23, 46, 77, 0.12);
}

html[data-theme="light"] body[data-page="platform"] .platform-layer-card:hover,
html[data-theme="light"] body[data-page="platform"] .platform-layer-card:focus-visible,
html[data-theme="light"] body[data-page="platform"] .platform-layer-card.is-active {
  border-color: rgba(0, 118, 170, 0.26);
  box-shadow:
    0 20px 48px rgba(23, 46, 77, 0.16),
    0 0 0 1px rgba(0, 118, 170, 0.08);
}

html[data-theme="light"] body[data-page="platform"] .platform-layer-detail,
html[data-theme="light"] body[data-page="platform"] .platform-knx-panel {
  border-color: rgba(0, 118, 170, 0.15);
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 158, 194, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 56px rgba(23, 46, 77, 0.14);
}

body[data-page="about"] .about-visual-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
  min-height: clamp(330px, 34vw, 480px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 230, 255, 0.13), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(124, 92, 255, 0.12), transparent 34%),
    rgba(7, 17, 31, 0.74);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

body[data-page="about"] .about-visual-panel::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(0, 230, 255, 0.12);
  border-radius: 999px;
  transform: rotate(-12deg);
}

body[data-page="about"] .about-visual-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 20, 38, 0.76);
  font-weight: 800;
}

body[data-page="about"] .about-visual-node-main {
  grid-column: 1 / -1;
  min-height: 92px;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="about"] .about-approach-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-page="contact"] .contact-hero-card {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: clamp(280px, 28vw, 420px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 230, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.055), transparent 42%),
    rgba(7, 17, 31, 0.76);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

body[data-page="contact"] .contact-hero-card a {
  width: fit-content;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

html[data-theme="dark"] body[data-page="contact"] .contact-hero-card a {
  color: #e8f2ff;
  text-shadow: 0 0 22px rgba(0, 230, 255, 0.14);
}

body[data-page="contact"] .contact-hero-card a:hover,
body[data-page="contact"] .contact-hero-card a:focus-visible {
  color: var(--cyan);
}

body[data-page="contact"] .contact-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="contact"] .contact-topic-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  font-weight: 750;
}

html[data-theme="light"] body[data-page="about"] .about-visual-panel,
html[data-theme="light"] body[data-page="contact"] .contact-hero-card {
  border-color: rgba(0, 118, 170, 0.15);
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 158, 194, 0.11), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(111, 85, 242, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 70px rgba(23, 46, 77, 0.14);
}

html[data-theme="light"] body[data-page="about"] .about-visual-node,
html[data-theme="light"] body[data-page="contact"] .contact-topic-grid span {
  border-color: rgba(0, 83, 126, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1120px) {
  body[data-page="platform"] .platform-model-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .about-approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="platform"] .platform-layer-card {
    min-height: 132px;
    padding: 14px 12px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  body[data-page="platform"] .platform-layer-detail {
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }

  body[data-page="platform"] .platform-knx-panel {
    padding: 20px;
    border-radius: 20px;
  }

  body[data-page="about"] .about-visual-panel,
  body[data-page="contact"] .contact-hero-card {
    min-height: 260px;
    padding: 20px;
    border-radius: 22px;
  }

  body[data-page="about"] .about-approach-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="contact"] .contact-topic-grid span {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }
}

/* Targeted regression repair: scoped hero imagery, page-title scale, and systems spacing. */
body[data-title-key="meta.home.title"] .pb-hero-panel {
  position: relative;
  overflow: hidden;
}

body[data-title-key="meta.home.title"] .pb-hero-art {
  inset: 0;
  height: auto;
  opacity: 0.9;
  background-image:
    radial-gradient(circle at 76% 28%, rgba(0, 230, 255, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(2, 7, 17, 0.42), rgba(2, 7, 17, 0.08) 48%, rgba(2, 7, 17, 0.02)),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, auto 108%;
  background-position: center, center, 84% 50%;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art {
  background-image:
    radial-gradient(circle at 76% 28%, rgba(0, 158, 194, 0.13), transparent 24%),
    linear-gradient(90deg, rgba(242, 249, 255, 0.36), rgba(242, 249, 255, 0.08) 48%, rgba(242, 249, 255, 0.02)),
    url("assets/visuals/hero-mountain-light.webp");
}

@media (min-width: 981px) {
  body[data-title-key="meta.home.title"] .pb-hero-art {
    background-size: 100% 100%, 100% 100%, auto 112%;
    background-position: center, center, 86% 52%;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  body[data-title-key="meta.home.title"] .pb-hero-art {
    background-size: 100% 100%, 100% 100%, auto 110%;
    background-position: center, center, 78% 54%;
  }
}

@media (max-width: 760px) {
  body[data-title-key="meta.home.title"] .pb-hero-panel {
    height: clamp(462px, 121vw, 535px);
  }

  body[data-title-key="meta.home.title"] .pb-hero-art {
    inset: auto 0 0;
    height: 50%;
    opacity: 0.96;
    background-size: 100% 100%, 100% 100%, auto 112%;
    background-position: center, center, 74% 44%;
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy {
    min-height: 52%;
  }
}

@media (max-width: 430px) {
  body[data-title-key="meta.home.title"] .pb-hero-panel {
    height: 500px;
  }

  body[data-title-key="meta.home.title"] .pb-hero-art {
    height: 49%;
    background-size: 100% 100%, 100% 100%, auto 116%;
    background-position: center, center, 72% 48%;
  }
}

body[data-page="systems"] .page-hero-copy h1 {
  max-width: 11.4ch;
  font-size: clamp(2.75rem, 5vw, 4.85rem);
  line-height: 0.95;
}

body[data-page="about"] .page-hero-copy h1,
body[data-page="contact"] .page-hero-copy h1,
body[data-page="platform"] .page-hero-copy h1,
body[data-page="manaibuilder"] .page-hero-copy h1 {
  max-width: 11.8ch;
  font-size: clamp(2.75rem, 4.9vw, 4.75rem);
  line-height: 0.96;
}

body[data-product-page="true"] .page-hero-copy h1 {
  max-width: 11.8ch;
  font-size: clamp(2.75rem, 4.7vw, 4.5rem);
  line-height: 0.96;
}

html[lang="ro"] body[data-page="systems"] .page-hero-copy h1,
html[lang="ro"] body[data-page="about"] .page-hero-copy h1,
html[lang="ro"] body[data-page="contact"] .page-hero-copy h1,
html[lang="ro"] body[data-page="platform"] .page-hero-copy h1,
html[lang="ro"] body[data-page="manaibuilder"] .page-hero-copy h1,
html[lang="ro"] body[data-product-page="true"] .page-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 4.5vw, 4.35rem);
  line-height: 0.98;
}

body[data-page="about"] .page-hero {
  padding-top: clamp(42px, 5vw, 68px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

body[data-page="about"] .page-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: clamp(430px, 34vw, 540px);
}

body[data-page="about"] .page-hero-copy {
  max-width: 690px;
}

body[data-page="about"] .about-visual-panel {
  min-height: clamp(300px, 27vw, 410px);
  border-radius: 24px;
}

body[data-page="about"] .about-approach-grid article {
  min-height: 0;
}

body[data-page="systems"] .page-hero {
  padding-bottom: clamp(30px, 4vw, 52px);
}

body[data-page="systems"] .page-hero-grid {
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

body[data-page="systems"] .systems-ecosystem {
  padding-top: clamp(28px, 4vw, 54px);
}

body[data-page="systems"] .systems-ecosystem-panel {
  margin-top: 0;
}

body[data-page="systems"] .systems-catalog {
  padding-top: clamp(34px, 4.5vw, 58px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
}

body[data-page="systems"] .contact.section-band {
  padding-top: clamp(32px, 4vw, 54px);
}

@media (max-width: 1120px) {
  body[data-page="about"] .page-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.74fr);
  }
}

@media (max-width: 760px) {
  body[data-page="systems"] .page-hero,
  body[data-page="about"] .page-hero {
    padding-top: 18px;
    padding-bottom: 26px;
  }

  body[data-page="systems"] .page-hero-grid,
  body[data-page="about"] .page-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    overflow: hidden;
    padding: 20px;
  }

  body[data-page="systems"] .page-hero-grid::before,
  body[data-page="about"] .page-hero-grid::before {
    display: none;
  }

  body[data-page="systems"] .page-hero-copy h1,
  body[data-page="about"] .page-hero-copy h1,
  body[data-page="contact"] .page-hero-copy h1,
  body[data-page="platform"] .page-hero-copy h1,
  body[data-page="manaibuilder"] .page-hero-copy h1,
  body[data-product-page="true"] .page-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 8.7vw, 2.65rem);
    line-height: 0.98;
  }

  html[lang="ro"] body[data-page="systems"] .page-hero-copy h1,
  html[lang="ro"] body[data-page="about"] .page-hero-copy h1,
  html[lang="ro"] body[data-page="contact"] .page-hero-copy h1,
  html[lang="ro"] body[data-page="platform"] .page-hero-copy h1,
  html[lang="ro"] body[data-page="manaibuilder"] .page-hero-copy h1,
  html[lang="ro"] body[data-product-page="true"] .page-hero-copy h1 {
    max-width: 12.8ch;
    font-size: clamp(2rem, 8.2vw, 2.48rem);
  }

  body[data-page="systems"] .page-hero-visual.systems-hero-asset-slot {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: clamp(248px, 61vw, 304px);
    margin: 0;
    opacity: 1;
    box-shadow: var(--shadow);
  }

  body[data-page="systems"] .systems-ecosystem {
    padding-top: 26px;
  }

  body[data-page="systems"] .systems-catalog,
  body[data-page="systems"] .contact.section-band {
    padding-top: 28px;
  }

  body[data-page="about"] .about-visual-panel {
    min-height: 236px;
  }
}

/* V2.1 scoped polish: platform model, systems map, app-route clarity, Amen voice messaging. */
body[data-page="platform"] .platform-model-panel {
  position: relative;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 0.52fr) minmax(440px, 1fr) minmax(280px, 0.62fr);
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(26px, 4vw, 46px);
}

body[data-page="platform"] .platform-model-panel::before {
  content: "";
  position: absolute;
  inset: 8% 18% 10% 34%;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 44%, rgba(0, 230, 255, 0.13), transparent 28%),
    url("assets/visuals/platform-core.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto, min(72%, 460px) auto;
  filter: saturate(1.05) contrast(1.08);
  opacity: 0.2;
}

body[data-page="platform"] .platform-model-panel > * {
  position: relative;
  z-index: 1;
}

body[data-page="platform"] .platform-model-copy {
  align-self: center;
  max-width: 440px;
}

body[data-page="platform"] .platform-model-copy h2 {
  max-width: 13ch;
}

body[data-page="platform"] .platform-model-rail {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

body[data-page="platform"] .platform-model-rail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 255, 0.34), rgba(124, 92, 255, 0.26), transparent);
  box-shadow: 0 0 24px rgba(0, 230, 255, 0.11);
}

body[data-page="platform"] .platform-layer-card {
  position: relative;
  z-index: 1;
  min-height: 136px;
  padding: 14px 12px;
  border-color: rgba(0, 230, 255, 0.12);
  background:
    radial-gradient(circle at 70% 16%, rgba(0, 230, 255, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 15, 29, 0.82);
}

body[data-page="platform"] .platform-layer-card.is-active::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(0, 230, 255, 0.18),
    0 0 32px rgba(0, 230, 255, 0.1);
}

body[data-page="platform"] .platform-layer-detail {
  display: grid;
  align-content: center;
  align-self: center;
  min-height: clamp(210px, 19vw, 260px);
}

body[data-page="platform"] .platform-layer-detail h3 {
  max-width: 12ch;
}

html[data-theme="light"] body[data-page="platform"] .platform-model-panel::before {
  opacity: 0.16;
  filter: saturate(1.03) contrast(1.02);
}

html[data-theme="light"] body[data-page="platform"] .platform-model-rail::before {
  background: linear-gradient(90deg, transparent, rgba(0, 118, 170, 0.28), rgba(111, 85, 242, 0.2), transparent);
}

html[data-theme="light"] body[data-page="platform"] .platform-layer-card {
  border-color: rgba(0, 118, 170, 0.14);
  background:
    radial-gradient(circle at 70% 16%, rgba(0, 158, 194, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 246, 255, 0.72));
}

body[data-page="systems"] .systems-hero-asset-slot {
  position: relative;
  border-color: rgba(0, 230, 255, 0.2);
  background:
    radial-gradient(circle at 74% 18%, rgba(0, 230, 255, 0.18), transparent 29%),
    radial-gradient(circle at 22% 78%, rgba(124, 92, 255, 0.16), transparent 32%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    linear-gradient(135deg, rgba(6, 16, 30, 0.98), rgba(2, 7, 17, 0.92));
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

body[data-page="systems"] .systems-hero-asset-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 9, 20, 0.72), rgba(3, 9, 20, 0.08) 44%, rgba(3, 9, 20, 0.56)),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 70% 50%;
  background-size: 100% 100%, auto 116%;
  opacity: 0.28;
}

body[data-page="systems"] .systems-hero-asset-slot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 42%;
  pointer-events: none;
  clip-path: polygon(0 72%, 17% 54%, 32% 63%, 50% 38%, 66% 61%, 82% 46%, 100% 62%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(0, 230, 255, 0.1), rgba(124, 92, 255, 0.08));
  opacity: 0.8;
}

body[data-page="systems"] .systems-map-line-a,
body[data-page="systems"] .systems-map-line-b {
  opacity: 0.9;
  box-shadow: 0 0 20px rgba(0, 230, 255, 0.1);
}

body[data-page="systems"] .systems-map-line-c {
  border-color: rgba(0, 230, 255, 0.18);
  box-shadow:
    inset 0 0 42px rgba(0, 230, 255, 0.055),
    0 0 36px rgba(0, 230, 255, 0.045);
}

body[data-page="systems"] .systems-map-card {
  border-color: rgba(0, 230, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(5, 15, 29, 0.88);
}

body[data-page="systems"] .systems-map-card:hover .systems-map-icon,
body[data-page="systems"] .systems-map-card:focus-visible .systems-map-icon {
  box-shadow:
    inset 0 0 0 1px rgba(0, 230, 255, 0.24),
    0 0 24px rgba(0, 230, 255, 0.14);
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot::before {
  background:
    linear-gradient(90deg, rgba(245, 250, 255, 0.74), rgba(245, 250, 255, 0.08) 44%, rgba(245, 250, 255, 0.58)),
    url("assets/visuals/hero-mountain-light.webp");
  background-repeat: no-repeat;
  background-position: center, 70% 50%;
  background-size: 100% 100%, auto 116%;
  opacity: 0.34;
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot::after {
  background: linear-gradient(180deg, rgba(0, 158, 194, 0.09), rgba(111, 85, 242, 0.07));
}

  body[data-page="manaibuilder"] .manaibuilder-shell-hero .hero-text {
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(0, 230, 255, 0.055);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 760;
}

body[data-page="manaibuilder"] .manaibuilder-shell-text {
  max-width: 58ch;
}

html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-shell-hero .hero-text {
  border-color: rgba(0, 118, 170, 0.17);
  background: rgba(0, 158, 194, 0.065);
}

body[data-page="amen"] .amen-demo-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 230, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.06), transparent 48%),
    rgba(255, 255, 255, 0.035);
  line-height: 1.56;
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-note {
  border-color: rgba(0, 118, 170, 0.14);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.07), transparent 48%),
    rgba(255, 255, 255, 0.74);
}

@media (max-width: 1180px) {
  body[data-page="platform"] .platform-model-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="platform"] .platform-model-copy {
    max-width: 720px;
  }

  body[data-page="platform"] .platform-model-panel::before {
    inset: 18% 4% 18% 35%;
  }
}

@media (max-width: 760px) {
  body[data-page="platform"] .page-hero-copy,
  body[data-page="platform"] .platform-model-copy,
  body[data-page="platform"] .platform-layer-detail {
    max-width: 100%;
    min-width: 0;
  }

  body[data-page="platform"] .page-hero-copy p,
  body[data-page="platform"] .platform-model-copy p,
  body[data-page="platform"] .platform-layer-detail p {
    max-width: 30ch;
    overflow-wrap: anywhere;
  }

  body[data-page="platform"] .page-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 260px;
  }

  body[data-page="platform"] .page-hero .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="platform"] .platform-model-panel {
    padding: 18px;
  }

  body[data-page="platform"] .platform-model-rail {
    grid-auto-columns: minmax(124px, 41%);
  }

  body[data-page="platform"] .platform-layer-card {
    min-height: 126px;
  }

  body[data-page="systems"] .systems-hero-asset-slot::before {
    background-position: center, 65% 48%;
    background-size: 100% 100%, auto 122%;
    opacity: 0.24;
  }

body[data-page="manaibuilder"] .manaibuilder-shell-hero .hero-text {
    border-radius: 16px;
    line-height: 1.4;
  }
}

/* V2.2 premium polish: scoped motion, brand boards, and mobile refinement. */
@keyframes peakbyte-flow-drift {
  0% {
    background-position:
      0 0,
      0 0,
      center;
  }
  100% {
    background-position:
      72px 36px,
      -64px 32px,
      center;
  }
}

@keyframes peakbyte-soft-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.82;
    transform: translate3d(0, -1px, 0) scale(1.015);
  }
}

body[data-title-key="meta.home.title"] .pb-hero-panel {
  border-color: rgba(0, 230, 255, 0.22);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(0, 230, 255, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body[data-title-key="meta.home.title"] .pb-hero-art::before,
body[data-title-key="meta.home.title"] .pb-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body[data-title-key="meta.home.title"] .pb-hero-art::before {
  background:
    linear-gradient(118deg, transparent 38%, rgba(0, 230, 255, 0.16) 39%, transparent 40%),
    linear-gradient(62deg, transparent 54%, rgba(124, 92, 255, 0.13) 55%, transparent 56%),
    radial-gradient(circle at 79% 32%, rgba(0, 230, 255, 0.23), transparent 24%);
  background-size:
    190px 190px,
    230px 230px,
    auto;
  mix-blend-mode: screen;
  opacity: 0.5;
  mask-image: linear-gradient(90deg, transparent 34%, #000 62%, #000);
}

body[data-title-key="meta.home.title"] .pb-hero-art::after {
  inset: 5% 2% 0 42%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(0, 230, 255, 0.12), transparent 58%),
    linear-gradient(90deg, transparent, rgba(0, 230, 255, 0.11), transparent);
  filter: blur(0.2px);
  opacity: 0.62;
  transform: rotate(-9deg);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-panel {
  border-color: rgba(0, 118, 170, 0.24);
  box-shadow:
    0 32px 82px rgba(23, 46, 77, 0.2),
    0 0 0 1px rgba(0, 118, 170, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art::before {
  background:
    linear-gradient(118deg, transparent 38%, rgba(0, 118, 170, 0.15) 39%, transparent 40%),
    linear-gradient(62deg, transparent 54%, rgba(111, 85, 242, 0.12) 55%, transparent 56%),
    radial-gradient(circle at 79% 32%, rgba(0, 158, 194, 0.18), transparent 24%);
}

body[data-title-key="meta.home.title"] .pb-value-grid,
body[data-title-key="meta.home.title"] .pb-product-card,
body[data-title-key="meta.home.title"] .pb-spotlight-card,
body[data-title-key="meta.home.title"] .pb-panel {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

body[data-title-key="meta.home.title"] .pb-product-card:hover,
body[data-title-key="meta.home.title"] .pb-product-card:focus-visible,
body[data-title-key="meta.home.title"] .pb-spotlight-card:hover,
body[data-title-key="meta.home.title"] .pb-spotlight-card:focus-visible {
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(0, 230, 255, 0.08);
}

body[data-page="about"] .page-hero-grid {
  position: relative;
}

body[data-page="about"] .about-visual-panel {
  isolation: isolate;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-color: rgba(0, 230, 255, 0.18);
  background:
    linear-gradient(150deg, rgba(2, 7, 17, 0.22), transparent 46%),
    radial-gradient(circle at 72% 18%, rgba(0, 230, 255, 0.17), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(124, 92, 255, 0.15), transparent 36%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(7, 17, 31, 0.8);
  background-size:
    auto,
    auto,
    auto,
    44px 44px,
    44px 44px,
    auto;
}

body[data-page="about"] .about-visual-panel::before {
  inset: 12%;
  z-index: 0;
  border-color: rgba(0, 230, 255, 0.15);
  box-shadow:
    0 0 44px rgba(0, 230, 255, 0.07),
    inset 0 0 42px rgba(124, 92, 255, 0.045);
}

body[data-page="about"] .about-visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 9, 20, 0.48), rgba(3, 9, 20, 0.02) 50%, rgba(3, 9, 20, 0.36)),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 72% 48%;
  background-size: 100% 100%, auto 112%;
  opacity: 0.24;
}

body[data-page="about"] .about-visual-node {
  min-height: 82px;
  overflow: hidden;
  border-color: rgba(0, 230, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

body[data-page="about"] .about-visual-node::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 230, 255, 0.38);
}

body[data-page="about"] .about-visual-node-main {
  min-height: 104px;
  border-color: rgba(0, 230, 255, 0.28);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 230, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.13), rgba(124, 92, 255, 0.07)),
    rgba(5, 15, 29, 0.86);
  box-shadow:
    0 0 0 8px rgba(0, 230, 255, 0.035),
    0 26px 62px rgba(0, 0, 0, 0.26);
}

body[data-page="about"] .about-approach-grid article,
body[data-page="about"] .systems-ecosystem-grid article {
  border-color: rgba(0, 230, 255, 0.1);
}

html[data-theme="light"] body[data-page="about"] .about-visual-panel {
  border-color: rgba(0, 118, 170, 0.18);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.4), transparent 46%),
    radial-gradient(circle at 72% 18%, rgba(0, 158, 194, 0.16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(111, 85, 242, 0.11), transparent 36%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] body[data-page="about"] .about-visual-panel::after {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.58), rgba(248, 251, 255, 0.06) 50%, rgba(248, 251, 255, 0.42)),
    url("assets/visuals/hero-mountain-light.webp");
  background-repeat: no-repeat;
  background-position: center, 72% 48%;
  background-size: 100% 100%, auto 112%;
  opacity: 0.3;
}

html[data-theme="light"] body[data-page="about"] .about-visual-node-main {
  border-color: rgba(0, 118, 170, 0.26);
  background:
    radial-gradient(circle at 32% 24%, rgba(0, 158, 194, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.11), rgba(111, 85, 242, 0.07)),
    rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 0 8px rgba(0, 158, 194, 0.04),
    0 24px 54px rgba(23, 46, 77, 0.14);
}

body[data-page="systems"] .systems-hero-asset-slot {
  border-color: rgba(0, 230, 255, 0.22);
}

body[data-page="systems"] .systems-hero-asset-slot::before {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.66), rgba(2, 7, 17, 0.04) 42%, rgba(2, 7, 17, 0.42)),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 69% 48%;
  background-size: 100% 100%, auto 118%;
  opacity: 0.32;
}

body[data-page="systems"] .systems-hero-asset-slot::after {
  background:
    linear-gradient(115deg, transparent 36%, rgba(0, 230, 255, 0.13) 37%, transparent 39%),
    linear-gradient(65deg, transparent 58%, rgba(124, 92, 255, 0.12) 59%, transparent 61%);
  background-size: 170px 170px, 220px 220px;
  opacity: 0.38;
  clip-path: none;
}

body[data-page="systems"] .systems-map-core {
  width: clamp(134px, 11vw, 166px);
  border-color: rgba(0, 230, 255, 0.34);
}

body[data-page="systems"] .systems-map-card {
  border-color: rgba(0, 230, 255, 0.16);
}

body[data-page="systems"] .systems-ecosystem {
  padding-top: clamp(22px, 3.2vw, 42px);
}

body[data-page="systems"] .systems-ecosystem-panel {
  border-color: rgba(0, 230, 255, 0.11);
}

body[data-page="systems"] a.systems-map-card:hover,
body[data-page="systems"] a.systems-map-card:focus-visible {
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.12), rgba(124, 92, 255, 0.05)),
    rgba(8, 20, 38, 0.9);
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot::before {
  background:
    linear-gradient(90deg, rgba(245, 250, 255, 0.72), rgba(245, 250, 255, 0.08) 42%, rgba(245, 250, 255, 0.54)),
    url("assets/visuals/hero-mountain-light.webp");
  background-repeat: no-repeat;
  background-position: center, 69% 48%;
  background-size: 100% 100%, auto 118%;
  opacity: 0.38;
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot::after {
  background:
    linear-gradient(115deg, transparent 36%, rgba(0, 118, 170, 0.12) 37%, transparent 39%),
    linear-gradient(65deg, transparent 58%, rgba(111, 85, 242, 0.1) 59%, transparent 61%);
}

body[data-page="platform"] .platform-model-panel {
  align-items: stretch;
  border-color: rgba(0, 230, 255, 0.16);
}

body[data-page="platform"] .platform-model-panel::after {
  content: "";
  position: absolute;
  inset: 18% 24% 20% 28%;
  pointer-events: none;
  border: 1px solid rgba(0, 230, 255, 0.12);
  border-radius: 999px;
  transform: rotate(-7deg);
  box-shadow:
    0 0 52px rgba(0, 230, 255, 0.055),
    inset 0 0 52px rgba(124, 92, 255, 0.04);
}

body[data-page="platform"] .platform-model-copy {
  display: grid;
  align-content: center;
}

body[data-page="platform"] .platform-model-rail {
  align-self: center;
}

body[data-page="platform"] .platform-layer-card {
  isolation: isolate;
}

body[data-page="platform"] .platform-layer-card::before {
  content: "";
  position: absolute;
  inset: 10px 10px auto auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 230, 255, 0.42);
  box-shadow: 0 0 18px rgba(0, 230, 255, 0.22);
}

body[data-page="platform"] .platform-layer-card.is-active {
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 230, 255, 0.17), transparent 34%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.09), rgba(124, 92, 255, 0.04)),
    rgba(7, 17, 31, 0.82);
}

body[data-page="platform"] .platform-layer-detail {
  position: relative;
  overflow: hidden;
}

body[data-page="platform"] .platform-layer-detail::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 255, 0.14), transparent 64%);
  pointer-events: none;
}

html[data-theme="light"] body[data-page="platform"] .platform-model-panel {
  border-color: rgba(0, 118, 170, 0.16);
}

html[data-theme="light"] body[data-page="platform"] .platform-model-panel::after {
  border-color: rgba(0, 118, 170, 0.11);
  box-shadow:
    0 0 46px rgba(0, 118, 170, 0.055),
    inset 0 0 52px rgba(111, 85, 242, 0.035);
}

html[data-theme="light"] body[data-page="platform"] .platform-layer-card.is-active {
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 158, 194, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), rgba(111, 85, 242, 0.045)),
    rgba(255, 255, 255, 0.9);
}

body[data-page="manaibuilder"] .manaibuilder-workspace-visual {
  position: relative;
  overflow: hidden;
}

body[data-page="manaibuilder"] .manaibuilder-workspace-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 34%, rgba(0, 230, 255, 0.12) 35%, transparent 37%),
    radial-gradient(circle at 76% 22%, rgba(0, 230, 255, 0.2), transparent 28%);
  background-size: 220px 220px, auto;
  opacity: 0.55;
}

body[data-page="manaibuilder"] .manaibuilder-workspace-frame {
  z-index: 1;
}

body[data-page="manaibuilder"] .manaibuilder-shell-hero .hero-text {
  border-color: rgba(0, 230, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 230, 255, 0.035);
}

body[data-page="amen"] .amen-demo-panel {
  border-color: rgba(0, 230, 255, 0.16);
}

body[data-page="amen"] .amen-demo-copy::before {
  opacity: 0.9;
}

body[data-page="amen"] .amen-demo-note {
  border-color: rgba(0, 230, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.075), transparent 48%),
    linear-gradient(315deg, rgba(124, 92, 255, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

body[data-page="amen"] .amen-demo-helper {
  padding-left: 14px;
  border-left: 2px solid rgba(0, 230, 255, 0.28);
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-note {
  border-color: rgba(0, 118, 170, 0.17);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.085), transparent 48%),
    linear-gradient(315deg, rgba(111, 85, 242, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.8);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-title-key="meta.home.title"] .pb-hero-art::before,
  body[data-page="systems"] .systems-hero-asset-slot::after,
  body[data-page="manaibuilder"] .manaibuilder-workspace-visual::before {
    animation: peakbyte-flow-drift 18s linear infinite;
  }

  body[data-title-key="meta.home.title"] .pb-hero-art::after,
  body[data-page="about"] .about-visual-node-main,
  body[data-page="systems"] .systems-map-core,
  body[data-page="platform"] .platform-layer-card.is-active::after {
    animation: peakbyte-soft-pulse 7s ease-in-out infinite;
  }
}

@media (max-width: 1024px) {
  body[data-page="about"] .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.7fr);
    gap: 24px;
  }

  body[data-page="about"] .about-visual-panel {
    min-height: 310px;
    padding: 22px;
  }

  body[data-page="platform"] .platform-model-panel::after {
    inset: 32% 8% 18% 16%;
  }
}

@media (max-width: 760px) {
  body[data-page="about"] .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  body[data-page="about"] .page-hero-copy {
    max-width: 100%;
  }

  body[data-page="about"] .page-hero-copy h1 {
    max-width: 10.8ch;
    font-size: clamp(2rem, 8.2vw, 2.45rem);
    line-height: 1;
  }

  html[lang="ro"] body[data-page="about"] .page-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(1.92rem, 7.8vw, 2.34rem);
  }

  body[data-page="about"] .page-hero-copy .hero-text {
    max-width: 31ch;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  body[data-title-key="meta.home.title"] .pb-hero-panel {
    min-height: 0;
  }

  body[data-title-key="meta.home.title"] .pb-hero-copy {
    padding-top: 26px;
  }

  body[data-title-key="meta.home.title"] .pb-hero-art::before {
    mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000);
    opacity: 0.44;
  }

  body[data-page="about"] .about-visual-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 232px;
    gap: 10px;
  }

  body[data-page="about"] .about-visual-node {
    min-height: 58px;
    padding: 10px;
    border-radius: 15px;
    font-size: 0.78rem;
  }

  body[data-page="about"] .about-visual-node-main {
    min-height: 70px;
  }

  body[data-page="systems"] .systems-hero-asset-slot::before {
    background-position: center, 64% 48%;
    background-size: 100% 100%, auto 128%;
    opacity: 0.28;
  }

  body[data-page="systems"] .systems-ecosystem,
  body[data-page="systems"] .systems-catalog {
    padding-top: 24px;
  }

  body[data-page="platform"] .platform-model-panel::after {
    inset: 34% 4% 24% 4%;
    transform: rotate(-4deg);
  }

  body[data-page="platform"] .platform-layer-detail {
    display: grid;
    gap: 8px;
  }

  body[data-page="manaibuilder"] .manaibuilder-workspace-visual {
    min-height: 220px;
  }

  body[data-page="amen"] .amen-demo-note {
    padding: 12px 13px;
  }

  body[data-page="amen"] .amen-demo-helper {
    padding-left: 11px;
  }
}

@media (max-width: 430px) {
  body[data-page="about"] .about-visual-panel {
    min-height: 220px;
  }

  body[data-page="systems"] .systems-map-title {
    font-size: 0.62rem;
  }

  body[data-page="platform"] .platform-model-rail {
    grid-auto-columns: minmax(118px, 52%);
  }
}

/* V2.3 targeted polish: homepage flow, about board, KNX diagram, Amen voice controls. */
body[data-title-key="meta.home.title"] .pb-hero-panel {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.96) 0%, rgba(2, 7, 17, 0.88) 33%, rgba(2, 7, 17, 0.2) 66%, rgba(2, 7, 17, 0.72) 100%),
    radial-gradient(circle at 76% 32%, rgba(0, 230, 255, 0.18), transparent 34%),
    rgba(4, 11, 22, 0.96);
}

body[data-title-key="meta.home.title"] .pb-hero-art::before {
  background:
    radial-gradient(circle at 77% 26%, rgba(0, 230, 255, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 44%, rgba(47, 130, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 58%, rgba(116, 92, 255, 0.17) 0 2px, transparent 3px),
    linear-gradient(112deg, transparent 32%, rgba(0, 230, 255, 0.13) 33%, transparent 35%),
    linear-gradient(78deg, transparent 49%, rgba(47, 130, 255, 0.1) 50%, transparent 52%),
    linear-gradient(138deg, transparent 54%, rgba(116, 92, 255, 0.1) 55%, transparent 57%);
  background-size: auto, auto, auto, 340px 220px, 300px 190px, 380px 240px;
  background-position: center, center, center, 0 0, 30px 20px, -20px 10px;
  opacity: 0.42;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 76% 45%, #000 0 62%, transparent 82%);
}

body[data-title-key="meta.home.title"] .pb-hero-art::after {
  inset: 12% 0 5% 45%;
  border-radius: 0;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(0, 230, 255, 0.12) 25%, transparent 27% 100%),
    linear-gradient(150deg, transparent 0 34%, rgba(116, 92, 255, 0.1) 35%, transparent 37% 100%),
    radial-gradient(ellipse at 76% 42%, rgba(0, 230, 255, 0.16), transparent 58%);
  filter: none;
  opacity: 0.5;
  transform: none;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 82%, transparent);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-panel {
  border-color: rgba(0, 118, 170, 0.24);
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(237, 246, 255, 0.9) 33%, rgba(236, 246, 255, 0.28) 66%, rgba(230, 242, 255, 0.76) 100%),
    radial-gradient(circle at 76% 32%, rgba(0, 158, 194, 0.14), transparent 34%),
    rgba(241, 248, 255, 0.96);
  box-shadow:
    0 32px 82px rgba(23, 46, 77, 0.21),
    0 0 0 1px rgba(0, 118, 170, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art::before {
  background:
    radial-gradient(circle at 77% 26%, rgba(0, 118, 170, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 44%, rgba(47, 130, 255, 0.15) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 58%, rgba(111, 85, 242, 0.13) 0 2px, transparent 3px),
    linear-gradient(112deg, transparent 32%, rgba(0, 118, 170, 0.11) 33%, transparent 35%),
    linear-gradient(78deg, transparent 49%, rgba(47, 130, 255, 0.085) 50%, transparent 52%),
    linear-gradient(138deg, transparent 54%, rgba(111, 85, 242, 0.08) 55%, transparent 57%);
  opacity: 0.36;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art::after {
  opacity: 0.36;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(0, 118, 170, 0.1) 25%, transparent 27% 100%),
    linear-gradient(150deg, transparent 0 34%, rgba(111, 85, 242, 0.08) 35%, transparent 37% 100%),
    radial-gradient(ellipse at 76% 42%, rgba(0, 158, 194, 0.1), transparent 58%);
}

body[data-page="about"] .about-visual-panel[data-about-system-board] {
  display: block;
  min-height: clamp(360px, 34vw, 510px);
  padding: 0;
  background:
    linear-gradient(150deg, rgba(2, 7, 17, 0.3), transparent 48%),
    radial-gradient(circle at 50% 36%, rgba(0, 230, 255, 0.2), transparent 30%),
    radial-gradient(circle at 22% 82%, rgba(124, 92, 255, 0.15), transparent 36%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(6, 16, 30, 0.88);
  background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
}

body[data-page="about"] .about-visual-panel[data-about-system-board]::before {
  inset: 16% 12%;
  border-color: rgba(0, 230, 255, 0.16);
  transform: rotate(-10deg);
}

body[data-page="about"] .about-visual-panel[data-about-system-board]::after {
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(3, 9, 20, 0.52), rgba(3, 9, 20, 0.02) 50%, rgba(3, 9, 20, 0.42)),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 50% 42%;
  background-size: 100% 100%, auto 86%;
}

body[data-page="about"] .about-visual-core,
body[data-page="about"] .about-visual-node {
  position: absolute;
  z-index: 2;
}

body[data-page="about"] .about-visual-core {
  left: 50%;
  top: 45%;
  display: grid;
  gap: 9px;
  place-items: center;
  width: min(38%, 210px);
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(0, 230, 255, 0.24);
  border-radius: 24px;
  color: var(--cyan);
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 230, 255, 0.18), transparent 44%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.11), rgba(124, 92, 255, 0.06)),
    rgba(5, 15, 29, 0.9);
  box-shadow:
    0 0 0 10px rgba(0, 230, 255, 0.03),
    0 26px 62px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

body[data-page="about"] .about-visual-mark {
  width: 70px;
  height: 58px;
  background-image: url("assets/brand/peakbyte-mark-dark.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 118px auto;
  filter: drop-shadow(0 0 18px rgba(0, 230, 255, 0.34));
}

body[data-page="about"] .about-visual-node {
  display: grid;
  place-items: center;
  width: min(37%, 185px);
  min-height: 74px;
  padding: 13px;
  text-align: center;
}

body[data-page="about"] .about-visual-node-product { left: 8%; top: 16%; }
body[data-page="about"] .about-visual-node-automation { right: 8%; top: 16%; }
body[data-page="about"] .about-visual-node-testing { left: 8%; bottom: 16%; }
body[data-page="about"] .about-visual-node-systems { right: 8%; bottom: 16%; }

body[data-page="about"] .about-board-flow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(28deg, transparent 0 41%, rgba(0, 230, 255, 0.16) 42%, transparent 44% 100%),
    linear-gradient(152deg, transparent 0 39%, rgba(124, 92, 255, 0.13) 40%, transparent 42% 100%),
    linear-gradient(90deg, transparent 0 46%, rgba(0, 230, 255, 0.12) 47%, transparent 49% 100%);
  opacity: 0.58;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 70%, transparent 88%);
}

body[data-page="about"] .about-board-flow-b {
  transform: rotate(180deg);
  opacity: 0.34;
}

html[data-theme="light"] body[data-page="about"] .about-visual-panel[data-about-system-board] {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.48), transparent 48%),
    radial-gradient(circle at 50% 36%, rgba(0, 158, 194, 0.16), transparent 30%),
    radial-gradient(circle at 22% 82%, rgba(111, 85, 242, 0.1), transparent 36%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(250, 253, 255, 0.9);
  background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
}

html[data-theme="light"] body[data-page="about"] .about-visual-core {
  border-color: rgba(0, 118, 170, 0.22);
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 158, 194, 0.14), transparent 44%),
    linear-gradient(135deg, rgba(0, 158, 194, 0.1), rgba(111, 85, 242, 0.055)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 10px rgba(0, 158, 194, 0.035),
    0 24px 54px rgba(23, 46, 77, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] body[data-page="about"] .about-visual-mark {
  background-image: url("assets/brand/peakbyte-mark-light.webp");
  filter: drop-shadow(0 0 16px rgba(0, 118, 170, 0.2));
}

body[data-page="platform"] .platform-knx-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

body[data-page="platform"] .platform-knx-copy p:last-child {
  max-width: 62rem;
}

body[data-page="platform"] .platform-knx-diagram {
  position: relative;
  min-height: clamp(260px, 23vw, 360px);
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 230, 255, 0.16), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(124, 92, 255, 0.12), transparent 30%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(4, 13, 25, 0.72);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

body[data-page="platform"] .knx-core,
body[data-page="platform"] .knx-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 13px;
  border: 1px solid rgba(0, 230, 255, 0.15);
  border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.08), rgba(124, 92, 255, 0.035)),
    rgba(8, 20, 38, 0.84);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

body[data-page="platform"] .knx-core {
  left: 50%;
  top: 50%;
  width: 138px;
  height: 72px;
  color: var(--cyan);
  border-color: rgba(0, 230, 255, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

body[data-page="platform"] .knx-node-context { left: 8%; top: 13%; width: 34%; }
body[data-page="platform"] .knx-node-approvals { right: 8%; top: 13%; width: 34%; }
body[data-page="platform"] .knx-node-automation { left: 8%; bottom: 13%; width: 34%; }
body[data-page="platform"] .knx-node-actions { right: 8%; bottom: 13%; width: 34%; }

body[data-page="platform"] .knx-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.64;
}

body[data-page="platform"] .knx-line-a {
  inset: 50% 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 255, 0.42), rgba(124, 92, 255, 0.3), transparent);
}

body[data-page="platform"] .knx-line-b {
  inset: 13% auto 13% 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 230, 255, 0.32), rgba(124, 92, 255, 0.24), transparent);
}

body[data-page="platform"] .knx-line-c {
  inset: 20% 20%;
  border: 1px solid rgba(0, 230, 255, 0.11);
  border-radius: 999px;
  transform: rotate(-7deg);
}

html[data-theme="light"] body[data-page="platform"] .platform-knx-diagram {
  border-color: rgba(0, 118, 170, 0.14);
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 158, 194, 0.13), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(111, 85, 242, 0.08), transparent 30%),
    linear-gradient(var(--mountain-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--mountain-grid-b) 1px, transparent 1px),
    rgba(248, 252, 255, 0.8);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

html[data-theme="light"] body[data-page="platform"] .knx-core,
html[data-theme="light"] body[data-page="platform"] .knx-node {
  border-color: rgba(0, 118, 170, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), rgba(111, 85, 242, 0.04)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(23, 46, 77, 0.12);
}

body[data-page="amen"] .amen-demo-control select[data-amen-demo-voice] {
  border-color: rgba(0, 230, 255, 0.14);
}

body[data-page="amen"] .amen-demo-sample-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(0, 230, 255, 0.12);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(0, 230, 255, 0.045);
  font-size: 0.9rem;
  line-height: 1.48;
}

html[data-theme="light"] body[data-page="amen"] .amen-demo-sample-note {
  border-color: rgba(0, 118, 170, 0.13);
  background: rgba(0, 158, 194, 0.055);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-page="about"] .about-board-flow,
  body[data-page="platform"] .knx-line-a,
  body[data-page="platform"] .knx-line-b {
    animation: peakbyte-flow-drift 20s linear infinite;
  }
}

@media (max-width: 900px) {
  body[data-page="platform"] .platform-knx-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-title-key="meta.home.title"] .pb-hero-art::before {
    opacity: 0.36;
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 82%, transparent);
  }

  body[data-title-key="meta.home.title"] .pb-hero-art::after {
    inset: 24% 0 4% 22%;
    opacity: 0.36;
  }

  body[data-page="about"] .about-visual-panel[data-about-system-board] {
    min-height: 276px;
    border-radius: 22px;
  }

  body[data-page="about"] .about-visual-core {
    width: 136px;
    min-height: 78px;
    padding: 10px;
    border-radius: 18px;
    font-size: 0.66rem;
  }

  body[data-page="about"] .about-visual-mark {
    width: 54px;
    height: 42px;
    background-size: 88px auto;
  }

  body[data-page="about"] .about-visual-node {
    width: 38%;
    min-height: 52px;
    padding: 9px;
    border-radius: 14px;
    font-size: 0.72rem;
  }

  body[data-page="about"] .about-visual-node-product,
  body[data-page="about"] .about-visual-node-automation { top: 12%; }
  body[data-page="about"] .about-visual-node-testing,
  body[data-page="about"] .about-visual-node-systems { bottom: 12%; }
  body[data-page="about"] .about-visual-node-product,
  body[data-page="about"] .about-visual-node-testing { left: 6%; }
  body[data-page="about"] .about-visual-node-automation,
  body[data-page="about"] .about-visual-node-systems { right: 6%; }

  body[data-page="platform"] .platform-knx-diagram {
    min-height: 250px;
  }

  body[data-page="platform"] .knx-core {
    width: 118px;
    height: 62px;
    font-size: 0.68rem;
  }

  body[data-page="platform"] .knx-node {
    width: 39%;
    min-height: 48px;
    padding: 8px;
    font-size: 0.68rem;
  }

  body[data-page="amen"] .amen-demo-sample-note {
    padding: 11px 12px;
    font-size: 0.86rem;
  }
}

/* V24 clean asset-led pass: existing public imagery, editorial panels, no generated boards. */
body[data-title-key="meta.home.title"] .pb-hero-art::before {
  opacity: 0.18;
}

body[data-title-key="meta.home.title"] .pb-hero-art::after {
  opacity: 0.22;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] {
  background:
    radial-gradient(circle at 76% 14%, rgba(0, 158, 194, 0.12), transparent 32%),
    linear-gradient(180deg, #eaf4ff 0%, #f7fbff 42%, #e9f3ff 100%);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-panel {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0 43%, rgba(235, 245, 255, 0.58) 62%, rgba(221, 237, 252, 0.72) 100%),
    rgba(242, 248, 255, 0.96);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art {
  filter: saturate(1.06) contrast(1.06);
  opacity: 0.97;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art::before,
html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-art::after {
  opacity: 0.08;
}

body[data-page="about"] .about-clean-visual {
  position: relative;
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto;
  gap: clamp(14px, 2vw, 20px);
  min-height: clamp(390px, 34vw, 520px);
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(2, 7, 17, 0.82) 0%, rgba(2, 7, 17, 0.36) 42%, rgba(2, 7, 17, 0.76) 100%),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 68% 48%;
  background-size: 100% 100%, auto 104%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 82px rgba(0, 0, 0, 0.34);
}

body[data-page="about"] .about-clean-visual::before,
body[data-page="about"] .about-clean-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-page="about"] .about-clean-visual::before {
  inset: 0;
  background:
    radial-gradient(circle at 70% 28%, rgba(0, 230, 255, 0.2), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(2, 7, 17, 0.48) 100%);
}

body[data-page="about"] .about-clean-visual::after {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 22px;
}

body[data-page="about"] .about-clean-media,
body[data-page="about"] .about-capability-grid {
  position: relative;
  z-index: 2;
}

body[data-page="about"] .about-clean-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  min-height: 220px;
}

body[data-page="about"] .about-clean-mark {
  width: clamp(86px, 9vw, 136px);
  height: clamp(68px, 7vw, 104px);
  background-image: url("assets/brand/peakbyte-mark-dark.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 28px rgba(0, 230, 255, 0.24));
}

body[data-page="about"] .about-clean-brand {
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

body[data-page="about"] .about-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="about"] .about-capability-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.09), rgba(124, 92, 255, 0.04)),
    rgba(5, 15, 29, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  font-weight: 850;
}

body[data-page="about"] .about-approach-grid article {
  min-height: 190px;
}

html[data-theme="light"] body[data-page="about"] .about-clean-visual {
  border-color: rgba(0, 118, 170, 0.18);
  background:
    linear-gradient(145deg, rgba(250, 253, 255, 0.94) 0%, rgba(240, 248, 255, 0.42) 44%, rgba(228, 241, 253, 0.8) 100%),
    url("assets/visuals/hero-mountain-light.webp");
  background-repeat: no-repeat;
  background-position: center, 68% 48%;
  background-size: 100% 100%, auto 104%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 28px 74px rgba(23, 46, 77, 0.16);
}

html[data-theme="light"] body[data-page="about"] .about-clean-visual::before {
  background:
    radial-gradient(circle at 70% 28%, rgba(0, 158, 194, 0.16), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(238, 247, 255, 0.58) 100%);
}

html[data-theme="light"] body[data-page="about"] .about-clean-mark {
  background-image: url("assets/brand/peakbyte-mark-light.webp");
  filter: drop-shadow(0 0 22px rgba(0, 118, 170, 0.18));
}

html[data-theme="light"] body[data-page="about"] .about-clean-brand {
  color: #061320;
}

html[data-theme="light"] body[data-page="about"] .about-capability-grid span {
  border-color: rgba(0, 83, 126, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.09), rgba(111, 85, 242, 0.04)),
    rgba(255, 255, 255, 0.82);
}

body[data-page="systems"] .systems-hero-asset-slot {
  display: block;
  padding: clamp(14px, 2vw, 22px);
  overflow: hidden;
  border-color: rgba(0, 230, 255, 0.16);
  background:
    radial-gradient(circle at 76% 24%, rgba(0, 230, 255, 0.14), transparent 32%),
    rgba(4, 13, 25, 0.88);
}

body[data-page="systems"] .systems-asset-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 14px;
  min-height: clamp(350px, 31vw, 460px);
}

body[data-page="systems"] .systems-asset-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  background: rgba(7, 17, 31, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 24px 56px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body[data-page="systems"] .systems-asset-panel:hover,
body[data-page="systems"] .systems-asset-panel:focus-visible {
  border-color: rgba(0, 230, 255, 0.34);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 28px 68px rgba(0, 0, 0, 0.3);
}

body[data-page="systems"] .systems-asset-panel-manai {
  grid-row: 1 / span 2;
}

body[data-page="systems"] .systems-asset-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.01);
}

body[data-page="systems"] .systems-asset-panel-manai .systems-asset-image {
  background-image:
    linear-gradient(180deg, rgba(3, 9, 20, 0.06), rgba(3, 9, 20, 0.68)),
    url("assets/visuals/manai-builder-panel.webp");
}

body[data-page="systems"] .systems-asset-panel-automator .systems-asset-image {
  background-image:
    linear-gradient(180deg, rgba(3, 9, 20, 0.02), rgba(3, 9, 20, 0.66)),
    url("assets/visuals/ai-automator-flow.webp");
}

body[data-page="systems"] .systems-asset-panel-platform .systems-asset-image {
  background-image:
    linear-gradient(180deg, rgba(3, 9, 20, 0.02), rgba(3, 9, 20, 0.66)),
    url("assets/visuals/platform-core.webp");
}

body[data-page="systems"] .systems-asset-label {
  position: relative;
  z-index: 1;
  margin: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 13, 25, 0.72);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

body[data-page="systems"] .pb-product-card {
  min-height: 268px;
}

html[data-theme="light"] body[data-page="systems"] .systems-hero-asset-slot {
  border-color: rgba(0, 118, 170, 0.17);
  background:
    radial-gradient(circle at 76% 24%, rgba(0, 158, 194, 0.12), transparent 32%),
    rgba(247, 251, 255, 0.9);
}

html[data-theme="light"] body[data-page="systems"] .systems-asset-panel {
  border-color: rgba(0, 83, 126, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 56px rgba(23, 46, 77, 0.14);
}

html[data-theme="light"] body[data-page="systems"] .systems-asset-image {
  filter: saturate(0.98) contrast(0.99);
}

body[data-page="platform"] .platform-model-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  grid-template-areas:
    "copy asset"
    "rail detail";
  gap: clamp(18px, 2.8vw, 34px);
  align-items: stretch;
}

body[data-page="platform"] .platform-model-copy {
  grid-area: copy;
}

body[data-page="platform"] .platform-model-asset {
  grid-area: asset;
  min-height: clamp(270px, 24vw, 390px);
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 74% 24%, rgba(0, 230, 255, 0.12), transparent 32%),
    rgba(4, 13, 25, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 26px 68px rgba(0, 0, 0, 0.28);
}

body[data-page="platform"] .platform-model-asset span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-image:
    linear-gradient(135deg, rgba(3, 9, 20, 0.04), rgba(3, 9, 20, 0.28)),
    url("assets/visuals/platform-core.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(1.04) contrast(1.04);
}

body[data-page="platform"] .platform-model-rail {
  grid-area: rail;
  align-self: stretch;
}

body[data-page="platform"] .platform-layer-detail {
  grid-area: detail;
}

body[data-page="platform"] .platform-layer-card,
body[data-page="platform"] .platform-layer-card:nth-child(n) {
  min-height: 68px;
  grid-template-rows: none;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

body[data-page="platform"] .platform-layer-detail {
  min-height: 210px;
}

body[data-page="platform"] .platform-knx-panel {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

body[data-page="platform"] .platform-knx-summary {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: clamp(260px, 24vw, 360px);
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(0, 230, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(3, 9, 20, 0.22), rgba(3, 9, 20, 0.72)),
    url("assets/visuals/platform-core.webp");
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 100% 100%, cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 26px 68px rgba(0, 0, 0, 0.28);
}

body[data-page="platform"] .platform-knx-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(0, 230, 255, 0.18), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(3, 9, 20, 0.42) 100%);
  pointer-events: none;
}

body[data-page="platform"] .platform-knx-badge,
body[data-page="platform"] .platform-knx-points {
  position: relative;
  z-index: 1;
}

body[data-page="platform"] .platform-knx-badge {
  align-self: end;
  width: fit-content;
  padding: 11px 14px;
  border: 1px solid rgba(0, 230, 255, 0.28);
  border-radius: 999px;
  color: #00e6ff;
  background: rgba(4, 13, 25, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

body[data-page="platform"] .platform-knx-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

body[data-page="platform"] .platform-knx-points span,
body[data-page="platform"] .platform-knx-note,
body[data-page="manaibuilder"] .manaibuilder-preview-list span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.08), rgba(124, 92, 255, 0.04)),
    rgba(6, 18, 33, 0.76);
}

body[data-page="platform"] .platform-knx-points span {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 13px;
  border-radius: 15px;
  font-weight: 850;
}

body[data-page="platform"] .platform-knx-note {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 10px 13px;
  border-color: rgba(0, 230, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

html[data-theme="light"] body[data-page="platform"] .platform-model-asset,
html[data-theme="light"] body[data-page="platform"] .platform-knx-summary {
  border-color: rgba(0, 118, 170, 0.16);
  background-color: rgba(246, 251, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 58px rgba(23, 46, 77, 0.14);
}

html[data-theme="light"] body[data-page="platform"] .platform-model-asset span {
  filter: saturate(0.98) contrast(0.98);
}

html[data-theme="light"] body[data-page="platform"] .platform-knx-summary {
  background:
    linear-gradient(135deg, rgba(246, 251, 255, 0.12), rgba(246, 251, 255, 0.76)),
    url("assets/visuals/platform-core.webp");
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 100% 100%, cover;
}

html[data-theme="light"] body[data-page="platform"] .platform-knx-summary::before {
  background:
    radial-gradient(circle at 72% 24%, rgba(0, 158, 194, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(246, 251, 255, 0.08) 0%, rgba(246, 251, 255, 0.68) 100%);
}

html[data-theme="light"] body[data-page="platform"] .platform-knx-badge,
html[data-theme="light"] body[data-page="platform"] .platform-knx-points span,
html[data-theme="light"] body[data-page="platform"] .platform-knx-note,
html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-preview-list span {
  border-color: rgba(0, 83, 126, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.08), rgba(111, 85, 242, 0.04)),
    rgba(255, 255, 255, 0.82);
}

body[data-page="manaibuilder"] .manaibuilder-preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 38rem;
  margin: 22px 0 0;
}

body[data-page="manaibuilder"] .manaibuilder-preview-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

body[data-page="manaibuilder"] .manaibuilder-workspace-visual {
  padding: clamp(14px, 2.2vw, 22px);
}

body[data-page="manaibuilder"] .manaibuilder-product-preview {
  width: 100%;
  min-height: clamp(320px, 29vw, 450px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background-image:
    linear-gradient(180deg, rgba(3, 9, 20, 0.04), rgba(3, 9, 20, 0.36)),
    url("assets/visuals/manai-builder-panel.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 24px 60px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] body[data-page="manaibuilder"] .manaibuilder-product-preview {
  border-color: rgba(0, 83, 126, 0.12);
  filter: saturate(0.98) contrast(0.99);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 58px rgba(23, 46, 77, 0.14);
}

body[data-page="amen"] .amen-demo-panel {
  align-items: start;
}

body[data-page="amen"] .amen-demo-control {
  gap: 12px;
}

body[data-page="amen"] .amen-demo-helper,
body[data-page="amen"] .amen-demo-sample-note {
  max-width: 100%;
}

body[data-page="contact"] .contact-hero-card {
  border-color: rgba(0, 230, 255, 0.18);
  background:
    radial-gradient(circle at 76% 18%, rgba(0, 230, 255, 0.11), transparent 32%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.06), rgba(124, 92, 255, 0.035)),
    rgba(5, 15, 29, 0.82);
}

body[data-page="contact"] .contact-hero-card a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(0, 230, 255, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.12), rgba(124, 92, 255, 0.07)),
    rgba(0, 230, 255, 0.055);
  color: #ffffff;
}

@media (max-width: 1120px) {
  body[data-page="platform"] .platform-model-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "asset"
      "rail"
      "detail";
  }

  body[data-page="platform"] .platform-knx-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="about"] .about-clean-visual {
    min-height: 360px;
    border-radius: 24px;
    background-size: 100% 100%, auto 100%;
  }

  body[data-page="about"] .about-capability-grid,
  body[data-page="platform"] .platform-knx-points,
  body[data-page="manaibuilder"] .manaibuilder-preview-list {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .about-capability-grid span,
  body[data-page="platform"] .platform-knx-points span,
  body[data-page="manaibuilder"] .manaibuilder-preview-list span {
    min-height: 46px;
  }

  body[data-page="systems"] .page-hero-grid {
    display: grid;
  }

  body[data-page="systems"] .page-hero-visual.systems-hero-asset-slot {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    opacity: 1;
  }

  body[data-page="systems"] .systems-asset-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  body[data-page="systems"] .systems-asset-panel,
  body[data-page="systems"] .systems-asset-panel-manai {
    grid-row: auto;
    min-height: 170px;
  }

  body[data-page="platform"] .platform-model-asset,
  body[data-page="platform"] .platform-knx-summary {
    min-height: 245px;
    border-radius: 20px;
  }

  body[data-page="platform"] .platform-layer-card,
  body[data-page="platform"] .platform-layer-card:nth-child(n) {
    min-height: 58px;
  }

  body[data-page="manaibuilder"] .manaibuilder-product-preview {
    min-height: 255px;
  }

  body[data-page="contact"] .contact-hero-card a {
    width: 100%;
    justify-content: center;
    font-size: clamp(1rem, 4.4vw, 1.18rem);
  }
}

/* P1 fix: keep the platform layer selector readable in the clean two-row model. */
body[data-page="platform"] .platform-model-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: visible;
  padding-bottom: 0;
  scrollbar-width: auto;
}

body[data-page="platform"] .platform-layer-card,
body[data-page="platform"] .platform-layer-card:nth-child(n) {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  text-align: left;
}

body[data-page="platform"] .platform-layer-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 760px) {
  body[data-page="platform"] .platform-model-rail {
    overflow: visible;
  }
}

/* Overnight visual sprint loop 1: reduce board-like compositions and repair mobile framing. */
body[data-title-key="meta.home.title"] .pb-hero-art::before {
  opacity: 0.1;
}

body[data-title-key="meta.home.title"] .pb-hero-art::after {
  opacity: 0.12;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-panel {
  background:
    linear-gradient(90deg, rgba(249, 252, 255, 0.99) 0 45%, rgba(232, 243, 254, 0.64) 64%, rgba(215, 233, 250, 0.8) 100%),
    rgba(241, 248, 255, 0.98);
}

body[data-page="about"] .about-clean-visual {
  grid-template-rows: minmax(190px, 1fr) auto;
  min-height: clamp(340px, 29vw, 440px);
  padding: clamp(18px, 2.4vw, 26px);
  background-position: center, 72% 50%;
  background-size: 100% 100%, cover;
}

body[data-page="about"] .about-clean-visual::before {
  background:
    radial-gradient(circle at 68% 30%, rgba(0, 230, 255, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.06) 0%, rgba(2, 7, 17, 0.62) 100%);
}

body[data-page="about"] .about-clean-visual::after {
  inset: 14px;
  border-color: rgba(255, 255, 255, 0.055);
}

body[data-page="about"] .about-clean-media {
  min-height: 170px;
  justify-content: flex-end;
}

body[data-page="about"] .about-capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="about"] .about-capability-grid span {
  min-height: 44px;
  justify-content: center;
  padding: 10px 9px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.075), rgba(124, 92, 255, 0.035)),
    rgba(5, 15, 29, 0.58);
  font-size: 0.78rem;
  text-align: center;
}

body[data-page="systems"] .systems-hero-asset-slot {
  padding: clamp(12px, 1.7vw, 18px);
  background:
    radial-gradient(circle at 74% 24%, rgba(0, 230, 255, 0.11), transparent 32%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.045), transparent 44%),
    rgba(4, 13, 25, 0.9);
}

body[data-page="systems"] .systems-hero-asset-slot::before,
body[data-page="systems"] .systems-hero-asset-slot::after {
  opacity: 0;
}

body[data-page="systems"] .systems-asset-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 12px;
  min-height: clamp(280px, 24vw, 350px);
}

body[data-page="systems"] .systems-asset-panel,
body[data-page="systems"] .systems-asset-panel-manai {
  grid-row: auto;
  min-height: clamp(280px, 24vw, 350px);
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 230, 255, 0.08), transparent 36%),
    rgba(5, 14, 27, 0.9);
}

body[data-page="systems"] .systems-asset-image {
  inset: 12px;
  border-radius: 16px;
  background-size: contain;
  background-color: rgba(2, 7, 17, 0.6);
  transform: none;
}

body[data-page="systems"] .systems-asset-label {
  margin: 12px;
  padding: 9px 11px;
  font-size: 0.74rem;
}

body[data-page="platform"] .platform-model-panel::before {
  opacity: 0.08;
}

body[data-page="platform"] .platform-model-panel::after,
body[data-page="platform"] .platform-model-rail::before,
body[data-page="platform"] .platform-layer-card::before {
  content: none;
}

body[data-page="platform"] .platform-model-rail {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: 1fr;
}

body[data-page="platform"] .platform-layer-card,
body[data-page="platform"] .platform-layer-card:nth-child(n) {
  grid-template-columns: auto auto minmax(0, 1fr);
  min-height: 60px;
}

body[data-page="manaibuilder"] .manaibuilder-workspace-visual::before {
  opacity: 0.16;
}

body[data-page="manaibuilder"] .manaibuilder-product-preview {
  min-height: clamp(300px, 27vw, 410px);
  background-color: rgba(2, 7, 17, 0.82);
  background-position: center, center;
  background-size: 100% 100%, contain;
}

body[data-page="contact"] .contact-hero-card {
  gap: 16px;
  border-color: rgba(0, 230, 255, 0.24);
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 230, 255, 0.15), transparent 32%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.075), rgba(124, 92, 255, 0.04)),
    rgba(5, 15, 29, 0.9);
}

body[data-page="contact"] .contact-hero-card .eyebrow {
  color: var(--cyan);
  opacity: 1;
}

body[data-page="contact"] .contact-hero-card a {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 230, 255, 0.06);
}

body[data-page="contact"] .contact-hero-card p:last-child {
  color: var(--muted-strong);
  line-height: 1.45;
}

@media (max-width: 760px) {
  body[data-page="about"] .about-clean-visual {
    grid-template-rows: minmax(170px, 1fr) auto;
    min-height: 318px;
    background-position: center, 74% 50%;
    background-size: 100% 100%, cover;
  }

  body[data-page="about"] .about-clean-media {
    min-height: 150px;
  }

  body[data-page="about"] .about-clean-mark {
    width: 82px;
    height: 64px;
  }

  body[data-page="about"] .about-clean-brand {
    font-size: 1.08rem;
  }

  body[data-page="about"] .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="about"] .about-capability-grid span {
    min-height: 40px;
    font-size: 0.74rem;
  }

  body[data-page="systems"] .systems-asset-showcase {
    gap: 10px;
  }

  body[data-page="systems"] .systems-asset-panel,
  body[data-page="systems"] .systems-asset-panel-manai {
    min-height: 132px;
    border-radius: 16px;
  }

  body[data-page="systems"] .systems-asset-image {
    inset: 9px;
    border-radius: 12px;
  }

  body[data-page="systems"] .systems-asset-label {
    margin: 9px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  body[data-page="platform"] .platform-model-rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body[data-page="platform"] .platform-layer-card,
  body[data-page="platform"] .platform-layer-card:nth-child(n) {
    min-height: 56px;
    padding: 10px 12px;
  }

  body[data-page="platform"] .platform-layer-card strong {
    font-size: 0.88rem;
    line-height: 1.15;
  }

  body[data-page="manaibuilder"] .manaibuilder-product-preview {
    min-height: 205px;
    background-size: 100% 100%, contain;
  }

  body[data-page="contact"] .contact-hero-card {
    padding: 20px;
  }

body[data-page="contact"] .contact-hero-card a {
    min-height: 64px;
    font-size: clamp(1.08rem, 4.8vw, 1.28rem);
  }
}

/* Overnight visual sprint loop 2: keep real assets large enough to read. */
body[data-page="about"] .about-clean-visual {
  grid-template-columns: 1fr;
}

body[data-page="about"] .about-capability-grid {
  align-self: end;
}

body[data-page="systems"] .systems-asset-showcase {
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 0.94fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: clamp(310px, 28vw, 410px);
}

body[data-page="systems"] .systems-asset-panel-manai {
  grid-row: 1 / span 2;
}

body[data-page="systems"] .systems-asset-panel,
body[data-page="systems"] .systems-asset-panel-manai {
  min-height: 0;
}

body[data-page="systems"] .systems-asset-image {
  inset: 10px;
  background-size: contain;
}

body[data-page="contact"] .contact-hero-card a[href^="mailto:"] {
  color: #f6fbff !important;
  opacity: 1 !important;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.2), rgba(124, 92, 255, 0.11)),
    rgba(0, 230, 255, 0.1) !important;
  border-color: rgba(0, 230, 255, 0.36) !important;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(0, 230, 255, 0.22);
}

body[data-page="contact"] .contact-hero-card .eyebrow {
  color: #00e6ff !important;
  opacity: 1 !important;
}

@media (max-width: 760px) {
  body[data-page="systems"] .systems-asset-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  body[data-page="systems"] .systems-asset-panel-manai {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 150px;
  }

  body[data-page="systems"] .systems-asset-panel {
    min-height: 118px;
  }
}

/* Overnight visual sprint loop 3: one strong Systems visual, readable Contact hierarchy. */
body[data-page="systems"] .systems-asset-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(210px, 1fr) auto;
  gap: 10px;
  min-height: clamp(320px, 28vw, 410px);
  padding: clamp(16px, 2.4vw, 24px);
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(2, 7, 17, 0.08), rgba(2, 7, 17, 0.7)),
    radial-gradient(circle at 72% 20%, rgba(0, 230, 255, 0.1), transparent 34%),
    url("assets/visuals/manai-builder-panel.webp");
  background-repeat: no-repeat;
  background-position: center, center, center;
  background-size: 100% 100%, auto, min(92%, 620px) auto;
}

body[data-page="systems"] .systems-asset-panel,
body[data-page="systems"] .systems-asset-panel-manai {
  grid-row: 2;
  min-height: 48px;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.1), rgba(124, 92, 255, 0.045)),
    rgba(4, 13, 25, 0.72);
  backdrop-filter: blur(14px);
}

body[data-page="systems"] .systems-asset-image {
  display: none;
}

body[data-page="systems"] .systems-asset-label {
  margin: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

html[data-theme="light"] body[data-page="systems"] .systems-asset-showcase {
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.1), rgba(236, 246, 255, 0.72)),
    radial-gradient(circle at 72% 20%, rgba(0, 158, 194, 0.09), transparent 34%),
    url("assets/visuals/manai-builder-panel.webp");
  background-repeat: no-repeat;
  background-position: center, center, center;
  background-size: 100% 100%, auto, min(92%, 620px) auto;
}

body[data-page="contact"] .page-hero-grid::before {
  z-index: 0;
}

body[data-page="contact"] .page-hero-copy,
body[data-page="contact"] .contact-hero-card {
  position: relative;
  z-index: 2;
}

body[data-page="contact"] .contact-hero-card {
  isolation: isolate;
}

body[data-page="contact"] .contact-hero-card > * {
  position: relative;
  z-index: 1;
}

body[data-page="contact"] .contact-hero-card a[href^="mailto:"] {
  color: #ffffff !important;
  filter: none !important;
}

@media (max-width: 760px) {
  body[data-page="systems"] .systems-asset-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(176px, 1fr) repeat(3, auto);
    min-height: 342px;
    padding: 14px;
    background-size: 100% 100%, auto, 94% auto;
  }

  body[data-page="systems"] .systems-asset-panel,
  body[data-page="systems"] .systems-asset-panel-manai {
    grid-row: auto;
    min-height: 42px;
  }
}

/* Overnight visual sprint loop 4: restore Systems mobile asset-card readability. */
@media (max-width: 760px) {
  body[data-page="systems"] .systems-asset-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 10px;
    min-height: 0;
    padding: 0;
    background: transparent;
  }

  body[data-page="systems"] .systems-asset-panel,
  body[data-page="systems"] .systems-asset-panel-manai {
    position: relative;
    display: flex;
    grid-row: auto;
    min-height: 118px;
    border-radius: 16px;
    background:
      radial-gradient(circle at 50% 24%, rgba(0, 230, 255, 0.08), transparent 36%),
      rgba(5, 14, 27, 0.9);
  }

  body[data-page="systems"] .systems-asset-panel-manai {
    grid-column: 1 / -1;
    min-height: 150px;
  }

  body[data-page="systems"] .systems-asset-image {
    display: block;
    position: absolute;
    inset: 9px;
    z-index: 0;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: rgba(2, 7, 17, 0.62);
    filter: saturate(1.04) contrast(1.04);
  }

  body[data-page="systems"] .systems-asset-label {
    position: relative;
    z-index: 1;
    margin: 9px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 230, 255, 0.18);
    border-radius: 999px;
    background: rgba(4, 13, 25, 0.72);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 850;
    backdrop-filter: blur(12px);
  }
}

/* Overnight visual sprint loop 5: final safe contrast and rhythm polish. */
html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-panel {
  border-color: rgba(0, 89, 130, 0.28);
  box-shadow:
    0 40px 96px rgba(23, 46, 77, 0.25),
    0 0 0 1px rgba(0, 118, 170, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-value-grid,
html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-product-card {
  border-color: rgba(5, 17, 31, 0.2);
  box-shadow: 0 28px 68px rgba(23, 46, 77, 0.2);
}

@media (min-width: 761px) {
  body[data-page="systems"] .systems-asset-showcase {
    background-size: 100% 100%, auto, min(98%, 700px) auto;
  }
}

body[data-page="platform"] .platform-model-panel::before {
  opacity: 0;
}

body[data-page="platform"] .platform-layer-detail {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 230, 255, 0.075), transparent 34%),
    linear-gradient(135deg, rgba(0, 230, 255, 0.045), transparent 42%),
    rgba(6, 16, 30, 0.82);
}

body[data-page="platform"] .platform-knx {
  padding-bottom: clamp(22px, 3vw, 38px);
}

body[data-page="platform"] .platform-deep {
  padding-top: clamp(22px, 3vw, 38px);
}

/* Mobile overlay cleanup: keep labels attached to card frames, not pasted over imagery. */
@media (max-width: 820px) {
  body[data-page="systems"] .systems-asset-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 10px;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  body[data-page="systems"] .systems-asset-panel,
  body[data-page="systems"] .systems-asset-panel-manai {
    display: grid;
    grid-row: auto;
    grid-template-rows: minmax(86px, 1fr) auto;
    gap: 8px;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
    padding: 8px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 18%, rgba(0, 230, 255, 0.08), transparent 34%),
      rgba(5, 14, 27, 0.9);
  }

  body[data-page="systems"] .systems-asset-panel-manai {
    grid-column: 1 / -1;
    grid-template-rows: minmax(126px, 1fr) auto;
  }

  body[data-page="systems"] .systems-asset-image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    min-height: 86px;
    border-radius: 13px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: rgba(2, 7, 17, 0.72);
    filter: saturate(1.04) contrast(1.04);
  }

  body[data-page="systems"] .systems-asset-panel-manai .systems-asset-image {
    min-height: 126px;
  }

  body[data-page="systems"] .systems-asset-label {
    position: static;
    z-index: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(0, 230, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    background:
      linear-gradient(135deg, rgba(0, 230, 255, 0.08), rgba(124, 92, 255, 0.04)),
      rgba(4, 13, 25, 0.72);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    backdrop-filter: none;
  }

  body[data-page="about"] .about-clean-visual {
    display: grid;
    grid-template-rows: auto auto;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 76% 18%, rgba(0, 230, 255, 0.1), transparent 34%),
      rgba(5, 14, 27, 0.82);
  }

  body[data-page="about"] .about-clean-visual::before,
  body[data-page="about"] .about-clean-visual::after {
    content: none;
  }

  body[data-page="about"] .about-clean-media {
    min-height: 210px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 230, 255, 0.13);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(2, 7, 17, 0.08), rgba(2, 7, 17, 0.56)),
      url("assets/visuals/hero-mountain-dark.webp");
    background-repeat: no-repeat;
    background-position: center, 74% 50%;
    background-size: 100% 100%, cover;
  }

  body[data-page="about"] .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="about"] .about-capability-grid span {
    min-height: 40px;
    justify-content: center;
    margin: 0;
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(0, 230, 255, 0.08), rgba(124, 92, 255, 0.035)),
      rgba(5, 15, 29, 0.72);
    font-size: 0.74rem;
    text-align: center;
  }

  html[data-theme="light"] body[data-page="about"] .about-clean-visual {
    background:
      radial-gradient(circle at 76% 18%, rgba(0, 158, 194, 0.09), transparent 34%),
      rgba(246, 251, 255, 0.86);
  }

  html[data-theme="light"] body[data-page="about"] .about-clean-media {
    border-color: rgba(0, 118, 170, 0.16);
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.06), rgba(238, 247, 255, 0.56)),
      url("assets/visuals/hero-mountain-light.webp");
    background-repeat: no-repeat;
    background-position: center, 74% 50%;
    background-size: 100% 100%, cover;
  }
}

/* Final About vibrance micro-fix: lift the mountain without reintroducing inner branding. */
body[data-page="about"] .about-clean-visual {
  border-color: rgba(0, 230, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(2, 7, 17, 0.48) 0%, rgba(2, 7, 17, 0.08) 45%, rgba(2, 7, 17, 0.42) 100%),
    radial-gradient(circle at 77% 24%, rgba(0, 230, 255, 0.18), transparent 32%),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 72% 48%, 72% 49%;
  background-size: 100% 100%, auto, cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.38),
    0 0 54px rgba(0, 230, 255, 0.055);
}

body[data-page="about"] .about-clean-visual::before {
  background:
    radial-gradient(circle at 78% 27%, rgba(0, 230, 255, 0.28), transparent 28%),
    radial-gradient(ellipse at 74% 54%, rgba(28, 112, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(2, 7, 17, 0) 0%, rgba(2, 7, 17, 0.32) 100%);
}

html[data-theme="light"] body[data-page="about"] .about-clean-visual {
  border-color: rgba(0, 118, 170, 0.2);
  background:
    linear-gradient(145deg, rgba(250, 253, 255, 0.72) 0%, rgba(240, 248, 255, 0.22) 46%, rgba(228, 241, 253, 0.58) 100%),
    radial-gradient(circle at 77% 24%, rgba(0, 158, 194, 0.11), transparent 32%),
    url("assets/visuals/hero-mountain-light.webp");
  background-repeat: no-repeat;
  background-position: center, 72% 48%, 72% 49%;
  background-size: 100% 100%, auto, cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 30px 78px rgba(23, 46, 77, 0.18),
    0 0 44px rgba(0, 158, 194, 0.055);
}

html[data-theme="light"] body[data-page="about"] .about-clean-visual::before {
  background:
    radial-gradient(circle at 78% 27%, rgba(0, 158, 194, 0.14), transparent 28%),
    radial-gradient(ellipse at 74% 54%, rgba(47, 130, 255, 0.11), transparent 42%),
    linear-gradient(180deg, rgba(247, 252, 255, 0) 0%, rgba(238, 247, 255, 0.34) 100%);
}

@media (max-width: 820px) {
  body[data-page="about"] .about-clean-visual {
    background:
      radial-gradient(circle at 76% 18%, rgba(0, 230, 255, 0.12), transparent 34%),
      rgba(5, 14, 27, 0.82);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 58px rgba(0, 0, 0, 0.3);
  }

  body[data-page="about"] .about-clean-visual::before,
  body[data-page="about"] .about-clean-visual::after {
    content: none;
  }

  body[data-page="about"] .about-clean-media {
    border-color: rgba(0, 230, 255, 0.2);
    background:
      radial-gradient(circle at 78% 20%, rgba(0, 230, 255, 0.18), transparent 32%),
      linear-gradient(180deg, rgba(2, 7, 17, 0.02), rgba(2, 7, 17, 0.36)),
      url("assets/visuals/hero-mountain-dark.webp");
    background-repeat: no-repeat;
    background-position: center, center, 74% 50%;
    background-size: auto, 100% 100%, cover;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 34px rgba(0, 230, 255, 0.055);
  }

  html[data-theme="light"] body[data-page="about"] .about-clean-media {
    border-color: rgba(0, 118, 170, 0.2);
    background:
      radial-gradient(circle at 78% 20%, rgba(0, 158, 194, 0.12), transparent 32%),
      linear-gradient(180deg, rgba(248, 252, 255, 0), rgba(238, 247, 255, 0.38)),
      url("assets/visuals/hero-mountain-light.webp");
    background-repeat: no-repeat;
    background-position: center, center, 74% 50%;
    background-size: auto, 100% 100%, cover;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 0 28px rgba(0, 158, 194, 0.055);
  }

  html[data-theme="light"] body[data-page="about"] .about-clean-visual {
    background:
      radial-gradient(circle at 76% 18%, rgba(0, 158, 194, 0.09), transparent 34%),
      rgba(246, 251, 255, 0.86);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 22px 52px rgba(23, 46, 77, 0.14);
  }
}

/* Surgical About clarity fix: remove the fog veil and let the mountain render crisp. */
body[data-page="about"] .about-clean-visual {
  border-color: rgba(0, 230, 255, 0.2);
  background-color: rgba(3, 10, 20, 0.96);
  background-image: url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: 72% 50%;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 86px rgba(0, 0, 0, 0.36);
}

body[data-page="about"] .about-clean-visual::before {
  content: "";
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 61%, rgba(2, 7, 17, 0.58) 100%),
    linear-gradient(90deg, rgba(2, 7, 17, 0.08), transparent 38%);
}

html[data-theme="light"] body[data-page="about"] .about-clean-visual {
  border-color: rgba(0, 118, 170, 0.18);
  background-color: rgba(246, 251, 255, 0.95);
  background-image: url("assets/visuals/hero-mountain-light.webp");
  background-repeat: no-repeat;
  background-position: 72% 50%;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 76px rgba(23, 46, 77, 0.16);
}

html[data-theme="light"] body[data-page="about"] .about-clean-visual::before {
  background:
    linear-gradient(180deg, transparent 0 62%, rgba(238, 247, 255, 0.42) 100%),
    linear-gradient(90deg, rgba(248, 252, 255, 0.08), transparent 38%);
}

@media (max-width: 820px) {
  body[data-page="about"] .about-clean-visual {
    background:
      radial-gradient(circle at 78% 18%, rgba(0, 230, 255, 0.08), transparent 32%),
      rgba(5, 14, 27, 0.86);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 58px rgba(0, 0, 0, 0.3);
  }

  body[data-page="about"] .about-clean-media {
    border-color: rgba(0, 230, 255, 0.18);
    background-color: rgba(3, 10, 20, 0.92);
    background-image: url("assets/visuals/hero-mountain-dark.webp");
    background-repeat: no-repeat;
    background-position: 74% 50%;
    background-size: cover;
    box-shadow: 0 0 28px rgba(0, 230, 255, 0.05);
  }

  html[data-theme="light"] body[data-page="about"] .about-clean-visual {
    background:
      radial-gradient(circle at 78% 18%, rgba(0, 158, 194, 0.07), transparent 32%),
      rgba(246, 251, 255, 0.9);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 22px 52px rgba(23, 46, 77, 0.14);
  }

  html[data-theme="light"] body[data-page="about"] .about-clean-media {
    border-color: rgba(0, 118, 170, 0.18);
    background-color: rgba(246, 251, 255, 0.92);
    background-image: url("assets/visuals/hero-mountain-light.webp");
    background-repeat: no-repeat;
    background-position: 74% 50%;
    background-size: cover;
    box-shadow: 0 0 24px rgba(0, 158, 194, 0.04);
  }
}

/* v25 premium About refinement: mountain card and capability row are now
   clearly separated so the chips no longer sit on top of the image. The
   visual wrapper becomes transparent; .about-clean-media owns the panel
   styling; .about-capability-grid lays out as a clean 4-up row on desktop
   and a 2x2 grid on mobile with generous rhythm. */
body[data-page="about"] .about-clean-visual {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  gap: clamp(18px, 1.8vw, 26px);
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

body[data-page="about"] .about-clean-visual::before,
body[data-page="about"] .about-clean-visual::after {
  content: none;
  display: none;
}

body[data-page="about"] .about-clean-media {
  position: relative;
  display: block;
  align-items: stretch;
  z-index: 0;
  min-height: clamp(310px, 28vw, 440px);
  padding: 0;
  border: 1px solid rgba(0, 230, 255, 0.2);
  border-radius: 26px;
  background-color: rgba(3, 10, 20, 0.92);
  background-image:
    linear-gradient(180deg, transparent 0 62%, rgba(2, 7, 17, 0.34) 100%),
    url("assets/visuals/hero-mountain-dark.webp");
  background-repeat: no-repeat;
  background-position: center, 72% 50%;
  background-size: cover, cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

html[data-theme="light"] body[data-page="about"] .about-clean-media {
  border-color: rgba(0, 118, 170, 0.2);
  background-color: rgba(246, 251, 255, 0.94);
  background-image:
    linear-gradient(180deg, transparent 0 62%, rgba(238, 247, 255, 0.34) 100%),
    url("assets/visuals/hero-mountain-light.webp");
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 26px 70px rgba(23, 46, 77, 0.16);
}

body[data-page="about"] .about-capability-grid {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 14px);
}

body[data-page="about"] .about-capability-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 230, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 230, 255, 0.07), rgba(124, 92, 255, 0.03)),
    rgba(5, 14, 27, 0.7);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] body[data-page="about"] .about-capability-grid span {
  border-color: rgba(0, 118, 170, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 158, 194, 0.08), rgba(111, 85, 242, 0.03)),
    rgba(255, 255, 255, 0.86);
}

@media (max-width: 820px) {
  body[data-page="about"] .about-clean-visual {
    gap: 22px;
  }

  body[data-page="about"] .about-clean-media {
    min-height: 250px;
    border-radius: 22px;
    background-position: center, 72% 52%;
  }

  body[data-page="about"] .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page="about"] .about-capability-grid span {
    min-height: 62px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 430px) {
  body[data-page="about"] .about-clean-visual {
    gap: 18px;
  }

  body[data-page="about"] .about-clean-media {
    min-height: 220px;
    border-radius: 20px;
  }

  body[data-page="about"] .about-capability-grid span {
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
  }
}

/* v25 About mobile rhythm: ensure airy vertical stacking when the hero
   becomes a single column. */
@media (max-width: 820px) {
  body[data-page="about"] .page-hero-grid {
    gap: clamp(28px, 6vw, 40px);
  }
}

/* v25 premium homepage hero motion: subtle data-light glints rising over
   the mountain. Calm and cinematic, capped at three points so it never
   becomes a particle storm. Respects prefers-reduced-motion. */
body[data-title-key="meta.home.title"] .pb-hero-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 30%, #000 54%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 54%, #000);
}

body[data-title-key="meta.home.title"] .pb-hero-glint {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 230, 255, 0.85);
  box-shadow:
    0 0 10px rgba(0, 230, 255, 0.55),
    0 0 28px rgba(0, 230, 255, 0.28);
  opacity: 0;
  filter: blur(0.4px);
  will-change: transform, opacity;
  animation: pb-hero-glint-rise 14s cubic-bezier(0.55, 0.04, 0.35, 1) infinite;
}

body[data-title-key="meta.home.title"] .pb-hero-glint-a {
  left: 82%;
  top: 80%;
  animation-duration: 13s;
  animation-delay: 0s;
}

body[data-title-key="meta.home.title"] .pb-hero-glint-b {
  left: 72%;
  top: 86%;
  width: 5px;
  height: 5px;
  background: rgba(118, 240, 220, 0.85);
  box-shadow:
    0 0 9px rgba(118, 240, 220, 0.5),
    0 0 24px rgba(118, 240, 220, 0.22);
  animation-duration: 17s;
  animation-delay: 4.5s;
}

body[data-title-key="meta.home.title"] .pb-hero-glint-c {
  left: 90%;
  top: 88%;
  width: 4px;
  height: 4px;
  animation-duration: 19s;
  animation-delay: 9s;
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-glint {
  background: rgba(0, 158, 194, 0.78);
  box-shadow:
    0 0 9px rgba(0, 158, 194, 0.48),
    0 0 24px rgba(0, 158, 194, 0.22);
}

html[data-theme="light"] body[data-title-key="meta.home.title"] .pb-hero-glint-b {
  background: rgba(35, 170, 165, 0.78);
  box-shadow:
    0 0 9px rgba(35, 170, 165, 0.42),
    0 0 22px rgba(35, 170, 165, 0.2);
}

@keyframes pb-hero-glint-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
  18% {
    opacity: 0.85;
  }
  82% {
    opacity: 0.5;
    transform: translate3d(-90px, -200px, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(-112px, -240px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-title-key="meta.home.title"] .pb-hero-glint {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 760px) {
  body[data-title-key="meta.home.title"] .pb-hero-motion {
    mask-image: linear-gradient(180deg, transparent 0 40%, #000 58%, #000);
    -webkit-mask-image: linear-gradient(180deg, transparent 0 40%, #000 58%, #000);
  }

  body[data-title-key="meta.home.title"] .pb-hero-glint {
    width: 5px;
    height: 5px;
  }

  body[data-title-key="meta.home.title"] .pb-hero-glint-a {
    left: 70%;
    top: 96%;
  }

  body[data-title-key="meta.home.title"] .pb-hero-glint-b {
    left: 56%;
    top: 98%;
  }

  body[data-title-key="meta.home.title"] .pb-hero-glint-c {
    left: 82%;
    top: 99%;
  }
}
