@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "MD Tall 2";
  src: url("./fonts/MDTall2.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --white: #f1eee8;
  --muted: #aaa7a1;
  --line: rgba(241, 238, 232, 0.17);
  --red: #d10a0a;
  --red-deep: #650007;
}

* {
  box-sizing: border-box;
}

/*
 * El atributo [hidden] del navegador aplica display:none con la especificidad
 * más baja que existe, así que cualquier regla de clase (por ejemplo
 * .checkout-overlay{display:flex}) lo anula y el elemento se queda visible.
 * Esta regla lo blinda para todo el sitio.
 */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: 148px 1fr auto;
  height: 92px;
  left: 0;
  padding: 0 4.2vw;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 250ms ease, height 250ms ease;
  z-index: 100;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.83);
  border-bottom: 1px solid var(--line);
  height: 72px;
}

.brand img {
  display: block;
  height: 54px;
  width: auto;
}

.site-header.is-scrolled .brand img {
  height: 44px;
}

nav {
  display: flex;
  gap: clamp(20px, 2.3vw, 42px);
  justify-content: center;
}

nav a {
  color: rgba(241, 238, 232, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--white);
}

.header-cta {
  align-items: center;
  background: var(--red);
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 20px;
  min-height: 48px;
  padding: 0 20px;
}

.header-cta span {
  font-size: 16px;
}

.menu-toggle {
  background: none;
  border: 0;
  display: none;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.76) 43%, rgba(5, 5, 5, 0.04) 72%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-art {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-grain {
  background-image: radial-gradient(rgba(255,255,255,.08) .6px, transparent .6px);
  background-size: 5px 5px;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-copy {
  left: 7.5vw;
  max-width: 780px;
  position: absolute;
  top: 51%;
  transform: translateY(-47%);
  z-index: 3;
}

.eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(58px, 7.5vw, 132px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.91;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 238, 232, 0.76);
}

.hero-lead {
  color: rgba(241, 238, 232, 0.72);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  margin: 32px 0 0;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 42px;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--red);
}

.button-primary:hover {
  background: #ec1515;
}

.button-ghost {
  border-color: rgba(241, 238, 232, 0.28);
  color: rgba(241, 238, 232, 0.86);
}

.button-ghost:hover {
  border-color: var(--white);
}

.event-facts {
  bottom: 38px;
  display: flex;
  gap: clamp(32px, 4vw, 76px);
  left: 7.5vw;
  position: absolute;
  z-index: 3;
}

.event-facts div {
  display: grid;
  gap: 6px;
}

