/* focusecur.com: software de seguridad, sobrio y técnico. Infografías animadas hechas en código. */
:root {
  /* web clara; las piezas de producto (consola, navegador) y las bandas oscuras redefinen estos valores más abajo */
  --bg: #f6f7f9; --bg-2: #eef0f4; --surface: #ffffff; --surface-2: #f8f9fb; --line: #e2e5eb; --line-2: #d0d5de;
  --text: #0f1218; --dim: #4a5161; --faint: #646b7b;
  --amber: #ffb81c; --amber-ink: #1a1300; --green: #13824f; --red: #c63a2c; --amber-text: #8f5c00;
  --paper: #f4f5f7; --paper-2: #ffffff; --ink: #0f1218; --ink-dim: #4b5263; --rule: #dde0e6;
  --sans: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Red Hat Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%230f1218' stroke-opacity='.05'/%3E%3C/svg%3E");
}
/* oscuro: piezas de producto y bandas de contraste */
.panel, .tamper, .final, .day {
  --bg: #0b0d10; --bg-2: #0f1216; --surface: #141820; --surface-2: #1a1f29; --line: #232937; --line-2: #2f3646;
  --text: #e9ecf2; --dim: #a7afbd; --faint: #8b93a6; --green: #3ecf8e; --red: #ff6b5e; --amber-text: #ffb81c;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E");
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #2f3646 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 12px 18px; border-radius: 8px; border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s; }
.btn.primary { background: var(--amber); color: var(--amber-ink); }
.btn.primary:hover { background: #ffc84a; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: #9aa2b1; background: rgba(15,18,24,.03); }
.final .btn.ghost:hover { border-color: #4a5266; background: rgba(255,255,255,.04); }
.btn.big { font-size: 16px; padding: 15px 22px; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- cabecera ---------- */
.rail { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 32px; padding: 14px var(--pad); background: rgba(255,255,255,.9); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--sans); letter-spacing: -.02em; color: var(--text); }
.mark-icon { width: 28px; height: 28px; padding: 5px; border-radius: 7px; background: var(--amber); color: var(--amber-ink); stroke-width: 2.4; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--dim); text-decoration: none; }
.nav a:hover { color: var(--text); }
.rail-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.rail-link { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; }
.rail-link:hover { color: var(--amber-text); }
.rail .btn { padding: 10px 15px; font-size: 14px; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--dim); border: 1px solid var(--line-2); border-radius: 7px; padding: 9px 10px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { color: var(--text); }
.langs-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; display: grid; min-width: 184px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.7); }
.langs-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 10px; border-radius: 6px; text-decoration: none; font-size: 15px; color: var(--dim); }
.langs-menu a b { font: 500 12px/1.6 var(--mono); color: var(--faint); }
.langs-menu a:hover, .langs-menu a[aria-current] { background: var(--surface-2); color: var(--text); }
.langs-menu a[aria-current] b { color: var(--amber-text); }
.menu { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; padding: 0 10px; }
.menu span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- secciones ---------- */
section { padding: clamp(80px, 9vw, 136px) max(var(--pad), calc((100% - var(--max)) / 2)); }
h2 { font: 650 clamp(32px, 4.2vw, 54px)/1.08 var(--sans); letter-spacing: -.022em; text-wrap: balance; }
h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--dim); max-width: 60ch; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.sec-head:has(h2:only-child) { grid-template-columns: 1fr; }

