:root {
  /* Primitive palette */
  --mars-violet-800: #36107f;
  --mars-violet-700: #4716a6;
  --mars-violet-600: #6426c7;
  --mars-violet-300: #9d7aea;
  --mars-violet-200: #cfc3f3;
  --mars-violet-050: #f3effb;
  --mars-logo-indigo: #3010b8;
  --mars-logo-violet: #7008d8;
  --mars-logo-electric: #9000e8;
  --mars-neutral-950: #050712;
  --mars-neutral-900: #0a0b18;
  --mars-neutral-800: #07131f;
  --mars-neutral-600: #526172;
  --mars-neutral-200: #dfe1e8;
  --mars-neutral-075: #f4f5f8;
  --mars-white: #ffffff;

  /* Black-led MarsLab night palette with a restrained violet undertone. */
  --mars-night-ink: #080912;
  --mars-night-violet: #100b20;
  --mars-night-raised: #15102a;
  --mars-night-line: rgba(184, 170, 226, .17);
  --mars-glow-violet: rgba(112, 8, 216, .15);
  --mars-glow-indigo: rgba(48, 16, 184, .12);
  --mars-surface-night:
    radial-gradient(ellipse at 82% 22%, var(--mars-glow-violet), transparent 38rem),
    radial-gradient(ellipse at 8% 92%, var(--mars-glow-indigo), transparent 34rem),
    linear-gradient(122deg, var(--mars-night-ink) 0%, var(--mars-night-violet) 58%, var(--mars-night-raised) 100%);
  --mars-surface-night-quiet:
    radial-gradient(ellipse at 78% 12%, rgba(112, 8, 216, .1), transparent 34rem),
    linear-gradient(112deg, var(--mars-night-ink) 0%, var(--mars-night-violet) 100%);

  /* Semantic roles */
  --color-brand: var(--mars-violet-600);
  --color-brand-strong: var(--mars-violet-700);
  --color-brand-subtle: var(--mars-violet-050);
  --color-brand-on-dark: var(--mars-violet-200);
  --color-eyebrow-on-dark: #a695e8;
  --color-eyebrow-on-light: var(--mars-violet-700);
  --color-bg-dark: var(--mars-neutral-950);
  --color-bg-dark-soft: var(--mars-neutral-900);
  --color-bg-page: var(--mars-neutral-075);
  --color-bg-surface: var(--mars-white);
  --color-text: var(--mars-neutral-800);
  --color-text-muted: var(--mars-neutral-600);
  --color-border: var(--mars-neutral-200);
  --color-focus: var(--mars-violet-300);

  /* Component roles */
  --button-primary-bg: var(--color-brand-strong);
  --button-primary-bg-hover: var(--color-brand);
  --button-primary-text: var(--mars-white);
  --card-bg: var(--color-bg-surface);
  --card-border: var(--color-border);
  --nav-active: var(--color-brand-on-dark);
  --focus-ring: var(--color-focus);

  /* Compatibility aliases for the existing page layer */
  --mars-night: var(--color-bg-dark);
  --mars-night-soft: var(--color-bg-dark-soft);
  --mars-ink: var(--color-text);
  --mars-muted: var(--color-text-muted);
  --mars-canvas: var(--color-bg-page);
  --mars-surface: var(--color-bg-surface);
  --mars-line: var(--color-border);
  --mars-purple: var(--color-brand);
  --mars-purple-deep: var(--color-brand-strong);
  --mars-lavender: var(--color-brand-on-dark);
  --mars-eyebrow-dark: var(--color-eyebrow-on-dark);
  --mars-eyebrow-light: var(--color-eyebrow-on-light);
  --mars-purple-wash: var(--color-brand-subtle);
  --mars-focus: var(--focus-ring);
}

html {
  scroll-padding-top: 84px;
}

body.page {
  color: var(--mars-ink);
  background: var(--mars-canvas);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.page::before {
  opacity: .16;
  background:
    radial-gradient(circle at 82% 5%, rgba(100, 38, 199, .22), transparent 24rem),
    linear-gradient(180deg, var(--mars-night) 0 32rem, var(--mars-canvas) 32rem 100%);
}

.skip-link {
  color: var(--mars-night) !important;
  background: var(--mars-lavender) !important;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--mars-focus) !important;
  outline-offset: 3px;
}

body.page:not(.page-products) .site-header {
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 80px);
  color: #fff;
  background: rgba(8, 9, 18, .94) !important;
  border-bottom: 1px solid var(--mars-night-line);
  box-shadow: 0 12px 32px rgba(4, 3, 12, .18);
  backdrop-filter: blur(18px) saturate(125%);
}

