/* =========================================================
   Pulpo · landing (web.getpulpo.dev)
   Tokens = variables semánticas de la colección "Website" de Figma (modo Light).
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/quicksand-latin-700.woff2") format("woff2");
}

:root {
  /* bg/* */
  --bg-page: #ffffff;
  --bg-subtle: #f6f6fe;
  --bg-brand: #5556f6;
  /* text/* */
  --text-primary: #1a1a1a;
  --text-secondary: #616166;
  --text-muted: #838383;
  --text-brand: #5556f6;
  /* border/* */
  --border-default: #dedee1;
  --border-brand: #5556f6;
  /* cta/* */
  --cta-primary-bg: #5556f6;
  --cta-primary-bg-hover: #4041b8;
  --cta-primary-text: #ffffff;
  --cta-secondary-border: #1a1a1a;
  --cta-secondary-text: #1a1a1a;
  /* status/* y accent/* */
  --status-active: #5556f6;
  --status-done: #64cb89;
  --accent-lila: #c98ff4;
  --accent-yellow: #ffc700;
  --accent-orange: #de5932;

  --font-heading: "Quicksand", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page-padding: 32px;
  --radius-button: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Lenis (smooth scroll): recomendación oficial */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 3px; border-radius: 6px; }

.padding-global { padding-left: var(--page-padding); padding-right: var(--page-padding); }

/* ---------- Buttons ----------
   Sistema basado en Osmo "Button 061": al pasar el cursor, un círculo de color crece desde el punto de entrada,
   el botón "respira" (escala) y el texto sube y se reemplaza por su copia. El movimiento del círculo lo hace
   main.js con GSAP (atributos data-button-061-*); el resto es CSS.
   El color del círculo cambia en cada pasada, rotando por --button-colors (los acentos de marca, los mismos de los
   cursores del equipo). Un botón puntual puede traer su propia lista en data-button-061-colors="#hex, #hex".
   Variantes:  .button.is-primary  ·  .button.is-secondary
   Cambiar una variante o un solo botón = sobrescribir las variables --button-* en esa clase / en ese elemento.
   Si el hover debe dispararse desde un contenedor: ponerle [data-hover] al padre. */
