:root {
  color-scheme: light;
  --bg: #f2f2ef;
  --bg-deep: #e4e4e0;
  --surface: #fbfbf9;
  --surface-soft: rgba(251, 251, 249, 0.78);
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.2);
  --text: #111111;
  --text-soft: #505050;
  --text-muted: #777777;
  --brand: #2f2f2f;
  --brand-strong: #111111;
  --accent: #8d8d8d;
  --accent-soft: rgba(17, 17, 17, 0.08);
  --accent-pale: #e7e7e3;
  --gold: #b3b3b3;
  --danger: #565656;
  --success: #6b6b6b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 28px 64px rgba(17, 23, 32, 0.08);
  --shadow-md: 0 18px 32px rgba(17, 23, 32, 0.06);
  --font-ui: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-deep: #121212;
  --surface: #171717;
  --surface-soft: rgba(23, 23, 23, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f3f3;
  --text-soft: #c3c3c3;
  --text-muted: #919191;
  --brand: #d4d4d4;
  --brand-strong: #ffffff;
  --accent: #7f7f7f;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-pale: #262626;
  --gold: #a3a3a3;
  --danger: #d0d0d0;
  --success: #b8b8b8;
  --shadow-lg: 0 30px 72px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 30px rgba(0, 0, 0, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--text) 5%, transparent 95%), transparent 28%),
    radial-gradient(circle at 82% 6%, color-mix(in srgb, var(--text) 4%, transparent 96%), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: contain;
  background: color-mix(in srgb, var(--surface) 92%, transparent 8%);
  box-shadow: var(--shadow-md);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topnav a,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text);
  background: var(--accent-soft);
  border-color: var(--line);
  outline: none;
}

.topnav a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent 78%);
}

.theme-toggle {
  gap: 8px;
  cursor: pointer;
}

.theme-toggle strong {
  color: var(--text);
}

main {
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3,
strong {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  gap: 46px;
  align-items: center;
  padding: 24px 0 68px;
}

.hero-copy h1,
.page-head h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 10ch;
}

.lede,
.section-intro p,
.feature-copy p,
.card-heading p,
.success-copy p,
.survey-complete p,
.note-block p,
.footer,
.visual-note {
  color: var(--text-soft);
}

.lede {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: 1.14rem;
  line-height: 1.75;
}

.hero-actions,
.survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.button-primary {
  color: #f7fffd;
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--brand) 24%, transparent 76%);
}

:root[data-theme="dark"] .button-primary {
  color: #0f151b;
}

.button-secondary {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 76%, transparent 24%);
  border-color: var(--line-strong);
}

.hero-visual,
.content-panel,
.cta-band,
.form-shell,
.feature-graphic {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 94%, transparent 6%),
    color-mix(in srgb, var(--surface-soft) 98%, transparent 2%)
  );
  box-shadow: var(--shadow-lg);
}

.hero-visual,
.content-panel,
.cta-band,
.form-shell {
  padding: 28px;
}

.visual-stage {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-pale) 88%, transparent 12%), color-mix(in srgb, var(--surface) 70%, transparent 30%)),
    var(--accent-pale);
}

.path-visual {
  width: 100%;
  height: 100%;
  display: block;
}

.path-frame {
  fill: color-mix(in srgb, var(--surface) 54%, var(--accent-pale) 46%);
  stroke: color-mix(in srgb, var(--accent) 20%, transparent 80%);
  stroke-width: 2;
}

.path-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 7;
  stroke-opacity: 0.96;
}

.path-line-primary {
  stroke: var(--accent);
}

.path-line-tertiary {
  stroke: color-mix(in srgb, var(--gold) 72%, var(--accent) 28%);
}

.path-line-secondary {
  stroke: var(--brand);
}

.path-node {
  fill: var(--accent);
  stroke: color-mix(in srgb, var(--surface) 80%, transparent 20%);
  stroke-width: 4;
}

.path-node-alt {
  fill: var(--brand);
}

.path-node-gold {
  fill: var(--gold);
}

.visual-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent 6%);
  color: var(--text-soft);
  box-shadow: var(--shadow-md);
}

.visual-tag-1 {
  top: 54px;
  left: 54px;
}

.visual-tag-2 {
  top: 178px;
  left: 280px;
}

.visual-tag-3 {
  top: 78px;
  right: 62px;
}

.visual-note {
  margin: 18px 0 0;
  line-height: 1.68;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  margin-bottom: 88px;
  padding: 18px 22px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 600;
}

.proof-band span {
  white-space: nowrap;
}

.section-block {
  padding-bottom: 96px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-intro h2,
.feature-copy h2,
.cta-band h2,
.card-heading h2,
.page-head h1 {
  margin: 0;
  letter-spacing: -0.05em;
}

.section-intro h2,
.feature-copy h2,
.cta-band h2,
.card-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.section-intro p {
  margin: 18px 0 0;
  line-height: 1.72;
}

.step-rows {
  border-top: 1px solid var(--line-strong);
}

.step-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step-index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.step-copy h3,
.content-panel h3,
.note-block h3,
.principle h3,
.success-copy h3,
.survey-complete h3 {
  margin: 0;
}

.step-copy p,
.plain-list,
.principle p,
.note-block p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.stacked-panels {
  display: grid;
  gap: 18px;
}

.plain-list {
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 9px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.page-head {
  max-width: 760px;
  padding: 16px 0 56px;
}

.feature-pairs {
  display: grid;
  gap: 72px;
}

.feature-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.feature-pair-reverse {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 0.9fr);
}

.feature-pair-reverse .feature-copy {
  order: 2;
}

.feature-pair-reverse .feature-graphic {
  order: 1;
}

.feature-copy p {
  margin: 18px 0 0;
  max-width: 48ch;
  line-height: 1.72;
}

.feature-graphic {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-graphic-a {
  background:
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--text) 8%, transparent 92%), transparent 22%),
    linear-gradient(180deg, color-mix(in srgb, var(--text) 5%, transparent 95%), transparent),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent 95%) 0 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--text) 5%, transparent 95%) 0 1px, transparent 1px),
    var(--surface);
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
}

.feature-graphic-b {
  background:
    radial-gradient(circle at 22% 20%, color-mix(in srgb, var(--text) 8%, transparent 92%), transparent 24%),
    radial-gradient(circle at 82% 78%, color-mix(in srgb, var(--text) 6%, transparent 94%), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--text) 5%, transparent 95%), transparent 42%),
    var(--surface);
}

.feature-graphic-c {
  background:
    radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--text) 7%, transparent 93%), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--text) 7%, transparent 93%), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--text) 4%, transparent 96%), transparent 60%),
    var(--surface);
}

