/* anyCode product page — aligned with anycode.work dark tech theme */
/* Scoped under body[data-page="product-anycode"] / .ac-page */

body[data-page="product-anycode"] {
  --ac-bg: #070809;
  --ac-panel: #0c0e10;
  --ac-panel-2: #111417;
  --ac-ink: #f3f5f4;
  --ac-muted: #91989a;
  --ac-line: rgba(255, 255, 255, 0.12);
  --ac-line-soft: rgba(255, 255, 255, 0.07);
  --ac-cyan: #6ed8f1;
  --ac-lime: #b9ef72;
  --ac-coral: #ff8b73;
  --ac-violet: #9c95ff;
  --ac-header-h: 48px;
  background: var(--ac-bg);
  color: var(--ac-ink);
}

body[data-page="product-anycode"] .ac-page {
  overflow: hidden;
  background:
    linear-gradient(var(--ac-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ac-line-soft) 1px, transparent 1px),
    var(--ac-bg);
  background-size: 72px 72px, 72px 72px, auto;
  background-position: center top;
  color: var(--ac-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

body[data-page="product-anycode"] .ac-page a {
  color: inherit;
  text-decoration: none;
}

/* White / light filled buttons → black label (never inherit page ink) */
body[data-page="product-anycode"] .ac-page a.ac-btn--primary,
body[data-page="product-anycode"] .ac-page a.ac-btn--primary:visited,
body[data-page="product-anycode"] .ac-btn--primary {
  color: #070809 !important;
}

body[data-page="product-anycode"] .ac-page a.ac-btn--primary:hover,
body[data-page="product-anycode"] .ac-btn--primary:hover {
  color: #061014 !important;
}

body[data-page="product-anycode"] .lx-header .lx-btn--primary,
body[data-page="product-anycode"] .lx-header .lx-btn--primary:visited,
body[data-page="product-anycode"] .lx-header.is-scrolled .lx-btn--primary,
body[data-page="product-anycode"] .lx-mobile-nav .lx-btn--primary {
  background: #f3f5f4 !important;
  color: #070809 !important;
  border-color: #f3f5f4 !important;
}

body[data-page="product-anycode"] .lx-header .lx-btn--primary:hover,
body[data-page="product-anycode"] .lx-mobile-nav .lx-btn--primary:hover {
  color: #070809 !important;
  opacity: 0.92;
}

/* ── Header chrome (keep dark glass when scrolled) ── */
body[data-page="product-anycode"] .lx-header.ac-chrome-dark.is-scrolled,
body[data-page="product-anycode"] .lx-header.is-scrolled {
  background: rgba(7, 8, 9, 0.94) !important;
  color: var(--ac-ink) !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--ac-line-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-page="product-anycode"] .lx-header.is-scrolled .lx-header__brand,
body[data-page="product-anycode"] .lx-header.is-scrolled .lx-header__link,
body[data-page="product-anycode"] .lx-header.is-scrolled .lx-btn--ghost {
  color: var(--ac-ink) !important;
}

/* remove conflicting scrolled primary rule — handled above as always light-on-dark chrome */

/* Footer on dark page */
body[data-page="product-anycode"] .lx-footer {
  background: #0a0c0d;
  color: var(--ac-muted);
  border-top: 1px solid var(--ac-line-soft);
}

body[data-page="product-anycode"] .lx-footer__col-title,
body[data-page="product-anycode"] .lx-footer__brand {
  color: var(--ac-ink);
}

body[data-page="product-anycode"] .lx-footer__col-links a,
body[data-page="product-anycode"] .lx-footer__contact a,
body[data-page="product-anycode"] .lx-footer__demo-strip a {
  color: var(--ac-muted);
}

body[data-page="product-anycode"] .lx-footer__col-links a:hover,
body[data-page="product-anycode"] .lx-footer__contact a:hover,
body[data-page="product-anycode"] .lx-footer__demo-strip a:hover {
  color: var(--ac-cyan);
}

body[data-page="product-anycode"] .lx-footer__copy {
  color: #5c6365;
  border-top-color: var(--ac-line-soft);
}

/* ── Shared ── */
.ac-frame {
  position: relative;
  width: min(100% - 44px, 1240px);
  margin-inline: auto;
}

.ac-kicker {
  margin: 0;
  color: var(--ac-cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ac-kicker--lime {
  color: var(--ac-lime);
}

.ac-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 15px;
  border: 1px solid var(--ac-line);
  border-radius: 6px;
  color: var(--ac-ink);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out;
}

.ac-btn:hover:not(.ac-btn--primary) {
  color: var(--ac-ink);
}

.ac-btn--primary {
  border-color: #f3f5f4;
  background: #f3f5f4;
  color: #070809 !important;
}

.ac-btn--primary:hover {
  border-color: var(--ac-cyan);
  background: var(--ac-cyan);
  color: #061014 !important;
}

.ac-btn--secondary {
  background: rgba(255, 255, 255, 0.025);
}

.ac-btn--secondary:hover {
  border-color: rgba(110, 216, 241, 0.55);
  background: rgba(110, 216, 241, 0.07);
}

.ac-text-link {
  padding: 10px 6px;
  color: #aeb4b6;
  font-size: 12px;
  transition: color 160ms ease-out;
}

.ac-text-link:hover {
  color: var(--ac-cyan);
}

/* ── Hero ── */
.ac-hero {
  position: relative;
  min-height: min(880px, calc(100svh - 12px));
  padding-top: var(--ac-header-h);
  overflow: hidden;
  border-bottom: 1px solid var(--ac-line);
  background: var(--ac-bg);
}

.ac-hero::before {
  position: absolute;
  top: var(--ac-header-h);
  right: 0;
  left: 0;
  z-index: 0;
  border-top: 1px solid var(--ac-line-soft);
  content: "";
  pointer-events: none;
}

.ac-hero::after {
  position: absolute;
  right: 5%;
  bottom: 0;
  z-index: 0;
  width: 20%;
  height: 38%;
  border-top: 1px solid rgba(185, 239, 114, 0.25);
  border-left: 1px solid rgba(185, 239, 114, 0.18);
  content: "";
  pointer-events: none;
}

.ac-hero__rail {
  position: absolute;
  top: var(--ac-header-h);
  bottom: 0;
  z-index: 0;
  border-left: 1px solid var(--ac-line-soft);
  pointer-events: none;
}

.ac-hero__rail--one { left: 5%; }
.ac-hero__rail--two { left: 50%; }
.ac-hero__rail--three { left: 95%; }

.ac-hero > .ac-frame {
  z-index: 1;
  display: grid;
  min-height: calc(min(880px, calc(100svh - 12px)) - var(--ac-header-h));
  grid-template-rows: auto auto minmax(240px, 1fr) auto;
  align-content: start;
}

.ac-hero__status {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--ac-line-soft);
  color: #b3b8b9;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
}

.ac-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ac-lime);
  box-shadow: 0 0 0 4px rgba(185, 239, 114, 0.09);
  animation: ac-live 1.8s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .ac-live-dot { animation: none; }
}

