:root {
  --paper: #f3f8fb;
  --paper-deep: #e3edf3;
  --surface: #ffffff;
  --ink: #172630;
  --muted: #5b6a74;
  --line: rgba(23, 66, 92, 0.15);
  --brand: #2e95cc;
  --brand-deep: #17658f;
  --brand-pale: #dff2fc;
  --purple: #7452c8;
  --purple-deep: #4c3183;
  --purple-pale: #e9e1f8;
  --blue: #2e95cc;
  --green: #2e7a5e;
  --green-pale: #e0f1e7;
  --orange: #d9793f;
  --red: #ba4c3c;
  --page: min(1120px, calc(100vw - 44px));
  --radius: 20px;
  --shadow: 0 24px 70px rgba(23, 77, 109, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.showcase-lightbox-open {
  overflow: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% -8%, rgba(46, 149, 204, 0.16), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

p,
h1,
h2,
h3 {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 248, 251, 0.88);
  box-shadow: 0 8px 28px rgba(23, 77, 109, 0.06);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.brand img,
.final-cta img {
  border-radius: 9px;
  box-shadow: 0 5px 16px rgba(27, 112, 158, 0.24);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 630;
}

nav a:hover,
footer > a:hover {
  color: var(--brand-deep);
}

.button {
  min-height: 49px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--brand-deep);
  border-radius: 11px;
  background: var(--brand-deep);
  color: white;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 7px 0 rgba(23, 101, 143, 0.16);
  transition:
    transform 150ms ease,
    background 150ms ease;
}

.button:hover {
  background: #104f72;
  transform: translateY(-2px);
}

.button:focus-visible,
nav a:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: 4px;
}

.button-small {
  justify-self: end;
  min-height: 38px;
  padding: 0 15px;
  box-shadow: none;
  font-size: 13px;
}

.hero {
  width: min(1320px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 82px 0 45px;
}

section[id] {
  scroll-margin-top: 78px;
}

#tour {
  scroll-margin-top: 78px;
}

.hero-copy {
  width: var(--page);
  margin: 0 auto;
}

.eyebrow,
.side-label span {
  margin: 0;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 1060px;
  margin: 18px 0 0;
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.058em;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 770;
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-intro {
  max-width: 650px;
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-actions > span {
  color: var(--muted);
  font-size: 12px;
}

.hero-source-link {
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  text-underline-offset: 4px;
}

.hero-source-link:hover {
  text-decoration: underline;
}

.product-showcase {
  width: 100%;
  min-width: 0;
  margin: 68px auto 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.showcase-heading {
  min-height: 80px;
  padding: 3px 8px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.showcase-heading p,
.showcase-heading h2 {
  margin: 0;
}

.showcase-heading p {
  color: var(--brand-deep);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-heading h2 {
  margin-top: 3px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-controls > span {
  min-width: 65px;
  margin-right: 5px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.showcase-controls button {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.showcase-controls button:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  transform: translateY(-1px);
}

.showcase-slide {
  margin: 0;
}

.showcase-slide:focus {
  outline: none;
}

.showcase-slide:focus-visible {
  border-radius: 18px;
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: 4px;
}

.showcase-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  touch-action: pan-y;
}

.showcase-images.is-single {
  grid-template-columns: 1fr;
}

.showcase-image-panel {
  position: relative;
  min-width: 0;
}

.showcase-image-panel[hidden],
.showcase-images.is-single .showcase-image-panel > span {
  display: none;
}

.showcase-image-panel > span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 9px;
  border: 1px solid rgba(23, 66, 92, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.91);
  color: var(--brand-deep);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 5px 14px rgba(23, 77, 109, 0.1);
  backdrop-filter: blur(8px);
}

.showcase-image {
  aspect-ratio: 3216 / 2100;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.showcase-slide figcaption {
  min-height: 76px;
  padding: 17px 13px 4px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
}

.showcase-slide figcaption small {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-slide figcaption strong {
  font-size: 16px;
  line-height: 1.35;
}

.showcase-rail-wrap {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 13px;
  background: #edf3f7;
}

.showcase-rail {
  padding: 6px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(23, 101, 143, 0.28) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}

.showcase-rail button {
  width: 178px;
  min-width: 178px;
  min-height: 55px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  scroll-snap-align: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.showcase-rail button:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--brand-deep);
}

.showcase-rail button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--brand-deep);
}

.showcase-rail button > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 750;
}

.showcase-rail button strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-controls button:focus-visible,
.showcase-rail button:focus-visible {
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: 2px;
}

.product-showcase {
  width: 100vw;
  margin: 72px 0 0 calc(50% - 50vw);
  padding: 0;
  scroll-margin-top: 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.showcase-stage {
  position: relative;
  isolation: isolate;
  overflow: visible;
  touch-action: pan-y;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.34) 14%,
    rgba(255, 255, 255, 0.34) 72%,
    rgba(255, 255, 255, 0.16) 86%,
    transparent 100%
  );
}

.showcase-stage:focus {
  outline: none;
}

.showcase-stage:focus-visible {
  border-radius: 18px;
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: 4px;
}

.showcase-current {
  position: relative;
  z-index: 2;
  width: min(66vw, 1280px);
  margin: 0 auto;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  cursor: zoom-in !important;
  filter: drop-shadow(0 24px 32px rgba(23, 38, 48, 0.2));
  will-change: transform;
}

.showcase-current img {
  pointer-events: none;
  cursor: zoom-in !important;
}

.showcase-current:focus-visible {
  border-radius: 16px;
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: -3px;
}

.showcase-current img,
.showcase-peek img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-peek {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: min(68vw, 1220px);
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0.23;
  cursor: pointer;
  filter: saturate(0.46) contrast(0.92);
  will-change: transform;
  transition:
    opacity 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.showcase-previous {
  left: -9vw;
  transform: translateY(-50%) scale(0.94);
  transform-origin: right center;
}

.showcase-next {
  right: -9vw;
  transform: translateY(-50%) scale(0.94);
  transform-origin: left center;
}

.showcase-previous img {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 14%,
    #000 43%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 14%,
    #000 43%
  );
}

.showcase-next img {
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 14%,
    #000 43%
  );
  mask-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 14%,
    #000 43%
  );
}

.showcase-previous:hover,
.showcase-previous:focus-visible {
  opacity: 0.42;
  filter: saturate(0.74) contrast(0.96);
  transform: translate(12px, -50%) scale(0.96);
}

.showcase-next:hover,
.showcase-next:focus-visible {
  opacity: 0.42;
  filter: saturate(0.74) contrast(0.96);
  transform: translate(-12px, -50%) scale(0.96);
}

.showcase-peek:focus-visible {
  border-radius: 14px;
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: -3px;
}

.showcase-meta {
  width: var(--page);
  margin: 0 auto 20px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.showcase-copy {
  min-width: 0;
  display: block;
}

.showcase-copy > small {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-copy h2,
.showcase-copy p {
  margin: 0;
}

.showcase-copy > div {
  margin: 9px 0 0 62px;
}

.showcase-copy h2 {
  font-size: clamp(27px, 2.5vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.showcase-copy p {
  max-width: 760px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 16px;
}

.showcase-meta .showcase-controls {
  flex: 0 0 auto;
}

.showcase-meta .showcase-controls button {
  width: 39px;
  height: 39px;
  border-radius: 10px;
}

@keyframes showcase-from-right {
  from {
    transform: translateX(9%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes showcase-from-left {
  from {
    transform: translateX(-9%);
  }

  to {
    transform: translateX(0);
  }
}

.showcase-stage.is-moving-next .showcase-current {
  animation: showcase-from-right 360ms cubic-bezier(0.22, 0.8, 0.28, 1);
}

.showcase-stage.is-moving-previous .showcase-current {
  animation: showcase-from-left 360ms cubic-bezier(0.22, 0.8, 0.28, 1);
}

.showcase-lightbox {
  position: fixed;
  inset: 0;
  width: min(96vw, 1800px);
  max-width: none;
  max-height: 96vh;
  max-height: 96dvh;
  margin: auto;
  padding: 46px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 66, 92, 0.16);
  border-radius: 20px;
  background: rgba(243, 248, 251, 0.98);
  box-shadow: 0 35px 110px rgba(5, 18, 27, 0.42);
}

.showcase-lightbox::backdrop {
  background: rgba(6, 14, 20, 0.78);
  backdrop-filter: blur(8px);
}

.showcase-lightbox > img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(96vh - 96px);
  max-height: calc(96dvh - 96px);
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(23, 38, 48, 0.26));
}

.showcase-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 7px 20px rgba(23, 66, 92, 0.12);
}

.showcase-lightbox-close > span {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
}

.showcase-lightbox-close > span::before,
.showcase-lightbox-close > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.showcase-lightbox-close > span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.showcase-lightbox-close > span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.showcase-lightbox-close:hover {
  color: var(--brand-deep);
}

.showcase-lightbox-close:focus-visible {
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: 2px;
}

.showcase-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 66, 92, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(23, 66, 92, 0.2);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.showcase-lightbox-previous {
  left: 22px;
}

.showcase-lightbox-next {
  right: 22px;
}

.showcase-lightbox-nav:hover {
  color: var(--brand-deep);
  transform: translateY(-50%) scale(1.05);
}

.showcase-lightbox-nav:focus-visible {
  outline: 3px solid rgba(46, 149, 204, 0.48);
  outline-offset: 2px;
}

.delivery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #edf3f7;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.delivery-card-topbar {
  min-height: 45px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.delivery-card-topbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 720;
}

.delivery-card-topbar > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 122, 94, 0.12);
}

.delivery-card-topbar small {
  padding: 4px 7px;
  border-radius: 99px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 7px;
  font-weight: 700;
}

.delivery-card-body {
  padding: 19px;
  display: grid;
  gap: 11px;
}

.delivery-outcome {
  min-height: 58px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(76, 49, 131, 0.22);
  border-left: 4px solid var(--purple);
  border-radius: 9px;
  background: var(--surface);
}

.delivery-outcome small,
.delivery-outcome b {
  display: block;
}

.delivery-outcome small {
  color: var(--purple-deep);
  font-size: 7px;
  font-weight: 720;
}

.delivery-outcome b {
  margin-top: 2px;
  font-size: 11px;
}

.delivery-outcome > span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
}

