:root {
  --atlas-base-hue: 40;
}

:root,
:root[data-atlas-theme="light"] {
  color-scheme: light;
  --atlas-bg: hsl(var(--atlas-base-hue) 24% 94%);
  --atlas-bg-secondary: hsl(var(--atlas-base-hue) 22% 89%);
  --atlas-surface: hsl(var(--atlas-base-hue) 30% 98% / 0.84);
  --atlas-surface-strong: hsl(var(--atlas-base-hue) 32% 98% / 0.96);
  --atlas-surface-soft: hsl(var(--atlas-base-hue) 22% 92% / 0.92);
  --atlas-line: hsl(var(--atlas-base-hue) 14% 18% / 0.08);
  --atlas-line-strong: hsl(var(--atlas-base-hue) 14% 18% / 0.15);
  --atlas-text: hsl(var(--atlas-base-hue) 18% 14%);
  --atlas-text-soft: hsl(var(--atlas-base-hue) 16% 18% / 0.78);
  --atlas-text-muted: hsl(var(--atlas-base-hue) 12% 22% / 0.54);
  --atlas-accent: hsl(var(--atlas-base-hue) 30% 44%);
  --atlas-accent-strong: hsl(var(--atlas-base-hue) 34% 32%);
  --atlas-accent-soft: hsl(var(--atlas-base-hue) 52% 58% / 0.14);
  --atlas-shadow: hsl(var(--atlas-base-hue) 18% 12% / 0.08);
  --atlas-shadow-strong: hsl(var(--atlas-base-hue) 18% 10% / 0.14);
  --atlas-plane: hsl(var(--atlas-base-hue) 28% 84% / 0.9);
  --atlas-grid-line: hsl(var(--atlas-base-hue) 16% 18% / 0.03);
  --atlas-logo-neutral: hsl(var(--atlas-base-hue) 18% 14%);
  --atlas-logo-accent: hsl(var(--atlas-base-hue) 52% 72%);
  --atlas-code-bg: hsl(var(--atlas-base-hue) 28% 94% / 0.98);
  --atlas-code-text: hsl(var(--atlas-base-hue) 18% 18%);
  --atlas-code-muted: hsl(var(--atlas-base-hue) 16% 18% / 0.34);
  --atlas-paper-bg: hsl(var(--atlas-base-hue) 34% 98% / 0.98);
  --atlas-paper-bg-strong: hsl(var(--atlas-base-hue) 34% 99%);
  --atlas-paper-text: hsl(var(--atlas-base-hue) 18% 16%);
  --atlas-paper-muted: hsl(var(--atlas-base-hue) 14% 18% / 0.62);
}

:root[data-atlas-theme="dark"] {
  color-scheme: dark;
  --atlas-bg: hsl(var(--atlas-base-hue) 18% 10%);
  --atlas-bg-secondary: hsl(var(--atlas-base-hue) 16% 14%);
  --atlas-surface: hsl(var(--atlas-base-hue) 18% 15% / 0.84);
  --atlas-surface-strong: hsl(var(--atlas-base-hue) 18% 17% / 0.96);
  --atlas-surface-soft: hsl(var(--atlas-base-hue) 16% 20% / 0.92);
  --atlas-line: hsl(var(--atlas-base-hue) 22% 94% / 0.08);
  --atlas-line-strong: hsl(var(--atlas-base-hue) 22% 94% / 0.15);
  --atlas-text: hsl(var(--atlas-base-hue) 26% 94%);
  --atlas-text-soft: hsl(var(--atlas-base-hue) 20% 92% / 0.82);
  --atlas-text-muted: hsl(var(--atlas-base-hue) 16% 86% / 0.56);
  --atlas-accent: hsl(var(--atlas-base-hue) 56% 78%);
  --atlas-accent-strong: hsl(var(--atlas-base-hue) 62% 84%);
  --atlas-accent-soft: hsl(var(--atlas-base-hue) 62% 74% / 0.15);
  --atlas-shadow: hsl(0 0% 0% / 0.24);
  --atlas-shadow-strong: hsl(0 0% 0% / 0.34);
  --atlas-plane: hsl(var(--atlas-base-hue) 18% 24% / 0.88);
  --atlas-grid-line: hsl(var(--atlas-base-hue) 20% 94% / 0.028);
  --atlas-logo-neutral: hsl(var(--atlas-base-hue) 26% 94%);
  --atlas-logo-accent: hsl(var(--atlas-base-hue) 64% 78%);
  --atlas-code-bg: hsl(var(--atlas-base-hue) 18% 12% / 0.98);
  --atlas-code-text: hsl(var(--atlas-base-hue) 24% 92%);
  --atlas-code-muted: hsl(var(--atlas-base-hue) 18% 92% / 0.18);
  --atlas-paper-bg: hsl(var(--atlas-base-hue) 16% 18% / 0.98);
  --atlas-paper-bg-strong: hsl(var(--atlas-base-hue) 32% 97%);
  --atlas-paper-text: hsl(var(--atlas-base-hue) 18% 14%);
  --atlas-paper-muted: hsl(var(--atlas-base-hue) 12% 20% / 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--atlas-bg);
  color: var(--atlas-text);
  font-family: "Nunito", sans-serif;
  transition: background-color 220ms ease, color 220ms ease;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.atlas-showcase-page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 20% 16%, hsl(var(--atlas-base-hue) 60% 99% / 0.16), transparent 30%),
    radial-gradient(circle at 82% 22%, hsl(var(--atlas-base-hue) 54% 98% / 0.1), transparent 26%),
    linear-gradient(180deg, var(--atlas-bg), var(--atlas-bg-secondary) 52%, var(--atlas-bg));
  transition: background 220ms ease;
}

.atlas-showcase-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--atlas-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--atlas-grid-line) 1px, transparent 1px);
  background-size: 100% 42px, 42px 100%;
}

.atlas-showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
}

.atlas-showcase-stage {
  position: relative;
  height: 100vh;
  padding: clamp(1rem, 2vw, 1.6rem);
  overflow: hidden;
}

.atlas-showcase-topbar {
  position: absolute;
  z-index: 10;
  top: clamp(1rem, 2vw, 1.4rem);
  left: clamp(1rem, 2vw, 1.4rem);
  right: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.atlas-showcase-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  padding: 0.6rem 0.82rem 0.6rem 0.68rem;
  border-radius: 999px;
  background: var(--atlas-surface);
  box-shadow:
    0 16px 32px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
  backdrop-filter: blur(20px);
}