.ac-hero__status-tech {
  margin-left: auto;
  color: #6f7577;
}

.ac-hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  align-items: end;
  gap: 36px;
  padding: 30px 0 28px;
}

.ac-hero__copy > .ac-kicker {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.ac-hero__left,
.ac-hero__right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ac-hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ac-hero__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.ac-hero__copy h1 {
  margin: 0;
  color: var(--ac-ink);
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: 0;
}

.ac-hero__statement {
  margin: 0;
  color: var(--ac-ink);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 540;
  line-height: 1.2;
}

.ac-hero__body {
  max-width: 670px;
  margin: 0;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ac-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

/* Workspace mock */
.ac-workspace {
  align-self: end;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--ac-line);
  border-radius: 8px 8px 0 0;
  background: var(--ac-panel);
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.24);
}

.ac-workspace__bar {
  display: grid;
  min-height: 38px;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--ac-line-soft);
  color: #878e90;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.ac-window-dots {
  display: flex;
  gap: 5px;
}

.ac-window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #454b4d;
}

.ac-window-dots i:nth-child(1) { background: var(--ac-coral); }
.ac-window-dots i:nth-child(2) { background: #f2cb6f; }
.ac-window-dots i:nth-child(3) { background: var(--ac-lime); }

.ac-workspace__health {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ac-lime);
}

.ac-workspace__health i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.ac-workspace__body {
  display: grid;
  min-height: 240px;
  grid-template-columns: 190px minmax(0, 1fr) 200px;
}

.ac-workspace__sidebar,
.ac-workspace__models {
  min-width: 0;
  padding: 16px;
  background: #090b0d;
}

.ac-workspace__sidebar {
  border-right: 1px solid var(--ac-line-soft);
}

.ac-workspace__models {
  border-left: 1px solid var(--ac-line-soft);
}

.ac-workspace__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--ac-ink);
  font-size: 13px;
  font-weight: 650;
}