/* ---------- portada ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 112px); background: var(--grid), var(--bg); }
.hero h1 { font: 700 clamp(42px, 5.6vw, 80px)/1.04 var(--sans); letter-spacing: -.028em; text-wrap: balance; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.terms { font: 400 14px/1.4 var(--mono); color: var(--faint); }

/* infografía de la portada */
.stage { position: relative; min-width: 0; padding-bottom: 72px; }
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 44px 90px -40px rgba(15,18,24,.75), 0 1px 0 rgba(255,255,255,.04) inset; overflow: hidden; }
.panel-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.panel-title { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); color: var(--text); }
.panel-title svg { width: 16px; height: 16px; color: var(--amber); }
.live { display: inline-flex; align-items: center; gap: 7px; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--green); }
.live i { width: 7px; height: 7px; background: var(--green); border-radius: 1px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.con-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.con-kpis div { padding: 14px 16px; border-left: 1px solid var(--line); }
.con-kpis div:first-child { border-left: 0; }
.con-kpis small { display: block; font-size: 12px; color: var(--faint); }
.con-kpis b { font: 600 26px/1.2 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.con-head, .feed li { display: grid; grid-template-columns: 4.2em minmax(0, 1.05fr) minmax(0, 1.2fr) 7.4em; gap: 10px; align-items: center; padding: 0 16px; }
.con-head { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.feed { min-height: 236px; }
.feed li { font: 400 13px/1 var(--mono); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; animation: rowIn .6s cubic-bezier(.2,.8,.2,1) both; }
.feed li span { overflow: hidden; text-overflow: ellipsis; }
.feed li .t { color: var(--faint); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); background: rgba(255,184,28,.08); } to { opacity: 1; transform: none; background: transparent; } }
.st { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.st.amber { color: var(--amber-text); } .st.red { color: var(--red); } .st.green { color: var(--green); }
.browser { position: absolute; right: -16px; bottom: 0; width: min(62%, 380px); z-index: 2; }
.browser .panel-bar { justify-content: flex-start; background: var(--surface-2); }
.tab { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--sans); color: var(--dim); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; }
.tab svg { width: 13px; height: 13px; color: var(--red); }
.addr { margin: 10px 12px 0; font: 400 12px/1 var(--mono); color: var(--faint); background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.addr b { color: var(--text); font-weight: 500; }
.blocked { padding: 26px 22px 28px; display: grid; gap: 8px; }
.blocked-icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 4px; }
.blocked-title { font: 600 18px/1.3 var(--sans); letter-spacing: -.01em; }
.blocked-text { font-size: 14px; color: var(--dim); }
.browser.hit { animation: hit .5s cubic-bezier(.3,.7,.2,1); }
@keyframes hit { 0% { transform: translateY(6px); box-shadow: 0 0 0 1px var(--red), 0 40px 80px -36px rgba(0,0,0,.9); } 100% { transform: none; } }
.beam { display: none; }

/* compatibilidad */
.compat { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; padding: 26px var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); font: 500 15px/1 var(--sans); color: var(--dim); }
.compat span { display: inline-flex; align-items: center; gap: 8px; }
.compat svg { width: 16px; height: 16px; }
.compat-title { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* ---------- tres capas: esquema ---------- */
.arch { display: grid; gap: 26px; }
.arch-req { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; min-height: 36px; }
.arch-label { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.arch-req strong { font: 500 24px/1 var(--mono); color: var(--text); }
.arch-out { font: 500 15px/1.3 var(--sans); color: var(--dim); }
.arch-out.blocked { color: var(--red); }
.arch-out.ok { color: var(--green); }
.arch-pc { position: relative; border: 1px dashed var(--line-2); border-radius: 18px; padding: 54px 28px 30px; background: var(--grid), var(--bg-2); }
.arch-pc-label { position: absolute; top: 18px; left: 28px; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); color: var(--dim); }
.arch-pc-label svg { width: 15px; height: 15px; }
.arch-net { position: absolute; top: 18px; right: 28px; font: 500 13px/1 var(--mono); color: var(--faint); }
.arch-layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; padding-top: 22px; }
.arch-layers::before { content: ''; position: absolute; left: 0; right: -28px; top: 0; height: 2px; background: var(--line-2); }
.arch-layers::after { content: ''; position: absolute; left: 0; top: -1px; height: 4px; width: var(--progress, 0%); background: var(--amber); border-radius: 2px; transition: width .6s cubic-bezier(.3,.7,.2,1); }
.stop { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 24px; transition: border-color .3s, background .3s; min-width: 0; }
.stop-state { position: absolute; top: -29px; left: 22px; width: 14px; height: 14px; border-radius: 3px; background: var(--bg); border: 2px solid var(--line-2); transition: background .3s, border-color .3s; }
.stop.passed .stop-state { background: var(--green); border-color: var(--green); }
.stop.hit { border-color: rgba(255,107,94,.6); background: rgba(255,107,94,.06); }
.stop.hit .stop-state { background: var(--red); border-color: var(--red); }
.stop h3 { margin-bottom: 8px; }
.stop p { font-size: 15px; color: var(--dim); }

