:root {
  --paper: #f4f7f8;
  --paper-blue: #eaf5f7;
  --surface: #ffffff;
  --ink: #0a1728;
  --ink-soft: #26384d;
  --muted: #647387;
  --line: #d9e1e6;
  --line-dark: #b8c5ce;
  --blue: #0b67d1;
  --cyan: #00a7c4;
  --cyan-soft: #dff5f7;
  --green: #16a477;
  --green-soft: #e1f5ed;
  --violet: #7657d8;
  --violet-soft: #eee9fb;
  --orange: #e78b2e;
  --orange-soft: #fff0de;
  --coral: #e96d5b;
  --navy: #0b192b;
  --shadow: 0 24px 70px rgba(10, 32, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
summary {
  font: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 167, 196, 0.34);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1340px) / 2));
  border-bottom: 1px solid rgba(217, 225, 230, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
  font-weight: 850;
}

.header-logo {
  width: 180px;
  height: auto;
  display: block;
}

.brand-mark {
  width: 38px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #ffffff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name {
  font-size: 16px;
  line-height: 1;
}

.brand-product {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #536276;
  font-size: 14px;
  font-weight: 750;
}

.desktop-nav a,
.site-footer nav a {
  position: relative;
}

.desktop-nav a::after,
.site-footer nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #ffffff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: #ffffff;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  padding: 76px max(24px, calc((100vw - 1340px) / 2)) 0;
  background:
    linear-gradient(90deg, transparent 0, transparent 49.9%, rgba(9, 48, 74, 0.045) 50%, transparent 50.1%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 54%, #edf6f7 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--orange));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(680px, 1.4fr);
  gap: 56px;
  align-items: center;
  min-height: 660px;
}

.hero-copy {
  max-width: 570px;
  padding-bottom: 48px;
}

.product-kicker,
.section-eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 21px;
}

.kicker-line {
  width: 32px;
  height: 2px;
  background: var(--cyan);
}

h1 {
  margin-bottom: 23px;
  font-size: 66px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.hero-product-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-product-line small {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.button::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
}

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

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(11, 103, 209, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(11, 103, 209, 0.26);
}

.button-secondary {
  border-color: var(--line-dark);
  color: var(--ink-soft);
  background: #ffffff;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #647387;
  font-size: 12px;
  font-weight: 750;
}

.status-beacon {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 164, 119, 0.12);
}

.agent-stage {
  position: relative;
  min-width: 0;
  padding: 32px 0 46px;
}

.stage-label {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #798796;
  font-size: 10px;
  font-weight: 900;
}

.stage-label b {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.stage-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 164, 119, 0.35); }
  70% { box-shadow: 0 0 0 8px rgba(22, 164, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 164, 119, 0); }
}

.workspace-window {
  width: 100%;
  height: 584px;
  border: 1px solid #cad6dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workspace-chrome {
  height: 44px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid #e2e8ec;
  background: #f8fafb;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5dc;
}

.workspace-address {
  min-width: 0;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #e1e7eb;
  border-radius: 5px;
  color: #8995a2;
  background: #ffffff;
  font-size: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.workspace-user {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.workspace-layout {
  height: calc(100% - 44px);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 210px;
}

.workspace-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 13px 8px;
  color: #ffffff;
  background: var(--navy);
}

.rail-logo,
.rail-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
}

.rail-logo {
  margin-bottom: 8px;
  background: var(--blue);
  font-size: 13px;
}

.rail-icon {
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.rail-icon.active {
  color: #ffffff;
  border-color: rgba(0, 167, 196, 0.5);
  background: rgba(0, 167, 196, 0.24);
}

.rail-separator {
  width: 24px;
  height: 1px;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.14);
}

.workspace-main {
  min-width: 0;
  padding: 19px;
  background:
    linear-gradient(180deg, rgba(223, 245, 247, 0.72), transparent 170px),
    #f5f8fa;
}

.workspace-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.workspace-heading span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
}

.workspace-heading h2 {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}

.workspace-heading .context-chip {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 8px;
  border: 1px solid #cde8e8;
  border-radius: 5px;
  color: #197c82;
  background: #edfafa;
  font-size: 9px;
}