.feature-scene {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.scene-panel {
  fill: color-mix(in srgb, var(--surface) 52%, transparent 48%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.scene-folder,
.lane-pill,
.archive-card,
.confidence-check {
  transform-box: fill-box;
  transform-origin: center;
}

.scene-line,
.scene-flow,
.confidence-ring,
.check-mark {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-line-a {
  stroke: color-mix(in srgb, var(--accent) 72%, white 28%);
  stroke-width: 8;
}

.scene-line-soft {
  stroke: color-mix(in srgb, var(--text) 12%, transparent 88%);
  stroke-width: 3;
}

.scene-dashed {
  stroke-dasharray: 10 12;
  animation: dash-drift 12s linear infinite;
}

.scene-node {
  fill: var(--accent);
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.scene-node-brand {
  fill: var(--brand);
}

.scene-node-gold {
  fill: var(--gold);
}

.folder-tab,
.folder-body,
.folder-band,
.folder-line,
.sort-column,
.pill-shell,
.pill-fill,
.archive-shell,
.archive-fill,
.archive-line,
.check-disc {
  transition: fill 180ms ease, stroke 180ms ease;
}

.folder-tab {
  fill: color-mix(in srgb, var(--gold) 12%, var(--surface) 88%);
}

.folder-body {
  fill: color-mix(in srgb, var(--surface) 76%, var(--accent-pale) 24%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.folder-band {
  fill: color-mix(in srgb, var(--brand) 30%, transparent 70%);
}

.folder-line {
  fill: color-mix(in srgb, var(--text) 12%, transparent 88%);
}

.folder-a {
  animation: folder-lift-a 6s ease-in-out infinite;
}

.folder-b {
  animation: folder-lift-b 6s ease-in-out infinite;
}

.folder-c {
  animation: folder-lift-c 6s ease-in-out infinite;
}

.sort-column {
  fill: color-mix(in srgb, var(--surface) 72%, var(--accent-pale) 28%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1.5;
}

.sort-column-mid {
  fill: color-mix(in srgb, var(--surface) 78%, var(--text) 22%);
}

.sort-column-low {
  fill: color-mix(in srgb, var(--surface) 82%, var(--text) 18%);
}

.pill-shell {
  fill: color-mix(in srgb, var(--surface) 80%, transparent 20%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.pill-fill {
  fill: color-mix(in srgb, var(--accent) 62%, white 38%);
}

.lane-pill-a {
  animation: lane-slide-a 4.4s ease-in-out infinite;
}

.lane-pill-b {
  animation: lane-slide-b 4.8s ease-in-out infinite;
}

.lane-pill-c {
  animation: lane-slide-c 5.2s ease-in-out infinite;
}

.scene-flow {
  stroke: color-mix(in srgb, var(--brand) 72%, white 28%);
  stroke-width: 4;
  stroke-dasharray: 16 14;
}

.scene-flow-a {
  animation: flow-drift-a 4.4s linear infinite;
}

.scene-flow-b {
  animation: flow-drift-b 4.8s linear infinite;
}

.scene-flow-c {
  animation: flow-drift-c 5.2s linear infinite;
}

.confidence-ring {
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
}

.confidence-ring-outer {
  stroke-width: 2.5;
  stroke-dasharray: 12 12;
  animation: ring-spin 20s linear infinite;
  transform-origin: 308px 142px;
}

.confidence-ring-inner {
  stroke-width: 6;
  stroke-dasharray: 2 16;
  animation: ring-spin-reverse 16s linear infinite;
  transform-origin: 308px 142px;
}

.archive-shell {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.archive-fill {
  fill: color-mix(in srgb, var(--brand) 38%, transparent 62%);
}

.archive-fill-accent {
  fill: color-mix(in srgb, var(--accent) 38%, transparent 62%);
}

.archive-fill-gold {
  fill: color-mix(in srgb, var(--gold) 36%, transparent 64%);
}

.archive-line {
  fill: color-mix(in srgb, var(--text) 12%, transparent 88%);
}

.archive-card-a {
  animation: archive-drift-a 6.4s ease-in-out infinite;
}

.archive-card-b {
  animation: archive-drift-b 6.4s ease-in-out infinite;
}

.archive-card-c {
  animation: archive-drift-c 6.4s ease-in-out infinite;
}

.check-disc {
  fill: color-mix(in srgb, var(--brand) 86%, white 14%);
}

.check-mark {
  stroke: #f7fffd;
  stroke-width: 6;
}

:root[data-theme="dark"] .check-mark {
  stroke: #0f151b;
}

.confidence-check {
  animation: check-pulse 3.2s ease-in-out infinite;
}

@keyframes dash-drift {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes folder-lift-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -14px);
  }
}

@keyframes folder-lift-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -10px);
  }
}

@keyframes folder-lift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2px, -6px);
  }
}

@keyframes lane-slide-a {
  0%,
  12% {
    transform: translateX(0);
    opacity: 1;
  }
  68% {
    transform: translateX(178px);
    opacity: 1;
  }
  100% {
    transform: translateX(178px);
    opacity: 0.78;
  }
}

@keyframes lane-slide-b {
  0%,
  14% {
    transform: translateX(0);
    opacity: 1;
  }
  70% {
    transform: translateX(148px);
    opacity: 1;
  }
  100% {
    transform: translateX(148px);
    opacity: 0.78;
  }
}

@keyframes lane-slide-c {
  0%,
  16% {
    transform: translateX(0);
    opacity: 1;
  }
  72% {
    transform: translateX(168px);
    opacity: 1;
  }
  100% {
    transform: translateX(168px);
    opacity: 0.78;
  }
}

@keyframes flow-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -60;
  }
}

@keyframes flow-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -52;
  }
}

@keyframes flow-drift-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -56;
  }
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ring-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes archive-drift-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -6px);
  }
}

@keyframes archive-drift-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, -2px);
  }
}

@keyframes archive-drift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(1px, 4px);
  }
}

@keyframes check-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.structure-scene .structure-stack,
.flow-scene .flow-chip,
.archive-scene .archive-stack,
.flow-hub-glow,
.archive-focus-bar,
.archive-halo-outer,
.archive-halo-inner {
  transform-box: fill-box;
  transform-origin: center;
}

.archive-focus-bar {
  transform-origin: left center;
}

.structure-route {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3.5;
}

.structure-route-soft {
  stroke: color-mix(in srgb, var(--text) 12%, transparent 88%);
}

.structure-route-primary {
  stroke: color-mix(in srgb, var(--accent) 78%, white 22%);
  stroke-dasharray: 16 14;
  animation: structure-flow-a 8s linear infinite;
}

.structure-route-gold {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 14 16;
  animation: structure-flow-b 8.8s linear infinite;
}

.loose-shell {
  fill: color-mix(in srgb, var(--surface) 86%, transparent 14%);
  stroke: color-mix(in srgb, var(--text) 11%, transparent 89%);
  stroke-width: 1.5;
}

.loose-accent {
  fill: color-mix(in srgb, var(--accent) 40%, transparent 60%);
}

.loose-accent-gold {
  fill: color-mix(in srgb, var(--gold) 42%, transparent 58%);
}

.loose-accent-brand {
  fill: color-mix(in srgb, var(--brand) 42%, transparent 58%);
}

.loose-accent-accent {
  fill: color-mix(in srgb, var(--accent) 52%, transparent 48%);
}

.loose-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-column-shell {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1.5;
}