:root {
  --button-colors: var(--accent-yellow), var(--accent-lila), var(--accent-orange), var(--status-done);
  --button-color: var(--cta-primary-text);
  --button-color-background: var(--cta-primary-bg);
  --button-hover-color: var(--text-primary);           /* color del texto mientras el círculo está lleno */
  --button-hover-color-background: var(--accent-yellow); /* color del círculo; main.js lo va rotando con --button-colors */
  --button-color-focus: var(--border-brand);
  --button-border-width: 0px;
  --button-border-color: var(--cta-secondary-border);
  --button-padding: 1em 1.5em;                         /* 16 × 24 con texto de 16 px = alto 48 */
  --button-text-duplicate-distance: 2.5em;             /* 1em de padding + 1em de texto + 0.5em de aire: el texto que sube no asoma */
  --button-border-radius: var(--radius-button);
  --button-focus-inset: -0.125em;
  --button-hover-scale: 1;                             /* sin agrandarse en hover (el original de Osmo usa 1.065 1.095) */
  --button-click-scale: 0.955, 0.925;
  --button-ease-click: cubic-bezier(0.4, 0, 0.2, 1);
  --button-ease-hover: cubic-bezier(0.34, 2.27, 0.64, 1);
  --button-ease-spring: linear(0, 0.007, 0.03 2.1%, 0.122 4.6%, 0.243 6.9%, 0.645 13.7%, 0.85 18.1%, 0.926, 0.987, 1.032 24.7%, 1.064 27.1%, 1.077 28.7%, 1.085, 1.088 32.3%, 1.086 34.3%, 1.074 37.8%, 1.033 45.8%, 1.015 50%, 1.002 54.7%, 0.994 59.6%, 0.992 66.4%, 0.999 85%, 1.001);
  --button-ease-focus: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Variante primaria: violeta de marca, texto blanco → círculo de acento, texto tinta */
.button.is-primary {
  --button-color: var(--cta-primary-text);
  --button-color-background: var(--cta-primary-bg);
  --button-hover-color: var(--text-primary);
}
/* Variante secundaria: blanco con borde tinta → círculo de acento (el borde queda por encima) */
.button.is-secondary {
  --button-color: var(--cta-secondary-text);
  --button-color-background: var(--bg-page);
  --button-hover-color: var(--cta-secondary-text);
  --button-border-width: 2px;
}

.button {
  display: inline-grid; position: relative;
  padding: 0; border: 0; background-color: transparent;
  font: 700 16px/1 var(--font-body);
  color: var(--button-color);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline-style: none;
}

/* anillo de foco (teclado) */
.button::after {
  content: ""; display: block; position: absolute; z-index: 1;
  inset: var(--button-focus-inset);
  border-radius: var(--button-border-radius);
  pointer-events: none;
  transition: box-shadow 0.3s var(--button-ease-focus), scale 0.4s var(--button-ease-hover);
}
.button:focus-visible::after {
  box-shadow: 0 0 0 0.125em var(--button-color-focus);
  scale: var(--button-hover-scale);
  transition: box-shadow 0.3s var(--button-ease-focus), scale 0.425s 0.05s var(--button-ease-hover);
}

.button_bg {
  grid-area: 1 / 1; width: 100%; height: 100%; padding: 0;
  background-color: var(--button-color-background);
  border-radius: var(--button-border-radius);
  transition: background-color 0.25s ease-out, scale 0.4s var(--button-ease-hover), transform 0.15s var(--button-ease-click);
}
.button:focus-visible .button_bg { background-color: var(--button-hover-color-background) !important; }

.button:active .button_bg,
.button:active .button_bg-circle { transform: scale(var(--button-click-scale)); }

.button_bg-circle {
  grid-area: 1 / 1; place-self: center; position: relative; z-index: 1;
  width: calc(100% + 1px); height: calc(100% + 1px);
  border-radius: var(--button-border-radius);
  overflow: clip;
  transition: background-color 0.25s ease-out, scale 0.4s var(--button-ease-hover), transform 0.15s var(--button-ease-click);
}
/* borde (secundario): va sobre el círculo para que no lo tape el color de hover */
.button_bg-circle::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 var(--button-border-width) var(--button-border-color);
}
.button_circle-wrap {
  position: absolute; inset: 0%;
  transform: scale(0); transform-origin: 0 0; will-change: transform;
}
.button_circle {
  display: block; position: absolute; inset: 0% auto auto 0%;
  width: 200%; aspect-ratio: 1; padding: 0;
  background-color: var(--button-hover-color-background);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.button_inner {
  grid-area: 1 / 1; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: .125em;
  width: 100%; height: 100%; padding: var(--button-padding);
  overflow: clip;
  transition: scale 0.4s var(--button-ease-hover), transform 0.15s var(--button-ease-click);
}
.button_text {
  /* la copia del texto vive 2em más abajo, en el color de hover; al hacer hover el texto sube y la copia ocupa su lugar */
  text-shadow: 0 var(--button-text-duplicate-distance) 0 var(--button-hover-color);
  transition: translate 0.65s var(--button-ease-spring);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:is(:hover, :focus-visible) .button_bg,
  .button:is(:hover, :focus-visible) .button_bg-circle,
  [data-hover]:is(:hover, :focus-visible) .button .button_bg,
  [data-hover]:is(:hover, :focus-visible) .button .button_bg-circle {
    scale: var(--button-hover-scale);
    transition: background-color 0.25s 0.05s ease-out, scale 0.425s 0.05s var(--button-ease-hover), transform 0.15s var(--button-ease-click);
  }
  .button:is(:hover, :focus-visible) .button_bg,
  [data-hover]:is(:hover, :focus-visible) .button .button_bg {
    background-color: var(--button-color-background);
  }
  .button:is(:hover, :focus-visible) .button_inner,
  [data-hover]:is(:hover, :focus-visible) .button .button_inner {
    scale: var(--button-hover-scale);
    transition: scale 0.425s 0.05s var(--button-ease-hover), transform 0.15s var(--button-ease-click);
  }
  .button:is(:hover, :focus-visible) .button_text,
  [data-hover]:is(:hover, :focus-visible) .button .button_text {
    translate: 0 calc(var(--button-text-duplicate-distance) * -1) 0;
    transition-delay: 0.05s;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-subtle);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.navbar_container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: 12px var(--page-padding);
  transition: min-height .35s cubic-bezier(.22, 1, .36, 1), padding .35s cubic-bezier(.22, 1, .36, 1);
}
/* al bajar: barra más baja, con vidrio y filo sutil (lo activa main.js con [data-scrolled]) */
.navbar[data-scrolled] {
  background: rgba(246, 246, 254, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(85, 86, 246, .14);
}
.navbar[data-scrolled] .navbar_container { min-height: 60px; padding-top: 6px; padding-bottom: 6px; }

/* ---------- Logo animado ---------- */
.navbar_logo { display: block; flex: none; }
.logo { color: var(--text-brand); }
.logo_clip {
  display: block; width: 159px;
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.logo_svg {
  display: block; width: 159px; height: auto; overflow: visible;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.logo_mark, .logo_mark_spin, .logo_letter { transform-box: fill-box; transform-origin: center; }

/* 1 · entrada: el símbolo gira media vuelta y las letras aparecen una a una */
.logo_mark { animation: logo-mark-in .85s cubic-bezier(.22, 1, .36, 1) both; }
.logo_letter {
  animation: logo-letter-in .55s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(.35s + var(--i, 0) * .07s);
  transition: opacity .25s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}
@keyframes logo-mark-in {
  from { opacity: 0; transform: rotate(-180deg) scale(.55); }
  to   { opacity: 1; transform: none; }
}
@keyframes logo-letter-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* 2 · hover / foco: el símbolo se enrolla una vuelta */
.logo:hover .logo_mark_spin,
.logo:focus-visible .logo_mark_spin { animation: logo-spin .8s cubic-bezier(.65, 0, .35, 1); }
@keyframes logo-spin { to { transform: rotate(360deg); } }

/* 3 · scroll: queda solo el símbolo */
.navbar[data-scrolled] .logo_clip { width: 44px; }
.navbar[data-scrolled] .logo_svg { transform: scale(.9); }
.navbar[data-scrolled] .logo_letter { opacity: 0; transform: translateX(-14px); animation: none; }
.navbar_column { display: flex; align-items: center; gap: 32px; }
.navbar_links { display: flex; align-items: center; gap: 32px; }
.navbar_link { font: 700 16px/normal var(--font-body); color: var(--text-primary); }
.navbar_link:hover { color: var(--text-brand); }
.navbar_actions { display: flex; align-items: center; gap: 16px; }

/* ---------- Hero ---------- */
.section_hero {
  position: relative; /* sin overflow:hidden — rompería el sticky del scrollytelling */
  background-color: var(--bg-subtle);
  /* retícula 32 × 32 · trazo 1 px · violeta de marca al 12 % */
  background-image:
    linear-gradient(to right, rgba(85, 86, 246, .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(85, 86, 246, .12) 1px, transparent 1px);
  background-size: 32px 32px;
}
/* El texto del hero ocupa ~83 % del alto; la ventana asoma por debajo y sube con el scroll. */
.hero_intro {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  min-height: calc(83vh - 72px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(48px, 6vw, 80px);
  will-change: opacity, transform;
}
/* La misma retícula, más intensa, que solo se ve cerca del cursor (lo mueve main.js con --mx / --my).
   Es una máscara con caída muy suave: no hay disco ni borde, solo las líneas que "despiertan". */
.hero_grid-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(85, 86, 246, .30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(85, 86, 246, .30) 1px, transparent 1px);
  background-size: 32px 32px;
  --mx: 50%; --my: 40%;
  -webkit-mask-image: radial-gradient(circle 340px at var(--mx) var(--my),
    rgba(0,0,0,1) 0%, rgba(0,0,0,.8) 18%, rgba(0,0,0,.52) 36%, rgba(0,0,0,.26) 56%, rgba(0,0,0,.09) 76%, transparent 100%);
  mask-image: radial-gradient(circle 340px at var(--mx) var(--my),
    rgba(0,0,0,1) 0%, rgba(0,0,0,.8) 18%, rgba(0,0,0,.52) 36%, rgba(0,0,0,.26) 56%, rgba(0,0,0,.09) 76%, transparent 100%);
  opacity: 0;
  transition: opacity .6s ease;
}
.section_hero[data-pointer] .hero_grid-glow { opacity: 1; }

/* ---------- Scrollytelling ---------- */
.hero_scroll { position: relative; z-index: 2; height: 760vh; }
.hero_sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* Ventana del navegador: arranca angosta, sin barra, asomando; termina grande y clavada */
.browser {
  --nav-h: 60px;
  position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 74%; height: calc(100vh - var(--nav-h) - 8vh); /* fluido: sin tope de ancho */
  background: var(--bg-page);
  border: 1px solid #ededf0; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(85, 86, 246, .10), 0 2px 6px rgba(26, 26, 26, .04);
  overflow: hidden;
  will-change: top, width, transform;
}
.browser_bar {
  display: flex; align-items: center; height: 32px; padding: 0 10px;
  background: var(--bg-subtle); border-bottom: 1px solid #ededf0;
  opacity: 0; /* aparece mientras la ventana sube */
}
.browser_dots { display: flex; gap: 5px; }
.browser_dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-default); }
.browser_body { position: absolute; inset: 32px 0 0; container-type: size; } /* la palabra se mide contra la ventana, no contra la pantalla */

/* Equipo + agentes: una fila de círculos que se "muerden" 8 px */
.crew {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: flex; align-items: center;
}
.crew_item {
  position: relative; flex: none; box-sizing: border-box;
  width: 76px; height: 76px; margin-right: -8px;
  border: 8.8px solid var(--bg-subtle); border-radius: 50%;
  background: var(--bg, #fff); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  will-change: transform, opacity;
}
.crew_item:last-child { margin-right: 0; }
.crew_item.is-person img { width: 100%; height: 100%; object-fit: cover; }
.crew_item.is-agent { background: #fff; width: 0; margin-right: 0; border-width: 0; }
.crew_item.is-agent img { width: 46px; height: 46px; flex: none; }

/* Prisma de palabras: PIN IT → FIX IT → SHIP IT, rotando como un bloque 3D */
.word {
  /* 25 % del ancho de la ventana ("SHIP IT" ocupa ~80 %), y nunca más de la mitad de su alto */
  --word: min(25cqw, 50cqh);
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  perspective: 1400px; perspective-origin: 50% 50%;
  transform: scale(.33); opacity: 0;
  will-change: transform;
}
.prism {
  position: relative; height: var(--word);
  transform-style: preserve-3d;
  will-change: transform;
}
.prism_face {
  position: absolute; left: 50%; top: 0; translate: -50% 0;
  height: var(--word); line-height: 1;
  font: 700 var(--word)/1 var(--font-body);
  letter-spacing: -.02em; white-space: nowrap;
  color: var(--text-primary);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.prism_face:nth-child(1) { transform: rotateX(0deg)    translateZ(calc(var(--word) / 2)); position: relative; display: block; }
.prism_face:nth-child(2) { transform: rotateX(-90deg)  translateZ(calc(var(--word) / 2)); }
.prism_face:nth-child(3) { transform: rotateX(-180deg) translateZ(calc(var(--word) / 2)); }

/* Pins de comentario (lágrima con la punta abajo-izquierda), numerados */
.pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 56px; height: 56px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  background: var(--status-active, #5556f6); color: #eeeefe;
  border: 3.7px solid #fff; border-radius: 50% 50% 50% 0;
  font: 700 22px/1 var(--font-body);
  box-shadow: 3.7px 3.7px 11px rgba(0, 0, 0, .25);
  transform-origin: 0 100%; transform: scale(0); opacity: 0;
  will-change: transform, opacity;
}

/* Cursores: puntero + cara (persona o agente). left/top = punta del puntero */
.cursors { position: absolute; inset: 0; pointer-events: none; }
.cursor {
  position: absolute; left: -20%; top: 50%; opacity: 0;
  width: 0; height: 0;
  will-change: left, top, transform, opacity;
}
.cursor_body { position: absolute; left: 0; top: 0; } /* puntero + cara flotan juntos */
.cursor_pointer {
  position: absolute; left: -8px; top: -8px; width: 48px; height: 48px;
  color: var(--c); fill: currentColor;
  stroke: var(--bg-subtle); stroke-width: 9px; stroke-linejoin: round; paint-order: stroke;
  transform-origin: 8px 8px; transform: rotate(var(--r, 0deg));
  overflow: visible;
}
/* La cola gira con el puntero (alrededor de la punta): la cara queda siempre pegada a la cola de la flecha */
.cursor_tail { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: rotate(var(--r, 0deg)); }
.cursor_face {
  position: absolute; left: 26px; top: 28px;
  width: 56px; height: 56px; box-sizing: border-box;
  border: 6px solid var(--bg-subtle); border-radius: 50%;
  background: var(--bg, #fff); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  rotate: calc(-1 * var(--r, 0deg)); /* la foto sigue derecha aunque la flecha apunte a cualquier lado */
}
.cursor_face img { width: 100%; height: 100%; object-fit: cover; }
.cursor.is-agent .cursor_face img { width: 32px; height: 32px; }

/* Panel de la sección siguiente: entra chico desde abajo y crece hasta ocupar el ancho */
.next {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 76%; height: 100vh; /* al final tapa la ventana entera: así la salida es toda lila, sin que la ventana suba */
  background: var(--accent-lila, #c98ff4);
  border-radius: 24px 24px 0 0;
  visibility: hidden; /* main.js lo muestra ya corrido hacia abajo; sin JS no aparece */
  will-change: transform, width;
}
.section_next { background: var(--accent-lila, #c98ff4); min-height: 100vh; display: flex; align-items: center; }
.section_next-note { font: 500 16px/1.5 var(--font-body); color: rgba(26, 26, 26, .55); text-align: center; width: 100%; }

.hero_component {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(32px, 3.3vw, 56px); width: 100%; margin: 0 auto; /* fluido: ocupa todo el ancho */
}
.hero_content {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; width: 100%; text-align: center;
}
.hero_tags { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; }
.hero_tag {
  font: 700 18px/normal var(--font-heading);
  color: var(--text-brand); white-space: nowrap;
}
.hero_dot { display: flex; }
.hero_title {
  max-width: 22ch; /* dos líneas en desktop */
  /* 44 px en celular → ~100 px a 1440 → hasta 136 px en pantallas anchas; siempre relativo al viewport */
  font: 700 clamp(2.75rem, 0.8rem + 6vw, 8.5rem)/1.12 var(--font-heading);
  color: var(--text-primary);
  text-wrap: balance;
}
.hero_text {
  max-width: 60ch;
  font: 500 clamp(1.0625rem, 0.9rem + 0.5vw, 1.4rem)/1.45 var(--font-body);
  color: var(--text-primary);
  text-wrap: pretty;
}

.hero_cta { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.hero_note { font: 400 14px/1.5 var(--font-body); color: var(--text-secondary); text-align: center; }

/* ---------- URL form ---------- */
.url-form {
  display: flex; align-items: center; gap: 12px;
  width: clamp(512px, 38vw, 840px); max-width: 100%; padding: 4px;
  background: var(--bg-page);
  border: 1px solid var(--border-default);
  border-radius: 13px;
  box-shadow:
    0 14px 15.5px rgba(0, 0, 0, .10),
    0 56px 28px rgba(0, 0, 0, .09),
    0 127px 38px rgba(0, 0, 0, .05),
    0 225px 45px rgba(0, 0, 0, .01);
}
.url-form_input {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px;
  border: 0; border-radius: var(--radius-button); background: transparent;
  font: 400 16px/normal var(--font-body); color: var(--text-primary);
}
.url-form_input::placeholder { color: var(--text-muted); opacity: 1; }
.url-form_input:focus-visible { outline: none; }
.url-form:focus-within { border-color: var(--border-brand); }

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .navbar_links { display: none; }
}
@media screen and (max-width: 767px) {
  :root { --page-padding: 20px; }
  .hero_component { gap: 40px; }
  .hero_tag { font-size: 16px; }
  .navbar_login { display: none; }
  .navbar_logo img { width: 130px; }
  /* escena más chica; sin cursores (no entran en una pantalla angosta) */
  .hero_scroll { height: 640vh; }
  .browser { width: 86%; }
  .crew_item { width: 52px; height: 52px; border-width: 6px; margin-right: -6px; }
  .crew_item.is-agent img { width: 30px; height: 30px; }
  .word { --word: min(27cqw, 42cqh); }
  .pin { width: 40px; height: 40px; font-size: 15px; border-width: 3px; }
  .pin:nth-child(3) { --x: 84%; } /* en angosto, el pin del borde derecho entra entero */
  .cursors { display: none; }
}
@media screen and (max-width: 479px) {
  .url-form { flex-direction: column; align-items: stretch; gap: 4px; }
  .url-form_input { height: 52px; }
  .url-form .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .navbar, .navbar_container, .logo_clip, .logo_svg, .logo_letter { transition: none; }
  .button::after, .button_bg, .button_bg-circle, .button_inner, .button_text { transition: none; }
  .logo_mark, .logo_letter, .logo:hover .logo_mark_spin, .logo:focus-visible .logo_mark_spin { animation: none; }
  .hero_grid-glow { display: none; }
  .browser, .crew_item, .word, .prism, .pin, .cursor, .next, .hero_intro { will-change: auto; }
}
@media (hover: none) {
  .hero_grid-glow { display: none; }
}
