.hero-system {
  min-height: 680px;
  overflow: visible;
}

.hero-aura {
  position: absolute;
  z-index: 0;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 173, 89, .13), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(126, 189, 255, .11), transparent 61%);
  filter: blur(6px);
  animation: auraBreathe 7s ease-in-out infinite;
}

.orbit-middle {
  width: 438px;
  height: 438px;
  border-color: rgba(216, 173, 89, .18);
  border-style: dotted;
  animation: orbitSpinReverse 56s linear infinite;
}

.hero-core {
  width: 214px;
  height: 214px;
  background:
    radial-gradient(circle at 50% 38%, rgba(216, 173, 89, .17), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(126, 189, 255, .16), rgba(8, 12, 17, .97) 69%);
  border-color: rgba(216, 173, 89, .55);
  box-shadow:
    0 0 0 12px rgba(216, 173, 89, .025),
    0 0 70px rgba(216, 173, 89, .11),
    0 0 110px rgba(126, 189, 255, .09),
    inset 0 0 60px rgba(126, 189, 255, .08);
}

.hero-core::before,
.hero-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-core::before {
  inset: 15px;
  border: 1px solid rgba(216, 173, 89, .22);
}

.hero-core::after {
  inset: 32px;
  border: 1px dashed rgba(126, 189, 255, .24);
  animation: orbitSpin 34s linear infinite;
}

.hero-core strong {
  position: relative;
  z-index: 2;
  color: var(--gold);
  font-size: 76px;
  line-height: .9;
  text-shadow: 0 0 24px rgba(216, 173, 89, .24);
}

.hero-core small,
.hero-core span {
  position: relative;
  z-index: 2;
}

.hero-authority {
  top: 26px;
  min-width: 245px;
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
}

.hero-memory {
  bottom: 54px;
  min-width: 250px;
  border-radius: 999px;
  border-color: rgba(166, 119, 234, .34);
  background: rgba(14, 10, 20, .9);
}

.hero-function {
  position: absolute;
  z-index: 5;
  min-width: 142px;
  padding: 10px 12px;
  pointer-events: none;
  text-align: center;
}

.hero-function::before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(216, 173, 89, .55), transparent);
}

.hero-function strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .03em;
}

.hero-function small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.function-remember {
  top: 128px;
  left: 50%;
  transform: translateX(-50%);
}

.function-remember::before {
  left: 50%;
  bottom: -22px;
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(216, 173, 89, .65), transparent);
}

.function-challenge {
  top: 48%;
  left: 2%;
  transform: translateY(-50%);
}

.function-challenge::before {
  top: 50%;
  right: -42px;
  width: 44px;
  height: 1px;
}

.function-evolve {
  top: 48%;
  right: 2%;
  transform: translateY(-50%);
}

.function-evolve::before {
  top: 50%;
  left: -42px;
  width: 44px;
  height: 1px;
}

.function-serve {
  left: 50%;
  bottom: 146px;
  transform: translateX(-50%);
}

.function-serve::before {
  left: 50%;
  top: -24px;
  width: 1px;
  height: 24px;
  background: linear-gradient(to top, rgba(216, 173, 89, .65), transparent);
}

.hero-plinth {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(50% + 104px);
  width: 360px;
  height: 88px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-plinth i {
  position: absolute;
  left: 50%;
  height: 20px;
  transform: translateX(-50%);
  border: 1px solid rgba(216, 173, 89, .25);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(216, 173, 89, .08), transparent 70%);
  box-shadow: 0 12px 34px rgba(216, 173, 89, .05);
}

.hero-plinth i:nth-child(1) { top: 0; width: 210px; }
.hero-plinth i:nth-child(2) { top: 20px; width: 290px; }
.hero-plinth i:nth-child(3) { top: 43px; width: 360px; }

.hero-particles {
  position: absolute;
  z-index: 2;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-particles i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 11px rgba(216, 173, 89, .75);
  animation: particlePulse 3.5s ease-in-out infinite;
}