.event-facts span {
  color: rgba(241,238,232,.48);
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.event-facts strong {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.scroll-cue {
  align-items: center;
  bottom: 38px;
  display: flex;
  font-size: 9px;
  gap: 16px;
  letter-spacing: .14em;
  position: absolute;
  right: 4.2vw;
  text-transform: uppercase;
  z-index: 3;
}

.scroll-cue i {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100%;
  display: flex;
  font-size: 15px;
  font-style: normal;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.section-shell {
  margin: 0 auto;
  max-width: 1600px;
  padding: 130px 7.5vw;
}

.manifesto {
  display: grid;
  grid-template-columns: .45fr 1.5fr .8fr;
  min-height: 720px;
}

.section-index {
  color: var(--red);
  font-family: "MD Tall 2", sans-serif;
  font-size: 58px;
  line-height: 1;
}

.manifesto-copy {
  max-width: 800px;
}

.manifesto-copy h2,
.section-heading h2,
.program-preview h2,
.ticket-teaser h2,
.experience-placeholder h2,
.faq-placeholder h2 {
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
  text-transform: uppercase;
}

.manifesto-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  margin: 36px 0;
  max-width: 650px;
}

.text-link {
  border-bottom: 1px solid var(--red);
  display: inline-flex;
  font-size: 11px;
  gap: 36px;
  letter-spacing: .08em;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.manifesto-stats {
  align-self: end;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 32px;
  padding-left: 48px;
}

.manifesto-stats div {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
}

.manifesto-stats strong {
  font-family: "MD Tall 2", sans-serif;
  font-size: 76px;
  font-weight: 400;
  line-height: .7;
}

.manifesto-stats span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.speakers {
  background: #0a0a0a;
  max-width: none;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.5fr .55fr;
  margin: 0 auto 58px;
  max-width: 1380px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}

.speaker-track {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  margin: 0 auto;
  max-width: 1380px;
  overflow-x: auto;
  padding-bottom: 18px;
}

.speaker-card {
  margin: 0;
  min-width: 245px;
  overflow: hidden;
  position: relative;
}

.speaker-card img {
  aspect-ratio: 4 / 5;
  display: block;
  filter: saturate(.9);
  /*
   * Los atributos width/height del HTML (que evitan el salto de layout al
   * cargar) llegan como alto fijo si el CSS sólo controla el ancho.
   * height:auto devuelve el mando al aspect-ratio.
   */
  height: auto;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
  width: 100%;
}

.speaker-card:hover img {
  filter: saturate(1.04);
  transform: scale(1.025);
}

.speaker-meta {
  background: linear-gradient(transparent, rgba(5,5,5,.97));
  bottom: 0;
  display: flex;
  gap: 14px;
  left: 0;
  padding: 64px 18px 18px;
  position: absolute;
  right: 0;
}

.speaker-meta > span {
  color: var(--red);
  font-family: "MD Tall 2", sans-serif;
  font-size: 29px;
}

.speaker-meta h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.speaker-meta p {
  color: var(--muted);
  font-size: 9px;
  margin: 5px 0 0;
  text-transform: uppercase;
}

.program-preview {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: .85fr 1.15fr;
}

.program-tabs {
  display: flex;
  gap: 8px;
  margin-top: 42px;
}

.program-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  min-width: 96px;
  padding: 14px 18px;
  text-transform: uppercase;
}

.program-tabs button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.program-days {
  border-top: 1px solid var(--line);
}

.program-date {
  align-items: end;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 26px 0;
}

.program-date span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.program-date span:last-child {
  align-self: start;
  grid-column: 1;
  grid-row: 2;
}

.program-date strong {
  font-family: "MD Tall 2", sans-serif;
  font-size: 110px;
  font-weight: 400;
  grid-column: 2;
  grid-row: 1 / 3;
  line-height: .72;
}

.program-days article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: 110px 1fr;
  padding: 28px 0;
}

.program-days strong {
  font-size: 17px;
  font-weight: 400;
}

.program-days p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}

.program-time {
  color: var(--red);
  font-family: "MD Tall 2", sans-serif;
  font-size: 30px;
}

.program-note {
  color: var(--muted);
  font-size: 10px;
  grid-column: 2;
  letter-spacing: .08em;
  margin: -42px 0 0;
  text-transform: uppercase;
}

.ticket-teaser {
  align-items: center;
  background: var(--red);
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  padding: 92px 7.5vw;
}

.ticket-teaser .eyebrow {
  color: rgba(255,255,255,.64);
}

.ticket-intro {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.75;
  margin: 28px 0 0;
  max-width: 580px;
}

.ticket-teaser-action {
  align-items: flex-start;
  border-left: 1px solid rgba(255,255,255,.3);
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 48px;
}

.ticket-title-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  width: 100%;
}

