/* EDICIÓN MANUAL — HEADINGS Y LAYOUT: escalas editoriales, separación entre líneas, páginas internas y gamificación. */
/* V23: client copy, shared editorial type and scoped internal layouts. */
.neurona-v23 {
  --editorial-first: clamp(2rem, 3.3vw, 3.5rem);
  --editorial-second: clamp(1.5rem, 3vw, 3.2rem);
  --editorial-gap: clamp(.4rem, .55vw, .65rem);
}

/* The same scale is used at every editorial heading, regardless of copy length. */
body.neurona-v23 :is(.hero__title, .display-heading:not(#faq-title):not(#metrics-title), .subpage-hero h1, .hardware-title, .team-v7 h2, .story-v7 h2):not([data-title-fit]) {
  display: flex !important;
  flex-direction: column;
  gap: var(--editorial-gap);
  min-width: 0;
  width: 100% !important;
  max-width: 100% !important;
  font-family: var(--display-font);
  font-size: var(--editorial-first) !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em !important;
  overflow: visible !important;
}
body.neurona-v23 :is(.hero__title, .display-heading:not(#faq-title):not(#metrics-title), .subpage-hero h1, .hardware-title, .team-v7 h2, .story-v7 h2):not([data-title-fit]) > span:not(.hero__title-echo) {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
  font-size: var(--editorial-first) !important;
  line-height: 1.18 !important;
  color: var(--text) !important;
}
body.neurona-v23 :is(.hero__title, .display-heading:not(#faq-title):not(#metrics-title), .subpage-hero h1, .hardware-title, .team-v7 h2, .story-v7 h2):not([data-title-fit]) > span:last-child {
  font-size: var(--editorial-second) !important;
  color: var(--v7-blue, var(--blue)) !important;
}

/* Small/special headings keep their own scale and existing palette, not overlap. */
body.neurona-v23 :is(.product-title-v23, .simulator-showcase-v11 h2, .technical-panel-v11 h2, .page-cta h2, #metrics-title, #faq-title):not([data-title-fit]) {
  display: flex !important;
  flex-direction: column;
  gap: var(--editorial-gap);
  line-height: 1.18 !important;
  max-width: 100% !important;
}
body.neurona-v23 :is(.product-title-v23, .simulator-showcase-v11 h2, .technical-panel-v11 h2, .page-cta h2, #metrics-title, #faq-title):not([data-title-fit]) > span {
  display: block !important;
  margin-block: 0 !important;
  transform: none !important;
  line-height: 1.18 !important;
  white-space: normal !important;
  max-width: 100% !important;
}
body.neurona-v23 .product-title-v23 {
  margin: 0;
  font: 400 clamp(1.65rem, 2.5vw, 2.7rem)/1.18 var(--display-font);
  text-transform: uppercase;
}
body.neurona-v23 .product-title-v23 > span { font-size: inherit !important; }
body.neurona-v23 .simulator-showcase-v13__desktop-copy { display: block !important; }
body.neurona-v23 .product-copy-v23 { margin-top: 1rem; }

body.neurona-v23 .signal-ticker__group {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.5;
  padding-block: .3rem;
}
body.neurona-v23 .signal-ticker__group > span { color: var(--v15-ink); }
body.neurona-v23 .signal-ticker__group > span:nth-of-type(even) { color: var(--on-blue); }

body.neurona-v23 .hardware-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 3rem);
}
body.neurona-v23 .hardware-header { min-width: 0; margin-bottom: 0; }
body.neurona-v23 .hardware-grid {
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}
body.neurona-v23 .hardware-visual { min-height: 8.5rem; }
body.neurona-v23 .hardware-image { width: min(100%, 180px); max-height: 130px; object-fit: contain; }
body.neurona-v23 .hardware-accent { margin-block: .7rem; }

body.neurona-v23 .technical-panel-v11 {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr) !important;
  align-items: start !important;
  gap: clamp(2rem, 6vw, 7rem) !important;
  padding: clamp(1.6rem, 3vw, 3rem) !important;
}
body.neurona-v23 .technical-panel-v11 > div { min-width: 0; }
body.neurona-v23 .technical-panel-v11__body { align-self: start; margin: 0; transform: none; }
body.neurona-v23 .technical-panel-v11 h2 { font-size: clamp(1.4rem, 2.4vw, 2.7rem) !important; }
body.neurona-v23 .technical-panel-v11 h2 > span { font-size: inherit !important; }
body.neurona-v23 .subpage-intro-v23 { grid-column: 2; min-width: 0; }
body.neurona-v23 .subpage-intro-v23 p + p { margin-top: 1rem; }
body.neurona-v23 .values-signal__list { grid-column: 2; }
body.neurona-v23 .values-signal__item h3 { font-size: clamp(1.25rem, 1.7vw, 1.7rem); }
body.neurona-v23 .profile-link-v23 { margin-top: 1.5rem; }

@media (max-width: 1024px) {
  body.neurona-v23 .hardware-section { grid-template-columns: 1fr; }
  body.neurona-v23 .values-signal__list { grid-column: 1; }
}
@media (max-width: 820px) {
  body.neurona-v23 .subpage-intro-v23 { grid-column: 1 / -1; }
  body.neurona-v23 .technical-panel-v11 { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  body.neurona-v23 .hardware-grid { grid-template-columns: 1fr; }
}