.command-box {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d4e0e6;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(16, 48, 70, 0.06);
}

.command-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--cyan);
  font-size: 9px;
  font-weight: 900;
}

.command-copy {
  min-width: 0;
}

.command-copy span {
  display: block;
  color: #8492a0;
  font-size: 9px;
  font-weight: 800;
}

.command-copy b {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.45;
}

.command-run {
  min-width: 54px;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.task-progress {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce5e9;
  border-radius: 7px;
  background: #ffffff;
}

.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.progress-heading b {
  font-size: 10px;
}

.progress-heading span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 850;
}

.task-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  border-bottom: 1px solid #edf1f3;
}

.task-row:last-child {
  border-bottom: 0;
}

.task-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--cyan);
  font-size: 8px;
  font-weight: 900;
}

.task-2 .task-number {
  background: var(--green);
}

.task-3 .task-number {
  background: var(--orange);
}

.task-row b {
  display: block;
  font-size: 10px;
}

.task-row p {
  margin: 0;
  color: #788795;
  font-size: 8px;
  line-height: 1.4;
}

.task-row em {
  color: #708190;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.task-2 em {
  color: var(--green);
}

.insight-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--ink);
}

.insight-score {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  flex-direction: column;
  border: 7px solid rgba(0, 167, 196, 0.3);
  border-radius: 50%;
}

.insight-score span {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.insight-score small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 7px;
}

.insight-card > div:last-child {
  min-width: 0;
}

.insight-card .insight-kicker {
  display: block;
  margin-bottom: 3px;
  color: #55d3dd;
  font-size: 8px;
  font-weight: 900;
}

.insight-card b {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.insight-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  line-height: 1.5;
}

.workspace-activity {
  min-width: 0;
  padding: 17px 14px;
  border-left: 1px solid #e0e7eb;
  background: #ffffff;
}

.activity-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf1f3;
}

.agent-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 7px;
  background: var(--cyan);
}

.agent-avatar::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--green);
}

.agent-avatar span {
  position: absolute;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.agent-avatar span:first-child { left: 9px; }
.agent-avatar span:last-child { right: 9px; }

.activity-head b {
  display: block;
  font-size: 11px;
}

.activity-head p {
  margin: 1px 0 0;
  color: #7d8c9a;
  font-size: 8px;
}

.activity-block {
  padding: 15px 0 4px;
}

.activity-label {
  display: block;
  margin-bottom: 8px;
  color: #92a0ac;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-row {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  border-bottom: 1px solid #f0f3f5;
  font-size: 8px;
}

.activity-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c2ccd3;
}

.activity-row.done i { background: var(--green); }
.activity-row.running i { background: var(--cyan); animation: livePulse 2s ease-out infinite; }
.activity-row b { color: #8794a0; font-size: 7px; }
.activity-row.running b { color: var(--cyan); }

.knowledge > span:not(.activity-label) {
  display: block;
  margin-bottom: 6px;
  padding: 6px 7px;
  border: 1px solid #e2e8ec;
  border-radius: 5px;
  color: #536474;
  background: #fafcfd;
  font-size: 8px;
  font-weight: 800;
}

.approval-card {
  margin-top: 12px;
  padding: 11px;
  border: 1px solid #cce7e1;
  border-radius: 7px;
  background: #effaf6;
}

.approval-card > span {
  display: block;
  color: var(--green);
  font-size: 8px;
  font-weight: 900;
}

.approval-card > b {
  display: block;
  margin: 3px 0 8px;
  font-size: 9px;
  line-height: 1.35;
}

.approval-button {
  min-height: 25px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--green);
  font-size: 8px;
  font-weight: 900;
}

.floating-signal {
  position: absolute;
  z-index: 3;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid #d2dde3;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 13px 30px rgba(13, 40, 64, 0.13);
  backdrop-filter: blur(12px);
}

.signal-one {
  bottom: 17px;
  left: -27px;
}

.signal-one span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
}

.signal-one b,
.signal-two b {
  font-size: 10px;
}

.signal-two {
  right: -18px;
  bottom: 71px;
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0 8px;
}

