/* Borrador visual DANCA. Solo se carga desde la portada de esta copia noindex. */
.home-page {
  --concept-blue: #5e95ff;
  --concept-cyan: #4fd8ff;
}

/* Continuidad de identidad: el planeta de partículas se mantiene como gesto
   del hero y queda visible en el espacio entre el titular y la demostración. */
.home-page .planet {
  right: -10%;
  top: -32%;
  width: min(980px, 110vw);
  opacity: 1;
  filter: drop-shadow(0 0 34px rgba(46,107,255,.25));
}

.home-page .hero-section {
  background:
    radial-gradient(ellipse 58% 78% at 82% 25%, rgba(38, 92, 185, .22), transparent 74%),
    radial-gradient(ellipse 36% 62% at 6% 64%, rgba(28, 58, 112, .17), transparent 78%),
    #05070d;
}

.home-page .hero-section::after {
  background-image: linear-gradient(rgba(196,215,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(196,215,255,.018) 1px,transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent 27%, #000 100%);
}

.home-page .hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(52px, 8vw, 112px) 66px;
  gap: clamp(30px, 5vw, 72px);
}

.home-page .hero-copy { gap: 24px; }
.home-page .hero-kicker {
  color: #b8c9e5;
  font: 500 14px/1.4 var(--body);
  letter-spacing: 0;
  text-transform: none;
}

.home-page .hero h1 {
  max-width: 18ch;
  color: #f3f6fc;
  font: 600 clamp(2.65rem, 4.55vw, 4.15rem)/1.04 var(--body);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.home-page .hero .lede {
  max-width: 48ch;
  color: #b5c2d7;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.home-page .hero-actions { gap: 13px; }
.home-page .hero-actions .btn {
  min-height: 54px;
  border-radius: 9px;
  font-size: 14px;
  padding-inline: 19px;
}

.home-page .hero-actions .main {
  background: #dce9ff;
  color: #071326;
  border-color: #dce9ff;
  box-shadow: 0 12px 38px -22px rgba(94,149,255,.82);
}

.home-page .hero-actions .main:hover { background: #fff; }
.home-page .hero-actions .hero-secondary {
  color: #e5edfb;
  border-color: rgba(170,197,238,.25);
  background: rgba(7,15,29,.58);
}

.home-page .hero-note {
  color: #a5b4ca;
  font-size: 13px;
  line-height: 1.7;
}

.home-page .hero-demo { position: relative; z-index: 1; }
.home-page .product-shell {
  border-radius: 14px;
  border-color: rgba(142,177,235,.28);
  background: linear-gradient(145deg, rgba(17,28,47,.96), rgba(8,15,27,.96));
  box-shadow: 0 44px 100px -50px rgba(0,0,0,.96), 0 20px 68px -48px rgba(77,137,241,.7), inset 0 1px rgba(255,255,255,.1);
}

.home-page .product-top {
  height: 52px;
  padding-inline: 19px;
  background: rgba(13,24,43,.7);
}

.home-page .product-demo-tag {
  color: #b7d5ff;
  border-color: rgba(113,166,255,.34);
  border-radius: 999px;
  padding: 5px 9px;
}

.home-page .product-sidebar { background: rgba(4,10,19,.46); }
.home-page .product-tab.is-current {
  background: rgba(72,126,219,.18);
  border-color: rgba(119,167,252,.3);
}

.home-page .product-message-card,
.home-page .product-record {
  border-radius: 9px;
  background: rgba(18,34,58,.76);
}

.home-page .hero-bottom {
  min-height: 55px;
  color: #a5b4ca;
  border-top-color: rgba(171,197,231,.12);
}


.home-page .sec-head h2 {
  max-width: 19ch;
  font-family: var(--body);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.home-page .sec-head p {
  max-width: 62ch;
  line-height: 1.7;
}

/* The work sequence is one connected route, not three interchangeable cards. */
.home-page .how-steps {
  --how-step-gap: clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--how-step-gap);
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.home-page .how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 22px;
  left: 22px;
  width: calc(100% + var(--how-step-gap));
  height: 1px;
  background: linear-gradient(90deg, rgba(93,145,232,.62), rgba(93,145,232,.32));
  box-shadow: 0 0 14px rgba(46,107,255,.24);
}
.home-page .how-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 22px;
}
.home-page .how-step-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(133,176,245,.4);
  border-radius: 50%;
  color: #d7e7ff;
  background: #0b1526;
  box-shadow: 0 0 28px -10px rgba(68,132,240,.64), inset 0 0 0 5px rgba(74,129,220,.08);
  font: 500 12px/1 var(--mono);
}
.home-page .how-step h3 {
  max-width: 22ch;
  margin-bottom: 10px;
  color: #eef4ff;
  font: 600 clamp(1.15rem, 1.6vw, 1.36rem)/1.25 var(--body);
  letter-spacing: -.025em;
}
.home-page .how-step p {
  max-width: 38ch;
  color: #a6b4c9;
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 959px) {
  .home-page .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
  }
  .home-page .how-step:not(:last-child)::after {
    top: 45px;
    bottom: -22px;
    left: 22px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(93,145,232,.62), rgba(93,145,232,.22));
  }
  .home-page .how-step {
    grid-template-columns: 45px minmax(0,1fr);
    align-items: start;
    gap: 18px;
    padding-bottom: 28px;
  }
  .home-page .how-step:last-child { padding-bottom: 0; }
  .home-page .how-step h3 { margin: 1px 0 8px; }
}

