/* =========================================================
   Websting homepage hero refresh
   Loaded only by index.php after theme.css and header-menu.css.
   This layer intentionally overrides the legacy homepage hero
   without altering interior pages or the sections below it.
   ========================================================= */

.index-page .ws-hero-refresh {
  --ws-hero-gold: 245, 196, 94;
  --ws-hero-purple: 184, 148, 255;
  --ws-hero-teal: 94, 234, 212;
  --ws-hero-ink: 3, 4, 8;

  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(690px, calc(100svh - 88px), 860px);
  padding: clamp(4.4rem, 7vw, 6.5rem) 0 clamp(4.8rem, 7vw, 6.5rem);
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 84% 62%, rgba(var(--ws-hero-teal), 0.15), transparent 62%),
    radial-gradient(1120px 720px at 20% 28%, rgba(var(--ws-hero-purple), 0.2), transparent 62%),
    radial-gradient(780px 540px at 52% 105%, rgba(var(--ws-hero-gold), 0.09), transparent 64%),
    #050507;
}

.index-page .ws-hero-refresh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 22% 46%, rgba(0, 0, 0, 0.52), transparent 66%),
    linear-gradient(180deg, rgba(2, 3, 7, 0.08), rgba(2, 3, 7, 0.42));
}

.index-page .ws-hero-refresh::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 7rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 5, 7, 0), #020204);
}

.index-page .ws-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.index-page .ws-hero-stars {
  position: absolute;
  inset: -12%;
  opacity: 0.58;
  background-repeat: repeat;
  mix-blend-mode: screen;
  animation: wsHeroStarDrift 34s linear infinite;
}

.index-page .ws-hero-stars-one {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(var(--ws-hero-gold), 0.52) 0 1px, transparent 1.55px),
    radial-gradient(circle, rgba(var(--ws-hero-purple), 0.48) 0 1px, transparent 1.5px);
  background-position: 0 0, 74px 38px, 145px 112px;
  background-size: 210px 190px, 270px 250px, 330px 300px;
}

.index-page .ws-hero-stars-two {
  opacity: 0.32;
  background-image:
    radial-gradient(circle, rgba(var(--ws-hero-teal), 0.52) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 0.8px, transparent 1.4px);
  background-position: 32px 64px, 158px 10px;
  background-size: 290px 270px, 380px 340px;
  animation-duration: 48s;
  animation-direction: reverse;
}

.index-page .ws-hero-ribbons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.index-page .ws-hero-ribbon {
  animation: wsHeroRibbonFlow 18s linear infinite;
}

.index-page .ws-hero-ribbon-two {
  animation-duration: 24s;
  animation-direction: reverse;
}

.index-page .ws-hero-layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(35rem, 1.06fr);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 5rem);
  width: min(calc(100% - 4rem), 1420px);
}

.index-page .ws-hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0;
  min-width: 0;
  max-width: 45rem;
}

.index-page .ws-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  width: fit-content;
  margin: 0 0 1.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(var(--ws-hero-gold), 0.28);
  border-radius: 999px;
  background: rgba(var(--ws-hero-gold), 0.065);
  color: rgb(247, 212, 137);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 48px -34px rgba(var(--ws-hero-gold), 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: wsHeroFadeUp 0.7s ease-out 0.05s both;
}

.index-page .ws-hero-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgb(var(--ws-hero-gold));
  box-shadow: 0 0 0.9rem rgba(var(--ws-hero-gold), 0.84);
  animation: wsHeroStatusPulse 2s ease-in-out infinite;
}

.index-page .ws-hero-title {
  display: grid;
  gap: 0.08em;
  width: 100%;
  max-width: none !important;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 4.1vw, 4.85rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.052em;
  overflow: visible;
  animation: wsHeroFadeUp 0.85s ease-out 0.18s both;
}

.index-page .ws-hero-title-desktop {
  display: grid;
  gap: 0.08em;
}

.index-page .ws-hero-title-mobile {
  display: none;
}

.index-page .ws-hero-title-desktop > span,
.index-page .ws-hero-title-mobile > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-right: 0.08em;
}