.signal-two i {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.signal-two span {
  color: #7b8995;
  font-size: 8px;
}

.proof-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 112px;
  margin-top: 28px;
  border-top: 1px solid #ccdade;
  background: rgba(244, 249, 249, 0.7);
}

.proof-bar div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid #d7e2e5;
}

.proof-bar div:last-child {
  border-right: 0;
}

.proof-bar b {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.1;
}

.proof-bar span {
  margin-top: 5px;
  color: #73818d;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.agent-loop {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: end;
  padding-top: 116px;
  padding-bottom: 116px;
}

.section-eyebrow {
  margin-bottom: 15px;
}

.loop-intro h2,
.capability-header h2,
.foundation-intro h2,
.about-copy h2,
.contact h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 0;
}

.loop-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.loop-flow div {
  position: relative;
  min-height: 174px;
  padding: 23px 18px 18px 0;
}

.loop-flow div::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}

.loop-flow div:nth-child(2)::before { background: var(--green); }
.loop-flow div:nth-child(3)::before { background: var(--orange); }
.loop-flow div:nth-child(4)::before { background: var(--coral); }

.loop-flow span {
  display: block;
  margin-bottom: 31px;
  color: #8794a0;
  font-size: 11px;
  font-weight: 850;
}

.loop-flow b {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.loop-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.capabilities {
  padding: 110px 0 96px;
  background: #ffffff;
}

.capability-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 84px;
  align-items: end;
  margin-bottom: 62px;
}

.capability-header > p {
  max-width: 620px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.capability-domain {
  --domain-color: var(--cyan);
  --domain-soft: var(--cyan-soft);
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(220px, 0.72fr) minmax(280px, 0.9fr) minmax(360px, 1.3fr);
  gap: 28px;
  align-items: center;
  min-height: 172px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.capability-domain::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--domain-color);
  transform: scaleY(0);
  transition: transform 220ms ease;
}

.capability-domain:hover::before,
.capability-domain:focus-within::before {
  transform: scaleY(1);
}

.capability-domain.green { --domain-color: var(--green); --domain-soft: var(--green-soft); }
.capability-domain.violet { --domain-color: var(--violet); --domain-soft: var(--violet-soft); }
.capability-domain.orange { --domain-color: var(--orange); --domain-soft: var(--orange-soft); }

.capability-index {
  color: var(--domain-color);
  font-size: 11px;
  font-weight: 900;
}

.domain-heading span,
.domain-agent-work span {
  display: block;
  color: var(--domain-color);
  font-size: 9px;
  font-weight: 900;
}

.domain-heading h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.3;
}