.structure-column-cap {
  fill: color-mix(in srgb, var(--brand) 30%, transparent 70%);
}

.structure-card {
  fill: color-mix(in srgb, var(--accent) 32%, transparent 68%);
}

.structure-card-brand {
  fill: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.structure-node {
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.node-gold {
  fill: var(--gold);
}

.node-brand {
  fill: var(--brand);
}

.node-accent {
  fill: var(--accent);
}

.structure-stack-a {
  animation: stack-sway-a 6.2s ease-in-out infinite;
}

.structure-stack-b {
  animation: stack-sway-b 6.2s ease-in-out infinite;
}

.structure-stack-c {
  animation: stack-sway-c 6.2s ease-in-out infinite;
}

.flow-hub-glow {
  fill: color-mix(in srgb, var(--accent) 10%, transparent 90%);
  animation: hub-breathe 4.8s ease-in-out infinite;
}

.flow-hub {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--accent) 22%, transparent 78%);
  stroke-width: 2;
}

.flow-hub-core {
  fill: color-mix(in srgb, var(--accent) 74%, white 26%);
}

.flow-track {
  fill: none;
  stroke: color-mix(in srgb, var(--text) 12%, transparent 88%);
  stroke-width: 3;
  stroke-linecap: round;
}

.flow-track-out {
  stroke: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.flow-bin {
  fill: color-mix(in srgb, var(--surface) 84%, transparent 16%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.flow-bin-a {
  fill: color-mix(in srgb, var(--surface) 80%, var(--text) 20%);
}

.flow-bin-b {
  fill: color-mix(in srgb, var(--surface) 84%, var(--text) 16%);
}

.flow-bin-c {
  fill: color-mix(in srgb, var(--surface) 88%, var(--text) 12%);
}

.flow-chip-shell {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 11%, transparent 89%);
  stroke-width: 1.5;
}

.flow-chip-fill {
  fill: color-mix(in srgb, var(--accent) 62%, white 38%);
}

.flow-chip-fill-brand {
  fill: color-mix(in srgb, var(--brand) 62%, white 38%);
}

.flow-chip-fill-gold {
  fill: color-mix(in srgb, var(--gold) 60%, white 40%);
}

.flow-signal {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 78%, white 22%);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 18 14;
}

.signal-a {
  animation: signal-flow-a 4.8s linear infinite;
}

.signal-b {
  animation: signal-flow-b 5.2s linear infinite;
}

.signal-c {
  animation: signal-flow-c 5.6s linear infinite;
}

.flow-chip-a {
  animation: chip-slide-a 4.8s ease-in-out infinite;
}

.flow-chip-b {
  animation: chip-slide-b 5.2s ease-in-out infinite;
}

.flow-chip-c {
  animation: chip-slide-c 5.6s ease-in-out infinite;
}

.archive-sheet {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.archive-accent {
  fill: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.archive-accent-brand {
  fill: color-mix(in srgb, var(--brand) 42%, transparent 58%);
}

.archive-accent-accent {
  fill: color-mix(in srgb, var(--accent) 42%, transparent 58%);
}

.archive-accent-gold {
  fill: color-mix(in srgb, var(--gold) 42%, transparent 58%);
}

.archive-focus-shell {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.archive-focus-bar {
  fill: color-mix(in srgb, var(--accent) 34%, transparent 66%);
  animation: focus-bar-shift 5.4s ease-in-out infinite;
}

.archive-focus-line {
  fill: color-mix(in srgb, var(--text) 13%, transparent 87%);
}

.archive-focus-line-short {
  fill: color-mix(in srgb, var(--gold) 26%, transparent 74%);
}

.archive-halo {
  fill: none;
  stroke: color-mix(in srgb, var(--brand) 22%, transparent 78%);
}

.archive-halo-outer {
  stroke-width: 2.5;
  stroke-dasharray: 12 10;
  animation: halo-spin 16s linear infinite;
  transform-origin: 334px 218px;
}

.archive-halo-inner {
  stroke-width: 5;
  stroke-dasharray: 2 12;
  animation: halo-spin-reverse 12s linear infinite;
  transform-origin: 334px 218px;
}

.archive-badge {
  fill: color-mix(in srgb, var(--brand) 84%, white 16%);
}

.archive-badge-mark {
  fill: none;
  stroke: #f7fffd;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="dark"] .archive-badge-mark {
  stroke: #0f151b;
}

.archive-stack-a {
  animation: archive-float-a 6s ease-in-out infinite;
}

.archive-stack-b {
  animation: archive-float-b 6s ease-in-out infinite;
}

.archive-stack-c {
  animation: archive-float-c 6s ease-in-out infinite;
}

@keyframes structure-flow-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -58;
  }
}

@keyframes structure-flow-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -46;
  }
}

@keyframes stack-sway-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -8px);
  }
}

@keyframes stack-sway-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -4px);
  }
}

@keyframes stack-sway-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, 6px);
  }
}

@keyframes hub-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes chip-slide-a {
  0%,
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  70% {
    transform: translateX(120px);
    opacity: 1;
  }
  100% {
    transform: translateX(120px);
    opacity: 0.72;
  }
}

@keyframes chip-slide-b {
  0%,
  12% {
    transform: translateX(0);
    opacity: 1;
  }
  72% {
    transform: translateX(96px);
    opacity: 1;
  }
  100% {
    transform: translateX(96px);
    opacity: 0.72;
  }
}

@keyframes chip-slide-c {
  0%,
  14% {
    transform: translateX(0);
    opacity: 1;
  }
  74% {
    transform: translateX(112px);
    opacity: 1;
  }
  100% {
    transform: translateX(112px);
    opacity: 0.72;
  }
}

@keyframes signal-flow-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -64;
  }
}

@keyframes signal-flow-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -56;
  }
}

@keyframes signal-flow-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -60;
  }
}

@keyframes focus-bar-shift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(22px);
  }
}

@keyframes halo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes halo-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes archive-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -6px);
  }
}

@keyframes archive-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -2px);
  }
}

@keyframes archive-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, 4px);
  }
}

.structure-board-scene .source-sheet,
.structure-board-scene .source-folder,
.structure-board-scene .source-chip,
.structure-board-scene .planner-item,
.cleanup-scene .cleanup-input,
.cleanup-scene .cleanup-result,
.cleanup-scan {
  transform-box: fill-box;
  transform-origin: center;
}

.structure-board-scene .planner-path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.structure-board-scene .planner-path-soft {
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
}

.structure-board-scene .planner-path-primary {
  stroke: color-mix(in srgb, var(--accent) 82%, white 18%);
  stroke-dasharray: 12 10;
  animation: planner-route-drift-a 7s linear infinite;
}

.structure-board-scene .planner-path-gold {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 10 12;
  animation: planner-route-drift-b 8.2s linear infinite;
}

.structure-board-scene .source-shadow {
  fill: rgba(17, 23, 32, 0.08);
}