.delivery-stages {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.delivery-stages > div {
  min-width: 0;
  text-align: center;
}

.delivery-stages > div span {
  width: 23px;
  height: 23px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 730;
}

.delivery-stages b {
  display: block;
  font-size: 7px;
}

.delivery-stages > i {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.delivery-parallel {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.delivery-parallel > small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 7px;
}

.delivery-parallel > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.delivery-parallel > div > span {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 7px;
}

.delivery-parallel i {
  width: 5px;
  height: 22px;
  border-radius: 99px;
  background: var(--blue);
}

.delivery-parallel i.purple {
  background: var(--purple);
}

.delivery-parallel b {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.delivery-proof {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.delivery-proof > div {
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(46, 122, 94, 0.23);
  border-radius: 9px;
  background: var(--green-pale);
}

.delivery-proof > div > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.delivery-proof p,
.delivery-proof b,
.delivery-proof small {
  display: block;
  margin: 0;
}

.delivery-proof b {
  font-size: 8px;
}

.delivery-proof small {
  color: var(--muted);
  font-size: 6px;
}

.delivery-proof button {
  min-width: 90px;
  border: 0;
  border-radius: 9px;
  background: var(--brand-deep);
  color: white;
  font: inherit;
  font-size: 10px;
  font-weight: 740;
}

.delivery-proof button span {
  margin-right: 5px;
  font-size: 7px;
}

.delivery-learning {
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px dashed rgba(76, 49, 131, 0.3);
  border-radius: 9px;
  background: rgba(232, 222, 250, 0.42);
}

.delivery-learning > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-size: 12px;
}

.delivery-learning b,
.delivery-learning small {
  display: block;
}

.delivery-learning b {
  font-size: 8px;
}

.delivery-learning small {
  color: var(--muted);
  font-size: 6px;
}

.window-bar {
  min-height: 45px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #e7eff4;
  font-size: 11px;
  font-weight: 690;
}

.window-bar small {
  justify-self: end;
  color: var(--muted);
}

.traffic-lights {
  display: flex;
  gap: 5px;
}

.traffic-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6058;
}

.traffic-lights i:nth-child(2) {
  background: #ffbd2d;
}

.traffic-lights i:nth-child(3) {
  background: #27c840;
}

.earlier-thread {
  position: relative;
  height: 70px;
  margin: -8px 0 1px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 52%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 52%, black 100%);
}

.ghost-message {
  width: 58%;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 4px 9px 9px 9px;
  background: #d7e2e8;
  opacity: 0.72;
}

.ghost-right {
  width: 46%;
  margin-left: auto;
  border-radius: 9px 4px 9px 9px;
  background: #c6dff0;
}

.ghost-short {
  width: 35%;
}

.earlier-thread span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  white-space: nowrap;
}

.earlier-thread span::before,
.earlier-thread span::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.message {
  max-width: 82%;
}

.message b,
.prompt b {
  display: block;
  margin: 0 0 4px 5px;
  color: var(--muted);
  font-size: 10px;
}

.message p,
.prompt p {
  margin: 0;
  padding: 11px 13px;
  border-radius: 6px 15px 15px 15px;
  background: #e9eff3;
  font-size: 13px;
}

.owner-message,
.prompt.owner {
  margin-left: auto;
}

.owner-message {
  text-align: right;
}

.owner-message p,
.prompt.owner p {
  border-radius: 15px 6px 15px 15px;
  background: var(--brand-deep);
  color: white;
  text-align: left;
}

.system-line {
  padding: 10px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(217, 121, 63, 0.34);
  border-radius: 9px;
  background: #fff2e8;
  color: #83441f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.system-line i {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(131, 68, 31, 0.22);
  border-top-color: #9c5429;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.orchestration-reframe {
  width: var(--page);
  margin: 0 auto;
  padding: 115px 0;
  border-bottom: 1px solid var(--line);
}

.orchestration-heading {
  max-width: 900px;
}

.orchestration-heading h2 {
  margin-top: 15px;
}