.index-page .ws-hero-title-accent {
  color: transparent;
  background-image: linear-gradient(96deg, #f7d489 0%, #c8b8ff 54%, #9ce7dc 100%);
  background-size: 210% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wsHeroTitleGradient 14s ease-in-out infinite;
}

.index-page .ws-hero-lede {
  max-width: 38rem;
  margin: 1.55rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.03rem, 1.28vw, 1.18rem);
  line-height: 1.62;
  animation: wsHeroFadeUp 0.85s ease-out 0.36s both;
}

.index-page .ws-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: wsHeroFadeUp 0.85s ease-out 0.52s both;
}

.index-page .ws-hero-button {
  position: relative;
  min-height: 3.65rem;
  padding: 1rem 1.45rem;
  overflow: hidden;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.index-page .ws-hero-button svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.index-page .ws-hero-button-primary {
  min-width: 17.5rem;
  border: 1px solid rgba(var(--ws-hero-teal), 0.55);
  background: linear-gradient(180deg, #72f5df, #2dd4bf);
  color: #06231e;
  box-shadow:
    0 20px 54px -22px rgba(var(--ws-hero-teal), 0.8),
    0 0 0 1px rgba(var(--ws-hero-teal), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.index-page .ws-hero-button-primary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.index-page .ws-hero-button-secondary {
  min-width: 14.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 48px -34px rgba(var(--ws-hero-purple), 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.index-page .ws-hero-button-secondary svg {
  fill: currentColor;
  stroke: none;
}

.index-page .ws-hero-button:hover,
.index-page .ws-hero-button:focus-visible {
  transform: translateY(-2px);
}

.index-page .ws-hero-button-primary:hover,
.index-page .ws-hero-button-primary:focus-visible {
  box-shadow:
    0 24px 64px -20px rgba(var(--ws-hero-teal), 0.94),
    0 0 0 1px rgba(var(--ws-hero-teal), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.index-page .ws-hero-button-secondary:hover,
.index-page .ws-hero-button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.index-page .ws-hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 39rem;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: wsHeroFadeUp 0.85s ease-out 0.68s both;
}

.index-page .ws-hero-trust strong {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.index-page .ws-hero-trust-check {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--ws-hero-teal), 0.42);
  border-radius: 50%;
  background: rgba(var(--ws-hero-teal), 0.08);
  color: rgb(var(--ws-hero-teal));
  box-shadow: 0 0 1.2rem -0.55rem rgba(var(--ws-hero-teal), 0.8);
}

.index-page .ws-hero-trust-check svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.index-page .ws-hero-visual {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  aspect-ratio: 760 / 660;
  justify-self: end;
  filter: drop-shadow(0 38px 58px rgba(0, 0, 0, 0.34));
  animation: wsHeroVisualIn 1.1s ease-out 0.3s both;
}

.index-page .ws-constellation {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.index-page .ws-constellation-orbit {
  fill: none;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.index-page .ws-constellation-orbit-one {
  stroke: rgba(var(--ws-hero-purple), 0.2);
  stroke-dasharray: 4 9;
  animation: wsHeroOrbitSpin 46s linear infinite;
}

.index-page .ws-constellation-orbit-two {
  stroke: rgba(var(--ws-hero-teal), 0.12);
  stroke-dasharray: 2 15;
  animation: wsHeroOrbitSpin 68s linear infinite reverse;
}

.index-page .ws-constellation-line {
  fill: none;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-dasharray: 5 8;
  animation: wsHeroLineFlow 10s linear infinite;
}

.index-page .ws-packet circle {
  filter: drop-shadow(0 0 0.5rem currentColor);
}

.index-page .ws-packet-gold {
  color: rgb(var(--ws-hero-gold));
  fill: currentColor;
}

.index-page .ws-packet-purple {
  color: rgb(var(--ws-hero-purple));
  fill: currentColor;
}

.index-page .ws-packet-teal {
  color: rgb(var(--ws-hero-teal));
  fill: currentColor;
}

.index-page .ws-constellation-node {
  color: #fff;
}

.index-page .ws-node-pulse {
  fill: currentColor;
  fill-opacity: 0.045;
  stroke: currentColor;
  stroke-opacity: 0.34;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: wsHeroNodePulse 3.4s ease-in-out infinite;
}

.index-page .ws-node-delay-one .ws-node-pulse { animation-delay: -0.55s; }
.index-page .ws-node-delay-two .ws-node-pulse { animation-delay: -1.1s; }
.index-page .ws-node-delay-three .ws-node-pulse { animation-delay: -1.65s; }
.index-page .ws-node-delay-four .ws-node-pulse { animation-delay: -2.2s; }
.index-page .ws-node-delay-five .ws-node-pulse { animation-delay: -2.75s; }

.index-page .ws-node-disc {
  fill: rgba(13, 12, 18, 0.95);
  stroke: currentColor;
  stroke-opacity: 0.68;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 0.7rem rgba(255, 255, 255, 0.06));
}

.index-page .ws-node-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.index-page .ws-node-gold { color: rgb(247, 212, 137); }
.index-page .ws-node-purple { color: rgb(200, 184, 255); }
.index-page .ws-node-teal { color: rgb(94, 234, 212); }

.index-page .ws-node-label,
.index-page .ws-node-sub,
.index-page .ws-core-label {
  text-anchor: middle;
  font-family: var(--font-body);
}

.index-page .ws-node-label {
  fill: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.index-page .ws-node-sub {
  fill: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.index-page .ws-constellation-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: wsHeroCoreBreath 4.4s ease-in-out infinite;
}

.index-page .ws-core-ring {
  fill: none;
  transform-box: fill-box;
  transform-origin: center;
}

.index-page .ws-core-ring-outer {
  stroke: rgba(var(--ws-hero-gold), 0.3);
  stroke-width: 1;
  stroke-dasharray: 5 7;
  animation: wsHeroOrbitSpin 52s linear infinite;
}

.index-page .ws-core-ring-inner {
  fill: rgba(var(--ws-hero-gold), 0.055);
  stroke: rgba(var(--ws-hero-gold), 0.32);
  stroke-width: 1;
}

.index-page .ws-core-disc {
  fill: rgba(7, 7, 10, 0.98);
  stroke: rgba(var(--ws-hero-gold), 0.55);
  stroke-width: 1.5;
  filter:
    drop-shadow(0 0 1.7rem rgba(var(--ws-hero-gold), 0.22))
    drop-shadow(0 0 3rem rgba(var(--ws-hero-purple), 0.14));
}

.index-page .ws-core-label {
  fill: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.index-page .ws-hero-mobile-system {
  display: none;
}

@keyframes wsHeroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wsHeroVisualIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wsHeroStatusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.62; }
}

@keyframes wsHeroTitleGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes wsHeroStarDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(8%, -6%, 0); }
}

@keyframes wsHeroRibbonFlow {
  to { stroke-dashoffset: -520; }
}

@keyframes wsHeroLineFlow {
  to { stroke-dashoffset: -130; }
}

@keyframes wsHeroOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes wsHeroNodePulse {
  0%, 100% { opacity: 0.42; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes wsHeroCoreBreath {
  0%, 100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
}

@media (max-width: 1220px) {
  .index-page .ws-hero-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(30rem, 1.04fr);
    gap: 2.25rem;
    width: min(calc(100% - 3rem), 1180px);
  }

  .index-page .ws-hero-title {
    font-size: clamp(3.15rem, 5vw, 4.55rem);
  }

  .index-page .ws-hero-visual {
    transform: scale(0.97);
    transform-origin: center right;
  }
}

@media (max-width: 960px) {
  .index-page .ws-hero-refresh {
    min-height: auto;
    padding-top: 3.8rem;
  }

  .index-page .ws-hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: min(calc(100% - 3rem), 760px);
  }

  .index-page .ws-hero-copy {
    max-width: 44rem;
  }

  .index-page .ws-hero-visual {
    width: min(100%, 44rem);
    justify-self: center;
    transform: none;
  }
}

@media (max-width: 700px) {
  .index-page .ws-hero-refresh {
    min-height: auto;
    padding: 1.25rem 0 3.8rem;
    background:
      radial-gradient(520px 500px at 50% 72%, rgba(var(--ws-hero-teal), 0.11), transparent 68%),
      radial-gradient(600px 520px at 32% 18%, rgba(var(--ws-hero-purple), 0.18), transparent 68%),
      #050507;
  }

  .index-page .ws-hero-refresh::before {
    background: linear-gradient(180deg, rgba(2, 3, 7, 0.1), rgba(2, 3, 7, 0.5));
  }

  .index-page .ws-hero-refresh::after {
    height: 4.5rem;
  }

  .index-page .ws-hero-ribbons {
    opacity: 0.38;
  }

  .index-page .ws-hero-stars {
    opacity: 0.38;
  }

  .index-page .ws-hero-layout {
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 1.5rem), 34rem);
    gap: 1.35rem;
  }

  .index-page .ws-hero-copy {
    align-items: center;
    justify-items: center;
    max-width: none;
    text-align: center;
  }

  .index-page .ws-hero-status {
    margin-bottom: 1.15rem;
    padding: 0.62rem 0.82rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .index-page .ws-hero-title {
    max-width: 23rem !important;
    font-size: clamp(2.62rem, 11.7vw, 3.45rem);
    line-height: 0.995;
    letter-spacing: -0.048em;
  }

  .index-page .ws-hero-title-desktop {
    display: none;
  }

  .index-page .ws-hero-title-mobile {
    display: grid;
    gap: 0.02em;
    width: 100%;
  }

  .index-page .ws-hero-title-mobile > span {
    width: 100%;
  }

  .index-page .ws-hero-lede {
    max-width: 23.5rem;
    margin-top: 1.15rem;
    font-size: 0.97rem;
    line-height: 1.56;
  }

  .index-page .ws-hero-actions {
    display: grid;
    width: 100%;
    gap: 0.65rem;
    margin-top: 1.35rem;
  }

  .index-page .ws-hero-button,
  .index-page .ws-hero-button-primary,
  .index-page .ws-hero-button-secondary {
    width: 100%;
    min-width: 0;
    min-height: 3.55rem;
    padding: 0.95rem 1rem;
  }

  .index-page .ws-hero-trust {
    align-items: flex-start;
    max-width: 22.5rem;
    margin-top: 1.2rem;
    font-size: 0.82rem;
    text-align: left;
  }

  .index-page .ws-hero-visual {
    display: none;
  }

  .index-page .ws-hero-mobile-system {
    position: relative;
    display: block;
    width: min(100%, 23rem);
    height: 19rem;
    margin: -0.15rem auto 0;
    animation: wsHeroVisualIn 1s ease-out 0.5s both;
  }

  .index-page .ws-hero-mobile-system > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: rgba(var(--ws-hero-purple), 0.26);
    stroke-width: 1.15;
    stroke-dasharray: 4 8;
    animation: wsHeroLineFlow 12s linear infinite;
  }

  .index-page .ws-mobile-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 7rem;
    height: 7rem;
    overflow: hidden;
    border: 1px solid rgba(var(--ws-hero-gold), 0.55);
    border-radius: 50%;
    background: rgba(7, 7, 10, 0.96);
    box-shadow:
      0 0 0 0.85rem rgba(var(--ws-hero-gold), 0.05),
      0 0 3rem -0.4rem rgba(var(--ws-hero-gold), 0.32),
      0 0 4rem -0.8rem rgba(var(--ws-hero-purple), 0.3);
    transform: translate(-50%, -50%);
    animation: wsHeroCoreBreath 4.4s ease-in-out infinite;
  }

  .index-page .ws-mobile-core img {
    width: 142%;
    height: 142%;
    max-width: none;
    object-fit: cover;
  }

  .index-page .ws-mobile-node {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 7.5rem;
    min-height: 2.55rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(var(--ws-hero-purple), 0.32);
    border-radius: 999px;
    background: rgba(12, 11, 17, 0.9);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.77rem;
    font-weight: 800;
    text-align: center;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 16px 34px -24px rgba(var(--ws-hero-purple), 0.48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .index-page .ws-mobile-node-one {
    top: 0.9rem;
    left: 0;
    border-color: rgba(var(--ws-hero-gold), 0.32);
  }

  .index-page .ws-mobile-node-two {
    top: 0.9rem;
    right: 0;
    border-color: rgba(var(--ws-hero-purple), 0.38);
  }

  .index-page .ws-mobile-node-three {
    bottom: 0.9rem;
    left: 0;
    border-color: rgba(var(--ws-hero-purple), 0.38);
  }

  .index-page .ws-mobile-node-four {
    right: 0;
    bottom: 0.9rem;
    border-color: rgba(var(--ws-hero-teal), 0.34);
  }
}

@media (max-width: 390px) {
  .index-page .ws-hero-layout {
    width: min(calc(100% - 1.1rem), 32rem);
  }

  .index-page .ws-hero-title {
    max-width: 21.5rem !important;
    font-size: clamp(2.48rem, 11.8vw, 3.12rem);
  }

  .index-page .ws-hero-mobile-system {
    width: min(100%, 21.5rem);
    height: 18rem;
  }

  .index-page .ws-mobile-node {
    min-width: 6.9rem;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page .ws-hero-stars,
  .index-page .ws-hero-ribbon,
  .index-page .ws-hero-status,
  .index-page .ws-hero-status-dot,
  .index-page .ws-hero-title,
  .index-page .ws-hero-title-accent,
  .index-page .ws-hero-lede,
  .index-page .ws-hero-actions,
  .index-page .ws-hero-trust,
  .index-page .ws-hero-visual,
  .index-page .ws-hero-mobile-system,
  .index-page .ws-hero-mobile-system > svg,
  .index-page .ws-constellation-orbit,
  .index-page .ws-constellation-line,
  .index-page .ws-node-pulse,
  .index-page .ws-constellation-core,
  .index-page .ws-core-ring-outer,
  .index-page .ws-mobile-core {
    animation: none !important;
  }

  .index-page .ws-packet {
    display: none;
  }
}


/* =========================================================
   Hero refresh update 2
   - Removes the oversized second-section image from the main flow.
   - Replaces it with a compact 3-step explainer.
   - Tightens the mobile hero system to reduce black space.
   ========================================================= */

.index-page #live-demo .live-demo-compact {
  display: grid;
  gap: 1.1rem;
}

.index-page #live-demo .system-flow-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: stretch;
}

.index-page #live-demo .system-flow-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.15rem, 2vw, 1.45rem);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--accent-rgb,245,196,94),0.12), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb,108,184,190),0.08), transparent 44%),
    rgba(255,255,255,0.05);
}

.index-page #live-demo .system-flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 1.9rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid rgba(var(--accent-rgb,245,196,94),0.28);
  border-radius: 999px;
  background: rgba(var(--accent-rgb,245,196,94),0.1);
  color: rgba(var(--accent-rgb,245,196,94),0.98);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.index-page #live-demo .system-flow-card h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.22;
}

.index-page #live-demo .system-flow-card p {
  color: rgba(255,255,255,0.74);
  font-size: 0.97rem;
  line-height: 1.58;
}

