@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/barlow-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/barlow-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/barlow-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2')}
/* ==========================================================================
   Bellbolt · landing. Dirección "Hoja de obra": papel de plano, tinta navy,
   rejilla de 1px, etiquetas mono y un solo color de señal (naranja) para
   lo que pide acción. Movimiento solo con transform y opacity.
   ========================================================================== */

:root {
  --paper: #f3efe6;
  --paper-2: #ebe6da;
  --ink: #0b1b3a;
  --ink-2: #1a2b4f;
  --muted: #4c5a74;
  --blueprint: #1e6fd9;
  --blueprint-700: #1556ad;
  --grid: #c9d2e0;
  --line: rgb(11 27 58 / 0.14);
  --signal: #f26a1b; /* acento: puntos, sombras, números. No llega a AA como fondo de texto blanco */
  --signal-strong: #c2410c; /* botones y fondos con texto blanco: 5.2:1 */
  --signal-700: #9a3412;
  --ok: #1f9d55;
  --ok-100: #dff3e7;
  --warn: #9a5b00;
  --warn-100: #fbecd2;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blueprint);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--font-mono);
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.ref {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 14px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 18ch;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 54ch;
  margin-top: 18px;
}

.fine {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  transition: transform 250ms var(--ease-out), background-color 200ms ease-out, color 200ms ease-out;
}

.btn:hover {
  transform: translateY(-2px);
  transition-duration: 150ms;
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 60ms;
}

.btn-sm {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 15px;
}

.btn-signal {
  background: var(--signal-strong);
  border-color: var(--signal-strong);
  color: #fff;
}

.btn-signal:hover {
  background: var(--signal-700);
  border-color: var(--signal-700);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Navegación ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(243 239 230 / 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 26px;
  margin-left: 12px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  text-decoration: none;
  font-weight: 500;
}

.lang .mono {
  font-size: 13px;
  padding: 2px 6px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.lang-long {
  display: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .lang-long {
    display: inline;
  }
}

@media (max-width: 420px) {
  .nav .btn-sm {
    padding: 8px 12px;
    font-size: 14px;
  }

  .brand span {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
  background-blend-mode: normal;
}

.hero::before {
  /* Desvanece la rejilla hacia abajo y a la izquierda para que el texto respire. */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--paper) 30%, rgb(243 239 230 / 0.55) 60%, rgb(243 239 230 / 0.2));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  /* La frase es larga (dos ideas): tamaño contenido para que quepa en 3-4 líneas. */
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 .line {
  display: block;
  animation: rise 600ms var(--ease-out) both;
  animation-delay: calc(var(--i) * 90ms);
}

.hero h1 .line:last-child {
  color: var(--blueprint);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.hero-note li::before {
  content: '✓ ';
  color: var(--ok);
}

.hero-demo {
  position: relative;
  display: grid;
  justify-items: center;
  /* Las notas de la demo se colocan según el ancho de esta columna, no de la ventana. */
  container: demo / inline-size;
}

.callouts {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  width: min(360px, 100%);
}

.callout {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
}

.callout .num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--blueprint);
  border-radius: 50%;
  color: var(--blueprint);
  font-size: 11px;
  flex-shrink: 0;
  background: var(--paper);
}

/* Las notas se colocan alrededor del móvil, como cotas de un plano, solo si caben de verdad a
   los lados (móvil de 340px + 56px de cota + 150px de texto a cada lado). Si no, van debajo en
   lista: nunca encima del móvil ni del titular. */
@container demo (min-width: 760px) {
  .callouts {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
    pointer-events: none;
  }

  .callout {
    position: absolute;
    width: 150px;
    line-height: 1.35;
  }

  .callout::after {
    content: '';
    position: absolute;
    top: 13px;
    width: 46px;
    border-top: 1px dashed var(--blueprint);
  }

  /* Izquierda: el texto termina 56px antes del borde del móvil (170px = medio móvil). */
  .callout-01,
  .callout-03 {
    right: calc(50% + 226px);
  }

  .callout-01 {
    top: 16%;
  }

  .callout-03 {
    top: 58%;
  }

  .callout-01::after,
  .callout-03::after {
    left: calc(100% + 6px);
  }

  .callout-02 {
    left: calc(50% + 226px);
    top: 34%;
    flex-direction: row-reverse;
    text-align: right;
  }

  .callout-02::after {
    right: calc(100% + 6px);
  }
}

/* Oficios: el visitante reconoce el suyo de un vistazo. */
.hero-trades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-trades li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
  font: 500 14px var(--font-body);
}

/* ---------- Móvil de la demo ---------- */

.phone {
  --ph-bg: #f7f5f0;
  --ph-card: #fff;
  --ph-ink: var(--ink);
  --ph-muted: #5a6680;
  --ph-line: rgb(11 27 58 / 0.1);
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 46px;
  background: var(--paper);
  box-shadow:
    0 0 0 6px var(--paper),
    0 0 0 7px var(--grid),
    0 30px 60px -20px rgb(11 27 58 / 0.35);
  animation: rise 700ms var(--ease-out) 150ms both;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: var(--ph-bg);
  color: var(--ph-ink);
  display: flex;
  flex-direction: column;
  padding: 0 14px 72px;
  transition: background-color 250ms ease-out, color 250ms ease-out;
}

.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  font: 600 12px var(--font-body);
}