.orchestration-heading > p:last-child {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.orchestration-terminal {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid rgba(150, 197, 220, 0.2);
  border-radius: var(--radius);
  background: #0d171d;
  color: #d9e7ee;
  box-shadow: 0 28px 70px rgba(9, 25, 34, 0.24);
}

.orchestration-terminal-bar {
  min-height: 45px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(172, 211, 229, 0.14);
  background: #15242c;
}

.orchestration-terminal-bar > span {
  display: flex;
  gap: 6px;
}

.orchestration-terminal-bar i {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: #d66354;
}

.orchestration-terminal-bar i:nth-child(2) {
  background: #d8a13d;
}

.orchestration-terminal-bar i:nth-child(3) {
  background: #4b9f72;
}

.orchestration-terminal-bar code {
  color: rgba(217, 231, 238, 0.62);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.orchestration-terminal-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.orchestration-checklist {
  padding: 31px 34px;
  border-right: 1px solid rgba(172, 211, 229, 0.14);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.orchestration-checklist p {
  margin: 0;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  border-bottom: 1px solid rgba(172, 211, 229, 0.08);
  color: rgba(217, 231, 238, 0.78);
  font-size: 12px;
}

.orchestration-checklist p:last-child {
  border-bottom: 0;
}

.orchestration-checklist span {
  color: #66b9e4;
  font-size: 10px;
  font-weight: 750;
}

.gas-town-escalation {
  padding: 40px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 90% 0, rgba(116, 82, 200, 0.25), transparent 19rem),
    #101c23;
}

.gas-town-escalation small {
  color: #bca8ee;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gas-town-escalation p {
  margin: 17px 0 0;
  color: rgba(217, 231, 238, 0.76);
  font-size: 16px;
}

.gas-town-escalation code {
  padding: 2px 5px;
  border: 1px solid rgba(188, 168, 238, 0.22);
  border-radius: 5px;
  background: rgba(116, 82, 200, 0.18);
  color: #d8cbf6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82em;
}

.gas-town-escalation strong {
  margin-top: 25px;
  display: block;
  color: white;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.gas-town-source {
  width: max-content;
  margin-top: 19px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #bca8ee;
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
}

.gas-town-source:hover {
  color: #d8cbf6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gas-town-source:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(188, 168, 238, 0.52);
  outline-offset: 4px;
}

.orchestration-resolution {
  margin-top: 18px;
  padding: 31px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.42fr);
  align-items: end;
  gap: 44px;
  border: 1px solid rgba(46, 149, 204, 0.25);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 100%, rgba(46, 149, 204, 0.18), transparent 22rem),
    rgba(255, 255, 255, 0.76);
}

.orchestration-resolution h3 {
  max-width: 660px;
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 36px);
}

.orchestration-resolution div > p:last-child {
  max-width: 690px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.orchestration-resolution > strong {
  color: var(--brand-deep);
  font-size: 17px;
  line-height: 1.3;
  text-align: right;
}

.proof {
  width: var(--page);
  margin: 0 auto;
  padding: 115px 0;
  border-bottom: 1px solid var(--line);
}

.proof-compact {
  padding: 90px 0;
}

.proof-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  align-items: start;
}

.proof-heading > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.proof-heading > div > p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
}

.side {
  min-width: 0;
  padding: 28px;
  display: grid;
  grid-row: 1 / span 3;
  grid-template-rows: subgrid;
}

.side + .side {
  border-left: 1px solid var(--line);
}

.before {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(23, 38, 48, 0.016),
      rgba(23, 38, 48, 0.016) 8px,
      transparent 8px,
      transparent 16px
    ),
    rgba(255, 255, 255, 0.52);
}

.after {
  background: rgba(46, 149, 204, 0.09);
}

.side-label {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.prompt-stack,
.sprint-plan,
.demo-panel,
.git-flow {
  min-height: 430px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 66, 92, 0.08);
}

.prompt {
  max-width: 86%;
  margin-top: 17px;
}

.prompt:first-child {
  margin-top: 0;
}

.prompt code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.agent-runs {
  margin-top: 23px;
  display: grid;
  gap: 8px;
}

.agent-runs div {
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
}

.agent-runs i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.agent-runs code {
  color: var(--ink);
}

.oops {
  margin-top: 14px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(186, 76, 60, 0.28);
  border-radius: 9px;
  background: #fbe9e6;
}

.oops > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-weight: 800;
}

.oops b,
.oops small {
  display: block;
}

.oops b {
  font-size: 11px;
}

.oops small {
  color: var(--muted);
  font-size: 9px;
}

.punchline {
  min-height: 22px;
  margin: 19px 4px 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.punchline.good {
  color: var(--brand-deep);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 12px;
  font-weight: 690;
}

.plan-chat {
  min-height: 500px;
}

.plan-chat .prompt {
  margin-top: 12px;
}

.plan-chat .prompt:first-child {
  margin-top: 0;
}

.refinement-panel {
  min-height: 500px;
}

.refinement-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #edf3f7;
  box-shadow: 0 14px 34px rgba(23, 66, 92, 0.08);
}

.refinement-topbar {
  min-height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.refinement-topbar small,
.refinement-topbar b {
  display: block;
}

.refinement-topbar small {
  color: var(--muted);
  font-size: 7px;
}

.refinement-topbar b {
  margin-top: 2px;
  font-size: 11px;
}

.refinement-topbar > span {
  padding: 5px 8px;
  border-radius: 99px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-size: 7px;
  font-weight: 750;
}

.ba-questions {
  padding: 12px 14px;
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--line);
}

.ba-questions > div {
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 94px 1fr;
  column-gap: 9px;
  border: 1px solid rgba(76, 49, 131, 0.15);
  border-radius: 8px;
  background: rgba(232, 222, 250, 0.45);
}

.ba-questions span {
  grid-row: 1 / 3;
  color: var(--purple-deep);
  font-size: 7px;
  font-weight: 720;
}

.ba-questions b {
  font-size: 8px;
}

.ba-questions small {
  margin-top: 2px;
  color: var(--green);
  font-size: 7px;
  font-weight: 650;
}

.refinement-result {
  padding: 14px;
}

.epic-result {
  min-height: 54px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid rgba(76, 49, 131, 0.2);
  border-left: 4px solid var(--purple);
  border-radius: 9px;
  background: var(--surface);
}

.epic-result small,
.epic-result b {
  display: block;
}

.epic-result small {
  color: var(--purple-deep);
  font-size: 6px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.epic-result b {
  margin-top: 2px;
  font-size: 11px;
}

.epic-result > span {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--green);
  font-size: 7px;
  font-weight: 700;
}

.backlog-plan {
  position: relative;
  margin-top: 10px;
  padding-left: 13px;
  display: grid;
  gap: 5px;
}

.backlog-plan::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 4px;
  width: 1px;
  background: rgba(76, 49, 131, 0.28);
}