.domain-agent-work p {
  max-width: 440px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.domain-products {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.domain-products li {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #e0e7ea;
  border-radius: 4px;
  color: #4f5e6f;
  background: #ffffff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.domain-products li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--domain-color);
}

.capability-domain:hover .domain-products li {
  background: var(--domain-soft);
}

.capability-continuity {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #637283;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.capability-continuity span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 164, 119, 0.1);
}

.client-trust {
  padding: 104px 0 96px;
  background: #eef4f5;
  overflow: hidden;
}

.client-trust-header {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 86px;
  align-items: end;
}

.client-trust-header h2 {
  max-width: 610px;
  margin-bottom: 0;
}

.client-trust-copy {
  padding-bottom: 5px;
}

.client-trust-copy p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.client-trust-copy a {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.client-trust-copy a span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.client-trust-copy a:hover span {
  transform: translateX(4px);
}

.client-logo-wall {
  display: grid;
  gap: 14px;
  margin-top: 54px;
  outline: none;
}

.client-logo-wall:focus-visible {
  outline: 3px solid rgba(0, 167, 196, 0.34);
  outline-offset: 8px;
}

.client-logo-row {
  width: 100%;
  overflow: hidden;
}

.client-logo-track {
  width: max-content;
  display: flex;
}

.client-logo-track.is-marquee-ready {
  animation: clientMarquee 48s linear infinite;
  will-change: transform;
}

.row-two .client-logo-track.is-marquee-ready {
  animation-duration: 54s;
  animation-direction: reverse;
}

.row-three .client-logo-track.is-marquee-ready {
  animation-duration: 50s;
}

.client-logo-wall:hover .client-logo-track,
.client-logo-wall:focus-within .client-logo-track {
  animation-play-state: paused;
}

.client-logo-set {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
}

.client-logo-item {
  width: 168px;
  height: 106px;
  flex: 0 0 168px;
  display: grid;
  place-items: center;
  border: 1px solid #dce4e7;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.client-logo-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@keyframes clientMarquee {
  to { transform: translateX(-50%); }
}

.foundation {
  padding: 120px 0;
  color: #ffffff;
  background: var(--navy);
}

.foundation-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 90px;
}

.foundation-intro {
  align-self: start;
}

.foundation-intro > p:not(.section-eyebrow) {
  max-width: 500px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.85;
}

.foundation-quote {
  margin-top: 66px;
  padding: 21px 0 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--cyan);
}

.foundation-quote span {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.foundation-quote b {
  display: block;
  max-width: 450px;
  font-size: 17px;
  line-height: 1.65;
}

.foundation-stack {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.foundation-stack article {
  display: grid;
  grid-template-columns: 84px 100px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 136px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.foundation-stack article > span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.foundation-stack article > b {
  font-size: 16px;
}

.foundation-stack article > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.about-mark {
  min-height: 288px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd6dc;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--blue);
  background-size: 42px 42px;
  font-size: 84px;
  font-weight: 950;
  letter-spacing: 0;
}

.about-copy > p:last-child {
  max-width: 680px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.contact {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 96px;
  padding: 48px 56px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 26px 66px rgba(11, 103, 209, 0.2);
}

.contact .section-eyebrow {
  color: #8fe3ec;
}

.contact h2 {
  font-size: 40px;
}

.contact p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

.button-light {
  flex: 0 0 auto;
  color: var(--ink);
  background: #ffffff;
}

.site-footer {
  padding: 48px max(24px, calc((100vw - 1180px) / 2)) 24px;
  color: rgba(255, 255, 255, 0.68);
  background: #07121f;
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 38px;
}

.footer-brand {
  color: #ffffff;
}

.footer-main > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 25px;
  font-size: 12px;
  font-weight: 750;
}

.site-footer nav a:hover {
  color: #ffffff;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

@media (max-width: 1240px) {
  .site-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(330px, 0.72fr) minmax(620px, 1.28fr);
    gap: 34px;
  }

  h1 {
    font-size: 56px;
  }

  .workspace-layout {
    grid-template-columns: 54px minmax(0, 1fr) 188px;
  }

  .workspace-main {
    padding: 16px;
  }

  .floating-signal {
    display: none;
  }
}

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

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu > summary {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu > summary::before,
  .mobile-menu > summary::after,
  .mobile-menu > summary span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .mobile-menu > summary::before,
  .mobile-menu > summary::after {
    content: "";
  }

  .mobile-menu > summary::before { transform: translateY(-6px); }
  .mobile-menu > summary::after { transform: translateY(6px); }

  .mobile-menu[open] > summary span { opacity: 0; }
  .mobile-menu[open] > summary::before { transform: rotate(45deg); }
  .mobile-menu[open] > summary::after { transform: rotate(-45deg); }

  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: 220px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(10, 32, 57, 0.16);
  }

  .mobile-menu nav a {
    min-height: 43px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid #edf1f3;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-menu nav a:last-child {
    margin-top: 6px;
    border-bottom: 0;
    border-radius: 5px;
    color: #ffffff;
    background: var(--blue);
  }

  .hero {
    padding-top: 64px;
  }

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

  .hero-copy {
    max-width: 760px;
    padding-bottom: 16px;
  }

  .agent-stage {
    width: 100%;
  }

  .workspace-window {
    height: 610px;
  }

  .proof-bar {
    margin-top: 18px;
  }

  .agent-loop,
  .capability-header,
  .foundation-grid,
  .about {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .loop-intro,
  .capability-header > div,
  .foundation-intro,
  .about-copy {
    max-width: 760px;
  }

  .capability-row {
    grid-template-columns: 42px minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  }

  .capability-output {
    grid-column: 2 / -1;
    margin: -12px 0 22px;
  }

  .foundation-quote {
    margin-top: 40px;
  }

  .about-mark {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .brand-product {
    display: none;
  }

  .hero {
    padding: 44px 18px 0;
  }

  .hero::before {
    width: 58%;
    height: 4px;
  }

  h1 {
    font-size: 44px;
  }

  h1 span {
    font-size: 18px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-note {
    align-items: flex-start;
  }

  .agent-stage {
    padding-bottom: 23px;
  }

  .workspace-window {
    height: 492px;
  }

  .workspace-layout {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .workspace-activity {
    display: none;
  }

  .workspace-main {
    padding: 14px;
  }

  .task-row {
    min-height: 49px;
  }

  .task-row p {
    display: none;
  }

  .insight-card {
    min-height: 96px;
  }

  .proof-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-right: -18px;
    margin-left: -18px;
  }

  .proof-bar div {
    min-height: 94px;
    border-bottom: 1px solid #d7e2e5;
  }

  .proof-bar div:nth-child(2) {
    border-right: 0;
  }

  .proof-bar div:nth-child(n + 3) {
    border-bottom: 0;
  }

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

  .agent-loop,
  .capabilities,
  .foundation,
  .about {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .loop-intro h2,
  .capability-header h2,
  .foundation-intro h2,
  .about-copy h2,
  .contact h2 {
    font-size: 34px;
  }

  .loop-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-flow div {
    min-height: 150px;
  }

  .capability-header {
    margin-bottom: 40px;
  }

  .capability-header > p {
    font-size: 15px;
  }

  .capability-row {
    grid-template-columns: 34px 1fr;
    gap: 16px;
    padding: 26px 0;
  }

  .capability-name {
    grid-column: 2;
  }

  .capability-row > p,
  .capability-output {
    grid-column: 2;
  }

  .capability-row > p {
    margin-top: -4px;
  }

  .capability-output {
    margin: 0;
  }

  .scenario-ribbon {
    justify-content: flex-start;
    margin-right: -18px;
    margin-left: -18px;
    padding: 0 18px;
    overflow-x: auto;
  }

  .foundation-stack article {
    grid-template-columns: 74px 1fr;
    gap: 12px;
  }

  .foundation-stack article > p {
    grid-column: 2;
  }

  .about {
    gap: 36px;
  }

  .about-mark {
    min-height: 180px;
    font-size: 62px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 64px;
    padding: 38px 28px;
  }

  .button-light {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 34px;
    height: 23px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero {
    padding-top: 38px;
  }

  .product-kicker {
    margin-bottom: 16px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 40px;
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: 15px;
  }

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

  .button {
    min-height: 45px;
    padding: 0 12px;
    font-size: 12px;
  }

  .button::after {
    display: none;
  }

  .hero-note {
    font-size: 11px;
  }

  .agent-stage {
    margin-top: 8px;
    padding-top: 29px;
  }

  .stage-label {
    right: 0;
    left: 0;
  }

  .workspace-window {
    height: 402px;
  }

  .workspace-chrome {
    height: 39px;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    padding: 0 8px;
  }

  .workspace-layout {
    height: calc(100% - 39px);
    display: block;
  }

  .workspace-rail {
    display: none;
  }

  .workspace-main {
    height: 100%;
    padding: 11px;
  }

  .workspace-heading {
    margin-bottom: 8px;
  }

  .workspace-heading h2 {
    font-size: 15px;
  }

  .context-chip {
    display: none !important;
  }

  .command-box {
    grid-template-columns: 28px 1fr;
    gap: 7px;
    padding: 9px;
  }

  .command-avatar {
    width: 28px;
    height: 28px;
  }

  .command-copy b {
    font-size: 9px;
  }

  .command-run {
    grid-column: 2;
    justify-self: start;
    min-width: 51px;
    min-height: 24px;
  }

  .task-progress {
    margin-top: 8px;
    padding: 8px 9px;
  }

  .task-row {
    min-height: 36px;
  }

  .task-row:nth-of-type(2),
  .task-row:nth-of-type(4) {
    display: none;
  }

  .task-number {
    width: 22px;
    height: 22px;
  }

  .insight-card {
    min-height: 79px;
    margin-top: 8px;
    padding: 9px;
  }

  .insight-score {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-width: 6px;
  }

  .insight-score span {
    font-size: 16px;
  }

  .insight-card b {
    font-size: 10px;
  }

  .insight-card p {
    display: none;
  }

  .proof-bar b {
    font-size: 20px;
  }

  .proof-bar span {
    font-size: 10px;
  }

  .loop-flow {
    gap: 0 16px;
  }

  .loop-flow div {
    min-height: 138px;
  }

  .foundation-grid {
    gap: 44px;
  }

  .foundation-quote {
    margin-top: 34px;
  }

  .foundation-stack article {
    grid-template-columns: 62px 1fr;
    min-height: 124px;
  }

  .contact {
    width: calc(100% - 24px);
    padding: 32px 22px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* Official navigation, real product gallery and KNX directory footer */
.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 30px;
}

.desktop-nav {
  justify-content: center;
  gap: 25px;
  min-width: 0;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  white-space: nowrap;
}

.header-phone,
.header-login {
  color: #667589;
  font-size: 12px;
  font-weight: 750;
  transition: color 180ms ease;
}

.header-phone:hover,
.header-login:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-trigger::before {
  content: "";
  width: 6px;
  height: 6px;
  order: 2;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-trigger::before {
  transform: translateY(2px) rotate(225deg);
}

.nav-mega {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 60;
  display: grid;
  gap: 28px;
  width: max-content;
  max-width: min(760px, calc(100vw - 48px));
  padding: 27px 30px 29px;
  border: 1px solid #dce4e9;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 54px rgba(10, 32, 57, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-products {
  grid-template-columns: repeat(4, minmax(125px, 1fr));
}

.nav-solutions {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
}

.nav-dropdown.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-mega div {
  min-width: 0;
}

.nav-mega b {
  display: block;
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e7ecef;
  color: var(--ink);
  font-size: 12px;
}

.nav-mega a {
  display: block;
  padding: 6px 0;
  color: #657387;
  font-size: 12px;
  font-weight: 650;
}

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

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

.product-gallery {
  padding-bottom: 40px;
}

.gallery-frame {
  position: relative;
  border: 1px solid #cad6dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-chrome {
  height: 44px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid #e1e7eb;
  color: #8995a2;
  background: #f7f9fa;
  font-size: 10px;
}

.gallery-chrome > span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-chrome > b {
  color: #536276;
  font-size: 10px;
}

.gallery-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef3f5;
  overflow: hidden;
}

.product-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: none;
  animation: none;
}

.product-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.product-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.kernnex-video-slide {
  background: #edf3f7;
}

.kernnex-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #edf3f7;
}

.maiduo-video-slide {
  background: #edf3f7;
}

.maiduo-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #edf3f7;
}

.paytax-video-slide {
  background: #edf3f7;
}

.paytax-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #edf3f7;
}

.corehr-video-slide {
  background: #edf3f7;
}

.corehr-video-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #edf3f7;
}

.corehr-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.corehr-demo-video.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.corehr-video-switcher {
  position: absolute;
  right: 50%;
  bottom: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  padding: 4px;
  border: 1px solid rgba(162, 178, 190, 0.72);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 24px rgba(21, 43, 64, 0.16);
  backdrop-filter: blur(10px);
  transform: translateX(50%);
}

.corehr-video-switcher button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  color: #647387;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.corehr-video-switcher button:hover {
  color: var(--ink);
}

.corehr-video-switcher button.is-active {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 119, 204, 0.24);
}

.product-placeholder-slide {
  display: grid;
  place-items: center;
  background: #ffffff;
}

.product-placeholder {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 32px;
  color: #7c8996;
  text-align: center;
}

.product-placeholder::before {
  content: "";
  width: 34px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--cyan);
}

