/* Open-DTF — hoja de pruebas de imprenta.
   Mundo: el pliego que un diseñador revisa antes de imprimir. Papel estucado blanco, tinta K, tintas de proceso
   (C, M, Y) como campos de color a escala de página, marcas de corte y registro, barra de color y línea de pie
   de prueba. El lienzo 3D (fijo) es el pliego impreso; las secciones sólidas lo tapan. */

/* Fuentes autoalojadas (SIL Open Font License 1.1), subconjunto latino */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("fonts/bricolage.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f4f5f3;      /* papel estucado, blanco frío (no crema) */
  --paper-2: #e8eae6;
  --k: #0b0b0c;          /* tinta negra */
  --c: #00aeef;          /* cian de proceso */
  --m: #ec008c;          /* magenta de proceso */
  --y: #ffe600;          /* amarillo de proceso */
  --rule: 1.5px solid var(--k);
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* escala de espacio (base 4) */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 72px; --s7: clamp(88px, 11vw, 152px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--k) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--k); font-family: var(--sans); font-size: 17px; line-height: 1.6;
       font-variation-settings: "wdth" 100; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
       overflow-x: hidden; transition: background-color 500ms var(--ease), color 500ms var(--ease); }
body.dark { background: var(--k); color: var(--paper); }
::selection { background: var(--y); color: var(--k); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--k); outline-offset: 3px; }
body.dark :focus-visible { outline-color: var(--paper); }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--k); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Lienzo 3D y grano de papel */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .foot, .nav { position: relative; z-index: 2; }

/* ---------- Marca: tres puntos crecientes = tintas C, M, Y ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.mark { display: inline-flex; align-items: flex-end; margin-right: 10px; }
.mark i { display: block; border-radius: 50%; margin-right: 3px; }
.mark i:nth-child(1) { width: 5px; height: 5px; background: var(--c); }
.mark i:nth-child(2) { width: 9px; height: 9px; background: var(--m); }
.mark i:nth-child(3) { width: 13px; height: 13px; margin-right: 0; background: var(--y); box-shadow: 0 0 0 1px var(--k); }
body.dark .mark i:nth-child(3) { box-shadow: none; }
.wordmark { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; line-height: 1; font-weight: 700; }
.wordmark em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: -0.02em; }
.brand.small .wordmark { font-size: 17px; } .brand.small .wordmark em { font-size: 20px; }

/* ---------- Navegación ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
       padding: 16px var(--gutter); z-index: 20; border-bottom: 1.5px solid transparent;
       transition: background-color 300ms var(--ease), border-color 300ms var(--ease), color 500ms var(--ease); }
.nav.scrolled { background: rgba(244, 245, 243, 0.94); border-bottom-color: var(--k); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body.dark .nav { color: var(--paper); }
body.dark .nav.scrolled { background: rgba(11, 11, 12, 0.92); border-bottom-color: var(--paper); }
.nav-links { display: flex; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; margin: 0 14px; padding: 4px 0; border-bottom: 1.5px solid transparent; transition: border-color 200ms; }
.nav-links a:hover { border-bottom-color: currentColor; }
.nav-right { display: flex; align-items: center; }
.lang { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: inherit; background: none;
        border: 1.5px solid currentColor; padding: 6px 10px; margin-right: 12px; cursor: pointer; min-height: 36px; }
.lang:hover { background: var(--k); color: var(--paper); border-color: var(--k); }
body.dark .lang:hover { background: var(--paper); color: var(--k); border-color: var(--paper); }

/* ---------- Botones: planchas rectilíneas ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 16px;
       background: var(--k); color: var(--paper); border: 1.5px solid var(--k); border-radius: 2px; padding: 13px 22px; min-height: 48px;
       transition: transform 150ms var(--ease), background-color 200ms, color 200ms; }
.btn svg { width: 17px; height: 17px; margin-right: 10px; }
.btn:hover { background: #26262a; }
.btn:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--k); }
.btn-ghost:hover { background: var(--k); color: var(--paper); }
.btn-small { font-size: 14px; padding: 8px 14px; min-height: 36px; }
body.dark .nav .btn { background: var(--paper); color: var(--k); border-color: var(--paper); }
.btn-big { font-size: 19px; padding: 18px 30px; min-height: 64px; }

/* ---------- Furniture de hoja de pruebas ---------- */
.crop { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 3; }
.crop.tl { top: 84px; left: 14px; border-top: 1.5px solid var(--k); border-left: 1.5px solid var(--k); }
.crop.tr { top: 84px; right: 14px; border-top: 1.5px solid var(--k); border-right: 1.5px solid var(--k); }
.crop.bl { bottom: 34px; left: 14px; border-bottom: 1.5px solid var(--k); border-left: 1.5px solid var(--k); }
.crop.br { bottom: 34px; right: 14px; border-bottom: 1.5px solid var(--k); border-right: 1.5px solid var(--k); }
.reg { position: absolute; top: 104px; right: calc(var(--gutter) - 8px); width: 44px; height: 44px; color: var(--k); z-index: 3; }
.slug { position: absolute; top: 88px; left: 52px; right: 52px; margin: 0; display: flex; align-items: center; justify-content: space-between;
        font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 80; z-index: 3; }
