/* Logo section (19:40488) + Watch it work / How it works (19:40716) */

/* Section scroll reveal */
[data-atlas-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--atlas-motion) var(--atlas-ease),
    transform var(--atlas-motion) var(--atlas-ease);
  transition-delay: var(--atlas-reveal-delay, 0ms);
}

[data-atlas-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside a revealed section (parent stays visible) */
[data-atlas-reveal][data-atlas-stagger] {
  opacity: 1;
  transform: none;
  transition: none;
}

[data-atlas-reveal][data-atlas-stagger] [data-atlas-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--atlas-motion) var(--atlas-ease),
    transform var(--atlas-motion) var(--atlas-ease);
  transition-delay: var(--atlas-reveal-delay, 0ms);
}

[data-atlas-reveal][data-atlas-stagger].is-inview [data-atlas-reveal-item] {
  opacity: 1;
  transform: translateY(0);
}

[data-atlas-marquee].is-paused .atlas-logos__track,
[data-atlas-marquee].is-paused .atlas-customers__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  [data-atlas-reveal],
  [data-atlas-reveal][data-atlas-stagger] [data-atlas-reveal-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .atlas-logos__track,
  .atlas-customers__track {
    animation: none !important;
  }
}

/* Shared section type — keep How / Caps / Stats / Customers / Deploy aligned */
.atlas-how__title,
.atlas-caps__title,
.atlas-stats__title,
.atlas-customers__title,
.atlas-deploy__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--atlas-cream);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

.atlas-how__lede,
.atlas-caps__lede,
.atlas-customers__lede,
.atlas-deploy__lede {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--atlas-muted);
}

@media (max-width: 720px) {
  .atlas-how__title,
  .atlas-caps__title,
  .atlas-stats__title,
  .atlas-customers__title,
  .atlas-deploy__title {
    font-size: 28px;
    line-height: 1.2;
  }
}

.atlas-logos {
  padding: 64px 144px;
}

.atlas-logos__label {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--atlas-muted);
}

.atlas-logos__track-wrap {
  margin-top: 32px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.atlas-logos__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: atlas-marquee 42s linear infinite;
}

.atlas-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: rgba(145, 139, 134, 0.7);
  text-decoration: none;
}

.atlas-logo span {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.45px;
  white-space: nowrap;
}

@keyframes atlas-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1200px) {
  .atlas-logos {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* —— How it works / Watch it work (Figma 19:40716) ——
   Measures: pad 80×144, inner 1152×429,
   copy 544@x0, visual 544×393.5 @x608 y17.75 */

.atlas-how {
  padding: 80px 144px;
}

.atlas-how__inner {
  position: relative;
  width: 1152px;
  max-width: 100%;
  min-height: 429px;
  margin: 0 auto;
}

.atlas-how__copy {
  width: 544px;
  max-width: 100%;
}

.atlas-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 15px;
  border-radius: 9999px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--atlas-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.atlas-how__title {
  margin: 24px 0 0;
}

.atlas-how__lede {
  margin: 16px 0 0;
  max-width: 544px;
}

.atlas-how__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atlas-how__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(244, 241, 238, 0.8);
}

.atlas-how__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 9999px;
  background: rgba(88, 162, 242, 0.15);
  flex-shrink: 0;
}

.atlas-how__check svg {
  width: 12px;
  height: 12px;
  display: block;
}

.atlas-how__visual {
  position: absolute;
  left: 608px;
  top: 17.75px;
  width: 544px;
}

/* Blue glow frame (same size as before) + progress panel inside */
.atlas-trace {
  position: relative;
  width: 544px;
  height: 393.5px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.atlas-trace__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* —— How it works: live capture progress mock (extension UI) —— */

.how-mock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  max-width: calc(100% - 56px);
  box-sizing: border-box;
}

.how-mock__panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 25px 50px rgba(0, 0, 0, 0.25);
  color: #171717;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.how-mock__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}

.how-mock__brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.how-mock__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e8fbd4;
  color: #5fbf3a;
  flex-shrink: 0;
}

