.command-section {
  color: var(--ink);
}
.command-section h1,
.command-section h2,
.command-section h3,
.command-section p {
  margin: 0;
}
.command-section .eyebrow,
.command-kicker {
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.command-section .eyebrow {
  margin-bottom: 22px;
}
.command-section h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.command-section h2 span,
.command-section h1 span {
  color: var(--purple);
}
.command-section .command-intro {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 720px;
}
.service-hero.command-hero {
  display: block;
  padding-block: 74px 34px;
}
.command-hero-copy {
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
}
.service-hero.command-hero h1 {
  max-width: none;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}
.command-hero .service-intro {
  max-width: 740px;
  margin: 26px auto 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted);
}
.command-hero .service-actions {
  justify-content: center;
  margin-top: 28px;
}
.command-screenshot {
  min-width: 0;
  margin: 0;
}
.command-hero .command-screenshot {
  margin-top: 46px;
}
.command-screen-frame {
  overflow: hidden;
  border: 1px solid #d9cce6;
  border-radius: 18px;
  background: #f7f6fa;
  box-shadow: 0 18px 54px -30px #49356455;
}
.command-screen-frame > img {
  width: 100%;
  height: auto;
  display: block;
}
.command-screenshot figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  padding: 12px 2px 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.command-enlarge {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font: inherit;
  color: var(--purple);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.command-enlarge[hidden] {
  display: none;
}
.service-outcomes.command-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  padding-block: 38px 54px;
  border-block: 0;
  border-bottom: 1px solid var(--line);
}
.command-outcomes > div + div {
  border-left: 1px solid var(--line);
  padding-left: 38px;
}
.command-outcomes h2 {
  margin-top: 12px;
  font-size: 1.2rem;
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.command-outcomes p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.service-story.command-analytics {
  display: block;
  border: 0;
  padding-block: 86px 80px;
}
.command-analytics-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}
.command-analytics-heading .command-intro {
  margin-top: 0;
}
.command-report-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 36px;
}
.command-report-points h3,
.command-steps h3 {
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.command-report-points p,
.command-steps p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 12px;
}
.command-section .command-small-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}
.service-flow.command-flow {
  padding-block: 74px 80px;
  background: #f1edf5;
}
.command-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 46px;
}
.command-steps article {
  border-top: 1px solid #cec0df;
  padding-top: 24px;
}
.command-steps h3 {
  margin-top: 14px;
}
.service-control.command-handover {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: center;
  padding-block: 90px;
  background: transparent;
  border: 0;
}
.command-handover h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
}
.command-handover-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.7;
}
.command-handover-list li {
  border-left: 2px solid #baa7d2;
  padding-left: 16px;
}
.service-faq.command-section {
  border-top: 1px solid var(--line);
}
.service-faq.command-section > div:first-child > p:last-child {
  margin-top: 24px;
}
.service-faq.command-section details p {
  margin-top: 14px;
}
.service-close.command-close {
  background: #5b417f;
  color: white;
  padding: 68px 0;
  border-radius: 0;
  margin: 0;
  text-align: left;
}
.command-close > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.command-close .eyebrow {
  color: #e6d9f5;
}
.command-close p:not(.eyebrow) {
  margin-top: 22px;
  color: #eee5f9;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.command-close .button {
  flex-shrink: 0;
  background: white;
  color: #5b417f;
}
.command-image-dialog {
  width: min(1500px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
.command-image-dialog::backdrop {
  background: #251d38bb;
}
.command-image-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.command-image-toolbar h2 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.command-image-toolbar p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 4px;
}
.command-image-close {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--purple);
  background: #f1edf5;
  border: 1px solid #d9cce6;
  border-radius: 7px;
  padding: 11px 16px;
  cursor: pointer;
}
.command-image-scroll {
  max-height: calc(100dvh - 140px);
  overflow: auto;
  overscroll-behavior: contain;
}
.command-image-scroll img {
  display: block;
  width: max(100%, 1200px);
  max-width: none;
  height: auto;
}
.command-section button:focus-visible,
.command-image-scroll:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
@media (max-width: 1000px) {
  .command-analytics-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .service-control.command-handover {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .command-handover-copy {
    max-width: 740px;
  }
  .command-steps,
  .command-report-points {
    gap: 26px;
  }
}
@media (max-width: 700px) {
  .service-hero.command-hero {
    padding-block: 44px 20px;
  }
  .command-hero-copy {
    text-align: left;
  }
  .command-hero .service-actions {
    justify-content: flex-start;
  }
  .command-hero .service-intro {
    font-size: 1rem;
  }
  .command-hero .command-screenshot {
    margin-top: 30px;
  }
  .command-screen-frame {
    border-radius: 10px;
  }
  .service-outcomes.command-outcomes,
  .command-report-points,
  .command-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .command-outcomes > div + div {
    border-left: 0;
    padding-left: 0;
  }
  .service-story.command-analytics,
  .service-control.command-handover {
    padding-block: 50px;
  }
  .service-flow.command-flow {
    padding-block: 48px;
  }
  .command-steps {
    margin-top: 30px;
  }
  .command-close > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .command-image-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 10px;
  }
  .command-image-toolbar {
    padding: 14px;
  }
}
