
/* Prototipo de la portada del laboratorio. Dirección visual 1, «Luz y cristal» (decisión 263b217e).
   Los colores, radios y sombras salen de la landing de useflowing.com (useflowing-mcp/src/app/[lang]/landing.css). */
:root {
  --bg: #ffffff; --paper: #f5f7fb;
  --ink: #0b1224; --ink-2: #46516a; --ink-3: #66718a; --ink-dim: #8a93a7;
  --line: #e7ebf3; --line-2: #d8dfeb;
  --blue: #014ce3; --blue-2: #1f63f5; --blue-soft: #edf3ff;
  --ok: #0e9f55;
  --sans: "Host Grotesk", ui-sans-serif, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px;
  --sh-2: 0 1px 2px rgba(11,18,36,.04), 0 24px 48px -28px rgba(11,18,36,.28);
  --sh-3: 0 50px 110px -40px rgba(0,20,60,.45), 0 14px 32px -18px rgba(0,20,60,.18);
  --ease: cubic-bezier(.16,1,.3,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 17px/1.6 var(--sans); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #cfe0ff; color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.035em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1208px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
@media (min-width: 760px) { .wrap { padding-inline: 24px; } }
section { padding-block: clamp(72px, 9vw, 120px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 56ch; }
.tag { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; font: 500 15.5px/1 var(--sans); letter-spacing: -0.01em; transition: transform .2s var(--ease), box-shadow .25s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 1px 2px rgba(1,76,227,.25), 0 6px 18px -6px rgba(1,76,227,.55); }
.btn-blue:hover { background: var(--blue-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 1px 2px rgba(1,76,227,.25), 0 10px 26px -8px rgba(1,76,227,.6); }
.btn-white { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11,18,36,.08), 0 1px 2px rgba(11,18,36,.06), 0 6px 16px -8px rgba(11,18,36,.18); }
.btn-white:hover { box-shadow: inset 0 0 0 1px rgba(11,18,36,.12), 0 10px 22px -10px rgba(11,18,36,.24); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* Menú */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(255,255,255,.78); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 18px/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.brand i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.brand i svg { width: 15px; height: 15px; color: #fff; }
.brand small { font: 500 11px/1 var(--mono); color: var(--ink-dim); letter-spacing: .04em; }
.nav-links { display: none; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(11,18,36,.04); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* Arranque */
.hero { margin: -64px 8px 0; border-radius: var(--r-xl); background: linear-gradient(180deg, #e3edff, #c7daff 40%, #e6efff); position: relative; isolation: isolate; overflow: clip; padding-bottom: clamp(40px, 6vw, 80px); }
.blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; filter: blur(70px) saturate(1.15); }
.blobs b { position: absolute; border-radius: 50%; opacity: .75; will-change: transform; }
.blobs b:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -8vw; background: #9dbcff; animation: lab-a 26s ease-in-out infinite alternate; }
.blobs b:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; top: 6vw; background: #b9c6ff; animation: lab-b 32s ease-in-out infinite alternate; }
.blobs b:nth-child(3) { width: 36vw; height: 36vw; left: 28vw; top: 30vw; background: #a8e3e0; opacity: .5; animation: lab-c 38s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 30% at 50% 18%, rgba(255,255,255,.55), transparent 72%); }
@keyframes lab-a { to { transform: translate(14vw, 10vw) scale(1.15); } }
@keyframes lab-b { to { transform: translate(-12vw, 14vw) scale(.9); } }
@keyframes lab-c { to { transform: translate(-10vw, -12vw) scale(1.2); } }

.hero-copy { padding: 150px 0 44px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 92px); line-height: .98; letter-spacing: -0.048em; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 58ch; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 10px; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 1px 2px rgba(11,18,36,.06); font-size: 13.5px; color: var(--ink-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(14,159,85,.16); animation: lab-pulse 2.4s ease-in-out infinite; }
@keyframes lab-pulse { 50% { box-shadow: 0 0 0 7px rgba(14,159,85,0); } }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: var(--ink-3); }

/* Tarjeta de cristal con la herramienta dentro */
.device { width: min(1040px, 100%); margin-inline: auto; padding: 9px; border-radius: 34px; background: rgba(255,255,255,.42); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), var(--sh-3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.screen { border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 .5px rgba(11,18,36,.12); overflow: hidden; display: flex; flex-direction: column; }
.bar { flex: none; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #e4e8f0; display: block; }
.bar .who { margin-inline: auto; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--blue-soft); box-shadow: inset 0 0 0 1px #d5e3ff; color: var(--blue); font-weight: 500; font-size: 14px; }
.bar .conn { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--mono); color: var(--ok); }
.bar .conn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.frame { position: relative; aspect-ratio: 16 / 9.6; background: #eef1f5; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; } /* es un escaparate: si el mapa recibe la rueda, la página deja de bajar */
.frame .veil { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; gap: 0; color: var(--ink-3); font: 500 13px var(--mono); background: linear-gradient(110deg, #eef2f8 30%, #f8fafd 50%, #eef2f8 70%) 0 0 / 220% 100%; animation: lab-shim 1.4s linear infinite, lab-out .6s var(--ease) 4.6s forwards; }
@keyframes lab-shim { to { background-position: -220% 0; } }
@keyframes lab-out { to { opacity: 0; visibility: hidden; } }
.frame .try { position: absolute; right: 14px; bottom: 14px; z-index: 3; }
@media (max-width: 760px) { .frame { aspect-ratio: 9 / 14; } .device { padding: 6px; border-radius: 26px; } .screen { border-radius: 21px; } .bar .lights { display: none; } }

/* Variante 2: presentación a la izquierda y herramienta a la derecha */
body[data-v="2"] .hero-grid { display: grid; gap: 40px; align-items: center; padding-top: 140px; }
body[data-v="2"] .hero-copy { padding: 0; align-items: flex-start; text-align: left; }
body[data-v="2"] .hero h1 { font-size: clamp(42px, 5.4vw, 76px); max-width: 12ch; }
body[data-v="2"] .hero-cta, body[data-v="2"] .facts { justify-content: flex-start; }
body[data-v="2"] .frame { aspect-ratio: 4 / 4.4; }
body[data-v="2"] .frame .try { bottom: auto; top: 14px; }
@media (min-width: 1000px) { body[data-v="2"] .hero-grid { grid-template-columns: .82fr 1fr; } }
body[data-v="2"] .who-me { display: flex; }
.who-me { display: none; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #014ce3, #7aa2ff); color: #fff; display: grid; place-items: center; font: 500 17px var(--sans); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px -6px rgba(1,76,227,.6); flex: none; }
.who-me span { font-size: 14.5px; line-height: 1.3; color: var(--ink-2); }
.who-me b { display: block; color: var(--ink); font-weight: 500; }

/* Puerta de correo */
.door { margin: 0 8px; border-radius: var(--r-xl); background: var(--paper); }
.door-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .door-in { grid-template-columns: 1fr 440px; gap: 64px; } }
.door ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.door li { display: flex; gap: 10px; align-items: baseline; }
.door li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; transform: translateY(-2px); }
.form { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.form label { font-size: 14px; color: var(--ink-3); }
.form input { height: 52px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 16px; font: 400 16.5px var(--sans); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1,76,227,.12); }
.form .btn { width: 100%; height: 52px; }
.form small { font-size: 13px; color: var(--ink-dim); text-align: center; }
.form output { font-size: 14px; color: var(--ok); text-align: center; min-height: 20px; }

/* Proyectos */
.head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: 1.55fr 1fr; } }
.card { position: relative; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(11,18,36,.04), 0 36px 60px -30px rgba(11,18,36,.36); }
.card .shot { aspect-ratio: 16 / 9; background: linear-gradient(160deg, #e9f0ff, #d9e6ff); position: relative; overflow: hidden; }
.card .shot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card .body { padding: 22px 24px 24px; display: grid; gap: 10px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.state { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.state.on { background: #e8f7ee; color: var(--ok); }
.state.soon { background: #f1f3f8; color: var(--ink-3); }
.card p { font-size: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pills span { height: 26px; padding: 0 10px; border-radius: 999px; background: var(--paper); font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; }
.go { margin-top: 6px; color: var(--blue); font-weight: 500; font-size: 15.5px; display: inline-flex; gap: 6px; align-items: center; }
.card.soon .shot { background: repeating-linear-gradient(135deg, #f3f5fa 0 14px, #eef1f7 14px 28px); display: grid; place-items: center; }
.route { stroke-dasharray: 620; stroke-dashoffset: 620; animation: lab-draw 5s var(--ease) infinite; }
@keyframes lab-draw { 55%, 100% { stroke-dashoffset: 0; } }
.dot { opacity: 0; animation: lab-dot 5s ease infinite; }
@keyframes lab-dot { 25% { opacity: 0; } 40%, 100% { opacity: 1; } }

/* Quién soy */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 300px 1fr; gap: 64px; } }
.photo { aspect-ratio: 1; border-radius: var(--r-xl); background: linear-gradient(160deg, #dfe9ff, #c7daff); display: grid; place-items: center; color: var(--ink-3); font: 500 12px var(--mono); text-align: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), var(--sh-2); }
.about p + p { margin-top: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* Aviso y pie */
.notify { margin: 0 8px; border-radius: var(--r-xl); background: radial-gradient(70% 60% at 25% 20%, #2f6bff, transparent 60%), radial-gradient(60% 70% at 80% 60%, #014ce3, transparent 60%), #0a2a9e; color: #dbe6ff; text-align: center; }
.notify h2 { color: #fff; margin-inline: auto; max-width: 18ch; }
.notify p { margin: 16px auto 26px; max-width: 46ch; }
footer { padding: 36px 0 48px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }

/* Solo en el prototipo: selector de variante */
.proto { position: fixed; left: 14px; bottom: 14px; z-index: 80; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(11,18,36,.88); box-shadow: 0 10px 30px -10px rgba(11,18,36,.6); font: 500 12.5px var(--mono); }
.proto a { padding: 8px 12px; border-radius: 999px; color: #b8c2d9; }
.proto a[aria-current] { background: #fff; color: var(--ink); }

.rise { opacity: 0; transform: translateY(18px); animation: lab-rise .9s var(--ease) forwards; }
.rise:nth-child(2) { animation-delay: .08s; } .rise:nth-child(3) { animation-delay: .16s; } .rise:nth-child(4) { animation-delay: .24s; } .rise:nth-child(5) { animation-delay: .32s; }
@keyframes lab-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .rise { opacity: 1; transform: none; } .route { stroke-dashoffset: 0; } .dot { opacity: 1; } }
/* Reglas de la segunda versión del prototipo: bienvenida centrada en Marc, laboratorio aparte y página por proyecto.
   Se cargan después de base.css. */
.hero2 { margin: -64px 8px 0; border-radius: var(--r-xl); background: linear-gradient(180deg, #e3edff, #cfdfff 45%, #eaf1ff); position: relative; isolation: isolate; overflow: clip; }
.hero2 .blobs b:nth-child(3) { background: #ffd9b0; opacity: .35; }
.hero2-top { display: grid; gap: 36px; align-items: end; padding-top: clamp(120px, 14vw, 170px); }
@media (min-width: 900px) { .hero2-top { grid-template-columns: 1fr auto; } }
.kick { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--ink-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.name { font-size: clamp(64px, 12.5vw, 176px); line-height: .88; letter-spacing: -0.055em; margin: 22px 0 0 -0.04em; color: var(--ink); }
.role { margin-top: 26px; font-size: clamp(22px, 2.9vw, 38px); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); display: flex; flex-wrap: wrap; gap: 0 .32em; align-items: baseline; }
.role .dim { color: var(--ink-3); }
.rot { color: var(--blue); display: inline-block; position: relative; padding-bottom: 6px; transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease); }
/* El subrayado mide lo que mide la palabra y se va rellenando mientras la palabra está en pantalla. */
.rot::before, .rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; }
.rot::before { opacity: .22; }
.rot::after { transform-origin: 0 50%; transform: scaleX(0); }
.rot.fill::after { animation: lab-fill var(--dur, 2.4s) linear forwards; }
@keyframes lab-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .rot::after { transform: none; } }
.rot.out { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.face { width: clamp(150px, 20vw, 250px); aspect-ratio: 1 / 1.08; border-radius: 30px; padding: 7px; background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), var(--sh-3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: rotate(2.5deg); transition: transform .6s var(--ease); }
.face:hover { transform: rotate(0) scale(1.02); }
.face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 24px; display: block; }
.band { position: relative; height: 210px; margin-top: 8px; }
.band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.band output { position: absolute; left: 0; top: 0; pointer-events: none; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 20px -10px rgba(11,18,36,.3); font: 500 11.5px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.hero2-low { display: grid; gap: 32px; align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) { .hero2-low { grid-template-columns: 1fr 440px; gap: 72px; } }
.hero2-low h2 { font-size: clamp(28px, 3.4vw, 42px); }
.hero2-low h2 em { font-style: normal; color: var(--blue); }
.built { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.built span { height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.built-t { display: block; margin-top: 28px; }
.gate { background: rgba(255,255,255,.62); border-radius: 26px; padding: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--sh-3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gate .form { box-shadow: inset 0 0 0 .5px rgba(11,18,36,.12); border-radius: 19px; }
.gate h3 { font-size: 24px; }
.gate .sub { font-size: 15.5px; color: var(--ink-2); margin-top: -4px; }
.gate-top { display: flex; justify-content: space-between; align-items: center; }
.free { height: 24px; padding: 0 10px; border-radius: 999px; background: #e8f7ee; color: var(--ok); font: 500 11px/24px var(--mono); letter-spacing: .05em; text-transform: uppercase; }

/* Tarjeta de proyecto con la herramienta en directo dentro */
.card .live { aspect-ratio: 16 / 10; position: relative; background: #eef1f5; overflow: hidden; }
.card .live iframe { position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.card .live .veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(110deg, #eef2f8 30%, #f8fafd 50%, #eef2f8 70%) 0 0 / 220% 100%; animation: lab-shim 1.4s linear infinite, lab-out .6s var(--ease) 4.6s forwards; }
.card .live .tagl { position: absolute; left: 12px; top: 12px; z-index: 3; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.9); font: 500 10.5px/24px var(--mono); letter-spacing: .05em; color: var(--ok); box-shadow: 0 1px 2px rgba(11,18,36,.12); }
.cards.one { grid-template-columns: 1fr; }
@media (min-width: 900px) { .cards.one { grid-template-columns: 1.55fr 1fr; } }

/* Cabecera de las páginas interiores */
.page-head { margin: -64px 8px 0; border-radius: var(--r-xl); background: linear-gradient(180deg, #e3edff, #eef3ff); padding: clamp(120px, 13vw, 160px) 0 clamp(40px, 5vw, 64px); position: relative; isolation: isolate; overflow: clip; }
.page-head h1 { font-size: clamp(48px, 8vw, 104px); line-height: .95; letter-spacing: -0.05em; margin-top: 16px; }
.page-head .lead { margin-top: 20px; }
.crumb { font: 500 12px/1 var(--mono); color: var(--ink-3); letter-spacing: .03em; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumb a { color: var(--blue); }
.tool { margin-top: -8px; }
.tool .device { width: 100%; }
.tool .frame { aspect-ratio: 16 / 9.4; }
.tool .frame iframe { pointer-events: auto; }
@media (max-width: 760px) { .tool .frame { aspect-ratio: 9 / 15; } }
.cols { display: grid; gap: 16px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.note { background: var(--paper); border-radius: var(--r-lg); padding: 24px; }
.note h3 { font-size: 18px; margin-bottom: 10px; }
.note ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15.5px; }
.contact { text-align: center; }
.contact h2 { margin-inline: auto; max-width: 16ch; }
.contact p { margin: 16px auto 26px; max-width: 48ch; }

/* Pruebas del arranque: una línea por cosa construida, con lo que hace. */
.proof { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.proof li { padding: 13px 0; border-top: 1px solid rgba(11,18,36,.1); font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.proof li:last-child { border-bottom: 1px solid rgba(11,18,36,.1); }
.proof b { color: var(--ink); font-weight: 500; }
.proof a { color: var(--blue); font-weight: 500; white-space: nowrap; }

/* Los 3 beneficios del arranque y la postura de Marc. */
.gain { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 620px) { .gain { grid-template-columns: repeat(3, 1fr); } }
.gain li { padding: 16px 16px 18px; border-radius: 18px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 12px 26px -20px rgba(0,20,60,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 6px; align-content: start; }
.gain b { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.gain span { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.stance { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--blue); font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 54ch; }

/* Casos: qué se construyó y qué gana quien lo usa. */
.cases { display: grid; gap: 14px; }
@media (min-width: 700px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.case:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 54px -30px rgba(11,18,36,.34); }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.win { height: 26px; padding: 0 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 500; line-height: 26px; white-space: nowrap; }
.case h3 { font-size: 21px; line-height: 1.18; }
.case p { font-size: 15.5px; line-height: 1.5; }
.case .mine { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.case .mine b { color: var(--ink); font-weight: 500; }
.case .go { margin-top: 0; }

/* ---- versión publicada ---- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form output.mal { color: #c2410c; }
body.dentro [data-entrar] { display: none; }
body.dentro .dentro-msg { display: grid; }
.dentro-msg[hidden] { display: none; }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; letter-spacing: -0.025em; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 0 0 12px; }
.legal a { color: var(--blue); }
footer a:hover { color: var(--ink); }