.atlas-showcase-brand-mark,
.atlas-showcase-hero-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.atlas-showcase-logo {
  display: block;
  width: 1.25rem;
  height: auto;
  overflow: visible;
}

.atlas-showcase-logo-neutral,
.atlas-showcase-logo-accent {
  transform-box: fill-box;
  transform-origin: center;
}

.atlas-showcase-brand-copy,
.atlas-showcase-hero-copy {
  display: grid;
  gap: 0.08rem;
}

.atlas-showcase-brand-copy strong,
.atlas-showcase-hero-title,
.atlas-showcase-paper-heading,
.atlas-showcase-note-card h3 {
  font-family: "Raleway", sans-serif;
}

.atlas-showcase-brand-copy strong {
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atlas-showcase-brand-copy span,
.atlas-showcase-hero-subtitle {
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--atlas-text-muted);
}

.atlas-showcase-brand-copy span {
  font-size: 0.56rem;
  letter-spacing: 0.15em;
}

.atlas-showcase-theme-toggle {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  padding: 0.34rem 0.38rem 0.34rem 0.74rem;
  border-radius: 999px;
  background: var(--atlas-surface-strong);
  box-shadow:
    0 16px 32px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.atlas-showcase-theme-toggle:hover,
.atlas-showcase-theme-toggle:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow:
    0 20px 36px var(--atlas-shadow-strong),
    inset 0 0 0 1px var(--atlas-line-strong);
}

.atlas-showcase-theme-toggle-label,
.atlas-showcase-theme-toggle-value,
.atlas-showcase-card-label,
.atlas-showcase-note-card-source,
.atlas-showcase-note-card-kind,
.atlas-showcase-source-context,
.atlas-showcase-transfer-ghost-kicker {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-showcase-theme-toggle-label {
  color: var(--atlas-text-muted);
}

.atlas-showcase-theme-toggle-value {
  min-width: 3.5rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: var(--atlas-accent-soft);
  color: var(--atlas-accent-strong);
  text-align: center;
}

.atlas-showcase-backdrop,
.atlas-showcase-stage-particles,
.atlas-showcase-scene,
.atlas-showcase-hero {
  position: absolute;
  inset: 0;
}

.atlas-showcase-backdrop,
.atlas-showcase-hero {
  pointer-events: none;
}

.atlas-showcase-backdrop {
  z-index: 0;
}

.atlas-showcase-plane {
  position: absolute;
  border-radius: 999px;
  background: var(--atlas-plane);
  box-shadow:
    0 38px 70px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
}

.atlas-showcase-plane--left {
  width: min(34vw, 25rem);
  height: min(14vw, 9rem);
  top: 14%;
  left: -3rem;
}

.atlas-showcase-plane--right {
  width: min(28vw, 20rem);
  height: min(16vw, 10rem);
  top: 24%;
  right: -2rem;
}

.atlas-showcase-plane--bottom {
  width: min(42vw, 30rem);
  height: min(12vw, 8rem);
  left: 32%;
  bottom: 14%;
}

.atlas-showcase-stage-particles {
  z-index: 1;
}

.atlas-showcase-particle-field {
  opacity: 0;
  transition: opacity 260ms ease;
}

.atlas-showcase-particle-field.is-ready {
  opacity: 1;
}

.atlas-showcase-particle-field canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.atlas-showcase-hero {
  z-index: 2;
  display: grid;
  place-items: center;
}

.atlas-showcase-hero-stack {
  display: grid;
  justify-items: center;
  gap: clamp(0.85rem, 2vw, 1.3rem);
  width: min(36rem, calc(100% - 2rem));
  text-align: left;
  position: relative;
  z-index: 3;
}

.atlas-showcase-hero-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  padding: 0;
}

.atlas-showcase-hero-mark .atlas-showcase-logo {
  width: clamp(4.5rem, 9vw, 6.4rem);
}

.atlas-showcase-hero-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  filter: drop-shadow(0 20px 36px var(--atlas-shadow));
}

