/* Portada de headbook.app (diseño 2026-11, aprobado en el lienzo "HeadBook: cara nueva").
   Las demás páginas siguen con styles.css hasta que pasen a este diseño.
   Letra: Instrument Sans en todo, títulos incluidos (decisión del dueño, 2026-11-12: la serif se
   veía comprimida); el título de la portada va en dos tonos. En /fonts (la política de seguridad
   no deja cargarla de afuera).
   Cortes: 1024 y 768, los mismos de la app. */

@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-stretch: 100%; font-display: swap; src: url(/fonts/instrument-sans-latin.woff2) format('woff2'); }

:root {
  --ink: #1d1d1c; --ink-2: #3f3f3e; --text: #4a4a48; --soft: #5e5e5c; --faint: #6b6b6a;
  --bg: #f6f6f6; --card: #ffffff;
  --brown: radial-gradient(120% 90% at 20% 0%, #8a8378 0%, #5f5a52 35%, #3b3833 70%, #2a2826 100%);
  --on-brown: #f4f2ee; --on-brown-2: #d3cdc3;
  --serif: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;   /* los títulos usan la misma letra que la app (2026-11-12) */
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: #1a1a1a; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(900px 600px at 10% 1100px, rgba(255,255,255,0.9), rgba(255,255,255,0) 70%),
    radial-gradient(800px 700px at 95% 2400px, rgba(236,232,226,0.8), rgba(236,232,226,0) 70%),
    radial-gradient(900px 700px at 0% 4200px, rgba(232,234,240,0.8), rgba(232,234,240,0) 70%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.08; letter-spacing: -1.4px; margin: 0 0 14px; color: var(--ink); }
h3 { margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sub { font-size: 15px; line-height: 1.55; color: var(--soft); margin: 0; max-width: 520px; }
.sub.center { max-width: 620px; margin-left: auto; margin-right: auto; }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid #1d1d1c; outline-offset: 3px; border-radius: 8px; }

/* Botones sueltos: rayitas finas alrededor (la botonera D de la app). */
.b { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.b__ring { position: absolute; inset: 0; pointer-events: none; }
.b__band { position: absolute; inset: 0; border-radius: 999px; background: rgba(28,28,27,0.035); }
.b__band--d { background: rgba(255,255,255,0.08); }
.b__in { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.b__in--dark { background: #3f3f3e; color: #fff; }
.b__in--light { background: #fff; color: #1a1a1a; box-shadow: 0 1px 1px rgba(40,40,40,0.06); }
.b__in:hover { filter: brightness(1.06); }
.b__in:active { transform: scale(0.98); }

.chip { display: inline-block; font-size: 12px; color: var(--ink-2); background: #fff; border-radius: 999px; padding: 6px 13px; box-shadow: 0 2px 8px rgba(40,40,48,0.08); margin-bottom: 22px; }
.chip--tilt { transform: rotate(-8deg); }
.eyebrow { margin: 0 0 18px; font-size: 12px; color: var(--soft); display: flex; align-items: center; gap: 7px; }
.eyebrow i { width: 5px; height: 5px; border-radius: 3px; background: #d92d20; }
.tick { width: 18px; height: 18px; border-radius: 9px; background: var(--ink-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tick--l { background: rgba(28,28,27,0.07); color: var(--ink-2); }
.ph { max-width: 100%; border-radius: 36px; padding: 7px; background: linear-gradient(160deg, #ffffff, #e9e9eb); box-shadow: 0 30px 60px rgba(40,40,48,0.16), 0 0 0 1px rgba(255,255,255,0.9) inset; }
.ph img { display: block; width: 100%; height: auto; border-radius: 30px; }
.more { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid rgba(28,28,27,0.25); padding-bottom: 1px; }

/* 1 · Menú */
.nav { position: absolute; top: 14px; left: 0; right: 0; z-index: 10; }
.nav__in { height: 72px; display: flex; align-items: center; gap: 72px; }
/* Logo animado del encabezado: "HeadBook" se pliega a "HB" y escribe ".app" (misma secuencia que la app; reglas en docs/marca.md). */
.headbook-logo { --hb-ease: cubic-bezier(.65, 0, .35, 1); --hb-dur: .6s; --hb-color: var(--ink); --hb-tld-color: #9a958d; display: inline-flex; align-items: flex-start; font-size: 24px; line-height: 0; color: var(--hb-color); text-decoration: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.headbook-logo--chico { font-size: 18px; }
.headbook-logo .hb-glyph { display: block; height: .885em; flex-shrink: 0; fill: currentColor; overflow: visible; }
.headbook-logo .hb-tld { fill: var(--hb-tld-color); }
/* Recorta solo por la izquierda: deja asomar la tinta que cae fuera de la caja. */
.headbook-logo .crop { display: block; clip-path: inset(-.5em -.2em -.5em 0); flex-shrink: 0; transition: max-width var(--hb-dur) var(--hb-ease), clip-path var(--hb-dur) var(--hb-ease); }
.headbook-logo .crop-ead { max-width: 1.7583em; }
.headbook-logo .crop-ook { max-width: 1.5551em; }
.headbook-logo .crop-tld { max-width: var(--hb-tld-w, 1.4016em); }
.headbook-logo .slide { display: flex; width: max-content; transform: translateX(0); transition: transform var(--hb-dur) var(--hb-ease); }
.headbook-logo.collapsed .crop { max-width: 0; clip-path: inset(-.5em 0 -.5em 0); }
.headbook-logo.collapsed .slide { transform: translateX(-100%); }
.headbook-logo .domain { display: flex; }
/* ".app": cada letra aparece por separado (máquina de escribir). */
.headbook-logo .hb-char { visibility: hidden; }
.headbook-logo .hb-char.typed { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .headbook-logo .crop, .headbook-logo .slide { transition: none !important; } }
.nav__logo.headbook-logo { font-size: 21px; color: #1a1a1a; min-width: 128px; }   /* el menú no se corre al plegarse */
.wm { display: block; height: auto; }
.nav__links { display: flex; gap: 30px; font-size: 14px; color: var(--text); }
.nav__r { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--text); }
.nav__links a:hover, .nav__in-link:hover { color: var(--ink); }

/* 2 · Portada */
.hero { position: relative; padding: 120px 0 60px;
  /* de arriba hacia abajo: el gris frío arriba y, abajo, el mismo color de la página, sin corte */
  background: linear-gradient(180deg, #c9cbd1 0%, #d3d5da 30%, #e4e5e8 62%, #f6f6f6 100%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 40px; }
.hero h1 { margin: 0; font-weight: 400; }
.kicker { display: block; margin: 22px 0 18px; font-family: var(--sans); font-size: 14px; color: var(--soft); }
.h1 { display: block; font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 1.04; letter-spacing: -2.6px; color: var(--ink); }
.h1 .tone, h1 .tone, h2 .tone { color: #9a958d; }   /* la otra mitad del título, en el tono cálido */
h2 b, h1 b { font-weight: 600; }   /* el título liviano y las palabras clave en negrita */
.hero hr { border: 0; height: 1px; background: linear-gradient(90deg, rgba(28,28,27,0.14), rgba(28,28,27,0.06)); margin: 30px 0; max-width: 560px; }
.lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); max-width: 520px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.trust span { display: flex; align-items: center; gap: 8px; }
.trust i { width: 20px; height: 20px; border-radius: 10px; background: var(--ink-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin: 14px 0 0; font-size: 12px; color: #7a7a78; }
.hero__art { position: relative; height: 640px; }
.phone { position: absolute; left: 80px; top: 0; width: 300px; border-radius: 46px; padding: 9px; background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(232,232,234,0.9)); box-shadow: 0 40px 80px rgba(40,40,48,0.16), 0 0 0 1px rgba(255,255,255,0.9) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 38px; }
.cut { position: absolute; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px rgba(40,40,48,0.16), 0 2px 6px rgba(40,40,48,0.08); }
.cut img { display: block; width: 100%; height: auto; }
.cut--a { width: 290px; left: -40px; top: 300px; transform: rotate(-6deg); }
.cut--b { width: 300px; left: 240px; top: 430px; }
.cut--c { width: 270px; left: 260px; top: 190px; }
.strip { margin-top: 20px; }
.strip__t { margin: 0 0 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.strip__row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; color: var(--text); letter-spacing: -0.1px; }

/* 4 · Por qué */
.about { padding-top: 120px; }
.about__p { margin: 0; font-size: 24px; line-height: 1.6; letter-spacing: -0.1px; color: var(--text); }
.about__p b { font-weight: 600; color: var(--ink); }
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 64px; }
.proofs > div { display: flex; flex-direction: column; gap: 6px; }
.proofs b { font-weight: 500; font-size: 16px; margin-top: 10px; }
.proofs span:not(.ring) { font-size: 13px; color: var(--faint); line-height: 1.5; }
.ring { width: 38px; height: 38px; border-radius: 19px; background: #fff; box-shadow: 0 2px 8px rgba(40,40,48,0.08); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }

/* 5 · Funciones */
.features { padding-top: 150px; }
.features .sub { margin-bottom: 40px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; height: 440px; border-radius: 30px; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, #ffffff 0%, #efeeec 45%, #e2e0dc 100%); box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset; }
.tile--wide { grid-column: span 7; } .tile--narrow { grid-column: span 5; } .tile--half { grid-column: span 6; }
.tile__ico { position: absolute; left: 26px; top: 26px; width: 38px; height: 38px; border-radius: 19px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink-2); box-shadow: 0 2px 8px rgba(40,40,48,0.08); z-index: 2; }
.tile__art { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: 40px; }
.ph--r { margin-left: auto; margin-right: 60px; transform: rotate(4deg); }
.ph--c { transform: translateY(10px); }
.tile .cut { position: static; width: 78%; margin-top: 120px; border-radius: 18px; box-shadow: 0 24px 48px rgba(40,40,48,0.14); }
.tile__cap { position: absolute; left: 26px; bottom: 26px; right: 26px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tile__cap::before { content: ""; position: absolute; left: -26px; right: -26px; bottom: -26px; height: 190px; background: linear-gradient(180deg, rgba(234,232,228,0), rgba(234,232,228,0.97) 45%, #e8e6e2 100%); z-index: -1; }
.tile__cap h3 { font-weight: 500; font-size: 20px; letter-spacing: -0.3px; }
.tile__cap p { margin: 0; font-size: 13px; color: var(--soft); max-width: 360px; line-height: 1.45; }

/* 6 · Sin internet */
.sync { padding-top: 150px; }
.sync .chip { margin-bottom: 18px; }
.sync .sub { margin-bottom: 40px; }
.sync__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sync__row figure { margin: 0; position: relative; height: 520px; border-radius: 30px; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.sync__a { background: radial-gradient(90% 90% at 30% 20%, #efe7dc, #cdbfae 60%, #a8957f); }
.sync__b { background: radial-gradient(90% 90% at 70% 20%, #dfe6e2, #b9c6bf 60%, #8fa197); }
.tablet { display: flex; gap: 8px; padding: 12px; border-radius: 30px; background: #1d1d1c; transform: rotate(-4deg); box-shadow: 0 40px 80px rgba(40,30,20,0.35); }
.tablet img { width: 150px; height: auto; border-radius: 12px; display: block; }
.ph--hand { transform: rotate(8deg); }
figcaption { position: absolute; left: 24px; bottom: 22px; font-size: 13px; color: #fff; background: rgba(0,0,0,0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 12px; }

/* 7 · Si el salón es tuyo */
.owner { padding-top: 150px; }
.owner__card { position: relative; border-radius: 34px; padding: 30px 48px 48px; background: linear-gradient(180deg, #ffffff 0%, #f1f0ee 55%, #e8e6e2 100%); box-shadow: 0 1px 0 #fff inset; }
.owner__head { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-bottom: 44px; align-items: start; }
.owner__head > div { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-top: 8px; }
.owner__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ot { min-height: 280px; border-radius: 24px; background: linear-gradient(170deg, rgba(255,255,255,0.95), rgba(240,238,235,0.85)); display: flex; flex-direction: column; align-items: center; padding: 24px 18px; text-align: center; }
.ot p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.tag { display: inline-block; margin-top: 10px; font-size: 11px; color: #fff; background: var(--ink-2); border-radius: 999px; padding: 3px 9px; }
.ot__art { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--soft); }

/* 8 · Beta: tarjeta marrón, el mismo tono del pie */
.beta { padding-top: 150px; }
.beta__card { position: relative; overflow: hidden; border-radius: 34px; padding: 60px 48px 44px; background: var(--brown); box-shadow: 0 30px 80px rgba(30,28,26,0.28); }
.beta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.beta h2 { color: var(--on-brown); }
.beta .sub--r { color: var(--on-brown-2); text-align: right; }
.beta__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 26px 28px 28px; border-radius: 24px; background: rgba(255,255,255,0.94); box-shadow: 0 10px 30px rgba(40,40,48,0.07), 0 1px 0 #fff inset; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.step__n { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -2px; color: var(--ink); }
.step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); min-height: 46px; }
.step__note { font-size: 12px; line-height: 1.5; color: #7a7a78; }
.beta__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 36px; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; font-size: 14px; color: #e6e1d8; }
.perks li { display: flex; gap: 9px; align-items: center; max-width: 300px; line-height: 1.4; }
.beta .tick { background: var(--on-brown); color: #2a2826; }
.beta .more { color: var(--on-brown); border-color: rgba(255,255,255,0.35); margin-top: 0; white-space: nowrap; }

/* 9 · Precios */
.pricing { padding-top: 150px; }
.pricing__card { border-radius: 34px; padding: 64px 40px 40px; background: radial-gradient(90% 80% at 50% 0%, #ffffff, #f1f0ee 70%); box-shadow: 0 1px 0 #fff inset; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 28px; align-items: stretch; }
.plan { position: relative; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(40,40,48,0.06); }
.plan--hi { transform: translateY(-14px); color: var(--on-brown); background: var(--brown); box-shadow: 0 24px 60px rgba(30,28,26,0.28); }
.plan__in { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.plan__ico { width: 38px; height: 38px; border-radius: 19px; background: #fff; box-shadow: 0 2px 8px rgba(40,40,48,0.1); display: flex; align-items: center; justify-content: center; color: var(--ink-2); margin-bottom: 14px; }
.plan__tag { position: absolute; right: 22px; top: 26px; font-size: 11px; background: #fff; border-radius: 999px; padding: 4px 10px; color: var(--ink-2); }
.plan__n { font-weight: 500; font-size: 22px; }
.plan__d { margin: 0; font-size: 13px; color: var(--faint); line-height: 1.45; min-height: 38px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0; }
.price__n { font-family: var(--serif); font-weight: 500; font-size: 38px; letter-spacing: -0.5px; }
.price__p { font-size: 13px; color: var(--faint); }
.plan--hi .plan__d, .plan--hi .price__p { color: var(--on-brown-2); }
.plan__btn { display: flex; justify-content: center; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 13px; color: var(--ink-2); }
.plan--hi ul { color: #e6e1d8; }
.plan--hi .tick { background: var(--on-brown); color: #2a2826; }
.plan li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.faq2 { max-width: 760px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq { background: #fff; border-radius: 22px; padding: 16px 22px; box-shadow: 0 4px 14px rgba(40,40,48,0.05); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq__pm { flex: none; width: 28px; height: 28px; border-radius: 14px; border: 1px dashed rgba(28,28,27,0.2); display: inline-flex; align-items: center; justify-content: center; color: var(--soft); transition: transform .2s ease; }
.faq[open] .faq__pm { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--soft); }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; font-size: 14px; }
.links a { border-bottom: 1px solid rgba(28,28,27,0.25); }

/* 10 · Descarga */
.dl { padding-top: 150px; display: grid; grid-template-columns: 1fr 520px; gap: 40px; align-items: center; }
.dl__meta { display: flex; gap: 22px; margin: 0 0 22px; font-size: 12px; color: var(--soft); }
.dl__meta span { display: flex; align-items: center; gap: 6px; }
.dl h2 { max-width: 560px; }
.dl .sub { margin-bottom: 30px; }
.dl__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; background: #111; color: #fff; font-size: 15px; font-weight: 500; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: 9px; font-weight: 400; opacity: 0.8; }
.dl__art { position: relative; height: 620px; display: flex; justify-content: center; align-items: center; background: radial-gradient(50% 50% at 50% 50%, rgba(225,223,219,0.9), rgba(246,246,246,0) 70%); }
.ph--tilt { transform: rotate(-7deg); }

/* 11 · Pie */
.foot { padding-top: 150px; padding-bottom: 40px; }
.foot__card { border-radius: 34px; padding: 70px 64px 30px; color: var(--on-brown); background: radial-gradient(120% 80% at 50% 0%, #8a8378 0%, #5f5a52 35%, #3b3833 70%, #2a2826 100%); }
.foot__logo { display: flex; justify-content: center; margin-bottom: 60px; }
.wm--foot { width: 100%; max-width: 980px; }
.foot__row { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.foot__t { margin: 0 0 12px; font-size: 22px; font-weight: 500; line-height: 1.3; }
.foot__s { margin: 0; font-size: 13px; color: var(--on-brown-2); max-width: 380px; line-height: 1.5; }
.foot__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 56px; }
.foot__cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--on-brown-2); }
.foot__cols a:hover { color: var(--on-brown); }
.foot__cols b { font-weight: 500; font-size: 14px; color: var(--on-brown); margin-bottom: 4px; }
.foot__base { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; font-size: 12px; color: #bdb6aa; }
.foot__soc { display: flex; gap: 10px; }
.soc { width: 36px; height: 36px; border-radius: 18px; border: 1px dashed rgba(255,255,255,0.3); display: inline-flex; align-items: center; justify-content: center; }

/* Cartel de cookies (consent.js) */
.cookiebar { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; justify-content: space-between; padding: 16px 20px; border-radius: 22px; background: #fff; box-shadow: 0 12px 32px rgba(23,23,26,0.12); font-family: var(--sans); }
.cookiebar__text { flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: var(--text); }
.cookiebar__text a { text-decoration: underline; text-underline-offset: 3px; }
.cookiebar__actions { display: flex; gap: 8px; }
.cookiebar .btn { font: 500 14px var(--sans); border: 0; border-radius: 999px; height: 38px; padding: 0 18px; cursor: pointer; }
.cookiebar .btn--dark { background: #3f3f3e; color: #fff; }
.cookiebar .btn--light { background: rgba(28,28,27,0.06); color: #1a1a1a; }

/* ═════ Funciones y Precios (mismas piezas que la portada) ═════ */
.hero--page { padding: 150px 0 80px; }
.hero--page .lead { margin: 26px 0 30px; }
.hero--center { text-align: center; }
.hero--center .lead { margin-left: auto; margin-right: auto; }
.block { padding-top: 150px; }
.block__head { margin-bottom: 40px; }
.split { padding-top: 150px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.split__text h2 { margin-bottom: 16px; }
.split__text .sub { margin-bottom: 24px; }
.desk { position: relative; border-radius: 22px; box-shadow: 0 30px 70px rgba(40,40,48,0.16), 0 0 0 1px rgba(255,255,255,0.9); }
.desk img { display: block; width: 100%; height: auto; border-radius: 22px; }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 14px; background: #3f3f3e; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(255,255,255,0.85), 0 6px 14px rgba(0,0,0,0.18); }
.nums { list-style: none; counter-reset: n; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nums li { counter-increment: n; position: relative; padding-left: 40px; font-size: 15px; line-height: 1.5; color: var(--text); }
.nums li::before { content: counter(n); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 13px; background: #3f3f3e; color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.nums b, .ticks2 b { color: var(--ink); font-weight: 600; }
.soft { color: var(--faint); }
.facts { padding-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts > div { border-radius: 24px; padding: 22px 24px; background: rgba(255,255,255,0.7); box-shadow: 0 1px 0 #fff inset, 0 6px 20px rgba(40,40,48,0.04); display: flex; flex-direction: column; gap: 6px; }
.facts b { font-weight: 500; font-size: 16px; }
.facts span { font-size: 13px; color: var(--faint); line-height: 1.5; }
.honest { padding-top: 150px; }
.honest__card { border-radius: 34px; padding: 56px 48px 48px; background: var(--brown); color: var(--on-brown); box-shadow: 0 30px 80px rgba(30,28,26,0.28); }
.honest h2 { color: var(--on-brown); max-width: 820px; }
.honest h2 span { color: #a59d91; }
.honest .sub { color: var(--on-brown-2); max-width: 640px; }
.eyebrow--d { color: var(--on-brown-2); }
.quotes2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.quotes2 > div { border-radius: 24px; padding: 24px 26px; background: rgba(255,255,255,0.07); box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
.quotes2 h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.quotes2 p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--on-brown-2); }
.honest__close { margin: 32px 0 0; font-size: 20px; color: var(--on-brown-2); }
.honest__close b { color: var(--on-brown); font-weight: 500; }
.trio3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ways2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile--auto { height: 520px; }
.ways2 .tile--auto { height: 470px; }
.tile--auto .tile__art { padding-top: 34px; }
.ticks2 { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text); }
.ticks2 li { display: flex; gap: 10px; align-items: flex-start; }
.ticks2 .tick { margin-top: 2px; }
.days2 { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.days2 li { border-radius: 24px; padding: 22px 20px; background: #fff; box-shadow: 0 10px 30px rgba(40,40,48,0.06); display: flex; flex-direction: column; gap: 8px; }
.days2__t { align-self: flex-start; font-size: 11px; color: #fff; background: var(--ink-2); border-radius: 999px; padding: 3px 9px; }
.days2 h3 { font-size: 16px; font-weight: 500; line-height: 1.3; }
.days2 p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--faint); }
.mosaic { padding-top: 64px; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; align-items: stretch; }
.mosaic > div { border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.mosaic h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.3px; }
.mosaic p { margin: 0; font-size: 14px; line-height: 1.55; }
.mosaic__brown { background: var(--brown); color: var(--on-brown); }
.ring--m { margin-bottom: auto; }
.mosaic__brown .ring--m { background: rgba(255,255,255,0.12); color: var(--on-brown); box-shadow: none; }
.hero__art--page { height: 520px; }
.hero__art--page .phone { left: 40px; top: -20px; width: 270px; transform: rotate(-4deg); }
.hero__art--page .phone--b { left: 260px; top: 40px; transform: rotate(5deg); }
.mosaic__brown p { color: var(--on-brown-2); }
.mosaic__wide { background: radial-gradient(120% 90% at 70% 10%, #ffffff 0%, #efeeec 45%, #e2e0dc 100%); }
.mosaic__wide .desk { margin-bottom: 14px; }
.mosaic__wide p, .mosaic__white p { color: var(--soft); }
.mosaic__white { background: #fff; box-shadow: 0 10px 30px rgba(40,40,48,0.06); }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.group { border-radius: 28px; padding: 26px 24px 10px; background: #fff; box-shadow: 0 10px 30px rgba(40,40,48,0.06); scroll-margin-top: 24px; }
.group h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.6px; display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.group h3 span { font-family: var(--sans); font-size: 13px; color: var(--faint); }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 14px 0; border-top: 1px solid rgba(28,28,27,0.07); }
.group h4 { margin: 0 0 4px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.group h4 .tag { margin: 0 0 0 6px; vertical-align: 1px; }
.group p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--faint); }
.owner__six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.ot2 { border-radius: 24px; padding: 22px; background: linear-gradient(170deg, rgba(255,255,255,0.95), rgba(240,238,235,0.85)); }
.ot2 h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.ot2 p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--faint); }
.pricing--page { padding-top: 120px; }
h1.h2 { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1.04; letter-spacing: -2.6px; margin: 0 0 18px; color: var(--ink); }
.compare2 { border-radius: 34px; padding: 56px 40px 36px; background: #fff; box-shadow: 0 10px 30px rgba(40,40,48,0.06); }
.compare2 h2 { margin-bottom: 32px; }
.compare2__scroll { overflow-x: auto; margin-bottom: 24px; }
.compare2 table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare2 th, .compare2 td { padding: 13px 14px; text-align: center; border-bottom: 1px solid rgba(28,28,27,0.07); }
.compare2 tbody th { text-align: left; font-weight: 400; color: var(--text); }
.compare2 thead th { font-weight: 500; font-size: 16px; vertical-align: bottom; }
.compare2 thead th:first-child { text-align: left; font-size: 13px; color: var(--faint); font-weight: 400; }
.compare2 thead span { display: block; font-size: 12px; font-weight: 400; color: var(--faint); margin-top: 2px; }
.compare2 .pro { background: rgba(95,90,82,0.07); }
.compare2 thead .pro { border-radius: 16px 16px 0 0; }
.compare2 .yes { display: inline-flex; width: 22px; height: 22px; border-radius: 11px; align-items: center; justify-content: center; background: var(--ink-2); color: #fff; }
.compare2 .no { color: #b8b5ae; }

/* ═════ Páginas de texto: Ayuda, Beta y fundadores, Privacidad, Términos, Descargar ═════ */
.hero--doc { padding: 140px 0 56px; }
.h1--doc { font-size: 64px; line-height: 1.04; font-weight: 400; }
.hero--doc .lead { margin-top: 22px; max-width: 640px; }
.doc__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.doc__toc a { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(40,40,48,0.08); color: var(--ink-2); }
.doc { margin: 0 auto; border-radius: 34px; padding: 56px max(64px, calc((100% - 860px) / 2)) 60px;   /* la tarjeta al ancho de la página, el texto en una columna cómoda al centro */
   background: #fff; box-shadow: 0 10px 30px rgba(40,40,48,0.06); color: var(--text); font-size: 15px; line-height: 1.7; }
.doc > :first-child { margin-top: 0; }
.doc h2 { font-size: 30px; letter-spacing: -0.8px; margin: 52px 0 14px; scroll-margin-top: 24px; }
.doc h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; line-height: 1.35; scroll-margin-top: 24px; }
.doc p { margin: 0 0 14px; }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(28,28,27,0.3); text-underline-offset: 3px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: #9a9894; }
.doc .legal__note, .doc .soft { font-size: 13px; color: var(--faint); }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 13px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(28,28,27,0.08); }
.doc thead th { font-weight: 600; color: var(--ink); background: rgba(28,28,27,0.03); }
.doc ol.steps { list-style: none; counter-reset: st; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc ol.steps > li { counter-increment: st; position: relative; margin: 0; padding: 18px 20px 6px 64px; border-radius: 22px; background: #faf9f7; box-shadow: 0 0 0 1px rgba(28,28,27,0.05) inset; }
.doc ol.steps > li::before { content: counter(st); position: absolute; left: 20px; top: 14px; font-family: var(--serif); font-weight: 400; letter-spacing: -1px; font-size: 30px; line-height: 1; color: var(--ink); }
.doc ol.steps h3 { margin: 0 0 6px; }
.doc .help__group { font-family: var(--serif); font-weight: 500; letter-spacing: -0.5px; font-size: 22px; margin: 36px 0 12px; }
.doc .faq { display: flex; flex-direction: column; gap: 8px; }
.doc .faq details { border-radius: 18px; padding: 14px 18px; background: #faf9f7; box-shadow: 0 0 0 1px rgba(28,28,27,0.05) inset; }
.doc .faq summary { cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc .faq summary::-webkit-details-marker { display: none; }
.doc .faq summary::after { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 12px; border: 1px dashed rgba(28,28,27,0.22); display: inline-flex; align-items: center; justify-content: center; color: var(--soft); font-weight: 400; transition: transform .2s ease; }
.doc .faq details[open] summary::after { transform: rotate(45deg); }
.doc .faq details > :not(summary) { margin-top: 10px; }
.doc .faq p:last-child { margin-bottom: 0; }
.beta--top { padding-top: 24px; }
.beta__for { margin: -16px 0 14px; font-size: 14px; color: var(--on-brown-2); }
.beta__web { margin: 22px 0 0; font-size: 14px; color: var(--on-brown-2); }
.beta__web a { color: var(--on-brown); text-decoration: underline; text-underline-offset: 3px; }
/* Descarga: Android con captura y etiqueta de Play; navegador al lado (tarjeta negra de la beta) */
.get { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.get__card { position: relative; overflow: hidden; border-radius: 28px; padding: 30px; background: rgba(255,255,255,0.96); box-shadow: 0 10px 30px rgba(0,0,0,0.18); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.get__card--play { flex-direction: row; align-items: stretch; gap: 20px; padding: 0 0 0 30px; }
.get__txt { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 30px 0; }
.get__tag { font-size: 13px; color: var(--faint); }
.get__card h3 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); }
.get__card p { margin: 2px 0 16px; font-size: 14px; line-height: 1.6; color: var(--text); }
.get__ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; background: #f4f3f1; color: var(--ink); margin-bottom: 6px; }
.get__ico--android { background: #eafbf2; }
.get__art { position: relative; width: 210px; flex: none; }
.get__art img { position: absolute; left: 0; top: 34px; width: 190px; border-radius: 30px; padding: 6px; background: linear-gradient(160deg, #ffffff, #e9e9eb); box-shadow: 0 20px 44px rgba(40,40,48,0.22), 0 0 0 1px rgba(28,28,27,0.06); transform: rotate(6deg); }
.store--lg { height: 54px; padding: 0 20px; border-radius: 14px; font-size: 18px; gap: 12px; margin-top: auto; }
.store--lg small { font-size: 10px; }
.get__card .b { margin-top: auto; }
.get__note { margin: 18px 0 0; font-size: 14px; color: var(--on-brown-2); }

/* ═════ Tableta (768–1023): una columna donde no entra, la misma letra ═════ */
@media (max-width: 1023px) {
  .nav__in { gap: 32px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { height: 600px; max-width: 560px; width: 100%; margin: 0 auto; }
  .proofs { gap: 32px; }
  .tile--wide, .tile--narrow, .tile--half { grid-column: span 6; }
  .owner__head { grid-template-columns: 1fr; gap: 20px; }
  .owner__tiles { grid-template-columns: repeat(2, 1fr); }
  .beta__row { grid-template-columns: 1fr; }
  .perks { flex-direction: column; gap: 12px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan--hi { transform: none; }
  .dl { grid-template-columns: 1fr; }
  .dl__art { height: 560px; }
  .foot__row { flex-direction: column; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__art { order: -1; }
  .doc { padding: 44px 40px 48px; }
  .trio3, .ways2, .days2, .owner__six { grid-template-columns: 1fr 1fr; }
  .groups { grid-template-columns: 1fr 1fr; }
  .hero__art--page { height: 480px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic__wide { grid-column: 1 / -1; order: -1; }
}

/* ═════ Teléfono (< 768) ═════ */
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  h2 { font-size: 34px; letter-spacing: -1px; }
  .nav { top: 4px; }
  .nav__links { display: none; }
  .nav__r { gap: 14px; }
  .hero { padding-top: 96px; }
  .h1 { font-size: 38px; letter-spacing: -1.2px; }
  .kicker { margin-top: 8px; }
  .hero hr { margin: 22px 0; }
  .lead { font-size: 16px; }
  .hero__art { height: 560px; max-width: 360px; }
  .phone { left: 50%; width: 260px; margin-left: -130px; }
  .cut--a { width: 230px; left: -6px; top: 270px; }
  .cut--b { width: 240px; left: auto; right: -6px; top: 400px; }
  .cut--c { display: none; }
  .strip__row { justify-content: flex-start; font-size: 14px; }
  .about { padding-top: 88px; }
  .about__p { font-size: 20px; }
  .proofs { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .features, .sync, .owner, .beta, .pricing, .dl { padding-top: 104px; }
  .bento { gap: 14px; }
  .tile--wide, .tile--narrow, .tile--half { grid-column: span 12; }
  .tile { height: 420px; }
  .ph--r { margin-right: 24px; }
  .sync__row { grid-template-columns: 1fr; }
  .sync__row figure { height: 440px; }
  .tablet img { width: 92px; }
  .owner__card, .beta__card { padding: 28px 18px 24px; border-radius: 28px; }
  .owner__tiles { grid-template-columns: 1fr; }
  .ot { min-height: 0; flex-direction: row; text-align: left; gap: 16px; justify-content: space-between; }
  .ot__art { flex: none; }
  .ot__art svg { width: 44px; height: 44px; }
  .beta__head, .beta__foot { flex-direction: column; align-items: flex-start; }
  .beta .sub--r { text-align: left; }
  .beta .sub--r br { display: none; }
  .step { padding: 22px 20px; }
  .pricing__card { padding: 40px 14px 24px; border-radius: 28px; }
  .dl__art { height: 480px; }
  .foot { padding-top: 104px; padding-bottom: 16px; }
  .foot__card { padding: 40px 22px 22px; border-radius: 28px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__base { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero--page { padding: 110px 0 40px; }
  .hero--doc { padding: 104px 0 32px; }
  .h1--doc { font-size: 40px; }
  .doc { padding: 28px 18px 32px; border-radius: 28px; font-size: 15px; }
  .doc h2 { font-size: 24px; margin-top: 40px; }
  .doc ol.steps > li { padding: 16px 16px 4px 52px; }
  .doc ol.steps > li::before { left: 16px; font-size: 28px; }
  .doc table { display: block; overflow-x: auto; }
  .get { grid-template-columns: 1fr; }
  .get__card--play { padding-left: 24px; }
  .get__card { padding: 24px; }
  .get__card--play { padding: 0 0 0 24px; }
  .get__txt { padding: 24px 0; }
  .get__art { width: 120px; }
  .get__art img { width: 140px; top: 28px; }
  .pricing--page { padding-top: 96px; }
  h1.h2 { font-size: 40px; letter-spacing: -1.2px; }
  .block, .split, .honest { padding-top: 104px; }
  .facts, .trio3, .ways2, .days2, .mosaic, .owner__six, .quotes2 { grid-template-columns: 1fr; }
  .groups { grid-template-columns: 1fr; }
  .hero__art--page { height: 440px; }
  .hero__art--page .phone { left: 4px; width: 200px; margin-left: 0; }
  .hero__art--page .phone--b { left: auto; right: 4px; top: 50px; }
  .honest__card { padding: 32px 20px 28px; border-radius: 28px; }
  .honest__close { font-size: 17px; }
  .tile--auto, .ways2 .tile--auto { height: 470px; }
  .pin { width: 22px; height: 22px; font-size: 11px; box-shadow: 0 0 0 3px rgba(255,255,255,0.85); }
  .compare2 { padding: 32px 12px 24px; border-radius: 28px; }
  .compare2 th, .compare2 td { padding: 10px 4px; }
  .compare2 table { min-width: 0; font-size: 12px; }
  .compare2 thead th { font-size: 13px; }
  .compare2 thead span { font-size: 10px; }
  .compare2 tbody th { width: 46%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .b__in, .faq__pm { transition: none; } }