.ph-island {
  width: 86px;
  height: 24px;
  border-radius: 20px;
  background: #000;
}

.ph-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 10px;
}

.ph-day {
  font: 700 30px/1 var(--font-display);
  text-transform: uppercase;
}

.ph-sun {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--ph-line);
  border-radius: 999px;
  background: var(--ph-card);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ph-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 2px 6px;
  font: 500 11px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ph-muted);
}

.ph-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--signal-strong);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
  transition: transform 200ms var(--spring), opacity 200ms ease-out;
}

.ph-count[data-zero] {
  transform: scale(0.6);
  opacity: 0;
}

.ph-list,
.ph-route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ph-card {
  position: relative;
  padding: 12px;
  border-radius: 16px;
  background: var(--ph-card);
  border: 1px solid var(--ph-line);
  border-left: 4px solid var(--signal);
  transition:
    transform 320ms var(--ease-out),
    opacity 320ms var(--ease-out);
}

/* La reserva entra desde arriba: "algo llegó". */
.ph-card[data-state='hidden'] {
  transform: translateY(-14px) scale(0.97);
  opacity: 0;
}

.ph-card[data-state='leaving'] {
  transform: translateY(40px) scale(0.97);
  opacity: 0;
  transition-duration: 220ms;
  transition-timing-function: ease-in;
}

.ph-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ph-when {
  font: 500 11px var(--font-mono);
  color: var(--ph-muted);
}

.ph-name {
  margin-top: 6px;
  font-weight: 700;
  font-size: 17px;
}

.ph-what {
  font-size: 13.5px;
  color: var(--ph-muted);
}

.ph-note {
  margin-top: 4px;
  font-size: 13px;
  font-style: italic;
}

.ph-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6px;
  margin-top: 10px;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--ph-line);
  background: var(--ph-card);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease-out;
}

.ph-btn:active {
  transform: scale(0.96);
  transition-duration: 60ms;
}

.ph-btn-primary {
  background: var(--blueprint);
  border-color: var(--blueprint);
  color: #fff;
}

.ph-hint {
  position: absolute;
  right: 10px;
  bottom: -26px;
  font: 500 11px var(--font-mono);
  color: var(--blueprint);
  animation: hint 1.6s ease-in-out 3 1.4s both;
}

@keyframes hint {
  0%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
  30%,
  70% {
    opacity: 1;
    transform: translateY(0);
  }
}

.ph-card[data-state='hidden'] .ph-hint,
.ph-card[data-done] .ph-hint {
  display: none;
}

.ph-empty {
  padding: 10px;
  text-align: center;
  color: var(--ph-muted);
  font-size: 13px;
}