.slug-plates { display: inline-flex; } .slug-plates i { display: block; width: 10px; height: 10px; margin: 0 2px; }
.pc { background: var(--c); } .pm { background: var(--m); } .py { background: var(--y); } .pk { background: var(--k); }
.colorbar { display: flex; height: 14px; width: 100%; }
.colorbar i { display: block; flex: 1 1 0; }
.colorbar .c { background: var(--c); } .colorbar .m { background: var(--m); } .colorbar .y { background: var(--y); } .colorbar .k { background: var(--k); }
.colorbar .r { background: #ed1c24; } .colorbar .g { background: #00a651; } .colorbar .b { background: #2e3192; }
.colorbar .t25 { background: #bdbdbe; } .colorbar .t50 { background: #858587; } .colorbar .t75 { background: #4b4b4d; }
.hero .colorbar { position: absolute; left: 52px; right: 52px; bottom: 34px; width: auto; }

/* ---------- Portada ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
        padding: 150px var(--gutter) 100px; position: relative; }
.hero-copy { max-width: 800px; }
.hero-title { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 88, "opsz" 96;
              font-size: clamp(46px, 7.6vw, 96px); line-height: 0.95; letter-spacing: -0.012em; margin: 0 0 var(--s4); text-wrap: balance; }
.hero-title span { display: block; }
.hero-title em { display: block; font-style: normal; font-weight: 300; font-variation-settings: "wdth" 100, "opsz" 96; letter-spacing: -0.025em; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; margin: 0 0 var(--s4); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; }
.hero-cta .btn { margin: 0 12px 12px 0; }
.hero-meta { font-size: 14px; margin: var(--s2) 0 0; max-width: 34em; }

/* Momento firmado: la titular entra desregistrada (C y M desplazadas) y encaja */
@keyframes register {
  from { text-shadow: -0.045em 0.012em 0 rgba(0, 174, 239, 0.95), 0.045em -0.012em 0 rgba(236, 0, 140, 0.95); }
  to { text-shadow: 0 0 0 rgba(0, 174, 239, 0), 0 0 0 rgba(236, 0, 140, 0); }
}
.hero-title span, .hero-title em { animation: register 1200ms var(--ease) 150ms both; }

/* Demo en vivo: anotación de la plancha */
.demo { position: absolute; right: 52px; bottom: 76px; width: min(340px, calc(100% - 104px)); background: #fff;
        color: var(--k); border: var(--rule); padding: 14px 18px 8px; z-index: 3; }
.demo-title { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.demo-row { display: flex; align-items: center; min-height: 40px; font-size: 14px; cursor: pointer; }
.demo-row > span:first-child { flex: 0 0 104px; }
.demo-row output { font-size: 13px; font-weight: 600; flex: 0 0 58px; text-align: right; }
.demo input[type="range"] { flex: 1; margin: 0 12px; accent-color: var(--k); height: 28px; cursor: pointer; }
.demo-shape { flex-wrap: wrap; padding: 4px 0; }
.demo-shape > span { flex: 0 0 104px; }
.seg { display: flex; flex: 1; border: var(--rule); }
.seg button { flex: 1 1 0; min-height: 34px; padding: 0 4px; font: 600 12px var(--sans); color: var(--k); background: #fff;
              border: 0; border-right: 1px solid var(--k); cursor: pointer; transition: background-color 150ms; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--paper-2); }
.seg button[aria-pressed="true"] { background: var(--k); color: var(--paper); }
.seg button:focus-visible { outline: 3px solid var(--m); outline-offset: -3px; }
.demo-switch { justify-content: space-between; }
.demo-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 40px; height: 22px; background: #c9cbc7; position: relative; transition: background-color 200ms; border: 1.5px solid var(--k); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--k); transition: transform 200ms var(--ease); }
.demo-switch input:checked + .switch { background: var(--y); }
.demo-switch input:checked + .switch::after { transform: translateX(18px); }
.demo-switch input:focus-visible + .switch { outline: 3px solid var(--k); outline-offset: 3px; }

.scroll-cue { display: none; }

/* ---------- Historia: plancha negra (K) ---------- */
.story { position: relative; padding: 0 var(--gutter); color: var(--paper); }
.story-head { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 88, "opsz" 96;
              font-size: clamp(38px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.015em; max-width: 11em; margin: 0; padding: 44vh 0 4vh; text-wrap: balance; }   /* entra ya sobre la plancha negra */
.step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; max-width: 460px; padding: 8vh 0;
        opacity: 0.25; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.step.on { opacity: 1; transform: none; }
/* Pie de plancha: identifica la tinta del paso; va debajo del contenido, no como etiqueta sobre el titular */
.step-n { order: 9; display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; margin: 4px 0 0; }
.step-n::before { content: ""; width: 14px; height: 14px; margin-right: 10px; border: 1.5px solid var(--paper); }
.plate-c .step-n::before { background: var(--c); border-color: var(--c); }
.plate-m .step-n::before { background: var(--m); border-color: var(--m); }
.plate-y .step-n::before { background: var(--y); border-color: var(--y); }
.plate-k .step-n::before { background: var(--k); }
.plate-all .step-n::before { background: conic-gradient(var(--c) 0 25%, var(--m) 0 50%, var(--y) 0 75%, #fff 0); border-color: transparent; }
.step h3 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 90, "opsz" 48; font-size: clamp(28px, 3vw, 44px);
           line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 14px; text-wrap: balance; }
.step p { color: rgba(244, 245, 243, 0.82); margin: 0 0 26px; text-wrap: pretty; max-width: 34em; }

/* Mini réplicas del panel Open-DTF (son el producto real: conservan los colores del plugin) */
.mini { background: #2b2b2b; border: 1px solid #555; border-radius: 6px; padding: 14px 16px; font-size: 12px; color: #ebe9e4;
        font-family: "Segoe UI", var(--sans); max-width: 300px; }
.mini-h { font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.mini-live { font-weight: 500; font-size: 10px; color: #8fd2a9; background: #1f3a2d; border-radius: 9px; padding: 1px 8px; }
.mini-row { display: flex; align-items: center; margin-top: 8px; }
.mini-row > * { margin-right: 8px; }
.mini-field { background: #373737; border: 1px solid #8c8c8c; border-radius: 4px; padding: 3px 8px; min-width: 52px; }
.mini-x, .mini-unit, .mini-lbl, .mini-note { color: #a09e99; }
.mini-note { margin-top: 8px; }
.mini-seg { display: flex; border: 1px solid #555; border-radius: 6px; overflow: hidden; }
.mini-seg > * { flex: 1; text-align: center; padding: 5px 6px; border-right: 1px solid #444; font-weight: 400; }
.mini-seg > *:last-child { border-right: none; }
.mini-seg b { background: #3a9cf0; color: #06233a; font-weight: 600; }
.mini-slider { position: relative; height: 20px; margin: 12px 6px 2px; }
.mini-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: #555; }
.mini-slider.mini-grad::before { height: 6px; top: 7px; background: linear-gradient(to right, #000, #fff); border: 1px solid #555; border-radius: 3px; }
.mini-slider i { position: absolute; top: 2px; width: 12px; height: 16px; margin-left: -6px; background: #f4f4f4; border: 2px solid #2b2b2b; border-radius: 4px; }
.mini-btn { margin-top: 12px; text-align: center; background: #3a9cf0; color: #06233a; border-radius: 14px; padding: 6px; font-weight: 600; }
.mini-sw { width: 36px; height: 24px; background: #000; border: 1px solid #a09e99; border-radius: 4px; }
.mini-check { width: 14px; height: 14px; border-radius: 3px; background: #ebe9e4; position: relative; }
.mini-check::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #2b2b2b; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mini-layer { display: flex; align-items: center; border: 1px solid #555; border-radius: 6px; padding: 6px 8px; }
.mini-thumb { width: 26px; height: 26px; margin-right: 10px; border-radius: 3px; background-color: #ddd;
              background-image: conic-gradient(#bbb 25%, #fff 0 50%, #bbb 0 75%, #fff 0); background-size: 8px 8px; position: relative; }
.mini-thumb::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #ff7a3c; }

/* ---------- Campos de tinta a escala de página ---------- */
.solid { position: relative; background: var(--paper); color: var(--k); }
.wrap { max-width: 1180px; margin: 0 auto; }
section.solid { padding: 120px 32px; padding: var(--s7) var(--gutter); }
h2 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 88, "opsz" 96; font-size: clamp(36px, 5vw, 72px);
     line-height: 1; letter-spacing: -0.015em; margin: 0 0 var(--s4); text-wrap: balance; }
h2 em { font-style: normal; font-weight: 300; font-variation-settings: "wdth" 100, "opsz" 96; letter-spacing: -0.025em; }
.why { background: var(--y); }
.download { background: var(--c); }
.faq { background: var(--paper); }
.contrib { background: var(--m); }

/* Por qué */
.why-title { max-width: 13em; }
.why-lead { max-width: 36em; font-size: 19px; margin: 0 0 var(--s6); }
.facts { display: flex; flex-wrap: wrap; margin: 0 -20px; }
.facts > div { flex: 1 1 300px; padding: var(--s3) 0 var(--s4); border-top: var(--rule); margin: 0 20px; }
.facts dt { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 90, "opsz" 36; font-size: 24px; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: var(--s2); }
.facts dd { margin: 0; font-size: 16px; max-width: 24em; }

/* Descarga */
.dl-grid { display: flex; flex-wrap: wrap; align-items: flex-start; }
.dl-main { flex: 1 1 420px; margin-right: var(--s6); margin-bottom: var(--s5); }
.dl-version { font-size: 15px; font-weight: 600; margin: -8px 0 var(--s4); letter-spacing: 0.02em; }
.dl-version #dlDate { margin-left: 12px; font-weight: 400; }
.dl-alt { margin: var(--s3) 0 0; font-size: 15px; }
.dl-alt a { text-underline-offset: 4px; }
.dl-note { margin-top: var(--s3); font-size: 15px; border: var(--rule); padding: 12px 14px; max-width: 32em; background: var(--paper); }
.dl-steps { flex: 1 1 340px; background: var(--paper); border: var(--rule); padding: var(--s4) var(--s4); }
.dl-steps h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 var(--s1); }
.dl-steps h3 + p, .dl-steps ol { font-size: 16px; margin: 0 0 var(--s4); }
.dl-steps ol { padding-left: 20px; margin-bottom: 0; }
.dl-steps li { margin-bottom: var(--s2); }
code { white-space: nowrap; font-family: var(--sans); font-weight: 600; font-size: 0.92em; background: #fff; border: 1px solid var(--k); padding: 0 6px; }

/* FAQ */
.faq-list { max-width: 860px; border-top: var(--rule); margin-top: var(--s5); }
.faq details { border-bottom: var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
               padding: 22px 0; font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 92, "opsz" 30; font-size: 22px; letter-spacing: -0.01em; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-left: 24px;
  background: linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat; transition: transform 250ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 6px; }
.faq details p { margin: 0 0 var(--s4); max-width: 44em; }
.faq details a { text-underline-offset: 3px; font-weight: 600; }

/* Contribuir */
.ct-grid { display: flex; flex-wrap: wrap; align-items: flex-start; }
.ct-grid h2 { flex: 1 1 380px; margin-right: var(--s5); max-width: 11em; }
.ct-links { flex: 1 1 380px; border-top: var(--rule); }
.ct-links a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: var(--rule); text-decoration: none;
              font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 92, "opsz" 30; font-size: 22px; letter-spacing: -0.01em; transition: padding 250ms var(--ease); }
.ct-links a:hover { padding-left: 10px; }
.arrow { width: 20px; height: 20px; flex: none; }

/* Pie: línea de pie de prueba */
.foot { padding: var(--s4) var(--gutter) var(--s5); background: var(--paper); }
.colorbar-foot { margin-bottom: var(--s5); width: calc(100% + 2 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 14px; }
.foot-row > * { margin: 6px 0; }
.foot-text { display: flex; flex-direction: column; max-width: 46em; }
.foot-credit { font-size: 13px; margin-top: 6px; }
.foot-credit a { text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { justify-content: flex-start; padding-top: 128px; padding-bottom: 96px; }
  .hero-copy { max-width: none; }
  .demo { position: relative; right: auto; bottom: auto; width: 100%; margin-top: var(--s5); }
  .slug { left: 48px; right: 48px; }
  .slug span:last-child { display: none; }
  .reg { display: none; }
  .hero .colorbar { left: 48px; right: 48px; }
  .step { max-width: none; min-height: 80vh; padding: 0; }
  .step-n, .step h3, .step p, .step .mini { background: rgba(11, 11, 12, 0.86); }
  .step h3, .step p { padding: 4px 10px; margin-left: -10px; margin-right: -10px; }
  .dl-main { margin-right: 0; }
  .ct-grid h2 { margin-right: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wordmark { font-size: 19px; } .wordmark em { font-size: 22px; }
  .nav .btn-small { display: none; }
  .demo-row > span:first-child, .demo-shape > span { flex-basis: 88px; }
  .crop.tl, .crop.tr { top: 76px; } .slug { top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step { opacity: 1; transform: none; transition: none; }
  .hero-title span, .hero-title em { animation: none; }
  body, .nav { transition: none; }
}

/* Sin WebGL: trama estática en CSS */
.no-webgl #scene { display: none; }
.no-webgl .hero { background: radial-gradient(circle at 76% 40%, rgba(236, 0, 140, 0.22), transparent 38%),
  radial-gradient(circle, rgba(11, 11, 12, 0.18) 1.4px, transparent 1.6px) 0 0 / 14px 14px; }