.ticket-title-row em {
  border: 1px solid rgba(255,255,255,.42);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .08em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.ticket-teaser-action > span {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ticket-teaser-action strong {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 18px;
}

.ticket-teaser-action ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.ticket-teaser-action li {
  font-size: 11px;
  position: relative;
}

.ticket-teaser-action li::before {
  content: "—";
  margin-right: 10px;
}

.gateway-line {
  color: rgba(255,255,255,.64);
  font-size: 9px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.chapter-break {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5,5,5,.15), rgba(5,5,5,.8)),
    url("./assets/hero-glass.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 50px;
  grid-template-columns: .3fr 1.4fr .7fr;
  min-height: 360px;
  overflow: hidden;
  padding: 70px 7.5vw;
  position: relative;
}

.chapter-break::after {
  background: rgba(5,5,5,.2);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.chapter-break > * {
  position: relative;
  z-index: 1;
}

.chapter-break > span {
  color: var(--red);
  font-family: "MD Tall 2", sans-serif;
  font-size: 90px;
  line-height: 1;
}

.chapter-break h2 {
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .95;
  margin: 0;
  text-transform: uppercase;
}

.chapter-break > p {
  /*
   * Estos párrafos caen encima de la foto, no sobre fondo plano: suben de
   * contraste y llevan sombra para leerse sobre zonas claras de la imagen.
   */
  color: rgba(241, 238, 232, .88);
  font-size: 13px;
  line-height: 1.75;
  text-shadow: 0 1px 14px rgba(5, 5, 5, .95);
}

.chapter-break > div h2 {
  text-shadow: 0 2px 22px rgba(5, 5, 5, .6);
}

/*
 * Los fondos de estos cortes usan la imagen BASE (sin tipografía), no el post
 * de campaña terminado: el post ya trae logo, antetítulo, titular y pie, y al
 * ponerle encima el titular en HTML se empalmaban dos composiciones.
 * El degradado va de más oscuro a menos: la columna izquierda es donde vive
 * el texto, así que ahí el fondo se apaga y la foto respira a la derecha.
 */
.chapter-dark {
  background:
    linear-gradient(90deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.9) 40%, rgba(5,5,5,.68) 68%, rgba(5,5,5,.78) 100%),
    url("./assets/acompanamiento.png") center 26% / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.9) 40%, rgba(5,5,5,.68) 68%, rgba(5,5,5,.78) 100%),
    image-set(
      url("./assets/acompanamiento.webp") type("image/webp"),
      url("./assets/acompanamiento.png") type("image/png")
    ) center 26% / cover no-repeat;
}

.sponsor-break {
  background:
    linear-gradient(90deg, rgba(5,5,5,.93) 0%, rgba(5,5,5,.84) 42%, rgba(5,5,5,.55) 100%),
    url("./assets/sala-completa.png") center 45% / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(5,5,5,.93) 0%, rgba(5,5,5,.84) 42%, rgba(5,5,5,.55) 100%),
    image-set(
      url("./assets/sala-completa.webp") type("image/webp"),
      url("./assets/sala-completa.png") type("image/png")
    ) center 45% / cover no-repeat;
}

.payment-flow {
  background: var(--white);
  color: var(--black);
  max-width: none;
}

.compact-heading {
  max-width: 1380px;
}

.payment-flow .section-heading > p,
.payment-flow .eyebrow {
  color: var(--red);
}

.payment-flow .section-heading > p {
  color: #5d5a55;
}

.payment-flow ol {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 80px auto 0;
  max-width: 1380px;
  padding: 0;
}

.payment-flow li {
  border-left: 1px solid rgba(5,5,5,.18);
  min-height: 210px;
  padding: 0 30px;
}

.payment-flow li:first-child {
  border-left: 0;
  padding-left: 0;
}

.payment-flow li > span {
  color: var(--red);
  display: block;
  font-family: "MD Tall 2", sans-serif;
  font-size: 43px;
  margin-bottom: 52px;
}

.payment-flow li > strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.payment-flow li > p {
  color: #6e6a64;
  font-size: 11px;
  line-height: 1.65;
  max-width: 200px;
}

.nico {
  align-items: center;
  display: grid;
  gap: clamp(60px, 10vw, 160px);
  grid-template-columns: .8fr 1.2fr;
}

.nico-device {
  background: #ece8df;
  border: 10px solid #1c1c1c;
  border-radius: 32px;
  box-shadow: 0 50px 100px rgba(0,0,0,.55);
  color: #151515;
  justify-self: center;
  min-height: 640px;
  overflow: hidden;
  padding-bottom: 28px;
  position: relative;
  width: min(100%, 340px);
}

.device-top {
  align-items: center;
  background: #0d0d0d;
  color: var(--white);
  display: grid;
  gap: 10px;
  grid-template-columns: 36px 1fr auto;
  padding: 18px;
}

