.service-panel-preview__footer svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}
.service-panel-preview__footer a:hover svg { transform: translateX(3px); }
.service-panel-preview__close:focus-visible,
.service-panel-preview__footer a:focus-visible { outline: 2px solid #1e1e1f; outline-offset: 4px; }

.service-panel-preview[hidden] { display: none !important; }
.service-panel-preview {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  font-family: Geist, system-ui, sans-serif;
}
.service-panel-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 31, .56);
  opacity: 0;
  transition: opacity 320ms ease;
}
.service-panel-preview__sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  color: #333;
  box-shadow: -22px 0 64px rgba(0, 0, 0, .14);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(.22, 1, .36, 1);
  outline: 0;
}
.service-panel-preview.is-open .service-panel-preview__backdrop { opacity: 1; }
.service-panel-preview.is-open .service-panel-preview__sheet { transform: translateX(0); }
.service-panel-preview__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  min-height: 76px;
  padding: 15px 34px;
  border-bottom: 1px solid #e2e2e2;
}
.service-panel-preview__eyebrow,
.service-panel-preview__footer > span {
  color: #6e6e6e;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .03em;
}
.service-panel-preview__close {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #e2e2e2;
  background: #fff;
  color: #1e1e1f;
  cursor: pointer;
  transition: background-color 180ms ease;
}
.service-panel-preview__close:hover { background: #f2f2f2; }
.service-panel-preview__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.service-panel-preview__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 42px 46px;
}
.service-panel-preview__intro { padding-top: 52px; }
.service-panel-preview__intro h2 {
  max-width: 510px;
  margin: 18px 0 20px;
  color: #1e1e1f;
  font-size: clamp(36px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.service-panel-preview__intro p {
  max-width: 520px;
  margin: 0;
  color: #6e6e6e;
  font-size: 17px;
  line-height: 1.65;
}
.service-panel-preview__intro [data-panel-lead-more] { margin-top: 16px; }
.service-panel-preview [data-panel-lead-more][hidden],
.service-panel-preview [data-panel-chain][hidden],
.service-panel-preview [data-panel-closing][hidden],
.service-panel-preview [data-panel-note][hidden] { display: none !important; }
.service-panel-preview__example {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #1e1e1f;
}
.service-panel-preview__example h3 {
  margin: 18px 0 16px;
  color: #333;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.service-panel-preview__example p {
  margin: 0 0 24px;
  color: #6e6e6e;
  font-size: 15.5px;
  line-height: 1.7;
}
.service-panel-preview__chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  margin: 30px 0 28px;
}
.service-panel-preview__chain span {
  padding: 12px 0;
  border-top: 1px solid #e2e2e2;
  color: #333;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.5;
}
.service-panel-preview__illustrative {
  margin-top: 30px !important;
  color: #6e6e6e;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  letter-spacing: .02em;
}
.service-panel-preview__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 34px;
  border-top: 1px solid #e2e2e2;
  background: #fff;
}
.service-panel-preview__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  background: #1e1e1f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .service-panel-preview__sheet { width: 100%; }
  .service-panel-preview__header { min-height: 66px; padding: 12px 20px; }
  .service-panel-preview__scroll { padding: 0 24px 36px; }
  .service-panel-preview__intro { padding-top: 38px; }
  .service-panel-preview__intro h2 { font-size: 36px; }
  .service-panel-preview__intro p { font-size: 16px; }
  .service-panel-preview__example { margin-top: 38px; }
  .service-panel-preview__example h3 { font-size: 24px; }
  .service-panel-preview__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-panel-preview__footer { padding: 15px 20px; }
  .service-panel-preview__footer > span { display: none; }
  .service-panel-preview__footer a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .service-panel-preview__backdrop,
  .service-panel-preview__sheet,
  .service-panel-preview__footer svg { transition-duration: .01ms; }
}
