/* Hallmark · shape: Bento Grid → Workbench (swap: the material is real renders, not features) · genre: atmospheric · theme: Lumen (deal 3/3, seed flaya-sistema-que-fabrica-edea·39fa7efa·2026-11-07·r0) · job: buy (early access by email) · draw: 4ed8e4
 * hero: Stage · nav: edge-aligned wordmark and one action (swap: no search, nothing to search) · footer: mast · imagery: the product (three real shorts) · signature: a real short playing in the hero with its readouts beside it
 * axes: dark/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E2 S3 R3 V3 · weakest: E, the offer has no price yet; it says so plainly instead of inventing one */
/* waive 38iii: the theme's one rose verb in the hero head */
/* waive 47c: blueprint grid inside the path well only, never under running text */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Base de la página ---------- */
body { font-variant-numeric: tabular-nums; }
h1, h2, h3, nav, label, th, figcaption, .btn, summary { text-transform: lowercase; }
h1, h2, h3 { font-weight: 400; }
h1 { font-size: clamp(3rem, 6vw + 1rem, 6.25rem); line-height: 0.96; max-width: 11ch; }
h2 { font-size: var(--text-display-s); line-height: 0.98; }
h3 { font-size: var(--text-title); }
.readout { font: 400 0.8125rem/1.5 var(--font-outlier); color: var(--color-ink-2); text-transform: lowercase; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

.verb { display: inline-block; color: var(--color-accent-2); }
.verb::after { content: ""; display: block; height: var(--rule-hair); background: currentColor; transform-origin: left; animation: draw var(--dur-long) var(--ease-out) 300ms both; }
@keyframes draw { from { transform: scaleX(0); } }

/* ---------- Controles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-lg); font-weight: 500; text-decoration: none; border: 0; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn--secondary { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn--sm { min-height: 44px; padding: var(--space-xs) var(--space-md); font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }

a:not(.btn):not(.wordmark):hover { text-decoration-color: var(--color-accent); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__inner { display: flex; align-items: center; gap: var(--space-lg); min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); }
.wordmark img { width: 28px; height: 28px; border-radius: 7px; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--color-ink); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding-block: var(--space-2xl) var(--section-gap-s); min-height: calc(100svh - 68px); max-height: 1000px; }
.hero__text { display: grid; gap: var(--space-lg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
.hero__stage { position: relative; margin: 0; display: flex; justify-content: center; }
.phone { position: relative; width: min(100%, 330px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--color-paper-2); box-shadow: var(--shadow-card); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; right: var(--space-sm); bottom: var(--space-sm); min-height: 44px; padding: var(--space-2xs) var(--space-md); border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule-2); background: color-mix(in oklab, var(--color-paper) 80%, transparent); color: var(--color-ink); font-size: var(--text-xs); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }
.sound:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.sound:hover { background: var(--color-paper-2); }
.sound[aria-pressed="true"] { border-color: var(--color-accent); }
.readout-card { position: absolute; left: 0; bottom: var(--space-2xl); width: 220px; padding: var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.readout-card__title { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.1; margin-bottom: var(--space-sm); }
.readouts { margin: 0; display: grid; gap: var(--space-2xs); }
.readouts div { display: flex; justify-content: space-between; gap: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-2xs); }
.readouts dt { font-size: var(--text-xs); color: var(--color-muted); }
.readouts dd { margin: 0; font: 400 0.8125rem/1.5 var(--font-outlier); color: var(--color-ink-2); }
.readouts div:last-child dd { color: var(--color-accent); }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-gap-s); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.section__head p { color: var(--color-ink-2); max-width: 44ch; justify-self: end; }
.well { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.blueprint { background-image: linear-gradient(var(--rule-blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px); background-size: 48px 48px; }
.band { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }

/* Vídeos */
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.clip { display: grid; gap: var(--space-sm); }
.clip__frame { aspect-ratio: 9 / 16; border-radius: var(--radius-card); overflow: hidden; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.clip__frame video { width: 100%; height: 100%; object-fit: cover; }
.clip h3 { margin-top: var(--space-xs); }
.clip__meta { display: flex; justify-content: space-between; color: var(--color-muted); font-size: var(--text-sm); }

/* Camino */
.path { padding: var(--space-xl); }
.path__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-md); position: relative; }
.path__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--rule-hair); background: var(--color-rule-2); }
.node { position: relative; display: grid; gap: var(--space-2xs); align-content: start; padding: var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); min-height: 168px; }
.node strong { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1.05; }
.node span:last-child { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.4; }
.node--you { border-color: var(--color-accent); }
.node--you strong, .node--you .readout { color: var(--color-accent); }

/* Ficha */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--gap-columns); }
.spec__rows { margin: 0; }
.spec__rows div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.spec__rows div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec__rows dt { color: var(--color-muted); font-size: var(--text-sm); padding-top: var(--space-3xs); }
.spec__rows dd { margin: 0; color: var(--color-ink-2); }

/* Oferta */
.offer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding-block: var(--section-gap-s); }
.offer__text { display: grid; gap: var(--space-lg); }
.offer__text .lead { color: var(--color-ink-2); }
.offer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.offer__list li { padding-left: var(--space-lg); position: relative; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: var(--rule-hair); background: var(--color-accent); }
.offer__card { padding: var(--space-xl); display: grid; gap: var(--space-lg); background: var(--color-paper); }
.offer__price { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); padding-bottom: var(--space-md); }
.offer__price .figure { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; }
.fine { font-size: var(--text-sm); color: var(--color-muted); }

/* Preguntas */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--gap-columns); }
.faq__list details { border-top: var(--rule-hair) solid var(--color-rule); }
.faq__list details:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq__list summary { cursor: pointer; list-style: none; padding-block: var(--space-md); font-family: var(--font-display); font-size: var(--text-xl); display: flex; justify-content: space-between; gap: var(--space-md); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--font-outlier); color: var(--color-muted); }
.faq__list details[open] summary::after { content: "−"; }
.faq__list summary:hover { color: var(--color-ink-2); }
.faq__list details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); }

/* Pie */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-xl); margin-top: var(--section-gap-s); }
.footer__inner { display: grid; gap: var(--space-xl); }
.footer__mast { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 14rem); line-height: 0.85; letter-spacing: -0.03em; color: var(--color-ink); }
.footer__cols { display: flex; flex-wrap: wrap; gap: var(--space-2xl); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }

/* ---------- Pantallas estrechas ---------- */
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; max-height: none; padding-top: var(--space-xl); gap: var(--space-xl); }
  .hero__stage { justify-content: flex-start; flex-wrap: wrap; gap: var(--space-md); }
  .readout-card { position: static; width: min(100%, 330px); }
  .section__head, .spec, .faq, .offer { grid-template-columns: minmax(0, 1fr); }
  .section__head p { justify-self: start; }
  .rail { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
  .clip--dup { display: none; }
  .path { padding: var(--space-md); }
  .path__steps { grid-template-columns: minmax(0, 1fr); }
  .path__steps::before { left: var(--space-xl); right: auto; top: 0; bottom: 0; width: var(--rule-hair); height: auto; }
  .node { min-height: 0; }
}
@media (max-width: 40rem) {
  .spec__rows div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