.backlog-ticket {
  position: relative;
  min-height: 38px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 25px 31px 1fr auto;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.backlog-ticket::before {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: -12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 3px #edf3f7;
}

.backlog-ticket em {
  padding: 3px 4px;
  border-radius: 4px;
  background: #f8e7dd;
  color: #8f4822;
  font-size: 6px;
  font-style: normal;
  font-weight: 780;
  text-align: center;
}

.backlog-ticket code {
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
}

.backlog-ticket > span {
  overflow: hidden;
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backlog-ticket > small {
  color: var(--muted);
  font-size: 6px;
}

.knowledge-capture {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(46, 122, 94, 0.24);
  border-radius: 9px;
  background: var(--green-pale);
}

.capture-title {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
}

.capture-title > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 10px;
  font-style: normal;
}

.capture-title small,
.capture-title b {
  display: block;
}

.capture-title small {
  color: var(--green);
  font-size: 6px;
  font-weight: 700;
}

.capture-title b {
  margin-top: 1px;
  font-size: 9px;
}

.capture-title > span {
  padding: 4px 6px;
  border-radius: 99px;
  background: rgba(46, 122, 94, 0.12);
  color: var(--green);
  font-size: 6px;
  font-weight: 750;
}

.sprint-plan {
  position: relative;
  background: #edf3f7;
}

.plan-header {
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.plan-header div small,
.plan-header div b {
  display: block;
}

.plan-header div small {
  color: var(--muted);
  font-size: 8px;
}

.plan-header div b {
  margin-top: 2px;
}

.plan-header > span {
  padding: 4px 7px;
  border-radius: 99px;
  background: #e8f2ff;
  color: var(--green);
  font-size: 8px;
  font-weight: 680;
}

.plan-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.plan-metrics > div {
  padding: 8px;
  border-radius: 8px;
  background: #f4f4f4;
}

.plan-metrics small,
.plan-metrics b {
  display: block;
}

.plan-metrics small {
  color: var(--muted);
  font-size: 7px;
}

.plan-metrics b {
  margin-top: 2px;
  font-size: 9px;
}

.wave {
  margin-top: 14px;
}

.wave > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wave-tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.ticket {
  min-height: 102px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 7px 15px rgba(23, 66, 92, 0.06);
}

.ticket.blue {
  border-left-color: #4e7ec7;
}

.ticket.orange {
  border-left-color: var(--orange);
}

.ticket small,
.ticket b,
.ticket em {
  display: block;
}

.ticket small {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.ticket b {
  margin-top: 5px;
  font-size: 11px;
}

.ticket em {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.join-lines {
  position: relative;
  height: 50px;
}

.join-lines i {
  position: absolute;
  background: rgba(23, 38, 48, 0.26);
}

.join-lines i:first-child {
  top: 0;
  left: 25%;
  width: 1px;
  height: 26px;
}

.join-lines i:nth-child(2) {
  top: 0;
  right: 25%;
  width: 1px;
  height: 26px;
}

.join-lines i:last-child {
  top: 25px;
  left: 25%;
  width: 50%;
  height: 1px;
}

.join-lines::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 50%;
  width: 1px;
  height: 25px;
  background: rgba(23, 38, 48, 0.26);
}

.wave-two {
  width: 65%;
  margin: 0 auto;
}

.demo-chat {
  min-height: 550px;
}

.terminal-line {
  margin-top: 15px;
  padding: 9px 10px;
  border: 1px solid rgba(217, 121, 63, 0.3);
  border-radius: 8px;
  background: #fff1e8;
  color: #7b4323;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.terminal-line span {
  margin-right: 8px;
  font-weight: 700;
}

.demo-panel {
  min-height: 550px;
  padding: 0;
  overflow: hidden;
}

.demo-status {
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #e7eff4;
  font-size: 10px;
  font-weight: 700;
}

.demo-status > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 122, 94, 0.12);
}

.demo-status code,
.revision code {
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.demo-body {
  padding: 27px;
}

.demo-body > small {
  color: var(--purple-deep);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-body h3 {
  margin-top: 8px;
}

.demo-body > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.demo-body ul {
  margin: 22px 0;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
  color: #4f4852;
  font-size: 9px;
}

.demo-body li span {
  margin-right: 5px;
  color: var(--green);
  font-weight: 800;
}

.revision {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.revision code {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--purple-pale);
}

.demo-body button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 9px;
  background: var(--brand-deep);
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 6px 0 rgba(76, 49, 131, 0.15);
}

.demo-body button span {
  margin-right: 6px;
  font-size: 9px;
}

.commit-chat {
  min-height: 500px;
}

.commit-summary {
  margin: 19px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.commit-summary div {
  min-height: 68px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.commit-summary span {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  font-weight: 780;
}

.git-flow {
  min-height: 500px;
  background: #edf3f7;
}

.git-ticketbar {
  min-height: 58px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.git-ticketbar small,
.git-ticketbar b {
  display: block;
}

.git-ticketbar small {
  color: var(--purple-deep);
  font-size: 8px;
}

.git-ticketbar b {
  margin-top: 2px;
  font-size: 11px;
}

.git-ticketbar > span {
  padding: 5px 7px;
  border-radius: 99px;
  background: #f0eaff;
  color: #6955d9;
  font-size: 8px;
  font-weight: 720;
}

.git-worklog {
  position: relative;
  padding: 15px;
  display: grid;
  gap: 7px;
}

.git-worklog::before {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 30px;
  width: 1px;
  background: var(--line);
}

.git-log-event {
  position: relative;
  z-index: 1;
  min-height: 67px;
  padding: 10px 10px 10px 45px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.git-log-event > i {
  position: absolute;
  top: 18px;
  left: 4px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ece9ff;
  color: #6655d8;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  box-shadow: 0 0 0 4px white;
}

.git-log-event small,
.git-log-event b,
.git-log-event span {
  display: block;
}

.git-log-event small,
.git-log-event span {
  color: var(--muted);
  font-size: 8px;
}

.git-log-event b {
  margin: 2px 0;
  font-size: 10px;
}

.git-log-event.review {
  border-color: rgba(255, 140, 51, 0.28);
  background: #fffaf5;
}

.git-log-event.review > i {
  background: #fff0df;
  color: #ef8427;
}

.git-log-event.final {
  border-color: rgba(44, 190, 92, 0.25);
  background: #f6fff8;
}

.git-log-event.final > i {
  background: #e4f9e9;
  color: #25a84f;
}

.git-candidate {
  margin: 0 15px 15px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: #eff7ff;
}

.git-candidate small,
.git-candidate code {
  display: block;
}

.git-candidate small,
.git-candidate > span {
  color: var(--muted);
  font-size: 8px;
}

.git-candidate code {
  margin-top: 2px;
  color: var(--brand-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
}

.evidence-chat,
.worklog-panel,
.recovery-chat,
.recovery-panel {
  min-height: 540px;
}

.recovery-chat,
.recovery-panel {
  min-height: 330px;
}

.agent-progress {
  min-height: 82px;
  padding: 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--green-pale);
}

.agent-progress span,
.agent-progress small {
  display: block;
}

.agent-progress span {
  color: var(--green);
  font-size: 8px;
  font-weight: 720;
}

.agent-progress b {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 24px;
}

.agent-progress small {
  color: var(--muted);
  font-size: 7px;
}

.verification-spinner {
  margin-top: 22px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(217, 121, 63, 0.3);
  border-radius: 8px;
  background: #fff1e8;
  color: #7b4323;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.verification-spinner i {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(123, 67, 35, 0.2);
  border-top-color: #7b4323;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.worklog-panel,
.recovery-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 66, 92, 0.08);
}

.worklog-topbar {
  min-height: 56px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #e7eff4;
}

.worklog-topbar small,
.worklog-topbar b {
  display: block;
}

.worklog-topbar small {
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.worklog-topbar b {
  margin-top: 1px;
  font-size: 11px;
}

.worklog-topbar > span {
  color: var(--muted);
  font-size: 7px;
}

.worklog-topbar code {
  margin-left: 4px;
  padding: 3px 5px;
  border-radius: 5px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.worklog-events {
  position: relative;
  padding: 14px 15px 8px;
  display: grid;
  gap: 3px;
}

.worklog-events::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 27px;
  left: 61px;
  width: 1px;
  background: var(--line);
}

.worklog-event {
  position: relative;
  z-index: 1;
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px 27px 1fr;
  align-items: center;
  gap: 8px;
}

.worklog-event time {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
}

.worklog-event > i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-size: 7px;
  font-style: normal;
  font-weight: 760;
  box-shadow: 0 0 0 4px var(--surface);
}

.worklog-event > i.event-green {
  background: var(--green-pale);
  color: var(--green);
}

.worklog-event > i.event-blue {
  background: #e3ebf7;
  color: #365f9a;
}

.worklog-event small,
.worklog-event b,
.worklog-event span {
  display: block;
}

.worklog-event small {
  color: var(--muted);
  font-size: 6px;
}

.worklog-event b {
  margin-top: 1px;
  font-size: 9px;
}

.worklog-event span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.worklog-footer {
  margin: 0 15px 14px;
  padding: 9px;
  border: 1px dashed rgba(76, 49, 131, 0.25);
  border-radius: 8px;
  background: rgba(232, 222, 250, 0.35);
  color: var(--purple-deep);
  font-size: 7px;
  font-weight: 680;
  text-align: center;
}

.new-session {
  margin-bottom: 23px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f6f9;
}

.new-session span {
  font-size: 9px;
  font-weight: 720;
}

.new-session small {
  color: var(--red);
  font-size: 7px;
}

.recovery-panel {
  background: #edf3f7;
}

.recovery-topbar {
  min-height: 47px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.recovery-topbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 720;
}

.recovery-topbar > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 122, 94, 0.12);
}

.recovery-topbar > small {
  color: var(--green);
  font-size: 7px;
  font-weight: 680;
}

.recovered-ticket {
  margin: 14px;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(76, 49, 131, 0.22);
  border-left: 4px solid var(--purple);
  border-radius: 10px;
  background: var(--surface);
}

.recovered-ticket small {
  color: var(--purple-deep);
  font-size: 7px;
  font-weight: 700;
}

.recovered-ticket h3 {
  margin-top: 3px;
  font-size: 15px;
}

.recovered-ticket p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.recovered-ticket > span {
  padding: 5px 7px;
  border-radius: 99px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 7px;
  font-weight: 720;
}

.recovered-state {
  margin: 0 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.recovered-state > div {
  min-height: 54px;
  padding: 9px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.recovered-state span {
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 7px;
  font-weight: 800;
}

.recovered-state b,
.recovered-state small {
  display: block;
}

.recovered-state b {
  font-size: 8px;
}

.recovered-state small {
  color: var(--muted);
  font-size: 6px;
}

.recovery-timeline {
  margin: 13px 14px;
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.recovery-timeline > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: 7px;
}

.recovery-timeline time {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
}

.recovery-timeline .resume-event {
  color: var(--green);
  font-weight: 680;
}

.resume-bar {
  margin: 0 14px 14px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: var(--brand-deep);
  color: white;
}

.resume-bar > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
}

.resume-bar > b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
}

.resume-bar i {
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.context-before {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 15px 34px rgba(23, 66, 92, 0.08);
}

.context-chat-content {
  padding: 18px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.context-chat-content .earlier-thread {
  height: 74px;
  margin-bottom: -2px;
}

.context-chat-content .message {
  max-width: 92%;
}

.context-chat-content .message p {
  padding: 9px 10px;
  font-size: 10px;
}

.context-chat-content .system-line {
  padding: 8px;
  font-size: 8px;
}

.context-after {
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #eef4f7;
  box-shadow: 0 15px 34px rgba(23, 66, 92, 0.1);
}

.knowledge-topbar {
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #e7eff4;
  font-size: 9px;
  font-weight: 700;
}

.knowledge-topbar small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 560;
}

.knowledge-topbar small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 122, 94, 0.11);
}

.knowledge-layout {
  min-height: 391px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.knowledge-main {
  min-width: 0;
  padding: 14px;
}

.knowledge-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.knowledge-title small,
.knowledge-title b {
  display: block;
}

.knowledge-title small {
  color: var(--muted);
  font-size: 7px;
}

.knowledge-title b {
  margin-top: 1px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.knowledge-title > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
}

.knowledge-pages {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.knowledge-pages > div {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.knowledge-pages span,
.knowledge-pages b,
.knowledge-pages small {
  display: block;
}

.knowledge-pages span {
  color: var(--purple-deep);
  font-size: 6px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-pages b {
  overflow: hidden;
  margin-top: 3px;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-pages small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 6px;
}

.knowledge-pages small i {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.knowledge-widgets {
  margin-top: 7px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 7px;
}

.knowledge-graph,
.knowledge-report {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.knowledge-graph header,
.knowledge-report header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.knowledge-graph header b,
.knowledge-report header b {
  font-size: 7px;
}

.knowledge-graph header span,
.knowledge-report header span {
  color: var(--muted);
  font-size: 6px;
}

.graph-canvas {
  position: relative;
  height: 74px;
  margin-top: 5px;
  overflow: hidden;
}

.graph-node {
  position: absolute;
  z-index: 2;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76, 49, 131, 0.24);
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 5px;
  font-weight: 750;
}

.node-ticket {
  top: 2px;
  left: 3%;
  background: #e5edf9;
  color: #355d99;
}

.node-decision {
  right: 4%;
  bottom: 3px;
  background: #f8e8df;
  color: #934c25;
}

.node-page {
  top: 23px;
  left: calc(50% - 16px);
  width: 32px;
  height: 32px;
  background: var(--purple);
  color: white;
}

.node-evidence {
  right: 5%;
  top: 1px;
  background: var(--green-pale);
  color: var(--green);
}

.node-report {
  bottom: 1px;
  left: 6%;
  background: #f1e8f8;
}

.edge {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(76, 49, 131, 0.25);
  transform-origin: left center;
}

.edge-one {
  width: 42%;
  top: 50%;
  left: 50%;
  transform: rotate(195deg);
}

.edge-two {
  width: 39%;
  top: 50%;
  left: 50%;
  transform: rotate(162deg);
}

.edge-three {
  width: 40%;
  top: 50%;
  left: 50%;
  transform: rotate(-16deg);
}

.edge-four {
  width: 41%;
  top: 50%;
  left: 50%;
  transform: rotate(17deg);
}

.report-bars {
  height: 67px;
  margin-top: 8px;
  padding: 5px 3px 0;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to top, transparent 49%, rgba(23, 38, 48, 0.06) 50%, transparent 51%);
}

.report-bars i {
  width: 12%;
  height: var(--bar);
  border-radius: 3px 3px 0 0;
  background: var(--purple);
  opacity: 0.5;
}

.report-bars i:last-child {
  opacity: 1;
}

.knowledge-report > small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 6px;
  text-align: center;
}

.context-pack {
  margin-top: 7px;
  min-height: 50px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  background: var(--purple);
  color: white;
}

.context-pack > i {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-style: normal;
}

.context-pack small,
.context-pack b {
  display: block;
}

.context-pack small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 6px;
}

.context-pack b {
  margin-top: 2px;
  font-size: 9px;
}

.context-pack > span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 6px;
}

.permission-stack,
.sandbox-panel {
  min-height: 510px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 66, 92, 0.08);
}

.permission-request {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f2f6f9;
}

.permission-request > span,
.permission-request > b,
.permission-request > code {
  display: block;
}

.permission-request > span {
  color: var(--muted);
  font-size: 7px;
}

.permission-request > b,
.permission-request > code {
  margin-top: 3px;
  font-size: 10px;
}

.permission-request > code {
  overflow: hidden;
  font-family: "SFMono-Regular", Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.permission-request > div {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.permission-request small,
.permission-request em {
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 7px;
  font-style: normal;
  font-weight: 680;
}

.permission-request small {
  border: 1px solid var(--line);
  color: var(--muted);
}

.permission-request em {
  background: var(--purple);
  color: white;
}

.sandbox-panel {
  padding: 0;
  overflow: hidden;
  background: #edf3f7;
}

.sandbox-topbar {
  min-height: 46px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.sandbox-topbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
}

.sandbox-topbar > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 122, 94, 0.12);
}

.sandbox-topbar > small {
  padding: 4px 7px;
  border-radius: 99px;
  background: #fff0df;
  color: #d66d16;
  font-size: 7px;
  font-weight: 720;
}

.sandbox-log {
  padding: 15px;
}

.sandbox-event {
  min-height: 52px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.sandbox-event > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ff;
  color: #2189e8;
  font-size: 10px;
  font-style: normal;
}

.sandbox-event small,
.sandbox-event b {
  display: block;
}

.sandbox-event small {
  color: #2189e8;
  font-size: 8px;
}

.sandbox-event b {
  margin-top: 2px;
  font-size: 10px;
}

.access-request-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 133, 38, 0.45);
  border-radius: 11px;
  background: #fff7ef;
}

