/* aval.site — tinta y marfil (los mismos tonos que la app, static/marca/marca.js). */

:root {
  --ink: #14120F; --ink-2: #1A1814; --ink-3: #211E1A; --ink-4: #29261F;
  --line: #292520; --line-2: #37332C; --line-3: #59544A;
  --ivory: #F2EDE4; --text-2: #B8B1A6; --text-3: #999185; --paper: #F6F3ED; --ink-on-paper: #4A453D;
  --warn: #f0c463; --warn-bg: rgba(240, 196, 99, .12); --err: #ff8f80; --err-bg: rgba(255, 120, 100, .12);
  --black: #000;
  --serif: 'Newsreader', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fell: 'IM Fell English', 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 32px); --navh: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 128px; interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font: 400 16px/1.6 var(--sans); font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ivory); color: var(--ink); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-mid { max-width: 920px; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- tipografía ---------- */
.display {
  font: 300 clamp(52px, 8.6vw, 124px)/.98 var(--serif); letter-spacing: -.035em;
  font-variation-settings: 'opsz' 72; text-wrap: balance;
  font-feature-settings: 'liga' 1;   /* con letter-spacing, Chrome apaga la ligadura fi y el punto de la i choca con la f */
}
.display em, .h2 em { font-style: italic; color: var(--text-2); }
.h2 {
  font: 400 clamp(36px, 5.2vw, 66px)/1.04 var(--serif); letter-spacing: -.028em;
  font-variation-settings: 'opsz' 72; text-wrap: balance;
  font-feature-settings: 'liga' 1;   /* con letter-spacing, Chrome apaga la ligadura fi y el punto de la i choca con la f */
}
.h2-s { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
.kicker { font: 500 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 22px; }
.eyebrow { display: flex; gap: 10px; align-items: center; justify-content: center; font: 500 17px/1.4 var(--sans); color: var(--text-2); margin-bottom: 26px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 36em; margin-inline: auto; text-wrap: pretty; }
.body-l { font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 32em; text-wrap: pretty; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.link:hover { border-color: var(--ivory); }
.link svg, .more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- botones y chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px;
  border-radius: 999px; font: 500 15px/1 var(--sans); white-space: nowrap; border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s, transform .3s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: var(--line-2); color: var(--ivory); }
.btn-line:hover { border-color: var(--line-3); background: rgba(242, 237, 228, .04); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-xs { height: 30px; padding: 0 14px; font-size: 13px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.split-txt .actions { justify-content: flex-start; margin-top: 32px; }
/* Etiqueta de estado: texto chico en versalitas, sin cápsula. */
.chip {
  display: inline-block; vertical-align: .18em; margin-left: .5em;
  font: 500 10.5px/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.card-txt .chip { margin: 0 0 -2px; }

/* ---------- navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--navh);
  border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled, .nav.open { background: rgba(20, 18, 15, .78); border-color: var(--line); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 25px/1 var(--serif); letter-spacing: -.02em; }
.mark { width: 26px; height: 26px; overflow: visible; }
.mark rect { fill: currentColor; transform-box: view-box; transform-origin: 60px 14px; }
.mark .mark-a { transform: rotate(18deg); }
.mark .mark-b { transform: rotate(-18deg); fill-opacity: .5; }
html.js .nav .mark .mark-a { animation: apoyaA 1.4s var(--ease) both .1s; }
html.js .nav .mark .mark-b { animation: apoyaB 1.4s var(--ease) both .1s; }
@keyframes apoyaA { from { transform: rotate(0); opacity: 0; } 30% { opacity: 1; } }
@keyframes apoyaB { from { transform: rotate(0); opacity: 0; } 30% { opacity: 1; } }
.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 999px;
  font: 400 14px/1 var(--sans); color: var(--text-2); background: none; border: 0; cursor: pointer; transition: color .25s, background-color .25s;
}
.nav-link:hover, .menu.open .menu-btn { color: var(--ivory); background: rgba(242, 237, 228, .05); }
.menu-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s var(--ease); }
.menu.open .menu-btn svg { transform: rotate(180deg); }
.menu { position: relative; }
.menu-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 380px; padding: 8px; border-radius: 18px;
  background: rgba(26, 24, 20, .96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: 20% 0;
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.menu.open .menu-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease); }
.menu-item { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border-radius: 12px; transition: background-color .2s; }
.menu-item:hover, .menu-item:focus-visible { background: var(--ink-4); }
.menu-item b { display: flex; align-items: center; gap: 8px; font: 500 15px/1.3 var(--sans); }
.menu-item span { font-size: 13.5px; line-height: 1.4; color: var(--text-3); }
.nav-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { font: 500 13px/1 var(--sans); letter-spacing: .06em; color: var(--text-3); padding: 8px 4px; transition: color .25s; }
.lang:hover { color: var(--ivory); }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ivory); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.sheet {
  position: fixed; inset: var(--navh) 0 0; background: var(--ink); padding-top: 12px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.sheet .wrap { display: flex; flex-direction: column; }
.sheet a:not(.btn) {
  font: 400 30px/1.2 var(--serif); letter-spacing: -.02em; padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease);
}
.sheet .btn { margin-top: 28px; opacity: 0; transition: opacity .4s .25s; }
.nav.open .sheet { opacity: 1; visibility: visible; transition: opacity .3s; }
.nav.open .sheet a { opacity: 1; transform: none; }
.nav.open .sheet a:nth-child(2) { transition-delay: .04s; } .nav.open .sheet a:nth-child(3) { transition-delay: .08s; }
.nav.open .sheet a:nth-child(4) { transition-delay: .12s; } .nav.open .sheet a:nth-child(5) { transition-delay: .16s; }
.nav.open .sheet a:nth-child(6) { transition-delay: .2s; }
@media (max-width: 880px) {
  .nav-links, .nav-end .lang, .nav-end .btn { display: none; }
  .burger { display: block; }
}
body.locked { overflow: hidden; }

/* subnavegación de producto */
.subnav {
  position: sticky; top: var(--navh); z-index: 40; height: 52px; border-bottom: 1px solid var(--line);
  background: rgba(20, 18, 15, .82); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
}
.subnav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.subnav-name { font: 500 17px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.subnav nav { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.subnav nav a { font-size: 13px; color: var(--text-3); white-space: nowrap; padding: 6px 0; transition: color .25s; }
.subnav nav a:hover, .subnav nav a.on { color: var(--ivory); }
@media (max-width: 720px) { .subnav nav { display: none; } .subnav .btn { margin-left: auto; } }

/* ---------- aparición al desplazarse ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease) calc(var(--i, 0) * 90ms), transform 1.2s var(--ease) calc(var(--i, 0) * 90ms);
}
html.js [data-reveal].in { opacity: 1; transform: none; }
/* la caja recorta el texto mientras sube: con line-height < 1 los ascendentes (la f, los puntos de la i, la T)
   sobresalen por arriba, así que lleva aire arriba y abajo, compensado con margen negativo */
html.js [data-lines] .ln { display: block; overflow: hidden; padding-block: .16em .1em; margin-block: -.16em -.1em; }
html.js [data-lines] .ln > span { display: inline-block; transform: translate3d(0, 108%, 0); }
html.js [data-lines].in .ln > span { transform: none; transition: transform 1.3s var(--ease); }
html.js [data-lines].in .ln:nth-child(2) > span { transition-delay: .12s; }
html.js [data-lines].in .ln:nth-child(3) > span { transition-delay: .24s; }

/* ---------- portada ---------- */
.hero { padding-top: clamp(72px, 11vw, 150px); text-align: center; }
.hero-product { padding-top: clamp(64px, 9vw, 120px); }
.hero-404 { padding-block: clamp(96px, 16vw, 200px); }
.hero-h { margin-bottom: 30px; }
.hero-stage { position: relative; margin-top: clamp(64px, 8vw, 104px); perspective: 2000px; }
.hero-shot {
  transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--sc, 1));
  will-change: transform;
}
html.js .hero-stage { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease) .5s, transform 1.6s var(--ease) .5s; }
html.js .hero-stage.in { opacity: 1; transform: none; }
.hero-phone {
  position: absolute; right: clamp(8px, 4vw, 64px); bottom: -7%; width: clamp(128px, 17vw, 250px);
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.hero-demo { margin-top: clamp(56px, 7vw, 88px); text-align: left; }

/* capturas */
.window {
  border-radius: 14px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(242, 237, 228, .05) inset, 0 60px 120px -30px rgba(0, 0, 0, .75), 0 24px 48px -24px rgba(0, 0, 0, .6);
}
.window-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin: 0 auto; transform: translateX(-24px); font: 400 12px/1 var(--sans); color: var(--text-3); background: var(--ink-3); padding: 6px 28px; border-radius: 7px; }
.window img { width: 100%; }
.phone {
  padding: 7px; border-radius: 38px; background: #0b0a08; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .5);
}
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* ---------- secciones ---------- */
.section { padding-top: clamp(112px, 15vw, 200px); }
.section-end { padding-bottom: clamp(112px, 15vw, 180px); }
.head-row { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.head-row .body-l { max-width: 24em; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-rev .split-txt { order: 2; }
.split-txt .body-l { margin-top: 24px; }
@media (max-width: 920px) { .split, .split-rev { grid-template-columns: minmax(0, 1fr); } .split-rev .split-txt { order: 0; } }
.feature-stack { display: flex; flex-direction: column; gap: clamp(120px, 15vw, 200px); }

/* tarjetas de producto */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 26px;
  background: var(--ink-2); border: 1px solid var(--line); transition: border-color .4s, background-color .4s;
}
.card:hover { border-color: var(--line-2); background: #1c1a16; }
.card-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 48px); }
.card h3 { font: 400 clamp(30px, 3vw, 40px)/1.08 var(--serif); letter-spacing: -.025em; }
.card p { color: var(--text-2); font-size: 16.5px; max-width: 30em; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 500; font-size: 15px; }
.card:hover .more svg { transform: translateX(4px); }
.card-ws { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: end; }
.card-ws .card-txt { align-self: center; }
.card-ws .card-txt { justify-content: center; }
.card-art { position: relative; flex: 1; min-height: 240px; overflow: hidden; }
.card-art-ws { flex: none; height: clamp(260px, 30vw, 400px); align-self: end; margin: 48px 0 0; border-top-left-radius: 14px; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; }
.card-art-ws img { position: absolute; top: 0; left: 0; width: 150%; max-width: none; transform-origin: 0 0; transition: transform 1.2s var(--ease); }
.card:hover .card-art-ws img { transform: scale(1.03); }
.card-art-ve, .card-art-pa { margin: 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); border-radius: 16px; min-height: 210px; }
.card-art-ve { background: var(--ink-3); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px; }
.mini {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: var(--ink-2);
  font-size: 13.5px; color: var(--text-2); transition: transform .6s var(--ease);
}
.mini .vi { width: 13px; height: 13px; flex: none; }
.mini-warn .vi { color: var(--warn); } .mini-err .vi { color: var(--err); }
.mini-err { background: var(--err-bg); color: var(--ivory); }
.card:hover .mini:nth-child(1) { transform: translateX(4px); }
.card:hover .mini:nth-child(2) { transform: translateX(10px); transition-delay: .04s; }
.card:hover .mini:nth-child(3) { transform: translateX(6px); transition-delay: .08s; }
.card-art-pa { background: var(--black); display: flex; align-items: center; justify-content: center; border: 1px solid #1c1b19; }
.pa-name, .pa-h { font-family: var(--fell) !important; font-weight: 400; letter-spacing: -.01em; }
.pa-logo { width: auto; height: 150px; opacity: .92; transition: transform 1.4s var(--ease); }
.card:hover .pa-logo { transform: translateY(-4px) rotate(-2deg); }
.pa-logo-s { display: block; height: 64px; margin-bottom: 26px; }
.pa-logo-hero { display: block; height: 120px; margin: 0 auto 28px; }
.chat-brand { display: inline-flex; align-items: center; gap: 8px; }
.chat-brand img { height: 18px; width: auto; opacity: .9; }
@media (max-width: 920px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-ws { grid-template-columns: minmax(0, 1fr); }
  .card-art-ws { margin: 0 0 0 clamp(28px, 4vw, 48px); min-height: 220px; }
}

/* herramientas */
.tools {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 64px;
  background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.tool { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 34px; background: var(--ink); transition: background-color .35s; }
.tool:hover { background: var(--ink-2); }
.tool svg { width: 24px; height: 24px; margin-bottom: 10px; fill: none; stroke: var(--ivory); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.tool:hover svg { transform: translateY(-2px); }
.tool b { font-weight: 500; font-size: 16px; }
.tool span { color: var(--text-3); font-size: 14.5px; line-height: 1.5; }
.tool a { color: var(--ivory); border-bottom: 1px solid var(--line-3); }
html.js .tools [data-reveal] { transform: none; }
@media (max-width: 980px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tools { grid-template-columns: minmax(0, 1fr); } }

/* principios */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: 64px 0 48px; }
.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
.pillars-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; margin: 0; }
.pillar { border-top: 1px solid var(--line-2); padding-top: 26px; }
.pillar h3 { font: 500 18px/1.35 var(--sans); margin-bottom: 10px; }
.pillar p { color: var(--text-2); }
.pillar-big h3 { font: 400 30px/1.15 var(--serif); letter-spacing: -.02em; margin-bottom: 14px; }
.pillar-big p { font-size: 17px; max-width: 28em; }
@media (max-width: 980px) { .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pillars, .pillars-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .pillars-4 { grid-template-columns: minmax(0, 1fr); } }

/* banda de paratrope */
.pa-band {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 80px); align-items: center;
  padding: clamp(32px, 6vw, 80px); border-radius: 32px; background: var(--black); border: 1px solid #1c1b19;
}
.pa-band .h2 { font-size: clamp(34px, 4.4vw, 56px); }
@media (max-width: 920px) { .pa-band { grid-template-columns: minmax(0, 1fr); } }

/* cierre */
.end {
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  padding: clamp(64px, 9vw, 128px) 24px; border-radius: 32px; background: var(--ivory); color: var(--ink);
}
.end p { color: var(--ink-on-paper); font-size: 18px; max-width: 30em; }
.end .btn { margin-top: 10px; }
.end-mark { width: 56px; height: 56px; color: var(--ink); overflow: visible; margin-bottom: 6px; }
.end-mark rect { fill: currentColor; transform-box: view-box; transform-origin: 60px 14px; }
.end-mark .mark-a { transform: rotate(18deg); } .end-mark .mark-b { transform: rotate(-18deg); fill-opacity: .45; }
html.js .end-mark rect { transform: rotate(0); opacity: 0; transition: transform 1.6s var(--ease) .2s, opacity .6s .2s; }
html.js .end.in .end-mark .mark-a { transform: rotate(18deg); opacity: 1; }
html.js .end.in .end-mark .mark-b { transform: rotate(-18deg); opacity: 1; }
.link-dark { color: var(--ink-on-paper); border-color: rgba(20, 18, 15, .25); font-size: 15px; }
.link-dark:hover { color: var(--ink); border-color: var(--ink); }
.end-pa { background: var(--black); color: var(--ivory); border: 1px solid #1c1b19; }
.end-pa p { color: var(--text-2); }

/* ---------- workspace ---------- */
.phones { position: relative; display: flex; justify-content: center; padding-bottom: 72px; }
.phones .phone { width: min(44%, 280px); }
.phones .ph-b { margin-left: -6%; transform: translate3d(0, calc(72px + var(--py, 0px)), 0); }
.phones .ph-a { position: relative; z-index: 1; transform: translate3d(0, calc(var(--py, 0px) * -.5), 0); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding: clamp(28px, 3.4vw, 40px);
  border-radius: 26px; background: var(--ink-2); border: 1px solid var(--line);
}
.tile h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.12 var(--serif); letter-spacing: -.02em; }
.tile p { color: var(--text-2); max-width: 30em; }
.tile > svg { width: 28px; height: 28px; margin-bottom: 14px; fill: none; stroke: var(--ivory); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile-img { padding-bottom: 0; }
.tile-crop { position: relative; height: clamp(220px, 24vw, 300px); margin: 28px calc(clamp(28px, 3.4vw, 40px) * -1) 0; overflow: hidden; border-top: 1px solid var(--line-2); }
.tile-crop img { position: absolute; max-width: none; transition: transform 1.4s var(--ease); }
.tile-crop-right img { width: 230%; right: 0; top: -38%; }
.tile-crop-center img { width: 200%; left: -50%; top: -20%; }
.tile:hover .tile-crop img { transform: translateY(-8px); }
@media (max-width: 760px) { .bento { grid-template-columns: minmax(0, 1fr); } }

.toollist { columns: 3 260px; column-gap: 48px; margin-top: 56px; counter-reset: t; }
.toollist li {
  break-inside: avoid; display: flex; gap: 18px; align-items: baseline; padding: 17px 0;
  border-bottom: 1px solid var(--line); font-size: 17px; counter-increment: t;
}
.toollist li::before { content: counter(t, decimal-leading-zero); font: 400 13px/1 var(--sans); color: var(--text-3); font-variant-numeric: tabular-nums; min-width: 20px; }

.specs { margin-top: 56px; border-top: 1px solid var(--line-2); }
.spec { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 500; }
.spec dd { color: var(--text-2); }
@media (max-width: 640px) { .spec { grid-template-columns: minmax(0, 1fr); } }

.faq { margin-top: 56px; border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0;
  font: 400 clamp(19px, 2vw, 22px)/1.35 var(--serif); letter-spacing: -.01em; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; transition: transform .5s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa-a p { padding: 0 48px 28px 0; color: var(--text-2); font-size: 17px; max-width: 40em; }

/* ---------- verifica ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--text-3); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; position: relative; }
.step { position: relative; padding-top: 72px; }
.step-n {
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-3);
  display: grid; place-items: center; font: 400 18px/1 var(--serif); background: var(--ink); z-index: 1;
}
.step::before {
  content: ''; position: absolute; top: 20px; left: 40px; right: -40px; height: 1px; background: var(--line-2);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) calc(var(--i, 0) * 120ms + .3s);
}
.step:last-child::before { display: none; }
html:not(.js) .step::before, .step.in::before { transform: none; }
.step h3 { font: 400 28px/1.15 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.step p { color: var(--text-2); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } .step::before { display: none; } }
.note-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 64px; align-items: start;
  padding: clamp(32px, 5vw, 64px); border-radius: 26px; border: 1px solid var(--line-2);
}
@media (max-width: 820px) { .note-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- paratrope ---------- */
.page-paratrope { background: var(--black); }
.page-paratrope .nav.scrolled, .page-paratrope .nav.open { background: rgba(0, 0, 0, .78); }
.page-paratrope .sheet { background: var(--black); }
.page-paratrope .hero-h { font-family: var(--fell); font-weight: 400; letter-spacing: -.02em; font-size: clamp(50px, 8vw, 112px); line-height: 1; }
.page-paratrope .pillar { border-color: #2a2926; }
.page-paratrope .foot { border-color: #1c1b19; }

/* ---------- demostraciones ---------- */
.demo {
  position: relative; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line-2);
  padding: clamp(16px, 2.2vw, 24px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8);
}
.demo-k { position: absolute; top: 16px; right: 18px; font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.replay {
  position: absolute; right: 14px; bottom: 14px; height: 30px; padding: 0 12px; border-radius: 999px; z-index: 3;
  border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text-2); font: 500 12px/1 var(--sans); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .4s, color .2s, border-color .2s;
}
.replay:hover { color: var(--ivory); border-color: var(--line-3); }
.demo.done .replay { opacity: 1; pointer-events: auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; flex: none; }

/* revisión de un documento (Workspace) */
.insp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; padding-bottom: 54px; }
@media (max-width: 560px) { .insp { grid-template-columns: minmax(0, 1fr); } }
.insp-doc { border-radius: 14px; background: var(--ink); border: 1px solid var(--line); padding: 14px; }
.insp-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 14px; min-width: 0; }
.insp-head b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insp-status { display: grid; margin-left: auto; font-size: 12.5px; color: var(--text-3); text-align: right; }
.insp-status .s { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .5s var(--ease); }
.insp-status svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.insp[data-step="1"] .s-0, .insp[data-step="2"] .s-1, .insp[data-step="3"] .s-1, .insp[data-step="4"] .s-2 { opacity: 1; transform: none; }
.insp[data-step="4"] .s-2 { color: var(--ivory); }
.insp-pages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
.pg { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .45s, transform .6s var(--ease); }
.pg-sheet {
  position: relative; width: 100%; aspect-ratio: 1 / 1.414; background: var(--paper); border-radius: 3px; padding: 14% 12%;
  display: flex; flex-direction: column; gap: 7%; box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .4s, transform .9s var(--ease), background-color .6s;
}
.pg-sheet .l { display: block; height: 3%; min-height: 2px; border-radius: 2px; background: #d3ccbf; }
.pg-sheet .l-h { width: 55%; background: #a9a194; margin-bottom: 6%; }
.pg-sheet .l:last-of-type { width: 68%; }
.pg-n { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pg-scan .pg-sheet { background: #ddd7cc; transform: rotate(180deg); }
.pg-scan .pg-sheet .l { background: #b9b1a3; filter: blur(.5px); }
.pg-scan.fixed .pg-sheet { transform: rotate(0); background: var(--paper); }
.pg-scan.fixed .pg-sheet .l { filter: none; background: #d3ccbf; }
.pg-scan.fixed .pg-sheet .l-h { background: #a9a194; }
.pg.flag .pg-sheet { outline-color: var(--warn); }
.pg.gone { opacity: 0; transform: scale(.86); }
.pg.hidden { display: none; }
.pg-field { position: absolute; left: 12%; right: 12%; bottom: 10%; height: 15%; border: 1px dashed #9b927f; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.pg-field svg { width: 80%; height: 80%; fill: none; stroke: #1b2a57; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; }
.pg-sign.signed .pg-field { border-color: transparent; }
.pg-sign.signed .pg-field svg { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-io), border-color .3s; }
.insp-scan {
  position: absolute; left: -8px; right: -8px; top: 0; height: 64px; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, rgba(242, 237, 228, 0), rgba(242, 237, 228, .08)); border-bottom: 1.5px solid rgba(242, 237, 228, .7);
  transform: translateY(-64px);
}
.insp.scanning .insp-scan { opacity: 1; transform: translateY(var(--scan-to, 300px)); transition: transform 1.7s var(--ease-io), opacity .3s; }
.insp-panel { display: flex; flex-direction: column; gap: 8px; }
.fixall {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 14px;
  background: var(--ivory); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease), background-color .5s, color .5s;
}
.fixall b { font-weight: 500; font-size: 14.5px; }
.fixall-btn { height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--ivory); font: 500 13px/30px var(--sans); transition: transform .25s var(--ease); }
.insp.has-fix .fixall { opacity: 1; transform: none; }
.fixall.press .fixall-btn { transform: scale(.92); }
.insp[data-step="4"] .fixall { background: var(--ink-3); color: var(--text-3); }
.insp[data-step="4"] .fixall-btn { background: var(--ink-4); color: var(--text-3); }
.finding {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px 11px 14px;
  border-radius: 12px; border: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.35;
  opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .6s var(--ease), border-color .4s, background-color .4s;
}
.finding.on { opacity: 1; transform: none; }
.finding-b, .finding-ok { grid-area: 1 / 2; justify-self: end; font-size: 12px; font-weight: 500; white-space: nowrap; transition: opacity .35s, transform .45s var(--ease); }
.finding-b { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-3); color: var(--ivory); }
.finding-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); opacity: 0; transform: translateX(6px); }
.finding-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.finding.ok { border-color: var(--line); background: rgba(242, 237, 228, .02); }
.finding.ok .finding-t { color: var(--text-3); }
.finding.ok .finding-b { opacity: 0; transform: translateX(-6px); }
.finding.ok .finding-ok { opacity: 1; transform: none; }

/* resumen contra contrato (Verifica) */
/* aval Verifica: el informe, afirmación por afirmación (animación en site.js) */
.vrep { padding: 0 0 64px; text-align: left; }
.vrep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 96px 16px 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.vrep-doc { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); font-weight: 500; }
.vrep-doc svg { color: var(--text-3); }
.vrep-vs { color: var(--text-3); }
.vrep-list { list-style: none; margin: 0; padding: 0; }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.vrow-claim { font-size: 15.5px; line-height: 1.5; color: var(--ivory); }
.vrow-claim u { text-decoration: none; transition: color .4s; }
.vrow-v { display: inline-flex; align-items: center; gap: 7px; align-self: start; margin-top: 2px; font: 500 12.5px/1.2 var(--sans); white-space: nowrap; color: var(--text-3); }
.vi { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vrow-v .vi { width: 14px; height: 14px; display: none; }
.vrow.on .vrow-v .vi { display: block; }
.vrow-res { display: none; }
.vrow-src { grid-column: 1 / -1; padding-left: 12px; border-left: 2px solid var(--line-2); font: 400 14.5px/1.55 var(--serif); color: var(--text-2);
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .5s var(--ease), margin-top .5s var(--ease), opacity .45s .1s, border-color .4s; }
.vrow-src b { font-weight: 500; color: var(--ivory); margin-right: 4px; }
.vrow-src em { display: block; margin-top: 2px; font: 400 12.5px/1.4 var(--sans); color: var(--text-3); font-style: normal; }
.vrow.on .vrow-wait { display: none; }
.vrow.on .vrow-res { display: inline; }
.vrow.on .vrow-src { max-height: 9em; margin-top: 8px; opacity: 1; }
.vrow-ok.on .vrow-v { color: var(--ivory); }
.vrow-err.on .vrow-v { color: var(--err); }
.vrow-err.on .vrow-src { border-color: var(--err); }
.vrow-err.on .vrow-claim u { color: var(--err); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.vrow-none.on .vrow-v { color: var(--warn); }
.vrow-none.on .vrow-src { border-color: var(--warn); font-family: var(--sans); font-size: 13.5px; }
.vrep-total { padding: 16px 22px 0; font-size: 13px; color: var(--text-3); opacity: 0; transition: opacity .5s; }
.vrep.done .vrep-total { opacity: 1; color: var(--text-2); }
.vrep .replay { left: 22px; right: auto; }
@media (max-width: 520px) {
  .vrep-head { padding: 16px 18px 14px; }
  .vrep-head .vrep-vs { flex-basis: 100%; }
  .vrow { padding: 16px 18px; column-gap: 12px; }
  .vrow-claim { font-size: 15px; }
  .vrep-total { padding: 14px 18px 0; }
  .vrep .demo-k { display: none; }
  .vrep .replay { left: 18px; }
}

/* portada: datos breves y anotarse junto a Verifica */
.ve-facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); font-size: 15.5px; }
.ve-facts li { padding-left: 20px; position: relative; }
.ve-facts li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 1.5px; background: var(--text-3); }
.ve-soon { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.ve-soon > p { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--text-2); }
.ve-soon .leadf { margin: 16px 0 0; }
.ve-soon .lead-msg { text-align: left; padding-left: 4px; }
.ve-soon .link { display: inline-block; margin-top: 18px; font-size: 14.5px; }

/* chat (paratrope) */
.chat { background: var(--black); border-color: #1f1e1b; padding: 0; overflow: hidden; }
.chat-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #1c1b19; font-size: 12px; color: var(--text-3); }
.chat-brand { font: 400 18px/1 var(--fell); color: var(--ivory); }
.chat .demo-k { top: auto; bottom: 22px; left: 20px; right: auto; }
.chat-body { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px 72px; min-height: 340px; }
.msg { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease); }
.msg.on { opacity: 1; transform: none; }
.msg-me { align-self: flex-end; max-width: 82%; padding: 11px 15px; border-radius: 18px 18px 5px 18px; background: #1c1b19; font-size: 15px; }
.msg-ai { font: 400 18px/1.6 var(--serif); color: var(--ivory); max-width: 34em; }
.msg-ai .w { opacity: 0; transition: opacity .35s; }
.msg-ai .w.on { opacity: 1; }
.gpu { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); opacity: 0; transition: opacity .4s; }
.gpu.on { opacity: 1; }
.gpu-s { display: none; }
.gpu[data-g="1"] .g-1, .gpu[data-g="2"] .g-2, .gpu[data-g="3"] .g-3 { display: inline; }
.gpu-bar { width: 96px; height: 2px; border-radius: 2px; background: #24221f; overflow: hidden; }
.gpu-bar i { display: block; height: 100%; background: var(--text-2); transform-origin: 0 50%; transform: scaleX(var(--gp, 0)); transition: transform .9s var(--ease); }
.gpu[data-g="3"] .gpu-bar { opacity: 0; transition: opacity .4s; }

/* ---------- pie ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 40px; padding-block: 72px 56px; }
.foot-brand p { margin-top: 14px; color: var(--text-3); font-size: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.foot-col .foot-h { font: 500 13px/1 var(--sans); color: var(--ivory); margin-bottom: 6px; }
.foot-col a { color: var(--text-3); transition: color .25s; width: fit-content; }
.foot-col a:hover, .foot-col a[aria-current] { color: var(--ivory); }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-bottom: 40px; font-size: 13px; color: var(--text-3); }
@media (max-width: 760px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal], html.js .hero-stage { opacity: 1; transform: none; }
  html.js [data-lines] .ln > span { transform: none; }
  .hero-shot { transform: none !important; }
}

.section-near { padding-top: clamp(88px, 10vw, 140px); }

/* ---------- paratrope: costo de una GPU ---------- */
.cost { margin: 64px 0 0; padding: clamp(24px, 4vw, 48px); border-radius: 26px; border: 1px solid #1f1e1b; background: #0a0a09; }
.cost-k { font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 36px; }
.cost-row, .cost-axis { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 210px); gap: 24px; align-items: center; }
.cost-row + .cost-row { margin-top: 22px; }
.cost-lab { font-size: 15px; color: var(--text-2); }
.cost-row-pa .cost-lab { color: var(--ivory); }
.cost-track { position: relative; height: 34px; border-radius: 8px; background: #151412; overflow: hidden; }
.cost-track .seg { position: absolute; top: 0; bottom: 0; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease); }
.cost-track .seg-in { transition-delay: calc(400ms + var(--k) * 400ms); }
.cost-row-pa .seg { transition-delay: calc(2000ms + var(--k) * 300ms); }
.cost-row-pa .seg-use { transition-delay: calc(2150ms + var(--k) * 300ms); }
.cost.in .cost-track .seg { transform: none; }
.seg-use { background: var(--ivory); }
.seg-tail { background: rgba(242, 237, 228, .28); }
.seg-idle { background: repeating-linear-gradient(135deg, rgba(255, 143, 128, .34) 0 6px, rgba(255, 143, 128, .16) 6px 12px); }
.cost-track .seg-idle { transition: transform 1.8s var(--ease-io); }
.cost-sum { font: 400 22px/1 var(--serif); letter-spacing: -.01em; text-align: right; white-space: nowrap; opacity: 0; transition: opacity .6s 1.6s; }
.cost-row-pa .cost-sum { transition-delay: 3.1s; }
.cost.in .cost-sum { opacity: 1; }
.cost-axis { margin-top: 12px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cost-axis div { position: relative; height: 14px; }
.cost-axis div span { position: absolute; transform: translateX(-50%); }
.cost-axis div span:first-child { transform: none; }
.cost-axis div span:last-child { transform: translateX(-100%); }
.cost-leg { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--text-2); }
.cost-leg li { display: inline-flex; align-items: center; gap: 10px; }
.cost-leg i { width: 22px; height: 10px; border-radius: 3px; }
@media (max-width: 760px) {
  .cost-row, .cost-axis { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .cost-track { grid-column: 1 / -1; grid-row: 2; }
  .cost-axis > span { display: none; }
  .cost-axis div { grid-column: 1 / -1; }
  .cost-sum { font-size: 17px; }
}
html:not(.js) .cost-track .seg { transform: none; }
html:not(.js) .cost-sum { opacity: 1; }
.cost-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 88px); align-items: end; }
.cost-head .h2 { font-size: clamp(36px, 4.4vw, 58px); }
@media (max-width: 860px) { .cost-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- paratrope: logo con nombre ---------- */
.pa-lock { display: inline-flex; align-items: center; gap: .32em; font: 400 1em/1 var(--fell); color: var(--ivory); letter-spacing: -.01em; }
.pa-lock img { height: 1.5em; width: auto; opacity: .94; }
.pa-lock-l { font-size: clamp(30px, 3.4vw, 42px); }
.pa-lock-s { font-size: 30px; margin-bottom: 26px; }
.pa-lock-card { font-size: clamp(40px, 4.6vw, 58px); transition: transform 1.2s var(--ease); }
.card:hover .pa-lock-card { transform: translateY(-3px); }
.pa-eyebrow { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 30px; }
.pa-eyebrow .chip { vertical-align: baseline; margin-left: 14px; }

/* ---------- paratrope: cómo se ve ---------- */
.pa-rows { margin-top: clamp(80px, 10vw, 140px); }
.h3 { font: 400 clamp(30px, 3.2vw, 42px)/1.1 var(--serif); letter-spacing: -.02em; }
.pa-pillars { margin: 0; }
.cost-save { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 6px 18px; align-items: baseline; margin-top: 36px; padding-top: 28px; border-top: 1px solid #1f1e1b; }
.cost-save span { font-size: 15px; color: var(--text-2); }
.cost-save b { font: 400 clamp(34px, 4vw, 52px)/1 var(--serif); letter-spacing: -.02em; color: var(--ivory); }
.cost-save p { color: var(--text-2); font-size: 15px; }
html.js .cost-save { opacity: 0; transform: translateY(8px); transition: opacity .8s 3.6s, transform 1s var(--ease) 3.6s; }
.cost.in .cost-save { opacity: 1; transform: none; }
@media (max-width: 640px) { .cost-save { grid-template-columns: auto minmax(0, 1fr); } .cost-save p { grid-column: 1 / -1; } }

.pui {
  position: relative; border-radius: 20px; background: #0b0b0a; border: 1px solid #23221f; color: var(--ivory);
  padding: 20px; font-size: 14px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.pui-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 4px 16px; }
.pui-head b { font: 400 22px/1.2 var(--fell); }
.pui-x { color: var(--text-3); font-size: 13px; }

/* hoja de modelos */
.ms-opts { display: flex; flex-direction: column; gap: 8px; }
.ms-opt { display: flex; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid #23221f; transition: border-color .4s, background-color .4s; }
.ms-opt.on { border-color: var(--ivory); background: #151412; }
.ms-ring { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--line-3); position: relative; transition: border-color .3s; }
.ms-ring::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ivory); transform: scale(0); transition: transform .35s var(--ease); }
.ms-opt.on .ms-ring { border-color: var(--ivory); }
.ms-opt.on .ms-ring::after { transform: none; }
.ms-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ms-t { display: flex; gap: 10px; align-items: baseline; }
.ms-t b { font-weight: 500; }
.ms-t span { color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.ms-d { color: var(--text-2); font-size: 13px; line-height: 1.4; }
.ms-m { color: var(--text-3); font-size: 12px; }
.ms-go { display: grid; margin-top: 14px; height: 44px; border-radius: 12px; background: var(--ivory); color: var(--ink); font-weight: 500; place-items: center; overflow: hidden; transition: transform .2s var(--ease); }
.ms-go span { grid-area: 1 / 1; transition: opacity .35s, transform .45s var(--ease); }
.ms-go .g-1 { opacity: 0; transform: translateY(10px); }
.pui-sheet.s-pick .ms-go .g-0 { opacity: 0; transform: translateY(-10px); }
.pui-sheet.s-pick .ms-go .g-1 { opacity: 1; transform: none; }
.pui-sheet.s-press .ms-go { transform: scale(.97); }
.ms-note { margin-top: 12px; font-size: 12px; color: var(--text-3); line-height: 1.5; }
.ms-note u { color: var(--text-2); text-underline-offset: 3px; }

/* catálogo */
.pui-cat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.cat-bud { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: 12.5px; color: var(--text-2); }
.cat-bud i { display: block; height: 3px; border-radius: 3px; background: #23221f; }
.cat-bud b { display: block; width: 38%; height: 100%; border-radius: 3px; background: var(--ivory); }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gc { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px; border-radius: 12px; border: 1px solid #23221f; transition: border-color .4s, background-color .4s; }
.gc-n { font-weight: 500; font-size: 13.5px; }
.gc-p { font: 400 19px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.gc-p small { font: 400 11px/1 var(--sans); color: var(--text-3); margin-left: 2px; }
.gc-v { font-size: 11.5px; color: var(--text-3); }
.gc.over { opacity: .45; }
.pui-cat.s-gpu .gc-a40 { border-color: var(--ivory); background: #151412; }
.cat-r { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: #121110; opacity: .25; transition: opacity .5s; }
.pui-cat.s-gpu .cat-r { opacity: 1; }
.cat-t { font: 400 24px/1.1 var(--fell); }
.cat-t small { font: 400 12px/1 var(--sans); color: var(--text-3); margin-left: 6px; }
.cat-tot { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid #23221f; font-size: 12.5px; color: var(--text-2); }
.cat-tot b { font: 400 20px/1 var(--serif); color: var(--ivory); }
.cat-k { margin-top: 4px; font: 500 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.mc { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 9px 11px; border-radius: 10px; border: 1px solid #23221f; font-size: 12.5px;
  opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .5s var(--ease), border-color .4s; }
.mc i { font-style: normal; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.mc.off { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(153, 145, 133, .5); }
.pui-cat.s-gpu .mc { opacity: 1; transform: none; }
.pui-cat.s-gpu .mc:nth-of-type(2) { transition-delay: .08s; } .pui-cat.s-gpu .mc:nth-of-type(3) { transition-delay: .16s; } .pui-cat.s-gpu .mc:nth-of-type(4) { transition-delay: .24s; }
.pui-cat.s-model .mc-on { border-color: var(--ivory); }
.cat-go { margin-top: auto; padding: 11px; border-radius: 10px; text-align: center; font-weight: 500; font-size: 12.5px; background: #23221f; color: var(--text-3); transition: background-color .4s, color .4s; }
.pui-cat.s-model .cat-go { background: var(--ivory); color: var(--ink); }
@media (max-width: 560px) { .pui-cat { grid-template-columns: minmax(0, 1fr); } }

/* GPU encendida */
.lv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 4px 4px 18px; }
.lv-head b { display: block; font: 400 24px/1.1 var(--fell); }
.lv-head span { font-size: 12.5px; color: var(--text-3); }
.lv-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid #2c2b27; color: var(--text-2) !important; }
.lv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lv-stats div { padding: 14px; border-radius: 12px; background: #121110; }
.lv-stats span, .lv-month span, .lv-idle > span { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.lv-stats b { font: 400 26px/1 var(--serif); font-variant-numeric: tabular-nums; }
.lv-idle { margin: 14px 4px 18px; }
.lv-idle > span b { color: var(--ivory); font-weight: 500; font-variant-numeric: tabular-nums; }
.lv-idle i { display: block; height: 3px; border-radius: 3px; background: #23221f; overflow: hidden; }
.lv-idle i b { display: block; height: 100%; width: var(--idle, 98%); background: var(--ivory); border-radius: 3px; transition: width 1s linear; }
.lv-month { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 4px 10px; border-top: 1px solid #1f1e1b; }
.lv-month span { margin: 0; font-size: 13px; color: var(--text-2); }
.lv-month b { font: 400 22px/1 var(--serif); }
.lv-month small { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); }
.lv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid #191816; font-size: 13px; }
.lv-row b { display: block; font-weight: 500; }
.lv-row span { color: var(--text-3); font-size: 12px; }
.lv-row > span { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 13px; }

/* páginas por herramienta (aval.site/tools/…) */
.try-note { margin: 18px auto 0; max-width: 34em; color: var(--text-3); font-size: 14.5px; line-height: 1.5; text-align: center; text-wrap: pretty; }
.crumbs { display: flex; gap: 10px; justify-content: center; font-size: 14px; color: var(--text-3); margin-bottom: 22px; }
.crumbs a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.crumbs a:hover { color: var(--ivory); }
.hero-tool .hero-h { font-size: clamp(44px, 7vw, 92px); }
.page-tool .pillars-2 { margin-top: 56px; }
.tools-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.tool { position: relative; }
.tool .tool-link { border-bottom: 0; }
.tool .tool-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tool .tool-link:focus-visible { outline: none; }
.tool:has(.tool-link:focus-visible) { outline: 2px solid var(--ivory); outline-offset: -2px; }
.tool-rest { grid-column: span 2; }
@media (max-width: 520px) { .tool-rest { grid-column: auto; } }
.foot-base a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.foot-base a:hover { color: var(--ivory); }
@media (max-width: 760px) { .tools-3 { grid-template-columns: minmax(0, 1fr); } }

/* el par fi/fl de los títulos sin letter-spacing: así se une la ligadura en todos los navegadores (ver build.ligaduras) */
.lig { letter-spacing: 0; }

/* portada: aval Workspace en el hero */
.hero-ws { text-align: left; padding-top: clamp(48px, 6vw, 88px); }
.hero-ws-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(36px, 4vw, 64px); align-items: center; }
.hero-ws .display { font-size: clamp(44px, 4.5vw, 70px); text-wrap: initial; }
.hero-ws .hero-h { margin-bottom: 24px; }
@media (min-width: 921px) { .hero-ws-art .insp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
html.js [data-lines].in .ln:nth-child(3) > span { transition-delay: .24s; }
.hero-ws .lead { font-size: clamp(17px, 1.3vw, 19px); margin-inline: 0; max-width: 30em; }
.hero-ws .actions { justify-content: flex-start; margin-top: 32px; }
.hero-ws .try-note { margin-inline: 0; text-align: left; }
.hero-ws .eyebrow { justify-content: flex-start; }
@media (max-width: 920px) {
  .hero-ws-in { grid-template-columns: minmax(0, 1fr); }
  .hero-ws { text-align: center; }
  .hero-ws .lead, .hero-ws .try-note { margin-inline: auto; text-align: center; }
  .hero-ws .actions, .hero-ws .eyebrow { justify-content: center; }
  .hero-ws-art { text-align: left; }
}

/* anotarse (Verifica, paratrope): correo + botón */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.leadf { margin: 40px auto 0; max-width: 460px; }
.lead-row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--ink-2); }
.leadf input[type=email] { flex: 1; min-width: 0; border: 0; background: none; color: var(--ivory); font: inherit; font-size: 16px; padding: 0 14px; outline: none; }
.leadf input[type=email]::placeholder { color: var(--text-3); }
.lead-row:focus-within { border-color: var(--line-3); }
.leadf .btn { flex: none; }
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-msg { margin-top: 12px; font-size: 14px; color: var(--text-3); text-align: center; }
.leadf.ok .lead-row { display: none; }
.leadf.ok .lead-msg { font-size: 16px; color: var(--ivory); }
.leadf.err .lead-msg { color: #e8a39a; }
.lead-dark .lead-row { background: #fff; border-color: rgba(20, 18, 15, .18); }
.lead-dark input[type=email] { color: var(--ink); }
.lead-dark input[type=email]::placeholder { color: #8c857a; }
.lead-dark .lead-msg { color: var(--ink-on-paper); }
.lead-dark.ok .lead-msg { color: var(--ink); }
.lead-dark.err .lead-msg { color: #a0362a; }
.end .leadf { margin-top: 18px; width: 100%; }
.lead-alt { margin-top: 22px; }
@media (max-width: 420px) { .lead-row { flex-direction: column; border-radius: 22px; } .leadf input[type=email] { padding: 12px 14px; } }
.hero-demo .vrep { max-width: 760px; margin-inline: auto; }

/* las capas de aval: ordenar y revisar (Workspace) → verificar (Verifica, la capa final) */
.capas { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capa { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 22px 0; border-top: 1px solid var(--line-2); }
.capa + .capa { padding-left: 24px; border-left: 1px solid var(--line); }
.capa-n { font: 500 12px/1 var(--sans); color: var(--text-3); letter-spacing: .08em; margin-bottom: 6px; }
.capa b { font: 400 26px/1.1 var(--serif); color: var(--text-2); }
.capa-p { font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.capa-prod { margin-top: 8px; font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.capa-final { border-top: 2px solid var(--ivory); margin-top: -1px; }
.capa-final b, .capa-final .capa-prod { color: var(--ivory); }
.capa-final .capa-p { color: var(--text-2); }
.kicker-final { color: var(--ivory); }
@media (max-width: 720px) {
  .capas { grid-template-columns: minmax(0, 1fr); }
  .capa, .capa + .capa { padding: 16px 0 18px 40px; border-left: 0; }
  .capa-n { position: absolute; left: 0; top: 20px; }
  .capa b { font-size: 22px; }
}

/* guías (aval.site/guides/…) */
.hero-guide .hero-h { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; max-width: 15em; margin-inline: auto; }
.byline { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--text-3); }
.byline a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.byline a:hover { color: var(--ivory); }
.prose { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.prose > * { max-width: 720px; margin-inline: auto; }
.prose h2 {
  font: 400 clamp(28px, 3.2vw, 38px)/1.12 var(--serif); letter-spacing: -.02em; color: var(--ivory);
  margin-top: 72px; margin-bottom: 18px; text-wrap: balance; font-feature-settings: 'liga' 1;
}
.prose p { margin-bottom: 18px; text-wrap: pretty; }
.prose ul, .prose ol { margin-bottom: 22px; padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 10px; padding-left: .3em; text-wrap: pretty; }
.prose li::marker { color: var(--text-3); }
.prose ol li::marker { font: 500 15px var(--sans); }
.short { border: 1px solid var(--line-2); border-radius: 18px; padding: 26px 30px; background: var(--ink-2); }
.short .kicker { margin-bottom: 12px; }
.short p:last-child { margin: 0; color: var(--ivory); font-size: 18.5px; line-height: 1.6; }
.tabla { max-width: 720px; margin: 8px auto 26px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 14px; }
.tabla table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.tabla th, .tabla td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tabla tr:last-child th, .tabla tr:last-child td { border-bottom: 0; }
.tabla thead th { font: 500 12.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: var(--ink-2); }
.tabla tbody th { font-weight: 500; color: var(--ivory); }
.g-cta { margin-block: 48px; padding: 30px; border-radius: 18px; background: var(--paper); color: var(--ink-on-paper); }
.g-cta h3 { font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); margin-bottom: 8px; }
.g-cta p { margin-bottom: 18px; font-size: 16.5px; }
.g-cta .leadf { margin: 0; max-width: 460px; }
.g-cta .lead-msg { text-align: left; }
.g-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.g-list a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border: 1px solid var(--line-2); border-radius: 18px; transition: border-color .3s, background-color .3s; }
.g-list a:hover { border-color: var(--line-3); background: var(--ink-2); }
.g-list b { font: 400 25px/1.15 var(--serif); letter-spacing: -.015em; color: var(--ivory); text-wrap: balance; }
.g-list span { color: var(--text-2); font-size: 16px; line-height: 1.55; }
.g-list i { margin-top: auto; padding-top: 8px; font: 500 14.5px var(--sans); font-style: normal; color: var(--text-3); }
.g-rel { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.g-rel .kicker { margin-bottom: 0; }
@media (max-width: 760px) {
  .g-list { grid-template-columns: minmax(0, 1fr); }
  .short, .g-cta { padding: 22px; }
  .prose { font-size: 17px; }
}