:root[data-theme="dark"] .structure-board-scene .source-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.structure-board-scene .source-shell,
.structure-board-scene .source-folder-body {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.structure-board-scene .source-folder-tab {
  fill: color-mix(in srgb, var(--gold) 10%, var(--surface) 90%);
}

.structure-board-scene .source-accent {
  fill: color-mix(in srgb, var(--accent) 42%, transparent 58%);
}

.structure-board-scene .source-accent-gold {
  fill: color-mix(in srgb, var(--gold) 44%, transparent 56%);
}

.structure-board-scene .source-accent-brand {
  fill: color-mix(in srgb, var(--brand) 44%, transparent 56%);
}

.structure-board-scene .source-accent-accent {
  fill: color-mix(in srgb, var(--accent) 54%, transparent 46%);
}

.structure-board-scene .source-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-board-scene .planner-shell {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 20%, transparent 80%);
  stroke-width: 1.5;
}

.structure-board-scene .planner-header-bar {
  fill: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.structure-board-scene .planner-header-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-board-scene .planner-lane {
  fill: color-mix(in srgb, var(--accent) 8%, transparent 92%);
  stroke: color-mix(in srgb, var(--accent) 14%, transparent 86%);
  stroke-width: 1.2;
}

.structure-board-scene .planner-slot {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1;
}

.structure-board-scene .planner-slot-faint {
  fill: color-mix(in srgb, var(--text) 4%, transparent 96%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
}

.structure-board-scene .planner-item-fill {
  fill: color-mix(in srgb, var(--text) 12%, transparent 88%);
}

.structure-board-scene .planner-item-fill-gold {
  fill: color-mix(in srgb, var(--gold) 48%, transparent 52%);
}

.structure-board-scene .planner-item-fill-brand {
  fill: color-mix(in srgb, var(--brand) 50%, transparent 50%);
}

.structure-board-scene .planner-item-fill-accent {
  fill: color-mix(in srgb, var(--accent) 54%, transparent 46%);
}

.structure-board-scene .planner-item-fill-neutral {
  fill: color-mix(in srgb, var(--text) 18%, transparent 82%);
}

.structure-board-scene .planner-node {
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.structure-board-scene .planner-node-gold {
  fill: var(--gold);
}

.structure-board-scene .planner-node-brand {
  fill: var(--brand);
}

.structure-board-scene .planner-node-accent {
  fill: var(--accent);
}

.structure-board-scene .source-sheet-a {
  animation: source-drift-a 6.2s ease-in-out infinite;
}

.structure-board-scene .source-folder-b {
  animation: source-drift-b 6.2s ease-in-out infinite;
}

.structure-board-scene .source-chip-c {
  animation: source-drift-c 6.2s ease-in-out infinite;
}

.structure-board-scene .planner-item-a {
  animation: planner-item-pop-a 4.8s ease-in-out infinite;
}

.structure-board-scene .planner-item-b {
  animation: planner-item-pop-b 4.8s ease-in-out infinite;
}

.structure-board-scene .planner-item-c {
  animation: planner-item-pop-c 4.8s ease-in-out infinite;
}

.structure-board-scene .planner-item-d {
  animation: planner-item-pop-d 4.8s ease-in-out infinite;
}

.structure-grid-scene .grid-source,
.structure-grid-scene .grid-item,
.structure-grid-scene .grid-glow {
  transform-box: fill-box;
  transform-origin: center;
}

.structure-grid-scene .grid-glow {
  fill: color-mix(in srgb, var(--accent) 10%, transparent 90%);
  animation: grid-glow-breathe 5.4s ease-in-out infinite;
}

.structure-grid-scene .grid-board-shell {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.structure-grid-scene .grid-board-pill {
  fill: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.structure-grid-scene .grid-board-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-grid-scene .grid-column-shell {
  fill: color-mix(in srgb, var(--accent) 8%, transparent 92%);
  stroke: color-mix(in srgb, var(--accent) 14%, transparent 86%);
  stroke-width: 1.2;
}

.structure-grid-scene .grid-column-cap {
  fill: color-mix(in srgb, var(--surface) 86%, transparent 14%);
}

.structure-grid-scene .grid-slot {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1;
}

.structure-grid-scene .grid-slot-faint {
  fill: color-mix(in srgb, var(--text) 4%, transparent 96%);
}

.structure-grid-scene .grid-link {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.structure-grid-scene .grid-link-soft {
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
}

.structure-grid-scene .grid-link-a {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 12 10;
  animation: grid-link-drift-a 7.2s linear infinite;
}

.structure-grid-scene .grid-link-b {
  stroke: color-mix(in srgb, var(--brand) 78%, white 22%);
  stroke-dasharray: 12 12;
  animation: grid-link-drift-b 6.6s linear infinite;
}

.structure-grid-scene .grid-link-c {
  stroke: color-mix(in srgb, var(--accent) 82%, white 18%);
  stroke-dasharray: 14 12;
  animation: grid-link-drift-c 7.8s linear infinite;
}

.structure-grid-scene .grid-source-shadow {
  fill: rgba(17, 23, 32, 0.08);
}

:root[data-theme="dark"] .structure-grid-scene .grid-source-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.structure-grid-scene .grid-source-card,
.structure-grid-scene .grid-folder-body {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.structure-grid-scene .grid-folder-tab {
  fill: color-mix(in srgb, var(--gold) 10%, var(--surface) 90%);
}

.structure-grid-scene .grid-source-accent {
  fill: color-mix(in srgb, var(--accent) 50%, transparent 50%);
}

.structure-grid-scene .grid-source-accent-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.structure-grid-scene .grid-source-accent-brand {
  fill: color-mix(in srgb, var(--brand) 46%, transparent 54%);
}

.structure-grid-scene .grid-source-accent-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-grid-scene .grid-source-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-grid-scene .grid-item-fill {
  fill: color-mix(in srgb, var(--text) 18%, transparent 82%);
}

.structure-grid-scene .grid-item-fill-gold {
  fill: color-mix(in srgb, var(--gold) 50%, transparent 50%);
}

.structure-grid-scene .grid-item-fill-brand {
  fill: color-mix(in srgb, var(--brand) 52%, transparent 48%);
}

.structure-grid-scene .grid-item-fill-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-grid-scene .grid-item-fill-neutral {
  fill: color-mix(in srgb, var(--text) 22%, transparent 78%);
}

.structure-grid-scene .grid-node {
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.structure-grid-scene .grid-node-gold {
  fill: var(--gold);
}

.structure-grid-scene .grid-node-brand {
  fill: var(--brand);
}

.structure-grid-scene .grid-node-accent {
  fill: var(--accent);
}

.structure-grid-scene .grid-source-a {
  animation: grid-source-float-a 6s ease-in-out infinite;
}

.structure-grid-scene .grid-source-b {
  animation: grid-source-float-b 6s ease-in-out infinite;
}

.structure-grid-scene .grid-source-c {
  animation: grid-source-float-c 6s ease-in-out infinite;
}

.structure-grid-scene .grid-item-a {
  animation: grid-item-pop-a 4.6s ease-in-out infinite;
}

.structure-grid-scene .grid-item-b {
  animation: grid-item-pop-b 4.6s ease-in-out infinite;
}

.structure-grid-scene .grid-item-c {
  animation: grid-item-pop-c 4.6s ease-in-out infinite;
}

.structure-grid-scene .grid-item-d {
  animation: grid-item-pop-d 4.6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-source,
.structure-atlas-scene .atlas-item,
.structure-atlas-scene .atlas-aura {
  transform-box: fill-box;
  transform-origin: center;
}

.structure-atlas-scene .atlas-aura {
  fill: color-mix(in srgb, var(--accent) 10%, transparent 90%);
  animation: atlas-aura-breathe 5.4s ease-in-out infinite;
}

.structure-atlas-scene .atlas-board {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.structure-atlas-scene .atlas-board-pill {
  fill: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.structure-atlas-scene .atlas-board-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-atlas-scene .atlas-link {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.structure-atlas-scene .atlas-link-soft {
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
}

.structure-atlas-scene .atlas-link-gold {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 12 10;
  animation: atlas-link-drift-a 7.2s linear infinite;
}

.structure-atlas-scene .atlas-link-brand {
  stroke: color-mix(in srgb, var(--brand) 78%, white 22%);
  stroke-dasharray: 12 12;
  animation: atlas-link-drift-b 6.6s linear infinite;
}

.structure-atlas-scene .atlas-link-accent {
  stroke: color-mix(in srgb, var(--accent) 82%, white 18%);
  stroke-dasharray: 14 12;
  animation: atlas-link-drift-c 7.8s linear infinite;
}

.structure-atlas-scene .atlas-source-shadow {
  fill: rgba(17, 23, 32, 0.08);
}

:root[data-theme="dark"] .structure-atlas-scene .atlas-source-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.structure-atlas-scene .atlas-source-card,
.structure-atlas-scene .atlas-folder-body {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.structure-atlas-scene .atlas-folder-tab {
  fill: color-mix(in srgb, var(--gold) 10%, var(--surface) 90%);
}

.structure-atlas-scene .atlas-source-accent {
  fill: color-mix(in srgb, var(--accent) 50%, transparent 50%);
}

.structure-atlas-scene .atlas-source-accent-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.structure-atlas-scene .atlas-source-accent-brand {
  fill: color-mix(in srgb, var(--brand) 46%, transparent 54%);
}

.structure-atlas-scene .atlas-source-accent-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-atlas-scene .atlas-source-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-atlas-scene .atlas-column {
  fill: color-mix(in srgb, var(--accent) 8%, transparent 92%);
  stroke: color-mix(in srgb, var(--accent) 14%, transparent 86%);
  stroke-width: 1.2;
}

.structure-atlas-scene .atlas-column-cap {
  fill: color-mix(in srgb, var(--surface) 86%, transparent 14%);
}

.structure-atlas-scene .atlas-slot {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1;
}

.structure-atlas-scene .atlas-slot-muted {
  fill: color-mix(in srgb, var(--text) 4%, transparent 96%);
}

.structure-atlas-scene .atlas-item-fill {
  fill: color-mix(in srgb, var(--text) 18%, transparent 82%);
}

.structure-atlas-scene .atlas-item-fill-gold {
  fill: color-mix(in srgb, var(--gold) 50%, transparent 50%);
}

.structure-atlas-scene .atlas-item-fill-brand {
  fill: color-mix(in srgb, var(--brand) 52%, transparent 48%);
}

.structure-atlas-scene .atlas-item-fill-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-atlas-scene .atlas-item-fill-neutral {
  fill: color-mix(in srgb, var(--text) 22%, transparent 78%);
}

.structure-atlas-scene .atlas-node {
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.structure-atlas-scene .atlas-node-gold {
  fill: var(--gold);
}

.structure-atlas-scene .atlas-node-brand {
  fill: var(--brand);
}

.structure-atlas-scene .atlas-node-accent {
  fill: var(--accent);
}

.structure-atlas-scene .atlas-source-a {
  animation: atlas-source-float-a 6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-source-b {
  animation: atlas-source-float-b 6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-source-c {
  animation: atlas-source-float-c 6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-item-a {
  animation: atlas-item-pop-a 4.6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-item-b {
  animation: atlas-item-pop-b 4.6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-item-c {
  animation: atlas-item-pop-c 4.6s ease-in-out infinite;
}

.structure-atlas-scene .atlas-item-d {
  animation: atlas-item-pop-d 4.6s ease-in-out infinite;
}

.structure-map-scene .map-source,
.structure-map-scene .map-item,
.structure-map-scene .map-glow {
  transform-box: fill-box;
  transform-origin: center;
}

.structure-map-scene .map-glow {
  fill: color-mix(in srgb, var(--accent) 10%, transparent 90%);
  animation: map-glow-breathe 5.2s ease-in-out infinite;
}

.structure-map-scene .map-board {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.structure-map-scene .map-lane {
  fill: color-mix(in srgb, var(--accent) 8%, transparent 92%);
  stroke: color-mix(in srgb, var(--accent) 14%, transparent 86%);
  stroke-width: 1.2;
}

.structure-map-scene .map-lane-cap {
  fill: color-mix(in srgb, var(--surface) 86%, transparent 14%);
}

.structure-map-scene .map-slot {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1;
}

.structure-map-scene .map-slot-faint {
  fill: color-mix(in srgb, var(--text) 4%, transparent 96%);
}

.structure-map-scene .map-path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.structure-map-scene .map-path-soft {
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
}

.structure-map-scene .map-path-gold {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 12 10;
  animation: map-path-drift-a 7s linear infinite;
}

.structure-map-scene .map-path-brand {
  stroke: color-mix(in srgb, var(--brand) 78%, white 22%);
  stroke-dasharray: 12 12;
  animation: map-path-drift-b 6.4s linear infinite;
}

.structure-map-scene .map-path-accent {
  stroke: color-mix(in srgb, var(--accent) 82%, white 18%);
  stroke-dasharray: 14 12;
  animation: map-path-drift-c 7.6s linear infinite;
}

.structure-map-scene .map-source-shadow {
  fill: rgba(17, 23, 32, 0.08);
}

:root[data-theme="dark"] .structure-map-scene .map-source-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.structure-map-scene .map-source-card,
.structure-map-scene .map-folder-body {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.structure-map-scene .map-folder-tab {
  fill: color-mix(in srgb, var(--gold) 10%, var(--surface) 90%);
}

.structure-map-scene .map-source-accent {
  fill: color-mix(in srgb, var(--accent) 50%, transparent 50%);
}

.structure-map-scene .map-source-accent-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.structure-map-scene .map-source-accent-brand {
  fill: color-mix(in srgb, var(--brand) 46%, transparent 54%);
}

.structure-map-scene .map-source-accent-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-map-scene .map-source-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-map-scene .map-item-fill {
  fill: color-mix(in srgb, var(--text) 18%, transparent 82%);
}

.structure-map-scene .map-item-fill-gold {
  fill: color-mix(in srgb, var(--gold) 50%, transparent 50%);
}

.structure-map-scene .map-item-fill-brand {
  fill: color-mix(in srgb, var(--brand) 52%, transparent 48%);
}

.structure-map-scene .map-item-fill-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-map-scene .map-item-fill-neutral {
  fill: color-mix(in srgb, var(--text) 22%, transparent 78%);
}

.structure-map-scene .map-node {
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.structure-map-scene .map-node-gold {
  fill: var(--gold);
}

.structure-map-scene .map-node-brand {
  fill: var(--brand);
}

.structure-map-scene .map-node-accent {
  fill: var(--accent);
}

.structure-map-scene .map-source-a {
  animation: map-source-float-a 6s ease-in-out infinite;
}

.structure-map-scene .map-source-b {
  animation: map-source-float-b 6s ease-in-out infinite;
}

.structure-map-scene .map-source-c {
  animation: map-source-float-c 6s ease-in-out infinite;
}

.structure-map-scene .map-item-a {
  animation: map-item-pop-a 4.6s ease-in-out infinite;
}

.structure-map-scene .map-item-b {
  animation: map-item-pop-b 4.6s ease-in-out infinite;
}

.structure-map-scene .map-item-c {
  animation: map-item-pop-c 4.6s ease-in-out infinite;
}

.structure-map-scene .map-item-d {
  animation: map-item-pop-d 4.6s ease-in-out infinite;
}

.structure-plan-scene .plan-source,
.structure-plan-scene .plan-row,
.structure-plan-scene .plan-glow {
  transform-box: fill-box;
  transform-origin: center;
}

.structure-plan-scene .plan-glow {
  fill: color-mix(in srgb, var(--accent) 10%, transparent 90%);
  animation: plan-glow-breathe 5.2s ease-in-out infinite;
}

.structure-plan-scene .plan-guide {
  fill: none;
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-linecap: round;
  stroke-width: 2;
}

.structure-plan-scene .plan-route {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3.25;
}

.structure-plan-scene .plan-route-soft {
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
}

.structure-plan-scene .plan-route-gold {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 14 10;
  animation: plan-route-drift-a 7.2s linear infinite;
}

.structure-plan-scene .plan-route-brand {
  stroke: color-mix(in srgb, var(--brand) 78%, white 22%);
  stroke-dasharray: 14 12;
  animation: plan-route-drift-b 6.6s linear infinite;
}

.structure-plan-scene .plan-route-accent {
  stroke: color-mix(in srgb, var(--accent) 82%, white 18%);
  stroke-dasharray: 16 12;
  animation: plan-route-drift-c 7.8s linear infinite;
}

.structure-plan-scene .plan-source-shadow {
  fill: rgba(17, 23, 32, 0.08);
}

:root[data-theme="dark"] .structure-plan-scene .plan-source-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.structure-plan-scene .plan-source-card,
.structure-plan-scene .plan-folder-body {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.structure-plan-scene .plan-folder-tab {
  fill: color-mix(in srgb, var(--gold) 10%, var(--surface) 90%);
}

.structure-plan-scene .plan-source-accent {
  fill: color-mix(in srgb, var(--accent) 48%, transparent 52%);
}

.structure-plan-scene .plan-source-accent-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.structure-plan-scene .plan-source-accent-brand {
  fill: color-mix(in srgb, var(--brand) 46%, transparent 54%);
}

.structure-plan-scene .plan-source-accent-accent {
  fill: color-mix(in srgb, var(--accent) 54%, transparent 46%);
}

.structure-plan-scene .plan-source-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-plan-scene .plan-board {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.structure-plan-scene .plan-board-rail {
  fill: color-mix(in srgb, var(--accent) 6%, transparent 94%);
  stroke: color-mix(in srgb, var(--accent) 12%, transparent 88%);
  stroke-width: 1.2;
}

.structure-plan-scene .plan-row-shell {
  fill: color-mix(in srgb, var(--surface) 84%, transparent 16%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1.1;
}

.structure-plan-scene .plan-row-pill {
  fill: color-mix(in srgb, var(--accent) 46%, transparent 54%);
}

.structure-plan-scene .plan-row-pill-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.structure-plan-scene .plan-row-pill-brand {
  fill: color-mix(in srgb, var(--brand) 48%, transparent 52%);
}

.structure-plan-scene .plan-row-pill-accent {
  fill: color-mix(in srgb, var(--accent) 54%, transparent 46%);
}

.structure-plan-scene .plan-slot {
  fill: color-mix(in srgb, var(--text) 16%, transparent 84%);
}

.structure-plan-scene .plan-slot-gold {
  fill: color-mix(in srgb, var(--gold) 52%, transparent 48%);
}

.structure-plan-scene .plan-slot-brand {
  fill: color-mix(in srgb, var(--brand) 54%, transparent 46%);
}

.structure-plan-scene .plan-slot-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-plan-scene .plan-slot-neutral {
  fill: color-mix(in srgb, var(--text) 22%, transparent 78%);
}

.structure-plan-scene .plan-node,
.structure-plan-scene .plan-target {
  stroke: color-mix(in srgb, var(--surface) 84%, transparent 16%);
  stroke-width: 4;
}

.structure-plan-scene .plan-node-gold,
.structure-plan-scene .plan-target-gold {
  fill: var(--gold);
}

.structure-plan-scene .plan-node-brand,
.structure-plan-scene .plan-target-brand {
  fill: var(--brand);
}

.structure-plan-scene .plan-node-accent,
.structure-plan-scene .plan-target-accent {
  fill: var(--accent);
}

.structure-clarity-scene .clarity-source,
.structure-clarity-scene .clarity-item,
.structure-clarity-scene .clarity-glow {
  transform-box: fill-box;
  transform-origin: center;
}

.structure-clarity-scene .clarity-glow {
  fill: color-mix(in srgb, var(--accent) 10%, transparent 90%);
  animation: clarity-glow-breathe 5s ease-in-out infinite;
}

.structure-clarity-scene .clarity-route {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.structure-clarity-scene .clarity-route-soft {
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
}

.structure-clarity-scene .clarity-route-gold {
  stroke: color-mix(in srgb, var(--gold) 82%, white 18%);
  stroke-dasharray: 12 10;
  animation: clarity-route-drift-a 7s linear infinite;
}

.structure-clarity-scene .clarity-route-brand {
  stroke: color-mix(in srgb, var(--brand) 78%, white 22%);
  stroke-dasharray: 12 12;
  animation: clarity-route-drift-b 6.4s linear infinite;
}

.structure-clarity-scene .clarity-route-accent {
  stroke: color-mix(in srgb, var(--accent) 82%, white 18%);
  stroke-dasharray: 14 12;
  animation: clarity-route-drift-c 7.6s linear infinite;
}

.structure-clarity-scene .clarity-source-shadow {
  fill: rgba(17, 23, 32, 0.08);
}

:root[data-theme="dark"] .structure-clarity-scene .clarity-source-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.structure-clarity-scene .clarity-source-card,
.structure-clarity-scene .clarity-folder-body {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.structure-clarity-scene .clarity-folder-tab {
  fill: color-mix(in srgb, var(--gold) 10%, var(--surface) 90%);
}

.structure-clarity-scene .clarity-source-accent {
  fill: color-mix(in srgb, var(--accent) 50%, transparent 50%);
}

.structure-clarity-scene .clarity-source-accent-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.structure-clarity-scene .clarity-source-accent-brand {
  fill: color-mix(in srgb, var(--brand) 46%, transparent 54%);
}

.structure-clarity-scene .clarity-source-accent-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-clarity-scene .clarity-source-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.structure-clarity-scene .clarity-board {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.structure-clarity-scene .clarity-column {
  fill: color-mix(in srgb, var(--accent) 8%, transparent 92%);
  stroke: color-mix(in srgb, var(--accent) 14%, transparent 86%);
  stroke-width: 1.2;
}

.structure-clarity-scene .clarity-column-cap {
  fill: color-mix(in srgb, var(--surface) 86%, transparent 14%);
}

.structure-clarity-scene .clarity-slot {
  fill: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke: color-mix(in srgb, var(--text) 9%, transparent 91%);
  stroke-width: 1;
}

.structure-clarity-scene .clarity-slot-muted {
  fill: color-mix(in srgb, var(--text) 4%, transparent 96%);
}

.structure-clarity-scene .clarity-item-fill {
  fill: color-mix(in srgb, var(--text) 18%, transparent 82%);
}

.structure-clarity-scene .clarity-item-fill-gold {
  fill: color-mix(in srgb, var(--gold) 50%, transparent 50%);
}

.structure-clarity-scene .clarity-item-fill-brand {
  fill: color-mix(in srgb, var(--brand) 52%, transparent 48%);
}

.structure-clarity-scene .clarity-item-fill-accent {
  fill: color-mix(in srgb, var(--accent) 56%, transparent 44%);
}

.structure-clarity-scene .clarity-item-fill-neutral {
  fill: color-mix(in srgb, var(--text) 22%, transparent 78%);
}

.structure-clarity-scene .clarity-node {
  stroke: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  stroke-width: 4;
}

.structure-clarity-scene .clarity-node-gold {
  fill: var(--gold);
}

.structure-clarity-scene .clarity-node-brand {
  fill: var(--brand);
}

.structure-clarity-scene .clarity-node-accent {
  fill: var(--accent);
}

.structure-clarity-scene .clarity-source-a {
  animation: clarity-source-float-a 6s ease-in-out infinite;
}

.structure-clarity-scene .clarity-source-b {
  animation: clarity-source-float-b 6s ease-in-out infinite;
}

.structure-clarity-scene .clarity-source-c {
  animation: clarity-source-float-c 6s ease-in-out infinite;
}

.structure-clarity-scene .clarity-item-a {
  animation: clarity-item-pop-a 4.6s ease-in-out infinite;
}

.structure-clarity-scene .clarity-item-b {
  animation: clarity-item-pop-b 4.6s ease-in-out infinite;
}

.structure-clarity-scene .clarity-item-c {
  animation: clarity-item-pop-c 4.6s ease-in-out infinite;
}

.structure-clarity-scene .clarity-item-d {
  animation: clarity-item-pop-d 4.6s ease-in-out infinite;
}

.cleanup-scene .cleanup-lane,
.cleanup-scene .cleanup-out {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.cleanup-scene .cleanup-lane {
  stroke: color-mix(in srgb, var(--text) 12%, transparent 88%);
}

.cleanup-scene .cleanup-out {
  stroke: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.cleanup-scene .cleanup-card {
  fill: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke: color-mix(in srgb, var(--text) 10%, transparent 90%);
  stroke-width: 1.5;
}

.cleanup-scene .cleanup-pill {
  fill: color-mix(in srgb, var(--accent) 54%, transparent 46%);
}

.cleanup-scene .cleanup-pill-brand {
  fill: color-mix(in srgb, var(--brand) 48%, transparent 52%);
}

.cleanup-scene .cleanup-pill-gold {
  fill: color-mix(in srgb, var(--gold) 48%, transparent 52%);
}

.cleanup-scene .cleanup-line {
  fill: color-mix(in srgb, var(--text) 14%, transparent 86%);
}

.cleanup-scene .cleanup-engine {
  fill: color-mix(in srgb, var(--surface) 90%, transparent 10%);
  stroke: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  stroke-width: 1.5;
}

.cleanup-scene .cleanup-engine-glow {
  fill: color-mix(in srgb, var(--accent) 8%, transparent 92%);
}

.cleanup-scene .cleanup-engine-chip {
  fill: color-mix(in srgb, var(--brand) 34%, transparent 66%);
}

.cleanup-scene .cleanup-engine-line {
  fill: color-mix(in srgb, var(--text) 13%, transparent 87%);
}

.cleanup-scan {
  fill: color-mix(in srgb, var(--accent) 18%, transparent 82%);
  animation: cleanup-scan-pass 3.4s ease-in-out infinite;
}

.cleanup-scene .cleanup-result-card {
  fill: color-mix(in srgb, var(--accent) 46%, transparent 54%);
  stroke: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  stroke-width: 2;
}

.cleanup-scene .cleanup-result-card-brand {
  fill: color-mix(in srgb, var(--brand) 46%, transparent 54%);
}

.cleanup-scene .cleanup-result-card-gold {
  fill: color-mix(in srgb, var(--gold) 46%, transparent 54%);
}

.cleanup-scene .cleanup-input-a {
  animation: cleanup-input-a 5.2s ease-in-out infinite;
}

.cleanup-scene .cleanup-input-b {
  animation: cleanup-input-b 5.2s ease-in-out infinite;
}

.cleanup-scene .cleanup-input-c {
  animation: cleanup-input-c 5.2s ease-in-out infinite;
}

.cleanup-scene .cleanup-result-a {
  animation: cleanup-result-a 5.2s ease-in-out infinite;
}

.cleanup-scene .cleanup-result-b {
  animation: cleanup-result-b 5.2s ease-in-out infinite;
}

.cleanup-scene .cleanup-result-c {
  animation: cleanup-result-c 5.2s ease-in-out infinite;
}

@keyframes planner-route-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes planner-route-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -36;
  }
}

@keyframes source-drift-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

@keyframes source-drift-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -2px);
  }
}

@keyframes source-drift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes planner-item-pop-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.88;
  }
  50% {
    transform: translate(0, -4px);
    opacity: 1;
  }
}

@keyframes planner-item-pop-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.92;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes planner-item-pop-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -3px);
    opacity: 1;
  }
}

@keyframes planner-item-pop-d {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.76;
  }
  50% {
    transform: translate(0, -1px);
    opacity: 0.96;
  }
}

@keyframes cleanup-scan-pass {
  0%,
  100% {
    transform: translateY(-44px);
    opacity: 0.18;
  }
  50% {
    transform: translateY(38px);
    opacity: 0.62;
  }
}

@keyframes cleanup-input-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, 0);
  }
}

@keyframes cleanup-input-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, 0);
  }
}

@keyframes cleanup-input-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(7px, 0);
  }
}

@keyframes cleanup-result-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.72;
  }
  50% {
    transform: translate(4px, 0);
    opacity: 1;
  }
}

@keyframes cleanup-result-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.72;
  }
  50% {
    transform: translate(4px, 0);
    opacity: 1;
  }
}

@keyframes cleanup-result-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.72;
  }
  50% {
    transform: translate(4px, 0);
    opacity: 1;
  }
}

@keyframes grid-glow-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.9;
  }
}

@keyframes grid-link-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes grid-link-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes grid-link-drift-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes grid-source-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

@keyframes grid-source-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -2px);
  }
}

