/* Teky · landing. Sistema Elytek: lienzo blanco, bandas Oat, un panel Espresso, pills Ledger Brown, cobre solo para descargar. */

@font-face { font-family: 'Inter Variable'; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url('fonts/inter-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Variable'; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url('fonts/inter-latin-ext-wght.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/plex-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'Adamina'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/adamina-400.woff2') format('woff2'); }

:root {
  --paper: #ffffff;
  --ink: #111111;
  --graphite: #595959;
  --oat: #f7f4f1;
  --line: #e6dfd8;
  --brown: #3b281d;
  --espresso: #211006;
  --copper: #e07122;
  --copper-hover: #ea7f33;
  --copper-text: #a8500d;
  --green: #1e681d;
  --sans: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --serif: 'Adamina', Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scrollbar-color: var(--brown) var(--oat); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--copper); }
::selection { background: #f6d3b8; color: var(--espresso); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 6px; }
.plan :focus-visible { outline-color: var(--copper); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 16px; top: 12px; z-index: 50; background: var(--brown); color: #fff; padding: 12px 18px; border-radius: 9999px; text-decoration: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---- botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 500 16px/1 var(--sans); letter-spacing: -0.2px;
  padding: 17px 24px; border-radius: 9999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { padding: 20px 30px; font-size: 18px; }
.btn-sm { padding: 12px 18px; font-size: 15px; }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; }
@media (max-width: 420px) { .btn-lg { padding: 18px 22px; font-size: 17px; } }
.btn-copper { background: var(--copper); color: var(--espresso); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset; }
.btn-brown { background: var(--brown); color: #fff; box-shadow: rgba(255,255,255,.08) 0 1px 0 0 inset; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn-copper:hover { background: var(--copper-hover); transform: translateY(-2px); }
  .btn-brown:hover { background: #4a342a; }
}
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: rgba(17,17,17,.3); padding: 8px 2px; }
.textlink svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .textlink:hover { text-decoration-color: currentColor; } .textlink:hover svg { transform: translateX(4px); } }

/* ---- cabecera ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; }
.brand-name { font-size: 24px; font-weight: 600; letter-spacing: -1px; }
.brand-pc { font-size: 15px; font-weight: 500; color: var(--copper-text); letter-spacing: 0; }
.nav { display: flex; gap: 28px; margin-left: auto; margin-right: 8px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--graphite); padding: 8px 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--copper-text); } }
@media (max-width: 820px) { .nav { display: none; } .bar { min-height: 62px; } }

/* ---- hero ---- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); background: var(--paper); position: relative; z-index: 2; }
.demo { transform: translateY(clamp(28px, 4.5vw, 64px)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
h1 { font-size: clamp(40px, 5.7vw, 80px); font-weight: 400; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--graphite); margin-top: clamp(20px, 2.4vw, 28px); max-width: 34em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(24px, 3vw, 36px); }
.fineprint { margin-top: 18px; font-size: 14.5px; color: var(--graphite); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- ventana de demostración ---- */
.win { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(33,16,6,.04), 0 16px 30px -14px rgba(33,16,6,.3), 0 4px 10px -4px rgba(33,16,6,.1); }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--oat); border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8cec5; }
.win-title { font-size: 13px; font-weight: 500; color: var(--graphite); }
.demo-flag { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--copper-text); background: #fff; border: 1px solid #ecc9ae; padding: 4px 10px; border-radius: 9999px; white-space: nowrap; }
.win-body { padding: clamp(16px, 2.4vw, 26px); }
.inv-head { display: grid; grid-template-columns: 1.7fr 1fr .9fr; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.inv-head dt { font-size: 12px; color: var(--graphite); margin-bottom: 3px; }
.inv-head dd { font-size: 14.5px; font-weight: 500; }
.inv-head dd.mono { font-size: 13.5px; }
.lines { width: 100%; border-collapse: collapse; margin-top: 4px; }
.lines th, .lines td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.lines thead th { font-size: 12px; font-weight: 500; color: var(--graphite); padding: 12px 0 8px; }
.lines tbody th { font-size: 14.5px; font-weight: 500; padding-right: 10px; }
.lines .c-qty { text-align: center; width: 112px; }
.lines .c-price { text-align: right; width: 78px; color: var(--graphite); font-size: 13.5px; }
.lines .c-amt { text-align: right; width: 88px; font-size: 13.5px; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 9999px; padding: 2px; background: #fff; }
.stepper button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--oat); color: var(--brown); font: 500 17px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background-color .15s; }
.stepper output { min-width: 26px; text-align: center; font-size: 14px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .stepper button:hover { background: #ecdfd3; } }
.stepper button:active { background: #e2d0c1; }
.totals { margin-top: 14px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--graphite); }
.totals dd { color: var(--ink); font-size: 14px; }
.totals .grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 16px; }
.totals .grand dd { font-size: 20px; font-weight: 500; }
.issue { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.issue-hint { font-size: 13.5px; color: var(--graphite); flex: 1 1 200px; line-height: 1.4; }
.result { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #eaf3e9; color: #153d14; }
.result[hidden] { display: none; }
.result-ico { width: 30px; height: 30px; flex: none; color: var(--green); }
.result-title { font-weight: 600; font-size: 16px; color: #153d14; }
.result-line { font-size: 14px; margin-top: 2px; }
.result-line .mono { font-weight: 500; font-size: 14px; }
.result-note { font-size: 12.5px; color: #3d5d3c; margin-top: 6px; line-height: 1.35; }
.result.show { animation: result-in .6s var(--ease) both; }
.result.show .tick { stroke-dasharray: 22; stroke-dashoffset: 22; animation: tick .5s .25s var(--ease) forwards; }
@keyframes result-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tick { to { stroke-dashoffset: 0; } }
@media (max-width: 520px) {
  .inv-head { grid-template-columns: 1fr 1fr; } .inv-head div:first-child { grid-column: 1 / -1; }
  .lines .c-price { display: none; } .lines .c-qty { width: 100px; }
  .win-title { display: none; } .demo-flag { margin-left: auto; }
}

/* ---- bandas y títulos ---- */
h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 400; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; max-width: 15em; }
h3 { font-weight: 400; letter-spacing: -0.03em; }
.band { background: var(--oat); }
.ledger { padding: calc(clamp(28px, 4.5vw, 64px) + clamp(40px, 6vw, 88px)) 0 var(--section); position: relative; z-index: 1; }
.faq { padding: var(--section) 0; }
.rows { margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 5vw, 80px); padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows li > * { transition: transform .3s var(--ease), color .2s; }
.rows h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; }
.rows p { color: var(--graphite); font-size: clamp(16px, 1.4vw, 18px); max-width: 38em; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .rows li:hover > * { transform: translateX(12px); } .rows li:hover h3 { color: var(--copper-text); } }
@media (max-width: 760px) { .rows li { grid-template-columns: 1fr; } }

/* ---- 30 dias ---- */
.trial { padding: var(--section) 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin-top: clamp(36px, 5vw, 72px); position: relative; counter-reset: s; }
.steps::before, .steps::after { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--brown); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.steps.in::after { transform: scaleX(1); }
.steps li { position: relative; padding-top: 46px; }
.steps li::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--brown); }
.steps li:last-child::before { background: var(--copper); border-color: var(--copper); }
.steps h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; }
.steps p { margin-top: 12px; color: var(--graphite); font-size: 17px; max-width: 20em; text-wrap: pretty; }
.trial-cta { margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px 0; padding-left: 52px; }
  .steps::before, .steps::after { left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; transform-origin: top; }
  .steps::after { transform: scaleY(0); } .steps.in::after { transform: scaleY(1); }
  .steps li { padding-top: 0; } .steps li::before { left: -52px; top: 2px; }
}