.index-page #live-demo .system-flow-connector {
  position: relative;
  align-self: center;
  width: 3.25rem;
  min-width: 3.25rem;
}

.index-page #live-demo .system-flow-connector::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(var(--gold-rgb),0.85), rgba(var(--teal-rgb),0.5));
  box-shadow: 0 0 16px rgba(var(--gold-rgb),0.18);
}

.index-page #live-demo .system-flow-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-top: 1px solid rgba(var(--teal-rgb),0.8);
  border-right: 1px solid rgba(var(--teal-rgb),0.8);
  transform: translateY(-50%) rotate(45deg);
}

.index-page #live-demo .system-map-details {
  overflow: hidden;
  border-radius: 1.35rem;
}

.index-page #live-demo .system-map-details summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.index-page #live-demo .system-map-details summary::-webkit-details-marker {
  display: none;
}

.index-page #live-demo .system-map-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--purple-rgb),0.3);
  background: rgba(var(--purple-rgb),0.08);
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.index-page #live-demo .system-map-details[open] summary::before {
  content: "-";
}

.index-page #live-demo .system-map-details .system-visual {
  margin: 0 1.15rem 1.15rem;
  width: auto;
  max-width: none;
}

.index-page #live-demo .system-map-details .system-visual img {
  object-fit: contain !important;
}