.ph-job {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--ph-card);
  border: 1px solid var(--ph-line);
}

.ph-job-now {
  border-color: var(--blueprint);
  box-shadow: inset 3px 0 0 var(--blueprint);
}

.ph-job-added {
  animation: drop-in 380ms var(--ease-out) both;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
}

.ph-time {
  font: 500 11px var(--font-mono);
  color: var(--ph-muted);
  white-space: nowrap;
}

.ph-job-main {
  display: grid;
  min-width: 0;
  font-size: 13px;
}

.ph-job-main strong {
  font-size: 14.5px;
}

.ph-job-main span {
  color: var(--ph-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ph-pill-new {
  background: #fde3d3;
  color: #a2410a;
}

.ph-pill-ok {
  background: var(--ok-100);
  color: #146c3a;
}

.ph-pill-warn {
  background: var(--warn-100);
  color: var(--warn);
}

.ph-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 300ms var(--ease-out),
    opacity 200ms ease-out;
}

.ph-toast[data-show] {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.ph-toast button {
  min-height: 34px;
  padding: 4px 12px;
  border: 0;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.14);
  font-weight: 700;
  cursor: pointer;
}

.ph-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
  height: 64px;
  padding-bottom: 8px;
  background: rgb(255 255 255 / 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ph-line);
  color: var(--ph-muted);
}

.ph-tabbar .on {
  color: var(--blueprint);
}

/* Modo sol: alto contraste para trabajar en la calle. */
.phone[data-sun='on'] {
  --ph-bg: #fff;
  --ph-card: #fff;
  --ph-ink: #000;
  --ph-muted: #1c2333;
  --ph-line: #000;
}

.phone[data-sun='on'] .ph-card,
.phone[data-sun='on'] .ph-job {
  border-width: 2px;
}

.phone[data-sun='on'] .ph-name,
.phone[data-sun='on'] .ph-job-main strong {
  font-size: 18px;
}

.phone[data-sun='on'] .ph-btn {
  min-height: 50px;
  font-size: 16px;
  border-width: 2px;
}

.phone[data-sun='on'] .ph-btn-primary {
  background: #000;
  border-color: #000;
}

.phone[data-sun='on'] .ph-sun {
  background: #ffd400;
  border-color: #000;
}

.phone[data-sun='on'] .ph-tabbar {
  background: #fff;
}

/* ---------- Secciones ---------- */

.section {
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-ink .ref {
  color: #7fb2ff;
}

.section-ink .lead {
  color: rgb(243 239 230 / 0.72);
}

/* Recorrido: la tubería se dibuja con el scroll. */
.flow {
  position: relative;
  margin-top: 56px;
}

.flow-pipe {
  display: none;
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  position: relative;
}

.flow-steps::before {
  /* Línea vertical en móvil. */
  content: '';
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  border-left: 3px solid var(--blueprint);
  transform-origin: top;
}

.flow-steps li {
  position: relative;
  padding-left: 64px;
}

.node {
  position: absolute;
  left: 0;
  top: -6px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--blueprint);
  border-radius: 50%;
  background: var(--paper);
  color: var(--blueprint);
  font-weight: 500;
}

.flow-steps h3 {
  font: 700 28px/1 var(--font-display);
  text-transform: uppercase;
}

.flow-steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