@keyframes grid-source-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes grid-item-pop-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -3px);
    opacity: 1;
  }
}

@keyframes grid-item-pop-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.92;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes grid-item-pop-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes grid-item-pop-d {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.76;
  }
  50% {
    transform: translate(0, -1px);
    opacity: 0.94;
  }
}

@keyframes atlas-aura-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.9;
  }
}

@keyframes atlas-link-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes atlas-link-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes atlas-link-drift-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes atlas-source-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

@keyframes atlas-source-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -2px);
  }
}

@keyframes atlas-source-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes atlas-item-pop-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -3px);
    opacity: 1;
  }
}

@keyframes atlas-item-pop-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.92;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes atlas-item-pop-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes atlas-item-pop-d {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.76;
  }
  50% {
    transform: translate(0, -1px);
    opacity: 0.94;
  }
}

@keyframes map-glow-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.88;
  }
}

@keyframes map-path-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes map-path-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -38;
  }
}

@keyframes map-path-drift-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -46;
  }
}

@keyframes map-source-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

@keyframes map-source-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -2px);
  }
}

@keyframes map-source-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes map-item-pop-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -3px);
    opacity: 1;
  }
}

@keyframes map-item-pop-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.92;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes map-item-pop-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes map-item-pop-d {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.76;
  }
  50% {
    transform: translate(0, -1px);
    opacity: 0.94;
  }
}