.access-request-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.access-request-title small,
.access-request-title b {
  display: block;
}

.access-request-title small {
  color: var(--purple);
  font-size: 8px;
}

.access-request-title b {
  margin-top: 2px;
  font-size: 12px;
}

.access-request-title > span {
  padding: 4px 6px;
  border-radius: 99px;
  background: #ffe8d3;
  color: #d66d16;
  font-size: 7px;
  font-weight: 720;
}

.access-request-card > p {
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 9px;
}

.access-request-card > label {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
}

.access-request-card > strong {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.35;
}

.exact-access {
  margin-top: 12px;
  padding: 9px;
  border: 1px solid rgba(255, 133, 38, 0.22);
  border-radius: 8px;
  background: #fff0e3;
}

.exact-access span,
.exact-access b {
  display: block;
}

.exact-access span {
  color: #d66d16;
  font-size: 7px;
  font-weight: 700;
}

.exact-access b {
  margin-top: 3px;
  font-size: 9px;
}

.access-boundary-note {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.access-boundary-note span {
  padding: 4px 6px;
  border-radius: 6px;
  background: white;
  color: var(--muted);
  font-size: 7px;
}

.access-boundary-note span::before {
  content: "✓";
  margin-right: 4px;
  color: var(--green);
  font-weight: 800;
}

.access-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.access-actions button {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 8px;
  font-weight: 680;
}

.access-actions button:last-child {
  border-color: #1687ed;
  background: #1687ed;
  color: white;
}

.product-boundaries {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.product-boundaries > small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 7px;
}

.product-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.product-pills > div {
  min-width: 0;
  min-height: 47px;
  padding: 7px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e4ecf1;
  opacity: 0.65;
}

.product-pills > div.active {
  border-color: rgba(76, 49, 131, 0.28);
  background: var(--purple-pale);
  opacity: 1;
}

.product-pills > div > i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #c8d5dd;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}

.product-pills > div.active > i {
  background: var(--brand-deep);
  color: white;
}

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

.product-pills b {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-pills small {
  color: var(--muted);
  font-size: 6px;
}

.product-pills em {
  color: var(--red);
  font-size: 9px;
  font-style: normal;
}

.ticket-boundary {
  margin: 14px 15px 0;
  padding: 12px;
  border: 1px solid rgba(76, 49, 131, 0.25);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: inset 0 0 0 3px rgba(116, 82, 200, 0.05);
}

.boundary-heading {
  margin-bottom: 9px;
  padding-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.boundary-heading span {
  color: var(--purple-deep);
  font-size: 7px;
  font-weight: 700;
}

.boundary-heading b {
  font-size: 9px;
}

.access-row {
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 38, 48, 0.07);
  font-size: 8px;
}

.access-row em {
  padding: 3px 6px;
  border-radius: 5px;
  background: #e9eff3;
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
  font-weight: 680;
}

.access-row em.write {
  background: var(--green-pale);
  color: var(--green);
}

.blocked-access {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.blocked-access span {
  padding: 4px 6px;
  border: 1px solid rgba(186, 76, 60, 0.2);
  border-radius: 6px;
  background: #f9e9e6;
  color: var(--red);
  font-size: 6px;
  font-weight: 670;
}

.blocked-access span::before {
  content: "×";
  margin-right: 4px;
  font-weight: 800;
}

.scoped-request {
  margin: 10px 15px 14px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px dashed rgba(76, 49, 131, 0.32);
  border-radius: 8px;
  color: var(--muted);
}

.scoped-request span {
  font-size: 7px;
}

.scoped-request b {
  max-width: 240px;
  color: var(--purple-deep);
  font-size: 7px;
  text-align: right;
}

/* Shared visual language for the Spedito side of each comparison. */
.app-mock {
  --app-border: rgba(23, 38, 48, 0.13);
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-color: var(--app-border);
  border-radius: 13px;
  background-color: #f3f5f6;
  box-shadow:
    0 18px 42px rgba(23, 66, 92, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  font-size: 11px;
  line-height: 1.35;
}

.mock-screen {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
}

.app-mock :is(
    .demo-status,
    .refinement-topbar,
    .knowledge-topbar,
    .worklog-topbar,
    .recovery-topbar,
    .sandbox-topbar
  ) {
  border-bottom-color: var(--app-border);
  background: #fafafa;
}

.app-mock :is(
    .ticket,
    .git-log-event,
    .epic-result,
    .backlog-ticket,
    .knowledge-pages > div,
    .knowledge-graph,
    .knowledge-report,
    .worklog-event,
    .recovered-ticket,
    .recovered-state > div,
    .recovery-timeline,
    .ticket-boundary
  ) {
  border-color: var(--app-border);
}

.app-mock small {
  font-size: 10px;
}

.app-mock .ba-questions span {
  font-size: 10px;
}

.app-mock .ba-questions b,
.app-mock .backlog-ticket > span,
.app-mock .worklog-event b,
.app-mock .recovered-state b,
.app-mock .product-pills b,
.app-mock .boundary-heading b {
  font-size: 11px;
}

.app-mock .product-pills > div.active {
  border-color: rgba(46, 149, 204, 0.3);
  background: var(--brand-pale);
}

.app-mock .product-pills > div.active > i {
  background: var(--brand-deep);
}

.app-mock .demo-body button {
  background: var(--brand);
  box-shadow: 0 6px 0 rgba(46, 149, 204, 0.16);
}

.sprint-plan-screen {
  padding: 15px;
  background: #fff;
}

.sprint-plan .ticket {
  min-height: 78px;
  padding: 10px;
}

.sprint-plan .ticket em {
  margin-top: 7px;
}

.sprint-plan .join-lines {
  height: 36px;
}

.sprint-plan .join-lines i:first-child,
.sprint-plan .join-lines i:nth-child(2) {
  height: 19px;
}

.sprint-plan .join-lines i:last-child {
  top: 18px;
}

.sprint-plan .join-lines::after {
  top: 18px;
  height: 18px;
}

.app-mock .worklog-event {
  min-height: 68px;
}

.app-mock .ba-questions > div {
  grid-template-columns: 108px 1fr;
}

.app-mock .backlog-ticket {
  min-height: 48px;
  grid-template-columns: 30px 34px 1fr auto;
  gap: 8px;
}

.app-mock .knowledge-layout {
  min-height: 384px;
  grid-template-columns: minmax(0, 1fr);
}

.demo-panel .mock-screen {
  display: flex;
  flex-direction: column;
}

.demo-status {
  min-height: 56px;
  padding: 0 20px;
  font-size: 12px;
}

.demo-status code,
.revision code {
  font-size: 11px;
}

.demo-body {
  flex: 1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-body > small {
  font-size: 10px;
}

.demo-body h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.1;
}

.demo-body > p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.demo-body ul {
  margin: 28px 0;
  padding: 20px 0;
  gap: 14px;
  font-size: 11px;
}

.revision {
  margin-bottom: 18px;
  font-size: 11px;
}

.demo-body button {
  height: 58px;
  font-size: 15px;
}

.refinement-topbar {
  min-height: 64px;
  padding: 0 18px;
}

.refinement-topbar small {
  font-size: 9px;
}

.refinement-topbar b {
  font-size: 14px;
}

.refinement-topbar > span {
  padding: 6px 9px;
  font-size: 9px;
}

.ba-questions {
  padding: 14px 16px;
  gap: 8px;
}

.ba-questions > div {
  padding: 11px 12px;
}

.ba-questions b {
  font-size: 11px;
}

.ba-questions small {
  font-size: 10px;
}

.epic-result {
  min-height: 60px;
  padding: 11px 14px;
}

.epic-result small {
  font-size: 8px;
}

.epic-result b {
  font-size: 14px;
}

.epic-result > span {
  font-size: 9px;
}

.backlog-ticket em {
  font-size: 8px;
}

.backlog-ticket code {
  font-size: 9px;
}

.backlog-ticket > small {
  font-size: 9px;
}

.knowledge-capture {
  padding: 12px;
}

.capture-title {
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
}

.capture-title > i {
  width: 32px;
  height: 32px;
}

.capture-title small {
  font-size: 9px;
}

.capture-title b {
  font-size: 11px;
}

.capture-title > span {
  padding: 5px 7px;
  font-size: 8px;
}

.evidence-chat,
.worklog-panel {
  min-height: 460px;
}

.worklog-topbar {
  min-height: 60px;
  padding: 0 18px;
}

.worklog-topbar small,
.worklog-topbar > span,
.worklog-topbar code {
  font-size: 9px;
}

.worklog-topbar b {
  font-size: 14px;
}

.worklog-events {
  padding: 14px 18px 8px;
  gap: 4px;
}

.worklog-events::before {
  left: 86px;
}

.worklog-event {
  grid-template-columns: 42px 32px 1fr;
  gap: 10px;
}

.worklog-event time {
  font-size: 8px;
}

.worklog-event > i {
  width: 32px;
  height: 32px;
  font-size: 9px;
}

.worklog-event small,
.worklog-event span {
  font-size: 9px;
}

.worklog-event b {
  font-size: 11px;
}

.worklog-footer {
  margin: 0 18px 16px;
  padding: 11px;
  font-size: 9px;
}

.recovery-topbar {
  min-height: 54px;
  padding: 0 18px;
}

.recovery-topbar > span {
  font-size: 11px;
}

.recovery-topbar > small {
  font-size: 9px;
}

.recovered-ticket {
  margin: 16px;
  padding: 16px;
}

.recovered-ticket small,
.recovered-ticket > span {
  font-size: 9px;
}

.recovered-ticket h3 {
  font-size: 18px;
}

.recovered-ticket p {
  font-size: 11px;
}

.recovered-state {
  margin: 0 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.recovered-state > div {
  min-height: 74px;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.recovered-state span {
  grid-row: auto;
  width: 24px;
  height: 24px;
  margin-bottom: 7px;
  flex: 0 0 24px;
  font-size: 9px;
}

.recovered-state small {
  font-size: 9px;
}

.resume-bar {
  margin: 12px 16px 16px;
  padding: 12px 14px;
}

.resume-bar > span {
  font-size: 9px;
}

.resume-bar > b {
  font-size: 10px;
}

.knowledge-topbar {
  min-height: 46px;
  padding: 0 16px;
  font-size: 11px;
}

.knowledge-topbar small {
  font-size: 10px;
}

.knowledge-main {
  padding: 18px 20px;
}

.knowledge-title small {
  font-size: 10px;
}

.knowledge-title b {
  font-size: 20px;
}

.knowledge-title > span {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.knowledge-pages {
  margin-top: 12px;
  gap: 10px;
}

.knowledge-pages > div {
  padding: 12px;
}

.knowledge-pages span {
  font-size: 8px;
}

.knowledge-pages b {
  font-size: 11px;
}

.knowledge-pages small {
  margin-top: 7px;
  font-size: 10px;
}

.knowledge-widgets {
  margin-top: 10px;
  gap: 10px;
}

.knowledge-graph,
.knowledge-report {
  padding: 12px;
}

.knowledge-graph header b,
.knowledge-report header b {
  font-size: 10px;
}

.knowledge-graph header span,
.knowledge-report header span {
  font-size: 9px;
}

.graph-canvas {
  height: 100px;
  margin-top: 8px;
}

.graph-node {
  width: 32px;
  height: 32px;
  font-size: 7px;
}

.node-ticket,
.node-evidence {
  top: 4px;
}

.node-decision,
.node-report {
  bottom: 4px;
}

.node-page {
  top: calc(50% - 19px);
  left: calc(50% - 19px);
  width: 38px;
  height: 38px;
}

.report-bars {
  height: 91px;
}

.knowledge-report > small {
  font-size: 10px;
}

.context-pack {
  min-height: 62px;
  margin-top: 10px;
  padding: 12px 14px;
  gap: 11px;
}

.context-pack > i {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 12px;
}

.context-pack small,
.context-pack > span {
  font-size: 9px;
}

.context-pack b {
  font-size: 11px;
}

.permission-stack,
.sandbox-panel {
  min-height: 480px;
}

.sandbox-topbar {
  min-height: 54px;
  padding: 0 18px;
}

.sandbox-topbar > span {
  font-size: 11px;
}

.sandbox-topbar > small {
  padding: 5px 8px;
  font-size: 9px;
}

.sandbox-log {
  padding: 18px;
}

.sandbox-event {
  min-height: 60px;
  padding: 10px 12px;
  grid-template-columns: 34px 1fr;
  gap: 10px;
}

.sandbox-event > i {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.sandbox-event small {
  font-size: 10px;
}

.sandbox-event b {
  font-size: 12px;
}

.access-request-card {
  margin-top: 18px;
  padding: 18px;
}

.access-request-title small {
  font-size: 10px;
}

.access-request-title b {
  font-size: 16px;
}

.access-request-title > span {
  padding: 5px 8px;
  font-size: 9px;
}

.access-request-card > p {
  margin: 9px 0 14px;
  font-size: 11px;
}

.access-request-card > label {
  font-size: 10px;
}

.access-request-card > strong {
  font-size: 12px;
}

.exact-access {
  margin-top: 14px;
  padding: 12px;
}

.exact-access span {
  font-size: 9px;
}

.exact-access b {
  font-size: 11px;
}

.access-boundary-note {
  margin-top: 12px;
  gap: 7px;
}

.access-boundary-note span {
  padding: 6px 8px;
  font-size: 9px;
}

.access-actions {
  margin-top: 16px;
  gap: 8px;
}

.access-actions button {
  min-height: 36px;
  padding: 0 13px;
  font-size: 10px;
}

/* One readable type scale for the prompting side of every comparison. */
.before :is(.prompt b, .message b) {
  font-size: 11px;
}

.before :is(.prompt p, .message p) {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.38;
}

.before .prompt code {
  font-size: 12px;
}

.before .terminal-line,
.before .system-line {
  font-size: 12px;
}

.before .agent-runs div {
  font-size: 12px;
}

.before .oops b {
  font-size: 12px;
}

.before .oops small {
  font-size: 11px;
}

.before .commit-summary div {
  font-size: 11px;
}

.before .commit-summary span {
  font-size: 18px;
}

.before .earlier-thread span {
  font-size: 11px;
}

.before .context-chat-content .message p {
  padding: 11px 13px;
  font-size: 14px;
}

.before .context-chat-content .system-line {
  padding: 10px;
  font-size: 12px;
}

.before .agent-progress span {
  font-size: 12px;
}

.before .agent-progress small {
  font-size: 12px;
}

.before .verification-spinner {
  font-size: 11px;
}

.before .new-session span {
  font-size: 12px;
}

.before .new-session small {
  font-size: 11px;
}

.before .permission-request > span {
  font-size: 11px;
}

.before .permission-request > b,
.before .permission-request > code {
  font-size: 12px;
}

.before .permission-request small,
.before .permission-request em {
  font-size: 11px;
}

.faq {
  width: var(--page);
  margin: 0 auto;
  padding: 115px 0;
}

.faq-heading {
  max-width: none;
}

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

.faq details {
  padding-right: 24px;
  padding-left: 24px;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease;
}

.faq details[open] {
  background: rgba(255, 255, 255, 0.38);
}

.faq summary {
  min-height: 76px;
  padding: 20px 54px 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.01em;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  width: 27px;
  height: 27px;
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  font-weight: 500;
  transform: translateY(-50%) rotate(0deg);
  transition:
    border-color 220ms ease,
    color 220ms ease,
    transform 260ms ease;
}

.faq details[open] summary::after {
  content: "−";
  border-color: rgba(46, 149, 204, 0.35);
  transform: translateY(-50%) rotate(180deg);
}

.faq summary:focus-visible {
  outline: 3px solid rgba(46, 149, 204, 0.42);
  outline-offset: 4px;
}

.faq-answer {
  max-width: 800px;
  padding: 0 54px 28px 0;
  color: var(--muted);
  font-size: 15px;
}

.faq-answer p {
  margin: 0 0 16px;
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.faq-featured .faq-answer {
  max-width: none;
}

.command-parade {
  margin-top: 16px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: rgba(76, 49, 131, 0.28) transparent;
}

.command-parade code {
  flex: 0 0 auto;
  padding: 6px 7px;
  border: 1px solid rgba(116, 82, 200, 0.18);
  border-radius: 7px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.spec-kit-diagrams {
  margin: 20px 0 24px;
}

.spec-kit-diagrams figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}

.diagram-scroll {
  height: 560px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(23, 101, 143, 0.34) transparent;
}

.diagram-scroll img {
  width: 100%;
  height: auto;
  display: block;
}

.final-cta {
  padding: 90px 24px;
  background:
    radial-gradient(circle at 50% 110%, rgba(46, 149, 204, 0.58), transparent 30rem),
    var(--ink);
  color: white;
  text-align: center;
}

.final-cta img {
  margin-bottom: 18px;
  border-radius: 16px;
}

.final-cta h2 {
  font-size: clamp(42px, 6vw, 64px);
}

.final-cta .final-tagline {
  margin: 14px 0 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
}

.final-actions {
  margin-top: 27px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button-light {
  border-color: white;
  background: white;
  color: var(--ink);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.14);
}

.button-light:hover {
  background: var(--brand-pale);
  color: var(--brand-deep);
}

.button-source {
  border-color: rgba(255, 255, 255, 0.46);
  background: transparent;
  color: white;
  box-shadow: none;
}

.button-source:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.final-cta > small {
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

footer {
  width: var(--page);
  min-height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 12px;
}

footer p {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}

footer > a:last-child {
  justify-self: end;
  font-weight: 680;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  nav {
    display: none;
  }

  .hero {
    padding: 72px 0 42px;
  }

  .hero-copy {
    width: 100%;
    max-width: 760px;
  }

  .product-showcase {
    width: 100vw;
    margin: 58px 0 0 calc(50% - 50vw);
  }
}

@media (max-width: 690px) {
  :root {
    --page: min(100% - 28px, 1120px);
  }

  .site-header {
    height: 60px;
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .button-small {
    min-height: 36px;
    font-size: 11px;
  }

  .hero {
    width: var(--page);
    min-height: auto;
    padding: 65px 0 38px;
  }

  h1 {
    font-size: clamp(47px, 15vw, 66px);
  }

  h2 {
    font-size: clamp(37px, 12vw, 50px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-slide figcaption {
    min-height: 72px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 4px;
  }

  .showcase-slide figcaption small {
    width: max-content;
  }

  .product-showcase {
    width: 100vw;
    margin: 48px 0 0 calc(50% - 50vw);
    padding: 0;
    border-radius: 0;
  }

  .showcase-heading {
    min-height: 67px;
    padding: 6px 5px 13px;
    align-items: flex-end;
    gap: 12px;
  }

  .showcase-heading h2 {
    font-size: 21px;
  }

  .showcase-controls {
    gap: 5px;
  }

  .showcase-controls > span {
    min-width: 47px;
    margin-right: 0;
    font-size: 9px;
  }

  .showcase-controls button {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .showcase-images:not(.is-single) {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .showcase-image-panel > span {
    top: 9px;
    left: 9px;
    padding: 5px 7px;
    font-size: 7px;
  }

  .showcase-slide figcaption strong {
    font-size: 13px;
  }

  .showcase-rail button {
    width: 150px;
    min-width: 150px;
  }

  .showcase-current {
    width: 94vw;
  }

  .showcase-peek {
    width: 86vw;
    opacity: 0.13;
  }

  .showcase-previous {
    left: -72vw;
    transform: translateY(-50%) scale(0.92);
  }

  .showcase-next {
    right: -72vw;
    transform: translateY(-50%) scale(0.92);
  }

  .showcase-meta {
    width: calc(100vw - 28px);
    padding: 0;
    align-items: flex-start;
    gap: 18px;
  }

  .showcase-copy {
    width: 100%;
  }

  .showcase-copy > div {
    margin-left: 0;
  }

  .showcase-copy h2 {
    font-size: 25px;
  }

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

  .showcase-meta .showcase-controls {
    padding-top: 1px;
  }

  .showcase-meta .showcase-controls > span {
    display: none;
  }

  .proof {
    padding: 85px 0;
  }

  .orchestration-reframe {
    padding: 85px 0;
  }

  .orchestration-terminal-body {
    grid-template-columns: 1fr;
  }

  .orchestration-checklist {
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(172, 211, 229, 0.14);
  }

  .gas-town-escalation {
    padding: 30px 22px 34px;
  }

  .orchestration-resolution {
    padding: 25px 22px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .orchestration-resolution > strong {
    text-align: left;
  }

  .faq {
    padding: 85px 0;
  }

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

  .comparison {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .side {
    padding: 18px;
    display: block;
    grid-row: auto;
  }

  .side + .side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .side-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .prompt-stack,
  .sprint-plan,
  .demo-panel,
  .git-flow {
    min-height: 0;
  }

  .demo-chat,
  .demo-panel,
  .commit-chat,
  .git-flow {
    min-height: 500px;
  }

  .refinement-panel,
  .permission-stack,
  .sandbox-panel {
    min-height: 0;
  }

  .app-mock .ba-questions > div {
    grid-template-columns: 1fr;
  }

  .ba-questions span {
    grid-row: auto;
    margin-bottom: 3px;
  }

  .epic-result {
    grid-template-columns: 1fr;
  }

  .epic-result > span {
    grid-row: auto;
    grid-column: auto;
    margin-top: 5px;
  }

  .app-mock .backlog-ticket {
    grid-template-columns: 22px 27px 1fr;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .backlog-ticket > small {
    grid-column: 3;
  }

  .wave-tickets,
  .demo-body ul {
    grid-template-columns: 1fr;
  }

  .context-before,
  .context-after,
  .knowledge-layout {
    min-height: 0;
  }

  .knowledge-layout,
  .knowledge-widgets {
    grid-template-columns: 1fr;
  }

  .knowledge-pages {
    grid-template-columns: 1fr;
  }

  .knowledge-main {
    padding: 16px;
  }

  .knowledge-title {
    gap: 12px;
  }

  .knowledge-title > div,
  .knowledge-pages > div,
  .context-pack > div {
    min-width: 0;
  }

  .knowledge-pages b {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .context-pack {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .context-pack > i {
    grid-row: 1 / 3;
  }

  .context-pack > span {
    grid-column: 2;
    margin-left: 0;
  }

  .recovered-state {
    grid-template-columns: 1fr 1fr;
  }

  .demo-body {
    padding: 25px;
  }

  .demo-body h3 {
    font-size: 21px;
  }

  .worklog-topbar {
    min-height: 70px;
    padding: 12px 14px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .worklog-events {
    padding-right: 12px;
    padding-left: 12px;
  }

  .worklog-events::before {
    left: 63px;
  }

  .worklog-event {
    grid-template-columns: 30px 28px minmax(0, 1fr);
    gap: 7px;
  }

  .worklog-event > i {
    width: 28px;
    height: 28px;
  }

  .sandbox-log {
    padding: 12px;
  }

  .access-request-card {
    padding: 13px;
  }

  .product-pills {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    margin-top: 34px;
  }

  .faq summary {
    min-height: 62px;
    padding-left: 0;
    font-size: 14px;
  }

  .faq details {
    padding-right: 10px;
    padding-left: 10px;
  }

  .faq-answer {
    padding-right: 42px;
    padding-left: 0;
  }

  .command-parade code {
    font-size: 9px;
  }

  .final-actions {
    align-items: center;
    flex-direction: column;
  }

  .final-actions .button {
    width: min(100%, 290px);
  }

  .diagram-scroll {
    height: 340px;
  }

  footer {
    min-height: 120px;
    grid-template-columns: 1fr 1fr;
  }

  footer p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