.ac-workspace__label {
  display: block;
  margin-bottom: 5px;
  color: #646b6d;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.ac-workspace__sidebar > strong {
  display: block;
  color: #d8dcdd;
  font-size: 12px;
}

.ac-workspace__nav {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.ac-workspace__nav span {
  padding: 7px 8px;
  border-left: 2px solid transparent;
  color: #6f7678;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.ac-workspace__nav span.is-active {
  border-left-color: var(--ac-cyan);
  background: rgba(110, 216, 241, 0.05);
  color: var(--ac-cyan);
}

.ac-workspace__mission {
  min-width: 0;
  padding: 18px 20px 16px;
}

.ac-mission__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #737a7c;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.ac-status-chip {
  padding: 3px 8px;
  border: 1px solid rgba(185, 239, 114, 0.35);
  border-radius: 999px;
  color: var(--ac-lime);
  background: rgba(185, 239, 114, 0.08);
}

.ac-workspace__mission h2 {
  margin: 14px 0 5px;
  color: #f0f2f2;
  font-size: 21px;
  font-weight: 580;
  line-height: 1.25;
}

.ac-workspace__mission > p {
  margin: 0;
  color: #777f81;
  font-size: 11px;
}

.ac-mission__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--ac-line-soft);
  border-bottom: 1px solid var(--ac-line-soft);
}

.ac-mission__steps > div {
  position: relative;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--ac-line-soft);
}

.ac-mission__steps > div:last-child {
  border-right: 0;
}

.ac-mission__steps span {
  color: #5d6466;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 8px;
}

.ac-mission__steps strong {
  display: block;
  margin-top: 4px;
  color: #979d9f;
  font-size: 10px;
  font-weight: 550;
}

.ac-mission__steps i {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3d4345;
}

.ac-mission__steps .is-done strong,
.ac-mission__steps .is-done i {
  color: var(--ac-lime);
  background: var(--ac-lime);
}

.ac-mission__steps .is-active strong {
  color: var(--ac-cyan);
}

.ac-mission__steps .is-done::after,
.ac-mission__steps .is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
}

.ac-mission__steps .is-done::after {
  background: var(--ac-lime);
}

.ac-mission__steps .is-active::after {
  background: linear-gradient(90deg, var(--ac-cyan), transparent);
}

.ac-mission__prompt {
  display: grid;
  min-height: 42px;
  grid-template-columns: auto minmax(0, 1fr) 32px;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 5px 5px 5px 12px;
  border: 1px solid rgba(156, 149, 255, 0.24);
  border-radius: 6px;
  background: #0a0c0f;
  color: var(--ac-violet);
}

.ac-mission__prompt p {
  overflow: hidden;
  margin: 0;
  color: #a0a6a8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-mission__send {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--ac-violet);
  color: #09090d;
  font-size: 14px;
  font-weight: 700;
}

.ac-model {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  padding: 9px;
  border: 1px solid var(--ac-line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.ac-model.is-active {
  border-color: rgba(185, 239, 114, 0.4);
  background: rgba(185, 239, 114, 0.06);
}

.ac-model span {
  color: #646b6d;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 8px;
}

.ac-model.is-active span {
  color: var(--ac-lime);
}

.ac-model strong {
  color: #d8dcdd;
  font-size: 11px;
  font-weight: 560;
}

.ac-hero__signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ac-line);
  border-bottom: 0;
  background: rgba(7, 8, 9, 0.92);
}

.ac-hero__signals span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--ac-line-soft);
  color: #b3b8b9;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.ac-hero__signals span:last-child {
  border-right: 0;
}

.ac-hero__signals i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac-cyan);
}

.ac-hero__signals .is-lime { background: var(--ac-lime); }
.ac-hero__signals .is-coral { background: var(--ac-coral); }
.ac-hero__signals .is-violet { background: var(--ac-violet); }
.ac-hero__signals .is-cyan { background: var(--ac-cyan); }

/* ── Sections ── */
.ac-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--ac-line-soft);
  background: #0a0c0d;
}

.ac-section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.ac-section-head--compact {
  margin-bottom: 24px;
}

.ac-section-head h2 {
  margin: 10px 0 12px;
  color: var(--ac-ink);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 620;
  line-height: 1.2;
}

.ac-section-head > p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Topology */
.ac-topology {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 140px minmax(240px, 0.8fr);
  align-items: stretch;
  border-top: 1px solid var(--ac-line);
  border-bottom: 1px solid var(--ac-line);
}

.ac-topology__zone {
  min-width: 0;
  padding: 22px;
}

.ac-topology__zone--local {
  border-left: 1px solid var(--ac-line);
}