.how-mock__mark .reicon {
  width: 18px;
  height: 18px;
  display: block;
}

.how-mock__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.how-mock__sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #737373;
}

.how-mock__live {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #737373;
  flex-shrink: 0;
}

.how-mock__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89fe65;
  box-shadow: 0 0 0 3px #89fe6533;
  animation: howLivePulse 1.6s ease-in-out infinite;
}

.how-mock.is-paused .how-mock__live-dot {
  animation-play-state: paused;
}

@keyframes howLivePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.how-mock__body {
  padding: 0 16px 12px;
}

.how-mock__switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #525252;
}

.how-mock__switch {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #e5e5e5;
  flex-shrink: 0;
}

.how-mock__switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.how-mock__select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fafafa;
  font-size: 13px;
  font-weight: 500;
  color: #171717;
}

.how-mock__select svg {
  width: 16px;
  height: 16px;
  color: #737373;
}

.how-mock__progress {
  margin-top: 14px;
}

.how-mock__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.how-mock__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(to right, #cdfe67, #89fe65);
  transition: width 0.55s var(--atlas-ease);
}

.how-mock__rotator {
  margin: 8px 0 0;
  min-height: 18px;
  font-size: 13px;
  font-weight: 500;
  color: #171717;
  transition: opacity 0.3s var(--atlas-ease);
}

.how-mock__rotator.is-swap {
  opacity: 0;
}

.how-mock__pct {
  margin: 4px 0 0;
  font-size: 11px;
  color: #737373;
}

.how-mock__foot {
  padding: 0 16px 14px;
}

.how-mock__send {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #cdfe67, #89fe65);
  color: #0a0a0a;
  font: 500 13px inherit;
  cursor: default;
}

.how-mock__send.is-busy {
  opacity: 0.72;
}

.how-mock__send.is-done {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .how-mock__fill {
    transition: none;
  }

  .how-mock__live-dot {
    animation: none;
  }
}

@media (max-width: 1200px) {
  .atlas-how {
    padding-left: 32px;
    padding-right: 32px;
  }

  .atlas-how__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 0;
  }

  .atlas-how__copy,
  .atlas-how__visual {
    position: static;
    width: 100%;
    max-width: 544px;
  }

  .atlas-trace {
    width: 100%;
    height: auto;
    min-height: 360px;
    aspect-ratio: 544 / 393.5;
  }

  .how-mock {
    width: min(420px, calc(100% - 48px));
  }
}

@media (max-width: 640px) {
  .how-mock {
    width: calc(100% - 32px);
  }
}

/* —— Capabilities (Figma 30:415) ——
   Header 672, grid 1152; wide = 2×narrow + gap */

.atlas-caps {
  padding: 80px 144px 96px;
}

.atlas-caps__inner {
  width: 1152px;
  max-width: 100%;
  margin: 0 auto;
}

.atlas-caps__header {
  width: 672px;
  max-width: 100%;
}

.atlas-caps__title {
  margin: 20px 0 0;
}

.atlas-caps__lede {
  margin: 16px 0 0;
  max-width: 576px;
}

.atlas-caps__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 13px;
  border-radius: 24px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.cap-card--wide {
  grid-column: span 2;
}

.cap-card__stage {
  position: relative;
  height: 384px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.cap-card__stage--short {
  height: 208px;
}

.cap-card__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cap-card__stage-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1;
}

.cap-card__stage-inner--layers {
  padding: 32px;
  display: grid;
  place-items: center;
}

.cap-card__stage-inner--exact {
  padding: 32px;
  display: grid;
  place-items: center;
}

.cap-card__stage-inner--memory {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
}

.cap-card__stage-inner--center {
  padding: 24px;
}

.cap-card__stage-inner--preview {
  display: grid;
  place-items: center;
  padding: 16px;
}

.cap-card__stage-inner--output {
  display: grid;
  place-items: center;
  padding: 16px;
}

.cap-card__copy {
  padding-top: 12px;
}

.cap-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--atlas-cream);
}

.cap-card__desc {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--atlas-muted);
}