body.page .site-header .brand {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.page .site-header .brand::before,
body.page .site-header .brand::after {
  display: none;
}

body.page .site-header .brand-logo {
  width: clamp(160px, 13vw, 204px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: none;
}

.site-nav {
  gap: clamp(16px, 2vw, 30px);
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .76);
  font-size: .875rem;
  font-weight: 650;
}

body.page:not(.page-products) .site-header .site-nav a {
  color: rgba(255, 255, 255, .76) !important;
}

body.page:not(.page-products) .site-header .site-nav a:hover,
body.page:not(.page-products) .site-header .site-nav a.is-active {
  color: #fff !important;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--mars-lavender);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease-out-strong);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  color: #fff;
  border-color: rgba(207, 195, 243, .32);
  background: rgba(255, 255, 255, .04);
}

body.page:not(.page-products) .site-header .menu-toggle {
  color: #fff !important;
}

.section-shell {
  width: min(calc(100% - clamp(40px, 10vw, 160px)), 1380px);
}

.section-block {
  padding-block: clamp(76px, 8vw, 124px);
}

body.page main > .section-block:first-child,
body.page .job-detail-hero {
  position: relative;
  color: #fff;
  padding-top: clamp(92px, 9vw, 138px);
  padding-bottom: clamp(86px, 9vw, 132px);
  background: var(--mars-surface-night) !important;
}

body.page main > .section-block:first-child::before,
body.page .job-detail-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 50% 0;
  width: 100vw;
  background: inherit;
  content: "";
  transform: translateX(-50%);
}

body.page main > .section-block:first-child h1,
body.page .job-detail-hero h1,
body.page main > .section-block:first-child .section-lede,
body.page .job-detail-hero .section-lede {
  color: inherit;
}

body.page main > .section-block:first-child .section-lede,
body.page .job-detail-hero .section-lede {
  color: #b9c0ce;
}

.eyebrow,
.product-detail-label,
.news-date,
.news-detail-date,
.role-type,
.job-tag,
.product-series-scale-caption strong {
  color: var(--mars-eyebrow-light);
}

body.page main > .section-block:first-child .eyebrow,
body.page .job-detail-hero .eyebrow {
  color: var(--mars-eyebrow-dark);
}

body.page-products .product-series-tagline {
  color: #fff;
}

body.page-products .product-breadcrumb,
body.page-products .product-breadcrumb a {
  color: #aeb7c7;
}

body.page-products .product-breadcrumb a:hover,
body.page-products .product-breadcrumb a:focus-visible {
  color: var(--mars-lavender);
}

body.page-careers .careers-hero,
body.page-newsroom main > .section-block:first-child,
body.page-products .products-hero {
  width: 100%;
  max-width: none;
  padding-inline: max(clamp(20px, 5vw, 80px), calc((100vw - 1380px) / 2));
  isolation: isolate;
  overflow: hidden;
}

body.page-products .products-hero {
  min-height: 0;
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(42px, 5vw, 68px);
  background: var(--mars-surface-night) !important;
}

body.page-products .products-hero::before {
  background: var(--mars-surface-night);
}

body.page-products .products-hero::after {
  background: linear-gradient(90deg, transparent 4%, rgba(48, 16, 184, .55) 40%, rgba(112, 8, 216, .42) 68%, transparent 96%);
}

body.page-products .product-series-intro .eyebrow,
body.page-products .product-series-intro h1,
body.page-products .product-series-intro .product-series-tagline {
  color: #fff;
}

body.page-products .product-series-intro .section-lede {
  color: #c3bdd0;
}

body.page-products .product-series-scale-caption {
  border-bottom-color: rgba(207, 195, 243, .18);
  color: #c3bdd0;
}

body.page-products .products-hero .product-series-scale-item {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body.page-products .products-hero .product-series-scale-item:hover,
body.page-products .products-hero .product-series-scale-item:focus-visible {
  border-color: transparent;
  box-shadow: none;
}

body.page-products .product-series-scale-caption strong {
  color: #fff;
}

body.page-products .product-series-scale-arrow {
  color: var(--mars-violet-300);
}

body.page-products .product-series-scale-item:focus-visible {
  outline-color: var(--mars-violet-300);
}

body.page-careers .careers-hero > *,
body.page-newsroom main > .section-block:first-child > * {
  position: relative;
  z-index: 1;
}

body.page-careers .careers-hero::after,
body.page-newsroom main > .section-block:first-child::after {
  position: absolute;
  z-index: 0;
  right: max(clamp(20px, 5vw, 80px), calc((100vw - 1380px) / 2));
  top: 50%;
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000);
}

body.page-careers .careers-hero::after {
  border: 1px solid rgba(207, 195, 243, .12);
  border-radius: 50%;
  opacity: .7;
  background:
    radial-gradient(circle, transparent 0 36%, rgba(207, 195, 243, .08) 36.2% 36.6%, transparent 36.8% 54%, rgba(100, 38, 199, .11) 54.2% 54.6%, transparent 54.8%),
    linear-gradient(90deg, transparent 49.8%, rgba(207, 195, 243, .1) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(207, 195, 243, .08) 50%, transparent 50.2%);
  box-shadow: 0 0 90px rgba(100, 38, 199, .09);
}

