:root {
  color-scheme: light;
  --ink: #071226;
  --ink-raised: #0c1b34;
  --ink-soft: #132543;
  --blue: #155eef;
  --blue-deep: #0d49bf;
  --blue-pale: #e9f0ff;
  --paper: #f6f8fc;
  --white: #ffffff;
  --lavender: #7868d8;
  --text: #263750;
  --muted: #5b6b82;
  --line: #d5dce8;
  --line-strong: #aeb9c9;
  --line-dark: #2a3a55;
  --dark-muted: #b5c1d3;
  --danger: #b4233b;
  --header-height: 78px;
  --container: 1320px;
  --gutter: clamp(24px, 4vw, 56px);
  --section-space: clamp(96px, 9vw, 144px);
  --shadow: 0 24px 72px rgba(7, 18, 38, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family:
    Inter, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

picture {
  display: block;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

p,
h1,
h2,
h3,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin-block-start: 0;
}

p,
ul,
ol,
dl,
figure,
fieldset {
  margin-block-end: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 0.99;
  margin-block-end: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(64px, 6.3vw, 88px);
}

h2 {
  font-size: clamp(44px, 4.5vw, 60px);
}

h3 {
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.08;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section-dark :focus-visible,
.page-hero-dark :focus-visible,
.home-hero :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible,
.modal :focus-visible {
  outline-color: var(--white);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--blue);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-soft {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--dark-muted);
}

.architecture-section,
.autonomy-section,
.benchmark-section,
.cases-section,
.category-section,
.contact-section,
.explorer-section,
.faq-section,
.frugal-section,
.hub-section,
.legal-content,
.legend-gallery,
.media-registry,
.method-section,
.pricing-section,
.role-map,
.sector-problems,
.sector-workers,
.security-section {
  isolation: isolate;
}

body[class^="page-"],
body[class*=" page-"] {
  min-width: 320px;
}

.section-dark h2,
.section-dark h3,
.section-dark strong,
.section-dark dt {
  color: var(--white);
}

.section-head {
  max-width: 950px;
  margin-bottom: clamp(48px, 5vw, 72px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-intro {
  max-width: 790px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.58;
}

.section-dark .section-intro {
  color: var(--dark-muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow,
.page-hero-dark .eyebrow,
.home-hero .eyebrow,
.final-cta .eyebrow,
.site-footer .eyebrow {
  color: #82a9ff;
}

.two-column,
.three-column {
  display: grid;
  align-items: start;
  gap: clamp(48px, 7vw, 108px);
}

.home-hero-grid > *,
.page-hero-grid > *,
.two-column > *,
.three-column > *,
.calculator > *,
.contact-grid > *,
.faq-grid > * {
  min-width: 0;
}

.two-column {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.three-column > * {
  height: 100%;
  padding: 42px;
  background: var(--white);
}

.check-list,
.plain-list,
.mini-list,
.contact-notes {
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.mini-list li,
.contact-notes li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before,
.contact-notes li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  content: "";
}

.plain-list li::before,
.mini-list li::before {
  position: absolute;
  top: 25px;
  left: 3px;
  width: 11px;
  height: 1px;
  background: currentColor;
  content: "";
}

.mini-list {
  font-size: 15px;
  line-height: 1.5;
}

.mini-list li {
  padding-block: 9px;
}

.mini-list li::before {
  top: 20px;
}

.section-dark .check-list li,
.section-dark .plain-list li,
.section-dark .mini-list li {
  border-color: var(--line-dark);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms var(--ease);
}

.button svg {
  width: 18px;
  flex: 0 0 18px;
  transition: transform 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary,
.button-header {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover,
.button-header:hover {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.section-dark .button-secondary,
.page-hero-dark .button-secondary,
.home-hero .button-secondary {
  border-color: #53647e;
  color: var(--white);
}

.section-dark .button-secondary:hover,
.page-hero-dark .button-secondary:hover,
.home-hero .button-secondary:hover {
  border-color: #9bb8ff;
  color: #c6d7ff;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--paper);
}

.button-quiet,
.quiet-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button-quiet svg {
  width: 16px;
}

.hero-actions,
.legend-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mark-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  position: relative;
  display: flex;
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: 180px;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 180px;
}

.site-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:not(.button) {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
  text-decoration: none;
}

.site-nav > a:not(.button)::after,
.nav-disclosure > summary::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.site-nav > a:not(.button):hover::after,
.site-nav > a[aria-current="page"]::after,
.nav-disclosure[open] > summary::after {
  transform: scaleX(1);
  transform-origin: left;
}

.locale-switch {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.button-header {
  min-height: 42px;
  padding: 10px 16px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 13px 10px;
  background: transparent;
  border: 1px solid var(--line);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 5px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-last-child(2) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-disclosure {
  position: static;
  height: 100%;
}

.nav-disclosure > summary {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-disclosure > summary::-webkit-details-marker {
  display: none;
}

.nav-disclosure > summary span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.nav-disclosure[open] > summary span {
  transform: rotate(45deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  display: grid;
  width: min(920px, calc(100vw - (2 * var(--gutter))));
  grid-template-columns: minmax(250px, 0.8fr) minmax(420px, 1.2fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mega-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  background: var(--ink);
  color: var(--dark-muted);
}

.mega-intro > span {
  color: #8aaeff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-intro strong {
  color: var(--white);
  font-size: 26px;
  line-height: 1.18;
}

.mega-intro a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
}

.mega-intro svg,
.mega-menu li svg {
  width: 17px;
}

.mega-menu ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 22px;
  margin: 0;
  list-style: none;
}

.mega-menu li a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.mega-menu li a:hover {
  background: var(--paper);
  color: var(--blue);
}

.breadcrumbs {
  padding-block: 15px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--line-strong);
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

/* Heroes and mission flow */
.home-hero,
.page-hero {
  position: relative;
  overflow: clip;
}

.home-hero {
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(92px, 9vw, 138px) 28px;
  background: var(--ink);
  color: var(--dark-muted);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 151, 191, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 151, 191, 0.1) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.home-hero::after {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.24), transparent 68%);
  content: "";
  pointer-events: none;
}

.home-hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
}

.home-hero h1,
.page-hero-dark h1 {
  color: var(--white);
}

.home-hero-copy h1 {
  max-width: 850px;
}

.hero-lead {
  max-width: 740px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(19px, 1.65vw, 22px);
  line-height: 1.55;
}

.home-hero .hero-lead,
.page-hero-dark .hero-lead {
  color: var(--dark-muted);
}

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

.hero-proof-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  max-width: 720px;
  padding: 0;
  margin: 45px 0 0;
  list-style: none;
}

.hero-proof-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line-dark);
  color: #d4dceb;
  font-size: 14px;
}

.hero-proof-list .mark-icon {
  color: #83a9ff;
}

.category-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 26px;
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line-dark);
  color: #d6deeb;
  font-size: 14px;
}

.category-line span {
  color: #87aaff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.page-hero {
  padding-block: clamp(96px, 10vw, 150px);
  background: var(--white);
}

.page-hero-dark {
  background: var(--ink);
  color: var(--dark-muted);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
}

.page-hero-copy h1 {
  max-width: 1050px;
}

.hero-index {
  display: grid;
  min-height: 300px;
  align-content: space-between;
  justify-items: end;
  padding: 30px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-index > span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.hero-index i {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.hero-index p {
  justify-self: start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-hero-dark .hero-index {
  border-color: var(--line-dark);
  color: var(--dark-muted);
}

.page-hero-dark .hero-index i {
  background: var(--line-dark);
}

.mission-panel {
  position: relative;
  padding: 0 26px 24px;
  background: #0b1a32;
  border: 1px solid #32435e;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.25);
  color: var(--dark-muted);
}

.mission-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
}

.mission-panel-head strong {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.mission-panel-head small {
  color: #8293ad;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #70a1ff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(112, 161, 255, 0.12);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.mission-steps {
  position: relative;
  padding: 10px 0 0;
  list-style: none;
}

.mission-steps::before {
  position: absolute;
  top: 34px;
  bottom: 32px;
  left: 19px;
  width: 1px;
  background: var(--line-dark);
  content: "";
}

.mission-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 12px;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  border-bottom: 1px solid rgba(66, 83, 111, 0.52);
  animation: mission-enter 480ms var(--ease) both;
  animation-delay: calc(var(--step) * 55ms);
}

.mission-index {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 28px;
  place-items: center;
  background: #0b1a32;
  color: #8293ad;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.mission-steps strong {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.mission-steps p {
  color: #95a5bd;
  font-size: 12px;
  line-height: 1.45;
}

.mission-steps i {
  width: 8px;
  height: 8px;
  background: #5e7190;
  border: 1px solid #8da0bc;
  border-radius: 50%;
}

.mission-steps .state-active {
  background: linear-gradient(90deg, transparent, rgba(21, 94, 239, 0.12));
}

.mission-steps .state-active i,
.mission-steps .state-ready i,
.mission-steps .state-done i {
  background: #70a1ff;
  border-color: #b4cdff;
}

.mission-steps .state-warning i {
  background: #d49042;
  border-color: #ffd49f;
}

.mission-steps .state-human i {
  background: #9d8df1;
  border-color: #d3c9ff;
}

.diagram-caption {
  margin-top: 18px;
  color: #8293ad;
  font-size: 10px;
  line-height: 1.4;
}

.mission-panel-compact {
  width: min(100%, 520px);
  justify-self: end;
}

.mission-panel-compact .mission-steps li {
  min-height: 56px;
}

.mission-panel-compact .mission-steps p {
  display: none;
}

@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(112, 161, 255, 0.02);
  }
}

@keyframes mission-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* proof strip */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  min-height: 170px;
  padding: 34px 30px;
  border-left: 1px solid var(--line);
}

.proof-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.proof-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Comparison and video */
.comparison-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.comparison-column {
  min-height: 480px;
  padding: clamp(36px, 4vw, 58px);
}

.comparison-column > span {
  display: block;
  margin-bottom: 72px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.comparison-column h3 {
  max-width: 470px;
  margin-bottom: 34px;
}

.comparison-muted {
  background: var(--paper);
}

.comparison-accent {
  background: var(--blue);
  color: #e5edff;
}

.comparison-accent h3,
.comparison-accent > span {
  color: var(--white);
}

.comparison-accent .plain-list li {
  border-color: rgba(255, 255, 255, 0.24);
}

.comparison-note,
.integration-footnote,
.verification-note,
.price-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.comparison-note {
  max-width: 920px;
  margin-top: 24px;
}

.video-feature-section {
  background: var(--paper);
}

.video-feature-grid,
.legend-grid,
.legend-watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
}

.video-feature-copy > p:not(.eyebrow),
.legend-grid > div:last-child > p:not(.eyebrow),
.legend-watch-grid > div:last-child > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 19px;
}

.video-feature-copy > .button {
  margin-top: 34px;
}

.play-mark {
  font-size: 10px;
  line-height: 1;
}

.video-poster {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
  border: 1px solid var(--line-strong);
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 18, 38, 0.74));
  content: "";
}

.video-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 480ms var(--ease);
}

.video-poster:hover img {
  transform: scale(1.025);
}

.poster-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  transform: translate(-50%, -50%);
}