.atlas-showcase-hero-mark::after {
  content: "";
  position: absolute;
  inset: 12% -10% -10%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--atlas-accent-soft) 94%, transparent),
    transparent 68%
  );
  filter: blur(22px);
  opacity: 0.82;
  z-index: -1;
  animation: atlas-showcase-hero-aura 6.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.atlas-showcase-hero-title {
  font-size: clamp(1.9rem, 5.4vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.atlas-showcase-hero-subtitle {
  font-size: clamp(0.68rem, 1.12vw, 0.84rem);
}

.atlas-showcase-hero-caption {
  max-width: 28rem;
  margin: 0;
  color: var(--atlas-text-soft);
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  line-height: 1.42;
}

.atlas-showcase-hero-notes-shell,
.atlas-showcase-hero-notes-anchor {
  position: absolute;
  left: 50%;
  bottom: -8.2rem;
  width: min(36rem, calc(100% - 2rem));
}

.atlas-showcase-hero-notes-shell {
  pointer-events: none;
  z-index: 5;
}

.atlas-showcase-hero-notes-anchor {
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.atlas-showcase-download-actions {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.atlas-showcase-download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.atlas-showcase-download-button,
.atlas-showcase-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.78rem 1.14rem;
  border-radius: 999px;
  box-shadow:
    0 18px 32px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.atlas-showcase-download-button {
  background: var(--atlas-text);
  color: var(--atlas-bg);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.atlas-showcase-download-link {
  background: var(--atlas-surface-strong);
  color: var(--atlas-text-soft);
  gap: 0.48rem;
}

.atlas-showcase-download-button:hover,
.atlas-showcase-download-button:focus-visible,
.atlas-showcase-download-link:hover,
.atlas-showcase-download-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow:
    0 22px 36px var(--atlas-shadow-strong),
    inset 0 0 0 1px var(--atlas-line-strong);
}

.atlas-showcase-download-meta {
  margin: 0;
  color: var(--atlas-text-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.atlas-showcase-download-actions.is-compact {
  gap: 0.45rem;
}

.atlas-showcase-download-actions.is-compact .atlas-showcase-download-button,
.atlas-showcase-download-actions.is-compact .atlas-showcase-download-link {
  min-height: 2.5rem;
  padding: 0.68rem 1rem;
}

.atlas-showcase-scene {
  z-index: 4;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 9vw, 7.5rem) clamp(1rem, 3vw, 2.2rem) clamp(4rem, 8vw, 5.5rem);
}

.atlas-showcase-demo {
  position: relative;
  width: min(1160px, 100%);
  min-height: min(46rem, calc(100vh - 8rem));
  padding-top: clamp(4.4rem, 9vw, 5.6rem);
  display: grid;
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: end;
}

.atlas-showcase-demo--capture {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.atlas-showcase-demo--render {
  width: min(780px, 100%);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: stretch;
}

.atlas-showcase-info {
  position: relative;
  width: min(840px, 100%);
  min-height: min(42rem, calc(100vh - 8rem));
  padding-top: clamp(4.4rem, 9vw, 5.6rem);
}

.atlas-showcase-text-flow {
  display: grid;
  width: min(40rem, 100%);
  margin: 0 auto;
  gap: 0.9rem;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.atlas-showcase-demo-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.atlas-showcase-motion-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.atlas-showcase-scene-copy {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(36rem, calc(100% - 2rem));
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.atlas-showcase-scene-copy-track {
  position: relative;
  min-height: 3.5rem;
}

.atlas-showcase-scene-copy-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  border-radius: 1.35rem;
  background: var(--atlas-surface);
  box-shadow:
    0 20px 44px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
  backdrop-filter: blur(20px);
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.88rem, 1.5vw, 1.14rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.atlas-showcase-card,
.atlas-showcase-render-output {
  position: relative;
  z-index: 2;
}

.atlas-showcase-card {
  border-radius: 1.8rem;
  background: var(--atlas-surface-strong);
  box-shadow:
    0 28px 60px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
  backdrop-filter: blur(22px);
}

.atlas-showcase-card-label {
  color: var(--atlas-text-muted);
}

.atlas-showcase-card--source,
.atlas-showcase-card--notes,
.atlas-showcase-card--render-morph,
.atlas-showcase-card--code,
.atlas-showcase-card--paper {
  padding: clamp(1rem, 2vw, 1.3rem);
}

.atlas-showcase-card--source {
  display: grid;
  gap: 0.9rem;
  align-self: stretch;
}

.atlas-showcase-browser-shell {
  border-radius: 1.35rem;
  background: var(--atlas-surface-soft);
  box-shadow: inset 0 0 0 1px var(--atlas-line);
  overflow: hidden;
}

.atlas-showcase-browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.82rem;
  background: color-mix(in srgb, var(--atlas-surface-strong) 84%, var(--atlas-bg));
  border-bottom: 1px solid var(--atlas-line);
}

.atlas-showcase-browser-dots {
  display: flex;
  gap: 0.28rem;
  flex-shrink: 0;
}

.atlas-showcase-browser-dots span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--atlas-text-muted) 36%, transparent);
}

.atlas-showcase-browser-address {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--atlas-surface-strong) 92%, transparent);
  box-shadow: inset 0 0 0 1px var(--atlas-line);
}

.atlas-showcase-browser-address-lock {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--atlas-accent-strong) 58%, transparent);
  background: color-mix(in srgb, var(--atlas-accent-soft) 74%, transparent);
  flex: 0 0 auto;
}

.atlas-showcase-browser-address-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--atlas-text-soft);
}

.atlas-showcase-browser-actions {
  display: flex;
  gap: 0.34rem;
  flex-shrink: 0;
}

.atlas-showcase-browser-actions span {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.38rem;
  background: color-mix(in srgb, var(--atlas-surface-strong) 88%, transparent);
  box-shadow: inset 0 0 0 1px var(--atlas-line);
}

.atlas-showcase-browser-page-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0.82rem 0.9rem 0;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: var(--atlas-accent-soft);
  color: var(--atlas-accent-strong);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-showcase-browser-page-pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.76;
}

.atlas-showcase-browser-article {
  display: grid;
  gap: 0.72rem;
  padding: 0.72rem 0.9rem 0.9rem;
}

.atlas-showcase-browser-kicker {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atlas-accent-strong);
}

.atlas-showcase-card--notes {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.9rem;
  min-height: clamp(24rem, 54vh, 31rem);
}

.atlas-showcase-card--notes-preview {
  min-height: 0;
  grid-template-rows: auto 1fr;
  gap: 0.82rem;
  padding-bottom: 1.1rem;
}

.atlas-showcase-source-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.atlas-showcase-source-button {
  appearance: none;
  border: 0;
  position: relative;
  border-radius: 1.25rem;
  background: var(--atlas-surface-soft);
  box-shadow: inset 0 0 0 1px var(--atlas-line);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.atlas-showcase-source-button:hover,
.atlas-showcase-source-button:focus-visible,
.atlas-showcase-note-card.is-clickable:hover,
.atlas-showcase-note-card.is-clickable:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow:
    0 16px 28px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line-strong);
}

.atlas-showcase-source-button.is-active {
  background: var(--atlas-accent-soft);
  box-shadow:
    0 16px 28px var(--atlas-shadow),
    inset 0 0 0 1px color-mix(in srgb, var(--atlas-accent-strong) 28%, transparent);
}

.atlas-showcase-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
}

.atlas-showcase-source-title {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 0.96rem;
  font-family: "Raleway", sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  font-weight: 700;
  line-height: 1.1;
}

.atlas-showcase-source-figure {
  width: 100%;
  min-height: 12rem;
  padding: 0.72rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.atlas-showcase-source-figure--browser {
  min-height: 0;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  padding: 0.56rem 2rem 0.56rem 0.56rem;
}

.atlas-showcase-source-figure--static {
  cursor: default;
}

.atlas-showcase-cow {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  max-height: 10.8rem;
}

.atlas-showcase-browser-figure-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding-right: 1.2rem;
}

.atlas-showcase-browser-figure-label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atlas-accent-strong);
}

.atlas-showcase-browser-figure-skeleton {
  max-width: 8.4rem;
}

.atlas-showcase-browser-excerpt {
  margin: 0;
  padding: 0.64rem 0.74rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--atlas-surface-strong) 72%, transparent);
  box-shadow: inset 0 0 0 1px var(--atlas-line);
  font-size: 0.7rem;
  line-height: 1.46;
  color: var(--atlas-text-soft);
}

.atlas-showcase-browser-excerpt--skeleton .atlas-showcase-skeleton-row {
  height: 0.46rem;
}

.atlas-showcase-source-row--foot {
  justify-content: space-between;
  align-items: stretch;
}

.atlas-showcase-source-finding {
  min-width: 12rem;
  padding: 0.9rem 1rem;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
}

.atlas-showcase-source-finding strong {
  font-family: "Raleway", sans-serif;
  font-size: 1.42rem;
  line-height: 1;
}