@media (max-width: 980px) {
  .index-page #live-demo .system-flow-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .index-page #live-demo .system-flow-connector {
    width: 1px;
    min-width: 1px;
    height: 1.7rem;
    justify-self: center;
  }

  .index-page #live-demo .system-flow-connector::before {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--gold-rgb),0.85), rgba(var(--teal-rgb),0.5));
  }

  .index-page #live-demo .system-flow-connector::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    border-top: 0;
    border-right: 1px solid rgba(var(--teal-rgb),0.8);
    border-bottom: 1px solid rgba(var(--teal-rgb),0.8);
    transform: translateX(-50%) rotate(45deg);
  }
}

@media (max-width: 700px) {
  .index-page .ws-hero-refresh {
    padding: 1rem 0 2.35rem;
  }

  .index-page .ws-hero-layout {
    gap: 1rem;
  }

  .index-page .ws-hero-lede {
    max-width: 22.75rem;
    margin-top: 1rem;
  }

  .index-page .ws-hero-actions {
    margin-top: 1.1rem;
  }

  .index-page .ws-hero-trust {
    max-width: 22rem;
    margin-top: 0.95rem;
    font-size: 0.8rem;
  }

  .index-page .ws-hero-mobile-system {
    width: min(100%, 22.5rem);
    height: 13.75rem;
    margin: 0.35rem auto 0;
    background:
      radial-gradient(circle at 50% 52%, rgba(var(--ws-hero-gold),0.08), transparent 30%),
      radial-gradient(circle at 12% 50%, rgba(var(--ws-hero-purple),0.08), transparent 32%),
      radial-gradient(circle at 88% 50%, rgba(var(--ws-hero-teal),0.08), transparent 32%);
  }

  .index-page .ws-hero-mobile-system > svg {
    stroke-width: 1.3;
    opacity: 0.88;
  }

  .index-page .ws-mobile-core {
    top: 50%;
    width: 6.3rem;
    height: 6.3rem;
    box-shadow:
      0 0 0 0.7rem rgba(var(--ws-hero-gold), 0.05),
      0 0 2.3rem -0.25rem rgba(var(--ws-hero-gold), 0.3),
      0 0 3rem -0.7rem rgba(var(--ws-hero-purple), 0.26);
  }

  .index-page .ws-mobile-node {
    min-width: 6.8rem;
    min-height: 2.3rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
  }

  .index-page .ws-mobile-node-one {
    top: 0.15rem;
    left: 0.4rem;
  }

  .index-page .ws-mobile-node-two {
    top: 0.15rem;
    right: 0.4rem;
  }

  .index-page .ws-mobile-node-three {
    bottom: 0.35rem;
    left: 0.4rem;
  }

  .index-page .ws-mobile-node-four {
    right: 0.4rem;
    bottom: 0.35rem;
  }

  .index-page #live-demo .system-map-details summary {
    padding: 0.95rem 1rem;
  }

  .index-page #live-demo .system-map-details .system-visual {
    margin: 0 0.9rem 0.9rem;
  }
}