.hero-particles i:nth-child(1) { top: 9%; left: 34%; animation-delay: -.4s; }
.hero-particles i:nth-child(2) { top: 18%; right: 17%; animation-delay: -1.6s; }
.hero-particles i:nth-child(3) { top: 44%; right: 1%; animation-delay: -2.2s; }
.hero-particles i:nth-child(4) { bottom: 18%; right: 22%; animation-delay: -.9s; }
.hero-particles i:nth-child(5) { bottom: 7%; left: 43%; animation-delay: -2.8s; }
.hero-particles i:nth-child(6) { bottom: 22%; left: 12%; animation-delay: -1.2s; }
.hero-particles i:nth-child(7) { top: 39%; left: 1%; animation-delay: -2s; }
.hero-particles i:nth-child(8) { top: 20%; left: 17%; animation-delay: -.2s; }

.chat-form {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 10px 12px 10px 14px;
  border-color: rgba(216, 173, 89, .52);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 50%, rgba(216, 173, 89, .055), transparent 34%),
    rgba(7, 10, 13, .92);
  box-shadow: inset 0 0 32px rgba(255, 255, 255, .015);
}

.composer-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(216, 173, 89, .35);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
}

.composer-body {
  min-width: 0;
  display: grid;
  align-content: center;
}

.composer-body label {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.composer-body textarea {
  width: 100%;
  min-height: 31px;
  max-height: 132px;
  padding: 5px 0 2px;
  overflow-y: hidden;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
}

.composer-body textarea::placeholder {
  color: #868991;
}

.composer-body small {
  color: #656a72;
  font-size: 8px;
  letter-spacing: .035em;
}

.chat-form button {
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #080808;
  transition: transform .2s ease, filter .2s ease;
}

.chat-form button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.025);
  filter: brightness(1.06);
}

.chat-form button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.chat-form button b {
  color: inherit;
  font-size: 25px;
  font-weight: 400;
}

.prompt-chips button {
  min-height: 38px;
  padding-inline: 15px;
}

.deployment-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr) 112px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 44px 0;
  overflow: hidden;
}

.deployment-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 50%, rgba(126, 189, 255, .08), transparent 23%),
    radial-gradient(circle at 50% 50%, rgba(216, 173, 89, .085), transparent 24%),
    radial-gradient(circle at 84% 50%, rgba(128, 216, 137, .07), transparent 23%);
  pointer-events: none;
}

.deployment-route {
  position: absolute;
  z-index: 0;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 189, 255, .42), rgba(216, 173, 89, .58), rgba(128, 216, 137, .42));
}

.deployment-route i {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 16px rgba(216, 173, 89, .35);
}

.deployment-route i:nth-child(1) { left: 0; }
.deployment-route i:nth-child(2) { left: 50%; }
.deployment-route i:nth-child(3) { left: 100%; }