/* Shared chrome — green ok badge with optically centered check */
.cap-ok {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #00d492;
}

.cap-ok::after {
  content: "";
  box-sizing: border-box;
  width: 4px;
  height: 7px;
  /* Optical nudge: check glyph reads heavy at the bottom after rotate */
  margin: -1.5px 0 0 0.5px;
  border: solid #0a0a0a;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.cap-ok--sm {
  width: 14px;
  height: 14px;
}

.cap-ok--sm::after {
  width: 3.5px;
  height: 6px;
  margin: -1.5px 0 0 0.5px;
  border-width: 0 1.4px 1.4px 0;
}

/* Figma layers panel (Watch layers stay editable) — glass */
.cap-layers {
  width: min(100%, 440px);
  margin: 0;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.cap-layers__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px 0 calc(10px + (var(--depth, 0) * 18px));
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transition:
    opacity 0.4s var(--atlas-ease),
    background-color 0.35s var(--atlas-ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.cap-layers.is-ready .cap-layers__row {
  opacity: 1;
}

.cap-layers__row.is-selected {
  background: rgba(10, 132, 255, 0.32);
  color: #fff;
  animation: capLayersSelectPulse 1.2s ease-in-out;
}

.cap-layers__chev,
.cap-layers__type,
.cap-layers__actions span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cap-layers__row.is-selected .cap-layers__chev,
.cap-layers__row.is-selected .cap-layers__type,
.cap-layers__row.is-selected .cap-layers__actions span {
  color: rgba(255, 255, 255, 0.92);
}

.cap-layers__chev {
  width: 16px;
  height: 16px;
}

.cap-layers__type {
  width: 18px;
  height: 18px;
}

.cap-layers__chev .reicon,
.cap-layers__type .reicon,
.cap-layers__actions .reicon {
  width: 100%;
  height: 100%;
  display: block;
}

.cap-layers__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cap-layers__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(4px);
  pointer-events: none;
  transition:
    opacity 0.32s var(--atlas-ease),
    transform 0.32s var(--atlas-ease);
}

.cap-layers__row.is-selected .cap-layers__actions {
  opacity: 0.9;
  transform: translateX(0);
}

.cap-layers__actions span {
  width: 16px;
  height: 16px;
}

@keyframes capLayersSelectPulse {
  0% {
    background: rgba(10, 132, 255, 0.16);
  }
  40% {
    background: rgba(10, 132, 255, 0.4);
  }
  100% {
    background: rgba(10, 132, 255, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-layers__row {
    opacity: 1;
    transition: none;
    animation: none;
  }

  .cap-layers__row.is-selected {
    animation: none;
  }

  .cap-layers__actions {
    transition: none;
  }
}

/* Exact fidelity panel (Add Exact when look matters) — glass */
.cap-exact {
  width: min(100%, 300px);
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.cap-exact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cap-exact__label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.cap-exact__seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cap-exact__seg-btn {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition:
    background-color 0.3s var(--atlas-ease),
    color 0.3s var(--atlas-ease),
    box-shadow 0.3s var(--atlas-ease);
}

.cap-exact__seg-btn.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #171717;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.cap-exact__tip {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.4s var(--atlas-ease),
    transform 0.4s var(--atlas-ease);
}

.cap-exact.is-exact .cap-exact__tip {
  opacity: 1;
  transform: translateY(0);
}

.cap-exact__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cap-exact__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s var(--atlas-ease),
    transform 0.4s var(--atlas-ease);
}

.cap-exact.is-exact .cap-exact__list li {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.12s + var(--i, 0) * 0.12s);
}

.cap-exact__name {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.cap-exact__pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

@media (prefers-reduced-motion: reduce) {
  .cap-exact__seg-btn,
  .cap-exact__tip,
  .cap-exact__list li {
    transition: none;
  }

  .cap-exact__tip,
  .cap-exact__list li {
    opacity: 1;
    transform: none;
  }
}

/* Style Reference pills — upward loop (original pill size kept) */
.cap-memory {
  width: 100%;
  max-width: 307px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.cap-memory__viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.cap-memory__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: capMemoryUp 22s linear infinite;
}

.cap-memory.is-paused .cap-memory__track {
  animation-play-state: paused;
}

.cap-memory__set {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
}

.cap-memory__row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  box-sizing: border-box;
}

.cap-memory__icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  flex-shrink: 0;
}