.video-poster small {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.transcript-summary,
.formula-disclosure,
.modal-transcript {
  border-top: 1px solid var(--line);
}

.transcript-summary {
  margin-top: 34px;
}

.transcript-summary summary,
.formula-disclosure summary,
.modal-transcript summary {
  padding: 16px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  list-style-position: inside;
}

.transcript-summary p,
.modal-transcript p {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Architecture */
.architecture-map {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
}

.architecture-core {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 22px 28px;
  background: var(--ink);
  color: var(--dark-muted);
}

.architecture-core > span {
  color: #8eb0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.architecture-core strong {
  color: var(--white);
  font-size: clamp(22px, 2.1vw, 30px);
}

.architecture-core i {
  width: 52px;
  height: 1px;
  background: #7ea4ff;
}

.architecture-lines {
  position: absolute;
  z-index: 0;
  top: 115px;
  right: 9%;
  left: 9%;
  height: 48px;
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  pointer-events: none;
}

.architecture-items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.architecture-item {
  min-width: 0;
  background: var(--white);
}

.architecture-item > button {
  display: grid;
  width: 100%;
  min-height: 170px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 20px;
  padding: 24px 20px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.architecture-item > button:hover,
.architecture-item.is-active > button,
.architecture-item > button[aria-expanded="true"] {
  background: var(--blue);
  color: var(--white);
}

.architecture-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.architecture-item .mark-icon {
  width: 26px;
  height: 26px;
}

.architecture-item > button strong {
  grid-column: 1 / -1;
  align-self: end;
  font-size: 18px;
  line-height: 1.2;
}

.architecture-detail {
  padding: 24px 20px 28px;
  border-top: 1px solid var(--line);
}

.architecture-detail p {
  min-height: 118px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.architecture-detail a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.architecture-detail a svg {
  width: 16px;
}

.architecture-item:not(.is-active) > button[aria-expanded="false"] + .architecture-detail {
  display: none;
}

.architecture-orchestrator > button {
  box-shadow: inset 0 -3px var(--lavender);
}

.section-dark .architecture-map {
  border-color: var(--line-dark);
}

.section-dark .architecture-core {
  background: var(--blue);
}

.section-dark .architecture-lines {
  border-color: #405473;
}

.section-dark .architecture-items {
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.section-dark .architecture-item {
  background: var(--ink-raised);
}

.section-dark .architecture-item > button {
  color: var(--white);
}

.section-dark .architecture-item > button:hover,
.section-dark .architecture-item.is-active > button,
.section-dark .architecture-item > button[aria-expanded="true"] {
  background: var(--blue);
}

.section-dark .architecture-detail {
  border-color: var(--line-dark);
}

.section-dark .architecture-detail p {
  color: var(--dark-muted);
}

.section-dark .architecture-detail a {
  color: #a8c1ff;
}

/* Tabs and workflows */
.workflow-shell {
  border: 1px solid var(--line);
  background: var(--white);
}

.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.tab-list button {
  position: relative;
  min-height: 60px;
  flex: 0 0 auto;
  padding: 14px 22px;
  background: transparent;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}

.tab-list button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
}

.tab-list button:hover {
  background: var(--paper);
  color: var(--ink);
}

.tab-list button[aria-selected="true"] {
  color: var(--blue);
}

.tab-list button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(400px, 1.3fr);
  align-items: start;
}

.workflow-meta {
  min-height: 100%;
  padding: clamp(32px, 4vw, 54px);
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.workflow-meta span,
.example-label {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-meta p {
  margin-top: 30px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.workflow-steps {
  padding: 18px clamp(28px, 4vw, 52px);
  list-style: none;
}

.workflow-steps li {
  display: grid;
  min-height: 62px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.workflow-steps span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.workflow-steps p {
  color: var(--text);
  font-size: 15px;
}

.workflow-control {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px clamp(32px, 4vw, 54px);
  background: var(--ink);
  color: var(--dark-muted);
}

.workflow-control strong {
  color: #bcaeff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-control p {
  font-size: 15px;
}

.section > .container > .workflow-section {
  padding: 0;
  margin-top: 56px;
}

.section > .container > .workflow-section > .container {
  width: 100%;
}

/* Explorer and content cards */
.explorer-tabs {
  width: fit-content;
  margin-bottom: 34px;
  border: 1px solid var(--line);
}

.explorer-tabs button:last-child {
  border-right: 0;
}

.explorer-grid,
.hub-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.explorer-card,
.hub-card,
.resource-grid > a {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: clamp(28px, 3vw, 42px);
  background: var(--white);
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.explorer-card:hover,
.hub-card:hover,
.resource-grid > a:hover {
  background: var(--ink);
  color: var(--dark-muted);
}

.card-index,
.hub-card > span,
.resource-grid > a > span {
  margin-bottom: 54px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.explorer-card h3,
.hub-card h2,
.resource-grid h2 {
  margin-bottom: 22px;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.05;
}

.explorer-card:hover h3,
.hub-card:hover h2,
.resource-grid > a:hover h2 {
  color: var(--white);
}

.explorer-card > p,
.hub-card > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.explorer-card:hover > p,
.hub-card:hover > p {
  color: var(--dark-muted);
}

.explorer-card > div {
  display: grid;
  gap: 3px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.explorer-card > div + div {
  margin-top: 12px;
}

.explorer-card > div strong {
  color: var(--ink);
  text-transform: uppercase;
}

.explorer-card:hover > div,
.hub-card:hover li {
  border-color: var(--line-dark);
}

.explorer-card:hover > div strong {
  color: var(--white);
}

.explorer-card > i,
.hub-card > i,
.resource-grid > a > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  align-self: flex-end;
  margin-top: 26px;
  border: 1px solid var(--line);
  color: var(--blue);
}

.explorer-card > i svg,
.hub-card > i svg,
.resource-grid > a > i svg {
  width: 18px;
}

.hub-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hub-card li {
  padding-block: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.resource-grid > a {
  min-height: 330px;
}

/* Calculator */
.calculator-section {
  background: var(--paper);
}

.calculator-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.calculator-heading .section-head {
  margin-bottom: 56px;
}

.privacy-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-chip::before {
  width: 8px;
  height: 8px;
  background: var(--blue);
  content: "";
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  background: var(--white);
  border: 1px solid var(--line);
}

.calculator-form {
  padding: clamp(30px, 4vw, 54px);
}

.calculator-form fieldset,
.contact-form fieldset {
  padding: 0;
  border: 0;
}

.calculator-form fieldset + fieldset {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.calculator-step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.calculator-step-label span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.calculator-step-label p {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calculator-form legend,
.contact-form legend {
  width: 100%;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.calculator-form label,
.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.calculator-form label > span,
.contact-form label > span {
  color: var(--text);
  font-size: 13px;
  font-weight: 680;
}

.calculator-form input,
.calculator-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  color: var(--ink);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.calculator-form input:hover,
.calculator-form select:hover,
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #7c8aa0;
}

.calculator-form input:focus,
.calculator-form select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.15);
  outline: 0;
}

.input-with-unit {
  position: relative;
}

.input-with-unit input {
  padding-right: 48px;
}

.input-with-unit small {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-size: 13px;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-help {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.calculator-results {
  padding: clamp(34px, 4vw, 58px);
  background: var(--ink);
  color: var(--dark-muted);
}

.result-kicker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.result-kicker span {
  color: #90b1ff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-kicker strong {
  max-width: 250px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.calculator-results dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.calculator-results dl > div {
  min-height: 124px;
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.calculator-results dl > div:nth-child(1),
.calculator-results dl > div:nth-child(4) {
  border-right: 1px solid var(--line-dark);
}

.calculator-results dl > div:nth-child(2),
.calculator-results dl > div:nth-child(5) {
  padding-left: 20px;
}

.calculator-results dl > div:nth-child(3) {
  grid-column: 1 / -1;
  padding-right: 0;
}

.calculator-results dl > div:nth-child(3) dd {
  font-size: clamp(30px, 3vw, 44px);
}

.calculator-results dt {
  min-height: 42px;
  color: #96a6bd;
  font-size: 12px;
  line-height: 1.35;
}

.calculator-results dd {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}

.calculator-result-note {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  color: #aebbd0;
  font-size: 13px;
  line-height: 1.55;
}

.calculator-cta {
  margin-top: 26px;
}

.formula-disclosure {
  margin-top: 30px;
  border-color: var(--line-dark);
}

.formula-disclosure summary {
  color: var(--white);
}

.formula-disclosure ul {
  display: grid;
  gap: 8px;
  padding: 0 0 18px 18px;
  color: var(--dark-muted);
  font-size: 12px;
}

.formula-disclosure p {
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  color: #94a4bc;
  font-size: 12px;
}

/* Integration, efficiency and method */
.integration-grid,
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.integration-grid article {
  padding: clamp(34px, 4vw, 56px);
  background: var(--ink-raised);
}

.integration-section:not(.section-dark) .integration-grid {
  background: var(--line);
  border-color: var(--line);
}

.integration-section:not(.section-dark) .integration-grid article {
  background: var(--white);
}

.integration-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.integration-section:not(.section-dark) .integration-head {
  border-color: var(--line);
}

.integration-head > span {
  color: #91b0fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.integration-head small {
  color: var(--dark-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.integration-section:not(.section-dark) .integration-head small {
  color: var(--muted);
}

.integration-head h3 {
  margin-top: 8px;
  color: var(--white);
}

.integration-section:not(.section-dark) .integration-head h3 {
  color: var(--ink);
}

.integration-grid .price-note {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #9cadc4;
}

.integration-section:not(.section-dark) .price-note {
  border-color: var(--line);
  color: var(--muted);
}

.integration-footnote {
  max-width: 840px;
  margin-top: 24px;
}

.section-dark .integration-footnote {
  color: #96a6bd;
}

.frugal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: start;
  gap: clamp(60px, 9vw, 138px);
}

.frugal-levers,
.idea-list,
.evidence-fields {
  padding: 0;
  list-style: none;
}

.frugal-levers li,
.idea-list li,
.evidence-fields li {
  display: grid;
  min-height: 72px;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.frugal-levers span,
.idea-list span,
.evidence-fields span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.frugal-levers p,
.idea-list p {
  color: var(--ink);
  font-weight: 620;
  line-height: 1.35;
}

.method-timeline {
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.method-timeline > li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 58px);
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.method-number {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.method-timeline h3 {
  margin-bottom: 14px;
}

.method-timeline > li > div > p {
  max-width: 760px;
  color: var(--muted);
}

.method-timeline dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
}

.method-timeline dl > div {
  padding: 20px;
  background: var(--paper);
}

.method-timeline dt {
  color: var(--blue);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-timeline dd {
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.method-compact .method-timeline > li {
  padding-block: 32px;
}

.autonomy-grid,
.principle-grid,
.problem-grid,
.security-grid,
.orchestration-stages,
.role-capability-grid {
  display: grid;
  gap: 1px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.autonomy-grid,
.principle-grid,
.orchestration-stages {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.autonomy-grid article,
.principle-grid article,
.orchestration-stages li {
  min-height: 350px;
  padding: clamp(28px, 3vw, 42px);
  background: var(--white);
}

.autonomy-grid article > span,
.principle-grid article > span,
.orchestration-stages li > span,
.problem-grid article > span,
.security-grid article > span,
.role-capability-grid article > span {
  display: block;
  margin-bottom: 66px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.autonomy-grid h3,
.principle-grid h3,
.orchestration-stages h3 {
  margin-bottom: 20px;
}

.autonomy-grid article > p,
.principle-grid article > p,
.orchestration-stages li > p {
  color: var(--muted);
  font-size: 15px;
}

.orchestration-stages {
  border-color: var(--line-dark);
  background: var(--line-dark);
}

.orchestration-stages li {
  background: var(--ink-raised);
}

.orchestration-stages h3 {
  color: var(--white);
}

.orchestration-stages li > p {
  color: var(--dark-muted);
}

/* Evidence, media and closing CTA */
.cases-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.case-placeholder {
  padding: clamp(34px, 4vw, 54px);
  background: var(--paper);
  border-top: 4px solid var(--blue);
}

.case-placeholder > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-placeholder ul {
  padding: 0;
  margin: 36px 0;
  list-style: none;
}

.case-placeholder li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}

.case-placeholder > p {
  color: var(--muted);
  font-size: 13px;
}

.legend-feature {
  overflow: hidden;
}

.legend-photo,
.legend-hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.legend-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.legend-photo > span,
.legend-hero-photo > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.legend-actions {
  margin-top: 34px;
}

.final-cta {
  padding-block: clamp(88px, 9vw, 132px);
  background: var(--blue);
  color: #dce7ff;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  align-items: end;
  gap: clamp(58px, 9vw, 140px);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta-grid > div:last-child > p {
  max-width: 570px;
  margin-bottom: 30px;
  font-size: 19px;
}

/* Tables, pricing and page-specific grids */
.matrix-table {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.matrix-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.matrix-table th,
.matrix-table td {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.matrix-table thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.matrix-table tbody th {
  color: var(--ink);
  font-size: 14px;
}

.matrix-table td {
  color: var(--muted);
  font-size: 15px;
}

.matrix-table td:last-child {
  background: var(--blue-pale);
  color: var(--ink);
}

.employee-capacity {
  background: var(--paper);
}

.employee-capacity .two-column > div > p,
.pricing-clarity .two-column > div > p,
.about-story > p,
.sector-impact .two-column > div > p,
.sector-integration .two-column > div > p {
  color: var(--muted);
  font-size: 18px;
}

.capacity-note {
  padding: clamp(34px, 4vw, 54px);
  background: var(--ink);
  color: var(--dark-muted);
  border-left: 4px solid var(--lavender);
}

.capacity-note > span,
.employee-offer > div:first-child > span,
.offer-card > span {
  color: #aa9df2;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capacity-note strong {
  display: block;
  margin-block: 24px 16px;
  color: var(--white);
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
}

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

.security-grid article,
.problem-grid article,
.role-capability-grid article {
  min-height: 300px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
}

.security-grid h3,
.role-capability-grid h2 {
  margin-bottom: 18px;
  font-size: 25px;
}

.security-grid p,
.problem-grid p,
.role-capability-grid p {
  color: var(--muted);
  font-size: 15px;
}

.security-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
  padding: 36px 42px;
  margin-top: 40px;
  background: var(--paper);
  border-left: 4px solid var(--blue);
}

.security-request strong {
  color: var(--ink);
  font-size: 22px;
}

.security-request p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.benchmark-schema {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(30px, 4vw, 52px);
  background: var(--ink);
}

.benchmark-schema > span {
  width: 100%;
  margin-bottom: 24px;
  color: #a99bf1;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.benchmark-schema code {
  padding: 9px 12px;
  background: var(--ink-soft);
  border: 1px solid #40506a;
  color: #cfdaeb;
  font-size: 12px;
}

.pricing-step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 34px;
}

.pricing-step > span {
  padding-top: 5px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.pricing-step-two {
  padding-top: 94px;
  margin-top: 94px;
  border-top: 1px solid var(--line);
}

.offer-grid {
  border-color: var(--line);
  background: var(--line);
}

.offer-card {
  position: relative;
  padding: clamp(34px, 4vw, 56px);
  background: var(--white);
}

.offer-card > span {
  color: var(--blue);
}

.offer-card h3 {
  margin-top: 25px;
}

.offer-card > p {
  min-height: 90px;
  margin-top: 20px;
  color: var(--muted);
}

.offer-featured {
  background: var(--ink);
  color: var(--dark-muted);
}

.offer-featured h3,
.offer-featured .offer-price strong {
  color: var(--white);
}

.offer-featured .check-list li {
  border-color: var(--line-dark);
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  padding-block: 30px;
  margin-block: 26px;
  border-block: 1px solid var(--line);
}

.offer-featured .offer-price {
  border-color: var(--line-dark);
}

.offer-price small {
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-featured .offer-price small {
  color: #95a5bd;
}

.offer-price strong {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.offer-price > span {
  color: var(--muted);
  font-size: 13px;
}

.employee-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: clamp(34px, 4vw, 54px);
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
}

.employee-offer > div:first-child > span {
  color: var(--blue);
}

.employee-offer h3 {
  margin-block: 16px;
}

.employee-offer > div:first-child p {
  max-width: 650px;
  color: var(--muted);
}

.employee-offer .offer-price {
  min-width: 230px;
  padding: 0;
  margin: 0;
  border: 0;
}

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

.problem-grid article > span {
  margin-bottom: 54px;
}

.problem-grid p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 590;
  line-height: 1.4;
}

.process-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-map > div {
  display: grid;
  min-height: 150px;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  padding: 28px;
  background: var(--white);
}

.process-map span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.process-map strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.workflow-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--paper);
  border-top: 4px solid var(--blue);
}

.workflow-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-card ol {
  padding: 0;
  margin-top: 30px;
  list-style: none;
}

.workflow-card li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.workflow-card b {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.workflow-card p {
  color: var(--text);
  font-size: 14px;
}

.sector-integration .section-head {
  margin-bottom: 34px;
}

.sector-integration .two-column > div {
  padding-right: 30px;
}

.sector-integration .two-column > div + div {
  padding-left: clamp(30px, 5vw, 70px);
  border-left: 1px solid var(--line-dark);
}

.example-process {
  padding-block: 82px;
  background: var(--blue-pale);
}

.example-process h2 {
  max-width: 820px;
  margin-top: 22px;
}

.example-process p {
  max-width: 780px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 19px;
}

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

.role-capability-grid article > span {
  margin-bottom: 44px;
}

.role-capability-grid .mini-list {
  margin-top: 22px;
}

.role-ops .section-head {
  margin-bottom: 28px;
}

.role-ops .section-head h2 {
  font-size: 32px;
}

.compatible-processes .price-note {
  max-width: 850px;
  margin-top: 28px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(520px, 1.34fr);
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 78px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 660;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--blue);
  font-size: 24px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details > div {
  overflow: hidden;
}

.faq-list details p {
  max-width: 760px;
  padding: 0 50px 28px 0;
  color: var(--muted);
  font-size: 16px;
}

/* LEGEND and media */
.legend-hero-photo {
  width: min(100%, 410px);
  justify-self: end;
}

.legend-hero-photo img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.legend-watch-grid {
  align-items: start;
}

.consent-video {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
}

.consent-video > img,
.consent-video > picture,
.consent-video > picture img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.consent-video > img,
.consent-video > picture {
  opacity: 0.42;
}

.consent-video > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px;
  color: var(--white);
  text-align: center;
}

.consent-video > div > p {
  max-width: 480px;
}

.consent-video > div > a {
  color: #c7d7ff;
  font-size: 13px;
}

.consent-video iframe,
.external-video iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.episode-facts {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.episode-facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.episode-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.episode-facts dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.idea-list {
  max-width: 950px;
}

.idea-list li {
  min-height: 92px;
}

.idea-list p {
  font-size: clamp(18px, 2vw, 25px);
}

.verification-note {
  max-width: 850px;
  padding: 22px 26px;
  margin-top: 40px;
  background: var(--white);
  border-left: 3px solid var(--lavender);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.founder-note {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 48px;
  padding-top: 60px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.founder-note > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.registry-row {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-block: 1px solid var(--line);
}

.registry-row > span {
  color: var(--blue);
  font-weight: 750;
}

.registry-row time {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

/* About, contact, resources and legal */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: end;
  gap: clamp(60px, 9vw, 140px);
  margin-bottom: 80px;
}

.about-story .eyebrow {
  margin-bottom: 24px;
}

.principle-grid {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.22fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.contact-paths {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.contact-paths > h2 {
  max-width: 620px;
}

.contact-paths > p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted);
}

.contact-tunnel-link {
  display: none;
}

.calendar-direct-card {
  padding: clamp(26px, 3vw, 36px);
  margin-top: 38px;
  background: var(--ink);
  color: var(--white);
}

.calendar-direct-card > span {
  color: #90b1ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-direct-card h3 {
  max-width: 430px;
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(24px, 2.5vw, 34px);
}

.calendar-direct-card p {
  max-width: 440px;
  margin-top: 14px;
  color: var(--dark-muted);
}

.calendar-direct-card .button {
  width: 100%;
  margin-top: 26px;
}

.calendar-inline-trigger {
  display: block;
  appearance: none;
  margin: 18px auto 0;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #b9c9e4;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.calendar-inline-trigger:hover {
  color: var(--white);
}

.contact-email-line {
  font-size: 13px;
}

.contact-email-line a {
  color: var(--blue-deep);
  font-weight: 700;
}

.contact-form {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: clamp(30px, 4vw, 52px);
  background: var(--paper);
  border-top: 4px solid var(--blue);
}

.form-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.form-progress span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-width: 86px;
  min-height: 42px;
  padding: 7px 10px;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.form-progress b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
}

.form-progress small {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-progress span.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.form-progress i {
  height: 1px;
  background: var(--line);
}

.form-step-intro {
  margin: -14px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.role-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form .role-choice {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.contact-form .role-choice input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .role-choice > span {
  display: grid;
  min-height: 126px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.role-choice small {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.role-choice strong {
  align-self: end;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.25;
}

.role-choice em {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}

.role-choice:hover > span {
  border-color: #90a1b8;
  transform: translateY(-2px);
}

.role-choice input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.18);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.role-choice input:checked + span {
  background: #f2f6ff;
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--blue);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px !important;
  margin-top: 26px;
}

.consent-field input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent-field span {
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.contact-form :user-invalid,
.contact-form [aria-invalid="true"] {
  border-color: var(--danger);
}

.form-actions {
  justify-content: flex-end;
  margin-top: 32px;
}

.form-status {
  min-height: 24px;
  margin-top: 20px;
  color: var(--blue-deep);
  font-size: 14px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.calendar-fallback {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-block: 42px;
  margin-top: 72px;
  border-block: 1px solid var(--line);
}

.calendar-fallback h2 {
  font-size: 30px;
}

.calendar-fallback p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
}

.legal-grid aside {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.legal-grid aside p {
  color: var(--muted);
  font-size: 13px;
}

.legal-grid > div {
  max-width: 850px;
}

.legal-grid > div > section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.legal-grid h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3vw, 42px);
}

.legal-grid p + p {
  margin-top: 18px;
}

.legal-grid .check-list {
  margin-top: 22px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding-block: 70px;
  background: var(--ink);
  color: var(--dark-muted);
  text-align: center;
}

.not-found .container {
  max-width: 900px;
}

.not-found .container > span {
  display: block;
  color: #536b98;
  font-size: clamp(120px, 25vw, 320px);
  font-weight: 760;
  letter-spacing: -0.09em;
  line-height: 0.7;
}

.not-found .eyebrow {
  justify-content: center;
  margin-top: 52px;
}

.not-found h1 {
  color: var(--white);
}

.not-found .container > p:not(.eyebrow) {
  max-width: 650px;
  margin: 30px auto 0;
}

.not-found .container > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.not-found .button-secondary {
  border-color: #5a6a84;
  color: var(--white);
}

/* Footer */
.site-footer {
  padding-top: 86px;
  background: var(--ink);
  color: var(--dark-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(600px, 1.25fr);
  gap: clamp(60px, 9vw, 130px);
  padding-bottom: 72px;
}

.footer-statement > p {
  max-width: 380px;
  margin-top: 30px;
  color: #aebbd0;
}

.footer-statement > a:last-child {
  display: inline-block;
  margin-top: 30px;
  color: var(--white);
  font-size: 15px;
}

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

.footer-groups h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer-groups ul {
  padding: 0;
  list-style: none;
}

.footer-groups li + li {
  margin-top: 11px;
}

.footer-groups a {
  color: #9facbf;
  font-size: 13px;
  text-decoration: none;
}

.footer-groups a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-dark);
  color: #7f8da3;
  font-size: 12px;
}

.footer-bottom .quiet-button {
  color: #aebbd0;
}

/* Modals and dynamically injected embeds */
.modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.modal[hidden] {
  display: none !important;
}

.modal.is-open {
  animation: modal-fade 180ms ease both;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 20, 0.86);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: calc(100svh - 2 * clamp(18px, 4vw, 48px));
  overflow: auto;
  background: var(--white);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.video-modal-panel {
  padding: clamp(24px, 4vw, 46px);
}

.calendar-modal-panel {
  width: min(100%, 1120px);
  min-height: min(760px, calc(100svh - 60px));
  padding: clamp(24px, 4vw, 44px);
}

.modal-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.modal-head .eyebrow {
  margin-bottom: 12px;
}

.modal-head h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.modal-close {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
}

.video-modal-panel > video {
  width: 100%;
  margin-top: 28px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.modal-transcript {
  margin-top: 24px;
}

.external-video,
.calendar-frame {
  display: grid;
  min-height: 520px;
  place-items: center;
  margin-top: 28px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}

.external-video p,
.calendar-frame p {
  color: var(--muted);
}

.external-video .button {
  margin-top: 22px;
}

.external-video iframe,
.calendar-frame iframe {
  width: 100%;
  min-height: 650px;
  border: 0;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
}

/* Responsive and accessibility */
@media (max-width: 1200px) {
  :root {
    --gutter: 32px;
    --section-space: 104px;
  }

  .site-nav {
    gap: 17px;
    font-size: 13px;
  }

  .brand,
  .brand img {
    width: 160px;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 48px;
  }

  .architecture-map {
    padding: 32px;
  }

  .architecture-item > button {
    padding-inline: 16px;
  }

  .architecture-detail {
    padding-inline: 16px;
  }

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

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

@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
    --gutter: 28px;
    --section-space: 92px;
  }

  body {
    font-size: 17px;
  }

  h1 {
    font-size: clamp(54px, 8vw, 72px);
  }

  h2 {
    font-size: clamp(40px, 6vw, 52px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px var(--gutter) 36px;
    overflow-y: auto;
    background: var(--white);
  }

  .site-nav.is-open,
  .nav-toggle[aria-expanded="true"] + .site-nav {
    display: flex;
  }

  .site-nav > a:not(.button),
  .nav-disclosure {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a:not(.button) {
    min-height: 54px;
  }

  .site-nav > a:not(.button)::after,
  .nav-disclosure > summary::after {
    display: none;
  }

  .nav-disclosure > summary {
    min-height: 54px;
    justify-content: space-between;
  }

  .mega-menu {
    position: static;
    display: block;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
    box-shadow: none;
  }

  .mega-intro {
    display: none;
  }

  .mega-menu ul {
    display: block;
    padding: 8px 0 18px 18px;
  }

  .mega-menu li a {
    min-height: 46px;
    padding-inline: 0;
  }

  .locale-switch {
    color: var(--blue);
  }

  .site-nav .button-header {
    width: 100%;
    margin-top: 24px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-grid,
  .page-hero-grid,
  .video-feature-grid,
  .legend-grid,
  .legend-watch-grid,
  .calculator,
  .frugal-grid,
  .cases-grid,
  .contact-grid,
  .about-story,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .home-hero-copy,
  .page-hero-copy {
    max-width: 840px;
  }

  .contact-paths {
    position: static;
  }

  .contact-tunnel-link {
    display: inline-flex;
    margin-top: 24px;
  }

  .mission-panel,
  .mission-panel-compact {
    width: min(100%, 680px);
    justify-self: stretch;
  }

  .page-hero .mission-panel,
  .legend-hero-photo {
    justify-self: start;
  }

  .hero-index {
    min-height: 210px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    align-content: center;
    gap: 30px;
    justify-items: start;
  }

  .hero-index i {
    width: 100%;
  }

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

  .proof-grid > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .proof-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .comparison-column {
    min-height: 420px;
  }

  .video-poster {
    width: min(100%, 820px);
  }

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

  .architecture-lines {
    display: none;
  }

  .architecture-orchestrator {
    grid-column: 1 / -1;
  }

  .workflow-panel {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .calculator-results {
    min-height: 0;
  }

  .autonomy-grid,
  .principle-grid,
  .orchestration-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-timeline dl {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .three-column {
    grid-template-columns: 1fr;
  }

  .sector-integration .two-column {
    grid-template-columns: 1fr;
  }

  .sector-integration .two-column > div {
    padding-right: 0;
  }

  .sector-integration .two-column > div + div {
    padding: 54px 0 0;
    margin-top: 54px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .gallery-grid img {
    height: 520px;
  }

  .footer-groups {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 22px;
    --section-space: 76px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(46px, 12vw, 62px);
  }

  h2 {
    font-size: clamp(36px, 9vw, 46px);
  }

  h3 {
    font-size: 25px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .section-intro,
  .hero-lead {
    font-size: 18px;
  }

  .button {
    min-height: 50px;
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .home-hero,
  .page-hero {
    padding-block: 76px;
  }

  .hero-grid-lines {
    background-size: 56px 56px;
  }

  .hero-proof-list,
  .proof-grid,
  .comparison-split,
  .workflow-panel,
  .calculator-results dl,
  .integration-grid,
  .offer-grid,
  .two-column,
  .problem-grid,
  .role-capability-grid,
  .explorer-grid,
  .hub-grid,
  .resource-grid,
  .process-map,
  .final-cta-grid,
  .faq-grid,
  .founder-note,
  .field-row,
  .legal-grid,
  .footer-groups {
    grid-template-columns: 1fr;
  }

  .hero-proof-list li {
    padding-block: 11px;
  }

  .category-line {
    align-items: flex-start;
  }

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

  .hero-index {
    min-height: 160px;
    padding: 22px;
  }

  .hero-index > span {
    font-size: 62px;
  }

  .mission-panel {
    padding-inline: 18px;
  }

  .mission-panel-head {
    grid-template-columns: auto 1fr;
  }

  .mission-panel-head small {
    display: none;
  }

  .proof-grid > div,
  .proof-grid > div:nth-child(2),
  .proof-grid > div:last-child {
    min-height: 145px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-column {
    min-height: auto;
    padding: 36px 28px;
  }

  .comparison-column > span {
    margin-bottom: 42px;
  }

  .video-feature-grid,
  .legend-grid,
  .legend-watch-grid {
    gap: 42px;
  }

  .poster-play {
    width: 60px;
    height: 60px;
  }

  .architecture-map {
    padding: 18px;
  }

  .architecture-core {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 120px;
    padding: 22px;
  }

  .architecture-core i {
    display: none;
  }

  .architecture-items {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .architecture-orchestrator {
    grid-column: auto;
  }

  .architecture-item > button {
    min-height: 112px;
  }

  .architecture-detail p {
    min-height: 0;
  }

  .tab-list button {
    min-height: 54px;
    padding-inline: 18px;
  }

  .workflow-meta {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-control {
    grid-template-columns: 1fr;
  }

  .explorer-card,
  .hub-card,
  .resource-grid > a {
    min-height: 340px;
  }

  .calculator-heading {
    display: block;
  }

  .form-progress {
    gap: 8px;
  }

  .form-progress span {
    min-width: 72px;
  }

  .privacy-chip {
    margin-bottom: 30px;
  }

  .calculator {
    border: 0;
  }

  .calculator-form,
  .calculator-results {
    padding: 30px 24px;
  }

  .calculator-results dl > div,
  .calculator-results dl > div:nth-child(odd),
  .calculator-results dl > div:nth-child(even) {
    min-height: 100px;
    padding: 20px 0;
    border-right: 0;
  }

  .result-kicker {
    display: block;
  }

  .result-kicker strong {
    display: block;
    margin-top: 12px;
    text-align: left;
  }

  .integration-grid article {
    padding: 32px 26px;
  }

  .method-timeline > li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .method-timeline dl {
    grid-template-columns: 1fr;
  }

  .autonomy-grid,
  .principle-grid,
  .orchestration-stages,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .autonomy-grid article,
  .principle-grid article,
  .orchestration-stages li,
  .security-grid article {
    min-height: 280px;
  }

  .security-request,
  .employee-offer,
  .calendar-fallback,
  .registry-row {
    grid-template-columns: 1fr;
  }

  .employee-offer .offer-price {
    min-width: 0;
  }

  .pricing-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .offer-card > p {
    min-height: 0;
  }

  .example-process {
    padding-block: 66px;
  }

  .faq-list summary {
    min-height: 70px;
    font-size: 17px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .consent-video,
  .consent-video > img,
  .consent-video > picture,
  .consent-video > picture img {
    min-height: 360px;
  }

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

  .gallery-grid img {
    height: auto;
    max-height: 520px;
  }

  .founder-note {
    gap: 28px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .button {
    flex: 1 1 auto;
  }

  .legal-grid aside {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .footer-groups {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 24px;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: calc(100svh - 24px);
  }

  .modal-head h2 {
    font-size: 31px;
  }

  .external-video,
  .calendar-frame {
    min-height: 420px;
    padding: 20px;
  }
}

@media (max-width: 390px) {
  :root {
    --gutter: 18px;
    --section-space: 64px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .brand,
  .brand img {
    width: 145px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-actions,
  .legend-actions,
  .not-found .container > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .legend-actions .button,
  .not-found .button {
    width: 100%;
  }

  .category-line {
    display: block;
  }

  .category-line span {
    display: block;
    margin-top: 16px;
  }

  .hero-index {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-index i {
    display: none;
  }

  .mission-panel {
    padding-inline: 12px;
  }

  .mission-steps li {
    grid-template-columns: 34px 1fr 10px;
    gap: 8px;
  }

  .mission-index {
    width: 32px;
  }

  .mission-steps p {
    font-size: 11px;
  }

  .proof-grid > div,
  .comparison-column,
  .explorer-card,
  .hub-card,
  .resource-grid > a {
    padding-inline: 22px;
  }

  .workflow-steps {
    padding-inline: 20px;
  }

  .workflow-control,
  .workflow-meta {
    padding-inline: 22px;
  }

  .calculator-form,
  .calculator-results {
    padding-inline: 18px;
  }

  .method-timeline > li {
    display: block;
  }

  .method-number {
    display: block;
    margin-bottom: 18px;
  }

  .pricing-step {
    display: block;
  }

  .pricing-step > span {
    display: block;
    margin-bottom: 20px;
  }

  .security-request,
  .employee-offer,
  .capacity-note,
  .case-placeholder {
    padding-inline: 24px;
  }

  .episode-facts > div {
    grid-template-columns: 88px 1fr;
  }

  .consent-video > div {
    padding: 22px;
  }

  .contact-form {
    padding-inline: 18px;
  }

  .role-choice-grid {
    grid-template-columns: 1fr;
  }

  .form-progress span {
    grid-template-columns: 1fr;
    min-width: 42px;
    min-height: 42px;
    justify-items: center;
    padding: 7px;
  }

  .form-progress small {
    display: none;
  }

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

  .form-actions .button {
    width: 100%;
  }

  .modal-head {
    gap: 12px;
  }

  .modal-close {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .software-marquee {
    overflow-x: auto !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .software-marquee-track {
    animation: none !important;
  }

  .software-logo-row[aria-hidden="true"] {
    display: none;
  }
}

@media (forced-colors: active) {
  :root {
    --line: CanvasText;
    --line-strong: CanvasText;
    --line-dark: CanvasText;
  }

  .button,
  .nav-toggle,
  .mission-panel,
  .architecture-map,
  .workflow-shell,
  .calculator,
  .offer-grid,
  .integration-grid,
  .modal-panel {
    border: 1px solid CanvasText;
  }

  .button-primary,
  .button-header,
  .button-light,
  .comparison-accent,
  .final-cta {
    forced-color-adjust: none;
  }

  .live-dot,
  .mission-steps i,
  .privacy-chip::before,
  .check-list li::before,
  .contact-notes li::before {
    background: Highlight;
    border-color: HighlightText;
    forced-color-adjust: none;
  }

  .hero-grid-lines,
  .architecture-lines {
    display: none;
  }

  :focus-visible {
    outline: 3px solid Highlight;
  }
}

/* Lovable-inspired homepage journey, translated to the Substi product */
.page-home {
  --header-height: 64px;
  --container: 1136px;
  background: #191a1c;
}

.page-home main {
  background: #191a1c;
  color: #f7f9ff;
}

.page-home .home-site-header {
  background: rgba(24, 25, 27, 0.9);
  border-bottom: 0;
  color: #fff;
  backdrop-filter: blur(18px);
}

.page-home .home-site-header .header-shell {
  width: min(calc(100% - (2 * var(--gutter))), 1136px);
}

.page-home .home-site-header .brand,
.page-home .home-site-header .brand img {
  width: 140px;
}

.home-mobile-start {
  display: none;
}

.page-home .home-site-nav {
  gap: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 520;
}

.page-home .home-site-nav .locale-switch {
  color: #98b8ff;
}

.page-home .home-site-nav .home-header-demo {
  min-height: 38px;
  padding: 8px 14px;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 9px;
  color: #fff;
  font-weight: 520;
}

.page-home .home-site-nav .button-header {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 9px;
  background: #fff;
  color: #17191d;
  font-weight: 560;
}

.page-home .home-site-nav .button-header:hover {
  background: #e8efff;
}

.page-home .home-site-nav .nav-disclosure > summary span {
  color: #8fb1ff;
}

.lovable-home-hero {
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  padding: clamp(130px, 16vh, 190px) var(--gutter) clamp(130px, 18vh, 210px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 46% at 48% 95%, rgba(95, 212, 255, 0.98) 0%, rgba(21, 94, 239, 0.86) 38%, transparent 74%),
    radial-gradient(ellipse 62% 40% at 16% 84%, rgba(120, 104, 216, 0.76), transparent 74%),
    radial-gradient(ellipse 58% 40% at 88% 76%, rgba(26, 118, 255, 0.68), transparent 72%),
    linear-gradient(180deg, #17181a 5%, #171a22 34%, #14295e 68%, #1769ff 100%);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.lovable-home-hero::after {
  display: none;
}

.home-gradient-orb {
  position: absolute;
  z-index: -1;
  width: min(58vw, 840px);
  border-radius: 50%;
  opacity: 0.46;
  aspect-ratio: 1;
  filter: blur(110px);
  pointer-events: none;
}

.home-gradient-orb-one {
  right: -18vw;
  bottom: -38vw;
  background: #5fd4ff;
  animation: home-orb-float 14s ease-in-out infinite alternate;
}

.home-gradient-orb-two {
  bottom: -42vw;
  left: -12vw;
  background: #7868d8;
  animation: home-orb-float 18s ease-in-out infinite alternate-reverse;
}

.lovable-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
}

.home-hero-kicker {
  padding: 7px 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.lovable-home-hero h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.home-hero-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 0;
  margin-top: 22px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.42;
  list-style: none;
  white-space: nowrap;
}

.home-hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.home-hero-benefits span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(47, 211, 133, 0.14);
  color: #45e39a;
  font-size: 14px;
  font-weight: 800;
}

.home-mission-composer {
  width: min(100%, 660px);
  padding: 18px 18px 14px;
  margin-top: 40px;
  background: #242526;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(2, 8, 23, 0.34);
  color: #fff;
  text-align: left;
}

.home-mission-composer label {
  display: block;
}

.home-mission-composer textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 4px;
  resize: none;
  overflow: hidden;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.home-mission-composer textarea::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.home-mission-composer textarea:focus-visible {
  outline: 0;
}

.home-mission-composer:focus-within {
  border-color: rgba(141, 180, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.28), 0 28px 90px rgba(2, 8, 23, 0.34);
}

.mission-composer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.composer-video {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  background: #323436;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: #c5d5fb;
  font-size: 11px;
}

.composer-video:hover {
  background: #3d4659;
  color: #fff;
}

.mission-suggestions {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  gap: 6px;
  overflow: hidden;
}

.mission-suggestions button {
  flex: 0 1 auto;
  padding: 6px 8px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-suggestions button:hover {
  border-color: rgba(145, 180, 255, 0.58);
  color: #fff;
}

.composer-submit {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.composer-submit:hover {
  color: #fff;
}

.composer-submit svg {
  width: 16px;
}

.home-trust,
.home-showcase,
.home-employees,
.home-impact {
  background: #191a1c;
  color: rgba(255, 255, 255, 0.74);
}

.home-trust {
  padding-block: 82px 106px;
}

.home-trust > .container > p {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.home-trust-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.home-trust-track > div {
  display: grid;
  min-height: 128px;
  align-content: center;
  gap: 4px;
  padding: 22px;
  background: #202123;
}

.home-trust-track span {
  color: #6f92e6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.home-trust-track strong {
  color: #f7f9ff;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.home-trust-track small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.home-showcase {
  padding-block: 36px 130px;
}

.home-section-label {
  margin-bottom: 18px;
  color: #91b2ff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-showcase h2,
.home-employees h2,
.home-impact h2,
.home-ready h2 {
  color: #fff;
  font-size: clamp(46px, 5vw, 66px);
  font-weight: 660;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.home-showcase h2 {
  display: inline-block;
  background: linear-gradient(90deg, #fff 8%, #5fd4ff 42%, #7868d8 70%, #fff 96%);
  background-size: 230% auto;
  background-clip: text;
  color: transparent;
  animation: home-heading-shift 10s linear infinite;
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
  margin-top: 52px;
}

.home-showcase-visual {
  min-width: 0;
}

.showcase-window {
  position: relative;
  min-height: 470px;
  padding: 18px;
  overflow: hidden;
  background: #232426;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.showcase-window-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.showcase-window-head > span {
  width: 8px;
  height: 8px;
  background: #5fd4ff;
  border-radius: 50%;
  box-shadow: 0 0 14px #5fd4ff;
}

.showcase-window-head small {
  font-size: 9px;
}

.showcase-panel {
  position: absolute;
  inset: 60px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 22%, rgba(21, 94, 239, 0.17), transparent 48%),
    #1d1e20;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  text-align: center;
  animation: showcase-in 320ms var(--ease) both;
}

.showcase-state {
  color: #91b2ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.showcase-orb {
  position: relative;
  display: grid;
  width: 148px;
  margin-block: 30px;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #8fe6ff, #1769ff 48%, #7868d8 72%, #181a20 100%);
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(21, 94, 239, 0.26);
  aspect-ratio: 1;
}

.showcase-orb::before,
.showcase-orb::after {
  position: absolute;
  border: 1px solid rgba(143, 204, 255, 0.28);
  border-radius: 50%;
  content: "";
}

.showcase-orb::before {
  inset: -18px;
}

.showcase-orb::after {
  inset: -38px;
}

.showcase-orb i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.showcase-orb i:nth-child(1) { top: -20px; }
.showcase-orb i:nth-child(2) { right: -20px; bottom: 16px; }
.showcase-orb i:nth-child(3) { bottom: -12px; left: 8px; }

.showcase-panel > strong {
  max-width: 330px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.showcase-panel > p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.showcase-plan,
.showcase-checks {
  width: 100%;
  padding: 0;
  margin-top: 26px;
  list-style: none;
  text-align: left;
}

.showcase-plan li,
.showcase-checks > div {
  display: grid;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.showcase-plan li {
  grid-template-columns: 42px 1fr;
  color: #e7ecf8;
  font-size: 13px;
}

.showcase-plan span {
  color: #78a0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.showcase-checks > div {
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.showcase-checks dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.showcase-checks dd {
  color: #8fb1ff;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.showcase-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.showcase-play span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #9ebcff;
  font-size: 8px;
}

.showcase-play:hover {
  color: #fff;
}

.home-showcase-steps {
  display: grid;
}

.home-showcase-steps > button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 10px;
  padding: 25px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.4);
  text-align: left;
  transition: color 220ms ease, opacity 220ms ease;
}

.home-showcase-steps > button > span {
  grid-row: 1 / 3;
  color: #5f79b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.home-showcase-steps strong {
  color: currentColor;
  font-size: clamp(26px, 2.5vw, 37px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.home-showcase-steps p {
  max-width: 490px;
  color: currentColor;
  font-size: 15px;
  line-height: 1.5;
}

.home-showcase-steps > button.is-active,
.home-showcase-steps > button:hover {
  color: #fff;
}

.home-showcase-steps > button[aria-pressed="true"] {
  color: #fff;
}

.home-showcase-steps > button[aria-pressed="false"]:not(:hover) {
  color: rgba(255, 255, 255, 0.4);
}

.home-showcase-steps > button.is-active > span {
  color: #87aaff;
}

.home-employees {
  padding-block: 62px 134px;
}

.home-gallery-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 36px;
}

.home-gallery-head > div > p:last-child {
  max-width: 690px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}

.home-gallery-head .button-secondary {
  min-height: 38px;
  padding: 8px 14px;
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  color: #fff;
  font-weight: 520;
}

.home-employee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 22px;
  margin-top: 44px;
}

.home-employee-card {
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.employee-card-visual {
  position: relative;
  min-height: 205px;
  padding: 13px;
  overflow: hidden;
  background: linear-gradient(140deg, #eef5ff, #bfd2ff 58%, #718be1);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

.home-employee-card:nth-child(2) .employee-card-visual { background: linear-gradient(140deg, #e9f9ff, #7fd8f0 55%, #2b74d9); }
.home-employee-card:nth-child(3) .employee-card-visual { background: linear-gradient(140deg, #f2efff, #b3a9ef 56%, #5b55b7); }
.home-employee-card:nth-child(4) .employee-card-visual { background: linear-gradient(140deg, #edf2ff, #8ba8ff 52%, #155eef); }
.home-employee-card:nth-child(5) .employee-card-visual { background: linear-gradient(140deg, #e7fbff, #74cfe9 52%, #2267b8); }
.home-employee-card:nth-child(6) .employee-card-visual { background: linear-gradient(140deg, #f1f4ff, #a2b6ea 50%, #5b6fba); }
.home-employee-card:nth-child(7) .employee-card-visual { background: linear-gradient(140deg, #e9efff, #7e9ee8 48%, #244d9e); }
.home-employee-card:nth-child(8) .employee-card-visual { background: linear-gradient(140deg, #edfbff, #96d8e8 48%, #506bb8); }

.home-employee-card:hover .employee-card-visual {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(4, 11, 27, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.employee-visual-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #102044;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.employee-visual-bar i {
  height: 1px;
  flex: 1;
  background: rgba(16, 32, 68, 0.25);
}

.employee-visual-body {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(250, 252, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(19, 41, 92, 0.17);
  backdrop-filter: blur(12px);
}

.employee-visual-body strong {
  overflow: hidden;
  color: #081127;
  font-size: 15px;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-visual-body > span {
  overflow: hidden;
  color: #4d5c76;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-visual-body em {
  width: fit-content;
  padding: 4px 6px;
  margin-top: 2px;
  background: #e7efff;
  border-radius: 4px;
  color: #155eef;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.home-employee-card h3 {
  margin-top: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 540;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.home-employee-card > p {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.51);
  font-size: 11px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-impact {
  padding-block: 82px 150px;
}

.home-impact-intro {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
}

.home-impact-calculator {
  margin-top: 42px;
}

.home-impact-controls {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.2fr 1fr 0.9fr;
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
}

.home-impact-controls > label {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background: #222325;
}

.home-impact-controls label > span {
  color: rgba(255, 255, 255, 0.47);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-impact-controls input,
.home-impact-controls select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 9px;
  background: #191a1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
}

.home-input-unit {
  position: relative;
}

.home-input-unit input {
  padding-right: 30px;
}

.home-input-unit small {
  position: absolute;
  top: 50%;
  right: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transform: translateY(-50%);
}

.home-impact-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.home-impact-results article {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #232426;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.home-impact-results strong {
  color: #fff;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.home-impact-results p {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.35;
}

.home-impact-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding: 18px 4px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.home-impact-summary > strong {
  color: #93b2ff;
  font-size: 12px;
}

.home-impact-summary b {
  color: #fff;
  font-weight: 560;
}

.home-impact-summary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.home-impact-summary a svg {
  width: 16px;
}

.home-ready {
  display: grid;
  min-height: 700px;
  place-items: center;
  padding: 120px var(--gutter) 170px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 48% at 50% 100%, rgba(95, 212, 255, 0.94), transparent 72%),
    radial-gradient(ellipse 52% 43% at 18% 92%, rgba(120, 104, 216, 0.82), transparent 74%),
    radial-gradient(ellipse 48% 40% at 84% 88%, rgba(21, 94, 239, 0.92), transparent 72%),
    linear-gradient(180deg, #191a1c 5%, #141c31 42%, #155eef 100%);
  text-align: center;
}

.home-ready-inner {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
}

.home-ready-inner > p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.home-ready h2 {
  max-width: 860px;
}

.home-mission-composer-final {
  margin-top: 38px;
}

.home-ready-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  text-decoration: none;
}

.home-ready-link:hover {
  color: #fff;
}

.home-ready-link svg {
  width: 16px;
}

.page-home .site-footer {
  padding: 0 var(--gutter) 74px;
  background:
    radial-gradient(ellipse 54% 36% at 10% 0%, rgba(120, 104, 216, 0.72), transparent 76%),
    radial-gradient(ellipse 62% 44% at 92% 0%, rgba(95, 212, 255, 0.76), transparent 75%),
    linear-gradient(180deg, #155eef 0%, #7868d8 48%, #1769ff 100%);
}

.page-home .footer-top,
.page-home .footer-bottom {
  width: min(100%, 1265px);
  padding-inline: clamp(34px, 5vw, 62px);
  background: #242526;
}

.page-home .footer-top {
  grid-template-columns: minmax(190px, 0.5fr) minmax(620px, 1.5fr);
  gap: 50px;
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: 16px 16px 0 0;
}

.page-home .footer-statement .brand,
.page-home .footer-statement .brand img {
  width: 120px;
}

.page-home .footer-statement > p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.5;
}

.page-home .footer-statement > a:last-child {
  margin-top: 20px;
  font-size: 12px;
}

.page-home .footer-groups {
  gap: 34px;
}

.page-home .footer-groups h2 {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 520;
}

.page-home .footer-groups a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.page-home .footer-bottom {
  min-height: 70px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 0 0 16px 16px;
  color: rgba(255, 255, 255, 0.42);
}

@keyframes home-orb-float {
  to { transform: translate3d(5vw, -4vw, 0) scale(1.08); }
}

@keyframes home-heading-shift {
  to { background-position: -230% center; }
}

@keyframes showcase-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1200px) {
  .page-home .home-site-nav {
    gap: 16px;
  }

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

  .home-impact-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .page-home .home-site-header .brand,
  .page-home .home-site-header .brand img {
    width: 136px;
  }

  .page-home .home-site-header .nav-toggle {
    border-color: rgba(255, 255, 255, 0.28);
  }

  .page-home .home-mobile-start {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    margin-left: auto;
    background: #fff;
    border-radius: 8px;
    color: #17191d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }

  .page-home .home-site-header .nav-toggle > span:not(.sr-only) {
    background: #fff;
  }

  .page-home .home-site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    padding: 18px var(--gutter) 36px;
    overflow-y: auto;
    background: #fff;
    color: var(--ink);
  }

  .page-home .home-site-nav.is-open,
  .page-home .nav-toggle[aria-expanded="true"] + .home-site-nav {
    display: flex;
  }

  .page-home .home-site-header .nav-toggle[aria-expanded="true"] {
    position: relative;
  }

  .page-home .home-site-header .nav-toggle[aria-expanded="true"] > span:not(.sr-only) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    margin: 0;
  }

  .page-home .home-site-header .nav-toggle[aria-expanded="true"] > span:nth-last-child(2) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .page-home .home-site-header .nav-toggle[aria-expanded="true"] > span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .page-home .home-site-nav .home-header-demo {
    width: 100%;
    margin-top: 24px;
    border-color: var(--line-strong);
    color: var(--ink);
  }

  .page-home .home-site-nav .button-header {
    width: 100%;
    margin-top: 10px;
    background: var(--blue);
    color: #fff;
  }

  .lovable-home-hero {
    min-height: 820px;
  }

  .home-showcase-grid {
    grid-template-columns: 1fr;
  }

  .home-showcase-visual {
    width: min(100%, 680px);
  }

  .home-showcase-steps {
    width: min(100%, 680px);
  }

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

  .employee-card-visual {
    min-height: 250px;
  }

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

  .home-impact-results {
    grid-template-columns: 1fr;
  }

  .home-impact-results article {
    min-height: 250px;
  }

  .page-home .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-home {
    --gutter: 16px;
  }

  .page-home .home-site-header .header-shell {
    gap: 12px;
  }

  .lovable-home-hero {
    min-height: 780px;
    padding-top: 118px;
    padding-bottom: 126px;
    background:
      radial-gradient(ellipse 110% 40% at 50% 88%, rgba(95, 212, 255, 0.92), rgba(21, 94, 239, 0.7) 42%, transparent 74%),
      radial-gradient(ellipse 100% 38% at 20% 92%, rgba(120, 104, 216, 0.76), transparent 76%),
      linear-gradient(180deg, #17181a 8%, #171a22 36%, #155eef 100%);
  }

  .home-hero-kicker {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .lovable-home-hero h1 {
    font-size: clamp(37px, 11vw, 49px);
  }

  .home-hero-benefits {
    gap: clamp(6px, 2vw, 10px);
    margin-top: 18px;
    font-size: clamp(10px, 3.1vw, 13px);
  }

  .home-hero-benefits li {
    gap: 5px;
  }

  .home-hero-benefits span {
    width: 17px;
    height: 17px;
    font-size: 11px;
  }

  .home-mission-composer {
    padding: 16px 14px 12px;
    margin-top: 32px;
    border-radius: 25px;
  }

  .home-mission-composer textarea {
    min-height: 62px;
    font-size: 15px;
  }

  .mission-suggestions {
    display: none;
  }

  .composer-submit {
    margin-left: auto;
  }

  .home-trust {
    padding-block: 72px 92px;
  }

  .home-trust > .container > p {
    max-width: 330px;
    margin-inline: auto;
    line-height: 1.45;
  }

  .home-trust-track {
    display: flex;
    width: calc(100% + var(--gutter));
    margin-top: 34px;
    overflow-x: auto;
    border-radius: 12px 0 0 12px;
    scroll-snap-type: x mandatory;
  }

  .home-trust-track > div {
    min-width: 190px;
    scroll-snap-align: start;
  }

  .home-showcase,
  .home-employees,
  .home-impact {
    padding-block: 50px 104px;
  }

  .home-showcase h2,
  .home-employees h2,
  .home-impact h2,
  .home-ready h2 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .home-showcase-grid {
    gap: 34px;
    margin-top: 38px;
  }

  .showcase-window {
    min-height: 390px;
  }

  .showcase-panel {
    padding: 22px;
  }

  .showcase-orb {
    width: 112px;
    margin-block: 28px;
  }

  .home-showcase-steps strong {
    font-size: 27px;
  }

  .home-showcase-steps p {
    font-size: 14px;
  }

  .home-gallery-head {
    grid-template-columns: 1fr;
  }

  .home-gallery-head .button-secondary {
    width: fit-content;
  }

  .home-employee-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 38px;
  }

  .employee-card-visual {
    min-height: 250px;
  }

  .home-employee-card h3 {
    font-size: 16px;
  }

  .home-employee-card > p {
    font-size: 12px;
  }

  .home-impact-controls {
    grid-template-columns: 1fr;
  }

  .home-impact-controls > label {
    padding: 16px;
  }

  .home-impact-results article {
    min-height: 278px;
  }

  .home-impact-results strong {
    font-size: clamp(40px, 13vw, 58px);
  }

  .home-impact-summary {
    display: grid;
    gap: 10px;
  }

  .home-impact-summary a {
    margin-top: 8px;
    margin-left: 0;
  }

  .home-ready {
    min-height: 720px;
    padding-block: 110px 150px;
  }

  .home-ready-inner > p {
    font-size: 14px;
  }

  .page-home .site-footer {
    padding-inline: 16px;
    padding-bottom: 48px;
  }

  .page-home .footer-top,
  .page-home .footer-bottom {
    padding-inline: 24px;
  }

  .page-home .footer-top {
    gap: 42px;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .page-home .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .page-home .footer-bottom {
    padding-block: 20px;
  }
}

@media (max-width: 390px) {
  .page-home .home-site-header .brand,
  .page-home .home-site-header .brand img {
    width: 116px;
  }

  .lovable-home-hero {
    padding-inline: 14px;
  }

  .home-mission-composer {
    width: 100%;
  }

  .showcase-window {
    min-height: 370px;
  }

  .showcase-window-head small {
    display: none;
  }

  .showcase-panel {
    inset-inline: 12px;
  }

  .home-showcase-steps > button {
    grid-template-columns: 32px 1fr;
  }

  .employee-card-visual {
    min-height: 230px;
  }

  .page-home .footer-groups {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gradient-orb,
  .home-showcase h2 {
    animation: none;
  }
}

@media (forced-colors: active) {
  .home-mission-composer,
  .showcase-window,
  .home-impact-controls,
  .home-impact-results article,
  .employee-card-visual {
    border: 1px solid CanvasText;
  }
}

/* Homepage refinement: ownership, native product story and human vs AI comparison */
.page-home .home-trust {
  position: relative;
  padding-block: 128px 142px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 9%, rgba(48, 115, 255, 0.28), transparent 31%),
    radial-gradient(circle at 8% 77%, rgba(78, 224, 202, 0.12), transparent 24%),
    linear-gradient(180deg, #191a1c 0%, #101622 100%);
}

.page-home .home-trust::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
  content: "";
}

.page-home .home-trust > .container {
  position: relative;
  z-index: 1;
}

.home-trust-heading {
  display: grid;
  max-width: 980px;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.home-trust-heading h2 {
  color: #fff;
  font-size: clamp(44px, 5.65vw, 76px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.page-home .home-trust-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 66px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-trust-card {
  position: relative;
  display: flex;
  min-height: 246px;
  grid-column: span 2;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(95, 212, 255, 0.34), transparent 36%),
    linear-gradient(145deg, #26365a, #202634 58%, #1d2027);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(2, 7, 18, 0.22);
  isolation: isolate;
  transition: transform 240ms var(--ease), border-color 240ms ease, box-shadow 240ms ease;
}

.home-trust-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 14%, rgba(120, 104, 216, 0.46), transparent 38%),
    linear-gradient(145deg, #332d55, #232432 58%, #1d2027);
}

.home-trust-card:nth-child(3) {
  background:
    radial-gradient(circle at 82% 14%, rgba(117, 239, 255, 0.34), transparent 38%),
    linear-gradient(145deg, #164452, #202b33 58%, #1d2027);
}

.home-trust-card:nth-child(4) {
  grid-column: 2 / span 2;
  background:
    radial-gradient(circle at 82% 14%, rgba(85, 132, 255, 0.4), transparent 38%),
    linear-gradient(145deg, #243c72, #222936 58%, #1d2027);
}

.home-trust-card:nth-child(5) {
  grid-column: 4 / span 2;
  background:
    radial-gradient(circle at 82% 14%, rgba(134, 237, 189, 0.3), transparent 38%),
    linear-gradient(145deg, #1d4b43, #202c2c 58%, #1d2027);
}

.home-trust-card::after {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.home-trust-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 28px;
  left: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(135, 229, 255, 0.98), transparent);
  box-shadow: 0 0 22px rgba(95, 212, 255, 0.72);
  opacity: 0.8;
  content: "";
}

.home-trust-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, rgba(190, 166, 255, 0.98), transparent); box-shadow: 0 0 22px rgba(148, 117, 255, 0.76); }
.home-trust-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, rgba(118, 246, 239, 0.98), transparent); box-shadow: 0 0 22px rgba(95, 225, 216, 0.68); }
.home-trust-card:nth-child(4)::before { background: linear-gradient(90deg, transparent, rgba(132, 174, 255, 0.98), transparent); box-shadow: 0 0 22px rgba(89, 139, 255, 0.72); }
.home-trust-card:nth-child(5)::before { background: linear-gradient(90deg, transparent, rgba(137, 243, 185, 0.98), transparent); box-shadow: 0 0 22px rgba(95, 224, 153, 0.7); }

.home-trust-card-top {
  position: absolute;
  top: 22px;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.page-home .home-trust-card-top > span {
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-trust-card-top i {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: #cce7ff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 240ms var(--ease), background-color 240ms ease;
}

.home-trust-card-top svg {
  width: 32px;
  height: 32px;
}

.page-home .home-trust-card > strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 28px;
  font-weight: 620;
  letter-spacing: -0.04em;
}

.page-home .home-trust-card > small {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.page-home .home-trust-card > small::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #71e2b1;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(113, 226, 177, 0.11);
  content: "";
}

@media (hover: hover) {
  .page-home .home-trust-card:hover {
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 32px 92px rgba(2, 7, 18, 0.42), 0 0 42px rgba(71, 135, 255, 0.16);
    transform: translateY(-9px);
  }

  .page-home .home-trust-card:hover .home-trust-card-top i {
    background: rgba(255, 255, 255, 0.19);
    transform: rotate(-7deg) scale(1.07);
  }
}

.page-home .home-showcase {
  padding-block: 108px 150px;
}

.page-home .home-showcase-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
  margin-top: 62px;
}

.home-showcase-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(2, 7, 18, 0.4);
  text-align: left;
  aspect-ratio: 16 / 10;
}

.home-showcase-video::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(3, 7, 16, 0.68));
  content: "";
}

.home-showcase-video picture,
.home-showcase-video img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-showcase-video img {
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.home-showcase-video:hover img {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.025);
}

.home-showcase-video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 4px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #111722;
  font-size: 20px;
  box-shadow: 0 16px 45px rgba(5, 15, 34, 0.34);
  transform: translate(-50%, -50%);
}

.home-showcase-video-duration {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 7px 10px;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.home-showcase-points {
  display: grid;
}

.home-showcase-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 28px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.home-showcase-point:first-child {
  padding-top: 4px;
  border-top: 0;
}

.home-showcase-point > span {
  padding-top: 8px;
  color: #83a7ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.home-showcase-point h3 {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 610;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.home-showcase-point p {
  max-width: 520px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.55;
}

.page-home .home-employees {
  padding-block: 100px 150px;
}

.page-home .home-gallery-head {
  align-items: end;
}

.page-home .home-gallery-head > div > p:last-child {
  font-size: 18px;
}

.page-home .home-employee-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.page-home .home-employee-card {
  display: block;
  overflow: hidden;
  background: #242527;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.page-home .home-employee-card:hover {
  border-color: rgba(124, 165, 255, 0.42);
  box-shadow: 0 28px 70px rgba(2, 7, 18, 0.34);
  transform: translateY(-6px);
}

.page-home .employee-card-visual {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 0;
  place-items: center;
  background: radial-gradient(circle at 74% 20%, rgba(95, 212, 255, 0.32), transparent 34%), linear-gradient(145deg, #17233d, #0d1422);
  border-radius: 0;
  box-shadow: none;
  color: #9ebaff;
  aspect-ratio: 1 / 0.72;
}

.page-home .home-employee-card:nth-child(2) .employee-card-visual {
  background: radial-gradient(circle at 76% 18%, rgba(69, 227, 154, 0.28), transparent 34%), linear-gradient(145deg, #17342d, #0d1917);
  color: #6fe7aa;
}

.page-home .home-employee-card:nth-child(3) .employee-card-visual {
  background: radial-gradient(circle at 76% 18%, rgba(120, 104, 216, 0.4), transparent 35%), linear-gradient(145deg, #282342, #141222);
  color: #b6a9ff;
}

.page-home .home-employee-card:nth-child(4) .employee-card-visual {
  background: radial-gradient(circle at 76% 18%, rgba(95, 212, 255, 0.34), transparent 35%), linear-gradient(145deg, #17313d, #0c171d);
  color: #75ddff;
}

.page-home .home-employee-card:nth-child(5) .employee-card-visual {
  background: radial-gradient(circle at 76% 18%, rgba(255, 187, 92, 0.28), transparent 35%), linear-gradient(145deg, #392b1c, #1c1510);
  color: #ffd08b;
}

.page-home .home-employee-card:hover .employee-card-visual {
  box-shadow: none;
  transform: none;
}

.employee-role-icon {
  width: clamp(58px, 5vw, 76px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
  transition: transform 300ms var(--ease);
}

.home-employee-card:hover .employee-role-icon {
  transform: scale(1.08) translateY(-3px);
}

.page-home .employee-card-visual > span {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 9px;
  background: rgba(6, 12, 25, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.page-home .employee-card-visual > small {
  position: absolute;
  bottom: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.employee-card-copy {
  position: relative;
  min-height: 166px;
  padding: 24px 44px 25px 20px;
}

.page-home .employee-card-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 610;
  letter-spacing: -0.04em;
  line-height: 1.12;
  overflow-wrap: normal;
}

.page-home .employee-card-copy p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.5;
}

.employee-card-copy svg {
  position: absolute;
  right: 24px;
  bottom: 27px;
  width: 23px;
  color: #8eb0ff;
}

.home-software-connectors {
  margin-top: 92px;
  padding-top: 54px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.home-software-connectors h3 {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 610;
  letter-spacing: -0.035em;
}

.software-marquee-grid {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.software-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.software-marquee-track {
  display: flex;
  width: max-content;
  animation: software-logo-scroll 48s linear infinite;
}

.software-marquee:nth-child(even) .software-marquee-track {
  animation-direction: reverse;
}

.software-marquee:nth-child(2) .software-marquee-track { animation-duration: 54s; }
.software-marquee:nth-child(3) .software-marquee-track { animation-duration: 58s; }
.software-marquee:nth-child(4) .software-marquee-track { animation-duration: 51s; }
.software-marquee:nth-child(5) .software-marquee-track { animation-duration: 56s; }
}

.software-marquee:hover .software-marquee-track,
.software-marquee:focus-within .software-marquee-track {
  animation-play-state: paused;
}

.software-logo-row {
  display: flex;
  flex: none;
  gap: 12px;
  padding: 0 12px 0 0;
  margin: 0;
  list-style: none;
}

.software-logo-row li {
  display: inline-flex;
  height: 58px;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 11px;
  background: #fff;
  border: 1px solid rgba(7, 18, 38, 0.08);
  border-radius: 14px;
  color: #202938;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.software-logo-row img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
  object-fit: contain;
}

@keyframes software-logo-scroll {
  to { transform: translateX(-50%); }
}

.page-home .home-impact {
  padding-block: 112px 162px;
  background:
    radial-gradient(circle at 82% 12%, rgba(21, 94, 239, 0.18), transparent 32%),
    #191a1c;
}

.page-home .home-impact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(255px, 310px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.home-impact-heading-copy > .home-section-label {
  margin-bottom: 18px;
}

.home-impact-heading-copy > h2 {
  max-width: 820px;
}

.page-home .home-impact-intro {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.55;
}

.home-impact-saving-banner {
  position: relative;
  min-height: 164px;
  padding: 23px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 98% 8%, rgba(151, 255, 217, 0.42), transparent 33%),
    linear-gradient(145deg, #24be79, #09714d 70%);
  border: 1px solid rgba(184, 255, 221, 0.44);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(13, 179, 111, 0.2);
  color: #fff;
  transform: rotate(1.5deg);
}

.home-impact-saving-banner::before {
  position: absolute;
  top: -42px;
  right: -36px;
  width: 134px;
  height: 134px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.07);
  content: "";
}

.home-impact-saving-banner > span,
.home-impact-saving-banner > p,
.home-impact-saving-banner > strong,
.home-impact-saving-banner > i {
  position: relative;
  z-index: 1;
}

.home-impact-saving-banner > span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-impact-saving-banner > strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.home-impact-saving-banner > strong small {
  margin-left: 4px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.home-impact-saving-banner > p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.home-impact-saving-banner > i {
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 25px;
  font-style: normal;
}

@media (max-width: 800px) {
  .page-home .home-impact-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .home-impact-saving-banner {
    width: min(100%, 390px);
    min-height: 150px;
    transform: none;
  }
}

.page-home .home-impact-calculator {
  margin-top: 52px;
}

.home-comparison-control {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
}

.home-comparison-control label {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-comparison-control label > span {
  max-width: 210px;
  color: #fff;
  font-size: 13px;
  font-weight: 580;
  line-height: 1.3;
}

.home-comparison-control .home-input-unit {
  width: 190px;
}

.home-comparison-control input {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 14px;
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: #fff;
  font-size: 18px;
  font-weight: 620;
}

.home-comparison-control p {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.home-comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  margin-top: 14px;
}

.home-comparison-card {
  min-height: 440px;
  padding: 30px;
  overflow: hidden;
  border-radius: 28px;
}

.home-comparison-human {
  background: #f1f4f8;
  color: #151a24;
}

.home-comparison-ai {
  background:
    radial-gradient(circle at 84% 16%, rgba(95, 212, 255, 0.58), transparent 32%),
    linear-gradient(145deg, #1e76ff, #155eef 52%, #3943b6);
  color: #fff;
  box-shadow: 0 30px 90px rgba(21, 94, 239, 0.28);
}

.comparison-card-head {
  display: grid;
}

.comparison-card-head > span {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-comparison-human .comparison-card-head > span {
  color: #596272;
}

.home-comparison-ai .comparison-card-head > span {
  color: rgba(255, 255, 255, 0.7);
}

.comparison-card-head strong {
  margin-top: 28px;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 660;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.comparison-card-head small {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.58;
}

.home-comparison-card dl {
  margin-top: 62px;
}

.home-comparison-card dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding-block: 17px;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 15%, transparent);
}

.home-comparison-card dt {
  font-size: 13px;
  opacity: 0.62;
}

.home-comparison-card dd {
  max-width: 220px;
  font-size: 14px;
  font-weight: 650;
  text-align: right;
}

.home-comparison-versus {
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: #fff;
  border: 7px solid #191a1c;
  border-radius: 50%;
  color: #171a20;
  font-size: 11px;
  font-weight: 780;
}

.home-comparison-gain {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 8px 42px;
  padding: 42px;
  margin-top: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(125deg, #b9f9e0, #64d7ff 48%, #7691ff 100%);
  border-radius: 28px;
  color: #0b1a2f;
}

.home-comparison-gain::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(11, 26, 47, 0.11);
  border-radius: 50%;
  content: "";
}

.home-comparison-gain.is-negative {
  background: linear-gradient(125deg, #ffe0cb, #ffc38f 50%, #b5a8ff);
}

.home-comparison-gain > span,
.home-comparison-gain > strong,
.home-comparison-gain > p,
.home-comparison-gain > small,
.home-comparison-gain > a {
  position: relative;
  z-index: 1;
}

.home-comparison-gain > span {
  grid-column: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-comparison-gain > strong {
  grid-column: 1;
  font-size: clamp(58px, 7.5vw, 104px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.home-comparison-gain > p,
.home-comparison-gain > small {
  grid-column: 1;
  font-size: 14px;
}

.home-comparison-gain > small {
  margin-top: 8px;
  opacity: 0.68;
}

.home-comparison-gain > a {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: end;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  background: rgba(9, 20, 37, 0.9);
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.home-comparison-gain > a svg {
  width: 18px;
}

.home-comparison-note {
  max-width: 1050px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .page-home .home-trust-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-card,
  .home-trust-card:nth-child(4),
  .home-trust-card:nth-child(5) {
    grid-column: auto;
  }

  .home-trust-card:last-child {
    grid-column: 1 / -1;
  }

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

  .page-home .home-showcase-visual,
  .home-showcase-points {
    width: min(100%, 760px);
  }

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

  .page-home .home-employee-card {
    display: block;
  }

  .page-home .employee-card-visual {
    height: auto;
    aspect-ratio: 1 / 0.66;
  }

  .employee-card-copy {
    align-content: center;
  }

  .page-home .employee-card-copy h3 {
    font-size: 24px;
  }
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px 0;
  padding-top: 8px;
  background: transparent;
  border: 0;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(145px, 0.42fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 8px 28px;
  align-items: start;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(18, 32, 59, 0.07);
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) {
  grid-column: 4 / 10;
  grid-row: 1;
  background: linear-gradient(145deg, #1e2a40, #155eef);
  border-color: #255ecb;
  box-shadow: 0 18px 36px rgba(21, 94, 239, 0.23);
  color: #fff;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(3) { grid-column: 3 / 11; grid-row: 2; background: linear-gradient(135deg, #eef3ff, #f8faff); }
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(2) { grid-column: 2 / 12; grid-row: 3; background: linear-gradient(135deg, #f4f7fb, #fff); }
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(1) { grid-column: 1 / 13; grid-row: 4; background: #fff; }

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article > span {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 6px 8px;
  background: #edf3ff;
  border-radius: 7px;
  color: #155eef;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid h3 {
  grid-column: 1;
  margin: 0;
  align-self: end;
  color: #111827;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.05;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article > p {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid .mini-list {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 6px;
  margin: 0;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid .mini-list li {
  padding: 6px 9px;
  background: #eef3f8;
  border: 0;
  border-radius: 999px;
  color: #475569;
  font-size: 11px;
  line-height: 1.25;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid .mini-list li::before { display: none; }
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) > span { background: rgba(255, 255, 255, 0.16); color: #fff; }
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) h3 { color: #fff; }
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) > p,
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) .mini-list li { color: rgba(255, 255, 255, 0.86); }
body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) .mini-list li { background: rgba(255, 255, 255, 0.13); }

@media (max-width: 768px) {
  .page-home .home-trust {
    padding-block: 96px 108px;
  }

  .home-trust-heading {
    justify-items: start;
    text-align: left;
  }

  .page-home .home-trust-track {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 42px;
    overflow: visible;
    border-radius: 0;
  }

  .home-trust-card,
  .home-trust-card:last-child {
    min-height: 210px;
    grid-column: auto;
  }

  .page-home .home-showcase,
  .page-home .home-employees,
  .page-home .home-impact {
    padding-block: 88px 108px;
  }

  .page-home .home-showcase-grid {
    margin-top: 42px;
  }

  .home-showcase-video {
    border-radius: 20px;
    aspect-ratio: 16 / 11;
  }

  .home-showcase-video-play {
    width: 62px;
    height: 62px;
  }

  .home-showcase-point {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

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

  .page-home .home-employee-card {
    display: block;
    border-radius: 22px;
  }

  .page-home .employee-card-visual {
    aspect-ratio: 1 / 0.86;
  }

  .employee-card-copy {
    min-height: 150px;
  }

  .home-software-connectors {
    margin-top: 68px;
    padding-top: 42px;
  }

  .software-marquee {
    margin-inline: calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }

  .software-marquee-grid {
    gap: 9px;
  }

  .software-logo-row li {
    height: 52px;
    padding-block: 8px;
    font-size: 12px;
  }

  .software-logo-row img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .home-comparison-control,
  .home-comparison-control label {
    display: grid;
  }

  .home-comparison-control {
    justify-content: stretch;
  }

  .home-comparison-control label {
    grid-template-columns: 1fr;
  }

  .home-comparison-control .home-input-unit {
    width: 100%;
  }

  .home-comparison-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-comparison-card {
    min-height: 390px;
    padding: 25px;
    border-radius: 22px;
  }

  .home-comparison-versus {
    justify-self: center;
    margin-block: -20px;
  }

  .home-comparison-gain {
    min-height: 380px;
    grid-template-columns: 1fr;
    padding: 28px 24px;
    border-radius: 22px;
  }

  .home-comparison-gain > a {
    width: fit-content;
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
    margin-top: 24px;
  }
}

@media (forced-colors: active) {
  .home-trust-card,
  .home-showcase-video,
  .home-employee-card,
  .home-comparison-control,
  .home-comparison-card,
  .home-comparison-gain {
    border: 1px solid CanvasText;
  }
}

/* Lovable-inspired internal page system */
body:not(.page-home):not(.page-404) {
  --internal-canvas: #f2f3f7;
  --internal-card: #fff;
  --internal-dark: #202123;
  --internal-radius-xl: 32px;
  --internal-radius-lg: 20px;
  --container: 1136px;
  background: #191a1c;
}

body:not(.page-home):not(.page-404) main {
  overflow: clip;
  background: var(--internal-canvas);
}

body:not(.page-home):not(.page-404) .site-header {
  background: rgba(24, 25, 27, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

body:not(.page-home):not(.page-404) .site-nav {
  color: #fff;
}

body:not(.page-home):not(.page-404) .site-nav > a:not(.button),
body:not(.page-home):not(.page-404) .nav-disclosure > summary {
  color: rgba(255, 255, 255, 0.82);
}

body:not(.page-home):not(.page-404) .site-nav > a:not(.button):hover,
body:not(.page-home):not(.page-404) .nav-disclosure > summary:hover {
  color: #fff;
}

body:not(.page-home):not(.page-404) .site-nav .button-header {
  min-height: 40px;
  padding: 9px 14px;
  background: #fff;
  border-radius: 9px;
  color: #17191d;
}

body:not(.page-home):not(.page-404) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.26);
}

body:not(.page-home):not(.page-404) .nav-toggle > span:not(.sr-only) {
  background: #fff;
}

body:not(.page-home):not(.page-404) .breadcrumbs {
  width: 100%;
  max-width: none;
  padding: 14px max(var(--gutter), calc((100vw - 1136px) / 2));
  background: #191a1c;
  color: rgba(255, 255, 255, 0.48);
}

body:not(.page-home):not(.page-404) .breadcrumbs a:hover {
  color: #fff;
}

body:not(.page-home):not(.page-404) .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.2);
}

body:not(.page-home):not(.page-404) .page-hero {
  isolation: isolate;
  display: grid;
  min-height: clamp(610px, calc(100svh - 112px), 780px);
  align-items: center;
  padding-block: clamp(104px, 10vw, 154px);
  background:
    radial-gradient(ellipse 58% 55% at 84% 96%, rgba(95, 212, 255, 0.86), transparent 70%),
    radial-gradient(ellipse 52% 52% at 10% 94%, rgba(120, 104, 216, 0.72), transparent 72%),
    linear-gradient(180deg, #17181a 4%, #17213b 48%, #155eef 100%);
  color: rgba(255, 255, 255, 0.72);
}

body:not(.page-home):not(.page-404) .page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
}

body:not(.page-home):not(.page-404) .page-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.45fr);
  gap: clamp(42px, 7vw, 96px);
}

body:not(.page-home):not(.page-404) .page-hero h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(52px, 5.7vw, 78px);
  font-weight: 660;
  letter-spacing: -0.058em;
  line-height: 0.97;
}

body:not(.page-home):not(.page-404) .page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

body:not(.page-home):not(.page-404) .page-hero .hero-lead {
  max-width: 780px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 1.6vw, 22px);
}

body:not(.page-home):not(.page-404) .page-hero .button-primary {
  background: #fff;
  border-color: #fff;
  border-radius: 10px;
  color: #17191d;
}

body:not(.page-home):not(.page-404) .page-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: #fff;
}

body:not(.page-home):not(.page-404) .hero-index {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(110, 222, 255, 0.48), transparent 26%),
    radial-gradient(circle at 28% 76%, rgba(139, 116, 255, 0.44), transparent 34%),
    rgba(15, 21, 34, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(2, 7, 18, 0.3);
  color: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
}

body:not(.page-home):not(.page-404) .hero-index::before,
body:not(.page-home):not(.page-404) .hero-index::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

body:not(.page-home):not(.page-404) .hero-index::before {
  width: 190px;
  height: 190px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body:not(.page-home):not(.page-404) .hero-index::after {
  width: 116px;
  height: 116px;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle at 35% 30%, #9fe9ff, #1769ff 48%, #7868d8 76%);
  border: 0;
  box-shadow: 0 22px 50px rgba(21, 94, 239, 0.4);
  transform: translate(-50%, -50%);
}

body:not(.page-home):not(.page-404) .hero-index > span,
body:not(.page-home):not(.page-404) .hero-index > i,
body:not(.page-home):not(.page-404) .hero-index > p {
  position: relative;
  z-index: 1;
}

body:not(.page-home):not(.page-404) .hero-index > span {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(62px, 7vw, 104px);
}

body:not(.page-home):not(.page-404) .hero-index > i {
  background: rgba(255, 255, 255, 0.16);
}

body:not(.page-home):not(.page-404) :is(.mission-panel, .legend-hero-photo) {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 28px;
}

body:not(.page-home):not(.page-404) .proof-strip {
  padding: 30px var(--gutter);
  background: var(--internal-canvas);
}

body:not(.page-home):not(.page-404) .proof-grid {
  width: min(100%, 1136px);
  padding: 42px;
  background: var(--internal-dark);
  border-radius: var(--internal-radius-xl);
  color: rgba(255, 255, 255, 0.7);
}

body:not(.page-home):not(.page-404) main > .section:not(.final-cta) {
  padding: 24px var(--gutter);
  background: var(--internal-canvas);
}

body:not(.page-home):not(.page-404) main > .page-hero + .section:not(.final-cta),
body:not(.page-home):not(.page-404) main > .page-hero + .proof-strip {
  padding-top: 82px;
}

body:not(.page-home):not(.page-404) main > .section:not(.final-cta) > .container {
  width: min(100%, 1136px);
  padding: clamp(44px, 6vw, 80px);
  background: var(--internal-card);
  border: 1px solid rgba(74, 91, 118, 0.12);
  border-radius: var(--internal-radius-xl);
  box-shadow: 0 20px 70px rgba(7, 18, 38, 0.055);
}

body:not(.page-home):not(.page-404) main > .section-soft {
  background: var(--internal-canvas);
}

body:not(.page-home):not(.page-404) main > .section-soft > .container {
  background: linear-gradient(145deg, #eef4ff, #f6f2ff);
}

body:not(.page-home):not(.page-404) main > .section-dark {
  background: var(--internal-canvas);
  color: rgba(255, 255, 255, 0.72);
}

body:not(.page-home):not(.page-404) main > .section-dark > .container {
  background:
    radial-gradient(circle at 90% 10%, rgba(21, 94, 239, 0.24), transparent 42%),
    var(--internal-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

body:not(.page-home):not(.page-404) main > .example-process > .container {
  background: linear-gradient(135deg, #e9f0ff, #dff8ff 58%, #eee9ff);
}

body:not(.page-home):not(.page-404) .section-head {
  max-width: 900px;
}

body:not(.page-home):not(.page-404) .section-head h2 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.052em;
  line-height: 0.99;
}

body:not(.page-home):not(.page-404) .section-intro {
  max-width: 760px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.55;
}

body:not(.page-home):not(.page-404) :is(
  .frugal-levers,
  .workflow-card,
  .case-placeholder,
  .about-story > p,
  .legend-watch-grid > div:last-child,
  .sector-impact .two-column > div
) {
  padding: clamp(28px, 4vw, 48px);
  background: #f3f6fc;
  border-radius: var(--internal-radius-lg);
}

body:not(.page-home):not(.page-404) :where(
  .architecture-items,
  .explorer-grid,
  .hub-grid,
  .resource-grid,
  .integration-grid,
  .offer-grid,
  .autonomy-grid,
  .principle-grid,
  .problem-grid,
  .security-grid,
  .orchestration-stages,
  .role-capability-grid,
  .process-map,
  .three-column
) {
  gap: 14px;
  background: transparent;
  border: 0;
}

body:not(.page-home):not(.page-404) :where(
  .architecture-item,
  .explorer-card,
  .hub-card,
  .resource-grid > a,
  .integration-grid > article,
  .offer-card,
  .autonomy-grid > article,
  .principle-grid > article,
  .problem-grid > article,
  .security-grid > article,
  .orchestration-stages > li,
  .role-capability-grid > article,
  .process-map > div,
  .three-column > div
) {
  overflow: hidden;
  border: 1px solid rgba(74, 91, 118, 0.12);
  border-radius: 18px;
}

body:not(.page-home):not(.page-404) :is(
  .architecture-map,
  .workflow-shell,
  .matrix-table,
  .contact-form,
  .calendar-direct-card,
  .benchmark-schema,
  .consent-video,
  .video-poster,
  .legend-photo
) {
  border-radius: 22px;
}

@media (hover: hover) {
  body:not(.page-home):not(.page-404) :is(.hub-card, .explorer-card, .resource-grid > a):hover {
    box-shadow: 0 22px 50px rgba(7, 18, 38, 0.12);
    transform: translateY(-4px);
  }
}

body:not(.page-home):not(.page-404) .final-cta {
  min-height: 650px;
  margin-top: 24px;
  padding: clamp(110px, 12vw, 170px) var(--gutter) 190px;
  background:
    radial-gradient(ellipse 65% 65% at 50% 105%, rgba(95, 212, 255, 0.94), transparent 70%),
    radial-gradient(ellipse 55% 55% at 12% 90%, rgba(120, 104, 216, 0.82), transparent 72%),
    linear-gradient(180deg, #191a1c 4%, #14295e 54%, #155eef 100%);
}

body:not(.page-home):not(.page-404) .final-cta-grid {
  width: min(100%, 1136px);
  margin-inline: auto;
}

body:not(.page-home):not(.page-404) .final-cta h2 {
  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

body:not(.page-home):not(.page-404) .final-cta .button-light {
  border-radius: 10px;
}

body:not(.page-home):not(.page-404) .site-footer {
  padding: 0 var(--gutter) 64px;
  background: linear-gradient(180deg, #155eef, #7868d8 48%, #1769ff);
  color: rgba(255, 255, 255, 0.74);
}

body:not(.page-home):not(.page-404) :is(.footer-top, .footer-bottom) {
  width: min(100%, 1265px);
  padding-inline: clamp(32px, 5vw, 62px);
  background: #242526;
}

body:not(.page-home):not(.page-404) .footer-top {
  padding-top: 56px;
  border-radius: 18px 18px 0 0;
}

body:not(.page-home):not(.page-404) .footer-bottom {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 0 0 18px 18px;
}

body:not(.page-home):not(.page-404) .footer-groups h2 {
  color: rgba(255, 255, 255, 0.48);
}

body:not(.page-home):not(.page-404) .footer-groups a,
body:not(.page-home):not(.page-404) .footer-statement a {
  color: rgba(255, 255, 255, 0.82);
}

.page-contact .site-footer,
.page-legal .site-footer {
  padding-top: 110px;
}

@media (max-width: 1024px) {
  body:not(.page-home):not(.page-404) .site-nav {
    background: #fff;
    color: var(--ink);
  }

  body:not(.page-home):not(.page-404) .site-nav > a:not(.button),
  body:not(.page-home):not(.page-404) .nav-disclosure > summary {
    color: var(--ink);
  }

  body:not(.page-home):not(.page-404) .site-nav .button-header {
    background: var(--blue);
    color: #fff;
  }

  body:not(.page-home):not(.page-404) .page-hero {
    min-height: auto;
  }

  body:not(.page-home):not(.page-404) .page-hero-grid {
    grid-template-columns: 1fr;
  }

  body:not(.page-home):not(.page-404) .hero-index {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  body:not(.page-home):not(.page-404) :is(.faq-grid, .integration-grid, .offer-grid) {
    grid-template-columns: 1fr;
  }

  body:not(.page-home):not(.page-404) .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:not(.page-home):not(.page-404) {
    --gutter: 16px;
  }

  body:not(.page-home):not(.page-404) .breadcrumbs {
    padding-inline: 16px;
  }

  body:not(.page-home):not(.page-404) .page-hero {
    padding-block: 92px 112px;
  }

  body:not(.page-home):not(.page-404) .page-hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  body:not(.page-home):not(.page-404) .hero-index {
    min-height: 230px;
    border-radius: 22px;
  }

  body:not(.page-home):not(.page-404) main > .section:not(.final-cta) {
    padding: 10px 12px;
  }

  body:not(.page-home):not(.page-404) main > .page-hero + .section:not(.final-cta),
  body:not(.page-home):not(.page-404) main > .page-hero + .proof-strip {
    padding-top: 42px;
  }

  body:not(.page-home):not(.page-404) main > .section:not(.final-cta) > .container,
  body:not(.page-home):not(.page-404) .proof-grid {
    padding: 34px 22px;
    border-radius: 22px;
  }

  body:not(.page-home):not(.page-404) .problem-grid {
    grid-template-columns: 1fr;
  }

  body:not(.page-home):not(.page-404) .final-cta {
    min-height: 620px;
    padding-block: 100px 150px;
  }

  body:not(.page-home):not(.page-404) .site-footer {
    padding-inline: 16px;
    padding-bottom: 48px;
  }

  body:not(.page-home):not(.page-404) :is(.footer-top, .footer-bottom) {
    padding-inline: 24px;
  }
}

@media (min-width: 1025px) {
  .page-contact .contact-grid {
    grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(42px, 4vw, 58px);
  }

  .page-contact .contact-paths > h2 {
    font-size: clamp(44px, 4vw, 58px);
    letter-spacing: -0.05em;
    line-height: 0.98;
  }
}

/* Shared product-page composition: a more editorial, product-led rhythm. */
body:not(.page-home):not(.page-404) .page-hero {
  min-height: clamp(680px, calc(100svh - 92px), 840px);
  padding-block: clamp(110px, 11vw, 172px) 58px;
  background:
    radial-gradient(ellipse 52% 60% at 93% 76%, rgba(67, 218, 214, 0.7), transparent 72%),
    radial-gradient(ellipse 45% 46% at 12% 100%, rgba(126, 100, 255, 0.66), transparent 72%),
    linear-gradient(152deg, #171719 0%, #1b2030 53%, #155eef 140%);
}

body:not(.page-home):not(.page-404) .page-hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.74fr);
}

body:not(.page-home):not(.page-404) .page-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.075em;
}

body:not(.page-home):not(.page-404) .hero-chapter {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}

body:not(.page-home):not(.page-404) .page-hero h1 {
  max-width: 850px;
  font-size: clamp(54px, 5.5vw, 80px);
}

body:not(.page-home):not(.page-404) .hero-workspace {
  position: relative;
  overflow: hidden;
  min-height: 392px;
  color: #22252a;
  background: rgba(248, 249, 252, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3), 24px 24px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(1.5deg);
}

body:not(.page-home):not(.page-404) .hero-workspace::after {
  position: absolute;
  inset: auto -14% -26% 36%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.24), rgba(122, 104, 216, 0.04) 62%, transparent 64%);
  content: "";
}

body:not(.page-home):not(.page-404) .hero-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 17px;
  background: #fff;
  border-bottom: 1px solid #e5e8ee;
  color: #757d8a;
  font-size: 12px;
}

body:not(.page-home):not(.page-404) .workspace-dots { display: flex; gap: 5px; }
body:not(.page-home):not(.page-404) .workspace-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d4d8e0; }
body:not(.page-home):not(.page-404) .hero-workspace-bar strong { margin-left: 26px; color: #3d434d; font-size: 12px; }
body:not(.page-home):not(.page-404) .hero-workspace-bar b { color: #18b879; font-size: 10px; }

body:not(.page-home):not(.page-404) .hero-workspace-body { position: relative; z-index: 1; display: grid; gap: 22px; padding: 44px 33px; }
body:not(.page-home):not(.page-404) .hero-workspace-body > p { max-width: 270px; margin: 0; color: #6c7481; font-size: 15px; line-height: 1.45; }
body:not(.page-home):not(.page-404) .workspace-prompt { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 16px; background: #fff; border: 1px solid #e1e5ec; border-radius: 13px; box-shadow: 0 10px 26px rgba(16, 28, 53, 0.08); }
body:not(.page-home):not(.page-404) .workspace-prompt > span { display: grid; width: 34px; height: 34px; place-items: center; background: #155eef; border-radius: 9px; color: #fff; font-size: 17px; }
body:not(.page-home):not(.page-404) .workspace-prompt strong { flex: 1; font-size: 15px; }
body:not(.page-home):not(.page-404) .workspace-prompt i { display: grid; width: 28px; height: 28px; place-items: center; background: #20242b; border-radius: 7px; color: #fff; font-style: normal; }
body:not(.page-home):not(.page-404) .workspace-lines { display: grid; gap: 9px; }
body:not(.page-home):not(.page-404) .workspace-lines span { display: block; height: 8px; background: #e7ebf2; border-radius: 999px; }
body:not(.page-home):not(.page-404) .workspace-lines span:nth-child(1) { width: 82%; } body:not(.page-home):not(.page-404) .workspace-lines span:nth-child(2) { width: 62%; } body:not(.page-home):not(.page-404) .workspace-lines span:nth-child(3) { width: 72%; }
body:not(.page-home):not(.page-404) .workspace-status { display: flex; flex-wrap: wrap; gap: 8px; }
body:not(.page-home):not(.page-404) .workspace-status span { padding: 7px 10px; background: #eaf7f0; border-radius: 999px; color: #17774f; font-size: 11px; font-weight: 700; }

body:not(.page-home):not(.page-404) .hero-page-rail {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) 42px auto;
  align-items: center;
  gap: 18px;
  margin-top: 56px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
body:not(.page-home):not(.page-404) .hero-page-rail p { margin: 0; color: #fff; font-size: 11px; font-weight: 700; }
body:not(.page-home):not(.page-404) .hero-page-rail i { height: 1px; background: rgba(255, 255, 255, 0.35); }

body:not(.page-home):not(.page-404) .tool-social-proof {
  position: relative;
  z-index: 1;
}
body:not(.page-home):not(.page-404) .tool-social-proof-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(300px, 1.45fr) auto;
  align-items: center;
  gap: 20px;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.78);
}
body:not(.page-home):not(.page-404) .tool-social-proof-hero { margin-top: 22px; }
body:not(.page-home):not(.page-404) .tool-social-proof p { margin: 0; font-size: 12px; font-weight: 650; line-height: 1.35; }
body:not(.page-home):not(.page-404) .tool-social-proof-logos { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
body:not(.page-home):not(.page-404) .tool-social-proof-logos li { display: grid; width: 32px; height: 32px; place-items: center; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12); }
body:not(.page-home):not(.page-404) .tool-social-proof-logos img { display: block; width: 21px; height: 21px; object-fit: contain; }
body:not(.page-home):not(.page-404) .tool-social-proof a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; font-weight: 750; text-align: right; text-decoration: none; }
body:not(.page-home):not(.page-404) .tool-social-proof a svg { width: 15px; height: 15px; }
body:not(.page-home):not(.page-404) .final-cta .tool-social-proof-cta { width: min(100%, 1136px); margin: 44px auto 0; }
body:not(.page-home):not(.page-404) .final-cta .tool-social-proof-inner { background: rgba(10, 22, 55, 0.18); }

.home-software-all-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: inherit; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-software-all-link svg { width: 16px; height: 16px; }

body:not(.page-home):not(.page-404) main > .section:not(.final-cta) {
  padding-block: clamp(14px, 2vw, 28px);
}
body:not(.page-home):not(.page-404) main > .section:not(.final-cta) > .container {
  border-radius: 28px;
}
body:not(.page-home):not(.page-404) main > .section:nth-of-type(even):not(.final-cta) > .container {
  background: linear-gradient(138deg, #f7f8fb, #eef3ff);
}

@media (max-width: 1024px) {
  body:not(.page-home):not(.page-404) .page-hero-grid { grid-template-columns: 1fr; }
  body:not(.page-home):not(.page-404) .hero-workspace { max-width: 560px; width: 100%; margin-top: 12px; transform: rotate(0.7deg); }
}

@media (max-width: 768px) {
  body:not(.page-home):not(.page-404) .page-hero { min-height: auto; padding-block: 100px 36px; }
  body:not(.page-home):not(.page-404) .hero-workspace { min-height: 340px; }
  body:not(.page-home):not(.page-404) .hero-workspace-body { padding: 30px 22px; }
  body:not(.page-home):not(.page-404) .hero-page-rail { grid-template-columns: auto 1fr; gap: 10px 14px; margin-top: 34px; }
  body:not(.page-home):not(.page-404) .hero-page-rail i { display: none; }
  body:not(.page-home):not(.page-404) .hero-page-rail span:last-child { grid-column: 2; }
  body:not(.page-home):not(.page-404) .tool-social-proof-inner { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  body:not(.page-home):not(.page-404) .tool-social-proof-logos { justify-content: flex-start; max-width: 100%; overflow: auto; padding-bottom: 2px; }
  body:not(.page-home):not(.page-404) .tool-social-proof-logos li { flex: 0 0 auto; }
  body:not(.page-home):not(.page-404) .tool-social-proof a { justify-content: flex-start; text-align: left; }
}

/* AI employee previews: product workspaces rather than generic role pictograms. */
.page-home .home-employee-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .employee-card-visual {
  display: grid;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  background: transparent;
  aspect-ratio: 1 / 0.78;
}

.page-home .home-employee-card:nth-child(n) .employee-card-visual { background: transparent; }

.employee-workspace {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: rgba(249, 250, 253, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  box-shadow: 16px 19px 0 rgba(0, 0, 0, 0.12), 0 20px 34px rgba(1, 8, 24, 0.27);
  color: #252a35;
  transform: rotate(1.1deg);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.home-employee-card:hover .employee-workspace { box-shadow: 20px 23px 0 rgba(0, 0, 0, 0.11), 0 25px 42px rgba(1, 8, 24, 0.32); transform: rotate(0deg) translateY(-3px); }
.page-home .home-employee-card { background: transparent; border: 0; box-shadow: none; }
.page-home .home-employee-card:hover { border-color: transparent; box-shadow: none; }
.employee-workspace-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 34px; padding: 0 12px; background: #fff; border-bottom: 1px solid #e4e7ed; }
.employee-workspace-dots { display: flex; gap: 4px; }
.employee-workspace-dots i { width: 5px; height: 5px; background: #d2d7df; border-radius: 50%; }
.employee-workspace-bar strong { color: #424a57; font-size: 8px; font-weight: 750; }
.employee-workspace-bar b { justify-self: end; color: #1bb878; font-size: 8px; }
.employee-workspace-body { display: grid; gap: 12px; padding: clamp(16px, 2vw, 22px); }
.employee-workspace-body > small { color: #7a8393; font-size: 8px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.employee-workspace-mission { display: grid; grid-template-columns: 28px minmax(0, 1fr) 22px; align-items: center; gap: 8px; min-height: 54px; padding: 9px; background: #fff; border: 1px solid #e1e5ec; border-radius: 11px; box-shadow: 0 8px 17px rgba(19, 34, 67, 0.07); }
.employee-workspace-mission .employee-role-icon { width: 28px; height: 28px; padding: 6px; background: #155eef; border-radius: 7px; color: #fff; filter: none; }
.employee-workspace-mission strong { overflow: hidden; color: #272d38; font-size: clamp(10px, 1.06vw, 13px); font-weight: 750; letter-spacing: -0.025em; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.employee-workspace-mission > i { display: grid; width: 22px; height: 22px; place-items: center; background: #252a32; border-radius: 6px; color: #fff; font-size: 11px; font-style: normal; }
.employee-workspace-lines { display: grid; gap: 6px; }
.employee-workspace-lines span { display: block; height: 6px; background: #e7ebf3; border-radius: 999px; }
.employee-workspace-lines span:last-child { width: 68%; }
.employee-workspace-description { margin: -2px 0 0; color: #6d7788; font-size: clamp(9px, 0.92vw, 11px); line-height: 1.35; }
.employee-workspace-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.employee-workspace-tags span { padding: 5px 7px; background: #e9f8ee; border-radius: 99px; color: #16734c; font-size: 8px; font-weight: 750; }

@media (max-width: 1024px) {
  .page-home .home-employee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .page-home .home-employee-grid { grid-template-columns: 1fr; }
  .page-home .employee-card-visual { padding: 24px; aspect-ratio: 1 / 0.68; }
  .employee-workspace { max-width: 510px; }
  .employee-workspace-bar { height: 40px; }
  .employee-workspace-body { gap: 14px; padding: 24px; }
  .employee-workspace-mission { grid-template-columns: 34px minmax(0, 1fr) 26px; min-height: 64px; padding: 11px; }
  .employee-workspace-mission .employee-role-icon { width: 34px; height: 34px; }
  .employee-workspace-mission strong { font-size: 14px; }
  .employee-workspace-mission > i { width: 26px; height: 26px; }
}

/* Shared "Espace Substi" treatment for internal tables, flows and information modules. */
body:not(.page-home):not(.page-404) {
  --workspace-surface: #f8f9fc;
  --workspace-line: #e1e6ef;
  --workspace-ink: #27303d;
}

body:not(.page-home):not(.page-404) main :is(
  .architecture-map,
  .workflow-shell,
  .matrix-table,
  .benchmark-schema,
  .contact-form,
  .capacity-note,
  .security-request,
  .workflow-card,
  .case-placeholder,
  .employee-offer,
  .calendar-direct-card,
  .frugal-levers
) {
  position: relative;
  overflow: hidden;
  background: var(--workspace-surface);
  border: 1px solid var(--workspace-line);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(18, 32, 59, 0.08);
  color: var(--workspace-ink);
}

body:not(.page-home):not(.page-404) main :is(
  .architecture-map,
  .workflow-shell,
  .matrix-table,
  .benchmark-schema,
  .contact-form,
  .capacity-note,
  .security-request,
  .workflow-card,
  .case-placeholder,
  .employee-offer,
  .calendar-direct-card,
  .frugal-levers
)::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 38px;
  padding-left: 17px;
  background: linear-gradient(180deg, #fff, #f6f8fb);
  border-bottom: 1px solid var(--workspace-line);
  color: #c6ceda;
  content: "●  ●  ●";
  font-size: 6px;
  letter-spacing: 3px;
  line-height: 38px;
}

body:not(.page-home):not(.page-404) main .architecture-map { padding-top: calc(clamp(28px, 4vw, 52px) + 38px); }
body:not(.page-home):not(.page-404) main .workflow-shell { padding-top: 38px; }
body:not(.page-home):not(.page-404) main .matrix-table { padding-top: 38px; overflow-x: auto; }
body:not(.page-home):not(.page-404) main .benchmark-schema { padding-top: calc(clamp(30px, 4vw, 52px) + 38px); }
body:not(.page-home):not(.page-404) main .contact-form { padding-top: calc(clamp(30px, 4vw, 52px) + 38px); border-top: 1px solid var(--workspace-line); }
body:not(.page-home):not(.page-404) main .capacity-note { padding-top: calc(clamp(34px, 4vw, 54px) + 38px); border-left: 1px solid var(--workspace-line); }
body:not(.page-home):not(.page-404) main .security-request { padding-top: 74px; border-left: 1px solid var(--workspace-line); }
body:not(.page-home):not(.page-404) main .workflow-card,
body:not(.page-home):not(.page-404) main .case-placeholder,
body:not(.page-home):not(.page-404) main .employee-offer,
body:not(.page-home):not(.page-404) main .calendar-direct-card,
body:not(.page-home):not(.page-404) main .frugal-levers { padding-top: calc(clamp(28px, 4vw, 48px) + 38px); }

body:not(.page-home):not(.page-404) main :is(.benchmark-schema, .capacity-note) :is(strong, p, span, code) { color: inherit; }
body:not(.page-home):not(.page-404) main .capacity-note > span,
body:not(.page-home):not(.page-404) main .benchmark-schema > span { color: #657083; }
body:not(.page-home):not(.page-404) main .capacity-note strong { color: var(--workspace-ink); }
body:not(.page-home):not(.page-404) main .benchmark-schema code { background: #fff; border-color: #dce3ee; color: #4d5a6e; border-radius: 7px; }

body:not(.page-home):not(.page-404) main :is(
  .architecture-item,
  .explorer-card,
  .hub-card,
  .resource-grid > a,
  .integration-grid > article,
  .offer-card,
  .autonomy-grid > article,
  .principle-grid > article,
  .problem-grid > article,
  .security-grid > article,
  .orchestration-stages > li,
  .role-capability-grid > article,
  .process-map > div,
  .three-column > div
) {
  position: relative;
  background: #fff;
  border-color: var(--workspace-line);
  box-shadow: 0 10px 28px rgba(18, 32, 59, 0.045);
}

body:not(.page-home):not(.page-404) main :is(
  .architecture-item,
  .explorer-card,
  .hub-card,
  .resource-grid > a,
  .integration-grid > article,
  .offer-card,
  .autonomy-grid > article,
  .principle-grid > article,
  .problem-grid > article,
  .security-grid > article,
  .orchestration-stages > li,
  .role-capability-grid > article,
  .process-map > div,
  .three-column > div
)::after {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 7px;
  height: 7px;
  background: #22b978;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #eaf8f0;
  content: "";
}

body:not(.page-home):not(.page-404) main .offer-featured {
  background: linear-gradient(145deg, #1f2733, #25344f);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 35px rgba(18, 32, 59, 0.2);
}
body:not(.page-home):not(.page-404) main .offer-featured::after { background: #5fd4ff; box-shadow: 0 0 0 4px rgba(95, 212, 255, 0.16); }

@media (max-width: 768px) {
  body:not(.page-home):not(.page-404) main :is(
    .architecture-map,
    .workflow-shell,
    .matrix-table,
    .benchmark-schema,
    .contact-form,
    .capacity-note,
    .security-request,
    .workflow-card,
    .case-placeholder,
    .employee-offer,
    .calendar-direct-card,
    .frugal-levers
  ) { border-radius: 16px; }
}

/* Five architecture blocks, expressed as readable product workspaces. */
body:not(.page-home):not(.page-404) main .architecture-map {
  background:
    radial-gradient(circle at 98% 100%, rgba(96, 211, 255, 0.18), transparent 36%),
    #f7f9fc;
}
body:not(.page-home):not(.page-404) main .architecture-core {
  min-height: 82px;
  padding: 18px 22px;
  background: #222a36;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(18, 32, 59, 0.15);
}
body:not(.page-home):not(.page-404) main .architecture-core::after {
  width: 8px;
  height: 8px;
  background: #21ba78;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(33, 186, 120, 0.14);
  content: "";
}
body:not(.page-home):not(.page-404) main .architecture-core i,
body:not(.page-home):not(.page-404) main .architecture-lines { display: none; }
body:not(.page-home):not(.page-404) main .architecture-items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  background: transparent;
  border: 0;
}
body:not(.page-home):not(.page-404) main .architecture-orchestrator { grid-column: auto; }
body:not(.page-home):not(.page-404) main .architecture-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(18, 32, 59, 0.06);
}
body:not(.page-home):not(.page-404) main .architecture-item::after { display: none; }
body:not(.page-home):not(.page-404) main .architecture-card-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #fff, #f7f9fc);
  border-bottom: 1px solid #e4e8ef;
}
body:not(.page-home):not(.page-404) main .architecture-card-head > div { display: flex; align-items: center; gap: 10px; }
body:not(.page-home):not(.page-404) main .architecture-card-head .architecture-number { color: #8290a5; font-size: 10px; }
body:not(.page-home):not(.page-404) main .architecture-card-head .mark-icon {
  width: 31px;
  height: 31px;
  padding: 7px;
  background: #155eef;
  border-radius: 8px;
  color: #fff;
}
body:not(.page-home):not(.page-404) main .architecture-item:nth-child(2) .mark-icon { background: #16855e; }
body:not(.page-home):not(.page-404) main .architecture-item:nth-child(3) .mark-icon { background: #6b57d2; }
body:not(.page-home):not(.page-404) main .architecture-item:nth-child(4) .mark-icon { background: #177b9e; }
body:not(.page-home):not(.page-404) main .architecture-item:nth-child(5) .mark-icon { background: #b2671e; }
body:not(.page-home):not(.page-404) main .architecture-card-status {
  align-self: center;
  padding: 5px 7px;
  background: #e9f8ee;
  border-radius: 999px;
  color: #16734c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body:not(.page-home):not(.page-404) main .architecture-card-head > strong {
  grid-column: 1 / -1;
  color: #252d3a;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.045em;
  line-height: 1;
}
body:not(.page-home):not(.page-404) main .architecture-detail {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 18px;
  border: 0;
}
body:not(.page-home):not(.page-404) main .architecture-detail p { min-height: 0; margin: 0; color: #667286; font-size: 14px; line-height: 1.45; }
body:not(.page-home):not(.page-404) main .architecture-detail .mini-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0 0; }
body:not(.page-home):not(.page-404) main .architecture-detail .mini-list li { padding: 6px 8px; background: #f0f4fa; border: 0; border-radius: 7px; color: #566276; font-size: 11px; line-height: 1.25; }
body:not(.page-home):not(.page-404) main .architecture-detail .mini-list li::before { display: none; }
body:not(.page-home):not(.page-404) main .architecture-detail a { margin-top: auto; padding-top: 18px; color: #155eef; font-size: 12px; }
body:not(.page-home):not(.page-404) main .architecture-detail a svg { width: 15px; }

@media (max-width: 1024px) {
  body:not(.page-home):not(.page-404) main .architecture-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body:not(.page-home):not(.page-404) main .architecture-items { grid-template-columns: 1fr; }
  body:not(.page-home):not(.page-404) main .architecture-card-head { padding: 16px; }
  body:not(.page-home):not(.page-404) main .architecture-detail { padding: 16px; }
}

/* White workspace modules must not inherit the white foreground of a dark section. */
body:not(.page-home):not(.page-404) main .section-dark :is(
  .architecture-map,
  .workflow-shell,
  .matrix-table,
  .benchmark-schema,
  .contact-form,
  .capacity-note,
  .security-request,
  .workflow-card,
  .case-placeholder,
  .employee-offer,
  .calendar-direct-card,
  .frugal-levers,
  .architecture-item,
  .explorer-card,
  .hub-card,
  .resource-grid > a,
  .integration-grid > article,
  .offer-card:not(.offer-featured),
  .autonomy-grid > article,
  .principle-grid > article,
  .problem-grid > article,
  .security-grid > article,
  .orchestration-stages > li,
  .role-capability-grid > article,
  .process-map > div,
  .three-column > div
) { color: #27303d; }

body:not(.page-home):not(.page-404) main .section-dark :is(
  .architecture-map,
  .workflow-shell,
  .matrix-table,
  .benchmark-schema,
  .contact-form,
  .capacity-note,
  .security-request,
  .workflow-card,
  .case-placeholder,
  .employee-offer,
  .calendar-direct-card,
  .frugal-levers,
  .architecture-item,
  .explorer-card,
  .hub-card,
  .resource-grid > a,
  .integration-grid > article,
  .offer-card:not(.offer-featured),
  .autonomy-grid > article,
  .principle-grid > article,
  .problem-grid > article,
  .security-grid > article,
  .orchestration-stages > li,
  .role-capability-grid > article,
  .process-map > div,
  .three-column > div
) :is(h2, h3, h4, strong, p, li, dt, dd) { color: inherit; }

body:not(.page-home):not(.page-404) main .section-dark :is(
  .architecture-map,
  .workflow-shell,
  .matrix-table,
  .benchmark-schema,
  .contact-form,
  .capacity-note,
  .security-request,
  .workflow-card,
  .case-placeholder,
  .employee-offer,
  .calendar-direct-card,
  .frugal-levers
) a:not(.button) { color: #155eef; }

/* The roles hub: fifty employee workspaces across five moving lines. */
body:not(.page-home):not(.page-404) .roles-showcase-section > .container {
  max-width: 1280px;
  padding-inline: clamp(24px, 4vw, 56px);
}
.roles-showcase-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.roles-showcase-head > p { flex: 0 0 auto; margin: 0 0 8px; color: #6b7585; font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.role-marquee-grid { display: grid; gap: 18px; overflow: hidden; margin-inline: calc(-1 * clamp(24px, 4vw, 56px)); padding-inline: clamp(24px, 4vw, 56px); }
.role-marquee { overflow: hidden; }
.role-marquee-track { display: flex; width: max-content; gap: 18px; animation: role-marquee-scroll 74s linear infinite; }
.role-marquee-2 .role-marquee-track { animation-direction: reverse; animation-duration: 81s; }
.role-marquee-3 .role-marquee-track { animation-duration: 69s; }
.role-marquee-4 .role-marquee-track { animation-direction: reverse; animation-duration: 86s; }
.role-marquee-5 .role-marquee-track { animation-duration: 77s; }
.role-marquee:hover .role-marquee-track { animation-play-state: paused; }
.role-marquee-card { flex: 0 0 clamp(280px, 25vw, 340px); }
.role-marquee-card .employee-card-visual { display: grid; min-height: 0; height: 285px; padding: 18px; background: #eef2f8; border: 1px solid #e0e6ef; border-radius: 22px; aspect-ratio: auto; }
.role-marquee-card .employee-workspace { min-height: 100%; border-radius: 15px; box-shadow: 12px 15px 0 rgba(27, 46, 74, 0.07), 0 17px 30px rgba(18, 32, 59, 0.11); }
.role-marquee-card .employee-workspace-body { gap: 11px; padding: 18px; }
.role-marquee-card .employee-workspace-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 11px; }
.role-marquee-card .employee-workspace-mission strong { font-size: 13px; }
.role-marquee-card .employee-workspace-tags { margin-top: auto; }

@keyframes role-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

@media (prefers-reduced-motion: reduce) {
  .role-marquee { overflow-x: auto; }
  .role-marquee-track { width: auto; animation: none; }
  .role-marquee-card[aria-hidden="true"] { display: none; }
}

@media (max-width: 768px) {
  .roles-showcase-head { display: block; margin-bottom: 34px; }
  .roles-showcase-head > p { margin-top: 18px; }
  .role-marquee-grid { gap: 14px; }
  .role-marquee-track { gap: 14px; }
  .role-marquee-card { flex-basis: min(82vw, 340px); }
  .role-marquee-card .employee-card-visual { height: 276px; padding: 16px; }
  .role-marquee-card .employee-workspace-body { padding: 18px; }
}

/* Platform page: fewer visual codes, stronger reading hierarchy. */
body.page-platform:not(.page-home):not(.page-404) main > section.section.architecture-section:not(.final-cta) > .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.page-platform main .architecture-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.page-platform main .architecture-item:last-child { grid-column: 1 / -1; }
.page-platform main .architecture-core {
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  min-height: 0;
  padding: 24px 28px;
}
.page-platform main .architecture-core > span { grid-column: 1 / -1; color: #9cb8ff; font-size: 10px; }
.page-platform main .architecture-core strong { font-size: clamp(24px, 3vw, 38px); }
.page-platform main .architecture-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 22px;
}
.page-platform main .architecture-card-head .mark-icon { flex: 0 0 auto; }
.page-platform main .architecture-card-head > strong { color: #1f2937; font-size: clamp(22px, 2.1vw, 30px); }
.page-platform main .architecture-detail {
  display: grid;
  height: auto;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px 32px;
  padding: 22px;
}
.page-platform main .architecture-detail > p { align-self: start; font-size: 15px; line-height: 1.55; }
.page-platform main .architecture-capabilities { min-width: 0; }
.page-platform main .architecture-capabilities > small { display: block; margin-bottom: 9px; color: #69778d; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.page-platform main .architecture-detail .mini-list { margin: 0; }
.page-platform main .architecture-detail a { grid-column: 1 / -1; padding-top: 0; margin-top: 0; font-weight: 750; }

.page-platform main .workflow-shell { background: #f8f9fc; }
.page-platform main .tab-list { gap: 8px; padding: 12px 14px; background: #fff; border-bottom-color: #e1e6ef; }
.page-platform main .tab-list button { min-height: 42px; padding: 10px 14px; background: #f1f4f8; border: 0; border-radius: 9px; color: #596579; font-size: 13px; }
.page-platform main .tab-list button[aria-selected="true"] { background: #1f2937; color: #fff; }
.page-platform main .tab-list button::after { display: none; }
.page-platform main .workflow-panel { display: grid; grid-template-columns: 1fr; }
.page-platform main .workflow-meta { min-height: 0; padding: 28px 30px 22px; background: transparent; border-right: 0; border-bottom: 1px solid #e1e6ef; }
.page-platform main .workflow-meta span { color: #155eef; }
.page-platform main .workflow-meta p { max-width: 880px; margin-top: 12px; color: #354154; font-size: clamp(18px, 2.1vw, 25px); line-height: 1.3; }
.page-platform main .workflow-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 22px 30px; }
.page-platform main .workflow-steps li { min-height: 76px; grid-template-columns: 32px 1fr; gap: 10px; padding: 13px; background: #fff; border: 1px solid #e0e6ef; border-radius: 10px; }
.page-platform main .workflow-steps p { color: #465267; font-size: 14px; line-height: 1.4; }
.page-platform main .workflow-control { grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 30px; background: #eaf7f0; color: #1f6d4c; }
.page-platform main .workflow-control strong { color: #12643f; }
.page-platform main .workflow-control p { color: #246646; }

.page-platform main .autonomy-grid { position: relative; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 0; padding-top: 8px; background: transparent; border: 0; }
.page-platform main .autonomy-grid article { display: grid; min-height: 0; grid-template-columns: minmax(145px, 0.42fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 8px 28px; align-items: start; padding: 24px 28px; background: #fff; border: 1px solid #dfe5ee; border-radius: 16px; box-shadow: 0 12px 30px rgba(18, 32, 59, 0.07); }
.page-platform main .autonomy-grid article:nth-child(4) { grid-column: 4 / 10; grid-row: 1; background: linear-gradient(145deg, #1e2a40, #155eef); border-color: #255ecb; box-shadow: 0 18px 36px rgba(21, 94, 239, 0.23); }
.page-platform main .autonomy-grid article:nth-child(3) { grid-column: 3 / 11; grid-row: 2; background: linear-gradient(135deg, #eef3ff, #f8faff); }
.page-platform main .autonomy-grid article:nth-child(2) { grid-column: 2 / 12; grid-row: 3; background: linear-gradient(135deg, #f4f7fb, #fff); }
.page-platform main .autonomy-grid article:nth-child(1) { grid-column: 1 / 13; grid-row: 4; background: #fff; }
.page-platform main .autonomy-grid article > span { display: inline-block; width: fit-content; margin: 0; padding: 6px 8px; background: #edf3ff; border-radius: 7px; color: #155eef; font-family: inherit; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.page-platform main .autonomy-grid h3 { grid-column: 1; margin: 0; align-self: end; font-size: clamp(21px, 2vw, 27px); line-height: 1.05; }
.page-platform main .autonomy-grid article > p { grid-column: 2; grid-row: 1; min-height: 0; margin: 0; color: #627086; font-size: 14px; line-height: 1.45; }
.page-platform main .autonomy-grid .mini-list { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-self: end; gap: 6px; margin: 0; }
.page-platform main .autonomy-grid .mini-list li { padding: 6px 9px; background: #eef3f8; border: 0; border-radius: 999px; color: #435066; font-size: 11px; line-height: 1.25; }
.page-platform main .autonomy-grid .mini-list li::before { display: none; }
.page-platform main .autonomy-grid article:nth-child(4) > span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.page-platform main .autonomy-grid article:nth-child(4) h3 { color: #fff; }
.page-platform main .autonomy-grid article:nth-child(4) > p,
.page-platform main .autonomy-grid article:nth-child(4) .mini-list li { color: rgba(255, 255, 255, 0.8); }
.page-platform main .autonomy-grid article:nth-child(4) .mini-list li { background: rgba(255, 255, 255, 0.13); }

body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article {
  color: #111827;
}
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article h3 { color: #111827; }
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article > p { color: #64748b; }
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article .mini-list li { color: #475569; }
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article:nth-child(4) {
  background: linear-gradient(145deg, #1e2a40, #155eef);
  border-color: #255ecb;
  color: #fff;
}
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article:nth-child(4) > span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article:nth-child(4) h3 { color: #fff; }
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article:nth-child(4) > p,
body.page-platform:not(.page-home):not(.page-404) main .autonomy-section .autonomy-grid > article:nth-child(4) .mini-list li { color: rgba(255, 255, 255, 0.86); }

.page-platform main .integration-grid { gap: 14px; background: transparent; border: 0; }
.page-platform main .integration-grid article { padding: 30px; background: #fff; border: 1px solid #e0e6ef; border-radius: 16px; box-shadow: 0 10px 26px rgba(18, 32, 59, 0.05); }
.page-platform main .integration-head { grid-template-columns: 1fr; gap: 9px; padding-bottom: 18px; margin-bottom: 14px; border-color: #e1e6ef; }
.page-platform main .integration-head > span { display: none; }
.page-platform main .integration-head small { color: #617087; }
.page-platform main .integration-head h3 { margin: 0; color: #243044; font-size: 30px; }
.page-platform main .integration-grid .check-list li { padding: 9px 0 9px 20px; border-color: #e6eaf0; color: #4d5a6f; font-size: 14px; }
.page-platform main .integration-grid .check-list li::before { top: 16px; width: 7px; height: 7px; background: #20af73; }
.page-platform main .integration-grid .price-note { padding-top: 17px; margin-top: 17px; border-color: #e1e6ef; color: #596579; font-size: 13px; }
.page-platform main .integration-footnote { max-width: 800px; margin: 22px auto 0; color: #637086; text-align: center; }

@media (max-width: 768px) {
  .page-platform main .architecture-items { grid-template-columns: 1fr; }
  .page-platform main .architecture-item:last-child { grid-column: auto; }
  .page-platform main .architecture-detail { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .page-platform main .architecture-core { padding: 20px; }
  .page-platform main .workflow-meta,
  .page-platform main .workflow-steps,
  .page-platform main .workflow-control { padding-right: 18px; padding-left: 18px; }
  .page-platform main .workflow-steps { grid-template-columns: 1fr; }
  .page-platform main .workflow-control { grid-template-columns: 1fr; gap: 8px; }
  .page-platform main .autonomy-grid,
  .page-platform main .integration-grid { grid-template-columns: 1fr; }
  .page-platform main .autonomy-grid article { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .page-platform main .autonomy-grid article:nth-child(4) { grid-column: 1; grid-row: 1; }
  .page-platform main .autonomy-grid article:nth-child(3) { grid-column: 1; grid-row: 2; }
  .page-platform main .autonomy-grid article:nth-child(2) { grid-column: 1; grid-row: 3; }
  .page-platform main .autonomy-grid article:nth-child(1) { grid-column: 1; grid-row: 4; }
  .page-platform main .autonomy-grid h3,
  .page-platform main .autonomy-grid article > p,
  .page-platform main .autonomy-grid .mini-list { grid-column: 1; grid-row: auto; }
}

/* All internal pages use the same direct product language as the Platform. */
body:not(.page-home):not(.page-404):not(.page-platform) main {
  background:
    radial-gradient(circle at 88% 14%, rgba(52, 116, 255, 0.08), transparent 28%),
    var(--internal-canvas);
}

body:not(.page-home):not(.page-404):not(.page-platform) main > section.section:not(.final-cta):not(.section-dark) > .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .section-head > .eyebrow {
  display: none;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .section-head h2 {
  max-width: 880px;
  color: #111827;
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .section-head .section-intro {
  max-width: 720px;
  margin-top: 18px;
  color: #607089;
  font-size: 17px;
  line-height: 1.55;
}

body:not(.page-home):not(.page-404):not(.page-platform) main :is(
  .architecture-item,
  .explorer-card,
  .hub-card,
  .resource-grid > a,
  .integration-grid > article,
  .offer-card,
  .autonomy-grid > article,
  .principle-grid > article,
  .problem-grid > article,
  .security-grid > article,
  .orchestration-stages > li,
  .role-capability-grid > article,
  .process-map > div,
  .three-column > div
) {
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}

@media (hover: hover) {
  body:not(.page-home):not(.page-404):not(.page-platform) main :is(
    .architecture-item,
    .explorer-card,
    .hub-card,
    .resource-grid > a,
    .integration-grid > article,
    .offer-card,
    .autonomy-grid > article,
    .principle-grid > article,
    .problem-grid > article,
    .security-grid > article,
    .orchestration-stages > li,
    .role-capability-grid > article,
    .process-map > div,
    .three-column > div
  ):hover {
    z-index: 1;
    border-color: #cbd6e7;
    box-shadow: 0 18px 36px rgba(18, 32, 59, 0.1);
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  body:not(.page-home):not(.page-404):not(.page-platform) main > section.section:not(.final-cta):not(.section-dark) > .container {
    padding-inline: 22px;
  }

  body:not(.page-home):not(.page-404):not(.page-platform) main .section-head h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid { grid-template-columns: 1fr; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(4) { grid-column: 1; grid-row: 1; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(3) { grid-column: 1; grid-row: 2; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(2) { grid-column: 1; grid-row: 3; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article:nth-child(1) { grid-column: 1; grid-row: 4; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid h3,
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid > article > p,
  body:not(.page-home):not(.page-404):not(.page-platform) main .autonomy-grid .mini-list { grid-column: 1; grid-row: auto; }
}

/* Vision sans API: two product paths, presented like the home capability cards. */
body.page-vision main .integration-vision-showcase .integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  overflow: visible;
  background: transparent;
  border: 0;
}

body.page-vision main .integration-vision-showcase .integration-grid > .integration-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 24px 62px rgba(12, 23, 46, 0.16);
  color: #fff;
}

body.page-vision main .integration-vision-showcase .integration-card-api {
  background:
    radial-gradient(circle at 82% 15%, rgba(105, 231, 255, 0.48), transparent 27%),
    radial-gradient(circle at 12% 105%, rgba(115, 105, 255, 0.28), transparent 43%),
    linear-gradient(145deg, #12306b, #182b54 55%, #1c2331) !important;
}

body.page-vision main .integration-vision-showcase .integration-card-vision {
  background:
    radial-gradient(circle at 82% 14%, rgba(150, 255, 216, 0.36), transparent 28%),
    radial-gradient(circle at 12% 106%, rgba(61, 201, 220, 0.28), transparent 42%),
    linear-gradient(145deg, #14505d, #183e49 56%, #1c252d) !important;
}

body.page-vision main .integration-vision-showcase .integration-grid > .integration-card::before {
  position: absolute;
  right: -70px;
  bottom: -88px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.025);
  content: "";
}

body.page-vision main .integration-vision-showcase .integration-grid > .integration-card::after { display: none; }

body.page-vision main .integration-vision-showcase .integration-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

body.page-vision main .integration-vision-showcase .integration-card-top > span {
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

body.page-vision main .integration-vision-showcase .integration-card-top > i {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 19px;
  color: #d9f6ff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 220ms var(--ease), background-color 220ms ease;
}

body.page-vision main .integration-vision-showcase .integration-card-top .mark-icon { width: 30px; height: 30px; }

body.page-vision main .integration-vision-showcase .integration-card-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 720;
}

body.page-vision main .integration-vision-showcase .integration-card-status b {
  width: 6px;
  height: 6px;
  background: #7ae4b2;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(122, 228, 178, 0.12);
}

body.page-vision main .integration-vision-showcase .integration-head {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0;
  margin: 20px 0 16px;
  border: 0;
}

body.page-vision main .integration-vision-showcase .integration-head > span { display: none; }
body.page-vision main .integration-vision-showcase .integration-head small { color: rgba(255, 255, 255, 0.62); font-size: 10px; }
body.page-vision main .integration-vision-showcase .integration-head h3 { margin: 7px 0 0; color: #fff; font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.05em; }

body.page-vision main .integration-vision-showcase .check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 0;
}

body.page-vision main .integration-vision-showcase .check-list li {
  padding: 10px 0 10px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

body.page-vision main .integration-vision-showcase .check-list li::before { top: 17px; width: 6px; height: 6px; background: #82e9bd; }

body.page-vision main .integration-vision-showcase .price-note {
  position: relative;
  z-index: 1;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

@media (hover: hover) {
  body.page-vision main .integration-vision-showcase .integration-grid > .integration-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 32px 80px rgba(12, 23, 46, 0.25);
    transform: translateY(-6px);
  }

  body.page-vision main .integration-vision-showcase .integration-grid > .integration-card:hover .integration-card-top > i {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(-6deg) scale(1.06);
  }
}

@media (max-width: 768px) {
  body.page-vision main .integration-vision-showcase .integration-grid { grid-template-columns: 1fr; margin-top: 34px; }
  body.page-vision main .integration-vision-showcase .integration-grid > .integration-card { min-height: 0; padding: 24px; }
}

/* Reuse the refined Platform components wherever they appear. */
body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-item:last-child { grid-column: 1 / -1; }

body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 22px;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-card-head .mark-icon { flex: 0 0 auto; }
body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-card-head > strong { color: #1f2937; font-size: clamp(22px, 2.1vw, 30px); }

body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-detail {
  display: grid;
  height: auto;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px 32px;
  padding: 22px;
}

body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-detail > p { align-self: start; font-size: 15px; line-height: 1.55; }
body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-capabilities { min-width: 0; }
body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-capabilities > small { display: block; margin-bottom: 9px; color: #69778d; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-detail .mini-list { margin: 0; }
body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-detail a { grid-column: 1 / -1; padding-top: 0; margin-top: 0; font-weight: 750; }

body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-shell { background: #f8f9fc; }
body:not(.page-home):not(.page-404):not(.page-platform) main .tab-list { gap: 8px; padding: 12px 14px; background: #fff; border-bottom-color: #e1e6ef; }
body:not(.page-home):not(.page-404):not(.page-platform) main .tab-list button { min-height: 42px; padding: 10px 14px; background: #f1f4f8; border: 0; border-radius: 9px; color: #596579; font-size: 13px; }
body:not(.page-home):not(.page-404):not(.page-platform) main .tab-list button[aria-selected="true"] { background: #1f2937; color: #fff; }
body:not(.page-home):not(.page-404):not(.page-platform) main .tab-list button::after { display: none; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-panel { display: grid; grid-template-columns: 1fr; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 22px 30px; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-steps li { min-height: 76px; grid-template-columns: 32px 1fr; gap: 10px; padding: 13px; background: #fff; border: 1px solid #e0e6ef; border-radius: 10px; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-steps p { color: #465267; font-size: 14px; line-height: 1.4; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-control { grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 30px; background: #eaf7f0; color: #1f6d4c; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-control strong { color: #12643f; }
body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-control p { color: #246646; }

@media (max-width: 768px) {
  body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-items { grid-template-columns: 1fr; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-item:last-child { grid-column: auto; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .architecture-detail { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-steps { grid-template-columns: 1fr; padding-right: 18px; padding-left: 18px; }
  body:not(.page-home):not(.page-404):not(.page-platform) main .workflow-control { grid-template-columns: 1fr; gap: 8px; padding-right: 18px; padding-left: 18px; }
}

/* Sector hub: the same energetic, product-led card language as the home page. */
body.page-sectors main .sector-showcase-section {
  overflow: hidden;
  padding-top: clamp(76px, 9vw, 132px);
}

body.page-sectors main .sector-showcase-section > .container {
  width: min(calc(100% - (2 * var(--gutter))), 1180px);
  max-width: none;
  padding: 0;
}

body.page-sectors main .sector-showcase-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(38px, 5vw, 66px);
}

body.page-sectors main .sector-showcase-head .section-head {
  max-width: 920px;
}

body.page-sectors main .sector-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-sectors main .sector-showcase-card {
  --sector-accent: #4d8dff;
  --sector-glow: rgba(38, 105, 255, 0.32);
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 44px);
  background:
    radial-gradient(circle at 90% 6%, var(--sector-glow), transparent 34%),
    linear-gradient(145deg, #162238 0%, #111827 58%, #0c1321 100%);
  border: 1px solid rgba(142, 176, 232, 0.2);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(16, 30, 52, 0.16);
  color: #fff;
  text-decoration: none;
  transition: transform 240ms var(--ease), border-color 240ms ease, box-shadow 240ms ease;
}

body.page-sectors main .sector-showcase-card:nth-child(2n) {
  --sector-accent: #68d6bc;
  --sector-glow: rgba(31, 190, 142, 0.28);
}

body.page-sectors main .sector-showcase-card:nth-child(3n) {
  --sector-accent: #9c8cff;
  --sector-glow: rgba(117, 88, 255, 0.28);
}

body.page-sectors main .sector-showcase-card::after {
  position: absolute;
  z-index: -1;
  right: -82px;
  bottom: -108px;
  width: 270px;
  height: 270px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

body.page-sectors main .sector-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(52px, 6vw, 82px);
}

body.page-sectors main .sector-card-top > span {
  color: rgba(255, 255, 255, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

body.page-sectors main .sector-card-top > i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #d9e8ff;
  backdrop-filter: blur(10px);
  transition: transform 240ms var(--ease), background-color 240ms ease;
}

body.page-sectors main .sector-card-top .mark-icon {
  width: 27px;
  height: 27px;
}

body.page-sectors main .sector-showcase-card h2 {
  max-width: 480px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

body.page-sectors main .sector-showcase-card > p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

body.page-sectors main .sector-showcase-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 34px;
  list-style: none;
}

body.page-sectors main .sector-showcase-card li {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.2;
}

body.page-sectors main .sector-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.01em;
}

body.page-sectors main .sector-card-action svg {
  width: 20px;
  color: var(--sector-accent);
  transition: transform 240ms var(--ease);
}

@media (hover: hover) {
  body.page-sectors main .sector-showcase-card:hover {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 34px 74px rgba(16, 30, 52, 0.24);
    transform: translateY(-7px);
  }

  body.page-sectors main .sector-showcase-card:hover .sector-card-top > i {
    background: rgba(255, 255, 255, 0.17);
    transform: rotate(-5deg) scale(1.05);
  }

  body.page-sectors main .sector-showcase-card:hover .sector-card-action svg {
    transform: translateX(5px);
  }
}

/* The professions now run edge to edge while their heading stays aligned. */
body.page-roles:not(.page-home):not(.page-404) main > .roles-showcase-section > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body.page-roles main .roles-showcase-head {
  width: min(calc(100% - (2 * var(--gutter))), 1136px);
  margin-right: auto;
  margin-left: auto;
}

body.page-roles main .role-marquee-grid {
  width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}

body.page-roles main .role-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
}

@media (max-width: 768px) {
  body.page-sectors main .sector-showcase-section > .container {
    width: min(calc(100% - 40px), 1180px);
    padding-inline: 0;
  }

  body.page-sectors main .sector-showcase-grid { grid-template-columns: 1fr; }
  body.page-sectors main .sector-showcase-card { min-height: 430px; border-radius: 22px; }
  body.page-sectors main .sector-card-top { margin-bottom: 44px; }

  body.page-roles main .roles-showcase-head {
    width: calc(100% - 40px);
  }

  body.page-roles main .role-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
  }
}

/* Pricing: two readable decisions, then one clearly separated AI employee. */
body.page-pricing main .pricing-showcase > .container {
  width: min(calc(100% - (2 * var(--gutter))), 1180px);
  max-width: none;
  padding: clamp(56px, 7vw, 88px) 0;
}

body.page-pricing main .pricing-step {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

body.page-pricing main .pricing-step > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  background: #155eef;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(21, 94, 239, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
}

body.page-pricing main .pricing-step .section-head h2 {
  max-width: 780px;
}

body.page-pricing main .offer-grid {
  gap: 20px;
  margin-top: 52px;
}

body.page-pricing main .offer-card {
  display: flex;
  min-height: 690px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 96% 0, rgba(79, 207, 175, 0.16), transparent 32%),
    #fff;
  border: 1px solid #dce4ef;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(18, 32, 59, 0.09);
}

body.page-pricing main .offer-card::after { display: none; }

body.page-pricing:not(.page-home):not(.page-404):not(.page-platform) main .offer-card.offer-featured {
  background:
    radial-gradient(circle at 96% 0, rgba(79, 156, 255, 0.42), transparent 34%),
    linear-gradient(150deg, #182844 0%, #111827 64%, #0d1421 100%) !important;
  border-color: rgba(145, 178, 231, 0.22);
  box-shadow: 0 30px 72px rgba(16, 30, 52, 0.22);
  color: rgba(255, 255, 255, 0.74);
}

body.page-pricing main .offer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 54px;
}

body.page-pricing main .offer-card-top > span {
  color: #155eef;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.page-pricing main .offer-featured .offer-card-top > span { color: #a9c6ff; }

body.page-pricing main .offer-card-top > i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #edf4ff;
  border: 1px solid #d9e6fb;
  border-radius: 18px;
  color: #155eef;
}

body.page-pricing main .offer-featured .offer-card-top > i {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #dbe8ff;
}

body.page-pricing main .offer-card-top .mark-icon { width: 27px; height: 27px; }

body.page-pricing main .offer-card h3 {
  max-width: 510px;
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

body.page-pricing main .offer-featured h3 { color: #fff; }

body.page-pricing main .offer-card > .offer-description {
  min-height: 0;
  margin: 20px 0 0;
  color: #65738a;
  font-size: 15px;
  line-height: 1.55;
}

body.page-pricing main .offer-featured > .offer-description { color: rgba(255, 255, 255, 0.66); }

body.page-pricing main .offer-card .offer-price {
  padding: 25px 0;
  margin: 28px 0;
  border-color: #e0e6ef;
}

body.page-pricing main .offer-featured .offer-price { border-color: rgba(255, 255, 255, 0.16); }

body.page-pricing main .offer-price strong {
  font-size: clamp(46px, 5vw, 68px);
}

body.page-pricing main .offer-includes > small {
  display: block;
  margin-bottom: 10px;
  color: #758197;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.page-pricing main .offer-featured .offer-includes > small { color: rgba(255, 255, 255, 0.5); }
body.page-pricing main .offer-includes .check-list { margin: 0; }

body.page-pricing main .offer-includes .check-list li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid #e4e9f1;
  color: #3d495b;
  font-size: 13px;
}

body.page-pricing main .offer-featured .offer-includes .check-list li {
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.74);
}

body.page-pricing main .offer-qualification {
  min-height: 0;
  padding-top: 16px;
  margin: 18px 0 26px;
  border-top: 1px solid #e4e9f1;
  color: #788499;
  font-size: 11px;
  line-height: 1.55;
}

body.page-pricing main .offer-featured .offer-qualification {
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
}

body.page-pricing main .offer-card > .button {
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
}

body.page-pricing main .offer-featured > .button-secondary {
  background: #fff;
  border-color: #fff;
  color: #111827;
}

body.page-pricing main .pricing-step-two {
  padding-top: clamp(72px, 8vw, 108px);
  margin-top: clamp(72px, 8vw, 108px);
  border-top: 1px solid #dce3ed;
}

body.page-pricing main .employee-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(36px, 6vw, 84px);
  padding: clamp(34px, 5vw, 64px);
  margin-top: 52px;
  background:
    radial-gradient(circle at 100% 0, rgba(88, 213, 255, 0.38), transparent 35%),
    linear-gradient(135deg, #155eef 0%, #174fd0 50%, #1d2e69 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 30px 75px rgba(21, 78, 190, 0.23);
  color: rgba(255, 255, 255, 0.74);
}

body.page-pricing main .employee-offer::before { display: none; }
body.page-pricing main .employee-offer-copy > span { color: #bcd5ff; }

body.page-pricing main .employee-offer h3 {
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

body.page-pricing main .employee-offer-copy > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

body.page-pricing main .employee-offer-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

body.page-pricing main .employee-offer-examples li {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

body.page-pricing main .employee-offer-price {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 22, 55, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

body.page-pricing main .employee-offer .offer-price {
  min-width: 0;
  padding: 0 0 26px;
  margin: 0 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.page-pricing main .employee-offer .offer-price small,
body.page-pricing main .employee-offer .offer-price > span { color: rgba(255, 255, 255, 0.62); }
body.page-pricing main .employee-offer .offer-price strong { color: #fff; }
body.page-pricing main .employee-offer-price .button { width: 100%; justify-content: space-between; background: #fff; color: #111827; }

body.page-pricing main .integration-section > .container {
  background:
    radial-gradient(circle at 92% 4%, rgba(48, 128, 255, 0.22), transparent 34%),
    #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

body.page-pricing main .integration-section .section-head h2 { color: #fff; }
body.page-pricing main .integration-section .section-intro { color: rgba(255, 255, 255, 0.64); }
body.page-pricing main .integration-section .integration-grid { gap: 16px; margin-top: 46px; }

body.page-pricing main .integration-section .integration-grid > article {
  background: #fff;
  border: 0;
  border-radius: 20px;
  color: #27303d;
}

body.page-pricing main .integration-section .integration-grid > article::after { display: none; }
body.page-pricing main .integration-section .integration-head { border-color: #e0e6ef; }
body.page-pricing main .integration-section .integration-head h3 { color: #111827; }
body.page-pricing main .integration-section .integration-head small { color: #66748a; }
body.page-pricing main .integration-section .check-list li { color: #465267; }
body.page-pricing main .integration-section .price-note { border-color: #e0e6ef; color: #5d6a7e; }
body.page-pricing main .integration-section .integration-footnote { color: rgba(255, 255, 255, 0.6); }

body.page-pricing main .pricing-clarity > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding: clamp(44px, 6vw, 72px);
  background: linear-gradient(135deg, #e9f1ff, #f3f7ff 58%, #eeebff);
  border: 1px solid #d9e3f2;
  border-radius: 28px;
}

body.page-pricing main .pricing-clarity .section-head h2 { font-size: clamp(38px, 4.4vw, 58px); }
body.page-pricing main .pricing-clarity .section-head + p { max-width: 760px; margin-top: 22px; color: #68768b; line-height: 1.55; }

/* LEGEND: a large, immediate YouTube player directly after the hero. */
body.page-legend main .legend-watch-primary > .container {
  width: min(calc(100% - (2 * var(--gutter))), 1180px);
  max-width: none;
  padding: 0;
}

body.page-legend main .legend-video-main {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(35, 53, 83, 0.18);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(11, 28, 55, 0.2);
}

body.page-legend main .legend-video-main > picture,
body.page-legend main .legend-video-main > picture img {
  width: 100%;
  height: 100%;
  min-height: 0;
}

body.page-legend main .legend-video-main > picture { opacity: 0.7; }

body.page-legend main .legend-video-main > picture img {
  object-fit: cover;
}

body.page-legend main .legend-video-main > div {
  background: linear-gradient(180deg, rgba(6, 13, 25, 0.08), rgba(6, 13, 25, 0.58));
}

body.page-legend main .legend-video-brand {
  position: absolute;
  top: 30px;
  left: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

body.page-legend main .legend-video-play {
  display: grid;
  width: clamp(82px, 9vw, 112px);
  height: clamp(82px, 9vw, 112px);
  place-items: center;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
  color: #155eef;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}

body.page-legend main .legend-video-play b {
  margin-left: 6px;
  font-size: clamp(24px, 3vw, 34px);
}

body.page-legend main .legend-video-main > div > strong {
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.035em;
}

body.page-legend main .legend-video-main > div > p { margin: -10px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 13px; }

body.page-legend main .legend-video-main > div > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

body.page-legend main .legend-video-main > div > a svg { width: 18px; }

body.page-legend main .legend-video-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

body.page-legend main .legend-episode-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
  padding: clamp(52px, 7vw, 82px) 0 0;
}

body.page-legend main .legend-episode-summary h2 {
  max-width: 760px;
  color: #111827;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.052em;
  line-height: 0.99;
}

body.page-legend main .legend-episode-summary > div > p:last-child {
  max-width: 720px;
  margin-top: 24px;
  color: #647289;
  font-size: 17px;
  line-height: 1.58;
}

body.page-legend main .legend-episode-summary .episode-facts { margin-top: 0; }

@media (hover: hover) {
  body.page-legend main .legend-video-play:hover {
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.3);
    transform: scale(1.07);
  }
}

@media (max-width: 768px) {
  body:is(.page-pricing, .page-legend) .page-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  body:is(.page-pricing, .page-legend) .page-hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 11.5vw, 46px);
    line-height: 0.98;
    overflow-wrap: normal;
    text-wrap: wrap;
  }

  body:is(.page-pricing, .page-legend) .page-hero .hero-lead {
    width: 100%;
    max-width: 100%;
  }

  body.page-legend main .legend-hero-photo {
    width: 100%;
    max-width: 410px;
  }

  body.page-pricing main .pricing-showcase > .container,
  body.page-legend main .legend-watch-primary > .container {
    width: calc(100% - 40px);
  }

  body.page-pricing main .pricing-step { display: block; }
  body.page-pricing main .pricing-step > span { margin-bottom: 22px; }
  body.page-pricing main .offer-grid,
  body.page-pricing main .employee-offer,
  body.page-pricing main .pricing-clarity > .container { grid-template-columns: 1fr; }
  body.page-pricing main .offer-card { min-height: 0; border-radius: 22px; }
  body.page-pricing main .offer-card-top { margin-bottom: 40px; }
  body.page-pricing main .employee-offer { padding: 28px; border-radius: 22px; }
  body.page-pricing main .employee-offer-price { padding: 22px; }
  body.page-pricing main .pricing-clarity > .container { align-items: start; gap: 30px; border-radius: 22px; }

  body.page-legend main .legend-video-main { border-radius: 20px; }
  body.page-legend main .legend-video-brand { top: 18px; left: 18px; }
  body.page-legend main .legend-video-main > div > strong,
  body.page-legend main .legend-video-main > div > p,
  body.page-legend main .legend-video-main > div > a { display: none; }
  body.page-legend main .legend-episode-summary { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; }
}

/* A single promotional and navigation system across every page. */
:root { --promotion-height: 42px; }

.promotion-banner {
  position: sticky;
  z-index: 110;
  top: 0;
  display: grid;
  height: var(--promotion-height);
  place-items: center;
  background: linear-gradient(90deg, #155eef, #4d72ef 52%, #6755d8);
  color: #fff;
}

.promotion-banner-inner {
  display: flex;
  width: min(calc(100% - (2 * var(--gutter))), 1136px);
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.promotion-banner p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
}

.promotion-banner p strong {
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.promotion-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
}

.promotion-banner a svg { width: 15px; }

.site-header { top: var(--promotion-height); }

body:not(.page-home):not(.page-404) {
  --header-height: 64px;
}

body:not(.page-home):not(.page-404) .site-header .header-shell {
  width: min(calc(100% - (2 * var(--gutter))), 1136px);
}

body:not(.page-home):not(.page-404) .site-header .brand,
body:not(.page-home):not(.page-404) .site-header .brand img {
  width: 140px;
}

body:not(.page-home):not(.page-404) .site-nav {
  gap: 24px;
  font-size: 13px;
  font-weight: 520;
}

body:not(.page-home):not(.page-404) .site-nav .home-header-demo {
  min-height: 38px;
  padding: 8px 14px;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 9px;
  color: #fff;
  font-weight: 520;
}

body:not(.page-home):not(.page-404) .site-nav .button-header {
  min-height: 38px;
  padding: 8px 15px;
  font-weight: 560;
}

/* Contact adjustments. */
body.page-contact main .calendar-direct-card h3 {
  margin-top: 0;
  color: #111827;
}

body.page-contact main .contact-email-line a { color: #155eef; }

/* Home video: an inline player that starts only when it enters the viewport. */
.composer-video {
  text-decoration: none;
}

.page-home video.home-showcase-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0d1017;
  object-fit: cover;
}

.page-home video.home-showcase-video::after { display: none; }

/* Media page reduced to the three requested pieces. */
body.page-media main .media-library > .container {
  width: min(calc(100% - (2 * var(--gutter))), 1180px);
  max-width: none;
  padding: clamp(58px, 7vw, 90px) 0;
}

body.page-media main .media-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-media main .media-story-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(120, 153, 205, 0.2);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(16, 30, 52, 0.16);
  color: #fff;
  text-decoration: none;
  transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease;
}

body.page-media main .media-story-legend {
  background: linear-gradient(145deg, #172847, #0e1626);
}

body.page-media main .media-story-bourdin {
  background: linear-gradient(145deg, #37251e, #15191f 62%);
}

body.page-media main .media-story-visual {
  position: relative;
  overflow: hidden;
  background: #0c111c;
  aspect-ratio: 16 / 9;
}

body.page-media main .media-story-visual picture,
body.page-media main .media-story-visual img,
body.page-media main .media-story-visual video {
  display: block;
  width: 100%;
  height: 100%;
}

body.page-media main .media-story-visual img,
body.page-media main .media-story-visual video {
  object-fit: cover;
}

body.page-media main a.media-story-card .media-story-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 20, 0.42));
  content: "";
}

body.page-media main .media-play-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  padding-left: 4px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  color: #155eef;
  font-size: 18px;
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease);
}

body.page-media main .media-story-copy {
  display: flex;
  min-height: 330px;
  flex: 1;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 42px);
}

body.page-media main .media-story-copy > small {
  color: #91b2ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.09em;
}

body.page-media main .media-story-bourdin .media-story-copy > small { color: #efbb91; }

body.page-media main .media-story-copy h2 {
  margin: 44px 0 18px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

body.page-media main .media-story-copy p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

body.page-media main .media-story-copy > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
}

body.page-media main .media-story-copy > strong svg { width: 19px; color: #8db2ff; }

body.page-media main .media-story-product {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  background:
    radial-gradient(circle at 96% 0, rgba(55, 137, 255, 0.34), transparent 38%),
    linear-gradient(145deg, #152646, #0e1626);
}

body.page-media main .media-story-product .media-story-visual { aspect-ratio: 16 / 10; }
body.page-media main .media-story-product .media-story-copy { min-height: 0; justify-content: center; }

@media (hover: hover) {
  body.page-media main a.media-story-card:hover {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 34px 80px rgba(16, 30, 52, 0.24);
    transform: translateY(-7px);
  }

  body.page-media main a.media-story-card:hover .media-play-mark {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (max-width: 1024px) {
  .promotion-banner + .site-header .site-nav {
    top: calc(var(--promotion-height) + var(--header-height));
    height: calc(100svh - var(--promotion-height) - var(--header-height));
  }

  body:not(.page-home):not(.page-404) .home-mobile-start {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    margin-left: auto;
    background: #fff;
    border-radius: 8px;
    color: #17191d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }

  body:not(.page-home):not(.page-404) .site-nav .home-header-demo {
    width: 100%;
    margin-top: 24px;
    border-color: var(--line-strong);
    color: var(--ink);
  }
}

@media (max-width: 768px) {
  :root { --promotion-height: 56px; }

  .promotion-banner-inner {
    width: calc(100% - 28px);
    justify-content: space-between;
    gap: 12px;
  }

  .promotion-banner p {
    display: block;
    max-width: 250px;
    font-size: 9px;
    line-height: 1.3;
  }

  .promotion-banner p strong {
    display: inline;
    margin-right: 5px;
    font-size: 14px;
  }

  .promotion-banner a { flex: 0 0 auto; font-size: 0; }
  .promotion-banner a svg { width: 20px; }

  body.page-media main .media-library > .container {
    width: calc(100% - 40px);
  }

  body.page-media main .media-library-grid,
  body.page-media main .media-story-product {
    grid-template-columns: 1fr;
  }

  body.page-media main .media-story-card { border-radius: 22px; }
  body.page-media main .media-story-product { grid-column: auto; }
  body.page-media main .media-story-copy { min-height: 280px; }
}