@media (max-width: 390px) {
  .index-page .ws-hero-mobile-system {
    width: min(100%, 21rem);
    height: 13rem;
  }

  .index-page .ws-mobile-node {
    min-width: 6.35rem;
    font-size: 0.7rem;
  }
}


/* =========================================================
   Index polish update 3
   - Brings the desktop hero closer to the interior-page height.
   - Highlights the assistant as a featured interactive element.
   - Keeps the mobile hero compact.
   ========================================================= */

@media (min-width: 901px) {
  .index-page .ws-hero-refresh {
    min-height: auto;
    padding-top: 3.6rem;
    padding-bottom: 4rem;
  }

  .index-page .ws-hero-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(30rem, 0.96fr);
    gap: clamp(2.25rem, 4vw, 4rem);
  }

  .index-page .ws-hero-visual {
    width: min(100%, 38rem);
    aspect-ratio: 760 / 620;
  }

  .index-page .ws-hero-title {
    font-size: clamp(3.15rem, 3.85vw, 4.5rem);
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .index-page .ws-hero-refresh {
    min-height: auto;
    padding-top: 2.7rem;
    padding-bottom: 3.5rem;
  }
}

.index-page #live-demo .assistant-showcase {
  position: relative;
  display: grid;
  gap: 1.2rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  overflow: hidden;
  border: 1px solid rgba(var(--purple-rgb), 0.28);
  border-radius: clamp(1.5rem, 2.8vw, 2rem);
  background:
    radial-gradient(circle at 5% 0%, rgba(var(--teal-rgb), 0.15), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(var(--purple-rgb), 0.16), transparent 40%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 34px 90px -58px rgba(var(--purple-rgb),0.72),
    0 26px 76px -62px rgba(var(--teal-rgb),0.62);
}

