/* ATELA Brands — extensions on top of main project base.css */
@import url('./base.css');

/* ============ DEMO CLONE HERO ============ */
.demo-nav-shell {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 140;
  width: clamp(520px, calc((100vw - 36px) * 0.5), 640px);
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
  will-change: transform, opacity;
}

.demo-nav-shell.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, calc(-100% - 18px), 0) scale(0.985);
}

.demo-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.demo-nav-logo,
.demo-nav-cta,
.demo-hero-button {
  border: 0 !important;
  text-decoration: none;
}

.demo-nav-logo {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.atela-demo-logo-word { color: #fff; }
.atela-demo-logo-dot { color: var(--atela-lime); }

.demo-nav-logo:hover,
.demo-nav-cta:hover,
.demo-hero-button:hover {
  color: inherit;
}

.atela-cta-complete-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.atela-cta-complete-check svg {
  width: 100%;
  height: 100%;
  display: block;
}

.demo-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-nav-lang,
.demo-nav-cta {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.demo-nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.demo-nav-lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.demo-nav-lang-option:hover {
  color: rgba(255, 255, 255, 0.94);
}

.demo-nav-lang-option.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: #0a0a0a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.demo-nav-lang-option.is-active:hover {
  color: #0a0a0a;
}

.demo-nav-cta {
  display: inline-flex;
  align-items: center;
  color: var(--atela-ink);
  background: var(--atela-lime);
  box-shadow: 0 8px 24px rgba(198, 255, 61, 0.24);
}

.demo-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 118px 24px 16px;
  background:
    radial-gradient(circle at 18% 18%, rgba(232, 213, 176, 0.16), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(198, 255, 61, 0.1), transparent 18%),
    linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 34%, #12130e 46%, #eef1e8 78%, #eef1e8 100%);
  color: #fff;
}

.demo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(198, 255, 61, 0.12), transparent 20%),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 46% 70%, rgba(250, 250, 247, 0.82), transparent 34%),
    radial-gradient(circle at 76% 58%, rgba(255, 61, 168, 0.08), transparent 20%);
  filter: blur(30px);
  opacity: 0.96;
  pointer-events: none;
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  opacity: 0.32;
  pointer-events: none;
}

.demo-hero-copy,
.demo-flow-stage {
  position: relative;
  z-index: 1;
}

.demo-hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.demo-hero-title {
  margin: 28px auto 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.demo-title-highlight {
  margin-right: 0.08em;
  border-radius: 14px;
  padding: 0.08em 0.18em 0.14em;
  box-shadow: 0 8px 24px rgba(198, 255, 61, 0.35);
}

.demo-hero-subtitle {
  margin: 0 auto;
  color: rgba(242, 241, 236, 0.82);
  max-width: 700px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.5;
}

.demo-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 17px 22px;
  border-radius: 999px;
  background: var(--atela-lime);
  color: var(--atela-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(198, 255, 61, 0.3);
}

.demo-hero-button-arrow {
  font-size: 22px;
  line-height: 1;
}

.demo-flow-stage {
  --flow-stage-scale: 0.79;
  --flow-stage-height: 900px; /* distance hero and flow cards */
  max-width: calc(1260px * var(--flow-stage-scale));
  min-height: calc(var(--flow-stage-height) * var(--flow-stage-scale));
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
}

.demo-flow-stage-inner {
  position: relative;
  width: 1260px;
  height: var(--flow-stage-height);
  transform: scale(var(--flow-stage-scale));
  transform-origin: top center;
}

.demo-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.demo-flow-lines path {
  fill: none;
  stroke: rgba(109, 114, 120, 0.28);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 * (1 - var(--line-progress, 0)));
  opacity: calc(0.12 + var(--line-progress, 0) * 0.88);
}

.demo-flow-lines path.is-input {
  stroke: rgba(119, 123, 129, 0.34);
}

.demo-flow-lines path.is-source,
.demo-flow-lines path.is-output {
  stroke: rgba(106, 111, 118, 0.3);
}

.demo-flow-card,
.demo-source-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background: rgba(236, 239, 243, 0.43);
  backdrop-filter: blur(15px);
  box-shadow: 0 14px 28px rgba(119, 123, 129, 0.08);
  overflow: hidden;
}

.demo-flow-card {
  z-index: 2;
  will-change: transform, opacity;
  transition:
    box-shadow var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out);
}

.demo-flow-card.is-shadows {
  top: 88px;
  left: 35.6%;
  width: min(33vw, 524px);
  z-index: 3;
}

.demo-source-card {
  top: 264px;
  left: 5.2%;
  --source-card-shift-x: -50%;
  width: min(21.8vw, 282px);
  min-height: 476px;
  z-index: 4;
  transform: translateX(-50%);
  transform-origin: center center;
  transition:
    border-color var(--dur-3) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    background var(--dur-3) var(--ease-out);
}

.demo-source-card.is-focused {
  border-color: rgba(198, 255, 61, 0.7);
  background: rgba(239, 242, 235, 0.52);
  box-shadow:
    0 26px 54px rgba(119, 123, 129, 0.14),
    0 0 0 1px rgba(198, 255, 61, 0.18);
}

.demo-flow-card.is-video {
  top: 730px;
  right: -8.8%;
  --card-shift-y: -24%;
  width: min(33vw, 476px);
}

.demo-flow-card.is-variation {
  top: 236px;
  right: -12.4%;
  --card-shift-x: 148%;
  --card-shift-y: 50%;
  width: min(17vw, 238px);
}

.demo-flow-card.is-angle {
  top: 28px;
  right: -6.4%;
  --card-shift-x: 50%;
  width: min(calc(15.8vw * 1.2), calc(202px * 1.2));
}

.demo-flow-card.is-lifestyle {
  top: 760px;
  left: 28.2%;
  --card-shift-y: -34%;
  width: min(15vw, 182px);
}

.demo-connector-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0;
  pointer-events: none;
}

.demo-connector-handle.is-top,
.demo-connector-handle.is-bottom {
  left: var(--handle-position, 50%);
}

.demo-connector-handle.is-left,
.demo-connector-handle.is-right {
  top: var(--handle-position, 50%);
}

.demo-connector-handle.is-center {
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--handle-offset-x, 0px)), calc(-50% + var(--handle-offset-y, 0px)));
}

.demo-connector-handle.is-top {
  top: 0;
  transform: translate(calc(-50% + var(--handle-offset-x, 0px)), calc(-50% + var(--handle-offset-y, 0px)));
}

.demo-connector-handle.is-bottom {
  top: 100%;
  transform: translate(calc(-50% + var(--handle-offset-x, 0px)), calc(-50% + var(--handle-offset-y, 0px)));
}

.demo-connector-handle.is-left {
  left: 0;
  transform: translate(calc(-50% + var(--handle-offset-x, 0px)), calc(-50% + var(--handle-offset-y, 0px)));
}

.demo-connector-handle.is-right {
  left: 100%;
  transform: translate(calc(-50% + var(--handle-offset-x, 0px)), calc(-50% + var(--handle-offset-y, 0px)));
}

.demo-flow-inputs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.demo-input-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  --card-shift-x: -130%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(244, 246, 239, 0.62);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 32px rgba(119, 123, 129, 0.1);
  color: #131313;
  white-space: nowrap;
  will-change: transform, opacity;
}

.demo-input-node.is-cafe24 {
  top: 38px;
  left: -7.2%;
}

.demo-input-node.is-shopify {
  top: 126px;
  left: 0.2%;
}

.demo-input-node.is-url {
  top: 94px;
  left: 14.8%;
}

.demo-platform-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #131313;
  white-space: nowrap;
}

.demo-platform-logo-word {
  display: inline-block;
  line-height: 1;
}

.demo-platform-logo.is-cafe24 .demo-platform-logo-word {
  font-family: var(--font-latin);
  font-weight: 800;
  letter-spacing: -0.08em;
  text-transform: lowercase;
}

.demo-platform-logo.is-shopify .demo-platform-logo-word {
  font-family: var(--font-latin);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.demo-platform-logo.is-url .demo-platform-logo-word {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-platform-logo.is-hero.is-cafe24 .demo-platform-logo-word {
  font-size: 26px;
}

.demo-platform-logo.is-hero.is-shopify .demo-platform-logo-word {
  font-size: 19px;
}

.demo-platform-logo.is-hero.is-url .demo-platform-logo-word {
  font-size: 15px;
}

.demo-platform-logo.is-compact.is-cafe24 .demo-platform-logo-word {
  font-size: 11px;
}

.demo-platform-logo.is-compact.is-shopify .demo-platform-logo-word {
  font-size: 10px;
}

.demo-platform-logo.is-compact.is-url .demo-platform-logo-word {
  font-size: 9px;
}

.demo-platform-logo-bag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 4px 6px 6px;
  background: linear-gradient(180deg, #95d468, #5ea835);
  color: #fff;
  font-family: var(--font-latin);
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

.demo-platform-logo-bag::before {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid rgba(110, 168, 53, 0.95);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.demo-platform-logo.is-hero .demo-platform-logo-bag {
  width: 22px;
  height: 18px;
  font-size: 12px;
}

.demo-platform-logo.is-hero .demo-platform-logo-bag::before {
  top: -7px;
  width: 10px;
  height: 7px;
}

.demo-platform-logo.is-compact .demo-platform-logo-bag {
  width: 12px;
  height: 10px;
  font-size: 7px;
}

.demo-platform-logo.is-compact .demo-platform-logo-bag::before {
  top: -4px;
  width: 5px;
  height: 4px;
  border-width: 1.5px;
}

.demo-platform-logo-link {
  position: relative;
  display: inline-block;
}

.demo-platform-logo-link::before,
.demo-platform-logo-link::after {
  content: "";
  position: absolute;
  top: 50%;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  transform: translateY(-50%) rotate(-32deg);
}

.demo-platform-logo-link::before {
  left: 0;
}

.demo-platform-logo-link::after {
  right: 0;
}

.demo-platform-logo.is-hero .demo-platform-logo-link {
  width: 18px;
  height: 12px;
}

.demo-platform-logo.is-hero .demo-platform-logo-link::before,
.demo-platform-logo.is-hero .demo-platform-logo-link::after {
  width: 8px;
  height: 8px;
}

.demo-platform-logo.is-compact .demo-platform-logo-link {
  width: 10px;
  height: 8px;
}

.demo-platform-logo.is-compact .demo-platform-logo-link::before,
.demo-platform-logo.is-compact .demo-platform-logo-link::after {
  width: 4px;
  height: 4px;
  border-width: 1.4px;
}

.demo-card-head,
.demo-source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  color: #1e1e1e;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.02em;
}

.demo-card-plus {
  font-family: var(--font-latin);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.demo-card-media {
  padding: 0 8px 8px;
}

.demo-card-media img,
.demo-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.demo-flow-card.is-shadows .demo-card-media { aspect-ratio: 1.12; }
.demo-flow-card.is-video .demo-card-media { aspect-ratio: 1.4; }
.demo-flow-card.is-variation .demo-card-media { aspect-ratio: 0.92; }
.demo-flow-card.is-angle .demo-card-media { aspect-ratio: 0.92; }
.demo-flow-card.is-lifestyle .demo-card-media { aspect-ratio: 1; }

.demo-flow-card.is-video video {
  aspect-ratio: 1.4;
}

.demo-source-title {
  font-size: 13px;
}

.demo-source-list {
  display: grid;
  gap: 7px;
  padding: 0 7px 7px;
}

.demo-source-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 62px;
  padding: 8px 12px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid transparent;
  background: rgba(224, 229, 235, 0.84);
  color: rgba(17, 17, 17, 0.92);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    opacity 180ms var(--ease-out),
    background var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
  will-change: transform, opacity;
}

.demo-source-item:hover {
  transform: translateY(-1px);
  background: rgba(229, 234, 239, 0.96);
}

.demo-source-item.is-active {
  border-color: rgba(198, 255, 61, 0.65);
  background: rgba(232, 237, 225, 0.96);
  box-shadow: 0 0 0 1px rgba(198, 255, 61, 0.2);
}

.demo-source-item:focus-visible {
  outline: 2px solid rgba(198, 255, 61, 0.85);
  outline-offset: 2px;
}

.demo-source-item span {
  pointer-events: none;
}

.demo-source-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 4px;
  object-fit: cover;
}

.atela-logos {
  background: #eef1e8;
  border-bottom: 0;
  padding: 0 0 56px;
}

.atela-logos-title {
  max-width: 820px;
  margin: 0 auto 22px !important;
  color: rgba(17, 17, 17, 0.92);
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0 !important;
  text-align: center;
  text-transform: none !important;
}

.atela-logo-item {
  color: rgba(17, 17, 17, 0.75) !important;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.38);
}

@keyframes demo-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

/* ============ HERO extensions ============ */
.atela-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  color: #ddd; font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  font-family: var(--font-sans);
}
.badge-dot { width: 6px; height: 6px; border-radius: 999px; display: inline-block; }