/* ---------- antimanipulación ---------- */
.tamper { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tamper-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.log { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 20px; }
.log li { display: grid; grid-template-columns: 6em 7.5em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .5s; }
.log li:last-child { border-bottom: 0; }
.log li.on { background: rgba(255,255,255,.035); }   /* paso activo de la cronología: sin atenuar las demás (contraste) */
.log time { font: 400 13px/1 var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.log b { display: block; font-weight: 600; font-size: 16px; }
.log div span { font-size: 14px; color: var(--dim); }
.measured { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px; display: grid; align-content: start; gap: 18px; }
.measured-title { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.measured dl { display: grid; gap: 18px; }
.measured dl div { display: grid; grid-template-columns: 4.6em 1fr; gap: 6px 14px; align-items: baseline; }
.measured dt { font: 500 15px/1 var(--mono); color: var(--dim); }
.measured dt b { font: 650 34px/1 var(--sans); letter-spacing: -.03em; color: var(--text); }
.measured dd { font-size: 14px; color: var(--dim); }
.measured i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.measured i::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); background: var(--green); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1.2s cubic-bezier(.3,.7,.2,1); }
.guards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.guards > div { border-top: 1px solid var(--line-2); padding-top: 20px; min-width: 0; }
.guards h3 { margin-bottom: 8px; }
.guards p { color: var(--dim); font-size: 15px; }

/* ---------- funciones y especificaciones: secciones claras, como documentación técnica ---------- */
.features, .specs, .faq { background: var(--paper); color: var(--ink); }
.features .lead, .specs .lead, .faq .lead { color: var(--ink-dim); }
.speclist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--ink); }
.speclist > div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.speclist dt { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.speclist dd { color: var(--ink-dim); font-size: 15.5px; }
.speclist .later dt span, .speclist .later dd { color: #636a78; }
.speclist .later em { display: block; width: max-content; margin-top: 8px; font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid #b8bdc7; border-radius: 5px; padding: 5px 7px; }
.specs { background: var(--paper-2); border-top: 1px solid var(--rule); }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.spec-table th { text-align: left; vertical-align: top; width: 15em; padding: 22px 24px 22px 0; font: 500 13px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--rule); }
.spec-table td { padding: 20px 0; color: var(--ink-dim); font-size: 16px; border-bottom: 1px solid var(--rule); }

/* ---------- privacidad ---------- */
.priv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.ledger { width: 100%; border-collapse: collapse; }
.ledger caption { text-align: left; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-bottom: 14px; }
.ledger th { text-align: left; font-weight: 500; font-size: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.ledger td { text-align: right; padding: 16px 0; border-top: 1px solid var(--line); width: 7em; }

/* ---------- cómo funciona ---------- */
.how { background: var(--bg-2); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; min-width: 0; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); font: 500 14px/1 var(--mono); color: var(--amber-ink); background: var(--amber); border-color: var(--amber); margin-bottom: 22px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--dim); font-size: 15px; }
.steps code { display: block; margin-top: 18px; font: 400 13px/1.5 var(--mono); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; overflow-x: auto; white-space: nowrap; }

/* ---------- precios ---------- */
.toggle { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 4px; margin-bottom: 28px; }
.toggle button { font: 600 14px/1 var(--sans); border: 0; border-radius: 7px; background: transparent; color: var(--dim); padding: 10px 14px; cursor: pointer; }
.toggle button[aria-checked="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.toggle small { font: 500 12px/1 var(--mono); color: var(--green); margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; display: flex; flex-direction: column; min-width: 0; }
.plan.main { background: var(--surface); border-color: var(--text); box-shadow: 0 24px 48px -28px rgba(15,18,24,.35); }
.plan-tag { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 12px; }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--dim); font-size: 15px; margin-top: 6px; min-height: 3.2em; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 22px; }
.plan-price strong { font: 650 52px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--faint); font-size: 14px; }
.plan-per { color: var(--faint); font: 400 13px/1.4 var(--mono); min-height: 20px; margin: 10px 0 22px; }
.plan ul { display: grid; margin-bottom: 28px; border-top: 1px solid var(--line); }
.plan li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li.later { color: var(--faint); }
.plan .btn { margin-top: auto; }
.volume { width: 100%; border-collapse: collapse; margin-top: 32px; }
.volume caption { text-align: left; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-bottom: 14px; }
.volume td { border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); padding: 16px 18px; }
.volume td:first-child { border-left: 0; padding-left: 0; }
.volume b { display: block; font: 600 28px/1.1 var(--sans); letter-spacing: -.02em; }
.volume span { color: var(--dim); font-size: 14px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* ---------- preguntas ---------- */
.qa { border-top: 1px solid var(--ink); max-width: 920px; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font: 600 19px/1.35 var(--sans); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; font: 400 26px/1 var(--mono); color: var(--ink-dim); transition: transform .25s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 24px; color: var(--ink-dim); max-width: 68ch; }

/* ---------- cierre, contacto y pie ---------- */
.final { text-align: center; background: var(--grid), var(--bg); }
.final h2 { font-size: clamp(36px, 5vw, 68px); }
.final .lead { margin: 18px auto 32px; }
.final .actions { justify-content: center; }
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.contact-side { color: var(--dim); max-width: 38ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--dim); min-width: 0; }
.form label.full { grid-column: 1 / -1; }
.form input, .form textarea { font: 400 16px/1.4 var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; width: 100%; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--amber); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-msg { font-size: 15px; font-weight: 500; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--red); }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 56px max(var(--pad), calc((100% - var(--max)) / 2)) 64px; border-top: 1px solid var(--line); font-size: 15px; color: var(--dim); }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot h4 { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.foot div > a:not(.mark) { display: block; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--text); }