.index-page #live-demo .assistant-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--teal-rgb), 0.65), rgba(var(--purple-rgb), 0.72), transparent);
  box-shadow: 0 0 22px rgba(var(--purple-rgb), 0.42);
}

.index-page #live-demo .assistant-showcase-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(0.25rem, 1vw, 0.6rem) clamp(0.2rem, 1vw, 0.55rem);
}

.index-page #live-demo .assistant-showcase-mark {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb),0.18), transparent 62%), rgba(6, 7, 10, 0.92);
  box-shadow: 0 0 0 0.55rem rgba(var(--gold-rgb),0.045), 0 0 2.4rem -0.7rem rgba(var(--gold-rgb),0.65), 0 0 2.8rem -1rem rgba(var(--purple-rgb),0.55);
}

.index-page #live-demo .assistant-showcase-mark img {
  width: 142%;
  height: 142%;
  max-width: none;
  object-fit: cover;
}

.index-page #live-demo .assistant-showcase-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.index-page #live-demo .assistant-showcase-kicker {
  margin: 0;
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.index-page #live-demo .assistant-showcase-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.index-page #live-demo .assistant-showcase-copy p:last-child {
  max-width: 48rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.index-page #live-demo .assistant-demo-featured {
  position: relative;
  z-index: 2;
  margin: 0;
}