.atela-hero-grid.hero-node-grid { align-items: start; }
.hero-node-demo {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at 14% 16%, rgba(198,255,61,0.14), transparent 22%),
    radial-gradient(circle at 86% 82%, rgba(107,61,255,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
}
.hero-node-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.42), transparent 86%);
  pointer-events: none;
}
.hero-node-demo-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-node-demo-kicker,
.hero-node-demo-count,
.hero-node-pill,
.hero-node-label,
.hero-result-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-node-demo-count { color: #C6FF3D; font-family: var(--font-mono); }

.hero-node-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px 86px minmax(0, 1fr);
  gap: 16px;
  min-height: 560px;
  align-items: stretch;
}

.hero-node-source {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.hero-node-source::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 16px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.hero-node-source::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: -20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--node-accent);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.hero-node-source-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.hero-node-source-count {
  color: #888;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.hero-node-source-stage {
  position: relative;
  min-height: 248px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.hero-node-source-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(10,10,10,0.84);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.hero-node-source-meta strong,
.hero-node-product-copy strong,
.hero-result-node-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-node-source-meta span,
.hero-node-product-copy span,
.hero-result-node-copy span {
  display: block;
  margin-top: 4px;
  color: #888;
  font-size: 11px;
  line-height: 1.45;
  font-family: var(--font-mono);
}

.hero-node-product-list {
  margin-top: auto;
  display: grid;
  gap: 10px;
}
.hero-node-product-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), background var(--dur-3) var(--ease-out);
}
.hero-node-product-button:hover { transform: translateY(-2px); }
.hero-node-product-button.is-active {
  background: rgba(255,255,255,0.08);
  border-color: rgba(198,255,61,0.38);
  box-shadow: 0 0 0 1px rgba(198,255,61,0.22);
}

.hero-node-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-node-hub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.16);
}
.hero-node-hub-badge,
.hero-node-hub-meta {
  position: relative;
  z-index: 1;
}
.hero-node-hub-badge {
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #0A0A0A;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}
.hero-node-hub-meta {
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #888;
  font-size: 10px;
  line-height: 1.45;
  font-family: var(--font-mono);
  text-align: center;
}

.hero-node-results {
  position: relative;
  padding-left: 30px;
  display: grid;
  gap: 12px;
}
.hero-node-results::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 54px;
  bottom: 54px;
  width: 1px;
  background: rgba(255,255,255,0.14);
}
.hero-node-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-result-node,
.hero-feature-node {
  position: relative;
  overflow: visible;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.hero-result-node::before,
.hero-feature-node::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 28px;
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.16);
}
.hero-result-node::after,
.hero-feature-node::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--result-color);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.hero-result-node {
  padding: 14px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.hero-result-node:hover { transform: translateY(-2px); }
.hero-result-node.is-active {
  border-color: var(--result-color);
  box-shadow: 0 0 0 1px var(--result-color);
}
.hero-result-node-canvas {
  min-height: 112px;
  margin: 12px 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.hero-result-node-copy strong { font-size: 14px; }
.hero-result-node-copy span { font-size: 10px; }

.hero-feature-node {
  min-height: 270px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(220px, 1.08fr);
  gap: 18px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.hero-feature-node-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-feature-node-copy h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-feature-node-copy p {
  margin: 0;
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}
.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
}
.hero-feature-node-canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 232px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(255,255,255,0.14), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    var(--product-surface);
}
.hero-feature-banner {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(10,10,10,0.84);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-node-product-art {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    var(--product-surface);
}
.hero-node-product-art::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 10px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(10,10,10,0.26), rgba(10,10,10,0));
}
.hero-node-product-art.is-source {
  width: 82%;
  height: 82%;
  min-height: 180px;
}
.hero-node-product-art.is-thumb {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
}
.hero-node-product-art.is-node {
  width: 78%;
  height: 78%;
}
.hero-node-product-art.is-featured {
  width: 72%;
  height: 78%;
}

.hero-node-bottle {
  position: relative;
  width: 34%;
  height: 66%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  border-radius: 10px 10px 18px 18px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.28);
}
.hero-node-bottle::before {
  content: "";
  position: absolute;
  top: 9%;
  left: 18%;
  width: 16%;
  height: 46%;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.hero-node-bottle-label {
  position: absolute;
  inset: 26% 8% auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-node-bottle-label .sm {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.72;
  letter-spacing: 0;
}
.hero-node-product-art.is-thumb .hero-node-bottle {
  width: 40%;
  height: 62%;
  border-radius: 7px 7px 12px 12px;
}
.hero-node-product-art.is-thumb .hero-node-bottle-label { display: none; }
.hero-node-product-art.is-featured .hero-node-bottle {
  width: 38%;
  height: 72%;
  border-radius: 12px 12px 20px 20px;
}
.hero-node-product-art.is-featured .hero-node-bottle-label {
  font-size: 13px;
}
.hero-node-demo button { font: inherit; }
.hero-node-demo button:focus-visible {
  outline: 2px solid rgba(198,255,61,0.8);
  outline-offset: 2px;
}

@media (max-width: 1040px) {
  .demo-flow-stage {
    --flow-stage-scale: 0.68;
  }
}

@media (max-width: 900px) {
  .demo-flow-stage {
    --flow-stage-scale: 0.6;
  }
}

@media (max-width: 820px) {
  .demo-hero {
    min-height: auto;
    padding: 124px 20px 28px;
  }

  .demo-hero-title {
    margin-top: 54px;
    font-size: clamp(54px, 11vw, 92px);
  }

  .demo-flow-stage {
    display: block;
    min-height: auto;
    margin-top: 50px;
    max-width: 100%;
  }

  .demo-flow-stage-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: auto;
    height: auto;
    transform: none;
  }

  .demo-flow-lines,
  .demo-flow-inputs {
    display: none;
  }

  .demo-flow-inputs {
    display: none;
  }

  .demo-flow-card,
  .demo-source-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    min-height: 0;
    transform: none;
    animation: none;
  }

  .demo-source-card {
    grid-column: 1 / -1;
    order: 1;
  }

  .demo-compact-output-grid {
    grid-column: 1 / -1;
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .demo-compact-output-grid .demo-flow-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(242, 245, 238, 0.82);
  }

  .demo-compact-output-grid .demo-card-head {
    padding: 10px 12px 8px;
  }

  .demo-compact-output-grid .demo-card-plus {
    font-size: 20px;
  }

  .demo-compact-output-grid .demo-card-media {
    padding: 0 8px 8px;
    aspect-ratio: 1;
  }

  .demo-compact-output-grid .demo-card-media img {
    border-radius: 8px;
  }

  .demo-flow-card.is-shadows {
    grid-column: 1 / -1;
    order: 2;
  }

  .demo-flow-card.is-angle {
    order: 3;
  }

  .demo-flow-card.is-variation {
    order: 4;
  }

  .demo-flow-card.is-lifestyle {
    order: 5;
  }

  .demo-flow-card.is-video {
    grid-column: 1 / -1;
    order: 6;
  }

  .demo-flow-card.is-compact-video {
    order: 3;
  }
}