body.page-newsroom main > .section-block:first-child::after {
  height: clamp(250px, 28vw, 420px);
  aspect-ratio: auto;
  opacity: .42;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(207, 195, 243, .12) 12% 12.3%, transparent 12.3% 31%, rgba(100, 38, 199, .16) 31% 31.4%, transparent 31.4% 57%, rgba(207, 195, 243, .1) 57% 57.3%, transparent 57.3%),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(207, 195, 243, .08) 34px 35px);
}

body.page-careers .why-section {
  background: transparent;
  border: 0;
  box-shadow: none !important;
}

h1,
h2,
h3 {
  letter-spacing: -.025em;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
}

.section-lede {
  max-width: 66ch;
  color: var(--mars-muted);
}

.button {
  min-height: 48px;
  border-radius: 7px;
  font-weight: 700;
}

.button-primary {
  color: var(--button-primary-text);
  background: linear-gradient(135deg, var(--mars-logo-violet), var(--mars-logo-indigo));
  border-color: transparent;
  box-shadow: none;
  transition: transform var(--dur-fast) var(--ease-out-strong), box-shadow var(--dur-fast) var(--ease-out-strong), filter var(--dur-fast) var(--ease-out-strong);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--button-primary-text);
  background: linear-gradient(135deg, var(--mars-logo-violet), var(--mars-logo-indigo));
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(112, 8, 216, .35);
  filter: saturate(1.05) brightness(1.04);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--mars-purple-deep);
  background: transparent;
  border-color: rgba(71, 22, 166, .32);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--mars-purple-deep);
  background: var(--mars-purple-wash);
  border-color: rgba(71, 22, 166, .56);
}

.news-card,
.coverage-link,
.role-card,
.job-card,
.job-detail-main,
.job-detail-sidebar,
.product-panel,
.product-interface-visual,
.product-series-scale-item,
.contact-section {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: none;
}

.news-card::before,
.role-card::before,
.job-card::before,
.product-panel::before {
  background: var(--mars-purple);
}

.coverage-link-featured {
  background: var(--mars-purple-wash);
  border-color: rgba(100, 38, 199, .22);
}

.coverage-link:hover,
.coverage-link:focus-visible,
.news-card:hover,
.role-card:hover,
.job-card:hover,
.product-series-scale-item:hover,
.product-series-scale-item:focus-visible {
  border-color: rgba(100, 38, 199, .38);
  box-shadow: 0 16px 34px rgba(43, 20, 91, .08);
}

.product-tabs {
  border-color: var(--mars-line);
}

.product-tabs a:hover,
.product-tabs a:focus-visible,
.product-tabs a.is-active,
.product-breadcrumb a,
.job-title-link:hover,
.job-title-link:focus-visible,
.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--mars-purple-deep);
}

.product-chip-list span,
.application-grid span,
.job-tag {
  background: var(--mars-purple-wash);
  border-color: rgba(100, 38, 199, .16);
}

.career-controls input,
.career-controls select {
  min-height: 48px;
  color: var(--mars-ink);
  background: #fff;
  border-color: var(--mars-line);
}

.why-section,
.roles-section,
.coverage-section {
  border-color: var(--mars-line);
  box-shadow: none;
}

.career-controls input:focus,
.career-controls select:focus {
  border-color: var(--mars-purple);
  box-shadow: 0 0 0 4px rgba(100, 38, 199, .1);
}

body.page-careers .why-section {
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

body.page-careers .roles-section {
  padding-top: clamp(38px, 4vw, 58px);
}

body.page-careers .why-section + .roles-section {
  margin-top: 0;
}

body.page-careers .career-controls {
  background: color-mix(in srgb, var(--color-brand-subtle) 54%, var(--color-bg-surface));
  border-color: rgba(100, 38, 199, .14);
}

body.page-careers .filter-reset,
body.page-careers .role-card .button-secondary {
  color: var(--color-brand-strong);
  background: var(--color-brand-subtle);
  border-color: rgba(71, 22, 166, .3);
}

body.page-careers .filter-reset:hover,
body.page-careers .role-card .button-secondary:hover {
  color: var(--color-brand-strong);
  background: #e9e0fa;
  border-color: rgba(71, 22, 166, .5);
}

body.page-careers .role-type,
body.page-careers .job-tag {
  color: var(--color-brand-strong);
}

body.page-careers .job-card-actions .button-primary {
  color: var(--button-primary-text);
  background: linear-gradient(135deg, var(--mars-logo-violet), var(--mars-logo-indigo));
  border-color: transparent;
}

body.page-newsroom .news-card {
  min-height: 0;
  padding: clamp(28px, 3.2vw, 42px);
  background: var(--card-bg);
}

body.page-newsroom .news-card h2,
body.page-newsroom .news-card h3 {
  color: var(--color-text);
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  line-height: 1.12;
}

body.page-newsroom .news-card p {
  color: var(--color-text-muted);
}

body.page-newsroom .coverage-link {
  position: relative;
  padding-right: 48px;
}

body.page-newsroom .coverage-link::after {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--color-brand);
  content: "↗";
  font-size: 1.05rem;
  transition: transform var(--dur-fast) var(--ease-out-strong);
}

