/* Layout: chapters, Apple-style (eyebrow, big headline, a pinned demo, then
   short paragraphs with a bold lead), with a thread down the left edge that
   draws itself as you scroll. Motion: GSAP + ScrollTrigger + Lenis; without
   them the page is complete and still. Tokens: the app's design system. */
@media (min-width: 1280px) { :root { --rail: 150px; } }
* { box-sizing: border-box; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.022em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }

/* ---------- Intro: the shield assembles from its shards ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--bg); }
html.intro-on .intro { display: grid; }
.intro svg { width: min(36vmin, 260px); overflow: visible; }
.intro .word { position: absolute; bottom: 18vh; font: 600 15px var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); }
.shard { transform-box: fill-box; transform-origin: center; }

/* ---------- Header ---------- */
.review { font-size: 13px; color: var(--text-2); text-align: center; padding: 8px var(--gutter); background: rgba(111,209,176,.10); border-bottom: 1px solid var(--line); }
.review b { color: var(--accent); }
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter);
  /* Never moves: at the top it blends into the hero; once you scroll, the
     glass and the edge fade in. Same height always, so nothing jumps. */
  background: rgba(0,0,0,.72); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  transition: background-color .6s ease, border-color .6s ease, backdrop-filter .6s ease, -webkit-backdrop-filter .6s ease;
}
html.fx header.top:not(.scrolled) { background: rgba(0,0,0,0); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
header.top .progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
.brand { display: flex; align-items: center; gap: 9px; font: 600 16px var(--display); color: var(--text); }
.brand img { width: 19px; height: 22px; display: block; }
header.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 13.5px; color: var(--text-2); }
.soon { font-size: 13px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
@media (max-width: 760px) { header.top nav { display: none; } header.top .soon { margin-left: auto; } }

/* ---------- The thread (left rail) ---------- */
.rail { display: none; }
@media (min-width: 1280px) {
  .rail { display: block; position: fixed; left: 28px; top: 50%; transform: translateY(-50%); z-index: 40; width: 120px; }
  .rail ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 26px; }
  .rail ol::before, .rail .fill { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
  .rail .fill { background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 8px var(--accent); }
  .rail li { position: relative; display: flex; align-items: center; gap: 12px; font: 11px/1 var(--mono); color: var(--text-3); letter-spacing: .04em; }
  .rail li i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); flex: none; transition: background .3s, border-color .3s, box-shadow .3s; }
  .rail li.passed i { background: var(--accent); border-color: var(--accent); }
  .rail li.on { color: var(--text); }
  .rail li.on i { box-shadow: 0 0 0 4px rgba(111,209,176,.18); }
  .rail .readout { margin-top: 26px; font: 10.5px var(--mono); color: var(--text-3); padding-left: 23px; }
}
main { padding-left: var(--rail); }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow .mono { color: var(--text-3); letter-spacing: .04em; margin-right: 10px; }
.headline { font-size: clamp(44px, 8vw, 104px); line-height: 1; }
.title { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.03; }
.lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--text-2); max-width: 34em; text-wrap: pretty; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; }
.copy { display: grid; gap: 20px; justify-items: center; text-align: center; padding-inline: var(--gutter); }
.copy.left { justify-items: start; text-align: left; }
.more { font-size: 17px; font-weight: 500; color: var(--accent); }
.more::after { content: " ›"; }
.chapter { padding-block: clamp(110px, 18vh, 200px) 0; display: grid; gap: clamp(36px, 6vh, 64px); }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Apple-style feature paragraphs: bold lead, grey sentence. */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px 40px; }
.features p { color: var(--text-3); font-size: 17px; line-height: 1.45; }
.features p b { color: var(--text); font-weight: 600; }
.features .ic { width: 30px; height: 30px; margin-bottom: 14px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat { border-top: 1px solid var(--line-strong); padding-top: 18px; display: grid; gap: 6px; }
.stat b { font: 600 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-3); font-size: 15px; }