.product-placeholder span,
.product-placeholder b,
.product-placeholder small {
  display: block;
}

.product-placeholder span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.product-placeholder b {
  margin-top: 12px;
  color: var(--ink);
  font-size: 25px;
}

.product-placeholder small {
  margin-top: 10px;
  color: #8a96a2;
  font-size: 12px;
}

.product-placeholder-blank {
  opacity: 0.72;
}

.product-slide figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(7, 21, 36, 0.84);
  box-shadow: 0 10px 30px rgba(7, 21, 36, 0.18);
  backdrop-filter: blur(9px);
}

.product-slide figcaption > span {
  color: #7ddce6;
  font-size: 11px;
  font-weight: 900;
}

.product-slide figcaption div {
  min-width: 0;
}

.product-slide figcaption b,
.product-slide figcaption small {
  display: block;
}

.product-slide figcaption b {
  font-size: 13px;
}

.product-slide figcaption small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 10px;
  line-height: 1.45;
}

.gallery-arrow {
  position: absolute;
  top: calc(50% + 22px);
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(7, 21, 36, 0.72);
  box-shadow: 0 7px 20px rgba(7, 21, 36, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-arrow:hover {
  color: var(--ink);
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow:focus-visible,
.gallery-tabs button:focus-visible,
.corehr-video-switcher button:focus-visible {
  outline: 3px solid rgba(0, 167, 196, 0.34);
  outline-offset: 3px;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  border-top: 1px solid #ccd8dd;
  border-bottom: 1px solid #ccd8dd;
}

.gallery-tabs button {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-right: 1px solid #d9e2e6;
  color: #6c7989;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

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

.gallery-tabs button span {
  margin-right: 7px;
  color: #9aa5af;
  font-size: 9px;
}

.gallery-tabs button:hover,
.gallery-tabs button.is-active {
  color: var(--ink);
  background: #ffffff;
}

.gallery-tabs button.is-active {
  box-shadow: inset 0 3px 0 var(--cyan);
}

.official-footer {
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 25px;
  color: #c5d0db;
  background: #111724;
}

.official-footer-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.official-footer-logo {
  width: 170px;
  display: block;
  margin-bottom: 38px;
}

.official-footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-directory {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.72fr 0.72fr 0.95fr;
  gap: 42px;
  padding-bottom: 40px;
}

.footer-directory section {
  min-width: 0;
}

.footer-directory h3 {
  margin: 0 0 19px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
}

.footer-column > a,
.footer-link-grid a {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 5px 0;
  color: #bfccda;
  font-size: 11px;
  line-height: 1.45;
  transition: color 180ms ease;
}

.footer-column > a:hover,
.footer-link-grid a:hover,
.footer-legal a:hover,
.footer-column > a:focus-visible,
.footer-link-grid a:focus-visible,
.footer-legal a:focus-visible {
  color: #69b9ff;
}

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

.footer-service {
  padding-left: 7px;
}

.footer-phone {
  display: block;
  margin: -4px 0 17px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 850;
  transition: color 180ms ease;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  color: #69b9ff;
}

.footer-service img {
  width: 92px;
  height: 92px;
  display: block;
  border: 5px solid #ffffff;
  background: #ffffff;
}

.footer-service span {
  display: block;
  margin-top: 9px;
  color: #b2c1cf;
  font-size: 10px;
  line-height: 1.55;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #adbdcc;
  font-size: 10px;
}

.footer-certifications span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-certifications span::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.footer-product-logos {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 28px 0 26px;
}

.footer-product-logos a {
  min-width: 0;
  min-height: 40px;
  display: grid;
  place-items: center;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.footer-product-logos a:hover {
  opacity: 1;
}

.footer-product-logos img {
  width: 100%;
  max-width: 88px;
  max-height: 34px;
  display: block;
  object-fit: contain;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9baca;
  font-size: 9px;
  text-align: center;
}

.footer-legal a {
  transition: color 180ms ease;
}

@media (max-width: 1240px) {
  .site-header {
    gap: 22px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .header-phone {
    display: none;
  }

  .footer-directory {
    gap: 30px;
  }
}

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

  .desktop-nav,
  .header-tools {
    display: none;
  }

  .mobile-menu > summary {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu nav {
    width: min(340px, calc(100vw - 36px));
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }

  .mobile-submenu {
    border-bottom: 1px solid #edf1f3;
  }

  .mobile-submenu > summary {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    color: var(--ink);
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-submenu > summary::before {
    display: none;
  }

  .mobile-submenu > summary::after {
    content: "+";
    position: static;
    width: auto;
    height: auto;
    color: var(--cyan);
    background: transparent;
    font-size: 17px;
    transform: none;
  }

  .mobile-submenu[open] > summary::after {
    content: "−";
    transform: none;
  }

  .mobile-submenu a {
    min-height: 37px !important;
    padding-left: 24px !important;
    color: #6d7a8b;
    background: #f8fafb;
    font-size: 12px !important;
    font-weight: 650 !important;
  }

  .mobile-menu nav .mobile-submenu a:last-child {
    margin-top: 0;
    border-bottom: 1px solid #edf1f3;
    border-radius: 0;
    color: #6d7a8b;
    background: #f8fafb;
  }

  .footer-products,
  .footer-solutions,
  .footer-about {
    display: none;
  }

  .capability-domain {
    grid-template-columns: 42px minmax(220px, 0.78fr) minmax(0, 1.22fr);
    gap: 18px 24px;
    padding: 28px 0;
  }

  .domain-products {
    grid-column: 2 / -1;
    margin-top: -7px;
  }

  .client-trust-header {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .client-trust-copy {
    max-width: 720px;
  }

  .client-logo-item {
    width: 154px;
    height: 97px;
    flex-basis: 154px;
  }

  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 46px;
  }

  .footer-service {
    padding-left: 0;
  }

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

@media (max-width: 760px) {
  .header-logo {
    width: 156px;
  }

  .gallery-chrome {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .gallery-chrome > b {
    display: none;
  }

  .product-slide figcaption {
    right: 9px;
    bottom: 9px;
    left: 9px;
    min-height: 48px;
    padding: 8px 10px;
  }

  .product-slide figcaption small {
    display: none;
  }

  .gallery-arrow {
    top: calc(50% + 20px);
    width: 34px;
    height: 34px;
  }

  .gallery-prev {
    left: 9px;
  }

  .gallery-next {
    right: 9px;
  }

  .gallery-tabs button {
    height: 48px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 1.25;
  }

  .gallery-tabs button span {
    display: none;
  }

  .corehr-video-switcher {
    bottom: 8px;
    grid-template-columns: repeat(2, minmax(76px, 1fr));
  }

  .corehr-video-switcher button {
    min-height: 30px;
    padding: 0 9px;
    font-size: 10px;
  }

  .capability-domain {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px 16px;
    min-height: 0;
    padding: 27px 0;
  }

  .domain-heading,
  .domain-agent-work,
  .domain-products {
    grid-column: 2;
  }

  .domain-heading h3 {
    font-size: 20px;
  }

  .domain-agent-work p {
    margin-top: 7px;
    font-size: 12px;
  }

  .domain-products {
    gap: 7px;
    margin-top: 1px;
  }

  .domain-products li {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .capability-continuity {
    justify-content: flex-start;
    padding: 0 6px;
    text-align: left;
  }

  .client-trust {
    padding: 82px 0 76px;
  }

  .client-trust-header h2 {
    font-size: 34px;
  }

  .client-trust-copy p {
    font-size: 14px;
  }

  .client-logo-wall {
    gap: 10px;
    margin-top: 38px;
  }

  .client-logo-set {
    gap: 10px;
    padding-right: 10px;
  }

  .client-logo-item {
    width: 132px;
    height: 84px;
    flex-basis: 132px;
  }

  .row-one .client-logo-track { animation-duration: 64s; }
  .row-two .client-logo-track { animation-duration: 72s; }
  .row-three .client-logo-track { animation-duration: 68s; }

  .official-footer {
    padding: 46px 18px 24px;
  }

  .official-footer-logo {
    width: 150px;
    margin-bottom: 32px;
  }

  .footer-directory {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-link-grid {
    gap: 28px;
  }

  .footer-product-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .footer-product-logos img {
    max-width: 82px;
  }

  .footer-legal {
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-logo {
    width: 146px;
  }

  .product-gallery {
    padding-bottom: 30px;
  }

  .gallery-chrome {
    height: 38px;
  }

  .gallery-arrow {
    top: calc(50% + 18px);
  }

  .product-slide figcaption {
    min-height: 40px;
  }

  .product-slide figcaption b {
    font-size: 10px;
  }

  .client-logo-item {
    width: 122px;
    height: 77px;
    flex-basis: 122px;
  }

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