/* ---------- movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed li, .browser.hit, .live i { animation: none; }
  .arch-layers::after, .measured i::after { transition: none; }
}

/* ---------- anchos ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .nav.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); padding: 10px var(--pad) 18px; border-bottom: 1px solid var(--line); gap: 0; }
  .nav.open a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .hero, .sec-head, .tamper-grid, .priv-grid, .contact-grid, .speclist { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .arch-layers, .guards, .steps, .plans { grid-template-columns: 1fr; }
  .arch-layers { padding-top: 0; padding-left: 26px; }
  .arch-layers::before { left: 0; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .arch-layers::after { left: -1px; top: 0; width: 4px; height: var(--progress, 0%); transition: height .6s cubic-bezier(.3,.7,.2,1); }
  .stop-state { top: 22px; left: -33px; }
  .volume tr { display: grid; grid-template-columns: 1fr 1fr; }
  .volume td { border-left: 0; padding-left: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .spec-table th { width: auto; display: block; padding-bottom: 4px; border-bottom: 0; }
  .spec-table td { display: block; padding-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rail { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .mark span { display: none; }
  .rail-end { gap: 8px; }
  .rail-end .rail-link { display: none; }
  .rail .btn { padding: 9px 12px; font-size: 13px; }
  .stage { padding-bottom: 150px; }
  .browser { right: 0; width: 86%; }
  .con-head, .feed li { grid-template-columns: 3.6em minmax(0, 1fr) 6.6em; }
  .con-head span:nth-child(2), .feed li .d { display: none; }
  .con-kpis b { font-size: 20px; }
  .log li { grid-template-columns: 1fr; gap: 6px; }
  .speclist > div { grid-template-columns: 1fr; gap: 6px; }
  .arch-pc { padding: 54px 16px 20px; }
  .arch-pc-label { left: 16px; } .arch-net { right: 16px; }
}

/* ---------- web clara: cabecera con foto, valor, ritmo de bandas ---------- */
.hero { isolation: isolate; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(246,247,249,.8); }   /* capa uniforme para leer el texto */
.hero h1 { color: var(--text); }
.hero .lead { color: #343a48; }
.compat { background: var(--surface); }
.value { background: var(--surface); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.values li { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); min-width: 0; }
.values li + li { padding-left: 28px; }
.values li:last-child { border-right: 0; }
.values h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.values p { color: var(--dim); font-size: 16px; }
.layers { background: var(--bg); }
.arch-pc { background: var(--grid), var(--surface); }
.stop { background: var(--surface-2); }
.stop-state { background: var(--surface); }
.stop.hit { background: #fdf0ee; border-color: #e7a59c; }
.tamper { background: var(--grid), #0b0d10; }
.features, .faq { background: var(--bg); color: var(--text); }
.specs { background: var(--surface); }
.features .lead, .specs .lead, .faq .lead { color: var(--dim); }
.privacy { background: var(--surface); border-top: 1px solid var(--line); }
.how { background: var(--bg); }
.steps li { background: var(--surface); }
.steps code { background: #0f1218; color: #e9ecf2; border-color: #0f1218; }
.pricing { background: var(--surface); border-top: 1px solid var(--line); }
.contact { background: var(--bg); }
.form input, .form textarea { background: var(--surface); }
.final { background: var(--grid), #0b0d10; }
.foot { background: var(--surface); }
@media (max-width: 1080px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values li:nth-child(2) { border-right: 0; }
  .values li:nth-child(3) { padding-left: 0; }
}
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* móvil: la foto de la cabecera pasa a banda arriba, encuadrada en los puestos de trabajo (no una franja vertical con la planta) */
@media (max-width: 860px) {
  .hero-bg { position: relative; inset: auto; z-index: 0; grid-row: 1; width: calc(100% + var(--pad) * 2); max-width: none; height: 240px; margin: calc(clamp(56px, 7vw, 104px) * -1) calc(var(--pad) * -1) 8px; object-position: 72% 45%; }
  .hero::before { display: none; }
}

/* titulares en la versión Display de la familia */
h1, h2, .hero h1, .plan-price strong, .measured dt b, .con-kpis b, .volume b { font-family: 'Red Hat Display', var(--sans); }

/* escritorio: la persona trabajando, a todo color en un marco, con el producto flotando encima sin taparla */
.stage-photo { display: none; }
@media (min-width: 861px) {
  .hero { background: var(--grid), var(--bg); }
  .hero-bg, .hero::before { display: none; }
  .stage { padding: 0 0 228px; }
  .stage-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 74% 40%; border-radius: 18px; box-shadow: 0 30px 60px -34px rgba(15,18,24,.45); }
  .stage .browser { top: 9%; left: -56px; right: auto; bottom: auto; width: min(40%, 262px); }
  .stage .console { position: absolute; right: -24px; bottom: 0; width: min(76%, 470px); }
  .stage .con-head, .stage .feed li { grid-template-columns: 3.6em minmax(0, 1fr) 7.4em; }
  .stage .con-head span:nth-child(2), .stage .feed li .d { display: none; }
  .stage .feed { min-height: 0; }
  .stage .feed li:nth-child(n+4) { display: none; }
  .stage .con-kpis b { font-size: 21px; }
}

/* privacidad sin foto: la tabla ocupa el ancho */
.priv-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

/* diagrama: un día de ejemplo en un PC, sin y con Focusecur (panel oscuro, como un informe de la consola) */
.day { position: relative; margin: 64px 0 0; padding: 30px 32px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); overflow: hidden; --p: 1; }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.day-head h3 { font-size: 20px; color: var(--text); }
.day-note { font: 500 12px/1.4 var(--mono); color: var(--faint); }
.day-body { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 0 40px; }
.day-chart { position: relative; padding-top: 28px; min-width: 0; }
.day-hours { position: absolute; inset: 0; pointer-events: none; }
.day-hours span { position: absolute; top: 0; bottom: 0; left: var(--a); font: 500 12px/1 var(--mono); color: var(--faint); transform: translateX(-50%); }
.day-hours span:first-child { transform: none; }
.day-hours span:last-child { transform: translateX(-100%); }
.day-hours span::after { content: ''; position: absolute; top: 20px; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.day-hours span:first-child::after { left: 0; }
.day-hours span:last-child::after { left: auto; right: 0; }
.lane { position: relative; padding-top: 14px; }
.lane + .lane { border-top: 1px dashed var(--line-2); }
.lane-name { margin-bottom: 10px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.track { position: relative; height: 124px; --y: 56px; }
[data-lane="with"] .track { height: 92px; --y: 22px; }
.track::before { content: ''; position: absolute; left: 0; top: var(--y); height: 12px; width: calc(var(--p) * 100%); border-radius: 6px; background: #2b3240; }
[data-lane="with"] .track::before { background: var(--amber); }
.ev { position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a)); opacity: 0; transition: opacity .4s; }
.day .shown, .day.static .ev { opacity: 1; }
.seg { position: absolute; left: 0; right: 0; top: var(--y); height: 12px; }
.waste .seg { background: var(--red); border-radius: 3px; box-shadow: 0 0 0 2px var(--bg-2); }
.threat .seg { left: -2px; right: auto; width: 4px; top: calc(var(--y) - 12px); height: 36px; border-radius: 2px; background: var(--red); box-shadow: 0 0 0 2px var(--bg-2); }
.lunch .seg { background: #4a5263; border-radius: 3px; box-shadow: 0 0 0 2px var(--bg-2); }
.block .seg { left: -14px; right: auto; top: calc(var(--y) - 8px); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--amber); display: grid; place-items: center; }
.block .seg svg { width: 13px; height: 13px; fill: var(--amber); }
.block.halt .seg { border-color: var(--green); }
.block.halt .seg svg { fill: var(--green); }
.cap { position: absolute; left: 0; bottom: 76px; width: max-content; max-width: 170px; display: grid; gap: 3px; }
.cap.low { bottom: auto; top: calc(var(--y) + 24px); }
.block .cap { left: -14px; top: calc(var(--y) + 28px); }
.cap b { font: 600 13px/1.25 var(--sans); color: var(--text); }
.cap small { font: 500 12px/1.3 var(--mono); color: var(--faint); white-space: nowrap; }
.waste .cap small, .threat .cap small { color: #ff9a90; }
.block .cap b { color: var(--amber); }
.block.halt .cap b { color: var(--green); }
.playhead { position: absolute; top: 20px; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--text); opacity: 0; pointer-events: none; transition: opacity .3s; }
.day.playing .playhead { opacity: .55; }
.day-log { display: none; }
.day-sum { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-left: 32px; border-left: 1px solid var(--line); }
.day-sum dt { font-size: 14px; line-height: 1.35; color: var(--dim); }
.day-sum dd { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.day-sum s { font: 500 15px/1 var(--mono); color: var(--faint); }
.day-sum b { font: 700 34px/1 'Red Hat Display', var(--sans); letter-spacing: -.02em; color: var(--amber); }
@media (max-width: 1080px) {
  .day-body { grid-template-columns: minmax(0, 1fr); }
  .day-sum { flex-direction: row; justify-content: space-between; padding: 24px 0 0; margin-top: 18px; border-left: 0; border-top: 1px solid var(--line); }
  .day-sum > div { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 860px) {
  /* móvil: las dos barras sin rótulos y, debajo, el registro de cada suceso */
  .day { padding: 22px 16px 20px; }
  .day-head { margin-bottom: 18px; padding-bottom: 16px; }
  .day-head h3 { font-size: 18px; }
  .day-chart { padding-top: 22px; }
  .lane { padding-top: 12px; }
  .track, [data-lane="with"] .track { height: 44px; --y: 16px; }
  .threat .seg { height: 28px; top: 8px; }
  .block .seg { left: -11px; top: 11px; width: 22px; height: 22px; }
  .block .seg svg { width: 11px; height: 11px; }
  .cap, .playhead { display: none; }
  .day-hours span:nth-child(even) { color: transparent; }
  .day-log { display: table; width: 100%; margin-top: 18px; border-collapse: collapse; }
  .day-log th { font: 600 12px/1.25 var(--sans); color: var(--faint); text-align: right; padding: 0 0 10px 8px; vertical-align: bottom; }
  .day-log td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 14px; }
  .day-log td:first-child { font: 500 12px/1.6 var(--mono); color: var(--faint); width: 48px; }
  .day-log td:nth-child(2) b { display: block; color: var(--text); font-weight: 600; }
  .day-log td:nth-child(2) small { display: block; font: 500 12px/1.4 var(--mono); color: var(--faint); margin-top: 2px; }
  .day-log td.bad, .day-log td.good { text-align: right; font-weight: 600; padding-left: 8px; white-space: nowrap; }
  .day-log td.bad { color: var(--red); }
  .day-log td.good { color: var(--amber); }
  .day-log td.halt { color: var(--green); }
  .day-sum { flex-direction: column; gap: 14px; }
  .day-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .day-sum dt { font-size: 13px; }
  .day-sum dd { margin: 0; flex-wrap: nowrap; }
  .day-sum b { font-size: 24px; white-space: nowrap; }
  .day-sum s { font-size: 13px; white-space: nowrap; }
}

/* ---------- foto de cabecera: escaneo que enciende el contorno de la persona y su equipo ---------- */
.shot { overflow: hidden; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: inherit; }
.shot .shot-lines { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 5px rgba(255, 184, 28, .55)); animation: shotReveal 2.8s cubic-bezier(.55, 0, .25, 1) .5s forwards, shotGlow 4.5s ease-in-out 3.6s infinite; }
.shot-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: #ffb81c; box-shadow: 0 0 16px 3px rgba(255, 184, 28, .5); opacity: 0; animation: shotBar 2.8s cubic-bezier(.55, 0, .25, 1) .5s forwards; pointer-events: none; }
@keyframes shotReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes shotBar { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes shotGlow { 50% { filter: drop-shadow(0 0 11px rgba(255, 184, 28, .8)); } }
.still .shot .shot-lines { animation: none; clip-path: none; }
.still .shot-scan { display: none; }
@media (prefers-reduced-motion: reduce) {
  .shot .shot-lines { animation: none; clip-path: none; }
  .shot-scan { display: none; }
}
.hero-bg.shot { object-position: 70% 40%; }
@media (min-width: 861px) {
  .stage-photo.shot { position: relative; object-position: 100% 50%; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .stage .browser { left: -12px; }
  .stage .console { right: -12px; }
}