/* ---------- App window (HTML stand-in until the real captures) ---------- */
.win {
  --s: 1; position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 1.1em; overflow: hidden;
  font: calc(var(--s) * clamp(6px, 1.02vw, 12.5px))/1.35 var(--body); color: var(--text);
  background: radial-gradient(90% 70% at 62% -10%, #0f3a31, #06171a 55%, #010303);
  border: 1px solid var(--line-strong); box-shadow: 0 50px 140px rgba(0,0,0,.7);
  display: grid; grid-template-columns: 23% 1fr;
}
.win .tb { position: absolute; top: 0; left: 0; display: flex; gap: .6em; padding: 1.15em 1.2em; z-index: 2; }
.win .tb i { width: 1.05em; height: 1.05em; border-radius: 50%; background: #ff5f57; }
.win .tb i:nth-child(2) { background: #febc2e; } .win .tb i:nth-child(3) { background: #28c840; }
.sb { background: rgba(255,255,255,.035); border-right: 1px solid var(--line); padding: 3.6em .9em 1em; display: flex; flex-direction: column; gap: .5em; min-width: 0; }
.sb .h { display: flex; justify-content: space-between; align-items: center; font-size: .8em; font-weight: 600; letter-spacing: .12em; color: var(--text-3); padding: 0 .4em; }
.sb .f { font-size: .92em; color: var(--text-3); border: 1px solid var(--line); border-radius: .7em; padding: .5em .7em; background: rgba(0,0,0,.25); }
.sb .r { display: flex; align-items: center; gap: .7em; padding: .45em .5em; border-radius: .7em; min-width: 0; }
.sb .r.on { background: rgba(111,209,176,.15); }
.sb .r .t { width: 2.1em; height: 2.1em; border-radius: .6em; flex: none; }
.sb .r .n { flex: 1; min-width: 0; display: grid; }
.sb .r .n b { font-weight: 500; font-size: 1.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.sb .r .n b .code { position: absolute; inset: 0; font-family: var(--mono); font-weight: 400; color: var(--text-2); opacity: 0; transition: opacity .4s; }
.sb .r .n small { font-size: .85em; color: var(--text-3); }
.sb .r .d { width: .65em; height: .65em; border-radius: 50%; background: var(--ok); flex: none; }
.sb .sec { display: flex; gap: .6em; padding: .3em .5em .3em 3.3em; font-size: .95em; color: var(--text-2); }
.sb .sec em { margin-left: auto; font-style: normal; color: var(--text-3); }
.sb .foot { margin-top: auto; display: grid; gap: .4em; font-size: .9em; color: var(--text-3); border-top: 1px solid var(--line); padding-top: .7em; }
.codes .sb .r .n b .real { opacity: 0; }
.codes .sb .r .n b .code { opacity: 1; }
.mn { padding: 3.4em 2em 1.4em; display: flex; flex-direction: column; gap: 1.2em; min-width: 0; position: relative; }
.mn .hd { display: flex; align-items: center; gap: 1.6em; }
.mn .hd .shield { width: 8em; height: 8em; flex: none; }
.mn .hd .st { display: grid; gap: .35em; min-width: 0; }
.mn .hd .st b { font: 600 2.3em/1.05 var(--display); letter-spacing: -.02em; }
.mn .hd .st span { color: var(--text-2); font-size: 1.05em; }
.hc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.hc div { border-radius: 1em; background: var(--surface); border: 1px solid var(--line); padding: .8em .9em; display: grid; gap: .2em; min-width: 0; }
.hc small { font-size: .78em; letter-spacing: .12em; font-weight: 600; color: var(--text-3); }
.hc span { font-size: .98em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tools { display: flex; align-items: center; gap: .8em; font-size: .95em; color: var(--text-3); }
.tools .search { flex: 1; border: 1px solid var(--line); border-radius: .7em; padding: .45em .8em; background: rgba(0,0,0,.25); }
.tools .add { font: 600 1em var(--display); color: var(--on-brand); background: var(--brand); border-radius: 999px; padding: .5em 1.1em; }
.fg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1em .9em; }
.fi { display: grid; gap: .45em; justify-items: center; min-width: 0; }
.fi .t { width: 100%; aspect-ratio: 1.12; border-radius: .9em; display: grid; place-items: center; font: 700 .85em var(--body); color: rgba(255,255,255,.92); letter-spacing: .04em; }
.fi span { font-size: .9em; color: var(--text-2); width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-pdf { background: linear-gradient(135deg, #F28B82, #C5443A); }
.g-pages { background: linear-gradient(135deg, #F7C26B, #E07A3B); }
.g-img { background: linear-gradient(135deg, #B29BFF, #6A55E0); }
.g-num { background: linear-gradient(135deg, #8FE38F, #2E9E4F); }
.g-xml { background: linear-gradient(135deg, #7FA8FF, #4B63E0); }
.g-folder { background: linear-gradient(135deg, #8BE0B8, #2FA58A); }
.g-other { background: linear-gradient(135deg, #9AA5A2, #5E6966); }
.drop-over { position: absolute; inset: .8em; border-radius: 1em; border: .18em dashed var(--accent); background: rgba(111,209,176,.12); display: grid; place-items: center; font: 600 2.2em var(--display); color: var(--accent); opacity: 0; z-index: 4; pointer-events: none; }
.chip { position: absolute; right: 1.2em; bottom: 1.1em; z-index: 5; font: 11px var(--mono); color: var(--text-3); border: 1px dashed var(--line-strong); border-radius: 6px; padding: 5px 8px; background: rgba(0,0,0,.6); }

/* ---------- Real captures, only in Funciones ---------- */
.crop { width: 100%; height: 100%; background-repeat: no-repeat; }
.split { position: relative; border-radius: 16px; overflow: hidden; margin-top: 10px; }
.split img { display: block; width: 100%; height: auto; }
.split img.l { position: absolute; inset: 0; clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); }
.split .tag { position: absolute; bottom: 12px; font: 12px var(--mono); background: rgba(0,0,0,.65); color: var(--text); border-radius: 999px; padding: 4px 10px; }
.bento article.full { grid-column: 1 / -1; }
@media (max-width: 860px) { .bento article.full { grid-column: auto; } }

/* ---------- Shield ---------- */
.shield { --tone: var(--ok); display: block; overflow: visible; }
.shield .halo { fill: var(--tone); opacity: .16; transform-box: view-box; transform-origin: 120px 120px; animation: breathe 5s ease-in-out infinite; }
.shield .dots { stroke: var(--tone); stroke-opacity: .4; stroke-width: 1.4; stroke-dasharray: 1.5 7; stroke-linecap: round; fill: none; transform-box: view-box; transform-origin: 120px 120px; animation: spin 28s linear infinite; }
.shield .ring { stroke: var(--tone); stroke-width: 3; fill: none; stroke-dasharray: 240 400; stroke-linecap: round; transform-box: view-box; transform-origin: 120px 120px; animation: spin var(--speed, 40s) linear infinite; }
.shield .body { fill: color-mix(in srgb, var(--tone) 16%, transparent); stroke: var(--tone); stroke-width: .9; stroke-linejoin: round; }
.shield .icon { stroke: var(--tone); stroke-width: 1.15; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .35s; }
.shield .icon.on { opacity: 1; }
.shield .halo, .shield .dots, .shield .ring, .shield .body { transition: stroke .5s, fill .5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .26; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(64px, 11vh, 120px) clamp(80px, 14vh, 160px); }
.hero::before { content: ""; position: absolute; inset: -80px 0 auto 0; height: 1100px; z-index: -1; background: radial-gradient(70% 55% at 50% 0%, var(--glow-1), var(--glow-2) 55%, var(--bg) 100%); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-soon { font: 600 16px var(--display); color: var(--on-brand); background: var(--brand); border-radius: 999px; padding: 13px 24px; }
.btn-ghost { font-size: 16px; font-weight: 500; border: 1px solid var(--line-strong); color: var(--text); border-radius: 999px; padding: 12px 22px; }
.btn-ghost:hover { text-decoration: none; background: var(--surface); }
.fine { font-size: 14px; color: var(--text-3); }
.stage { position: relative; width: min(1060px, 100% - 2 * var(--gutter)); margin: clamp(48px, 8vh, 88px) auto 0; perspective: 1600px; }
.stage .win { transform-origin: 50% 0; }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; display: grid; gap: 6px; justify-items: center; width: clamp(48px, 6.5vw, 86px); }
.fl .t { width: 100%; aspect-ratio: 1.12; border-radius: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.55); display: grid; place-items: center; font: 700 11px var(--body); color: #fff; }
.fl span { font-size: 11.5px; color: var(--text-2); background: rgba(0,0,0,.55); border-radius: 5px; padding: 2px 6px; white-space: nowrap; }
.notes { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.notes svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.notes path { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.notes circle { fill: var(--accent); }
.note { position: absolute; font: 11.5px/1.35 var(--mono); color: var(--accent-2); background: rgba(0,0,0,.72); border: 1px solid rgba(111,209,176,.35); border-radius: 6px; padding: 5px 8px; white-space: nowrap; }
.note small { display: block; color: var(--text-3); }
@media (max-width: 900px) { .notes, .floaters { display: none; } }

/* ---------- Highlights (horizontal) ---------- */
.hl-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hl-side { position: sticky; top: 24vh; display: grid; gap: 22px; }
.hl-side .lede { font-size: 18px; }
.hl-meta { display: flex; align-items: center; gap: 14px; font: 13px var(--mono); color: var(--text-3); }
.hl-meta .bar { width: 140px; height: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.hl-meta .bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.16); }
.hl-list { display: grid; gap: clamp(28px, 6vh, 72px); padding-bottom: 6vh; }
.hl-card { width: 100%; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: border-color .4s; }
.hl-card.on { border-color: rgba(111,209,176,.35); }
.hl-card p { padding: 28px 28px 0; font: 600 clamp(20px, 1.8vw, 26px)/1.25 var(--display); letter-spacing: -.01em; max-width: 22em; }
.hl-card p span { color: var(--text-3); }
.hl-card .art { aspect-ratio: 2 / 1; max-height: 380px; position: relative; display: grid; place-items: center; overflow: hidden; }
/* The drawings fit the box: never cut at the edges. The shields are
   placed against the box itself, so their height is a real 80 %. */
.hl-card .art > svg.shield { position: absolute; inset: 0; margin: auto; height: 80%; width: auto !important; max-width: 80%; }
.hl-card .art > div { max-width: 86%; transform: scale(.9); }
.hl-card .num { position: absolute; top: 28px; right: 28px; font: 12px var(--mono); color: var(--text-3); }
@media (max-width: 860px) {
  .hl-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-side { position: static; }
  .hl-card { width: 100%; }
}

/* ---------- Pinned demos ---------- */
.pin { position: relative; }
.demo { width: min(980px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.flying { position: absolute; left: 50%; top: 42%; width: clamp(56px, 8vw, 100px); display: grid; gap: 6px; justify-items: center; z-index: 6; pointer-events: none; opacity: 0; }
.flying .t { width: 100%; aspect-ratio: 1.12; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.6); display: grid; place-items: center; font: 700 11px var(--body); color: #fff; }
.flying span { font-size: 12px; color: var(--text); background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.steps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.steps span { font: 12.5px var(--mono); color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; transition: color .3s, border-color .3s, background .3s; }
.steps span.on { color: var(--accent); border-color: rgba(111,209,176,.5); background: rgba(111,209,176,.08); }

/* Manifesto: words light up with the scroll. */
.manifesto { width: min(1000px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: clamp(120px, 22vh, 240px); font: 600 clamp(28px, 4.2vw, 56px)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.manifesto .w { opacity: 1; }
html.fx .manifesto .w { opacity: .16; }
.manifesto .k { color: var(--accent); }

/* States, like Apple's aperture stops. */
.states { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.state-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.state-list li { display: grid; grid-template-columns: 12px 1fr; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line); transition: opacity .4s; }
.state-list li i { width: 10px; height: 10px; border-radius: 50%; margin-top: 9px; }
.state-list li b { font: 600 clamp(20px, 2.2vw, 28px)/1.2 var(--display); }
.state-list li span { grid-column: 2; color: var(--text-3); font-size: 15.5px; }
html.fx-desk .state-list li { opacity: .3; }
html.fx-desk .state-list li.on { opacity: 1; }
.states .shield { width: min(100%, 420px); height: auto; margin-inline: auto; }
.state-mono { text-align: center; font: 12.5px var(--mono); color: var(--text-3); margin-top: 6px; }

/* Keys */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { border-radius: 26px; background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; justify-items: center; text-align: center; min-width: 0; }
.panel h3 { font-size: clamp(22px, 2.4vw, 28px); }
.panel p { color: var(--text-3); font-size: 16px; max-width: 26em; }
.panel p b { color: var(--text); }
.fp { width: clamp(110px, 13vw, 150px); height: auto; }
.fp path { fill: none; stroke: var(--line-strong); stroke-width: 1.6; stroke-linecap: round; }
.fp .lit { stroke: var(--accent); }
.key { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 10px; font: 600 clamp(14px, 1.8vw, 20px)/1 var(--mono); letter-spacing: .06em; justify-content: center; }
.key span { padding: 11px 10px; border-radius: 10px; background: rgba(0,0,0,.45); border: 1px solid var(--line); }
.example { font: 11.5px var(--mono); color: var(--text-3); }

/* Privacy: one screen, split by a divider — what you see / what's recorded. */
/* Sized to the viewport's height, so the whole screen (and its caption)
   fits while the scene is pinned. */
.desk { position: relative; width: min(100%, calc((100vh - 190px) * 1.6)); width: min(100%, calc((100svh - 190px) * 1.6)); margin-inline: auto; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0,0,0,.6); container-type: inline-size; background: #050709; }
/* Each layer carries the wallpaper: the recorded one must hide the app below it. */
.desk .layer { position: absolute; inset: 0; background: radial-gradient(60% 70% at 20% 90%, #12405a, transparent 70%), radial-gradient(55% 60% at 85% 15%, #1d5a4a, transparent 70%), linear-gradient(160deg, #0a1418, #050709); }
.menubar { position: absolute; inset: 0 0 auto 0; height: 4.2cqw; max-height: 30px; min-height: 18px; display: flex; align-items: center; gap: 2.2cqw; padding: 0 2cqw; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: clamp(9px, 1.3cqw, 13px); color: var(--text-2); z-index: 3; }
.menubar .sp { margin-left: auto; }
.recbadge { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: rgba(242,118,107,.9); border-radius: 6px; padding: 1px 7px; font-family: var(--mono); }
.recbadge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ow { position: absolute; border-radius: 1.2cqw; overflow: hidden; background: rgba(28,32,34,.92); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 2cqw 5cqw rgba(0,0,0,.5); }
.ow .ttl { height: 3.2cqw; display: flex; align-items: center; gap: .6cqw; padding: 0 1.1cqw; border-bottom: 1px solid rgba(255,255,255,.07); font-size: clamp(7px, 1cqw, 11px); color: var(--text-3); }
.ow .ttl i { width: .9cqw; height: .9cqw; border-radius: 50%; background: rgba(255,255,255,.22); }
.ow .ttl span { margin-left: .8cqw; }
.ow.notes { left: 4%; top: 13%; width: 30%; height: 58%; }
.ow.notes .ln { height: .9cqw; margin: 1.6cqw 1.6cqw 0; border-radius: 3px; background: rgba(255,255,255,.12); }
.ow.call { right: 3%; bottom: 5%; width: 27%; height: 38%; }
.ow.call .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6cqw; padding: .8cqw; height: calc(100% - 3.2cqw); }
.ow.call .tiles div { border-radius: .8cqw; background: linear-gradient(160deg, #2a3a40, #1a2427); display: grid; place-items: center; }
.ow.call .tiles div b { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: rgba(255,255,255,.18); }
.ow.call .share { position: absolute; left: .8cqw; bottom: .8cqw; font-size: clamp(6px, .9cqw, 10px); color: #fff; background: rgba(79,209,161,.85); padding: 1px 6px; border-radius: 4px; }
.desk .win { --s: .6; position: absolute; left: 22%; top: 12%; width: 62%; box-shadow: 0 3cqw 8cqw rgba(0,0,0,.65); }
.desk .taped { clip-path: inset(0 0 0 100%); }
.desk .taped::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(242,118,107,.75); pointer-events: none; }
.divider { position: absolute; top: 0; bottom: 0; left: 100%; width: 0; z-index: 4; }
.divider::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 18px rgba(255,255,255,.6); }
.divider .tag { position: absolute; bottom: 4%; white-space: nowrap; font: 12px var(--mono); color: var(--text); background: rgba(0,0,0,.72); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 7px; }
.divider .tag.l { right: 12px; }
.divider .tag.r { left: 12px; }
.divider .tag.r i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.rec-cap { margin-top: 18px; text-align: center; font: 13px var(--mono); color: var(--text-3); min-height: 1.4em; }
.desk .win.locked .fg, .desk .win.locked .hc, .desk .win.locked .tools { opacity: .15; transition: opacity .5s; }
html:not(.fx-desk) .desk .taped { clip-path: inset(0 0 0 50%); }
html:not(.fx-desk) .divider { left: 50%; }

/* Backup: your Mac → your Drive (unreadable, checked) → another Mac. */
.bk { position: relative; width: min(100%, calc((100vh - 190px) * 1.9)); width: min(100%, calc((100svh - 190px) * 1.9)); margin-inline: auto; aspect-ratio: 19 / 10; container-type: inline-size; }
.bk .pane { position: absolute; top: 6%; height: 86%; width: 29%; border-radius: 2cqw; background: var(--surface); border: 1px solid var(--line-strong); padding: 2.2cqw 1.6cqw; display: flex; flex-direction: column; gap: 1cqw; transition: opacity .5s, filter .5s; }
.bk .pane.a { left: 0; } .bk .pane.d { left: 35.5%; } .bk .pane.b { right: 0; }
.bk .pane.d { background: rgba(127,168,255,.06); border-color: rgba(127,168,255,.3); }
.bk .ph { display: flex; align-items: center; gap: .9cqw; font: 600 clamp(10px, 1.6cqw, 17px) var(--display); }
.bk .ph svg { width: 2.4cqw; height: 2.4cqw; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bk .ph em { margin-left: auto; font: clamp(8px, 1.05cqw, 12px) var(--mono); font-style: normal; color: var(--text-3); }
.bk .pane.d .ph { color: var(--info); }
.bk .sub { font: clamp(8px, 1.05cqw, 12px) var(--mono); color: var(--text-3); min-height: 1.3em; }
.bk .pane.lost { opacity: .28; filter: grayscale(1); }
.bk .pane.b { opacity: 0; transform: translateX(3cqw); transition: opacity .6s, transform .6s var(--ease); }
.bk .pane.b.on { opacity: 1; transform: none; }
.bk .keyline { position: absolute; left: 1.6cqw; right: 1.6cqw; top: 38%; justify-content: center; transition: opacity .4s; display: flex; flex-wrap: wrap; gap: .5cqw; font: 600 clamp(7px, 1.05cqw, 12px) var(--mono); color: var(--text-2); }
.bk .keyline span { padding: .35cqw .5cqw; border-radius: .6cqw; border: 1px solid var(--line); background: rgba(0,0,0,.4); opacity: .2; transition: opacity .25s; }
.bk .keyline span.on { opacity: 1; }
.bk .keyline.gone { opacity: 0; }
.bk .ghost { position: absolute; left: 37.1%; width: 25.8%; height: 7.6%; border-radius: 1.1cqw; border: 1px dashed rgba(127,168,255,.25); display: flex; align-items: center; justify-content: flex-end; padding-right: 1cqw; font: clamp(8px, 1.2cqw, 13px) var(--mono); color: var(--ok); }
.bk .ghost b { opacity: 0; transition: opacity .3s; font-weight: 600; }
.bk .ghost.ok b { opacity: 1; }
.tok { position: absolute; width: 25.8%; height: 7.6%; border-radius: 1.1cqw; background: rgba(0,0,0,.55); border: 1px solid var(--line-strong); display: flex; align-items: center; gap: .9cqw; padding: 0 .9cqw; z-index: 2; will-change: left, top; }
.tok i { width: 3.6cqw; height: 3.6cqw; border-radius: .8cqw; flex: none; display: grid; place-items: center; transition: filter .3s; }
.tok i svg { width: 1.8cqw; height: 1.8cqw; stroke: #fff; fill: none; stroke-width: 2; opacity: 0; transition: opacity .3s; }
.tok.enc i { filter: grayscale(1) brightness(.45); }
.tok.enc i svg { opacity: 1; }
.tok span { font: clamp(8px, 1.25cqw, 14px)/1 var(--body); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tok.enc span { font-family: var(--mono); color: var(--text-3); }
.bk-cap { margin-top: 18px; text-align: center; font: 13px var(--mono); color: var(--text-3); min-height: 1.4em; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.case { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; align-content: start; }
.case small { font: 11.5px var(--mono); color: var(--warn-text); letter-spacing: .04em; }
.case h3 { font-size: 20px; }
.case p { color: var(--text-3); font-size: 15px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento article { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.bento article.wide { grid-column: span 2; }
.bento .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px; }
.bento .ic svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento h3 { font-size: 20px; }
.bento p { color: var(--text-3); font-size: 15px; }
.kbd { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.kbd span { font: 500 13px var(--mono); color: var(--text-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 7px; padding: 4px 8px; }

/* Price */
.price { width: min(540px, 100%); margin-inline: auto; border-radius: 28px; padding: clamp(26px, 4vw, 42px); background: var(--surface); border: 1px solid var(--line-strong); display: grid; gap: 20px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.5); border: 1px solid var(--line); }
.toggle button { font: 600 14px var(--body); color: var(--text-2); background: none; border: 0; border-radius: 999px; padding: 9px 10px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--surface-strong); color: var(--text); }
.toggle small { color: var(--accent); font-weight: 600; }
.amount { font: 600 clamp(46px, 7vw, 64px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.amount small { font-size: 18px; color: var(--text-2); font-weight: 500; letter-spacing: 0; }
.trial { font-size: 15px; color: var(--accent); font-weight: 600; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--text-2); font-size: 15.5px; }
.price li::before { content: "✓"; color: var(--ok); margin-right: 10px; font-weight: 700; }
.price .btn-soon { text-align: center; }
.timeline { list-style: none; margin: 0 auto; padding: 0; width: min(980px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-strong)); }
.timeline li { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding-inline: 8px; }
.timeline li i { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--accent); font: 600 12px var(--mono); font-style: normal; color: var(--accent); position: relative; }
.timeline li b { font: 600 20px var(--display); }
.timeline li small { font: 12px var(--mono); color: var(--accent); }
.timeline li span { color: var(--text-3); font-size: 15px; max-width: 18em; }
@media (max-width: 760px) { .timeline { grid-template-columns: minmax(0, 1fr); } .timeline::before { display: none; } }
.coffee { width: min(760px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 22px; padding: 20px 26px; border-radius: 22px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, rgba(139,224,184,.7), rgba(58,157,181,.35)) border-box; border: 1px solid transparent; }
.coffee svg { width: 54px; height: 54px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.coffee .steam path { stroke: var(--text-3); animation: steam 2.6s ease-in-out infinite; }
.coffee .steam path:nth-child(2) { animation-delay: .5s; } .coffee .steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0%, 100% { opacity: .15; transform: translateY(1px); } 50% { opacity: .9; transform: translateY(-2px); } }
.coffee b { display: block; font: 600 clamp(20px, 2.4vw, 26px)/1.2 var(--display); letter-spacing: -.01em; }
.coffee span { color: var(--text-3); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .coffee .steam path { animation: none; opacity: .6; } }
.faq { width: min(760px, 100%); margin-inline: auto; display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 18px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--text-3); margin-top: 10px; max-width: 40em; }

/* Closing */
.closing { padding-block: clamp(140px, 24vh, 260px); display: grid; gap: 34px; justify-items: center; text-align: center; }
.closing svg { width: clamp(150px, 20vw, 220px); overflow: visible; }
footer { border-top: 1px solid var(--line); padding: 36px var(--gutter) 52px calc(var(--gutter) + var(--rail)); display: grid; gap: 16px; color: var(--text-3); font-size: 13px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--text-2); }

@media (max-width: 860px) {
  .states, .duo, .frames { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento article.wide { grid-column: auto; }
  .fg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fg .fi:nth-child(n+9) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shield .halo, .shield .dots, .shield .ring, .frame .cap .rec { animation: none; }
}
.fn { font-size: .55em; line-height: 0; vertical-align: super; margin-left: 1px; }
.fn a { color: var(--accent); padding: 0 2px; font-weight: 600; font-family: var(--body); }
.footnotes { width: min(1080px, 100% - 2 * var(--gutter)); margin: clamp(60px, 10vh, 100px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.footnotes ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text-3); font-size: 13.5px; line-height: 1.5; }
.footnotes li::marker { color: var(--accent); font-family: var(--mono); }
.footnotes a { white-space: nowrap; }

/* Real captures in Funciones (files, not inline data) */
.split.crop-detail { aspect-ratio: 16 / 7; }
.split.crop-detail img { position: absolute; width: 150%; max-width: none; height: auto; left: -36%; top: -91.4%; }