@keyframes plan-glow-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.48;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.86;
  }
}

@keyframes plan-route-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes plan-route-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -38;
  }
}

@keyframes plan-route-drift-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -46;
  }
}

@keyframes plan-source-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

@keyframes plan-source-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -2px);
  }
}

@keyframes plan-source-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes plan-row-settle-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.92;
  }
  50% {
    transform: translate(3px, -2px);
    opacity: 1;
  }
}

@keyframes plan-row-settle-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.94;
  }
  50% {
    transform: translate(2px, 0);
    opacity: 1;
  }
}

@keyframes plan-row-settle-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(3px, 2px);
    opacity: 1;
  }
}

@keyframes clarity-glow-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.88;
  }
}

@keyframes clarity-route-drift-a {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes clarity-route-drift-b {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -38;
  }
}

@keyframes clarity-route-drift-c {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -46;
  }
}

@keyframes clarity-source-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

@keyframes clarity-source-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -2px);
  }
}

@keyframes clarity-source-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes clarity-item-pop-a {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -3px);
    opacity: 1;
  }
}

@keyframes clarity-item-pop-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.92;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes clarity-item-pop-c {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, -2px);
    opacity: 1;
  }
}

@keyframes clarity-item-pop-d {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.76;
  }
  50% {
    transform: translate(0, -1px);
    opacity: 0.94;
  }
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.principle {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 96px;
}

