:root {
  --glass-ink: #121f34;
  --glass-clear: #f4f8ff1a;
  --glass-pocket: #2549692a;
  --glass-cast: #122c463a;
  --panel-radius: 38px;
  --blue-band-glass: radial-gradient(ellipse at 20% 0%, #ffffff15, transparent 65%),
    linear-gradient(115deg, #121f349e, #203c5780 58%, #17293f9e);
}
.overview, .contact {
  --glass-ink: #f5faff;
  --glass-clear: #90c4da19;
  --glass-pocket: #020f1ba1;
  --glass-cast: #0008;
}

#contacto {
  display: block;
  padding: clamp(34px, 5vw, 70px) 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, #ffffff82, transparent 6px calc(100% - 12px), #e9f4ff64),
    var(--blue-band-glass),
    linear-gradient(90deg, #29435d85, #52718b9c 60%, #29435da6);
  -webkit-backdrop-filter: blur(7px) saturate(110%);
  backdrop-filter: blur(7px) saturate(110%);
  box-shadow: 0 18px 35px -20px #12263f55;
}
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(22px, 2vw, 30px);
}
.contact-heading { text-align: center; }
.contact-heading .eyebrow { justify-content: center; }
#contact-title {
  font-size: clamp(37px, 4.25vw, 66px);
  text-wrap: balance;
}
#contacto .contact-heading .contact-description {
  max-width: none;
  margin: clamp(13px, 1.2vw, 18px) auto 0;
  color: #f1f6fc;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
  text-wrap: pretty;
}
#contacto .actions {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 649px);
  gap: 12px;
}
#contacto [data-open-opportunity] { grid-column: 1 / -1; }
@media (min-width: 700px) {
  #contacto .actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #contacto [data-open-opportunity] { grid-column: auto; }
}
#contacto .button {
  min-height: 55px;
  padding-inline: 16px;
  font-size: 15px;
  background:
    radial-gradient(ellipse at 52% 142%, #d8efff69, transparent 67%),
    linear-gradient(180deg, #d9edff27, #172b4630 49%, #adc9e43d),
    #223d565c;
}
#contacto .button:focus-visible {
  outline: 2px solid #eaf6ff;
  outline-offset: 3px;
}
.contact-channel-reveal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 1fr;
  margin-block-start: -12px;
}
.contact-channel-reveal[inert] { grid-template-rows: 0fr; }
.contact-channel-fold {
  min-height: 0;
  overflow: clip;
  overflow-clip-margin: 24px;
}
.contact-channel-options {
  width: min(100%, 285px);
  margin-block-start: 12px;
  margin-inline-start: auto;
  padding: 8px;
  border: 1px solid #c4d9eb57;
  border-radius: 20px;
  background: linear-gradient(150deg, #49647af7, #253a50fa);
  box-shadow: inset 0 1px 4px #e8f5ff43, 0 8px 16px -8px #13263d38;
  backdrop-filter: blur(12px);
}
.contact-channel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}
.contact-channel-options a {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 14px;
  color: #f5faff;
  font-size: 14px;
}
.contact-channel-options a:is(:hover, :focus-visible) { background: #e7f5ff24; }
.contact-channel-options span { color: #d8e7f4; }
.contact-channel button {
  margin-inline-end: 4px;
  min-width: 68px;
  min-height: 36px;
  padding: 4px 8px;
  color: #f5faff;
  border: 1px solid #d9eaff45;
  border-radius: 999px;
  background: linear-gradient(180deg, #e5f3ff22, #e5f3ff09);
  box-shadow: inset 0 1px 4px #e5f3ff24;
  font-size: 12px;
  cursor: pointer;
}
.contact-channel button:hover { background-color: #e7f5ff24; }
.contact-channel-options :is(a, button):focus-visible {
  outline: 2px solid #eaf6ff;
  outline-offset: 2px;
}
.contact-copy-status:not(:empty) {
  padding: 4px 12px 6px;
  color: #f1f6fc;
  font-size: 12px;
}
@media (min-width: 1840px) {
  .contact-channel-reveal {
    position: absolute;
    z-index: 2;
    inset-inline-start: calc(100% + 14px);
    inset-block-start: 0;
    width: 285px;
    margin-block-start: 0;
  }
  .contact-channel-options { margin-block-start: 0; }
}
.contact-channel-reveal[inert] .contact-channel-options { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .contact-channel-reveal {
    --contact-unfold: .82s cubic-bezier(.38, .04, .25, 1);
    transition: grid-template-rows var(--contact-unfold);
  }
  .contact-channel-options {
    transform-origin: top right;
    transform: perspective(720px) translateY(0) rotateX(0) scale(1);
    transition: transform var(--contact-unfold), opacity var(--contact-unfold);
  }
  .contact-channel-reveal[inert] .contact-channel-options {
    transform: perspective(720px) translateY(-9px) rotateX(-24deg) scale(.97);
  }
}
@media (max-width: 380px) {
  #contacto .actions { grid-template-columns: 1fr; }
}

body :is(.button, .observatory .button.glass, .observatory .button.primary, .signal-link, .motion-button, .video-play > span, summary, .textlink, .top nav a, .footer > a:last-child),
.console .routes {
  position: relative;
  color: var(--glass-ink);
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 26% 134%, #fff6, transparent 65%),
    radial-gradient(ellipse at 87% -38%, #fff4, transparent 60%),
    var(--glass-clear);
  box-shadow: inset 0 1px 5px #fff5, inset 0 -5px 13px -5px #fff9,
    0 12px 24px -12px var(--glass-cast);
  -webkit-backdrop-filter: blur(5px) saturate(135%);
  backdrop-filter: blur(5px) saturate(135%);
  transition: transform .22s ease, box-shadow .22s ease;
}

/* Light crosses the surface on hover and keyboard focus. */
body :is(.button, .signal-link, .motion-button, .video-play > span, summary, .textlink, .top nav a, .footer > a:last-child)::before,
.console .routes::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse at 42% 125%, #fffc, transparent 65%);
  opacity: .14;
  transition: opacity .35s ease;
}
body :is(.button, .signal-link, .motion-button, .video-play > span, summary, .textlink, .top nav a, .footer > a:last-child):is(:hover, :focus-visible)::before,
.console .routes:focus-within::before {
  opacity: .62;
}
body :is(.observatory .button.primary, .motion-button[aria-pressed=true], details[open] > summary) {
  color: var(--glass-ink);
  background:
    radial-gradient(ellipse at 24% 120%, #e0f5ff75, transparent 65%),
    linear-gradient(180deg, var(--glass-pocket), transparent 78%), var(--glass-clear);
}
body .observatory .button.primary span { color: inherit; }
body :is(.button, .observatory .button.glass, .observatory .button.primary, .signal-link, .motion-button, .video-play > span, summary, .textlink, .top nav a, .footer > a:last-child):hover {
  color: var(--glass-ink);
  background-color: color-mix(in srgb, var(--glass-clear), white 12%);
  text-decoration: none;
  box-shadow: inset 0 2px 9px #fff5, inset 0 -6px 16px -6px #fffb, 0 14px 26px -12px var(--glass-cast);
}
.top { border-radius: 34px; border-color: transparent; }
.top nav { gap: clamp(4px, .7vw, 11px); }
.top nav.open { border-radius: 24px; }
.top nav a, .textlink, .footer > a:last-child { display: inline-flex; align-items: center; padding: 7px 11px; }
body :is(.hero.observatory, .console, .platform-frame, .integration-card, .case, .video-stage, .contact, .ecosystem, .areas details, .method > *) { border-radius: var(--panel-radius); }
body :is(.logo, .modules > *) { border-radius: 23px; }
.areas details, .ecosystem { padding: 8px; }
.areas details summary, .ecosystem summary { padding: 10px 16px; }
.areas details > :not(summary), .ecosystem > :not(summary) { margin-inline: 12px; }

.console .routes {
  width: fit-content;
  max-width: calc(100% - 28px);
  margin: 14px 14px 0;
  padding: 6px;
  gap: 3px;
  border-radius: 28px;
}
body .console .routes button {
  min-height: 40px;
  padding-inline: 13px;
  color: var(--glass-ink);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}
body .console .routes button:is(:hover,[aria-pressed=true]) {
  color: var(--glass-ink);
  background: linear-gradient(180deg, var(--glass-pocket), #809abb15);
  box-shadow: inset 0 4px 12px #2949641c;
}
@supports not (backdrop-filter: blur(1px)) {
  :root { --glass-clear: #edf3f8a6; }
  .overview, .contact { --glass-clear: #182c3aaa; }
}
@media (max-width: 650px) {
  :root { --panel-radius: 28px; }
  .top nav a { min-height: 38px; }
}


@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body :is(.button, .signal-link, .motion-button, .textlink):hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.button, .signal-link, .motion-button, .textlink):hover { transform: none; }
}


/* Style the page scrollbar without changing its native drag or wheel behavior. */
@media (forced-colors: none) {
  html::-webkit-scrollbar { width: 12px; }
  html::-webkit-scrollbar-track { background: #e1e9f0; }
  html::-webkit-scrollbar-button { display: none; }
  html::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(90deg, #c3d6e4 0%, #849eb4 48%, #59758e 100%) padding-box;
    box-shadow: inset 1px 0 1px #f4fbffbc, inset -1px 0 2px #37557170;
  }
  html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #c4dced 0%, #7496b1 48%, #3e6381 100%) padding-box;
  }
  html::-webkit-scrollbar-thumb:active {
    background: linear-gradient(90deg, #93b6cf 0%, #416685 100%) padding-box;
  }
  @supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: #7895ad #e1e9f0; }
  }
}