.ac-topology__zone--cloud {
  border-right: 1px solid var(--ac-line);
}

.ac-topology__zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ac-cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.ac-topology__zone-head strong {
  color: #6d7476;
  font-size: 8px;
}

.ac-topology__nodes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 32px 0 22px;
  border: 1px solid var(--ac-line-soft);
}

.ac-topology__nodes > div {
  min-width: 0;
  padding: 16px 12px;
  border-right: 1px solid var(--ac-line-soft);
}

.ac-topology__nodes > div:last-child {
  border-right: 0;
}

.ac-topology__nodes span {
  display: block;
  color: #596062;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 8px;
}

.ac-topology__nodes strong {
  display: block;
  margin-top: 18px;
  color: #d8dcdd;
  font-size: 11px;
  font-weight: 560;
}

.ac-topology__zone > p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 12px;
  line-height: 1.65;
}

.ac-topology__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-right: 1px solid var(--ac-line-soft);
  border-left: 1px solid var(--ac-line-soft);
  color: #6f7678;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 8px;
}

.ac-topology__bridge i {
  width: 1px;
  height: 50px;
  background: var(--ac-line);
}

.ac-topology__bridge b {
  color: var(--ac-cyan);
  font-size: 18px;
  font-weight: 400;
}

.ac-cloud-orbit {
  position: relative;
  width: 200px;
  height: 110px;
  margin: 28px auto 22px;
  border: 1px solid rgba(156, 149, 255, 0.25);
  border-radius: 50%;
}

.ac-cloud-orbit div {
  position: absolute;
  padding: 5px 8px;
  border: 1px solid var(--ac-line);
  border-radius: 4px;
  background: #111315;
  color: #c3c7c8;
  font-size: 9px;
}

.ac-cloud-orbit div:nth-child(1) { top: 12px; left: -10px; }
.ac-cloud-orbit div:nth-child(2) { right: -15px; bottom: 13px; }

.ac-cloud-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--ac-violet);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  transform: translate(-50%, -50%);
}

/* Stack */
.ac-stack {
  background: var(--ac-bg);
}

.ac-stack__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.75fr);
  border: 1px solid var(--ac-line);
}

.ac-stack__pillars,
.ac-stack__stays {
  min-width: 0;
  padding: 20px;
}

.ac-stack__pillars {
  border-right: 1px solid var(--ac-line-soft);
}

.ac-stack__stays {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
}

.ac-block-head {
  margin-bottom: 16px;
}

.ac-block-head h2 {
  margin: 8px 0 0;
  color: var(--ac-ink);
  font-size: 18px;
  font-weight: 620;
  line-height: 1.3;
}

.ac-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ac-line-soft);
  border-left: 1px solid var(--ac-line-soft);
}

.ac-pillar {
  min-width: 0;
  padding: 14px 14px 16px;
  border-right: 1px solid var(--ac-line-soft);
  border-bottom: 1px solid var(--ac-line-soft);
}

.ac-pillar__code {
  display: block;
  color: var(--ac-cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.ac-pillar h3 {
  margin: 10px 0 6px;
  color: var(--ac-ink);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.25;
}

.ac-pillar p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 12px;
  line-height: 1.6;
}

.ac-stack__stays ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ac-stack__stays li {
  position: relative;
  padding-left: 14px;
  color: var(--ac-muted);
  font-size: 12px;
  line-height: 1.65;
}

.ac-stack__stays li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ac-cyan);
  content: "";
}

.ac-stack__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* Capabilities matrix */
.ac-caps {
  position: relative;
  overflow: hidden;
  background: var(--ac-bg);
}

.ac-section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: end;
  max-width: none;
}

.ac-section-head--split > p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ac-cap-orbit {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  transform: translate(-50%, -42%);
  pointer-events: none;
  opacity: 0.35;
}

.ac-cap-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(110, 216, 241, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(110, 216, 241, 0.35), rgba(7, 8, 9, 0.9) 70%);
  color: var(--ac-cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  font-weight: 650;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(110, 216, 241, 0.18);
}

.ac-cap-orbit__ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.ac-cap-orbit__ring--2 {
  inset: 4%;
  border-color: rgba(156, 149, 255, 0.12);
}

.ac-cap-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ac-line);
  border-left: 1px solid var(--ac-line);
  background: rgba(7, 8, 9, 0.72);
  backdrop-filter: blur(8px);
}

.ac-cap {
  min-width: 0;
  padding: 18px 16px 20px;
  border-right: 1px solid var(--ac-line);
  border-bottom: 1px solid var(--ac-line);
  transition: background-color 160ms ease-out;
}