.deployment-node {
  position: relative;
  z-index: 2;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(9, 12, 15, .92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
}

.deployment-node::before,
.deployment-node::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deployment-node::before {
  top: -88px;
  right: -88px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.deployment-node::after {
  top: -48px;
  right: -48px;
  width: 140px;
  height: 140px;
  border: 1px dashed rgba(255, 255, 255, .09);
  animation: orbitSpin 38s linear infinite;
}

.deployment-local { border-color: rgba(126, 189, 255, .26); background: linear-gradient(145deg, rgba(10, 19, 29, .95), rgba(8, 11, 14, .98)); }
.deployment-nursery { border-color: rgba(216, 173, 89, .31); background: linear-gradient(145deg, rgba(26, 21, 12, .9), rgba(8, 11, 14, .98)); }
.deployment-public { border-color: rgba(128, 216, 137, .22); background: linear-gradient(145deg, rgba(10, 23, 16, .82), rgba(8, 11, 14, .98)); }

.deployment-node > span {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 10px;
}

.deployment-node small {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.deployment-node h3 {
  position: relative;
  z-index: 1;
  margin: 9px 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1;
}

.deployment-node p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.deployment-node b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  margin-top: 28px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: #d2d4d7;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.deployment-transfer {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.deployment-transfer span {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.deployment-transfer i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(216, 173, 89, .38);
  border-radius: 50%;
  background: var(--bg);
  color: var(--gold);
  font-style: normal;
}

.deployment-caption {
  max-width: 730px;
  margin: 8px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
}

@keyframes orbitSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes auraBreathe {
  0%, 100% { opacity: .65; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes particlePulse {
  0%, 100% { opacity: .25; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.35); }
}

@media (max-width: 1180px) {
  .function-challenge { left: -3%; }
  .function-evolve { right: -3%; }
  .deployment-map { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr) 76px minmax(0, 1fr); }
  .deployment-node { min-height: 360px; padding: 26px; }
}

@media (max-width: 900px) {
  .hero-system { min-height: 670px; }
  .function-challenge { left: 5%; }
  .function-evolve { right: 5%; }
  .deployment-map {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 20px;
  }
  .deployment-route {
    top: 8%;
    bottom: 8%;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(to bottom, rgba(126, 189, 255, .42), rgba(216, 173, 89, .58), rgba(128, 216, 137, .42));
  }
  .deployment-route i:nth-child(1) { top: 0; left: 50%; }
  .deployment-route i:nth-child(2) { top: 50%; left: 50%; }
  .deployment-route i:nth-child(3) { top: 100%; left: 50%; }
  .deployment-node { width: min(620px, 100%); min-height: 320px; margin-inline: auto; }
  .deployment-transfer { grid-template-columns: auto auto; justify-content: center; align-items: center; }
  .deployment-transfer i { transform: rotate(90deg); }
}

@media (max-width: 620px) {
  .hero-system {
    min-height: 590px;
    margin-top: 10px;
  }
  .hero-aura { width: 360px; height: 360px; }
  .orbit-middle { width: min(314px, calc(100vw - 68px)); height: min(314px, calc(100vw - 68px)); }
  .hero-core { width: 158px; height: 158px; }
  .hero-core strong { font-size: 55px; }
  .hero-core span { max-width: 120px; margin-inline: auto; }
  .hero-particles { width: 350px; height: 350px; }
  .hero-authority { top: 18px; min-width: 210px; }
  .function-remember { top: 106px; }
  .function-challenge { top: 47%; left: -8px; min-width: 105px; text-align: left; }
  .function-evolve { top: 47%; right: -8px; min-width: 105px; text-align: right; }
  .function-challenge::before,
  .function-evolve::before { display: none; }
  .function-serve { bottom: 125px; }
  .hero-function strong { font-size: 14px; }
  .hero-function small { font-size: 6px; }
  .hero-plinth { top: calc(50% + 74px); width: 270px; }
  .hero-plinth i:nth-child(1) { width: 150px; }
  .hero-plinth i:nth-child(2) { width: 215px; }
  .hero-plinth i:nth-child(3) { width: 270px; }
  .hero-memory { bottom: 42px; min-width: 215px; }
  .hero-system > p { display: none; }

  .prompt-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .prompt-chips button {
    width: 100%;
    min-height: 46px;
    padding: 10px;
    border-radius: 14px;
    text-align: left;
  }
  .chat-form {
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 8px;
    min-height: 92px;
    margin-inline: 14px;
    padding: 11px 11px 11px 16px;
    border-radius: 22px;
  }
  .composer-mark { display: none; }
  .composer-body textarea {
    min-height: 34px;
    font-size: 18px;
  }
  .composer-body small {
    max-width: 210px;
    white-space: normal;
  }
  .chat-form button {
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
  }
  .chat-form button b { font-size: 22px; }

  .deployment-node {
    min-height: 290px;
    padding: 28px 24px;
    border-radius: 24px;
  }
  .deployment-node h3 { font-size: 42px; }
  .deployment-caption { padding-inline: 12px; }
}
