/* Toca — sitio público.
   Un campo de papel, un solo objeto negro, una grotesca pesada. El dispositivo
   es la única masa oscura de la página; todo lo demás cede espacio. */

:root {
  --paper: #fafaf8;
  --ink: #0a0a0a;
  --graphite: #55595f;
  --aluminum: #b8bcc2;
  --rule: #e3e4e1;
  --signal: #1f5eff;

  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --chapter: clamp(72px, 10vh, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- type ------------------------------------------------------------ */

h1 { font-size: clamp(64px, 9.5vw, 136px); line-height: 0.92; letter-spacing: -0.045em; font-weight: 800; }
h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; max-width: 22ch; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--graphite); max-width: 52ch; margin-top: 20px; }
.small { font-size: 14.5px; line-height: 1.45; color: var(--graphite); }

/* ---- buttons --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s;
}
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #26262a; }
.btn.line { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn.line:hover { border-color: var(--ink); }
.btn.on-ink { background: #fff; color: var(--ink); }
.btn.on-ink:hover { background: #e9eae7; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---- nav ------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 248, 0.86); backdrop-filter: blur(12px);
}
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--graphite); }
.nav-links a:hover { color: var(--ink); }

/* ---- hero ------------------------------------------------------------ */

.hero { padding: clamp(48px, 8vh, 112px) 0 clamp(64px, 10vh, 140px); }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero .lede { max-width: 34ch; margin-top: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero .stage { display: flex; justify-content: center; padding: 20px 0; }
.hero .device { width: min(100%, 420px); transform: rotate(-4deg); }

@media (prefers-reduced-motion: no-preference) {
  .hero .device { animation: settle 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle {
    from { transform: translateY(22px) rotate(-1deg); opacity: 0; }
    to   { transform: translateY(0) rotate(-4deg); opacity: 1; }
  }
}

/* ---- the device ------------------------------------------------------
   Acrílico negro glossy, 7×7 cm, 5 mm, anillo de aluminio a ras.
   Container units so the face scales with the object wherever it appears. */

.device {
  position: relative; aspect-ratio: 1; border-radius: 17%;
  container-type: inline-size;
  background: linear-gradient(145deg, #2c2c31 0%, #0e0e11 42%, #17171b 100%);
  box-shadow:
    inset 0 0 0 3px #c9ccd1,
    inset 0 0 0 4px #7c8087,
    inset 0 1px 0 5px rgba(255, 255, 255, 0.06),
    0 60px 90px -30px rgba(10, 10, 10, 0.5),
    0 12px 24px -12px rgba(10, 10, 10, 0.35);
  display: grid; place-items: center; color: #fff; text-align: center;
}
.device::before {
  content: ''; position: absolute; inset: 4px; border-radius: 15%; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 24%, transparent 42%),
    radial-gradient(60% 40% at 22% 12%, rgba(255, 255, 255, 0.16), transparent 60%);
}
.device .face { position: relative; display: grid; gap: 1.6cqw; justify-items: center; }
.device .mark { font-weight: 800; font-size: 14cqw; letter-spacing: -0.035em; line-height: 1; }
.device .label { font-size: 3.6cqw; letter-spacing: 0.16em; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.device .nfc { width: 8cqw; margin-top: 1.4cqw; color: rgba(255, 255, 255, 0.7); }

/* ---- chapters -------------------------------------------------------- */

.chapter { padding: var(--chapter) 0; }
.chapter + .chapter .wrap { border-top: 1px solid var(--rule); padding-top: var(--chapter); }
.chapter + .chapter { padding-top: 0; }

/* Problema: cuatro pasos hoy, uno con Toca. */
.compare { margin-top: 56px; display: grid; gap: 40px; }
.compare-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.compare-tag { font-weight: 700; font-size: 15px; padding-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.steps li { border-top: 2px solid var(--rule); padding-top: 14px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 12.5px; color: var(--graphite); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.steps b { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.steps span { display: block; font-size: 14.5px; color: var(--graphite); margin-top: 3px; line-height: 1.45; }
.steps.one { grid-template-columns: 1fr; }
.steps.one li { border-top-color: var(--ink); }
.steps.one li::before { color: var(--ink); font-weight: 700; }

/* Producto: diagrama anotado. */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 8px; }
.diagram { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 440; margin: 0 auto; }
.diagram .device { position: absolute; left: 21%; top: 17%; width: 58%; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.leaders path { fill: none; stroke: var(--aluminum); stroke-width: 1.5; }
.leaders circle { fill: var(--aluminum); }
.callout { position: absolute; font-size: 13.5px; line-height: 1.35; color: var(--graphite); max-width: 150px; }
.callout b { display: block; color: var(--ink); font-weight: 700; font-size: 15px; }
.callout.tl { left: 0; top: 2%; }
.callout.bl { left: 0; bottom: 4%; }
.callout.tr { right: 0; top: 12%; text-align: right; }
.callout.br { right: 0; bottom: 8%; text-align: right; }
.spec-dl { display: none; }

.features { margin-top: 32px; display: grid; gap: 18px; }
.features li b { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.features li span { font-size: 15px; color: var(--graphite); }

.places { margin-top: 36px; }
.places-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); }
.places-tabs button {
  background: none; border: 0; padding: 0 0 12px; margin-bottom: -1px; cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: var(--graphite); border-bottom: 2px solid transparent;
}
.places-tabs button[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--ink); }
.places-panel { padding-top: 16px; font-size: 15.5px; color: var(--graphite); max-width: 44ch; }
.places-panel b { color: var(--ink); font-weight: 700; }

/* Destinos: lista + teléfono. */
.destinos { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 56px; }
.dest-list { border-top: 1px solid var(--rule); }
.dest-list button {
  width: 100%; text-align: left; display: grid; gap: 3px;
  padding: 15px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer;
}
.dest-list b { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; transition: color 0.15s; }
.dest-list span { font-size: 14.5px; color: var(--graphite); max-width: 52ch; }
.dest-list button:hover b { color: var(--signal); }
.dest-list button[aria-selected='true'] b { color: var(--signal); }
.dest-list button[aria-selected='true'] { border-bottom-color: var(--ink); }

.phone {
  width: 258px; aspect-ratio: 258 / 540; border-radius: 42px; background: var(--ink); padding: 10px;
  margin: 0 auto; position: sticky; top: 104px;
  box-shadow: 0 50px 80px -30px rgba(10, 10, 10, 0.45), inset 0 0 0 1.5px #3a3a3f;
}
.screen { background: #fff; border-radius: 33px; height: 100%; padding: 58px 20px 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.island { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 12px; background: var(--ink); }
.s-brand { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--graphite); }
.s-brand i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; font-style: normal; }
.s-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 22px; }
.s-sub { font-size: 13.5px; color: var(--graphite); margin-top: 6px; }
.s-lines { margin-top: 18px; flex: 1; }
.s-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.s-lines div span:last-child { color: var(--graphite); font-variant-numeric: tabular-nums; }
.s-stars { display: flex; gap: 6px; margin-top: 18px; }
.s-stars i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--rule); }
.s-stars i.on { background: var(--ink); border-color: var(--ink); }
.s-btn { margin-top: 18px; height: 42px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13.5px; font-weight: 600; }
.s-note { font-size: 12px; color: var(--graphite); margin-top: 8px; text-align: center; }