@media (min-width: 900px) {
  .flow-pipe {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 3px;
    width: 100%;
    height: 40px;
  }

  .pipe-bg,
  .pipe {
    fill: none;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
  }

  .pipe-bg {
    stroke: var(--grid);
    stroke-dasharray: 6 6;
  }

  .pipe {
    stroke: var(--blueprint);
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0;
  }

  .flow-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-steps li {
    padding: 70px 8px 0 0;
  }

  .node {
    top: 0;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pipe {
      stroke-dashoffset: 1;
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 55%;
    }

    .flow-steps::before {
      animation: grow-y linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }

    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes grow-y {
  from {
    transform: scaleY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- Funciones: seis, una línea cada una ---------- */

.feature-list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 32px;
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgb(243 239 230 / 0.12);
}

.feature-list h3 {
  font-size: 19px;
  font-weight: 600;
}

.feature-list p {
  margin-top: 6px;
  color: rgb(243 239 230 / 0.68);
  font-size: 16px;
}

/* ---------- Precios ---------- */

.price-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.plans {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  grid-template-columns: 1fr;
}

/* Tres columnas iguales; la recomendada (en medio) sobresale por arriba y por abajo. */
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .plan-featured {
    margin-block: -16px;
    padding-block: 44px;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fbf9f4;
}

.plan-featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 0 var(--signal);
}

.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--signal-strong);
  color: #fff;
  font: 500 12px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-who {
  font: 500 12px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-featured .plan-who {
  color: rgb(243 239 230 / 0.7);
}

.plan-trial {
  margin-top: 8px;
  text-align: center;
  font: 500 12px var(--font-mono);
  color: var(--muted);
}

.plan-featured .plan-trial {
  color: rgb(243 239 230 / 0.7);
}

.plan h3 {
  font: 700 34px/1 var(--font-display);
  text-transform: uppercase;
}

.plan-users {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.plan-featured .plan-users {
  color: rgb(243 239 230 / 0.7);
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
}

.plan-price .cur {
  font-size: 28px;
  align-self: flex-start;
  margin-top: 8px;
}

.plan-price .amt {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-block;
}

.plan-price .per {
  font: 500 15px var(--font-mono);
  margin-left: 4px;
}

.price-note {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.final-cta {
  margin: 24px 0 8px;
}

.plan ul {
  flex: 1;
  align-content: start;
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 16px;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--ok);
}

.plan-featured li svg {
  color: #6fe3a1;
}

.plan-featured .btn-signal {
  border-color: var(--signal-strong);
}

.plan .btn {
  width: 100%;
}

.plan-featured .btn-line {
  border-color: var(--paper);
}

.founders {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-2);
}

.founders::before {
  content: '★ ';
  color: var(--signal);
}

/* ---------- Preguntas y llamada final ---------- */

.faq-grid,
.final-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .faq-grid,
  .final-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ---------- FAQ (receta accordion con interpolate-size) ---------- */

.faq {
  border-top: 1.5px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  font-weight: 600;
  font-size: 19px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font: 500 20px/1 var(--font-mono);
  transition: transform 250ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 300ms var(--ease-out),
    content-visibility 300ms allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
}

.faq-a p {
  padding: 0 48px 20px 0;
  color: var(--muted);
}

/* ---------- Acceso anticipado ---------- */

.final {
  padding: clamp(72px, 10vw, 130px) 0;
  background: var(--signal-strong);
  color: #fff;
}

.final .lead {
  color: rgb(255 255 255 / 0.88);
}

/* El botón de la señal sobre el fondo de la señal no se veía: aquí va en papel. */
.final-cta .btn-signal {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.final-cta .btn-signal:hover {
  background: #fff;
  border-color: #fff;
}

.join-title {
  font: 700 26px/1.05 var(--font-display);
  text-transform: uppercase;
}

.join-note {
  margin: -6px 0 4px;
  font-size: 15px;
  color: var(--ink-2);
}

.join {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

@media (min-width: 640px) {
  .join {
    grid-template-columns: 1fr 1fr;
  }

  .join .btn,
  .join .form-msg,
  .join .fine,
  .join-title,
  .join-note {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

.field input,
.field select {
  min-height: 50px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
}

.field input:focus,
.field select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(30 111 217 / 0.35);
  border-color: var(--blueprint);
}

/* Desplegables con diseño propio: el mismo <select> nativo, pero la lista abierta es una hoja
   de plano (trazo de tinta, sombra desplazada) en vez de la del sistema. Chrome/Edge 135+; el
   resto sigue con la lista nativa. */
@supports (appearance: base-select) {
  .field select,
  .field select::picker(select) {
    appearance: base-select;
  }

  .field select {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }

  .field select::picker-icon {
    content: '';
    width: 12px;
    height: 8px;
    margin-left: auto;
    background: var(--muted);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='black' stroke-width='2' fill='none'/%3E%3C/svg%3E")
      center / contain no-repeat;
    transition: transform 150ms var(--ease-out);
  }

  .field select:open::picker-icon {
    transform: rotate(180deg);
    background: var(--ink);
  }

  .field select::picker(select) {
    margin-block: 6px;
    padding: 6px;
    max-height: min(360px, 60dvh);
    overflow-y: auto;
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 6px 6px 0 var(--grid);
    font-family: var(--font-body);
    transform-origin: top center;
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    transition:
      opacity 120ms ease-in,
      transform 120ms ease-in,
      display 120ms allow-discrete,
      overlay 120ms allow-discrete;
  }

  .field select:open::picker(select) {
    opacity: 1;
    transform: none;
    transition:
      opacity 150ms ease-out,
      transform 200ms var(--ease-out),
      display 200ms allow-discrete,
      overlay 200ms allow-discrete;
  }

  @starting-style {
    .field select:open::picker(select) {
      opacity: 0;
      transform: translateY(-4px) scale(0.98);
    }
  }

  .field select option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 100ms ease-out;
  }

  .field select option::checkmark {
    order: 1;
    margin-left: auto;
    color: var(--blueprint-700);
    font-weight: 700;
  }

  .field select option:hover,
  .field select option:focus-visible {
    background: color-mix(in srgb, var(--blueprint) 12%, white);
    outline: none;
  }

  .field select option:focus-visible {
    box-shadow: inset 0 0 0 2px var(--blueprint-700);
  }

  .field select option:checked {
    font-weight: 600;
  }

  .field select option[value=''] {
    color: var(--muted);
  }

  @media (prefers-reduced-motion: reduce) {
    .field select::picker(select),
    .field select:open::picker(select) {
      transform: none;
    }

    .field select::picker-icon {
      transition: none;
    }

    @starting-style {
      .field select:open::picker(select) {
        transform: none;
      }
    }
  }
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-msg {
  min-height: 1.5em;
  font-weight: 600;
}

.form-msg[data-tone='ok'] {
  color: var(--ok);
}

.form-msg[data-tone='error'] {
  color: #b42318;
}

.join .fine {
  margin: 0;
}

/* ---------- Pie ---------- */

.footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgb(243 239 230 / 0.7);
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer .brand {
  color: var(--paper);
  font-size: 22px;
}

/* "bolt" del logotipo: la señal oscura sobre papel (contraste AA); sobre tinta, la viva. */
.brand-bolt {
  color: var(--signal-strong);
}

.footer .brand-bolt {
  color: var(--signal);
}

.footer a {
  color: var(--paper);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 3px;
}

/* ---------- Páginas legales ---------- */

.legal {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
}

.legal .h2 {
  max-width: 22ch;
}

.legal-body {
  max-width: 72ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
}

.legal-body p,
.legal-body ul {
  margin-top: 14px;
}

.legal-body ul {
  padding-left: 1.25em;
}

.legal-body li + li {
  margin-top: 8px;
}

.legal-body h2 {
  margin-top: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
  scroll-margin-top: 96px;
}

.legal-body a {
  color: var(--blueprint);
  text-underline-offset: 3px;
}

.legal-body strong {
  font-weight: 600;
}

.legal-toc {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2 220px;
  column-gap: 32px;
}

.legal-toc li {
  break-inside: avoid;
  padding: 3px 0;
}

.legal-more {
  margin-top: 48px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* ---------- Movimiento reducido: sin desplazamientos, fundidos cortos ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero h1 .line,
  .phone,
  .ph-job-added {
    animation: fade 200ms ease-out both;
  }

  .ph-card,
  .ph-toast,
  .btn {
    transition-property: opacity, background-color, color;
  }

  .ph-card[data-state='hidden'],
  .ph-card[data-state='leaving'],
  .ph-toast {
    transform: none !important;
  }

  .ph-hint {
    animation: none;
    opacity: 1;
  }

  .faq details::details-content {
    transition: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}