.ac-cap:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ac-cap span {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.ac-cap span.is-cyan { color: var(--ac-cyan); }
.ac-cap span.is-violet { color: var(--ac-violet); }
.ac-cap span.is-lime { color: var(--ac-lime); }
.ac-cap span.is-coral { color: var(--ac-coral); }

.ac-cap strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--ac-ink);
  font-size: 15px;
  font-weight: 620;
}

.ac-cap p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Plans */
.ac-plans {
  background: var(--ac-bg);
}

.ac-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ac-line);
  border-left: 1px solid var(--ac-line);
}

.ac-plan {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--ac-line);
  border-bottom: 1px solid var(--ac-line);
  background: rgba(255, 255, 255, 0.015);
}

.ac-plan.is-featured {
  background: var(--ac-panel-2);
  box-shadow: inset 0 0 0 1px rgba(110, 216, 241, 0.22);
}

.ac-plan__code {
  color: var(--ac-cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
}

.ac-plan h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 620;
}

.ac-plan__price {
  margin: 4px 0 12px;
  color: var(--ac-ink);
  font-size: 28px;
  font-weight: 650;
}

.ac-plan ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
}

.ac-plan li {
  position: relative;
  padding-left: 14px;
  color: var(--ac-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ac-plan li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ac-lime);
  content: "";
}

.ac-plan .ac-btn {
  align-self: flex-start;
}

/* Final */
.ac-final {
  background: #0a0c0d;
  text-align: left;
}

.ac-final__inner {
  max-width: 720px;
}

.ac-final h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 620;
  line-height: 1.15;
}

.ac-final > .ac-frame > p,
.ac-final__inner > p:not(.ac-kicker) {
  margin: 0 0 22px;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Related */
.ac-related {
  padding-bottom: 100px;
  background: var(--ac-bg);
}

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

.ac-related__card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ac-line-soft);
  border-radius: 10px;
  background: var(--ac-panel);
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.ac-related__card:hover {
  border-color: rgba(110, 216, 241, 0.4);
  background: var(--ac-panel-2);
}

.ac-related__card img {
  width: 140px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
}

.ac-related__card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ac-ink);
  font-size: 16px;
}

.ac-related__card span {
  color: var(--ac-muted);
  font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .ac-hero__rail--one { left: 8%; }
  .ac-hero__rail--three { left: 92%; }

  .ac-hero__copy {
    grid-template-columns: 1fr;
  }

  .ac-workspace__body {
    grid-template-columns: 1fr;
  }

  .ac-workspace__sidebar,
  .ac-workspace__models {
    border: 0;
    border-bottom: 1px solid var(--ac-line-soft);
  }

  .ac-workspace__models {
    display: none;
  }

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

  .ac-hero__signals span:nth-child(2n) {
    border-right: 0;
  }

  .ac-topology {
    grid-template-columns: 1fr;
  }

  .ac-topology__bridge {
    flex-direction: row;
    min-height: 56px;
    border-top: 1px solid var(--ac-line-soft);
    border-bottom: 1px solid var(--ac-line-soft);
  }

  .ac-topology__bridge i {
    width: 48px;
    height: 1px;
  }

  .ac-topology__zone--local,
  .ac-topology__zone--cloud {
    border-right: 1px solid var(--ac-line);
    border-left: 1px solid var(--ac-line);
  }

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

  .ac-topology__nodes > div:nth-child(2) {
    border-right: 0;
  }

  .ac-topology__nodes > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ac-line-soft);
  }

  .ac-stack__layout {
    grid-template-columns: 1fr;
  }

  .ac-stack__pillars {
    border-right: 0;
    border-bottom: 1px solid var(--ac-line-soft);
  }

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

  .ac-section-head--split {
    grid-template-columns: 1fr;
  }

  .ac-cap-orbit {
    display: none;
  }

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

  .ac-plan-grid {
    grid-template-columns: 1fr;
  }

  .ac-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ac-frame {
    width: min(100% - 28px, 1240px);
  }

  .ac-hero__status-tech {
    display: none;
  }

  .ac-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ac-hero__actions .ac-text-link {
    grid-column: 1 / -1;
  }

  .ac-hero__signals {
    grid-template-columns: 1fr 1fr;
  }

  .ac-pillar-grid,
  .ac-cap-grid {
    grid-template-columns: 1fr;
  }

  .ac-related__card {
    grid-template-columns: 1fr;
  }

  .ac-related__card img {
    width: 100%;
    height: 140px;
  }
}