.waitlist-notes {
  display: grid;
  gap: 34px;
}

.note-block {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.form-shell {
  position: relative;
}

.card-heading p,
.success-copy p,
.survey-complete p {
  margin: 14px 0 0;
  line-height: 1.68;
}

.inline-note {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px dashed color-mix(in srgb, var(--accent) 24%, transparent 76%);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--text-soft);
}

.waitlist-form,
.survey-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.choice-group legend {
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 84%, transparent 16%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 42%, transparent 58%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent 88%);
}

.form-meta,
.form-feedback {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.form-feedback[data-tone="error"] {
  color: var(--danger);
}

.form-feedback[data-tone="success"] {
  color: var(--success);
}

.success-copy {
  margin-top: 24px;
}

.quick-poll {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.quick-poll-label {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.quick-poll-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-choice {
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent 18%);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.quick-choice:hover,
.quick-choice:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 28%, transparent 72%);
  background: color-mix(in srgb, var(--surface) 94%, transparent 6%);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  outline: none;
}

.quick-choice:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.quick-skip {
  justify-self: start;
}

.survey-complete {
  display: grid;
  justify-items: start;
  gap: 0;
  margin-top: 24px;
  padding: 30px 28px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--brand) 12%, transparent 88%), transparent 52%),
    color-mix(in srgb, var(--surface) 94%, transparent 6%);
}