.atlas-showcase-source-context {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--atlas-line);
  color: var(--atlas-text-muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.atlas-showcase-source-context.is-active {
  opacity: 1;
  transform: translateY(0);
}

.atlas-showcase-stack-slot {
  position: relative;
  z-index: 0;
  height: 3.5rem;
  border-radius: 1rem;
  border: 1px dashed var(--atlas-line-strong);
  background: color-mix(in srgb, var(--atlas-surface-strong) 24%, transparent);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.atlas-showcase-stack-slot.is-active {
  border-color: color-mix(in srgb, var(--atlas-accent-strong) 34%, transparent);
  background: var(--atlas-accent-soft);
}

.atlas-showcase-note-stack {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.atlas-showcase-note-stack.is-overlaying-slot {
  position: relative;
  z-index: 1;
}

.atlas-showcase-note-stack.is-overlaying-slot > .atlas-showcase-note-card:first-child {
  margin-top: calc(-3.5rem - 0.66rem);
  z-index: 2;
}

.atlas-showcase-note-stack--render {
  padding-top: 0.1rem;
}

.atlas-showcase-note-stack--preview {
  gap: 0.62rem;
}

.atlas-showcase-empty-copy {
  margin: 0;
  color: var(--atlas-text-muted);
  text-align: center;
  padding: 1.2rem 0.4rem;
  font-size: 0.78rem;
}

.atlas-showcase-note-card {
  appearance: none;
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: stretch;
  border-radius: 1.35rem;
  background: var(--atlas-surface);
  box-shadow:
    0 16px 28px var(--atlas-shadow),
    inset 0 0 0 1px var(--atlas-line);
  overflow: hidden;
  text-align: left;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.atlas-showcase-note-card.is-highlighted {
  transform: translateY(-3px);
}

.atlas-showcase-note-card-bar {
  background: linear-gradient(180deg, var(--atlas-accent), var(--atlas-accent-strong));
}

.atlas-showcase-note-card-body {
  min-width: 0;
  padding: 0.9rem 0.96rem 0.92rem 0;
}

.atlas-showcase-note-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.34rem;
}

.atlas-showcase-note-card-source {
  color: var(--atlas-text-muted);
}

.atlas-showcase-note-card-kind {
  color: var(--atlas-accent-strong);
}

.atlas-showcase-note-card h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.atlas-showcase-note-card p,
.atlas-showcase-paper-paragraph,
.atlas-showcase-paper-reference {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--atlas-text-soft);
}

.atlas-showcase-card--render-morph {
  width: min(100%, 31rem);
  display: grid;
  padding: 0.78rem;
  overflow: visible;
}

.atlas-showcase-card--render-anchor,
.atlas-showcase-card--persistent-anchor {
  visibility: hidden;
  pointer-events: none;
}

.atlas-showcase-card--render-anchor {
  align-self: center;
}

.atlas-showcase-render-morph-head {
  display: block;
}

.atlas-showcase-render-label-track {
  position: relative;
  min-height: 0.9rem;
}

.atlas-showcase-render-label-track--inside {
  position: absolute;
  top: 0.86rem;
  left: 1rem;
  right: 1rem;
  z-index: 6;
}

.atlas-showcase-render-label-track .atlas-showcase-card-label {
  position: absolute;
  inset: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atlas-showcase-render-stage {
  --atlas-render-stage-radius: 1.55rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--atlas-render-stage-radius);
  padding-top: 1.7rem;
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--atlas-accent-soft) 46%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--atlas-surface-soft) 86%, transparent), var(--atlas-surface));
  box-shadow:
    inset 0 0 0 1px var(--atlas-line),
    0 20px 42px var(--atlas-shadow);
  isolation: isolate;
}

.atlas-showcase-render-surface {
  position: absolute;
  pointer-events: none;
}

.atlas-showcase-render-layer,
.atlas-showcase-render-layer-clip {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.atlas-showcase-render-layer {
  isolation: isolate;
}

.atlas-showcase-render-layer-clip {
  z-index: 2;
  will-change: clip-path;
}

.atlas-showcase-render-layer--notes {
  z-index: 1;
}

.atlas-showcase-render-layer--text {
  z-index: 2;
}

.atlas-showcase-render-layer--pdf {
  z-index: 3;
}

.atlas-showcase-render-surface--notes {
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--atlas-surface-strong) 36%, transparent), transparent 28%),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--atlas-line) 62%, transparent), transparent);
  opacity: 0.84;
}

.atlas-showcase-render-surface--text {
  inset: 7%;
  border-radius: 1.3rem;
  background: var(--atlas-code-bg);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--atlas-line-strong) 86%, transparent),
    0 18px 32px var(--atlas-shadow);
  overflow: hidden;
}

.atlas-showcase-render-surface--pdf {
  border-radius: 1.3rem;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--atlas-paper-bg-strong) 92%, white 8%),
      color-mix(in srgb, var(--atlas-paper-bg) 96%, white 4%)
    );
  box-shadow:
    0 22px 44px var(--atlas-shadow),
    inset 0 0 0 1px color-mix(in srgb, var(--atlas-line-strong) 86%, transparent);
  overflow: hidden;
}

.atlas-showcase-render-paper-margin {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 11%;
  width: 1px;
  background: color-mix(in srgb, var(--atlas-paper-muted) 54%, transparent);
}

.atlas-showcase-render-sweep {
  position: absolute;
  z-index: 8;
  top: -18%;
  bottom: -18%;
  width: 34%;
  border-radius: 999px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 41%,
      color-mix(in srgb, var(--atlas-accent-soft) 72%, transparent) 47%,
      color-mix(in srgb, var(--atlas-text) 88%, var(--atlas-accent-strong)) 50%,
      color-mix(in srgb, var(--atlas-accent-soft) 72%, transparent) 53%,
      transparent 59%,
      transparent 100%
    );
  box-shadow:
    0 0 2rem color-mix(in srgb, var(--atlas-accent-soft) 34%, transparent);
}

.atlas-showcase-render-sweep--text {
  mix-blend-mode: screen;
}

.atlas-showcase-render-sweep--pdf {
  mix-blend-mode: multiply;
}

.atlas-showcase-render-node {
  position: absolute;
  z-index: 2;
}