.device-top > span {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.device-top strong {
  font-size: 11px;
}

.device-top i {
  color: #777;
  font-style: normal;
}

.chat-date {
  color: #777;
  font-size: 8px;
  padding: 16px 0 8px;
  text-align: center;
}

.chat-message,
.chat-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0,0,0,.07);
  font-size: 10px;
  line-height: 1.6;
  margin: 10px 50px 10px 14px;
  padding: 13px;
}

.chat-message span {
  color: #aaa;
  display: block;
  font-size: 7px;
  margin-top: 6px;
  text-align: right;
}

.chat-card {
  background: #0a0a0a;
  color: var(--white);
  margin-right: 14px;
  padding: 20px;
}

.chat-card small {
  color: var(--red);
  display: block;
  font-size: 7px;
  letter-spacing: .12em;
}

.chat-card strong {
  display: block;
  font-size: 20px;
  margin-top: 6px;
  text-transform: uppercase;
}

.chat-card p {
  color: var(--muted);
  font-size: 8px;
}

.chat-card button {
  background: var(--red);
  border: 0;
  color: white;
  font-size: 8px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.sponsor-message {
  border-left: 3px solid var(--red);
  margin-left: 50px;
  margin-right: 14px;
}

.nico-copy h2,
.community h2,
.sponsor-copy h2,
.faq h2 {
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
  text-transform: uppercase;
}

.nico-copy > p:not(.eyebrow),
.community > div:first-child > p:not(.eyebrow),
.sponsor-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  margin: 32px 0;
  max-width: 670px;
}

.nico-features {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
}

.nico-features div {
  border-right: 1px solid var(--line);
  padding: 24px 22px 0 0;
}

.nico-features div + div {
  padding-left: 22px;
}

.nico-features div:last-child {
  border-right: 0;
}