.confirmation-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  color: #f7fffd;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--brand) 22%, transparent 78%);
}

:root[data-theme="dark"] .confirmation-icon {
  color: #0f151b;
}

.confirmation-icon svg {
  width: 32px;
  height: 32px;
}

.selection-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 14px 0 0;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent 76%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, transparent 90%);
  color: var(--text);
  font-weight: 600;
}

.choice-group {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group + .choice-group {
  margin-top: 24px;
}

.choice-group legend {
  margin-bottom: 4px;
  padding: 0;
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 74%, transparent 26%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.choice:hover,
.choice:focus-within {
  border-color: color-mix(in srgb, var(--accent) 22%, transparent 78%);
  background: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.choice input {
  margin: 4px 0 0;
  accent-color: var(--accent);
}

.choice strong {
  display: block;
}

.choice small {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  line-height: 1.55;
}

.post-join[hidden],
.survey-complete[hidden] {
  display: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brandline p {
  margin: 0;
}

.footer-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: contain;
  background: color-mix(in srgb, var(--surface) 92%, transparent 8%);
}

.footer-links {
  display: inline-flex;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-scene *,
  .feature-scene *::before,
  .feature-scene *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-layout,
  .feature-pair,
  .feature-pair-reverse,
  .waitlist-layout {
    grid-template-columns: 1fr;
  }

  .feature-pair-reverse .feature-copy,
  .feature-pair-reverse .feature-graphic {
    order: initial;
  }

  .proof-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1160px);
  }

  .topbar {
    position: static;
    display: grid;
    gap: 12px;
    border-radius: 28px;
  }

  .topbar-actions {
    display: grid;
    gap: 10px;
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topnav a,
  .theme-toggle {
    width: 100%;
  }

  main {
    padding-top: 24px;
  }

  .hero-grid {
    gap: 28px;
    padding: 14px 0 56px;
  }

  .hero-copy h1,
  .page-head h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .hero-visual,
  .content-panel,
  .cta-band,
  .form-shell {
    padding: 22px;
  }

  .visual-stage {
    min-height: 300px;
  }

  .proof-band {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 64px;
  }

  .section-block,
  .waitlist-layout {
    padding-bottom: 72px;
  }

  .step-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .quick-poll-grid {
    grid-template-columns: 1fr;
  }
}