.atlas-showcase-render-doc {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.atlas-showcase-render-doc--text {
  inset: 10.5% 11.5% 10.5% 12.5%;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.atlas-showcase-render-doc--pdf {
  inset: 9.5% 10.5% 10% 18%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
}

.atlas-showcase-render-doc-block {
  display: grid;
  gap: 0.34rem;
}

.atlas-showcase-render-doc-block--body {
  align-content: start;
  gap: 0.8rem;
}

.atlas-showcase-render-doc-footer {
  margin-top: auto;
  display: grid;
  gap: 0.56rem;
}

.atlas-showcase-render-doc-row {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.64rem;
  line-height: 1.42;
  white-space: pre-wrap;
}

.atlas-showcase-render-doc-row.is-muted {
  color: var(--atlas-code-muted);
  font-size: 0.58rem;
  line-height: 1.34;
}

.atlas-showcase-render-doc-row--section {
  color: var(--atlas-code-text);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.34;
}

.atlas-showcase-render-doc-row--paragraph {
  max-width: 84%;
  color: var(--atlas-code-text);
  font-size: 0.7rem;
  line-height: 1.44;
}

.atlas-showcase-render-doc-row--citation {
  color: var(--atlas-code-text);
  font-size: 0.72rem;
  line-height: 1.36;
}

.atlas-showcase-render-doc-divider {
  height: 1px;
  background: color-mix(in srgb, var(--atlas-line-strong) 72%, transparent);
}

.atlas-showcase-render-node-view {
  position: absolute;
  inset: 0;
}

.atlas-showcase-render-node-view--note {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 0.85rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--atlas-surface-strong) 94%, transparent);
  box-shadow:
    0 18px 32px var(--atlas-shadow),
    inset 0 0 0 1px color-mix(in srgb, var(--atlas-line-strong) 86%, transparent);
  transform-origin: center center;
}

.atlas-showcase-render-node-note-bar {
  background: linear-gradient(180deg, var(--atlas-accent), var(--atlas-accent-strong));
}

.atlas-showcase-render-node-note-body {
  min-width: 0;
  padding: 0.82rem 0.9rem 0.86rem 0;
}

.atlas-showcase-render-node-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.32rem;
  color: var(--atlas-text-muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.atlas-showcase-render-node-note-head span:last-child {
  color: var(--atlas-accent-strong);
}

.atlas-showcase-render-node-note-body strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.atlas-showcase-render-node-note-body p {
  margin: 0.42rem 0 0;
  font-size: 0.74rem;
  line-height: 1.38;
  color: var(--atlas-text-soft);
}

.atlas-showcase-render-pdf-head {
  display: grid;
  gap: 0.12rem;
}

.atlas-showcase-render-pdf-title {
  color: var(--atlas-paper-muted);
  font-size: 0.62rem;
  line-height: 1.3;
}

.atlas-showcase-render-pdf-byline {
  color: color-mix(in srgb, var(--atlas-paper-muted) 78%, transparent);
  font-size: 0.58rem;
  line-height: 1.28;
}

.atlas-showcase-render-pdf-body {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.atlas-showcase-render-pdf-heading {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--atlas-paper-text);
}

.atlas-showcase-render-pdf-paragraph,
.atlas-showcase-render-pdf-reference {
  margin: 0;
  max-width: 86%;
  font-size: 0.78rem;
  line-height: 1.48;
}

.atlas-showcase-render-pdf-paragraph {
  color: var(--atlas-paper-text);
}

.atlas-showcase-render-pdf-reference {
  color: var(--atlas-paper-muted);
}

.atlas-showcase-render-pdf-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--atlas-paper-muted) 44%, transparent);
}

.atlas-showcase-render-pdf-foot span {
  display: block;
  max-width: 88%;
  color: var(--atlas-paper-muted);
  font-size: 0.62rem;
  line-height: 1.38;
}

.atlas-showcase-render-footer {
  position: absolute;
  z-index: 1;
  left: 16%;
  right: 16%;
  bottom: 10%;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
}

.atlas-showcase-render-footer span {
  display: block;
  height: 1px;
  background: color-mix(in srgb, var(--atlas-paper-muted) 54%, transparent);
}

.atlas-showcase-render-footer span:first-child {
  width: 20%;
}

.atlas-showcase-render-footer span:last-child {
  width: 12%;
}

.atlas-showcase-render-output {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.atlas-showcase-card--code,
.atlas-showcase-card--paper {
  min-height: 14rem;
}

.atlas-showcase-end-tech {
  margin: 0;
  color: var(--atlas-text-muted);
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: center;
}

.atlas-showcase-info-title {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.16rem, 2.4vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.atlas-showcase-info-lead {
  margin: 0;
  color: var(--atlas-text-soft);
  font-size: clamp(0.84rem, 1.2vw, 0.98rem);
  line-height: 1.5;
  text-wrap: balance;
}

.atlas-showcase-info-body {
  margin: 0;
  color: var(--atlas-text-soft);
  font-size: 0.84rem;
  line-height: 1.52;
  text-wrap: balance;
}

.atlas-showcase-inline-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.atlas-showcase-inline-links--final {
  margin-top: -0.1rem;
}

.atlas-showcase-inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.36rem 0.1rem;
  color: var(--atlas-text-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.atlas-showcase-inline-links a:hover,
.atlas-showcase-inline-links a:focus-visible {
  outline: none;
  color: var(--atlas-text);
}

.atlas-showcase-download-actions--final {
  justify-items: center;
}

.atlas-showcase-github-mark {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.atlas-showcase-skeleton-rows {
  display: grid;
  width: 100%;
  gap: 0.36rem;
}

.atlas-showcase-skeleton-row {
  display: block;
  height: 0.52rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--atlas-line-strong) 92%, transparent);
}

.atlas-showcase-renderer-code,
.atlas-showcase-paper-sheet {
  margin-top: 0.7rem;
  padding: 1rem;
  border-radius: 1.2rem;
  box-shadow: inset 0 0 0 1px var(--atlas-line);
}

.atlas-showcase-renderer-code {
  background: var(--atlas-code-bg);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.atlas-showcase-code-line {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.08rem;
  min-height: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.38;
}

.atlas-showcase-code-line--gap {
  min-height: 0.92rem;
}

.atlas-showcase-code-keyword {
  color: var(--atlas-accent-strong);
}

.atlas-showcase-code-brace,
.atlas-showcase-code-arg {
  color: var(--atlas-text-soft);
}

.atlas-showcase-code-text {
  color: var(--atlas-text);
}

.atlas-showcase-code-text--typed {
  max-width: 100%;
}

.atlas-showcase-cursor {
  width: 0.5rem;
  height: 1rem;
  margin-top: 0.08rem;
  border-radius: 999px;
  background: var(--atlas-accent-strong);
  animation: atlas-showcase-cursor-blink 1s steps(2, start) infinite;
}

.atlas-showcase-paper-sheet {
  background: var(--atlas-paper-bg);
}

.atlas-showcase-paper-heading {
  font-size: 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.atlas-showcase-paper-heading--small {
  margin-top: 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atlas-text-muted);
}

.atlas-showcase-paper-lines {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.88rem;
}

.atlas-showcase-paper-line {
  display: block;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--atlas-line);
}

.atlas-showcase-paper-line--long {
  width: 100%;
}

.atlas-showcase-paper-line--med {
  width: 84%;
}

.atlas-showcase-paper-line--soft {
  width: 62%;
}

.atlas-showcase-paper-rule {
  margin-top: 1rem;
  border-top: 1px solid var(--atlas-line-strong);
}

.atlas-showcase-arrow-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--atlas-accent-strong);
}