.cap-memory__icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

@keyframes capMemoryUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-memory__track {
    animation: none;
  }

  .cap-memory__viewport {
    height: auto;
    min-height: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .cap-memory__set[aria-hidden="true"] {
    display: none;
  }
}

/* Structured specs — dark glass (readable syntax) */
.cap-json {
  position: relative;
  width: 240px;
  max-width: 100%;
  padding: 15px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
}

@media (min-width: 1201px) {
  .cap-card__stage-inner--output {
    display: block;
    padding: 0;
  }

  .cap-json {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    margin-block: auto;
    height: fit-content;
    width: 240px;
    max-width: calc(100% - 48px);
    transform: translateX(-50%);
  }
}

.cap-json__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cap-json__file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
}

.cap-json__file img {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

.cap-json__schema {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #00d492;
  color: #171717;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cap-json__schema img {
  width: 10px;
  height: 10px;
  display: block;
}

.cap-json__code {
  margin-top: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  line-height: 18px;
}

.cap-json__line {
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.32s var(--atlas-ease),
    transform 0.32s var(--atlas-ease);
}

.cap-json.is-typing .cap-json__line.is-on,
.cap-json.is-complete .cap-json__line {
  opacity: 1;
  transform: translateY(0);
}

.cap-json.is-complete .cap-json__schema {
  animation: capJsonSchemaPulse 0.6s var(--atlas-ease);
}

.cap-json__line--pad {
  padding-left: 12px;
}

.cap-json__pun {
  color: rgba(255, 255, 255, 0.45);
}

.cap-json__key {
  color: #74d4ff;
}

.cap-json__val {
  color: #5ee9b5;
}

@keyframes capJsonSchemaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
}

@media (max-width: 1200px) {
  .cap-card__stage-inner--output {
    display: grid;
    place-items: center;
    padding: 16px;
  }

  .cap-json {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    margin-block: 0;
    width: min(240px, 100%);
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-json__line {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cap-json.is-complete .cap-json__schema {
    animation: none;
  }
}

/* Preview before paste — glass panel */
.cap-preview {
  width: min(100%, 320px);
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.cap-preview__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.cap-preview__score {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #cdfe67;
}

.cap-preview__num {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.cap-preview__unit {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.cap-preview__meta {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--atlas-ease),
    transform 0.4s var(--atlas-ease);
}

.cap-preview.is-ready .cap-preview__meta {
  opacity: 1;
  transform: translateY(0);
}

.cap-preview__pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.cap-preview__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.cap-preview__btn {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: default;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--atlas-ease),
    transform 0.4s var(--atlas-ease),
    box-shadow 0.3s var(--atlas-ease);
}

.cap-preview.is-ready .cap-preview__btn {
  opacity: 1;
  transform: translateY(0);
}

.cap-preview.is-ready .cap-preview__btn--ok {
  transition-delay: 0.08s;
}

.cap-preview.is-ready .cap-preview__btn--ghost {
  transition-delay: 0.16s;
}

.cap-preview__btn--ok {
  background: #00d492;
  color: #171717;
}

.cap-preview__btn--ok.is-pulse {
  box-shadow: 0 0 0 4px rgba(0, 212, 146, 0.35);
}

.cap-preview__btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .cap-preview__meta,
  .cap-preview__btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1200px) {
  .cap-card__stage-inner--preview {
    padding: 16px;
  }

  .cap-preview {
    width: min(100%, 320px);
  }
}

@media (max-width: 1200px) {
  .atlas-caps {
    padding: 64px 32px 80px;
  }

  .atlas-caps__grid {
    grid-template-columns: 1fr;
  }

  .cap-card--wide {
    grid-column: auto;
  }

  .cap-card__stage {
    height: 320px;
  }

  .cap-card__stage--short {
    height: 220px;
  }

  .cap-card__stage-inner--exact {
    padding: 16px;
  }

  .cap-exact {
    width: min(100%, 280px);
    padding: 14px;
    border-radius: 14px;
  }

  .cap-exact__label {
    font-size: 11px;
  }

  .cap-exact__seg-btn {
    height: 30px;
    font-size: 12px;
  }

  .cap-exact__tip {
    margin-top: 10px;
    font-size: 11px;
  }

  .cap-exact__list {
    margin-top: 10px;
    gap: 6px;
  }

  .cap-exact__list li {
    min-height: 32px;
    padding: 0 10px;
  }

  .cap-exact__name {
    font-size: 12px;
  }

  .cap-exact__pill {
    height: 20px;
    padding: 0 8px;
    font-size: 10px;
  }
}

/* —— Since going live (Figma 19:40790) —— */

.atlas-stats {
  padding: 80px 144px;
}

.atlas-stats__inner {
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
}

.atlas-stats__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 576px;
  width: 100%;
  margin: 0 auto;
}

.atlas-stats__title {
  margin: 20px 0 0;
}

.atlas-stats__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atlas-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0 16px;
}