/* Plataforma: el panel real. */
.browser {
  margin-top: 48px; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--rule); box-shadow: 0 40px 90px -30px rgba(10, 10, 10, 0.35);
}
.browser .bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--rule); background: #f3f4f2; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d9d6; }
.browser .addr { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 6px; background: #fff; border: 1px solid var(--rule); font-size: 12px; color: var(--graphite); display: grid; place-items: center; }
.browser img { width: 100%; height: auto; }
.browser-caption { margin-top: 14px; font-size: 13.5px; color: var(--graphite); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.three div { border-top: 2px solid var(--rule); padding-top: 14px; }
.three b { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.three span { font-size: 15px; color: var(--graphite); }

/* Modelo */
.model { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 48px; }
.model > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.model h3 { margin-bottom: 8px; }
.model p { color: var(--graphite); font-size: 16px; max-width: 40ch; }
.model .price { display: block; margin-top: 14px; font-size: 14.5px; }
.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.six div { border-top: 1px solid var(--rule); padding-top: 14px; }
.six b { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.six span { font-size: 15px; color: var(--graphite); }

/* Visión */
.vision h2 { max-width: 20ch; }

/* Empecemos: el único campo oscuro. */
.signup { background: var(--ink); color: #fff; padding: var(--chapter) 0; }
.signup .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.signup h2 { color: #fff; }
.signup .lede { color: #a0a4ab; }
.checks { margin-top: 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.checks svg { flex: none; color: #fff; }

.intent { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.intent button {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid #333338; background: transparent;
  color: #cfd2d8; font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.intent button[aria-pressed='true'] { background: #fff; color: var(--ink); border-color: #fff; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13.5px; color: #a0a4ab; margin-bottom: 7px; }
.form input:not([type='checkbox']) {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid #2a2a2f; background: #141417; color: #fff; font: inherit; font-size: 15.5px;
}
.form input:not([type='checkbox']):focus { border-color: var(--signal); outline: none; }
.check { display: flex; gap: 12px; align-items: flex-start; padding-top: 4px; }
.check input { margin-top: 5px; width: 16px; height: 16px; accent-color: #fff; }
.check b { display: block; font-size: 15px; font-weight: 600; }
.check span { font-size: 13.5px; color: #a0a4ab; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form-foot p { font-size: 13px; color: #a0a4ab; max-width: 34ch; }

footer { background: var(--ink); color: #a0a4ab; }
footer .wrap { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 28px; padding-bottom: 36px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .wordmark { color: #fff; }
footer nav { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
footer nav a { font-size: 14.5px; }
footer nav a:hover { color: #fff; }
footer .copy { font-size: 13.5px; }

/* ---- responsive ------------------------------------------------------ */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .stage { justify-content: flex-start; padding: 8px 0 0; }
  .hero .device { width: min(100%, 300px); }
  .compare-row { grid-template-columns: 1fr; gap: 12px; }
  .compare-tag { padding-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product, .destinos, .model, .signup .grid { grid-template-columns: 1fr; }
  .diagram { aspect-ratio: auto; max-width: 300px; margin: 0 0 32px; }
  .diagram .device { position: relative; left: auto; top: auto; width: 100%; }
  .leaders, .callout { display: none; }
  .spec-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin-top: 28px; font-size: 15px; }
  .spec-dl dt { font-weight: 700; }
  .spec-dl dd { color: var(--graphite); }
  .phone { position: static; margin-top: 40px; }
  .three, .six { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .dest-list button { grid-template-columns: 1fr; gap: 4px; }
  .dest-list span { text-align: left; }
}