.nico-features span {
  color: var(--red);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nico-features p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.community {
  align-items: center;
  background: var(--white);
  color: var(--black);
  display: grid;
  gap: 100px;
  grid-template-columns: 1.3fr .7fr;
  max-width: none;
}

.community > div:first-child {
  margin-left: auto;
  max-width: 780px;
}

.community > div:first-child > p:not(.eyebrow) {
  color: #5d5a55;
}

.community-card {
  background: var(--black);
  color: var(--white);
  display: grid;
  min-height: 480px;
  padding: 45px;
  width: min(100%, 390px);
}

.community-kicker {
  color: var(--red);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.community-card > strong {
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.community-card > span:last-child {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.qr-mock {
  align-self: center;
  background: var(--white);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  height: 146px;
  padding: 14px;
  width: 146px;
}

.qr-mock i {
  background: var(--black);
}

.qr-mock i:nth-child(2),
.qr-mock i:nth-child(4),
.qr-mock i:nth-child(8) {
  background: var(--white);
  border: 4px solid var(--black);
}

.experience-placeholder {
  position: relative;
}

.experience-placeholder img {
  display: block;
  filter: brightness(.72) saturate(.8);
  height: auto;
  width: 100%;
}

.experience-placeholder > div {
  bottom: 180px;
  left: 13vw;
  max-width: 720px;
  position: absolute;
}

.experience-placeholder > div > p:last-child {
  color: rgba(241,238,232,.7);
  font-size: 13px;
  line-height: 1.7;
  max-width: 520px;
}

.sponsors {
  display: grid;
  gap: 100px;
  grid-template-columns: .9fr 1.1fr;
}

.sponsor-copy .button {
  margin-top: 12px;
}

.sponsor-assets {
  border-top: 1px solid var(--line);
}

.sponsor-assets article {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 48px 1fr 1fr;
  padding: 28px 0;
}

.sponsor-assets article > span {
  color: var(--red);
  font-family: "MD Tall 2", sans-serif;
  font-size: 30px;
}

.sponsor-assets article > strong {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.sponsor-assets article > p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}

.faq {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 100px;
  grid-template-columns: .7fr 1.3fr;
}

.faq-heading {
  position: sticky;
  top: 110px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  list-style: none;
  padding: 28px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--red);
  font-size: 20px;
  font-weight: 300;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: -8px 0 26px;
  max-width: 650px;
}

footer {
  align-items: center;
  background: #020202;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 170px 1fr 1fr;
  padding: 70px 7.5vw 34px;
}

footer > img {
  height: 84px;
  width: auto;
}

footer > div:nth-child(2) {
  display: grid;
  gap: 8px;
}

footer > div:nth-child(2) strong {
  font-size: 15px;
}

footer > div:nth-child(2) span {
  color: var(--muted);
  font-size: 10px;
}

.footer-actions {
  display: flex;
  gap: 24px;
  justify-content: end;
}

.footer-actions a {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer small {
  color: #65625e;
  font-size: 8px;
  grid-column: 1 / -1;
  letter-spacing: .08em;
  margin-top: 50px;
}

.checkout-overlay {
  align-items: stretch;
  background: rgba(0,0,0,.74);
  display: flex;
  inset: 0;
  justify-content: flex-end;
  position: fixed;
  z-index: 200;
}

.checkout-overlay[hidden] {
  display: none;
}

.checkout-panel {
  background: var(--white);
  color: var(--black);
  max-width: 560px;
  overflow-y: auto;
  padding: 76px 56px;
  position: relative;
  width: 100%;
}

.checkout-close {
  background: transparent;
  border: 1px solid rgba(5,5,5,.18);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
  height: 44px;
  position: absolute;
  right: 28px;
  top: 28px;
  width: 44px;
}

.checkout-panel h2 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98;
  margin: 0;
  text-transform: uppercase;
}

.checkout-event {
  border-bottom: 1px solid rgba(5,5,5,.16);
  border-top: 1px solid rgba(5,5,5,.16);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 34px 0;
  padding: 22px 0;
}

.checkout-event div {
  display: grid;
  gap: 5px;
}

.checkout-event span {
  color: #777;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.checkout-event strong {
  font-size: 10px;
}

.checkout-line {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
}

.checkout-line > div:first-child {
  display: grid;
  gap: 6px;
}

.checkout-line strong {
  font-size: 13px;
}

.checkout-line span {
  color: #777;
  font-size: 9px;
}

.quantity {
  align-items: center;
  border: 1px solid rgba(5,5,5,.2);
  display: flex;
}

.quantity button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  height: 42px;
  width: 38px;
}

.quantity span {
  color: var(--black);
  font-size: 12px;
  text-align: center;
  width: 24px;
}

.checkout-total {
  align-items: end;
  border-top: 1px solid rgba(5,5,5,.16);
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 28px;
}

.checkout-total span {
  font-size: 11px;
  text-transform: uppercase;
}

.checkout-total strong {
  font-size: 12px;
  max-width: 210px;
  text-align: right;
}

.checkout-button {
  margin-top: 36px;
  width: 100%;
}

.gateway-note {
  background: #e8e3da;
  border-left: 3px solid var(--red);
  font-size: 10px;
  line-height: 1.65;
  margin-top: 16px;
  padding: 15px;
}

.checkout-legal {
  color: #807c76;
  font-size: 8px;
  margin: 18px 0 0;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    margin-right: 16px;
    padding: 14px;
  }

  .menu-toggle span {
    background: var(--white);
    display: block;
    height: 1px;
    width: 22px;
  }

  nav {
    background: rgba(5,5,5,.98);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 30px 7.5vw;
    position: absolute;
    right: 0;
    top: 72px;
  }

  nav.is-open {
    display: flex;
  }

  .manifesto {
    grid-template-columns: .25fr 1fr;
  }

  .manifesto-stats {
    border-left: 0;
    grid-column: 2;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 70px;
    padding-left: 0;
  }

  .section-heading,
  .program-preview,
  .ticket-teaser,
  .nico,
  .community,
  .sponsors,
  .faq {
    grid-template-columns: 1fr;
  }

  .chapter-break {
    grid-template-columns: .3fr 1.2fr;
  }

  .chapter-break > p {
    grid-column: 2;
  }

  .payment-flow ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-flow li:nth-child(3) {
    border-left: 0;
    margin-top: 40px;
    padding-left: 0;
  }

  .ticket-teaser-action {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.3);
    padding-left: 0;
    padding-top: 32px;
  }

  .nico-device {
    order: 2;
  }

  .community > div:first-child {
    margin-left: 0;
  }

  .faq-heading {
    position: static;
  }

  footer {
    grid-template-columns: 140px 1fr;
  }

  .footer-actions {
    grid-column: 1 / -1;
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .brand img {
    height: 43px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .header-cta span,
  .header-cta {
    gap: 8px;
  }

  .header-cta {
    font-size: 9px;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    top: 43%;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(5,5,5,.97), rgba(5,5,5,.56));
  }

  .hero h1 {
    font-size: 53px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .event-facts {
    bottom: 28px;
    gap: 20px;
    left: 22px;
    right: 22px;
  }

  .event-facts div:nth-child(3),
  .scroll-cue {
    display: none;
  }

  .event-facts strong {
    font-size: 9px;
  }

  .section-shell {
    padding: 88px 22px;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .section-index {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .manifesto-copy h2,
  .section-heading h2,
  .program-preview h2,
  .ticket-teaser h2,
  .experience-placeholder h2,
  .faq-placeholder h2 {
    font-size: 40px;
  }

  .manifesto-stats {
    grid-column: 1;
    gap: 12px;
  }

  .manifesto-stats strong {
    font-size: 50px;
  }

  .section-heading {
    gap: 18px;
  }

  .speaker-track {
    margin-right: -22px;
  }

  .speaker-card {
    min-width: 72vw;
  }

  .program-days article {
    grid-template-columns: 82px 1fr;
  }

  .ticket-teaser {
    padding: 76px 22px;
  }

  .chapter-break {
    gap: 22px;
    grid-template-columns: 1fr;
    min-height: 460px;
    padding: 76px 22px;
  }

  .chapter-break > p {
    grid-column: 1;
  }

  .chapter-break > span {
    font-size: 56px;
  }

  .payment-flow ol {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .payment-flow li,
  .payment-flow li:first-child,
  .payment-flow li:nth-child(3) {
    border-bottom: 1px solid rgba(5,5,5,.16);
    border-left: 0;
    margin-top: 0;
    min-height: auto;
    padding: 28px 0;
  }

  .payment-flow li > span {
    margin-bottom: 18px;
  }

  .nico {
    gap: 70px;
  }

  .nico-features {
    grid-template-columns: 1fr;
  }

  .nico-features div,
  .nico-features div + div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 20px 0;
  }

  .community {
    gap: 50px;
  }

  .community-card {
    min-height: 420px;
    padding: 32px;
  }

  .experience-placeholder {
    padding-left: 0;
    padding-right: 0;
  }

  .experience-placeholder img {
    height: 72vh;
    object-fit: cover;
  }

  .experience-placeholder > div {
    bottom: 130px;
    left: 22px;
    right: 22px;
  }

  .sponsor-assets article {
    gap: 12px;
    grid-template-columns: 40px 1fr;
  }

  .sponsor-assets article > p {
    grid-column: 2;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 60px 22px 30px;
  }

  .footer-actions {
    flex-direction: column;
  }

  .checkout-panel {
    padding: 70px 22px 36px;
  }

  .checkout-panel h2 {
    font-size: 34px;
  }
}

/* ==========================================================================
   Accesibilidad y preferencias del sistema
   ========================================================================== */

/* Salto directo al contenido para teclado y lectores de pantalla. */
.skip-link {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  left: 12px;
  letter-spacing: .04em;
  padding: 14px 22px;
  position: fixed;
  text-transform: uppercase;
  top: -120px;
  transition: top 160ms ease;
  z-index: 300;
}

.skip-link:focus {
  top: 12px;
}

/*
 * Anillo de foco visible. El sitio es oscuro y con botones personalizados,
 * el anillo por defecto del navegador casi no se distingue.
 */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.payment-flow :focus-visible,
.checkout-panel :focus-visible,
.ticket-teaser-action :focus-visible {
  outline-color: var(--black);
}

.checkout-panel .button-primary:focus-visible {
  outline-color: var(--black);
  outline-offset: 4px;
}

/* <picture> no debe romper el layout heredado de <img>. */
picture {
  display: contents;
}

/* Respeta a quien pidió menos movimiento en su sistema operativo. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .speaker-card:hover img {
    transform: none;
  }
}
