.swatch-101a20 { background: #101a20; }
.swatch-153039 { background: #153039; }
.swatch-efa96c { background: #efa96c; }
.swatch-eaf1eb { background: #eaf1eb; }
.swatch-7dd8ca { background: #7dd8ca; }

[data-design="command"] {
  --ink: #101a20;
  --dark-text: #eaf4f2;
  --copper: #7dd8ca;
  --line: #284247;
  --command-base: #0b161c;
  --command-panel: #0c1b22;
  --command-quiet: #b5c8ca;
  --command-rule: #355052;
  --command-paper: #eaf1eb;
  --command-denied: #f5b4a7;
}
.site-header { background: var(--ink); border-color: var(--line); }
[data-design="command"] .button-primary:hover { background: #a0e6da; }
[data-design="command"] .button-outline { border-color: #587478; }
[data-design="command"] .button-outline:hover { border-color: var(--copper); }

.command-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--command-base);
}
.command-backdrop, .command-backdrop::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.command-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}
.command-backdrop::after {
  z-index: 0;
  content: "";
  background: linear-gradient(90deg, #0b161c 4%, #0b161cf5 30%, #0b161cb0 56%, #0b161c42 100%),
              linear-gradient(0deg, #0b161c 0%, transparent 32%);
}
.command-layout {
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  gap: clamp(1.8rem, 4.3vw, 5rem);
  min-height: clamp(36rem, 49vw, 46rem);
  padding-block: clamp(4.5rem, 8vw, 8rem) clamp(4rem, 7vw, 7rem);
  align-items: center;
}
.command-copy { min-width: 0; }
.command-copy .eyebrow { color: var(--command-quiet); margin-bottom: clamp(1.1rem, 2.5vw, 2rem); }
.command-copy h1 {
  width: max-content;
  max-width: 100%;
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  font-weight: 620;
  letter-spacing: -.082em;
  line-height: .99;
}
.hero-accent { display: block; color: var(--copper); }
.command-intro {
  max-width: 27rem;
  margin-top: 1.5rem;
  color: var(--command-quiet);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.decision-demo {
  min-width: 0;
  margin-top: clamp(1rem, 4.5vw, 4rem);
  background: #0c1b22f7;
  border: 1px solid var(--command-rule);
  border-radius: .55rem;
  box-shadow: 0 28px 85px #02090ba8, 0 1px 0 #7dd8ca20 inset;
  scroll-margin-top: 2rem;
}
.demo-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 3.6rem;
  padding: .65rem 1.2rem;
  border-bottom: 1px solid var(--command-rule);
}
.demo-header h2 { font-size: 1.02rem; font-weight: 640; }
.demo-tag {
  margin-left: auto;
  font: .75rem/1.35 var(--mono);
  color: var(--command-quiet);
}
.demo-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-controls button {
  min-height: 3.1rem;
  padding: .55rem .3rem;
  border: 0;
  border-bottom: 1px solid var(--command-rule);
  background: #112129;
  font-size: .875rem;
  line-height: 1.25;
  color: var(--command-quiet);
  transition: background .2s, color .2s;
}
.demo-controls button + button { border-left: 1px solid var(--command-rule); }
.demo-controls button:hover { background: #1b333a; color: var(--dark-text); }
.demo-controls button[aria-pressed="true"] {
  background: #1a3339;
  color: var(--dark-text);
  box-shadow: inset 0 -2px var(--copper);
}
.demo-controls button:focus-visible { outline-offset: -4px; position: relative; z-index: 1; }
.demo-main {
  --decision: var(--copper);
  padding: 1.4rem 1.2rem 1rem;
}
.demo-main[data-decision="denied"] { --decision: var(--command-denied); }
.demo-flow {
  display: grid;
  grid-template-columns: 1fr 1.12fr .75fr;
  gap: .8rem;
  align-items: stretch;
}
.demo-flow > div {
  position: relative;
  min-height: 5.3rem;
  min-width: 0;
  padding: .62rem .65rem;
  border: 1px solid var(--command-rule);
  background: var(--command-panel);
  border-radius: .3rem;
}
.demo-flow > div:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(.8rem + 2px);
  height: 1px;
  background: var(--copper);
  content: "";
  opacity: .62;
}
.demo-flow > div:last-child {
  border-color: var(--decision);
  background: color-mix(in srgb, var(--decision) 12%, var(--command-panel));
  color: var(--decision);
}
.demo-flow dt, .demo-scope > span {
  color: var(--command-quiet);
  font: .75rem/1.2 var(--mono);
}
.demo-flow dd {
  margin-top: .4rem;
  font-size: .94rem;
  line-height: 1.24;
  font-weight: 570;
  overflow-wrap: anywhere;
}
.demo-flow > div:last-child dd { font-weight: 680; }
.demo-scope {
  display: grid;
  grid-template-columns: minmax(3.5rem, .26fr) 1fr;
  align-items: start;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--command-rule);
}
.demo-scope > span { padding-top: .25rem; }
.demo-scope p { font-size: .9rem; line-height: 1.4; }
.demo-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 3.15rem;
  padding: .45rem 1.2rem .55rem;
  border-top: 1px solid var(--command-rule);
  font-size: .875rem;
  color: var(--command-quiet);
  cursor: pointer;
}
.demo-switch input {
  position: absolute;
  opacity: 0;
  width: 2rem;
  height: 1.2rem;
  margin: 0;
}
.switch-track {
  flex: none;
  width: 2rem;
  height: 1.18rem;
  padding: 2px;
  border: 1px solid #67878b;
  border-radius: 2rem;
  background: #152830;
}
.switch-track::before {
  display: block;
  height: .76rem;
  width: .76rem;
  border-radius: 50%;
  background: var(--command-quiet);
  content: "";
  transition: transform .23s ease, background .23s ease;
}
.demo-switch input:checked + .switch-track { border-color: var(--command-denied); }
.demo-switch input:checked + .switch-track::before { background: var(--command-denied); transform: translateX(.8rem); }
.demo-switch input:focus-visible + .switch-track { outline: 2px solid var(--copper); outline-offset: 4px; }
@keyframes follow-request {
  from { transform: scaleX(.15); opacity: .2; }
  to { transform: scaleX(1); opacity: .62; }
}
@keyframes replay-request {
  from { transform: scaleX(.15); opacity: .2; }
  to { transform: scaleX(1); opacity: .62; }
}
@keyframes confirm-decision {
  from { box-shadow: inset 0 0 0 2px var(--decision); }
  to { box-shadow: inset 0 0 0 0 transparent; }
}
@keyframes replay-decision {
  from { box-shadow: inset 0 0 0 2px var(--decision); }
  to { box-shadow: inset 0 0 0 0 transparent; }
}
[data-response="a"] .demo-flow > div::after { transform-origin: left; animation: follow-request .32s ease-out both; }
[data-response="b"] .demo-flow > div::after { transform-origin: left; animation: replay-request .32s ease-out both; }
[data-response="a"] .demo-flow > div:nth-child(2)::after, [data-response="b"] .demo-flow > div:nth-child(2)::after { animation-delay: .10s; }
[data-response="a"] .demo-flow > div:last-child { animation: confirm-decision .5s .13s ease-out both; }
[data-response="b"] .demo-flow > div:last-child { animation: replay-decision .5s .13s ease-out both; }

.pillar-band { background: #14272e; border-color: #2d474a; }
.pillar-grid a { border-color: #2d474a; transition: background .2s; }
.pillar-grid a:hover { background: #1a3439; }
.platform { background: #153039; }
.underlink { border-color: #74b6ae; }
.underlink:hover { color: #c8f5eb; }
.command-summary h3 { font-size: 1rem; font-weight: 560; margin-bottom: 1rem; color: var(--command-quiet); }
.platform-layers { border-top: 1px solid #507075; }
.platform-layers > div {
  display: grid;
  grid-template-columns: minmax(5rem, .38fr) 1fr;
  gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid #507075;
}
.platform-layers dt { font: .8rem/1.5 var(--mono); color: var(--copper); }
.platform-layers dd { line-height: 1.45; }
.products { background: var(--command-paper); }
.products-top .eyebrow-line { border-color: #20594f; }
.products :focus-visible { outline-color: #20594f; }
.filters button { border-color: #a2bab3; }
.filters button:hover { border-color: #20594f; color: #20594f; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-color: #bdccca; }
.product-card { min-height: 10.35rem; border-color: #bdccca; }
.product-card:hover { background: #d9eae2; }
.product-card .glyph, .product-card .card-open { color: #20594f; }
.product-card .card-open { border-color: #729e94; }
.company, .site-footer { background: var(--ink); }
.company-mark { border-color: var(--command-rule); background-color: var(--command-panel); }
.product-dialog { background: var(--command-panel); border-color: var(--command-rule); }
.brand-hero, .brand-rules { background: #14272e; }

@media (width <= 960px) {
  .command-layout { grid-template-columns: .85fr 1.15fr; }
  .command-copy h1 { font-size: clamp(2.25rem, 4.8vw, 3.8rem); }
  .demo-flow { gap: .5rem; }
  .demo-flow > div:not(:last-child)::after { width: calc(.5rem + 2px); }
  .demo-flow > div { padding-inline: .45rem; }
  .demo-main, .demo-header, .demo-switch { padding-inline: .85rem; }
}
@media (width <= 850px) {
  .command-layout { grid-template-columns: 1fr; gap: 2.2rem; padding-block: 3.55rem 2.6rem; }
  .command-copy h1 { font-size: clamp(2.75rem, 9.6vw, 5rem); }
  .command-intro { margin-top: 1.15rem; }
  .decision-demo { margin-top: 0; }
  .command-backdrop img { object-position: 64% 50%; }
  .command-backdrop::after { background: linear-gradient(90deg, #0b161cf5, #0b161c79), linear-gradient(0deg, #0b161c, transparent 85%); }
  .demo-flow { grid-template-columns: 1fr 1.06fr .82fr; }
}
@media (width <= 355px) {
  .command-copy h1 { font-size: clamp(2.2rem, 10.6vw, 2.6rem); }
  .demo-flow dd { font-size: .83rem; }
  .demo-tag { font-size: .69rem; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-flow > div, .demo-flow > div::after { animation: none !important; }
}