.atlas-showcase-arrow-path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
}

.atlas-showcase-arrow-path.is-soft {
  stroke-dasharray: 2 10;
  opacity: 0.8;
}

.atlas-showcase-transfer-ghost {
  position: absolute;
  z-index: 4;
  padding: 0.72rem 0.9rem;
  border-radius: 1rem;
  background: var(--atlas-surface-strong);
  box-shadow:
    0 18px 34px var(--atlas-shadow-strong),
    inset 0 0 0 1px var(--atlas-line-strong);
  backdrop-filter: blur(20px);
  pointer-events: none;
}

.atlas-showcase-demo-pointer {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 1.55rem;
  height: 1.55rem;
  margin-left: -0.78rem;
  margin-top: -0.78rem;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.atlas-showcase-demo-pointer-ring,
.atlas-showcase-demo-pointer-core {
  position: absolute;
  border-radius: 999px;
}

.atlas-showcase-demo-pointer-ring {
  inset: 0;
  background: color-mix(in srgb, var(--atlas-surface-strong) 94%, transparent);
  box-shadow:
    0 16px 28px var(--atlas-shadow-strong),
    inset 0 0 0 1px color-mix(in srgb, var(--atlas-text) 10%, transparent);
  backdrop-filter: blur(10px);
}

.atlas-showcase-demo-pointer-core {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--atlas-text);
  box-shadow: 0 0 0 0.28rem color-mix(in srgb, var(--atlas-accent-soft) 84%, transparent);
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.atlas-showcase-demo-pointer.is-pressed .atlas-showcase-demo-pointer-ring {
  transform: scale(0.92);
}

.atlas-showcase-demo-pointer.is-pressed .atlas-showcase-demo-pointer-core {
  transform: scale(0.86);
}

.atlas-showcase-transfer-ghost--manual {
  animation: atlas-showcase-transfer-ghost 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.atlas-showcase-transfer-ghost-kicker {
  display: block;
  color: var(--atlas-text-muted);
}

.atlas-showcase-transfer-ghost-label {
  display: block;
  margin-top: 0.25rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.05;
}

.atlas-showcase-transfer-ghost-text {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--atlas-text-soft);
}

.atlas-showcase-cow-sky {
  fill: color-mix(in srgb, var(--atlas-accent-soft) 36%, transparent);
}

.atlas-showcase-cow-sun {
  fill: hsl(calc(var(--atlas-base-hue) + 18) 74% 74% / 0.72);
}

.atlas-showcase-cow-hill {
  fill: hsl(calc(var(--atlas-base-hue) + 82) 28% 58% / 0.34);
}

.atlas-showcase-cow-hill-soft {
  fill: hsl(calc(var(--atlas-base-hue) + 82) 24% 68% / 0.22);
}

.atlas-showcase-cow-shadow {
  fill: color-mix(in srgb, var(--atlas-text) 10%, transparent);
}

.atlas-showcase-cow-body,
.atlas-showcase-cow-head {
  fill: rgba(255, 252, 248, 0.96);
}

.atlas-showcase-cow-spot {
  fill: color-mix(in srgb, var(--atlas-text) 78%, transparent);
}

.atlas-showcase-cow-eye {
  fill: color-mix(in srgb, var(--atlas-text) 88%, transparent);
}

.atlas-showcase-cow-leg {
  fill: color-mix(in srgb, var(--atlas-accent-strong) 72%, var(--atlas-text) 28%);
}

:root[data-atlas-theme="dark"] .atlas-showcase-cow-shadow {
  fill: hsl(0 0% 0% / 0.16);
}

:root[data-atlas-theme="dark"] .atlas-showcase-cow-body,
:root[data-atlas-theme="dark"] .atlas-showcase-cow-head {
  fill: rgba(242, 239, 233, 0.92);
}

.atlas-showcase-scroll-track {
  position: relative;
  z-index: 0;
  pointer-events: none;
}

.atlas-showcase-scroll-step {
  height: 140vh;
}

@keyframes atlas-showcase-transfer-ghost {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.94);
  }

  14% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(
        calc(-50% + var(--atlas-showcase-ghost-dx, 0px)),
        calc(-50% + var(--atlas-showcase-ghost-dy, 0px)),
        0
      )
      scale(0.92);
  }
}

@keyframes atlas-showcase-cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes atlas-showcase-hero-aura {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.74;
  }

  50% {
    transform: translate3d(0, -6px, 0) scale(1.08);
    opacity: 0.96;
  }
}