@media (min-width: 960px) {
  .home-page .hero { grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); }
}

@media (max-width: 700px) {
  .home-page .planet {
    right: -68%;
    top: 14%;
    width: 118vw;
    opacity: .3;
  }
  .home-page .hero { padding-block: 46px 46px; gap: 30px; }
  .home-page .hero-copy { gap: 18px; }
  .home-page .hero h1 { max-width: 12ch; font-size: clamp(2.45rem, 10.5vw, 3.65rem); }
  .home-page .hero .lede { font-size: 1.02rem; line-height: 1.65; }
  .home-page .hero-actions { align-items: stretch; }
  .home-page .hero-actions .btn { min-height: 50px; }
  .home-page .hero-note { max-width: 42ch; }
  .home-page .hero-bottom { gap: 8px; font-size: 10px; }
  .home-page .product-body { grid-template-columns: 116px minmax(0,1fr); }
  .home-page .product-sidebar { padding: 18px 7px; }
  .home-page .product-tab { padding: 10px 6px; gap: 6px; white-space: normal; font-size: 11px; }
  .home-page .product-workspace { padding: 18px 13px; }
}

@media (max-width: 420px) {
  .home-page .hero-actions { flex-direction: column; align-items: stretch; }
  .home-page .hero-actions .btn { width: 100%; }
  .home-page .product-body { grid-template-columns: 1fr; }
  .home-page .product-sidebar { padding: 12px; border-right: 0; border-bottom: 1px solid rgba(167,195,242,.12); }
  .home-page .product-sidebar-title, .home-page .product-sidebar-footer { display: none; }
  .home-page .product-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .home-page .product-tab { justify-content: center; min-height: 42px; font-size: 10px; }
  .home-page .product-tab span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the assistant from covering purchase actions in the plans section. */
.home-page.plans-in-view .gon-launcher {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.local-context {
  padding-block: clamp(52px, 6vw, 80px) 36px;
  background: linear-gradient(180deg, rgba(13, 23, 40, .72), rgba(7, 11, 19, .35));
}
.local-context-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 24px clamp(32px, 7vw, 96px);
  align-items: center;
}
.local-context-copy h2 {
  max-width: 15ch;
  margin: 14px 0 16px;
  color: #f2f6ff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.local-context-copy > p {
  max-width: 58ch;
  color: #b5c2d7;
  font-size: 1rem;
  line-height: 1.7;
}
.local-context-source {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: #a9ceff;
  font-size: .9rem;
  text-underline-offset: 4px;
}
.local-context-stats {
  display: grid;
  gap: 20px;
  padding-left: clamp(22px, 3vw, 40px);
  border-left: 2px solid rgba(103, 157, 244, .65);
}
.local-context-stat + .local-context-stat {
  padding-top: 18px;
  border-top: 1px solid rgba(103, 157, 244, .3);
}
.local-context-stat strong {
  display: block;
  color: #f4f8ff;
  font: 600 clamp(3.1rem, 6.4vw, 5rem)/.95 var(--body);
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.local-context-stat strong span { color: #7fb0ff; }
.local-context-stat p {
  max-width: 34ch;
  margin: 10px 0 7px;
  color: #d5dfef;
  font-size: .98rem;
  line-height: 1.55;
}
.local-context-stat small { color: #92a7c4; font-size: .76rem; letter-spacing: .04em; }
.local-context-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #8190a7;
  font-size: .76rem;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .local-context-inner { grid-template-columns: 1fr; }
  .local-context-stats { max-width: 520px; margin-top: 6px; }
}