.atlas-stat + .atlas-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.atlas-stat__value {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--atlas-cream);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

.atlas-stat__label {
  margin: 12px 0 0;
  max-width: 11em;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--atlas-cream);
}

.atlas-stat__hint {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--atlas-muted);
}

@media (max-width: 1200px) {
  .atlas-stats {
    padding: 72px 32px;
  }
}

/* Tablet: 2×2 */
@media (max-width: 1100px) {
  .atlas-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .atlas-stat {
    padding: 28px 20px;
    border-left: 0;
  }

  .atlas-stat + .atlas-stat {
    border-left: 0;
  }

  .atlas-stat:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.04);
  }

  .atlas-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }
}

/* Phone: single column */
@media (max-width: 720px) {
  .atlas-stats {
    padding: 64px 24px;
  }

  .atlas-stats__grid {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .atlas-stat,
  .atlas-stat:nth-child(even),
  .atlas-stat:nth-child(n + 3) {
    padding: 24px 0;
    border-left: 0;
    border-top: 0;
  }

  .atlas-stat + .atlas-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  .atlas-stat__value {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.6px;
  }

  .atlas-stat__label {
    max-width: none;
  }
}

/* —— Customers (Figma 19:41060) —— */

.atlas-customers {
  padding: 80px 0 96px;
  overflow: hidden;
}

.atlas-customers__header {
  width: min(672px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.atlas-customers__title {
  margin: 20px 0 0;
}

.atlas-customers__lede {
  margin: 16px 0 0;
  max-width: 448px;
}

.atlas-customers__marquee {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atlas-customers__row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.atlas-customers__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: atlas-customers-marquee 54s linear infinite;
}

.atlas-customers__row--rev .atlas-customers__track {
  animation-direction: reverse;
  animation-duration: 56s;
}

@keyframes atlas-customers-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.atlas-quote {
  width: 320px;
  flex-shrink: 0;
  margin: 0;
  padding: 21px;
  border-radius: 16px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
}

.atlas-quote__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--atlas-cream);
}

.atlas-quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.atlas-quote__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  background-clip: padding-box;
}