@media (max-width: 820px) {
  .demo-nav-shell {
    width: calc(100% - 20px);
    top: 10px;
  }

  .demo-nav-bar {
    min-height: 62px;
    padding: 7px;
  }

  .demo-nav-logo {
    font-size: 27px;
  }

  .demo-nav-lang,
  .demo-nav-cta {
    min-height: 48px;
    padding: 0 14px;
    font-size: 14px;
  }

  .demo-nav-lang {
    padding: 4px;
  }

  .demo-nav-lang-option {
    min-width: 40px;
    padding: 0 10px;
  }

  .demo-hero-subtitle {
    font-size: 18px;
  }

  .demo-flow-stage {
    margin-top: 42px;
  }

  .demo-flow-stage-inner {
    gap: 12px;
  }

  .demo-source-card {
    min-height: 0;
  }

  .atela-logos-title {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .demo-hero {
    padding: 102px 14px 20px;
  }

  .demo-hero::before {
    inset: 0;
  }

  .demo-hero-title {
    margin-top: 40px;
    font-size: clamp(40px, 13vw, 68px);
    line-height: 0.98;
  }

  .demo-hero-subtitle br {
    display: none;
  }

  .demo-hero-button {
    width: 100%;
    justify-content: center;
    padding: 18px 20px;
    font-size: 16px;
  }

  .demo-flow-stage {
    margin-top: 40px;
  }

  .demo-flow-stage-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .demo-nav-actions {
    gap: 4px;
  }

  .demo-nav-lang,
  .demo-nav-cta {
    padding: 0 12px;
  }

  .demo-nav-lang {
    padding: 4px;
  }

  .demo-nav-lang-option {
    min-width: 38px;
    padding: 0 9px;
  }

  .demo-source-item {
    min-height: 56px;
    font-size: 14px;
  }

  .demo-source-card,
  .demo-flow-card.is-video {
    grid-column: 1 / -1;
  }

  .demo-compact-output-grid {
    gap: 10px;
  }

  .demo-flow-card.is-shadows,
  .demo-flow-card.is-angle,
  .demo-flow-card.is-variation,
  .demo-flow-card.is-lifestyle {
    grid-column: auto;
  }

  .demo-card-head,
  .demo-source-head {
    padding: 10px 12px 8px;
  }

  .demo-card-plus {
    font-size: 22px;
  }

  .demo-card-media {
    padding: 0 6px 6px;
  }

  .demo-compact-output-grid .demo-card-media {
    padding: 0 6px 6px;
  }

  .demo-flow-card.is-video .demo-card-media,
  .demo-flow-card.is-video video {
    aspect-ratio: 1.18;
  }

  .atela-logo-item {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* --- Korean showcase in hero ---*/
.hero-ko { display: flex; flex-direction: column; gap: 14px; }
.hero-ko-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-ko-card {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08);
  background: #141414; display: flex; flex-direction: column;
  transition: transform var(--dur-3) var(--ease-out);
}
.hero-ko-card.sharp { border-color: rgba(198,255,61,0.4); box-shadow: 0 0 0 1px rgba(198,255,61,0.2), 0 20px 40px rgba(198,255,61,0.08); }
.hero-ko-card.broken { opacity: 0.95; }
.hero-ko-card:hover { transform: translateY(-2px); }
.hero-ko-label { display: flex; align-items: center; gap: 8px; padding: 12px 14px 10px; }
.hero-ko-tag { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; letter-spacing: 0.04em; }
.hero-ko-meta { font-family: var(--font-mono); font-size: 10px; color: #888; }
.hero-ko-img { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; }
.hero-ko-product { width: 60%; height: 75%; border-radius: 14px; display: grid; place-items: center; position: relative; }
.hero-ko-bottle {
  width: 48%; height: 78%; background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  border-radius: 8px 8px 16px 16px; position: relative; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.hero-ko-bottle-label {
  position: absolute; inset: 24% 10% auto 10%; display: flex; flex-direction: column; gap: 4px; align-items: center;
  color: #fff; text-align: center; font-weight: 800; font-size: 12px; letter-spacing: -0.02em; line-height: 1.15;
}
.hero-ko-bottle-label .sm { font-size: 9px; font-weight: 500; opacity: 0.7; letter-spacing: 0; }
.hero-ko-banner {
  position: absolute; left: 10%; right: 10%; bottom: 10%;
  padding: 8px 12px; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 700;
  background: #fff; color: #0A0A0A;
}

/* Glitched Korean look */
.glitch {
  filter: blur(0.4px);
  text-shadow: 1px 0 0 rgba(255,61,168,0.6), -1px 0 0 rgba(61,168,255,0.6);
  letter-spacing: 0.08em;
}
.glitch-heavy {
  filter: blur(0.5px);
  text-shadow: 1.5px 0 0 rgba(255,61,168,0.7), -1.5px 0 0 rgba(61,168,255,0.7);
  letter-spacing: 0.1em;
}
.hero-ko-foot { padding: 10px 14px 14px; font-size: 11px; color: #888; font-family: var(--font-mono); border-top: 1px solid rgba(255,255,255,0.06); }

/* Expert deck preview in hero alt variant */
.expert-deck { display: flex; flex-direction: column; gap: 12px; position: relative; }
.expert-card {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px;
  background: #141414; border: 1px solid rgba(255,255,255,0.1);
  transform: translate(var(--dx), 0); transition: transform var(--dur-3) var(--ease-out);
}
.expert-card:hover { transform: translate(0, -2px); }
.expert-avatar { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; color: #0a0a0a; font-size: 18px; flex-shrink: 0; }
.expert-info { flex: 1; }
.expert-name { font-weight: 700; font-size: 15px; color: #fff; }
.expert-spec { font-size: 12px; color: #888; margin-top: 2px; }
.expert-tags { display: flex; gap: 4px; margin-top: 6px; }
.expert-tag { font-size: 10px; color: #ccc; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.expert-rate { text-align: right; font-weight: 800; font-size: 16px; color: #C6FF3D; letter-spacing: -0.02em; }
.expert-rate span { display: block; font-size: 10px; color: #888; font-weight: 500; letter-spacing: 0; margin-top: 2px; font-family: var(--font-mono); }

/* ============ PILLAR cards (Features v2) ============ */
.atela-features-v2 { background: var(--n-50); color: var(--atela-ink); padding: 120px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card {
  border: 1px solid var(--border); border-radius: 28px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px; min-height: 340px;
  text-decoration: none; transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.pillar-card { border-bottom: none; } /* override a tag underline */
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(10,10,10,0.12); }
.pillar-top { display: flex; justify-content: space-between; align-items: center; }
.pillar-k { font-size: 11px; opacity: 0.5; }
.pillar-dot { width: 10px; height: 10px; border-radius: 3px; }
.pillar-eye { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pillar-h { font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
.pillar-p { font-size: 14px; line-height: 1.55; margin: 0; flex: 1; }
.pillar-link { font-size: 13px; font-weight: 700; align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ============ KOREAN TECH section ============ */
.atela-tech {
  --tech-detail-rail-width: 116px;
  --tech-detail-gap: 20px;
  --tech-compare-gap: 28px;
  background: var(--atela-ink);
  color: #fff;
  padding: 120px 0;
}
.atela-tech-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.atela-tech-lede { font-size: 16px; line-height: 1.6; color: #bbb; max-width: 480px; }
.atela-tech-lede b { color: #C6FF3D; font-weight: 700; }

.tech-selector-preview {
  margin-top: 8px;
  width: 100%;
  max-width: calc(100% - ((var(--tech-detail-rail-width) + var(--tech-detail-gap)) * 2));
  margin-inline: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-selector-preview-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tech-selector-preview-kicker {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tech-selector-preview-caption {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  line-height: 1.4;
}

.tech-selector-preview-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tech-selector-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out),
    background var(--dur-3) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out);
}

.tech-selector-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.tech-selector-card.is-active {
  border-color: rgba(198, 255, 61, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 0 0 1px rgba(198, 255, 61, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.14);
}

.tech-selector-thumb {
  display: block;
  overflow: hidden;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.tech-selector-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-selector-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tech-selector-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.tech-selector-subtitle {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.35;
}

.tech-selector-card.is-active .tech-selector-title {
  color: var(--atela-lime);
}

.atela-tech-compare-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tech-compare-gap);
  margin-bottom: 22px;
  align-items: start;
}

.tech-compare-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-compare-layout {
  display: grid;
  gap: var(--tech-detail-gap);
  align-items: start;
}

.tech-compare-panel.details-left .tech-compare-layout {
  grid-template-columns: var(--tech-detail-rail-width) minmax(0, 1fr);
}

.tech-compare-panel.details-right .tech-compare-layout {
  grid-template-columns: minmax(0, 1fr) var(--tech-detail-rail-width);
}

.tech-compare-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-compare-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

.tech-compare-browser-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #fff;
}

.tech-compare-browser-body {
  padding: 16px;
}

.tech-compare-panel.is-nb2 .tech-compare-browser {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.tech-compare-panel.is-atela .tech-compare-browser {
  border-color: rgba(198, 255, 61, 0.56);
  box-shadow:
    0 0 0 1px rgba(198, 255, 61, 0.2),
    0 28px 60px rgba(0, 0, 0, 0.26);
}

.tech-compare-panel.is-atela .tech-compare-browser-bar {
  color: var(--atela-lime);
}

.tech-compare-image {
  overflow: hidden;
  background: #0f0f0f;
  aspect-ratio: 1 / 1;
}

.tech-compare-browser .tech-compare-image {
  border-radius: 16px;
}

.tech-compare-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--main-position, 50% 50%);
  display: block;
}

.tech-compare-detail-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}

.tech-compare-detail {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #111;
  aspect-ratio: 1.06 / 0.86;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.tech-compare-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--detail-position, 50% 50%);
  transform: scale(var(--detail-scale, 2.8));
  transform-origin: var(--detail-position, 50% 50%);
  display: block;
}

.tech-compare-note {
  margin: 0;
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.65;
}

.tech-compare-note b {
  color: #fff;
}

.tech-compare-panel.is-atela .tech-compare-note b {
  color: #C6FF3D;
}

.atela-tech-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; border-top: 1px solid #2a2a2a; }
.mono-note { font-family: var(--font-mono); font-size: 11px; color: #888; letter-spacing: 0; }

/* ============ INTEGRATIONS section ============ */
.atela-integ { background: var(--n-50); color: var(--atela-ink); padding: 120px 0; }
.atela-integ-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: flex-start; }
.integ-copy .atela-h2 { margin-top: 12px; }
.integ-copy .hl { background: var(--atela-lime); padding: 0 0.12em; border-radius: 4px; }
.integ-lede { font-size: 16px; line-height: 1.6; color: var(--fg-2); margin: 20px 0 32px; max-width: 480px; }
.integ-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 20px; }
.integ-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: flex-start; }
.integ-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--atela-ink); color: var(--atela-lime); display: grid; place-items: center; font-weight: 800; font-family: var(--font-mono); font-size: 13px; }
.integ-list b { font-weight: 800; font-size: 15px; letter-spacing: -0.015em; display: block; margin-bottom: 4px; }
.integ-list p { font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.55; }

.integ-viz { display: flex; flex-direction: column; gap: 16px; }
.integ-stage {
  background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 20px;
  display: grid; grid-template-columns: 1fr 40px 1fr; gap: 12px; align-items: stretch;
}
.integ-source, .integ-output { background: var(--n-50); border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.integ-source-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--fg-1); }
.integ-source-head .dot { width: 8px; height: 8px; border-radius: 999px; background: #1AE07E; box-shadow: 0 0 0 3px rgba(26,224,126,0.2); }
.integ-source-head .mono-note { margin-left: auto; color: var(--fg-3); }
.integ-source-list { display: flex; flex-direction: column; gap: 6px; }
.integ-source-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border-radius: 10px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.integ-prod-dot { width: 10px; height: 10px; border-radius: 4px; }

.integ-flow { position: relative; display: flex; align-items: center; justify-content: center; }
.integ-flow-line {
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, #0A0A0A 20%, #0A0A0A 80%, transparent);
  position: relative; overflow: hidden;
}
.integ-flow-line::after {
  content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, #C6FF3D, transparent);
  animation: flow 1.8s linear infinite;
}
@keyframes flow { to { left: 100%; } }
.integ-flow-chip {
  position: absolute; padding: 4px 10px; border-radius: 999px; background: #0A0A0A; color: #C6FF3D;
  font-size: 10px; font-weight: 800; font-family: var(--font-mono); letter-spacing: 0.04em; white-space: nowrap;
}

.integ-output-head { font-size: 12px; font-weight: 800; letter-spacing: -0.01em; }
.integ-output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.integ-out-cell {
  aspect-ratio: 1; border-radius: 8px; position: relative; overflow: hidden;
  animation: pop 2.4s var(--ease-out) infinite;
}
.cell-0 { background: linear-gradient(135deg, #E8D5B0, #F2ECD8); }
.cell-1 { background: linear-gradient(135deg, #FF3DA8, #FF6FBA); }
.cell-2 { background: linear-gradient(135deg, #0A0A0A, #2a2a2a); }
.cell-3 { background: linear-gradient(135deg, #C6FF3D, #E3FF9F); }
.cell-4 { background: linear-gradient(135deg, #6B3DFF, #9F7BFF); }
@keyframes pop { 0%, 80%, 100% { opacity: 1; } 40% { opacity: 0.85; } }
.integ-count { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; background: rgba(10,10,10,0.85); }
.integ-output-foot { display: flex; justify-content: space-between; padding-top: 4px; }
.hl-mono { color: #0A0A0A !important; font-weight: 700; }

.integ-connectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.integ-conn {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
}
.integ-conn.soon { opacity: 0.55; }
.integ-conn-glyph { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 11px; letter-spacing: -0.01em; flex-shrink: 0; }
.integ-conn-name { font-size: 13px; font-weight: 700; }
.integ-conn-status { font-size: 11px; color: var(--fg-3); font-family: var(--font-mono); }

.workflow-catalog-layout { align-items: flex-start; }
.workflow-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 0 auto 44px;
  max-width: 860px;
}
.workflow-section-head .hl {
  background: var(--atela-lime);
  padding: 0 0.12em;
  border-radius: 4px;
}
.workflow-section-head .atela-h2 {
  margin: 0;
}
.workflow-section-lede {
  margin: 0;
  max-width: 720px;
}
.workflow-display-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(420px, 1.16fr) minmax(250px, 0.78fr);
  gap: 28px;
  align-items: start;
}
.workflow-selector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 40px;
}
.workflow-selector-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background: transparent;
  color: var(--atela-ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--dur-3) var(--ease-out),
    background var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out);
}
.workflow-selector-item:hover {
  transform: translateX(2px);
  background: rgba(10, 10, 10, 0.03);
}
.workflow-selector-item.is-active {
  background: var(--n-100);
  border-color: var(--border);
}
.workflow-selector-item-index {
  flex: none;
  min-width: 24px;
  padding-top: 4px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.workflow-selector-item-title {
  display: block;
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.workflow-result-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}
.workflow-result-media {
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(520px, 52vw, 760px);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.workflow-result-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.workflow-metric-panel {
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(140px, 10vw, 220px);
}
.workflow-metric-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--border);
}
.workflow-metric-row:first-child {
  border-top: none;
}
.workflow-metric-value {
  color: var(--atela-ink);
  font-family: var(--font-latin);
  font-size: clamp(48px, 4.6vw, 78px);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 500;
}
.workflow-metric-row p {
  margin: 0;
  color: var(--fg-2);
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

/* ============ SHOWCASE hook section ============ */
.atela-showcase {
  background: linear-gradient(180deg, #f2ecdf 0%, #fafaf7 100%);
  color: var(--atela-ink);
  padding: 120px 0;
}

.atela-showcase .atela-container {
  width: min(90vw, 1640px);
  max-width: none;
  padding: 0;
}

.atela-showcase-head {
  margin-bottom: 34px;
}

.atela-showcase-head .atela-eyebrow {
  color: rgba(10, 10, 10, 0.58);
}

.atela-showcase-heading .atela-h2 {
  max-width: 780px;
}

.showcase-gallery {
  position: relative;
  overflow: hidden;
  padding: 16px 0 78px;
}

.showcase-gallery::before,
.showcase-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.showcase-gallery::before {
  left: 0;
  background: linear-gradient(90deg, #f7f2e8 0%, rgba(247, 242, 232, 0) 100%);
}

.showcase-gallery::after {
  right: 0;
  background: linear-gradient(270deg, #fbfaf6 0%, rgba(251, 250, 246, 0) 100%);
}

.showcase-loop-track {
  display: flex;
  width: max-content;
  animation: showcase-loop-scroll 28s linear infinite;
  will-change: transform;
}

.showcase-loop-group {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-right: 18px;
}

.showcase-loop-item {
  flex: 0 0 clamp(220px, 22vw, 300px);
  width: clamp(220px, 22vw, 300px);
  aspect-ratio: 0.82;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 24px 56px rgba(10, 10, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(var(--showcase-offset, 0px)) rotate(var(--showcase-tilt, 0deg));
}

.showcase-loop-item:nth-child(4n + 1) {
  --showcase-offset: 26px;
  --showcase-tilt: -1.8deg;
}

.showcase-loop-item:nth-child(4n + 2) {
  --showcase-offset: 0px;
  --showcase-tilt: 1.2deg;
}

.showcase-loop-item:nth-child(4n + 3) {
  --showcase-offset: 40px;
  --showcase-tilt: -1deg;
}

.showcase-loop-item:nth-child(4n + 4) {
  --showcase-offset: 12px;
  --showcase-tilt: 1.8deg;
}

.showcase-loop-item img,
.showcase-loop-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.showcase-gallery:hover .showcase-loop-track {
  animation-play-state: paused;
}

@keyframes showcase-loop-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-loop-track {
    animation: none;
  }
}

/* ============ COMPOUND LOOP section ============ */
.atela-compound-wrapper {
  --compound-bg: var(--atela-ink);
  --compound-surface: rgba(255, 255, 255, 0.88);
  --compound-surface-strong: rgba(255, 255, 255, 0.96);
  --compound-accent: #C6FF3D;
  --compound-accent-ink: #607c12;
  --compound-accent-soft: rgba(198, 255, 61, 0.12);
  --compound-border: rgba(255, 255, 255, 0.1);
  --compound-border-strong: rgba(198, 255, 61, 0.28);
  --compound-text: #0c101a;
  --compound-dim: rgba(12, 16, 26, 0.6);
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 10% 72%, rgba(198, 255, 61, 0.18) 0, rgba(198, 255, 61, 0) 28%),
    radial-gradient(circle at 88% 14%, rgba(61, 168, 255, 0.18) 0, rgba(61, 168, 255, 0) 24%),
    linear-gradient(180deg, #0A0A0A 0%, #0A0A0A 100%);
}
.atela-compound-spacer { pointer-events: none; }
.atela-compound-section {
  position: sticky;
  top: 60px;
  z-index: 1;
  height: calc(100lvh - 60px);
  display: flex;
  flex-direction: column;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 22%, rgba(198, 255, 61, 0.08) 0, rgba(198, 255, 61, 0) 26%),
    linear-gradient(180deg, rgba(10,10,10,0.96), rgba(10,10,10,0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.atela-compound-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(198, 255, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 61, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 92%);
  pointer-events: none;
}
.atela-compound-header {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 18px;
  text-align: left;
}
.atela-compound-eyebrow { color: var(--compound-accent); }
.atela-compound-headline {
  margin: 10px 0 12px;
  max-width: 840px;
  color: #fff;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.atela-compound-headline em {
  display: inline-block;
  margin-top: 0.14em;
  padding: 0 0.12em;
  border-radius: 6px;
  background: var(--compound-accent);
  color: #0A0A0A;
  font-style: normal;
  font-weight: 800;
}
.atela-compound-sub {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  line-height: 1.6;
}

.atela-compound-sub-highlight {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.98);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.atela-compound-sub-rest {
  display: block;
}

.atela-compound-desk { display: block; flex: 1 1; min-height: 0; position: relative; margin-top: 12px; overflow: hidden; }
.atela-compound-mobile { display: none; }
.atela-compound-hscroll { height: 100%; position: relative; overflow: visible; z-index: 2; }
.atela-compound-track {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-width: max-content;
  padding: 0 120px;
  will-change: transform;
}
.atela-compound-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.atela-compound-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  transform-origin: center center;
  opacity: 0.45;
}
.atela-compound-colhead {
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  white-space: nowrap;
  color: rgba(198, 255, 61, calc(0.54 + var(--col-t, 0) * 0.46));
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.18);
}
.atela-compound-col-input { width: 230px; align-items: center; margin-right: 100px; }
.atela-compound-col-v1 { width: 216px; align-items: center; margin-right: 360px; }
.atela-compound-col-content { width: 320px; margin-right: 168px; }
.atela-compound-col-data { width: 220px; margin-right: 120px; }
.atela-compound-col-model { width: 220px; margin-right: 180px; }
.atela-compound-col-ideation { width: 220px; margin-right: 260px; }
.atela-compound-col-variants { width: 220px; margin-right: 0; }
.atela-compound-col-output { width: 240px; align-items: center; }

.atela-compound-input-card,
.atela-compound-channel-card,
.atela-compound-perf-card,
.atela-compound-variant-base,
.atela-compound-model-card,
.atela-compound-ideation-card {
  background: var(--compound-surface);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(64,77,22,0.14);
}
.atela-compound-input-card {
  width: 196px;
  height: 196px;
  padding: 10px;
}
.atela-compound-input-shell {
  height: 100%;
  padding: 16px;
  border-radius: 10px;
  border: 1px dashed var(--compound-border-strong);
  background:
    linear-gradient(145deg, rgba(198,255,61,0.18), rgba(255,255,255,0.96)),
    #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.atela-compound-input-kicker {
  color: var(--compound-accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.atela-compound-input-title {
  display: block;
  color: var(--compound-text);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.atela-compound-input-copy {
  margin: 0;
  color: var(--compound-dim);
  font-size: 12px;
  line-height: 1.55;
}
.atela-compound-input-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.atela-compound-input-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(198, 255, 61, 0.16);
  color: var(--compound-accent-ink);
  font-size: 10px;
  font-weight: 700;
}

.atela-compound-output-label {
  position: relative;
  z-index: 30;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
  color: var(--compound-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.55;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.atela-compound-output-label-final { font-size: 12px; line-height: 1.6; }

.atela-compound-fan {
  position: relative;
  width: 192px;
  height: 192px;
  will-change: transform;
}
.atela-compound-fan-card {
  position: absolute;
  inset: 0;
  width: 192px;
  height: 192px;
  border-radius: 16px;
  border: 1px solid rgba(10,10,10,0.08);
  background-color: var(--compound-surface-strong);
  overflow: hidden;
  transform-origin: 0 50%;
  box-shadow: 0 18px 38px rgba(64,77,22,0.16);
}
.atela-compound-fan-card:not(:first-child) { opacity: var(--fan-t, 0); }
.atela-compound-fan-card:first-child { transform: none; z-index: 10; border-color: rgba(10,10,10,0.08); }
.atela-compound-fan-card:nth-child(2) { transform: translateX(calc(var(--fan-t, 0) * 120px)) translateY(calc(var(--fan-t, 0) * -40px)) rotate(calc(var(--fan-t, 0) * -16deg)); z-index: 8; }
.atela-compound-fan-card:nth-child(3) { transform: translateX(calc(var(--fan-t, 0) * 240px)) translateY(calc(var(--fan-t, 0) * -70px)) rotate(calc(var(--fan-t, 0) * -30deg)); z-index: 6; }
.atela-compound-fan-card:nth-child(4) { transform: translateX(calc(var(--fan-t, 0) * 260px)); z-index: 7; }
.atela-compound-fan-card:nth-child(5) { transform: translateX(calc(var(--fan-t, 0) * 120px)) translateY(calc(var(--fan-t, 0) * 40px)) rotate(calc(var(--fan-t, 0) * 16deg)); z-index: 5; }
.atela-compound-fan-card:nth-child(6) { transform: translateX(calc(var(--fan-t, 0) * 240px)) translateY(calc(var(--fan-t, 0) * 70px)) rotate(calc(var(--fan-t, 0) * 30deg)); z-index: 3; }

.atela-compound-fan-small,
.atela-compound-fan-small .atela-compound-fan-card { width: 96px; height: 96px; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(2) { transform: translateX(calc(var(--fan-t,0) * 78px)) translateY(calc(var(--fan-t,0) * -78px)) rotate(calc(var(--fan-t,0) * -36deg)); z-index: 12; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(3) { transform: translateX(calc(var(--fan-t,0) * 98px)) translateY(calc(var(--fan-t,0) * -50px)) rotate(calc(var(--fan-t,0) * -22deg)); z-index: 13; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(4) { transform: translateX(calc(var(--fan-t,0) * 109px)) translateY(calc(var(--fan-t,0) * -17px)) rotate(calc(var(--fan-t,0) * -7deg)); z-index: 14; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(5) { transform: translateX(calc(var(--fan-t,0) * 109px)) translateY(calc(var(--fan-t,0) * 17px)) rotate(calc(var(--fan-t,0) * 7deg)); z-index: 14; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(6) { transform: translateX(calc(var(--fan-t,0) * 98px)) translateY(calc(var(--fan-t,0) * 50px)) rotate(calc(var(--fan-t,0) * 22deg)); z-index: 13; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(7) { transform: translateX(calc(var(--fan-t,0) * 78px)) translateY(calc(var(--fan-t,0) * 78px)) rotate(calc(var(--fan-t,0) * 36deg)); z-index: 12; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(8) { transform: translateX(calc(var(--fan-t,0) * 113px)) translateY(calc(var(--fan-t,0) * -113px)) rotate(calc(var(--fan-t,0) * -36deg)); z-index: 8; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(9) { transform: translateX(calc(var(--fan-t,0) * 139px)) translateY(calc(var(--fan-t,0) * -80px)) rotate(calc(var(--fan-t,0) * -24deg)); z-index: 9; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(10) { transform: translateX(calc(var(--fan-t,0) * 155px)) translateY(calc(var(--fan-t,0) * -41px)) rotate(calc(var(--fan-t,0) * -12deg)); z-index: 10; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(11) { transform: translateX(calc(var(--fan-t,0) * 160px)); z-index: 11; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(12) { transform: translateX(calc(var(--fan-t,0) * 155px)) translateY(calc(var(--fan-t,0) * 41px)) rotate(calc(var(--fan-t,0) * 12deg)); z-index: 10; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(13) { transform: translateX(calc(var(--fan-t,0) * 139px)) translateY(calc(var(--fan-t,0) * 80px)) rotate(calc(var(--fan-t,0) * 24deg)); z-index: 9; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(14) { transform: translateX(calc(var(--fan-t,0) * 113px)) translateY(calc(var(--fan-t,0) * 113px)) rotate(calc(var(--fan-t,0) * 36deg)); z-index: 8; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(15) { transform: translateX(calc(var(--fan-t,0) * 157px)) translateY(calc(var(--fan-t,0) * -132px)) rotate(calc(var(--fan-t,0) * -32deg)); z-index: 4; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(16) { transform: translateX(calc(var(--fan-t,0) * 187px)) translateY(calc(var(--fan-t,0) * -83px)) rotate(calc(var(--fan-t,0) * -19deg)); z-index: 5; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(17) { transform: translateX(calc(var(--fan-t,0) * 203px)) translateY(calc(var(--fan-t,0) * -29px)) rotate(calc(var(--fan-t,0) * -6deg)); z-index: 6; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(18) { transform: translateX(calc(var(--fan-t,0) * 203px)) translateY(calc(var(--fan-t,0) * 29px)) rotate(calc(var(--fan-t,0) * 6deg)); z-index: 6; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(19) { transform: translateX(calc(var(--fan-t,0) * 187px)) translateY(calc(var(--fan-t,0) * 83px)) rotate(calc(var(--fan-t,0) * 19deg)); z-index: 5; }
.atela-compound-fan-small .atela-compound-fan-card:nth-child(20) { transform: translateX(calc(var(--fan-t,0) * 157px)) translateY(calc(var(--fan-t,0) * 132px)) rotate(calc(var(--fan-t,0) * 32deg)); z-index: 4; }

.atela-compound-thumb {
  position: absolute;
  inset: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.04)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55), transparent 28%);
}
.atela-compound-thumb.tone-pink { background-color: #ff3da8; color: #fff; }
.atela-compound-thumb.tone-blue { background-color: #2f6bff; color: #fff; }
.atela-compound-thumb.tone-lime { background-color: #c6ff3d; color: #0a0a0a; }
.atela-compound-thumb.tone-sand { background-color: #e8d5b0; color: #0a0a0a; }
.atela-compound-thumb.tone-ink { background-color: #0a0a0a; color: #fff; }
.atela-compound-thumb.tone-violet { background-color: #6b3dff; color: #fff; }
.atela-compound-thumb-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.84;
}
.atela-compound-thumb-title {
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.atela-compound-thumb-lines { display: grid; gap: 4px; }
.atela-compound-thumb-lines i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.22;
}
.atela-compound-thumb-lines i:nth-child(1) { width: 78%; }
.atela-compound-thumb-lines i:nth-child(2) { width: 58%; }
.atela-compound-thumb-lines i:nth-child(3) { width: 68%; }

.atela-compound-channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.atela-compound-channel-card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.atela-compound-channel-media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(198,255,61,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.atela-compound-channel-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 9px 9px;
  background: rgba(255,255,255,0.96);
}
.atela-compound-channel-title { font-size: 11px; font-weight: 700; color: var(--compound-text); }
.atela-compound-channel-desc { margin-top: 2px; font-size: 9.5px; line-height: 1.4; color: var(--compound-dim); }

.atela-compound-channel-visual {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}
.atela-compound-channel-visual.tone-pink { background: linear-gradient(145deg, #ff6abd, #ff3da8); color: #fff; }
.atela-compound-channel-visual.tone-blue { background: linear-gradient(145deg, #5c90ff, #2f6bff); color: #fff; }
.atela-compound-channel-visual.tone-lime { background: linear-gradient(145deg, #e1ff90, #c6ff3d); color: #0a0a0a; }
.atela-compound-channel-visual.tone-sand { background: linear-gradient(145deg, #f3e5c8, #e8d5b0); color: #0a0a0a; }
.atela-compound-channel-visual.tone-violet { background: linear-gradient(145deg, #8766ff, #6b3dff); color: #fff; }
.atela-compound-channel-visual.tone-ink { background: linear-gradient(145deg, #242734, #0a0a0a); color: #fff; }
.atela-compound-channel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.atela-compound-channel-title-overlay {
  display: block;
  max-width: calc(100% - 40px);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.atela-compound-channel-glyph {
  flex-shrink: 0;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.atela-compound-channel-lines {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(78px, 70%);
}
.atela-compound-channel-lines i {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.26;
}
.atela-compound-channel-lines i:nth-of-type(1) { width: 72%; }
.atela-compound-channel-lines i:nth-of-type(2) { width: 58%; }
.atela-compound-channel-lines i:nth-of-type(3) { width: 82%; }
.atela-compound-channel-visual::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  right: -12px;
  top: -12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.atela-compound-perf-card {
  width: 204px;
  height: 204px;
  padding: 5px;
}
.atela-compound-perf-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}
.atela-compound-perf-box {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(10,10,10,0.08);
  background: rgba(198,255,61,0.1);
}
.atela-compound-kpi {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  color: var(--compound-accent-ink);
}
.atela-compound-kpi-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.atela-compound-kpi-num span { font-size: 0.7em; }
.atela-compound-kpi-delta,
.atela-compound-kpi-label {
  font-size: 8px;
  font-family: var(--font-mono);
}
.atela-compound-kpi-delta { margin-top: 6px; color: rgba(96, 124, 18, 0.86); }
.atela-compound-kpi-label { margin-top: 4px; color: rgba(12, 16, 26, 0.5); }

.atela-compound-lanes { position: relative; height: 100%; padding: 12px 8px 8px 34px; }
.atela-compound-lane-row { position: relative; height: 30%; display: flex; align-items: center; }
.atela-compound-lane-row span {
  position: absolute;
  left: -24px;
  font-size: 7px;
  font-family: var(--font-mono);
  color: rgba(12, 16, 26, 0.56);
}
.atela-compound-lane-row em {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(198, 255, 61, 0.24);
}
.atela-compound-chip {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: rgba(198, 255, 61, 0.34);
  animation: compound-chip 2.4s ease-in-out infinite alternate;
}
.atela-compound-chip.is-hero { background: var(--compound-accent); }
@keyframes compound-chip {
  from { transform: translateX(0); }
  to { transform: translateX(8px); }
}

.atela-compound-hist { position: relative; height: 100%; padding: 12px 12px 10px; }
.atela-compound-hist-bars {
  position: absolute;
  inset: 14px 12px 16px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.atela-compound-hist-bars i {
  flex: 1 1 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(198,255,61,0.95), rgba(198,255,61,0.32));
  transform-origin: bottom;
  animation: compound-grow 1.3s ease both;
}
.atela-compound-hist-median {
  position: absolute;
  left: 38%;
  top: 12px;
  color: rgba(12, 16, 26, 0.52);
  font-size: 7px;
  font-family: var(--font-mono);
}
.atela-compound-hist::after {
  content: "";
  position: absolute;
  left: 38%;
  top: 10px;
  bottom: 14px;
  width: 1px;
  background: rgba(198, 255, 61, 0.4);
}
@keyframes compound-grow {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}

.atela-compound-rank {
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.atela-compound-rank-row { display: flex; align-items: center; gap: 8px; }
.atela-compound-rank-row span {
  width: 26px;
  font-size: 7px;
  font-family: var(--font-mono);
  color: rgba(12, 16, 26, 0.58);
}
.atela-compound-rank-row i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(198, 255, 61, 0.3);
  animation: compound-slidebar 1.15s ease both;
}
.atela-compound-rank-row i.is-hero { background: var(--compound-accent); }
@keyframes compound-slidebar {
  from { transform: scaleX(0.25); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

.atela-compound-variant-wrap { position: relative; width: 100%; }
.atela-compound-variant-base {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(198,255,61,0.18), transparent 44%),
    linear-gradient(180deg, rgba(198,255,61,0.1), rgba(255,255,255,0.92));
  display: flex;
  align-items: center;
  justify-content: center;
}
.atela-compound-variant-pulse {
  width: 58%;
  height: 58%;
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 61, 0.22);
  box-shadow: 0 0 0 28px rgba(198,255,61,0.06), 0 0 0 56px rgba(198,255,61,0.03);
}
.atela-compound-variant-grid {
  position: absolute;
  inset: 20%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.atela-compound-variant-grid span {
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 61, 0.18);
}
.atela-compound-fan-overlay {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.atela-compound-model-stack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.atela-compound-model-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.atela-compound-model-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.atela-compound-model-dots {
  position: absolute;
  inset: 22px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-content: center;
}
.atela-compound-model-dots i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(198, 255, 61, 0.52);
  animation: compound-float 2.8s ease-in-out infinite;
}
.atela-compound-model-dots i:nth-child(odd) { animation-delay: 0.2s; }
.atela-compound-model-dots i:nth-child(3n) { animation-delay: 0.45s; }
@keyframes compound-float {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-6px); opacity: 1; }
}
.atela-compound-model-beam {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,0.28), transparent 28%),
    linear-gradient(180deg, rgba(198,255,61,0.22), transparent 55%);
}
.atela-compound-model-beam::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 18%;
  bottom: 18%;
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 61, 0.2);
}
.atela-compound-model-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.atela-compound-model-title {
  color: var(--compound-text);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}
.atela-compound-model-desc {
  color: rgba(12, 16, 26, 0.58);
  font-size: 9.5px;
  line-height: 1.45;
}

.atela-compound-ideation-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 5px;
}
.atela-compound-ideation-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}
.atela-compound-ideation-cell {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(10,10,10,0.08);
  background: rgba(198,255,61,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.atela-compound-ideation-cell span {
  color: var(--compound-text);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.atela-compound-ideation-cell i {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--compound-accent), rgba(198,255,61,0.12));
  opacity: 0.85;
}

.atela-compound-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 4vw, 56px) 36px;
}
.atela-compound-mobile-card {
  background: var(--compound-surface);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 18px;
  padding: 18px;
  color: var(--compound-text);
  box-shadow: 0 16px 34px rgba(64,77,22,0.14);
}
.atela-compound-mobile-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.atela-compound-mobile-card p {
  margin: 0;
  color: var(--compound-dim);
  font-size: 14px;
  line-height: 1.55;
}
.atela-compound-mobile-card.is-highlight {
  background: rgba(10,10,10,0.96);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
.atela-compound-mobile-card.is-highlight h3 { color: var(--compound-accent); }
.atela-compound-mobile-card.is-highlight p { color: rgba(255,255,255,0.72); }

/* ============ COMPOUND LOOP refresh ============ */
.atela-compound-wrapper {
  --compound-surface: rgba(17, 19, 24, 0.88);
  --compound-surface-strong: rgba(14, 16, 20, 0.96);
  --compound-surface-soft: rgba(244, 239, 228, 0.08);
  --compound-surface-paper: rgba(244, 239, 228, 0.9);
  --compound-card-edge: rgba(255, 255, 255, 0.08);
  --compound-card-glow: rgba(198, 255, 61, 0.18);
  padding: 26px 0 52px;
  background:
    radial-gradient(circle at 12% 68%, rgba(198, 255, 61, 0.18) 0, rgba(198, 255, 61, 0) 30%),
    radial-gradient(circle at 82% 14%, rgba(61, 168, 255, 0.15) 0, rgba(61, 168, 255, 0) 24%),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #080808 0%, #090b0d 100%);
}

.atela-compound-section {
  background:
    radial-gradient(circle at 50% 18%, rgba(198, 255, 61, 0.1) 0, rgba(198, 255, 61, 0) 24%),
    radial-gradient(circle at 16% 76%, rgba(244, 239, 228, 0.03) 0, rgba(244, 239, 228, 0) 30%),
    linear-gradient(180deg, rgba(9, 10, 12, 0.98), rgba(10, 10, 10, 0.99));
}

.atela-compound-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(198, 255, 61, 0), rgba(198, 255, 61, 0.05));
  pointer-events: none;
}

.atela-compound-header {
  width: min(1220px, calc(100% - 64px));
  padding: 48px 0 30px;
}

.atela-compound-headline {
  max-width: 920px;
  font-size: clamp(38px, 4.4vw, 66px);
}

.atela-compound-headline em {
  margin-top: 0.18em;
  padding: 0.02em 0.16em 0.06em;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(198, 255, 61, 0.18);
}

.atela-compound-sub {
  max-width: 680px;
  color: rgba(255,255,255,0.74);
}

.atela-compound-desk {
  margin-top: 18px;
  padding-bottom: 56px;
}

.atela-compound-track {
  align-items: flex-start;
  padding: 28px 150px 88px;
}

.atela-compound-col {
  opacity: 0.42;
  filter: saturate(calc(0.74 + var(--col-t, 0) * 0.4));
}

.atela-compound-colhead,
.atela-compound-output-label {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, calc(0.07 + var(--col-t, 0) * 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 30px rgba(0,0,0,0.22);
}

.atela-compound-colhead {
  transform: translateY(calc((1 - var(--col-t, 0)) * 8px));
}

.atela-compound-col-input { width: 246px; margin-right: 128px; }
.atela-compound-col-v1 { width: 228px; margin-right: 392px; }
.atela-compound-col-content { width: 360px; margin-right: 190px; }
.atela-compound-col-data { width: 236px; margin-right: 150px; }
.atela-compound-col-model { width: 244px; margin-right: 210px; }
.atela-compound-col-ideation { width: 236px; margin-right: 290px; }
.atela-compound-col-variants { width: 236px; margin-right: 0; }
.atela-compound-col-output { width: 264px; }

.atela-compound-input-card,
.atela-compound-channel-card,
.atela-compound-perf-card,
.atela-compound-variant-base,
.atela-compound-model-card,
.atela-compound-ideation-card,
.atela-compound-mobile-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 20, 25, 0.92), rgba(10, 10, 10, 0.98));
  border: 1px solid var(--compound-card-edge);
  box-shadow:
    0 26px 60px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.atela-compound-input-card::before,
.atela-compound-channel-card::before,
.atela-compound-perf-card::before,
.atela-compound-variant-base::before,
.atela-compound-model-card::before,
.atela-compound-ideation-card::before,
.atela-compound-mobile-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 12% 0%, rgba(198,255,61,0.1), rgba(198,255,61,0) 34%);
  pointer-events: none;
}

.atela-compound-input-card {
  width: 212px;
  height: 212px;
  padding: 12px;
}

.atela-compound-input-shell {
  border-style: solid;
  border-color: rgba(198,255,61,0.22);
  background:
    linear-gradient(180deg, rgba(246, 243, 234, 0.98), rgba(227, 232, 210, 0.84)),
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.75), rgba(255,255,255,0) 34%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 12px 24px rgba(10,10,10,0.08);
  justify-content: flex-start;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
}

.atela-compound-input-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.atela-compound-input-title {
  margin: 0;
}

.atela-compound-input-copy {
  color: rgba(12,16,26,0.62);
  margin: 0;
}

.atela-compound-input-tags {
  margin-top: auto;
}

.atela-compound-input-tags span {
  background: rgba(198,255,61,0.22);
}

.atela-compound-fan-card {
  border-color: rgba(255,255,255,0.12);
  background-color: rgba(18, 19, 25, 0.94);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.32),
    0 0 0 1px rgba(255,255,255,0.03);
}

.atela-compound-thumb {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.26), rgba(255,255,255,0) 24%),
    var(--compound-thumb-grad, linear-gradient(135deg, #242734, #0a0a0a));
}

.atela-compound-thumb::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  transform: rotate(12deg);
}

.atela-compound-thumb.tone-pink {
  --compound-thumb-grad: linear-gradient(145deg, #8d1d57, #ff4ca9 58%, #ffd3ea);
  color: #fff;
}

.atela-compound-thumb.tone-blue {
  --compound-thumb-grad: linear-gradient(145deg, #183c8b, #3f7fff 58%, #d7e6ff);
  color: #fff;
}

.atela-compound-thumb.tone-lime {
  --compound-thumb-grad: linear-gradient(145deg, #556f0a, #c6ff3d 54%, #f3ffd1);
  color: #0a0a0a;
}

.atela-compound-thumb.tone-sand {
  --compound-thumb-grad: linear-gradient(145deg, #8d7448, #e8d5b0 56%, #fff6e3);
  color: #0a0a0a;
}

.atela-compound-thumb.tone-ink {
  --compound-thumb-grad: linear-gradient(145deg, #1a1e2a, #090a0c 58%, #4a5367);
  color: #fff;
}

.atela-compound-thumb.tone-violet {
  --compound-thumb-grad: linear-gradient(145deg, #3e249d, #6b3dff 58%, #dbd0ff);
  color: #fff;
}

.atela-compound-thumb-tag {
  position: relative;
  z-index: 1;
  opacity: 0.82;
}

.atela-compound-thumb-title {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.atela-compound-thumb-lines {
  position: relative;
  z-index: 1;
}

.atela-compound-channel-card {
  border-radius: 18px;
}

.atela-compound-channel-media {
  bottom: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,0.06), rgba(255,255,255,0) 52%),
    rgba(255,255,255,0.02);
}

.atela-compound-channel-body {
  background: linear-gradient(180deg, rgba(13,14,18,0.72), rgba(10,10,10,0.96));
}

.atela-compound-channel-title {
  color: rgba(244, 241, 236, 0.96);
}

.atela-compound-channel-desc {
  color: rgba(255,255,255,0.56);
}

.atela-compound-channel-visual {
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 14px 30px rgba(0,0,0,0.18);
}

.atela-compound-perf-card {
  width: 224px;
  height: 224px;
  padding: 10px;
}

.atela-compound-perf-grid {
  gap: 10px;
}

.atela-compound-perf-box {
  border-radius: 14px;
  border-color: rgba(198,255,61,0.14);
  background:
    linear-gradient(180deg, rgba(244,239,228,0.1), rgba(244,239,228,0.03)),
    rgba(255,255,255,0.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.12);
}

.atela-compound-kpi {
  padding: 12px 12px 10px;
  color: #f6f8ef;
}

.atela-compound-kpi-orbit {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.atela-compound-kpi-orbit i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(198,255,61,0.22);
  animation: compound-kpi-orbit 2.6s ease-in-out infinite;
}

.atela-compound-kpi-orbit i:nth-child(2) { animation-delay: 0.22s; }
.atela-compound-kpi-orbit i:nth-child(3) { animation-delay: 0.44s; }

.atela-compound-kpi-num {
  color: #f8fbef;
  font-size: 22px;
  line-height: 0.96;
}

.atela-compound-kpi-meta {
  margin-top: 3px;
}

.atela-compound-kpi-delta {
  color: rgba(198,255,61,0.88);
  line-height: 1.15;
}

.atela-compound-kpi-label {
  color: rgba(255,255,255,0.52);
  line-height: 1.15;
}

.atela-compound-kpi-spark {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 9px;
  display: block;
  width: auto;
  height: 18px;
  margin-top: 0;
  overflow: visible;
  pointer-events: none;
}

.atela-compound-kpi-spark-shadow {
  fill: none;
  stroke: rgba(198,255,61,0.18);
  stroke-width: 5;
  stroke-linecap: round;
}

.atela-compound-kpi-spark-line {
  fill: none;
  stroke: url(#compound-kpi-line);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.atela-compound-kpi-spark-dot {
  fill: #C6FF3D;
  filter: drop-shadow(0 0 10px rgba(198,255,61,0.52));
}

.atela-compound-lanes {
  padding: 12px 10px 10px 38px;
}

.atela-compound-lane-row {
  height: 31%;
}

.atela-compound-lane-row span {
  left: -28px;
  color: rgba(255,255,255,0.44);
}

.atela-compound-lane-row em {
  position: relative;
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.atela-compound-lane-row em::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(198,255,61,0.12), rgba(198,255,61,0.04));
}

.atela-compound-lane-packet {
  position: absolute;
  left: -24%;
  top: 50%;
  width: var(--packet-width, 18%);
  height: 9px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(198,255,61,0), rgba(99,180,255,0.92), rgba(198,255,61,0));
  filter: drop-shadow(0 0 10px rgba(99,180,255,0.28));
  animation: compound-lane-flow 4s linear infinite var(--packet-delay, 0s);
}

.atela-compound-lane-packet.is-hero {
  height: 11px;
  background: linear-gradient(90deg, rgba(198,255,61,0), rgba(198,255,61,0.98), rgba(198,255,61,0));
  filter: drop-shadow(0 0 14px rgba(198,255,61,0.42));
}

.atela-compound-lane-shine {
  position: absolute;
  right: 10px;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198,255,61,0.48), rgba(198,255,61,0));
  filter: blur(6px);
}

.atela-compound-hist {
  overflow: hidden;
  padding: 10px 10px 12px;
}

.atela-compound-hist-grid {
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
}

.atela-compound-hist-bars {
  inset: 18px 14px 18px;
  gap: 4px;
}

.atela-compound-hist-bars i {
  background: linear-gradient(180deg, rgba(198,255,61,1), rgba(198,255,61,0.14));
  box-shadow: 0 10px 20px rgba(198,255,61,0.12);
}

.atela-compound-hist-line {
  position: absolute;
  inset: 10px 12px 14px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  overflow: visible;
}

.atela-compound-hist-trend {
  fill: none;
  stroke: rgba(99,180,255,0.86);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(99,180,255,0.24));
}

.atela-compound-hist-trend-dot {
  fill: #C6FF3D;
  filter: drop-shadow(0 0 8px rgba(198,255,61,0.4));
}

.atela-compound-hist-median {
  left: 42%;
  top: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.54);
}

.atela-compound-hist::after {
  left: 50%;
  top: 12px;
  bottom: 16px;
  background: linear-gradient(180deg, rgba(198,255,61,0.54), rgba(198,255,61,0.08));
}

.atela-compound-rank {
  padding: 12px;
  gap: 8px;
}

.atela-compound-rank-row {
  gap: 10px;
}

.atela-compound-rank-row span {
  width: 34px;
  color: rgba(255,255,255,0.54);
}

.atela-compound-rank-track {
  position: relative;
  flex: 1 1 auto;
  height: 10px;
}

.atela-compound-rank-track em {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.atela-compound-rank-row i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(99,180,255,0.84));
  box-shadow: 0 0 18px rgba(99,180,255,0.14);
}

.atela-compound-rank-row i.is-hero {
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(198,255,61,0.96));
  box-shadow: 0 0 18px rgba(198,255,61,0.2);
}

.atela-compound-variant-base {
  background:
    radial-gradient(circle at 50% 50%, rgba(198,255,61,0.18), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.atela-compound-variant-pulse {
  border-color: rgba(198,255,61,0.24);
  box-shadow:
    0 0 0 18px rgba(198,255,61,0.06),
    0 0 0 42px rgba(198,255,61,0.03);
  animation: compound-variant-breathe 4.8s ease-in-out infinite;
}

.atela-compound-variant-grid span {
  background: radial-gradient(circle at 50% 50%, rgba(99,180,255,0.52), rgba(99,180,255,0) 66%);
  border-color: rgba(255,255,255,0.12);
  animation: compound-variant-node 4.4s ease-in-out infinite;
}

.atela-compound-variant-grid span:nth-child(2) { animation-delay: 0.18s; }
.atela-compound-variant-grid span:nth-child(3) { animation-delay: 0.36s; }
.atela-compound-variant-grid span:nth-child(4) { animation-delay: 0.54s; }

.atela-compound-fan-overlay {
  left: 8px;
  top: 56%;
}

.atela-compound-model-stack {
  gap: 16px;
}

.atela-compound-model-card {
  padding: 18px;
}

.atela-compound-model-visual {
  inset: 14px 14px auto 14px;
  height: 62%;
  display: grid;
  place-items: center;
}

.atela-compound-model-network,
.atela-compound-agent-orbit {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.atela-compound-model-core {
  fill: rgba(198,255,61,0.18);
  stroke: rgba(198,255,61,0.62);
  stroke-width: 1.4;
}

.atela-compound-model-ring {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1.2;
}

.atela-compound-model-link {
  fill: none;
  stroke: url(#compound-model-link);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.atela-compound-model-node {
  fill: rgba(198,255,61,0.92);
  filter: drop-shadow(0 0 10px rgba(198,255,61,0.38));
}

.atela-compound-model-node.is-soft {
  fill: rgba(99,180,255,0.76);
  filter: drop-shadow(0 0 10px rgba(99,180,255,0.28));
}

.atela-compound-model-packet {
  fill: #fff;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.34));
}

.atela-compound-agent-ring {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1.2;
}

.atela-compound-agent-ring.is-inner {
  stroke: rgba(198,255,61,0.22);
  stroke-dasharray: 4 6;
}

.atela-compound-agent-core {
  fill: rgba(255,255,255,0.06);
  stroke: rgba(198,255,61,0.48);
  stroke-width: 1.2;
}

.atela-compound-agent-nodes {
  transform-origin: 90px 90px;
  animation: compound-rotate-slow 16s linear infinite;
}

.atela-compound-agent-node {
  fill: rgba(198,255,61,0.96);
  filter: drop-shadow(0 0 10px rgba(198,255,61,0.32));
}

.atela-compound-agent-node.is-soft {
  fill: rgba(99,180,255,0.82);
  filter: drop-shadow(0 0 10px rgba(99,180,255,0.28));
}

.atela-compound-agent-link {
  fill: none;
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1.2;
}

.atela-compound-agent-packet {
  fill: #C6FF3D;
  filter: drop-shadow(0 0 8px rgba(198,255,61,0.42));
}

.atela-compound-agent-packet.is-second {
  fill: rgba(99,180,255,0.92);
  filter: drop-shadow(0 0 8px rgba(99,180,255,0.34));
}

.atela-compound-model-title {
  color: rgba(244,241,236,0.96);
}

.atela-compound-model-desc {
  color: rgba(255,255,255,0.58);
}

.atela-compound-ideation-card {
  padding: 12px;
}

.atela-compound-ideation-card::after {
  content: "";
  position: absolute;
  inset: -20% auto 0 -12%;
  width: 44%;
  background: linear-gradient(90deg, rgba(198,255,61,0), rgba(198,255,61,0.12), rgba(198,255,61,0));
  transform: skewX(-18deg);
  animation: compound-ideation-scan 5.8s linear infinite;
  pointer-events: none;
}

.atela-compound-ideation-grid {
  gap: 8px;
}

.atela-compound-ideation-cell {
  min-height: 54px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(244,239,228,0.1), rgba(244,239,228,0.03)),
    rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.atela-compound-ideation-cell span {
  color: rgba(255,255,255,0.72);
}

.atela-compound-ideation-cell i {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 18px rgba(198,255,61,0.22);
  animation: compound-ideation-pulse 2.8s ease-in-out infinite;
}

.atela-compound-ideation-cell:nth-child(2) i { animation-delay: 0.18s; }
.atela-compound-ideation-cell:nth-child(3) i { animation-delay: 0.36s; }
.atela-compound-ideation-cell:nth-child(4) i { animation-delay: 0.54s; }
.atela-compound-ideation-cell:nth-child(5) i { animation-delay: 0.72s; }
.atela-compound-ideation-cell:nth-child(6) i { animation-delay: 0.9s; }

.atela-compound-output-label-final {
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.atela-compound-flow-packet {
  fill: #C6FF3D;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(198,255,61,0.42));
}

.atela-compound-flow-packet.is-soft {
  fill: rgba(255,255,255,0.84);
  opacity: 0.68;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.22));
}

.atela-compound-mobile-card {
  background: linear-gradient(180deg, rgba(18,20,25,0.94), rgba(10,10,10,0.98));
  border-color: rgba(255,255,255,0.08);
  color: rgba(244,241,236,0.96);
}

.atela-compound-mobile-card h3 {
  color: rgba(244,241,236,0.96);
}

.atela-compound-mobile-card p {
  color: rgba(255,255,255,0.62);
}

.atela-compound-mobile-card.is-highlight {
  background:
    radial-gradient(circle at 20% 0%, rgba(198,255,61,0.16), rgba(198,255,61,0) 36%),
    linear-gradient(180deg, rgba(18,20,25,0.96), rgba(10,10,10,1));
}

/* ============ COMPOUND LOOP atelier alignment pass ============ */
.atela-compound-wrapper {
  --compound-card-edge: rgba(198, 255, 61, 0.12);
  --compound-card-glow: rgba(198, 255, 61, 0.14);
}

.atela-compound-header {
  padding: 34px 0 10px;
}

.atela-compound-sub {
  max-width: 640px;
}

@media (min-width: 1101px) {
  .atela-compound-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    column-gap: clamp(28px, 4vw, 64px);
    row-gap: 10px;
    align-items: end;
  }

  .atela-compound-eyebrow {
    grid-column: 1 / -1;
  }

  .atela-compound-headline {
    margin: 0;
    max-width: 780px;
  }

  .atela-compound-sub {
    grid-column: 2;
    align-self: end;
    margin: 0 0 4px;
    max-width: 360px;
  }
}

.atela-compound-desk {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0;
  padding: 18px 0 18px;
  overflow: visible;
}

.atela-compound-desk::before,
.atela-compound-desk::after {
  content: "";
  position: absolute;
  width: 188px;
  height: 188px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.26;
  pointer-events: none;
}

.atela-compound-desk::before {
  left: 5%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(198,255,61,0.52) 0, rgba(198,255,61,0) 74%);
}

.atela-compound-desk::after {
  right: 6%;
  top: 6%;
  background: radial-gradient(circle, rgba(61,168,255,0.36) 0, rgba(61,168,255,0) 76%);
}

.atela-compound-hscroll {
  width: 100%;
  height: auto;
}

.atela-compound-track {
  min-height: 396px;
  align-items: center;
  padding: 18px 146px 16px;
}

.atela-compound-col {
  gap: 10px;
  opacity: 0.48;
}

.atela-compound-colhead,
.atela-compound-output-label {
  display: inline-flex;
  align-self: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.84);
  border: 1px solid rgba(198, 255, 61, calc(0.08 + var(--col-t, 0) * 0.12));
  font-size: 11px;
  letter-spacing: 0.1em;
  box-shadow:
    0 0 0 4px rgba(198,255,61,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 26px rgba(0,0,0,0.16);
}

.atela-compound-colhead {
  transform: translateY(calc((1 - var(--col-t, 0)) * 4px));
}

.atela-compound-colhead-brief {
  min-height: 44px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
}

.atela-compound-output-label-final {
  min-height: 40px;
  padding: 8px 16px;
}

.atela-compound-input-card,
.atela-compound-channel-card,
.atela-compound-perf-card,
.atela-compound-variant-base,
.atela-compound-model-card,
.atela-compound-ideation-card,
.atela-compound-mobile-card {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.76), rgba(10, 10, 10, 0.84));
  border-color: rgba(198,255,61,0.1);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.atela-compound-input-card::before,
.atela-compound-channel-card::before,
.atela-compound-perf-card::before,
.atela-compound-variant-base::before,
.atela-compound-model-card::before,
.atela-compound-ideation-card::before,
.atela-compound-mobile-card::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 10% 0%, rgba(198,255,61,0.08), rgba(198,255,61,0) 38%);
}

.atela-compound-input-shell {
  border-radius: 18px;
}

.atela-compound-fan-small {
  transform: scale(0.8);
  transform-origin: left center;
}

.atela-compound-fan-card {
  border-radius: 18px;
  box-shadow:
    0 16px 36px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.04);
}

.atela-compound-thumb {
  padding: 11px;
}

.atela-compound-thumb::after {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  opacity: 0.56;
}

.atela-compound-channel-card {
  aspect-ratio: 1.618 / 1;
  border-radius: 18px;
}

.atela-compound-channel-media {
  bottom: 0;
}

.atela-compound-channel-visual {
  border-radius: 16px;
  padding: 10px;
}

.atela-compound-channel-grid {
  gap: 6px;
}

.atela-compound-channel-top {
  gap: 6px;
}

.atela-compound-channel-title-overlay {
  max-width: calc(100% - 34px);
  font-size: 11px;
}

.atela-compound-channel-glyph {
  padding: 3px 6px;
  font-size: 8px;
}

.atela-compound-channel-lines {
  gap: 3px;
}

.atela-compound-perf-card {
  width: 230px;
  height: 230px;
  padding: 12px;
}

.atela-compound-perf-box {
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17,20,24,0.76), rgba(17,20,24,0.56)),
    rgba(255,255,255,0.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 8px 18px rgba(0,0,0,0.1);
}

.atela-compound-kpi {
  position: relative;
  justify-content: flex-start;
  padding: 11px 11px 9px;
}

.atela-compound-lanes {
  padding: 12px 10px 10px 34px;
}

.atela-compound-lane-row span {
  left: -24px;
}

.atela-compound-lane-row em,
.atela-compound-rank-track,
.atela-compound-rank-row i {
  height: 8px;
}

.atela-compound-lane-packet {
  height: 8px;
}

.atela-compound-lane-packet.is-hero {
  height: 10px;
}

.atela-compound-hist-median {
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
}

.atela-compound-hist::after {
  left: 50%;
}

.atela-compound-variant-wrap {
  display: grid;
  place-items: center;
}

.atela-compound-variant-base {
  display: grid;
  place-items: center;
}

.atela-compound-variant-pulse {
  width: 50%;
  height: 50%;
  box-shadow:
    0 0 0 14px rgba(198,255,61,0.05),
    0 0 0 30px rgba(198,255,61,0.025);
}

.atela-compound-fan-overlay {
  left: 50%;
  top: 50%;
  transform: translate(-48%, -50%) scale(0.74);
  transform-origin: center center;
}

.atela-compound-model-stack {
  justify-content: center;
  gap: 8px;
}

.atela-compound-model-card {
  aspect-ratio: 1.54 / 1;
  min-height: 156px;
  padding: 12px 12px 10px;
}

.atela-compound-model-visual {
  inset: 8px 12px 42px 12px;
  height: auto;
}

.atela-compound-model-title {
  font-size: 11px;
}

.atela-compound-model-desc {
  font-size: 9px;
  line-height: 1.38;
}

.atela-compound-ideation-card {
  padding: 10px;
}

.atela-compound-ideation-grid {
  gap: 7px;
}

.atela-compound-ideation-cell {
  min-height: 50px;
  border-radius: 14px;
}

.atela-compound-flow-packet {
  filter: drop-shadow(0 0 7px rgba(198,255,61,0.34));
}

.atela-compound-flow-packet.is-soft {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.18));
}

@keyframes compound-kpi-orbit {
  0%, 100% { transform: scale(0.8); opacity: 0.42; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes compound-lane-flow {
  from { left: -24%; }
  to { left: 110%; }
}

@keyframes compound-variant-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.78; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes compound-variant-node {
  0%, 100% { transform: scale(0.72); opacity: 0.4; }
  50% { transform: scale(1); opacity: 0.96; }
}

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

@keyframes compound-ideation-scan {
  from { transform: translateX(-22%) skewX(-18deg); opacity: 0; }
  18%, 82% { opacity: 1; }
  to { transform: translateX(290%) skewX(-18deg); opacity: 0; }
}

@keyframes compound-ideation-pulse {
  0%, 100% { transform: scale(0.78); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ============ MARKETPLACE section ============ */
.atela-market { background: var(--atela-ink); color: #fff; padding: 120px 0; }
.atela-market-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.atela-market-head .atela-h2 .hl { padding: 0 0.12em; border-radius: 6px; }
.atela-market-lede { font-size: 16px; line-height: 1.6; color: #bbb; max-width: 440px; }
.atela-market-lede b { color: #fff; font-weight: 700; }

.atela-market-motion { margin-bottom: 72px; }
.market-motion-frame {
  position: relative;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.market-motion-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.28;
}
.market-motion-orb-left {
  left: -74px;
  bottom: -118px;
  background: radial-gradient(circle, rgba(198,255,61,0.54) 0, rgba(198,255,61,0) 72%);
}
.market-motion-orb-right {
  right: -78px;
  top: -94px;
  background: radial-gradient(circle, rgba(61,168,255,0.42) 0, rgba(61,168,255,0) 74%);
}
.market-motion-stage {
  position: relative;
  overflow: visible;
  border-radius: 0;
  min-height: 560px;
  background: transparent;
  border: 0;
}
.market-motion-stage::before {
  display: none;
}
.market-motion-stage::after {
  display: none;
}
.market-motion-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.market-motion-line-base {
  fill: none;
  stroke: rgba(198,255,61,0.16);
  stroke-width: 5;
  stroke-linecap: round;
}
.market-motion-line-flow {
  fill: none;
  stroke: rgba(198,255,61,0.78);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 26 320;
  filter: drop-shadow(0 0 10px rgba(198,255,61,0.32));
  animation: market-line-flow 3.4s linear infinite;
}
.market-motion-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.market-motion-layer-left {
  display: block;
}
.market-motion-pill-stack {
  position: absolute;
  left: 3%;
  top: 50%;
  width: 44%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: translateY(-50%);
}
.market-motion-pill-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}
.market-motion-chip,
.market-motion-expert {
  opacity: 0;
}
.market-motion-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 5px 10px;
  border-radius: 14px;
  border: 1px solid rgba(10,10,10,0.08);
  background: var(--chip-bg, rgba(255,255,255,0.82));
  color: var(--chip-fg, #0A0A0A);
  box-shadow: 0 14px 30px rgba(64,77,22,0.12);
  white-space: nowrap;
  animation:
    market-node-enter 0.72s var(--ease-out) both var(--node-delay, 0s),
    market-node-float 4.6s ease-in-out infinite calc(var(--node-delay, 0s) + 0.72s);
}
.market-motion-chip-label {
  color: currentColor;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.market-motion-expert {
  position: absolute;
}
.market-motion-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}
.market-motion-hub-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198,255,61,0.18) 0, rgba(198,255,61,0.06) 34%, rgba(198,255,61,0) 72%);
  animation: market-hub-pulse 3.2s ease-out infinite;
}
.market-motion-hub-ring-b { animation-delay: 1.2s; }
.market-motion-expert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10,10,10,0.08);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 16px 34px rgba(64,77,22,0.14);
  white-space: nowrap;
  animation:
    market-node-enter 0.76s var(--ease-out) both var(--node-delay, 0s),
    market-node-float 5.2s ease-in-out infinite calc(var(--node-delay, 0s) + 0.76s);
}
.market-motion-expert-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.26);
  flex-shrink: 0;
}
.market-motion-expert-role {
  color: #0A0A0A;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.market-motion-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: clamp(124px, 16vw, 182px);
  padding: 16px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,10,10,0.96);
  color: #C6FF3D;
  font-size: clamp(18px, 2.7vw, 30px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  box-shadow:
    0 24px 72px rgba(10,10,10,0.38),
    0 0 0 12px rgba(198,255,61,0.14);
}
.market-motion-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #C6FF3D;
  flex-shrink: 0;
}

@keyframes market-line-flow {
  0% {
    stroke-dashoffset: 360;
    opacity: 0;
  }
  12% { opacity: 1; }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes market-node-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes market-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes market-hub-pulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  30% { opacity: 0.84; }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.atela-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 72px; }
.spec-card {
  background: #141414; border: 1px solid #2a2a2a; border-radius: 22px; padding: 24px;
  transition: all var(--dur-3) var(--ease-out); display: flex; flex-direction: column; gap: 10px;
}
.spec-card:hover { border-color: #C6FF3D; transform: translateY(-3px); }
.spec-head { display: flex; justify-content: space-between; align-items: center; }
.spec-k { color: #666; }
.spec-chip { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0; }
.spec-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: #fff; }
.spec-desc { font-size: 13px; line-height: 1.55; color: #aaa; margin: 0; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 8px; }
.spec-tag { font-size: 10px; color: #C6FF3D; opacity: 0.8; font-family: var(--font-mono); }

.atela-market-flow {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 64px;
  padding: 32px;
  background: #141414;
  border: 1px dashed #333;
  border-radius: 28px;
}
.flow-col {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
}
.flow-num { width: 32px; height: 32px; border-radius: 999px; background: #C6FF3D; color: #0A0A0A; display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.flow-col h4 { font-size: 14px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.015em; }
.flow-col p { font-size: 12px; color: #888; margin: 0; line-height: 1.5; }
.flow-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 20px;
  color: #555;
  font-weight: 300;
}

.atela-expert-rail { background: #141414; border: 1px solid #2a2a2a; border-radius: 28px; padding: 32px; }
.rail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.rail-head--cta-only { justify-content: flex-end; }
.rail-head h3 { font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.02em; color: #fff; }
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.expert-tile { background: #0A0A0A; border: 1px solid #2a2a2a; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; transition: border-color var(--dur-2); }
.expert-tile:hover { border-color: #C6FF3D; }
.expert-tile-head { display: flex; justify-content: space-between; align-items: center; }
.expert-avatar-sq { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.expert-avail { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #1AE07E; font-family: var(--font-mono); }
.avail-dot { width: 6px; height: 6px; border-radius: 999px; background: #1AE07E; box-shadow: 0 0 0 3px rgba(26,224,126,0.2); }
.expert-n { font-weight: 800; font-size: 15px; margin-top: 4px; letter-spacing: -0.015em; }
.expert-s { font-size: 12px; color: #888; }
.expert-row { font-size: 11px; color: #bbb; display: flex; gap: 4px; font-family: var(--font-mono); }
.expert-rate-row { margin-top: 8px; padding-top: 10px; border-top: 1px solid #2a2a2a; display: flex; align-items: baseline; gap: 6px; }
.expert-rate-big { font-size: 20px; font-weight: 800; color: #C6FF3D; letter-spacing: -0.02em; }

/* ============ COMPARE table ============ */
.atela-compare { background: var(--n-50); color: var(--atela-ink); padding: 120px 0; }
.atela-compare .hl { background: var(--atela-lime); padding: 0 0.12em; border-radius: 4px; }
.atela-compare-scroll {
  position: relative;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.atela-compare-table {
  background: #fff; border: 1px solid var(--border); border-radius: 28px; overflow: hidden;
}
.compare-row { display: grid; grid-template-columns: 2fr repeat(6, 1fr); align-items: center; border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: none; }
.compare-row.compare-head { background: #FAFAF7; }
.compare-row.compare-head .compare-cell { padding: 16px 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.compare-row.on { background: #0A0A0A; color: #fff; }
.compare-row.on .compare-n { color: #C6FF3D; }
.compare-row.on .compare-d { color: #bbb; }
.compare-cell { padding: 20px 12px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; }
.compare-cell.compare-name { justify-content: flex-start; text-align: left; padding-left: 24px; display: block; }
.compare-n { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2px; text-wrap: balance; }
.compare-d { font-size: 12px; color: var(--fg-3); line-height: 1.4; text-wrap: balance; }
.mark-y { font-size: 18px; color: #C6FF3D; font-weight: 800; background: rgba(198,255,61,0.15); width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; }
.mark-n { font-size: 14px; color: var(--fg-4); font-weight: 800; }
.compare-row.on .mark-n { color: #444; }

/* ============ STATS small tweak ============ */
.atela-stat-s { display: block; margin-top: 4px; color: rgba(10,10,10,0.5); }
.atela-stat-l,
.atela-stat-s { text-wrap: balance; }

/* ============ CASE STUDY extra ============ */
.case-stats-row { display: flex; gap: 28px; margin: 24px 0 28px; flex-wrap: wrap; }
.case-stats-row > div { display: flex; flex-direction: column; }
.case-stats-row b { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--atela-ink); }
.case-stats-row span { font-size: 12px; color: var(--fg-3); margin-top: 4px; }

/* ============ PRICING story ============ */
.pricing-story {
  --receipt-progress: 0;
  position: relative;
  max-width: 1160px;
  margin: 36px auto 0;
  padding-bottom: 440px;
}
.pricing-tools-stage { position: sticky; top: 110px; z-index: 4; overflow: visible; }
.price-side { background: #141414; border: 1px solid #2a2a2a; border-radius: 28px; padding: 32px; }
.price-side-tools {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, #171717 0%, #0A0A0A 100%);
  box-shadow: 0 26px 70px rgba(0,0,0,0.34);
}
.price-side.market { background: #C6FF3D; border-color: #C6FF3D; color: #0A0A0A; }
.price-side-head { margin-bottom: 28px; }
.price-side-head-inline { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.price-side-head h3 { font-size: 24px; font-weight: 800; margin: 6px 0 0; letter-spacing: -0.025em; color: #fff; }
.price-side .mono-note { color: #888; }
.price-side.market .mono-note { color: #0A0A0A; opacity: 0.6; }
.price-side-head-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}
.pricing-billing-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pricing-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 32px rgba(0,0,0,0.22);
}
.pricing-billing-option {
  border: 0;
  border-radius: 999px;
  min-width: 72px;
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  color: rgba(255,255,255,0.66);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.pricing-billing-option:hover {
  color: rgba(255,255,255,0.94);
}
.pricing-billing-option.is-active {
  background: rgba(255,255,255,0.96);
  color: #0A0A0A;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.pricing-billing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255, 92, 92, 0.16);
  color: #FF7A7A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 28px rgba(0,0,0,0.18);
}
.pricing-side-copy {
  max-width: 380px;
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.6;
}
.pricing-section-copy {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
}
.pricing-side-copy-ink { color: rgba(10,10,10,0.7); }
.price-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price-tier-grid .atela-price {
  padding: 24px 20px;
  background: #0A0A0A;
  border-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-tier-grid .atela-price.dark { background: #C6FF3D; }
.price-tier-grid .atela-price.featured {
  transform: translateY(-12px);
  box-shadow: 0 22px 56px rgba(198,255,61,0.16);
}
.price-tier-grid .atela-price h3 { font-size: 18px; text-wrap: balance; }
.atela-price-summary {
  margin: -6px 0 18px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.55;
  text-wrap: balance;
}
.atela-price.dark .atela-price-summary { color: rgba(10,10,10,0.7); }
.price-tier-grid .atela-price-amt { font-size: 32px; margin-bottom: 0; }
.atela-price-stack { margin-bottom: 18px; }
.atela-price-strike {
  margin-bottom: 4px;
  color: #FF6666;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #FF6666;
}
.atela-price-strike .cur,
.atela-price-strike .per {
  font-size: 13px;
  vertical-align: baseline;
  margin: 0 2px 0 0;
  opacity: 0.92;
}
.atela-price-strike .per { margin-left: 4px; }
.atela-price-strike-spacer { height: 22px; }
.atela-price-note {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
}
.atela-price.dark .atela-price-note { color: rgba(10,10,10,0.66); }
.price-tier-grid .atela-price ul { flex: 1 1 auto; }
.price-tier-grid .atela-price li { font-size: 12px; padding: 6px 0; }
.pricing-receipt-stage {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  width: 60%;
  z-index: 2;
  transform: translateX(-50%);
}
.pricing-market-receipt {
  position: relative;
  overflow: hidden;
  transform:
    translateY(calc((1 - var(--receipt-progress, 0)) * -124px))
    scale(calc(0.97 + (var(--receipt-progress, 0) * 0.03)));
  transform-origin: top center;
  opacity: calc(0.16 + (var(--receipt-progress, 0) * 0.84));
  will-change: transform, opacity;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}
.pricing-market-receipt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  border-top: 2px dashed rgba(10,10,10,0.24);
}
.market-price-card { background: #fff; border-radius: 20px; padding: 4px 24px; }
.market-price-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.market-price-row.last { border-bottom: none; }
.market-price-row span { flex: 1 1 auto; min-width: 0; text-wrap: balance; }
.market-price-row b { flex-shrink: 0; white-space: nowrap; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.market-price-foot { display: flex; padding: 16px 0; border-top: 2px solid #0A0A0A; margin-top: 8px; }
.market-price-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.atela-final {
  position: relative;
  margin-top: -104px;
  padding-top: 184px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0) 0,
      rgba(250, 250, 247, 0.22) 56px,
      var(--n-50) 148px,
      var(--n-50) 100%
    );
}

.atela-final::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(960px, calc(100% - 64px));
  height: 180px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 0%, rgba(198, 255, 61, 0.24) 0, rgba(198, 255, 61, 0.1) 30%, rgba(198, 255, 61, 0) 72%);
  pointer-events: none;
}

.atela-final-card {
  position: relative;
  z-index: 1;
  box-shadow:
    0 30px 90px rgba(10, 10, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.pricing-market-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .pricing-story {
    --receipt-progress: 1;
    padding-bottom: 0;
  }
  .pricing-tools-stage { position: relative; top: auto; }
  .price-side-head-inline { flex-direction: column; align-items: flex-start; }
  .price-side-head-tools { align-items: center; }
  .pricing-side-copy { max-width: none; }
  .pricing-receipt-stage {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 20px;
    transform: none;
    opacity: 1;
  }
  .pricing-market-receipt {
    transform: none;
    opacity: 1;
  }
  .atela-final {
    margin-top: -64px;
    padding-top: 132px;
  }
  .atela-final::before {
    top: 10px;
    width: min(760px, calc(100% - 40px));
    height: 132px;
  }
  .price-tier-grid .atela-price.featured { transform: none; }
}
@media (max-width: 820px) {
  .atela-compound-headline { font-size: clamp(30px, 5vw, 48px); }
  .pillar-grid, .atela-spec-grid, .expert-grid, .price-tier-grid { grid-template-columns: repeat(2, 1fr); }
  .atela-tech-compare-v2 { grid-template-columns: 1fr; gap: 40px; }
  .tech-selector-preview { max-width: none; }
  .tech-selector-preview-row { grid-template-columns: 1fr; }
  .tech-selector-preview-head { flex-direction: column; align-items: flex-start; }
  .atela-market-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .atela-market-motion { margin-bottom: 56px; }
  .market-motion-frame { padding: 0; border-radius: 0; }
  .market-motion-stage {
    min-height: auto;
    padding: 26px 16px 20px;
    border-radius: 0;
    display: grid;
    gap: 16px;
  }
  .market-motion-lines { display: none; }
  .market-motion-layer {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .market-motion-pill-stack {
    position: static;
    width: auto;
    gap: 12px;
    transform: none;
  }
  .market-motion-pill-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .market-motion-chip,
  .market-motion-expert {
    position: static;
    width: auto !important;
  }
  .market-motion-chip {
    min-height: 44px;
    padding: 10px 12px;
    white-space: normal;
  }
  .market-motion-chip-label,
  .market-motion-expert-role {
    font-size: 13px;
    white-space: normal;
  }
  .market-motion-hub {
    position: relative;
    left: auto;
    top: auto;
    width: max-content;
    margin: 2px auto;
    transform: none;
  }
  .market-motion-hub-ring {
    width: 208px;
    height: 208px;
  }
  .market-motion-brand {
    min-width: 112px;
    padding: 14px 18px;
    font-size: 18px;
    box-shadow:
      0 18px 48px rgba(10,10,10,0.32),
      0 0 0 8px rgba(198,255,61,0.12);
  }
  .market-motion-brand-dot {
    width: 8px;
    height: 8px;
  }
  .flow-arrow { display: none; }
  .atela-integ-grid, .atela-tech-head, .atela-market-head { grid-template-columns: 1fr; gap: 32px; }
  .compare-row { grid-template-columns: 1.5fr repeat(6, 1fr); }
  .hero-node-shell { grid-template-columns: 220px 1fr; }
  .hero-node-hub { display: none; }
  .hero-node-source::before,
  .hero-node-source::after { display: none; }
  .hero-node-results { padding-left: 0; }
  .hero-node-results::before,
  .hero-result-node::before,
  .hero-result-node::after,
  .hero-feature-node::before,
  .hero-feature-node::after { display: none; }
}
@media (max-width: 820px) {
  .atela-compound-section {
    position: relative;
    top: auto;
    height: auto;
    padding-bottom: 6px;
  }
  .atela-compound-desk { display: none; }
  .atela-compound-mobile { display: block; }
  .atela-compound-mobile-grid { grid-template-columns: 1fr; }
  .atela-compound-spacer { display: none; }
  .atela-compound-header { padding-bottom: 22px; }
  .hero-ko-row, .pillar-grid, .atela-spec-grid, .expert-grid, .integ-connectors, .price-tier-grid { grid-template-columns: 1fr; }
  .market-motion-orb {
    width: 168px;
    height: 168px;
  }
  .market-motion-layer { grid-template-columns: 1fr; }
  .market-motion-pill-row { flex-direction: column; align-items: stretch; }
  .price-side,
  .pricing-market-receipt { padding: 24px; }
  .pricing-billing-bar {
    width: 100%;
    gap: 8px;
  }
  .pricing-billing-toggle {
    flex: 1 1 auto;
    min-width: 0;
  }
  .pricing-billing-option {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 14px;
  }
  .atela-tech-compare-v2 { grid-template-columns: 1fr; gap: 32px; }
  .atela-final {
    margin-top: -36px;
    padding-top: 96px;
  }
  .atela-final::before {
    top: 6px;
    width: calc(100% - 28px);
    height: 100px;
  }
  .atela-final-card {
    border-radius: 28px;
    padding: 56px 24px;
  }
  .tech-selector-preview { max-width: none; margin-bottom: 22px; }
  .atela-showcase-head {
    margin-bottom: 24px;
  }
  .atela-showcase .atela-container {
    width: min(90vw, 1640px);
  }
  .showcase-gallery {
    padding: 10px 0 14px;
  }
  .showcase-loop-track {
    animation-duration: 22s;
  }
  .showcase-loop-group {
    gap: 12px;
    padding-right: 12px;
  }
  .showcase-loop-item {
    width: min(220px, 62vw);
    flex-basis: min(220px, 62vw);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(10, 10, 10, 0.1);
  }
  .showcase-loop-item:nth-child(4n + 1),
  .showcase-loop-item:nth-child(4n + 2),
  .showcase-loop-item:nth-child(4n + 3),
  .showcase-loop-item:nth-child(4n + 4) {
    --showcase-offset: 0px;
    --showcase-tilt: 0deg;
  }
  .tech-selector-preview-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .tech-selector-card {
    flex: 0 0 min(320px, 82vw);
    scroll-snap-align: start;
  }
  .tech-compare-layout { display: flex; flex-direction: column; gap: 14px; }
  .tech-compare-main { order: 1; }
  .tech-compare-detail-rail { order: 2; flex-direction: row; }
  .tech-compare-detail { flex: 1 1 0; aspect-ratio: 1.08 / 0.82; }
  .tech-compare-browser-bar { min-height: 56px; font-size: clamp(24px, 7vw, 32px); }
  .tech-compare-browser-body { padding: 12px; }
  .atela-hero-grid.hero-node-grid { gap: 28px; }
  .hero-node-demo { padding: 14px; border-radius: 24px; }
  .hero-node-demo-head { flex-direction: column; align-items: flex-start; }
  .hero-node-shell { grid-template-columns: 1fr; min-height: auto; }
  .hero-node-source { order: 2; }
  .hero-node-results { order: 1; padding-left: 0; }
  .hero-node-results-grid,
  .hero-feature-node { grid-template-columns: 1fr; }
  .hero-feature-node { padding: 16px; }
  .hero-node-source-stage { min-height: 220px; }
  .hero-node-product-list { grid-template-columns: 1fr; }
  .workflow-section-head {
    margin-bottom: 28px;
  }
  .workflow-display-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .workflow-selector-list {
    padding-top: 0;
  }
  .workflow-selector-item {
    gap: 12px;
    padding: 16px 18px;
  }
  .workflow-selector-item-index {
    min-width: 20px;
    padding-top: 3px;
  }
  .workflow-selector-item-title {
    font-size: clamp(18px, 7vw, 28px);
  }
  .workflow-result-card {
    width: 100%;
  }
  .workflow-result-media {
    height: clamp(300px, 96vw, 520px);
  }
  .workflow-metric-panel {
    margin-top: 0;
  }
  .workflow-metric-row {
    padding: 24px 0 28px;
  }
  .workflow-metric-row p {
    font-size: 16px;
    line-height: 1.22;
  }
  .integ-flow-line { height: 40px; width: 2px; background: linear-gradient(180deg, transparent, #0A0A0A 20%, #0A0A0A 80%, transparent); }
  .integ-flow-line::after { left: 0; top: -30%; width: 100%; height: 30%; background: linear-gradient(180deg, transparent, #C6FF3D, transparent); animation: flow-v 1.8s linear infinite; }
  @keyframes flow-v { to { top: 100%; } }
  .atela-compare-scroll {
    padding-bottom: 10px;
  }
  .atela-compare-table {
    width: max-content;
    min-width: 100%;
    border-radius: 24px;
  }
  .compare-row {
    grid-template-columns: 148px repeat(6, 96px);
    min-width: 724px;
  }
  .compare-cell {
    min-height: 72px;
    padding: 16px 12px;
  }
  .compare-cell.compare-name {
    position: sticky;
    left: 0;
    z-index: 2;
    padding: 14px 12px;
    background: #fff;
    border-right: 1px solid rgba(10,10,10,0.08);
    box-shadow: 12px 0 24px rgba(10,10,10,0.08);
  }
  .compare-row.compare-head .compare-cell {
    min-height: 64px;
  }
  .compare-row.compare-head .compare-cell.compare-name {
    z-index: 3;
    background: #FAFAF7;
  }
  .compare-row.on .compare-cell.compare-name {
    background: #0A0A0A;
    border-right-color: rgba(255,255,255,0.12);
    box-shadow: 12px 0 24px rgba(0,0,0,0.18);
  }
  .compare-n {
    font-size: 14px;
    line-height: 1.22;
  }
  .compare-d {
    display: none;
  }
  .compare-row.compare-head .compare-dim {
    white-space: normal;
    line-height: 1.2;
    font-size: 10px;
    padding-inline: 10px;
  }
}