/* ---- plan ---- */
.plan-wrap { padding: 0 0 var(--section); }
.plan { background: var(--espresso); color: #fff; border-radius: 16px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.plan h2 { color: #fff; max-width: 11em; }
.checks { margin-top: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: rgba(255,255,255,.86); }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--copper); }
.price-card { background: rgba(255,255,255,.06); border-radius: 14px; padding: clamp(24px, 3vw, 40px); box-shadow: rgba(255,255,255,.08) 0 1px 0 0 inset; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .cur { font-family: var(--serif); font-size: 28px; color: rgba(255,255,255,.8); }
.price .amt { font-family: var(--serif); font-size: clamp(72px, 9vw, 104px); line-height: .9; letter-spacing: -0.03em; }
.price .per { font-size: 18px; color: rgba(255,255,255,.75); }
.price-sub { margin-top: 14px; color: rgba(255,255,255,.78); font-size: 16px; max-width: 24em; }
.price-card .btn { margin-top: 24px; }
.price-note { margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.72); }
.price-note a { color: #fff; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .price-note a:hover { color: var(--copper); } }
@media (max-width: 900px) { .plan { grid-template-columns: minmax(0, 1fr); } }

/* ---- preguntas ---- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq h2 { max-width: 8em; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; letter-spacing: -0.3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%233b281d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--graphite); max-width: 40em; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--copper-text); } }
@media (max-width: 800px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- cierre ---- */
.closing { padding: var(--section) 0; overflow: hidden; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.closing h2 { max-width: 10em; }
.closing .lead { margin-bottom: clamp(24px, 3vw, 36px); }
.closing-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 38%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 800px) { .closing-grid { grid-template-columns: minmax(0, 1fr); } .closing-photo { order: -1; margin: 0 -20px; } }

/* ---- pie ---- */
.site-footer { background: var(--oat); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-legal { margin-top: 12px; color: var(--graphite); line-height: 1.5; }
.foot-title { font-weight: 600; margin-bottom: 10px; font-size: 14px; }
.foot-grid ul { display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; color: var(--graphite); }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: var(--copper-text); text-decoration: underline; text-underline-offset: 4px; } }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--graphite); font-size: 13.5px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .steps::after { transform: none; }
}

/* ---- pagina "instalador proximamente" ---- */
.soon { padding-top: clamp(64px, 12vw, 160px); padding-bottom: clamp(64px, 12vw, 160px); min-height: 70vh; }
.soon h1 { max-width: 12em; }
