:root {
  background: #100b19;
  --site-copy: #d0c2df;
  --site-violet: #d5b8ff;
  --site-line: #d3b2fa29;
}

body {
  display: block;
  place-items: normal;
  min-height: 100dvh;
  padding: 0;
  background:
    radial-gradient(ellipse 850px 620px at 68% 11%, #392153 0%, transparent 75%),
    linear-gradient(145deg, #1c1327 0%, #100b19 54%, #1b1226 100%);
}

.site-wrap { width: min(1248px, calc(100% - 96px)); margin-inline: auto }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 10; padding: 10px; background: #201431; transform: translateY(-160%) }
.skip-link:focus { transform: none }
.site-header { width: 100%; border-bottom: 1px solid var(--site-line) }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 24px }
.site-wordmark { color: var(--ink); font-size: 36px; font-weight: 900; letter-spacing: -.097em; line-height: 1; text-decoration: none }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3.1vw, 43px) }
.site-nav a, .footer-inner a, .stage-caption a { color: var(--site-copy); text-decoration: none; font-weight: 660 }
.site-nav a:hover, .footer-inner a:hover, .stage-caption a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px }
.site-main { display: block; padding: 0 }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 5.7vw, 88px) clamp(48px, 6.6vw, 96px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 21px;
  color: var(--site-violet);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-kicker .icon { width: 15px; height: 15px }
.hero h1 { margin: 0; font-size: clamp(45px, 5.15vw, 78px); font-weight: 850; line-height: .99; letter-spacing: -.075em }
.hero h1 span {
  color: var(--site-violet);
  background: linear-gradient(100deg, #eadbff, #b48bf4 94%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description { max-width: 390px; margin: 26px 0 31px; color: var(--site-copy); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; font-weight: 510; text-wrap: pretty }
.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 12px 18px 12px 20px;
  border-radius: 12px;
  color: #1b0f2c;
  background: #d9c0ff;
  box-shadow: 0 12px 33px #16062b84;
  text-decoration: none;
  font-weight: 780;
}
.site-cta:hover { background: #ece0ff }
.site-cta .icon { width: 18px; height: 18px }

.hero-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 20px clamp(10px, 1.35vw, 20px) 17px;
  border: 1px solid #c4a0ef50;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 50% 48%, #553382bd 0%, #2b1642bd 58%, #21132b 100%),
    url('assets/pulso-asuncion.webp') center 42% / cover;
  box-shadow: inset 0 1px #fff1ff18, 0 23px 72px #09041175;
  scroll-margin-top: 20px;
}
.stage-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 2px 15px; font-size: 11px }
.stage-caption > span, .stage-caption a { display: flex; align-items: center; gap: 7px }
.stage-caption > span { font-weight: 710; color: #f1e4ff }
.stage-caption .icon { width: 13px; height: 13px }
.preview-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #e0c6ff; box-shadow: 0 0 12px #d29aff }
.hero-stage .timeline { min-width: 0 }
.hero-stage .stage-count { color: #f3e4ff; background-color: #21142ee8 }
.stage-hint { margin: 10px 0 0; color: #e0d3ee; text-align: center; font-size: 11px; line-height: 1.6; text-wrap: balance }

.feature-section { padding-block: 42px 64px; border-top: 1px solid var(--site-line); scroll-margin-top: 20px }
.section-heading { margin-bottom: 27px }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3.6vw, 49px); font-weight: 805; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance }
.section-heading p { margin: 11px 0 0; color: var(--site-copy); font-size: 15px; line-height: 1.6 }
.feature-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.feature-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-height: 97px;
  padding: 17px 15px;
  border: 1px solid var(--site-line);
  border-radius: 15px;
  color: var(--ink);
  background: linear-gradient(142deg, #251a34, #1a1226);
  text-align: left;
  transition: background .14s, border-color .14s;
}
.feature-link:hover { border-color: #d3adf577; background: #31203f }
.directory-icon { width: 38px; height: 38px; border: 1px solid #b68fed51; border-radius: 10px; color: #e4ceff; background: #70479e4d }
.directory-icon .icon { width: 18px; height: 18px }
.feature-link strong, .feature-link small { display: block }
.feature-link strong { margin-block: 1px 4px; font-size: 15px; font-weight: 760; line-height: 1.3 }
.feature-link small { color: var(--site-copy); font-size: 12px; line-height: 1.5; font-weight: 540 }
.directory-arrow { margin-top: 2px; color: #c7a8f2 }
.directory-arrow .icon { width: 14px; height: 14px }

.experience-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 6vw, 80px); padding-block: 37px 64px; border-top: 1px solid var(--site-line) }
.experience-section h2 { max-width: 460px; text-wrap: initial }
.experience-section .section-heading { margin-bottom: 0 }
.experience-section .device-list { margin: 0 }
.experience-section .device-row { min-height: 52px }
.experience-section .device-copy strong { font-size: 13px }
.experience-section .device-copy small { font-size: 11px }
.experience-section .device-status { color: var(--site-violet) }
.site-footer { width: 100%; border-top: 1px solid var(--site-line); padding-block: 22px max(22px, env(safe-area-inset-bottom)); background: #100b19a8 }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--site-copy) }
.footer-brand { color: var(--ink); font-weight: 770 }
.footer-status { color: #c3afd4; font-size: 12px }
.footer-inner a { display: inline-flex; align-items: center; gap: 6px }
.footer-inner .icon { width: 14px; height: 14px }

@media (min-width: 970px) {
  .hero-stage .rail { --card-height: 407px; --preview-height: 335px; --rail-tail: 14px; --card-title-row: 25px; --card-summary-size: 14px; --card-point-row: 14px; --card-point-pad: 7px }
  .hero-stage .scene-card .feature { --card-padding: 10px }
  .hero-stage .card-title { font-size: clamp(16px, 1.55vw, 22px) }
  .hero-stage .card-points { font-size: clamp(10px, 1.03vw, 13px) }
  .hero-stage .radar-plot { width: 145px }
  .hero-stage .community-grid { width: min(100%, 120px) }
  .hero-stage .stage-arrows { bottom: 15px }
}

@media (max-width: 969px) {
  .site-wrap { width: min(760px, calc(100% - 48px)) }
  .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 35px; text-align: center; padding-block: 44px 52px }
  .hero-stage { width: min(100%, 593px) }
  .hero h1 { font-size: clamp(42px, 8.4vw, 69px) }
  .hero-kicker { justify-content: center }
  .hero-description { margin: 19px auto 24px }
  .feature-directory { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

@media (max-width: 560px) {
  .site-wrap { width: calc(100% - 28px) }
  .header-inner { min-height: 62px; gap: 12px }
  .site-wordmark { font-size: 32px }
  .site-nav { gap: clamp(10px, 3.2vw, 20px); font-size: 11px }
  .site-nav a { padding-block: 8px }
  .hero { gap: 26px; padding-block: 32px 41px }
  .hero-copy { padding-inline: 5px }
  .hero-kicker { margin-bottom: 14px; font-size: 10px; letter-spacing: .055em }
  .hero-description { margin-top: 16px }
  .site-cta { min-height: 46px }
  .hero-stage { border-radius: 20px; padding-block: 15px 13px; padding-inline: clamp(4px, 1.55vw, 8px) }
  .stage-caption { margin-inline: 6px; font-size: 10px }
  .stage-hint { padding-inline: 5px }
  .feature-section { padding-block: 29px 39px }
  .section-heading h2 { text-wrap: initial }
  .feature-directory { grid-template-columns: minmax(0, 1fr); gap: 8px }
  .feature-link { min-height: 75px; padding: 12px; align-items: center }
  .directory-arrow { margin-top: 0 }
  .experience-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 29px 38px }
  .footer-inner { flex-wrap: wrap; font-size: 12px }
}

@media (prefers-reduced-motion: reduce) {
  .feature-link { transition: none }
}