.atlas-quote__avatar--maya {
  background: linear-gradient(135deg, #f9a8d4, #7c3aed);
}

.atlas-quote__avatar--diego {
  background: linear-gradient(135deg, #c4b5fd, #4f46e5);
}

.atlas-quote__avatar--priya {
  background: linear-gradient(135deg, #5eead4, #0ea5e9);
}

.atlas-quote__avatar--theo {
  background: linear-gradient(135deg, #fdba74, #f43f5e);
}

.atlas-quote__avatar--lena {
  background: linear-gradient(135deg, #fde68a, #d97706);
}

.atlas-quote__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--atlas-cream);
}

.atlas-quote__role {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--atlas-muted);
}

/* —— Deploy in minutes (Figma 19:41436) —— */

.atlas-deploy {
  padding: 80px 144px 96px;
}

.atlas-deploy__inner {
  width: min(768px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.atlas-deploy__title {
  margin: 20px 0 0;
}

.atlas-deploy__lede {
  margin: 16px 0 0;
  max-width: 576px;
}

.atlas-term {
  margin-top: 36px;
  width: min(576px, 100%);
  text-align: left;
  border-radius: 16px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.atlas-term__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 13px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.atlas-term__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

.atlas-term__dot--red {
  background: #ff5f57;
}

.atlas-term__dot--yellow {
  background: #febc2e;
}

.atlas-term__dot--green {
  background: #28c840;
}

.atlas-term__path {
  margin-left: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  line-height: 16.5px;
  color: rgba(255, 255, 255, 0.4);
}

.atlas-term__copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
  cursor: pointer;
}

.atlas-term__copy img {
  display: block;
  width: 12px;
  height: 12px;
}

.atlas-term__body {
  padding: 20px;
}

.atlas-term__cmd {
  margin: 0;
  display: flex;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 21.125px;
  color: rgba(255, 255, 255, 0.9);
}

.atlas-term__prompt {
  color: #00d492;
  flex-shrink: 0;
}

.atlas-term__line {
  margin: 8px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 21.125px;
  color: rgba(255, 255, 255, 0.55);
}

.atlas-term__line img {
  width: 14px;
  height: 14px;
  margin-top: 3.5px;
  display: block;
  flex-shrink: 0;
}

.atlas-deploy__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 720px) {
  .atlas-deploy {
    padding: 64px 32px 80px;
  }

  .atlas-term__cmd,
  .atlas-term__line {
    font-size: 12px;
    white-space: normal;
  }
}

/* —— Footer (Figma 37:1232) —— */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atlas-footer {
  background: var(--atlas-bg);
  padding: 64px 144px 32px;
}

.atlas-footer__inner {
  width: 1088px;
  max-width: 100%;
  margin: 0 auto;
}

.atlas-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 428fr) minmax(0, 612fr);
  gap: 48px;
  align-items: start;
}

.atlas-footer__brand {
  min-width: 0;
}

.atlas-footer__logo {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--atlas-cream);
}

.atlas-footer__tagline {
  margin: 12px 0 0;
  max-width: 320px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--atlas-muted);
}

.atlas-footer__status {
  margin: 20px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 9999px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--atlas-muted);
}

.atlas-footer__live {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00bc7d;
  flex-shrink: 0;
}

.atlas-footer__live::before {
  content: "";
  position: absolute;
  inset: -2.9px;
  border-radius: 999px;
  background: rgba(0, 188, 125, 0.7);
  opacity: 0.28;
}

.atlas-footer__col a:focus-visible {
  outline: 2px solid var(--color-accent, var(--atlas-blue, #2072d5));
  outline-offset: 2px;
}

.atlas-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  min-width: 0;
}

.atlas-footer__col {
  min-width: 0;
}

.atlas-footer__col-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--atlas-cream);
}

.atlas-footer__col ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atlas-footer__col a {
  display: inline-block;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--atlas-cream);
  opacity: 0.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.atlas-footer__col a:hover {
  opacity: 1;
}

.atlas-footer__bottom {
  margin-top: 56px;
  padding-top: 33px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.atlas-footer__copy {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--atlas-muted);
}

.atlas-footer__social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.atlas-footer__social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  text-decoration: none;
}

.atlas-footer__social-link img {
  display: block;
  width: 17px;
  height: 17px;
}

.atlas-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.atlas-footer__social-link:focus-visible {
  outline: 2px solid var(--color-accent, var(--atlas-blue, #2072d5));
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .atlas-footer {
    padding: 56px 48px 32px;
  }

  .atlas-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .atlas-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 48px;
  }
}

@media (max-width: 720px) {
  .atlas-footer {
    padding: 48px 24px 28px;
  }

  .atlas-footer__tagline {
    max-width: none;
  }

  .atlas-footer__nav {
    gap: 48px 32px;
  }

  .atlas-footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  .atlas-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