.index-page #live-demo .assistant-demo-featured > .glass-panel {
  border-color: rgba(var(--accent-rgb, 176,144,255), 0.28);
  background: radial-gradient(circle at 8% 0%, rgba(var(--accent-rgb,176,144,255),0.18), transparent 38%), radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb,108,184,190),0.11), transparent 44%), rgba(8, 9, 13, 0.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 24px 58px -44px rgba(var(--accent-rgb,176,144,255),0.5);
}

.index-page #live-demo .assistant-panel .chat-meta strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.index-page #live-demo .assistant-panel .message-assistant {
  border-color: rgba(var(--purple-rgb),0.2);
  background: linear-gradient(135deg, rgba(var(--purple-rgb),0.1), rgba(var(--teal-rgb),0.055)), rgba(255,255,255,0.04);
}

@media (max-width: 700px) {
  .index-page .ws-hero-refresh {
    padding-top: 0.35rem;
    padding-bottom: 2.1rem;
  }

  .index-page .ws-hero-mobile-system {
    height: 12.5rem;
  }

  .index-page #live-demo .assistant-showcase {
    padding: 0.9rem;
    gap: 0.9rem;
    border-radius: 1.4rem;
  }

  .index-page #live-demo .assistant-showcase-header {
    gap: 0.8rem;
    align-items: start;
  }

  .index-page #live-demo .assistant-showcase-mark {
    width: 3.45rem;
    height: 3.45rem;
  }

  .index-page #live-demo .assistant-showcase-copy h3 {
    font-size: 1.35rem;
  }

  .index-page #live-demo .assistant-showcase-copy p:last-child {
    font-size: 0.92rem;
  }
}