@media (max-width: 980px) {
  .atlas-showcase-scene {
    padding-top: 5.4rem;
    padding-bottom: 3rem;
  }

  .atlas-showcase-demo,
  .atlas-showcase-demo--capture,
  .atlas-showcase-demo--render,
  .atlas-showcase-info {
    width: min(640px, 100%);
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .atlas-showcase-render-output {
    grid-template-columns: 1fr;
  }

  .atlas-showcase-card--notes {
    min-height: 0;
  }

  .atlas-showcase-scroll-step {
    height: 122vh;
  }
}

@media (max-width: 720px) {
  .atlas-showcase-stage {
    padding: 0.75rem;
  }

  .atlas-showcase-topbar {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    align-items: flex-start;
  }

  .atlas-showcase-brand-lockup {
    padding-right: 0.72rem;
  }

  .atlas-showcase-theme-toggle {
    padding-left: 0.64rem;
  }

  .atlas-showcase-theme-toggle-label {
    display: none;
  }

  .atlas-showcase-hero-lockup {
    gap: 0.9rem;
    padding: 0;
  }

  .atlas-showcase-hero-stack {
    width: min(100%, 32rem);
    gap: 0.78rem;
  }

  .atlas-showcase-hero-caption {
    max-width: 20rem;
    font-size: 0.92rem;
  }

  .atlas-showcase-hero-notes-shell,
  .atlas-showcase-hero-notes-anchor {
    bottom: -7rem;
    width: min(31rem, calc(100% - 1.4rem));
  }

  .atlas-showcase-download-row {
    width: 100%;
    display: grid;
  }

  .atlas-showcase-download-button,
  .atlas-showcase-download-link {
    width: 100%;
  }

  .atlas-showcase-scene-copy-line {
    font-size: 0.96rem;
  }

  .atlas-showcase-card--source,
  .atlas-showcase-card--notes,
  .atlas-showcase-card--render-morph,
  .atlas-showcase-card--code,
  .atlas-showcase-card--paper {
    padding: 0.9rem;
  }

  .atlas-showcase-browser-chrome {
    padding: 0.62rem 0.72rem;
  }

  .atlas-showcase-browser-page-pill {
    margin: 0.72rem 0.78rem 0;
  }

  .atlas-showcase-browser-article {
    padding: 0.68rem 0.78rem 0.78rem;
  }

  .atlas-showcase-source-title {
    font-size: 0.92rem;
  }

  .atlas-showcase-source-figure--browser {
    grid-template-columns: 1fr;
    padding-right: 0.56rem;
  }

  .atlas-showcase-browser-figure-copy {
    padding-right: 0;
  }

  .atlas-showcase-source-finding {
    width: 100%;
    min-width: 0;
  }

  .atlas-showcase-source-row--foot {
    flex-direction: column;
    align-items: stretch;
  }

  .atlas-showcase-note-card {
    grid-template-columns: 4px minmax(0, 1fr);
  }

  .atlas-showcase-card--render-morph {
    gap: 0.82rem;
  }

  .atlas-showcase-card--render-morph {
    width: min(100%, 28.5rem);
  }

  .atlas-showcase-render-stage {
    --atlas-render-stage-radius: 1.38rem;
    border-radius: 1.38rem;
  }

  .atlas-showcase-render-sweep {
    width: 38%;
  }

  .atlas-showcase-render-node-note-body {
    padding: 0.74rem 0.8rem 0.78rem 0;
  }

  .atlas-showcase-render-node-note-body strong {
    font-size: 0.8rem;
  }

  .atlas-showcase-render-node-note-body p {
    font-size: 0.66rem;
  }

  .atlas-showcase-render-doc-row {
    font-size: 0.58rem;
  }

  .atlas-showcase-render-doc-row.is-muted {
    font-size: 0.54rem;
  }

  .atlas-showcase-render-doc-row--section {
    font-size: 0.78rem;
  }

  .atlas-showcase-render-doc-row--paragraph,
  .atlas-showcase-render-doc-row--citation {
    font-size: 0.66rem;
  }

  .atlas-showcase-render-pdf-heading {
    font-size: 0.86rem;
  }

  .atlas-showcase-render-pdf-paragraph,
  .atlas-showcase-render-pdf-reference {
    font-size: 0.68rem;
    line-height: 1.34;
  }

  .atlas-showcase-render-pdf-foot span,
  .atlas-showcase-render-pdf-title {
    font-size: 0.56rem;
  }

  .atlas-showcase-scroll-step {
    height: 114vh;
  }
}

@media (max-width: 560px) {
  .atlas-showcase-stage {
    padding: 0.62rem;
  }

  .atlas-showcase-scene {
    padding: 4.65rem 0.58rem 1.4rem;
  }

  .atlas-showcase-demo {
    gap: 0.72rem;
    padding-top: 3.2rem;
  }

  .atlas-showcase-info {
    padding-top: 3.2rem;
  }

  .atlas-showcase-scene-copy {
    width: calc(100% - 0.4rem);
  }

  .atlas-showcase-scene-copy-track {
    min-height: 2.8rem;
  }

  .atlas-showcase-scene-copy-line {
    padding: 0.72rem 0.86rem;
    font-size: 0.78rem;
    line-height: 1.16;
  }

  .atlas-showcase-plane--right,
  .atlas-showcase-plane--bottom {
    display: none;
  }

  .atlas-showcase-plane--left {
    width: min(50vw, 10rem);
    height: min(18vw, 4rem);
    top: 18%;
    left: -1.4rem;
  }

  .atlas-showcase-hero-stack {
    gap: 0.7rem;
  }

  .atlas-showcase-hero-notes-shell,
  .atlas-showcase-hero-notes-anchor {
    bottom: -5.8rem;
    width: calc(100% - 1rem);
  }

  .atlas-showcase-card--source,
  .atlas-showcase-card--notes,
  .atlas-showcase-card--render-morph,
  .atlas-showcase-card--code,
  .atlas-showcase-card--paper {
    padding: 0.75rem;
  }

  .atlas-showcase-card--source {
    gap: 0.72rem;
  }

  .atlas-showcase-browser-chrome {
    gap: 0.36rem;
    padding: 0.5rem 0.58rem;
  }

  .atlas-showcase-browser-address {
    padding: 0.34rem 0.54rem;
  }

  .atlas-showcase-browser-page-pill {
    display: none;
  }

  .atlas-showcase-browser-article {
    gap: 0.58rem;
    padding: 0.56rem 0.64rem 0.64rem;
  }

  .atlas-showcase-browser-kicker {
    font-size: 0.46rem;
  }

  .atlas-showcase-source-title {
    padding: 0.78rem 0.84rem;
    font-size: 0.76rem;
    line-height: 1.14;
  }

  .atlas-showcase-source-figure--browser {
    grid-template-columns: minmax(0, 5.8rem) minmax(0, 1fr);
    gap: 0.42rem;
    padding: 0.38rem 0.48rem;
  }

  .atlas-showcase-cow {
    max-height: 5.2rem;
  }

  .atlas-showcase-browser-figure-copy {
    gap: 0.08rem;
  }

  .atlas-showcase-browser-figure-skeleton {
    max-width: 5rem;
  }

  .atlas-showcase-browser-excerpt {
    padding: 0.5rem 0.58rem;
    font-size: 0.6rem;
    line-height: 1.28;
  }

  .atlas-showcase-source-finding {
    padding: 0.7rem 0.78rem;
    gap: 0.5rem;
  }

  .atlas-showcase-source-finding strong {
    font-size: 1.28rem;
  }

  .atlas-showcase-source-context {
    padding: 0.56rem 0.72rem;
  }

  .atlas-showcase-card--notes {
    gap: 0.7rem;
  }

  .atlas-showcase-card--render-morph {
    width: min(100%, 23.8rem);
  }

  .atlas-showcase-card--notes-preview {
    padding-bottom: 0.82rem;
  }

  .atlas-showcase-note-stack {
    gap: 0.5rem;
  }

  .atlas-showcase-note-stack.is-overlaying-slot > .atlas-showcase-note-card:first-child {
    margin-top: calc(-3.5rem - 0.54rem);
  }

  .atlas-showcase-note-card-body {
    padding: 0.72rem 0.78rem 0.74rem 0;
  }

  .atlas-showcase-note-card h3 {
    font-size: 0.74rem;
    line-height: 1.12;
  }

  .atlas-showcase-note-card p,
  .atlas-showcase-paper-paragraph,
  .atlas-showcase-paper-reference {
    font-size: 0.66rem;
    line-height: 1.28;
  }

  .atlas-showcase-render-output {
    gap: 0.75rem;
  }

  .atlas-showcase-render-label-track .atlas-showcase-card-label {
    font-size: 0.58rem;
  }

  .atlas-showcase-render-stage {
    --atlas-render-stage-radius: 1.18rem;
    border-radius: 1.18rem;
    padding-top: 1.9rem;
  }

  .atlas-showcase-render-surface--text,
  .atlas-showcase-render-surface--pdf {
    border-radius: 1.05rem;
  }

  .atlas-showcase-render-sweep {
    width: 42%;
  }

  .atlas-showcase-render-node-note-head {
    font-size: 0.48rem;
  }

  .atlas-showcase-render-node-note-body {
    padding: 0.64rem 0.7rem 0.68rem 0;
  }

  .atlas-showcase-render-node-note-body strong {
    font-size: 0.68rem;
  }

  .atlas-showcase-render-node-note-body p {
    font-size: 0.58rem;
    line-height: 1.26;
  }

  .atlas-showcase-render-doc--text {
    inset: 11% 10% 10% 11%;
    gap: 0.62rem;
  }

  .atlas-showcase-render-doc--pdf {
    inset: 10% 9% 10% 17%;
    gap: 0.78rem;
  }

  .atlas-showcase-render-doc-row {
    font-size: 0.52rem;
    line-height: 1.34;
  }

  .atlas-showcase-render-doc-row.is-muted {
    font-size: 0.48rem;
    line-height: 1.28;
  }

  .atlas-showcase-render-doc-row--section {
    font-size: 0.68rem;
  }

  .atlas-showcase-render-doc-row--paragraph,
  .atlas-showcase-render-doc-row--citation {
    max-width: 88%;
    font-size: 0.58rem;
    line-height: 1.36;
  }

  .atlas-showcase-render-pdf-heading {
    font-size: 0.74rem;
  }

  .atlas-showcase-render-pdf-paragraph,
  .atlas-showcase-render-pdf-reference {
    max-width: 92%;
    font-size: 0.6rem;
    line-height: 1.3;
  }

  .atlas-showcase-render-pdf-foot {
    padding-top: 0.52rem;
  }

  .atlas-showcase-render-pdf-foot span,
  .atlas-showcase-render-pdf-title,
  .atlas-showcase-render-pdf-byline {
    font-size: 0.5rem;
    line-height: 1.24;
  }

  .atlas-showcase-info-title {
    font-size: 1rem;
  }

  .atlas-showcase-info-lead {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .atlas-showcase-info-body {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .atlas-showcase-inline-links a {
    min-height: 1.8rem;
    padding: 0.32rem 0.08rem;
    font-size: 0.58rem;
  }

  .atlas-showcase-github-mark {
    width: 1.08rem;
    height: 1.08rem;
  }

  .atlas-showcase-renderer-code,
  .atlas-showcase-paper-sheet {
    margin-top: 0.5rem;
    padding: 0.74rem;
  }

  .atlas-showcase-code-line {
    min-height: 1rem;
    font-size: 0.64rem;
    line-height: 1.28;
  }

  .atlas-showcase-paper-heading {
    font-size: 0.82rem;
  }

  .atlas-showcase-end-tech {
    font-size: 0.64rem;
  }

  .atlas-showcase-transfer-ghost {
    padding: 0.58rem 0.72rem;
  }

  .atlas-showcase-transfer-ghost-label {
    font-size: 0.76rem;
  }

  .atlas-showcase-transfer-ghost-text {
    margin-top: 0.32rem;
    font-size: 0.66rem;
  }

  .atlas-showcase-demo-pointer {
    width: 1.32rem;
    height: 1.32rem;
    margin-left: -0.66rem;
    margin-top: -0.66rem;
  }

  .atlas-showcase-demo-pointer-core {
    width: 0.36rem;
    height: 0.36rem;
  }

  .atlas-showcase-scroll-step {
    height: 138vh;
  }
}

@media (max-width: 420px) {
  .atlas-showcase-brand-lockup {
    gap: 0.56rem;
    padding: 0.5rem 0.62rem 0.5rem 0.56rem;
  }

  .atlas-showcase-brand-copy strong {
    font-size: 0.74rem;
  }

  .atlas-showcase-brand-copy span {
    font-size: 0.5rem;
  }

  .atlas-showcase-hero-mark .atlas-showcase-logo {
    width: 3.8rem;
  }

  .atlas-showcase-hero-title {
    font-size: 1.68rem;
  }

  .atlas-showcase-hero-subtitle {
    font-size: 0.62rem;
  }

  .atlas-showcase-hero-caption {
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .atlas-showcase-download-button,
  .atlas-showcase-download-link {
    min-height: 2.42rem;
    padding: 0.66rem 0.92rem;
    font-size: 0.72rem;
  }

  .atlas-showcase-download-meta {
    font-size: 0.64rem;
  }

  .atlas-showcase-scene-copy-line {
    font-size: 0.72rem;
  }

  .atlas-showcase-source-title {
    font-size: 0.72rem;
  }

  .atlas-showcase-cow {
    max-height: 4.6rem;
  }
}

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

  .atlas-showcase-page,
  .atlas-showcase-theme-toggle,
  .atlas-showcase-particle-field,
  .atlas-showcase-download-button,
  .atlas-showcase-download-link,
  .atlas-showcase-source-button,
  .atlas-showcase-note-card,
  .atlas-showcase-source-context,
  .atlas-showcase-inline-links a {
    transition: none;
  }

  .atlas-showcase-hero-mark::after,
  .atlas-showcase-cursor,
  .atlas-showcase-transfer-ghost--manual {
    animation: none;
  }
}