body.page-newsroom .coverage-link:hover::after,
body.page-newsroom .coverage-link:focus-visible::after {
  transform: translate(2px, -2px);
}

body.page-newsroom .coverage-link span {
  color: var(--color-brand-strong);
}

.job-pagination button.is-active,
.job-pagination button:hover:not(:disabled) {
  color: #fff;
  background: var(--mars-purple-deep);
  border-color: var(--mars-purple-deep);
}

.breadcrumb {
  color: rgba(255, 255, 255, .58);
}

.breadcrumb a {
  color: var(--mars-lavender);
}

.news-detail,
.job-detail-shell {
  padding-top: clamp(64px, 7vw, 104px);
}

.site-footer {
  min-height: 130px;
  padding: 38px clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: rgba(255, 255, 255, .68);
  background: var(--mars-surface-night-quiet);
  border-top: 1px solid var(--mars-night-line);
}

.site-footer > span:first-child {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--mars-lavender);
  font-weight: 650;
}

/* Final brand-coherence pass: one low-saturation violet atmosphere across dark surfaces. */
body.page-products .products-hero,
body.page-careers main > .section-block:first-child,
body.page-newsroom main > .section-block:first-child,
body.page-job-detail .job-detail-hero,
body.page-not-found main > .hero:first-child {
  background:
    radial-gradient(ellipse at 84% 14%, rgba(112, 8, 216, .13), transparent 36rem),
    radial-gradient(ellipse at 12% 100%, rgba(48, 16, 184, .09), transparent 34rem),
    linear-gradient(122deg, #080912 0%, #0f0b1d 60%, #151027 100%) !important;
}

body.page main > .section-block:first-child .section-lede,
body.page .job-detail-hero .section-lede,
body.page-products .product-series-intro .section-lede,
body.page-careers main > .section-block:first-child .section-lede,
body.page-newsroom main > .section-block:first-child .section-lede {
  color: #c4c0cf;
}

body.page-products .product-series-scale-image {
  background: #fff;
}

body.page-products .product-series-scale-image img {
  background: #fff;
}

body.page-products .product-series-scale-caption {
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 16px;
  padding: 14px 2px 12px;
}

body.page-products .product-series-scale-caption strong {
  display: block;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

body.page-products .product-series-scale-caption > span:not(.product-series-scale-arrow) {
  display: block;
  grid-column: 1;
  color: #697582;
  font-size: .875rem;
  font-weight: 450;
}

body.page-products .product-series-scale-caption .product-series-scale-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #4c5562;
}

@media (max-width: 720px) {
  body.page-careers .careers-hero::after,
  body.page-newsroom main > .section-block:first-child::after {
    right: -120px;
    opacity: .36;
  }

  body.page-newsroom .news-card {
    gap: 22px;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding-inline: 18px;
  }

  .site-header:has(.site-nav.is-open) {
    background: rgba(8, 9, 18, .99) !important;
  }

  .site-nav {
    top: 68px;
    right: 18px;
    left: 18px;
    width: auto;
    padding: 8px 14px 12px;
    gap: 0;
    background: rgba(5, 7, 18, .98);
    border: 1px solid rgba(207, 195, 243, .16);
    box-shadow: 0 20px 42px rgba(5, 7, 18, .3);
  }

  .site-nav a {
    min-height: 48px;
    padding-inline: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
  }

  .site-nav a::after {
    display: none;
  }

  body.page .site-header .site-nav a.is-active,
  body.page-products .site-header .site-nav a.is-active {
    color: #fff !important;
    background: rgba(112, 8, 216, .18) !important;
    box-shadow: inset 0 -1px 0 var(--mars-violet-300);
  }

  .section-shell {
    width: min(calc(100% - 36px), 1380px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer {
    color: #111827 !important;
    background: #fff !important;
  }
}

/* Careers and Newsroom: restrained editorial system. */
body.page-careers,
body.page-newsroom {
  background: #f5f6f8;
}

body.page-careers::before,
body.page-newsroom::before {
  display: none;
}

body.page-careers main,
body.page-newsroom main {
  background: #f5f6f8;
}

body.page-careers main > .section-block:first-child,
body.page-newsroom main > .section-block:first-child {
  min-height: auto;
  padding-top: clamp(82px, 8vw, 118px);
  padding-bottom: clamp(76px, 7vw, 106px);
  background: var(--mars-surface-night) !important;
}

body.page-careers main > .section-block:first-child::before,
body.page-newsroom main > .section-block:first-child::before {
  background: var(--mars-surface-night);
}

body.page-careers .careers-hero::after,
body.page-newsroom main > .section-block:first-child::after {
  display: none;
}

body.page-careers main > .section-block:first-child .eyebrow,
body.page-newsroom main > .section-block:first-child .eyebrow {
  color: #bfb2e8;
}

body.page-careers main > .section-block:first-child .section-lede,
body.page-newsroom main > .section-block:first-child .section-lede {
  color: #b4bac7;
}

body.page-careers .careers-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
}

.careers-hero-copy {
  max-width: 790px;
}

.careers-hero-copy h1 {
  margin-bottom: 26px;
}

.careers-hero-copy .text-link {
  min-height: 44px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ddd9e8;
  font-weight: 700;
  text-decoration: none;
}

.careers-hero-copy .text-link:hover,
.careers-hero-copy .text-link:focus-visible {
  color: #fff;
}

.careers-hero-principles {
  border-top: 1px solid var(--mars-night-line);
}

.careers-hero-principles span,
.careers-hero-principles strong {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--mars-night-line);
}

.careers-hero-principles span {
  width: 42px;
  color: var(--mars-violet-300);
  font-size: .48rem;
}

.careers-hero-principles strong {
  width: calc(100% - 46px);
  color: #e6e8ee;
  font-size: .9rem;
  font-weight: 620;
}

body.page-careers .why-section {
  width: min(calc(100% - clamp(40px, 10vw, 160px)), 1380px);
  padding: clamp(66px, 7vw, 96px) 0;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(42px, 7vw, 100px);
  border-bottom: 1px solid #d9dce2;
}

body.page-careers .why-section h2,
body.page-careers .why-section .section-lede {
  margin: 0;
}

body.page-careers .why-section .section-lede {
  max-width: 740px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.48;
}

body.page-careers .roles-section {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(88px, 9vw, 132px);
}

body.page-careers .roles-section > .eyebrow {
  margin-bottom: 12px;
}

body.page-careers .roles-section > h2 {
  margin-bottom: 0;
}

body.page-careers .career-controls {
  margin-top: 36px;
  padding: 22px;
  gap: 14px;
  border: 1px solid #d9dce2;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

body.page-careers .career-controls input,
body.page-careers .career-controls select {
  border-color: #d9dce2;
  border-radius: 4px;
  background: #f7f8fa;
}

body.page-careers .filter-reset {
  color: #2d3440;
  border-color: #cfd3da;
  border-radius: 4px;
  background: #fff;
}

body.page-careers .filter-reset:hover,
body.page-careers .filter-reset:focus-visible {
  color: var(--color-brand-strong);
  border-color: #9b8ab8;
  background: #fff;
}

body.page-careers .role-list {
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid #d9dce2;
}

body.page-careers .role-card {
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid #d9dce2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-careers .role-card::before {
  display: none;
}

body.page-careers .role-card:hover {
  border-color: #c9cdd5;
  box-shadow: none;
}

body.page-careers .role-card h3 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

body.page-careers .role-card p {
  max-width: 820px;
  margin-top: 10px;
}

body.page-careers .job-tag {
  min-height: 0;
  padding: 0;
  color: #656d7b;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .72rem;
  letter-spacing: .02em;
}

body.page-careers .job-tag + .job-tag::before {
  margin-right: 8px;
  color: #a6abb5;
  content: "·";
}

body.page-careers .role-card .button-secondary {
  min-width: 120px;
  color: var(--color-brand-strong);
  border: 0;
  border-bottom: 1px solid rgba(71, 22, 166, .35);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-careers .role-card .button-secondary:hover,
body.page-careers .role-card .button-secondary:focus-visible {
  color: #281052;
  border-color: #281052;
  background: transparent;
}

body.page-careers .job-dialog::backdrop {
  background: rgba(5, 7, 18, .72);
  backdrop-filter: blur(8px);
}

body.page-careers .job-dialog-shell {
  color: var(--color-text);
  background: #fff;
  border: 1px solid #d9dce2;
  box-shadow: 0 28px 80px rgba(5, 7, 18, .24);
}

body.page-careers .job-dialog .job-tag {
  color: #656d7b;
}

body.page-careers .job-dialog-close {
  color: #2d3440;
  background: #f5f6f8;
  border-color: #d9dce2;
}

body.page-careers .job-dialog .job-detail-section {
  border-top-color: #d9dce2;
}

body.page-careers .job-dialog .job-detail-actions .button-secondary {
  color: var(--color-brand-strong);
  border-color: rgba(71, 22, 166, .3);
  background: transparent;
}

body.page-newsroom main > .section-block:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: end;
  gap: clamp(50px, 9vw, 130px);
}

body.page-newsroom main > .section-block:first-child h1,
body.page-newsroom main > .section-block:first-child .section-lede {
  margin: 0;
}

body.page-newsroom main > .section-block:first-child .section-lede {
  max-width: 42ch;
  padding-bottom: 8px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

body.page-newsroom .newsroom-updates {
  padding-top: clamp(74px, 7vw, 106px);
  padding-bottom: clamp(70px, 7vw, 96px);
}

.newsroom-section-heading {
  display: grid;
  grid-template-columns: minmax(160px, .32fr) 1fr;
  align-items: baseline;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d9dce2;
}

.newsroom-section-heading .eyebrow,
.newsroom-section-heading h2 {
  margin: 0;
}

.newsroom-section-heading h2 {
  color: var(--color-text);
}

body.page-newsroom .news-list {
  gap: 0;
}

body.page-newsroom .news-card {
  min-height: 0;
  padding: 34px 0;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 0;
  border-bottom: 1px solid #d9dce2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-newsroom .news-card::before {
  display: none;
}

body.page-newsroom .news-card:hover {
  border-color: #c9cdd5;
  box-shadow: none;
}

body.page-newsroom .news-card h2 {
  max-width: 860px;
  margin: 7px 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

body.page-newsroom .news-card p {
  max-width: 760px;
  margin: 0;
}

body.page-newsroom .news-date {
  margin: 0;
  color: #655778;
}

body.page-newsroom .news-card .button-primary {
  min-width: 116px;
  color: var(--color-brand-strong);
  border: 0;
  border-bottom: 1px solid rgba(71, 22, 166, .35);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-newsroom .news-card .button-primary:hover,
body.page-newsroom .news-card .button-primary:focus-visible {
  color: #281052;
  border-color: #281052;
  background: transparent;
  box-shadow: none;
}

body.page-newsroom .coverage-section {
  width: 100%;
  max-width: none;
  padding: clamp(74px, 7vw, 108px) max(clamp(20px, 5vw, 80px), calc((100vw - 1380px) / 2));
  background: #fff;
  border: 0;
}

body.page-newsroom .coverage-section .section-heading-row {
  margin-bottom: 36px;
}

body.page-newsroom .coverage-section h2 {
  max-width: none;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

body.page-newsroom .coverage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid #d9dce2;
}

body.page-newsroom .coverage-link,
body.page-newsroom .coverage-link-featured {
  min-height: 126px;
  padding: 24px 42px 24px 0;
  border: 0;
  border-bottom: 1px solid #d9dce2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-newsroom .coverage-link:hover,
body.page-newsroom .coverage-link:focus-visible {
  border-color: #bfc4cd;
  box-shadow: none;
}

body.page-newsroom .coverage-link-featured {
  grid-column: span 2;
}

body.page-newsroom .coverage-link span {
  color: #655778;
}

body.page-newsroom .coverage-link::after {
  right: 4px;
  color: #756388;
}

body.page-newsroom .newsroom-contact {
  width: min(calc(100% - clamp(40px, 10vw, 160px)), 1380px);
  min-height: 118px;
  margin-block: clamp(56px, 6vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid #d9dce2;
  border-bottom: 1px solid #d9dce2;
}

body.page-newsroom .newsroom-contact > span {
  color: #656d7b;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.page-newsroom .newsroom-contact a {
  color: var(--color-text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  text-decoration: none;
}

body.page-newsroom .newsroom-contact a:hover,
body.page-newsroom .newsroom-contact a:focus-visible {
  color: var(--color-brand-strong);
}

body.page-careers .site-footer,
body.page-newsroom .site-footer {
  color: #aeb4c0;
  background: var(--mars-surface-night-quiet);
  border-top-color: var(--mars-night-line);
}

body.page-careers .site-footer > span:first-child,
body.page-newsroom .site-footer > span:first-child {
  color: #fff;
}

body.page-careers .site-footer a,
body.page-newsroom .site-footer a {
  color: #c7c2d3;
}

@media (max-width: 840px) {
  body.page-careers .careers-hero,
  body.page-newsroom main > .section-block:first-child,
  body.page-careers .why-section {
    grid-template-columns: 1fr;
  }

  .careers-hero-principles {
    max-width: 520px;
  }

  body.page-newsroom main > .section-block:first-child {
    gap: 28px;
  }

  body.page-newsroom .coverage-grid {
    grid-template-columns: 1fr;
  }

  body.page-newsroom .coverage-link-featured {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  body.page-careers main > .section-block:first-child,
  body.page-newsroom main > .section-block:first-child {
    padding-top: 72px;
    padding-bottom: 68px;
  }

  body.page-careers .careers-hero {
    gap: 38px;
  }

  body.page-careers .why-section {
    gap: 24px;
    padding-block: 60px;
  }

  body.page-careers .roles-section,
  body.page-newsroom .newsroom-updates,
  body.page-newsroom .coverage-section {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .newsroom-section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.page-newsroom .news-card {
    padding: 28px 0;
    gap: 20px;
  }

  body.page-newsroom .news-card .button-primary {
    min-width: 0;
    min-height: 40px;
    padding-inline: 0;
  }

  body.page-newsroom .coverage-grid {
    gap: 0;
  }

  body.page-newsroom .newsroom-contact {
    min-height: 0;
    padding-block: 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

/* Careers and Newsroom detail pages inherit the same editorial restraint. */
body.page-job-detail,
body.page-news-detail {
  background: #f5f6f8;
}

/* Error pages must remain readable even when optional reveal motion is unavailable. */
body.page-not-found .reveal,
.js-enabled.js-reveal-ready body.page-not-found .reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.page-not-found main > .hero:first-child {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 206px);
  padding-inline: max(clamp(20px, 5vw, 80px), calc((100vw - 1380px) / 2));
  background: var(--mars-surface-night) !important;
}

body.page-not-found main > .hero:first-child::before {
  background: var(--mars-surface-night);
}

body.page-not-found .hero-copy > *,
body.page-not-found .hero-visual,
body.page-not-found .stack-console,
body.page-not-found .stack-console-row {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

body.page-not-found .hero-body,
body.page-not-found .hero-subtitle {
  color: #c3bdd0;
}

body.page-job-detail::before,
body.page-news-detail::before {
  display: none;
}

body.page-job-detail .job-detail-hero {
  width: 100%;
  max-width: none;
  padding: clamp(76px, 7vw, 108px) max(clamp(20px, 5vw, 80px), calc((100vw - 1380px) / 2));
  background: var(--mars-surface-night) !important;
}

body.page-job-detail .job-detail-hero::before {
  background: var(--mars-surface-night);
}

body.page-job-detail .job-detail-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5vw, 4.6rem);
}

body.page-job-detail .job-detail-shell {
  gap: clamp(34px, 6vw, 86px);
  padding-top: clamp(68px, 7vw, 102px);
}

body.page-job-detail .job-detail-main,
body.page-job-detail .job-detail-sidebar {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-job-detail .job-detail-main .button-secondary {
  min-height: 40px;
  margin-bottom: 28px;
  padding-inline: 0;
  color: var(--color-brand-strong);
  border: 0;
  border-bottom: 1px solid rgba(71, 22, 166, .34);
  border-radius: 0;
  background: transparent;
}

body.page-job-detail .job-detail-main > p {
  font-size: 1.1rem;
  line-height: 1.65;
}

body.page-job-detail .job-detail-main h3 {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid #d9dce2;
}

body.page-job-detail .job-detail-sidebar {
  top: 104px;
  padding: 28px 0;
  border-top: 1px solid #d9dce2;
  border-bottom: 1px solid #d9dce2;
}

body.page-job-detail .job-detail-sidebar h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

body.page-job-detail .job-detail-meta div {
  padding-block: 11px;
  border-top: 1px solid #e2e4e8;
}

body.page-news-detail main {
  background: #f5f6f8;
}

body.page-news-detail main > article.news-detail.section-block:first-child {
  width: min(calc(100% - clamp(40px, 10vw, 160px)), 1120px);
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(88px, 9vw, 132px);
  color: var(--color-text);
  background: transparent !important;
}

body.page-news-detail main > .news-detail:first-child::before {
  display: none;
}

body.page-news-detail .news-detail .breadcrumb {
  color: #6a7180;
}

body.page-news-detail .news-detail .breadcrumb a {
  color: #655778;
}

body.page-news-detail .news-detail > .button-secondary {
  min-height: 40px;
  margin-bottom: 42px;
  padding-inline: 0;
  color: var(--color-brand-strong);
  border: 0;
  border-bottom: 1px solid rgba(71, 22, 166, .34);
  border-radius: 0;
  background: transparent;
}

body.page-news-detail main > article.news-detail.section-block:first-child h1 {
  max-width: 18ch;
  margin-bottom: 22px;
  color: var(--color-text);
  font-size: clamp(2.75rem, 5.4vw, 4.8rem);
}

body.page-news-detail .news-detail-date {
  color: #655778;
}

body.page-news-detail .news-detail > .eyebrow {
  color: #655778;
}

body.page-news-detail main > article.news-detail.section-block:first-child .section-lede {
  max-width: 760px;
  margin-top: 28px;
  color: #3e4856;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

body.page-news-detail .news-detail-body {
  width: min(760px, 100%);
  margin-top: 54px;
  padding: 42px 0 0;
  border: 0;
  border-top: 1px solid #d9dce2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-news-detail .news-detail-body h2 {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid #d9dce2;
}

body.page-news-detail .news-detail-actions {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid #d9dce2;
}

body.page-news-detail .news-detail-actions .button {
  min-height: 44px;
  border-radius: 4px;
  box-shadow: none;
}

body.page-job-detail .site-footer,
body.page-news-detail .site-footer {
  color: #aeb4c0;
  background: var(--mars-surface-night-quiet);
  border-top-color: var(--mars-night-line);
}

body.page-job-detail .site-footer > span:first-child,
body.page-news-detail .site-footer > span:first-child {
  color: #fff;
}

body.page-job-detail .site-footer a,
body.page-news-detail .site-footer a {
  color: #c7c2d3;
}

@media (max-width: 840px) {
  body.page-job-detail .job-detail-shell {
    grid-template-columns: 1fr;
  }

  body.page-job-detail .job-detail-sidebar {
    position: static;
  }
}

/* Keep every branded night surface on the same restrained logo-derived spectrum. */
body.page-products .products-hero,
body.page-careers main > .section-block:first-child,
body.page-newsroom main > .section-block:first-child,
body.page-job-detail .job-detail-hero,
body.page-not-found main > .hero:first-child {
  background:
    radial-gradient(ellipse at 84% 14%, rgba(112, 8, 216, .13), transparent 36rem),
    radial-gradient(ellipse at 12% 100%, rgba(48, 16, 184, .09), transparent 34rem),
    linear-gradient(122deg, #080912 0%, #0f0b1d 60%, #151027 100%) !important;
}

body.page-products .products-hero::before,
body.page-careers main > .section-block:first-child::before,
body.page-newsroom main > .section-block:first-child::before,
body.page-job-detail .job-detail-hero::before,
body.page-not-found main > .hero:first-child::before {
  background: inherit;
}

body.page-products .product-series-intro .section-lede,
body.page-careers main > .section-block:first-child .section-lede,
body.page-newsroom main > .section-block:first-child .section-lede,
body.page-job-detail .job-detail-hero .section-lede {
  color: #c4c0cf;
}

/* Keep product facts quiet so the product imagery and hierarchy carry the page. */
body.page-products .product-chip-list span,
body.page-products .application-grid span {
  background-color: transparent;
}

body.page-products .product-info-grid,
body.page-products .product-panel {
  background: transparent !important;
}

/* Products is a specification-led surface: keep the full page light and legible. */
body.page-products {
  color: var(--mars-ink);
  background: var(--mars-canvas);
}

body.page-products::before {
  opacity: 1;
  background:
    radial-gradient(ellipse at 88% 3%, rgba(112, 8, 216, .055), transparent 32rem),
    linear-gradient(180deg, #fff 0%, var(--mars-canvas) 38rem, var(--mars-canvas) 100%);
}

body.page-products main > .products-hero.section-block:first-child {
  color: var(--mars-ink);
  min-height: 0;
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(42px, 5vw, 68px);
  background:
    radial-gradient(ellipse at 88% 12%, rgba(112, 8, 216, .05), transparent 34rem),
    linear-gradient(180deg, #fff 0%, var(--mars-canvas) 100%) !important;
}

body.page-products .products-hero::before {
  background: inherit !important;
}

body.page-products .products-hero::after {
  background: linear-gradient(90deg, transparent 4%, rgba(48, 16, 184, .22) 42%, rgba(112, 8, 216, .15) 66%, transparent 96%);
}

body.page-products .product-breadcrumb,
body.page-products .product-breadcrumb a {
  color: #657080;
}

body.page-products .product-breadcrumb a:hover,
body.page-products .product-breadcrumb a:focus-visible,
body.page-products .product-series-intro .eyebrow,
body.page-products main > .products-hero.section-block:first-child .product-series-intro .eyebrow {
  color: var(--mars-eyebrow-light);
}

body.page-products .product-series-intro h1,
body.page-products .product-series-intro .product-series-tagline,
body.page-products .product-series-scale-caption strong {
  color: var(--mars-ink);
}

body.page-products .product-series-intro .section-lede,
body.page-products .product-series-scale-caption {
  color: var(--mars-muted);
}

body.page-products main > .products-hero.section-block:first-child .product-series-intro .section-lede {
  color: var(--mars-muted);
}

body.page-products .product-series-scale-caption {
  border-bottom-color: var(--mars-line);
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 16px;
  padding: 14px 2px 12px;
}

body.page-products .product-series-scale-caption strong {
  display: block;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

body.page-products .product-series-scale-caption > span:not(.product-series-scale-arrow) {
  display: block;
  grid-column: 1;
  color: #697582;
  font-size: .875rem;
  font-weight: 450;
}

body.page-products .product-series-scale-caption .product-series-scale-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #4c5562;
}

body.page-products .product-series-scale-arrow {
  color: var(--mars-purple-deep);
}

body.page-products .product-contact-section {
  color: var(--mars-ink);
  border-top: 1px solid var(--mars-line);
  border-bottom: 1px solid var(--mars-line);
  border-radius: 0;
  background: rgba(255, 255, 255, .64);
}

body.page-products .product-contact-section::before {
  display: none;
}

body.page-products .product-contact-section .eyebrow {
  color: var(--mars-eyebrow-light);
}

body.page-products .product-contact-section .section-lede {
  color: var(--mars-muted);
}

body.page-products .site-footer {
  color: var(--mars-muted);
  background: #fff;
  border-top-color: var(--mars-line);
}

body.page-products .site-footer > span:first-child {
  color: var(--mars-ink);
}

body.page-products .site-footer a {
  color: var(--mars-purple-deep);
}

@media (max-width: 760px) {
  body.page-products main > .products-hero.section-block:first-child,
  body.page-products .products-hero {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 44px;
  }
  body.page-products .site-nav {
    background: rgba(255, 255, 255, .98);
    border-bottom-color: var(--mars-line);
  }

  body.page-products .product-series-tagline {
    max-width: 28ch;
    text-wrap: balance;
  }
}
