/* capi-chan v3: papel, tinta y la letra a mano de Capi. Las viñetas llevan el borde; el resto respira. */
:root {
  --paper: #f6eee2;
  --paper-2: #fbf6ee;
  --card: #fffdf9;
  --ink: #22170f;
  --ink-2: #4a3a2e;
  --muted: #7a6656;
  --rule: #e2d3bf;
  --rule-2: #d3bfa5;
  --bow: #ec7d9e;
  --bow-d: #c4547a;
  --bow-l: #fde0e8;
  --tan: #c9a27c;
  --night: #1d1712;
  --hand: 'Klee One', 'Comic Sans MS', cursive;
  --display: Fredoka, Nunito, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink-2); font: 500 17px/1.65 Nunito, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .09 0 0 0 0 .06 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Solo fuera de la burbuja de Capi (#capi-burbuja tiene su propio Tailwind). */
:where(.top, main, .foot) img { display: block; max-width: 100%; height: auto; }
:where(.top, main, .foot) a { color: inherit; }
:where(.top, main, .foot) p { margin: 0; }
:where(.top, main, .foot) :is(h1, h2, h3) { margin: 0; font-family: var(--display); color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
:where(.top, main, .foot) :focus-visible { outline: 3px solid var(--bow-d); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 16px; height: 16px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--display); letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper-2); }
.btn-ink:hover { background: #3b2a1e; box-shadow: 0 10px 24px -14px rgba(34, 23, 15, .8); transform: translateY(-1px); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; }
.btn-line:hover { background: var(--card); }
.btn-paper { background: var(--paper-2); color: var(--ink); }
.btn-paper:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost-light { color: var(--paper-2); box-shadow: inset 0 0 0 1.5px rgba(251, 246, 238, .55); background: transparent; }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--paper-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn .ver { font: 800 12px/1 Nunito, sans-serif; padding: 4px 8px; border-radius: 999px; background: var(--rule); color: var(--ink); }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top-in { height: 68px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-10deg); }
.top-nav { display: flex; gap: 2px; }
.top-nav a { padding: 8px 12px; text-decoration: none; font: 500 16px/1 var(--display); color: var(--muted); border-radius: 999px; transition: color .15s, background .15s; }
.top-nav a:hover { color: var(--ink); background: rgba(201, 162, 124, .18); }
.top-nav a[aria-current] { color: var(--ink); }
.langs { display: inline-flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 999px; background: rgba(201, 162, 124, .18); }
.langs a { padding: 6px 10px; border-radius: 999px; font: 800 12px/1 Nunito, sans-serif; letter-spacing: .04em; text-decoration: none; color: var(--muted); }
.langs a[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(34, 23, 15, .15); }
.langs a:not([aria-current]):hover { color: var(--ink); }
.session { position: relative; }
.me-btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 4px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--rule-2); cursor: pointer; font: 600 15px/1 var(--display); color: var(--ink); max-width: 230px; }
.me-btn img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.me-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 6px; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -20px rgba(34, 23, 15, .45); display: grid; gap: 2px; }
.me-menu a, .me-menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-decoration: none; font: 700 15px/1.2 Nunito, sans-serif; color: var(--ink-2); cursor: pointer; text-align: left; }
.me-menu a:hover, .me-menu button:hover { background: var(--bow-l); color: var(--ink); }

/* Piezas de manga */
.balloon {
  position: absolute; z-index: 2; max-width: 74%; margin: 0; padding: 12px 18px; background: #fff; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50% / 48%; text-align: center;
  font: 600 16px/1.3 var(--hand);
}
.balloon::before, .balloon::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; }
.balloon.tail-l::before { left: 24%; bottom: -14px; border-width: 14px 3px 0 10px; border-color: var(--ink) transparent transparent; }
.balloon.tail-l::after { left: calc(24% + 3px); bottom: -9px; border-width: 10px 2px 0 6px; border-color: #fff transparent transparent; }
.balloon.tail-r::before { right: 24%; bottom: -14px; border-width: 14px 10px 0 3px; border-color: var(--ink) transparent transparent; }
.balloon.tail-r::after { right: calc(24% + 3px); bottom: -9px; border-width: 10px 6px 0 2px; border-color: #fff transparent transparent; }
.sfx { position: absolute; z-index: 2; font: 700 44px/1 var(--display); color: #fff; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; transform: rotate(-14deg); }
.hand { font-family: var(--hand); font-weight: 600; color: var(--ink-2); }
.mark { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px; font: 700 12px/1 var(--display); color: var(--ink); }
.t-pink { background: var(--bow-l); }
.t-sky { background: #dcecf8; }
.t-gold { background: #fbe9bd; }
.t-lilac { background: #ebe1fb; }
.t-orange { background: #fde3c6; }

/* Portada */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; padding: 56px 0 96px; }
.kicker { font: 800 13px/1.3 Nunito, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bow-d); }
.hero h1 { font-size: clamp(46px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; margin-top: 18px; }
.lead { font-size: 19px; line-height: 1.65; margin-top: 22px; max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sub { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--muted); }
.hand-me { position: relative; display: inline-flex; align-items: flex-end; gap: 6px; margin-top: 34px; font-size: 19px; transform: rotate(-2deg); }
.hand-arrow { width: 96px; height: 48px; fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.splash-page { position: relative; }
.splash-page svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(34, 23, 15, .18)); }
.splash-page::before {
  content: ""; position: absolute; inset: -8% -10% -6% -8%; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 55% 40%, rgba(34, 23, 15, .07) 0deg 1.2deg, transparent 1.2deg 6deg);
  mask-image: radial-gradient(closest-side, transparent 35%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 35%, #000 70%, transparent 100%);
}
.b-hola { left: 5%; top: 5%; font-size: 26px; padding: 16px 28px; }
.sfx-zzz { right: 8%; top: 7%; }
.b-small { right: 4%; bottom: 33%; font-size: 15px; max-width: 46%; }
.hand-hood { position: absolute; z-index: 2; left: 2%; bottom: 2%; font-size: 14px; background: var(--paper-2); padding: 3px 9px; border: 1.5px solid var(--ink); transform: rotate(-3deg); }

/* Secciones */
.sec { padding: 72px 0; }
.ch-head { margin-bottom: 40px; max-width: 720px; }
.ch-num { font: 600 20px/1 var(--hand); color: var(--bow-d); }
.ch-head h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.025em; margin-top: 10px; }
.ch-lead { margin-top: 12px; font-size: 18px; color: var(--muted); }

/* Yonkoma */
.yonkoma { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.koma-row { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; align-items: center; }
.koma-row + .koma-row .koma { margin-top: 12px; }
.koma { position: relative; margin: 0; border: 2.5px solid var(--ink); background: #fff3e3; overflow: hidden; aspect-ratio: 16 / 10; }
.koma img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.koma-row:hover .koma img { transform: scale(1.03); }
.koma .balloon { top: 7%; left: 5%; font-size: 15px; max-width: 58%; }
.koma .balloon.tail-r { left: auto; right: 5%; }
.koma-text { padding: 12px 0; max-width: 440px; }
.koma-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper-2); font: 600 15px/1 var(--display); }
.koma-text h3 { font-size: 28px; line-height: 1.1; margin-top: 14px; }
.koma-text p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }

/* Sección de tinta */
.ink-sec { background: var(--night); color: #d9cbb9; padding: 88px 0; position: relative; overflow: hidden; }
.ink-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(246, 238, 226, .07) 1px, transparent 1.4px) 0 0 / 9px 9px; mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); pointer-events: none; }
.ink-sec .wrap { position: relative; }
.ink-sec :is(h2, h3) { color: var(--paper-2); }
.ink-sec .ch-num { color: var(--bow); }
.ink-sec .ch-lead { color: #b9a894; }
.where { display: grid; grid-template-columns: repeat(3, 1fr); }
.where-col { padding: 6px 32px 6px 0; display: flex; flex-direction: column; gap: 12px; }
.where-col + .where-col { padding-left: 32px; border-left: 1px solid rgba(246, 238, 226, .16); }
.where-col h3 { font-size: 26px; }
.where-col p { font-size: 16px; }
.go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--display); color: var(--bow); text-decoration: none; }
.go:hover { color: #ffd1de; }
.go:hover .ic:last-child { transform: translateX(3px); }
.go .ic { transition: transform .2s var(--ease); }
.go-row { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.go-row .ic { color: var(--bow); }
.go-row a { font: 600 16px/1 var(--display); color: var(--bow); text-decoration: none; }
.go-row a:hover { color: #ffd1de; text-decoration: underline; text-underline-offset: 4px; }

/* Ficha anotada */
.sheet { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.fig { position: relative; margin: 0 auto; width: 270px; }
.fig img { width: 100%; filter: drop-shadow(0 16px 14px rgba(34, 23, 15, .14)); }
.anns { list-style: none; margin: 0; padding: 0; }
.ann { position: absolute; top: var(--y); left: 0; right: 0; height: 0; }
.ann-dot { position: absolute; left: var(--x); top: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--bow); color: #fff; border: 2px solid var(--ink); font: 700 10px/16px var(--display); text-align: center; }
.ann-line { position: absolute; top: 0; border-top: 1.5px dashed var(--ink-2); }
.ann-r .ann-line { left: calc(var(--x) + 10px); right: -36px; }
.ann-l .ann-line { right: calc(100% - var(--x) + 10px); left: -36px; }
.ann-text { position: absolute; top: 0; transform: translateY(-50%); width: 168px; font: 600 16px/1.25 var(--hand); color: var(--ink); }
.ann-r .ann-text { left: calc(100% + 44px); }
.ann-l .ann-text { right: calc(100% + 44px); text-align: right; }
.ann-legend { display: none; }
.profile { margin: 0; display: grid; border-top: 1.5px solid var(--ink); }
.profile div { display: grid; grid-template-columns: 116px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.profile dt { font: 600 15px/1.5 var(--display); color: var(--ink); }
.profile dd { margin: 0; font-size: 16px; }

/* Índice de herramientas */
.toc { display: grid; border-top: 1.5px solid var(--ink); margin-bottom: 32px; }
.toc-row { display: grid; grid-template-columns: auto auto auto 1fr auto auto; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--rule-2); text-decoration: none; color: var(--ink); transition: background .15s, padding .25s var(--ease); }
.toc-row:hover { background: rgba(255, 253, 249, .7); padding-left: 14px; }
.toc-row:hover > .ic { transform: translateX(3px); }
.toc-row > .ic { transition: transform .2s var(--ease); }
.toc-name { font: 600 22px/1.1 var(--display); }
.toc-cat { color: var(--muted); font-size: 15px; }
.toc-dots { height: 2px; background: radial-gradient(circle, var(--ink) .9px, transparent 1.3px) 0 0 / 7px 2px; opacity: .35; min-width: 20px; }
.toc-ver { font: 800 13px/1 Nunito, sans-serif; color: var(--muted); }

/* Final con la playa */
.finale { position: relative; min-height: 560px; display: grid; align-items: end; overflow: hidden; color: #f0e4d4; }
.finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29, 23, 18, .1) 0%, rgba(29, 23, 18, .2) 40%, rgba(29, 23, 18, .9) 100%); }
.finale-in { position: relative; z-index: 2; padding: 120px 0 72px; }
.finale .hand { color: #ffd1de; font-size: 22px; }
.finale h2 { color: #fff8ee; font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.03em; margin-top: 6px; }
.finale-in > p:not(.hand) { margin-top: 8px; font-size: 18px; }

/* Pie */
.foot { background: var(--night); color: #b9a894; }
.foot-in { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; padding: 28px 0 36px; border-top: 1px solid rgba(246, 238, 226, .12); font-size: 15px; }
.foot-in .brand { font-size: 20px; color: var(--paper-2); }
.foot-in .brand img { width: 32px; height: 32px; filter: invert(.92) sepia(.2); }
.foot-in p a { color: var(--paper-2); font-weight: 800; }
.foot-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.foot-links a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; text-decoration: none; color: #d9cbb9; font-weight: 800; }
.foot-links a:hover { background: rgba(246, 238, 226, .1); color: #fff; }
.foot .langs { margin-left: 0; background: rgba(246, 238, 226, .1); }
.foot .langs a { color: #b9a894; }
.foot .langs a[aria-current] { background: var(--paper-2); color: var(--ink); }

/* Herramientas */
.page-head { padding: 64px 0 24px; }
.page-head > * { max-width: 760px; }
.page-head h1 { font-size: clamp(52px, 7.5vw, 96px); line-height: .95; letter-spacing: -.04em; margin-top: 10px; }
.page-head .lead { margin-top: 18px; }
.page-head .ch-num { display: block; }
.tools-sec { padding: 44px 0 20px; }
.tools-sec .ch-head { margin-bottom: 28px; }
.tools-sec .ch-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.tools-grid { display: grid; gap: 20px; }
.tools-grid.two { grid-template-columns: 1fr 1fr; }
.tool-card { display: flex; flex-direction: column; background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px var(--rule), 0 24px 40px -32px rgba(34, 23, 15, .5); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--rule-2), 0 30px 50px -30px rgba(34, 23, 15, .55); }
.tool-art { aspect-ratio: 16 / 9; overflow: hidden; background: #2a2a2a; border-bottom: 2px solid var(--ink); }
.tool-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .8s var(--ease); }
.tool-card:hover .tool-art img { transform: scale(1.03); }
.tool-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tool-body h3 { font-size: 32px; letter-spacing: -.02em; }
.tool-body h3 a { text-decoration: none; }
.tool-body h3 a:hover { color: var(--bow-d); }
.tool-body .cta { margin-top: auto; padding-top: 8px; }
.tool-meta { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.by { font-size: 15px; color: var(--muted); }
.by a { color: var(--ink); font-weight: 800; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: rgba(201, 162, 124, .2); }
.install { display: block; padding: 12px 14px; background: var(--night); color: #f0e0cc; border-radius: 10px; font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; white-space: nowrap; }

/* Mini landing de herramienta */
.tool-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 36px 0 64px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; text-decoration: none; font: 500 15px/1 var(--display); color: var(--muted); }
.crumb:hover { color: var(--ink); }
.tool-hero h1 { font-size: clamp(50px, 7vw, 88px); line-height: .95; letter-spacing: -.04em; margin-top: 14px; }
.tool-hero-art { margin: 0; border: 2.5px solid var(--ink); background: #fff3e3; overflow: hidden; aspect-ratio: 1; box-shadow: 0 34px 60px -40px rgba(34, 23, 15, .6); }
.tool-hero-art.shot { aspect-ratio: 1440 / 880; background: #252525; border-radius: 12px; }
.tool-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.install-row { display: flex; align-items: stretch; gap: 8px; margin-top: 18px; max-width: 560px; }
.install-row .install { flex: 1; }
.copy { width: 46px; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper-2); cursor: pointer; display: grid; place-items: center; }
.copy:hover { background: #3b2a1e; }
.soon-note { margin-top: 16px; font: 600 17px/1.4 var(--hand); color: var(--bow-d); display: block; }
.tool-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; padding: 28px 0 24px; border-top: 1.5px solid var(--ink); }
.specs { position: sticky; top: 92px; }
.specs dl { margin: 0; }
.specs div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.specs dt { font: 800 11px/1.2 Nunito, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.specs-label { margin: 18px 0 10px; font: 800 11px/1.2 Nunito, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.tool-text { display: grid; gap: 40px; padding-top: 10px; }
.block-sec { padding: 22px 0; }
.block-sec h2 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 14px; }
.sec-h { font-size: 34px; letter-spacing: -.02em; margin-bottom: 26px; padding-top: 30px; border-top: 1.5px solid var(--ink); }
.block-sec p { font-size: 17px; }
.block-sec p.big { font-size: 21px; line-height: 1.6; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-col.wide { gap: 56px; }
.note-box { padding: 24px 26px; background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--rule); }
.note-box h2 { font-size: 21px; margin-bottom: 8px; }
.note-box p { font-size: 16px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.features li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule-2); }
.features .num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper-2); font: 600 14px/1 var(--display); }
.features h3 { font-size: 19px; margin-bottom: 4px; }
.features p { font-size: 16px; color: var(--muted); }
.tech-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.tech-list li { position: relative; padding-left: 22px; font-size: 16px; }
.tech-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--bow); border-radius: 50%; }
.plans { display: grid; gap: 14px; }
.plan { padding: 22px 24px; background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--rule); }
.plan:first-child { background: var(--bow-l); box-shadow: none; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan p { font-size: 16px; }
.log { list-style: none; margin: 0; padding: 0; display: grid; }
.log li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule-2); }
.log time { font: 600 16px/1.5 var(--hand); color: var(--muted); }
.log h3 { font-size: 20px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.log p { font-size: 16px; color: var(--ink-2); }
.log .latest time { color: var(--bow-d); }
.pill { font: 800 11px/1 Nunito, sans-serif; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; background: var(--bow); color: #fff; }
.lost { min-height: 50vh; align-content: center; }

/* Entradas al hacer scroll */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero, .tool-hero { grid-template-columns: 1fr; gap: 48px; }
  .splash-page { max-width: 560px; }
  .koma-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .where { grid-template-columns: 1fr; gap: 28px; }
  .where-col, .where-col + .where-col { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid rgba(246, 238, 226, .16); }
  .sheet, .tools-grid.two, .tool-main, .two-col, .two-col.wide { grid-template-columns: 1fr; }
  .specs { position: static; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ann-line, .ann-text { display: none; }
  .fig { width: 220px; }
  .sheet { gap: 24px; }
  .ann-legend { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: ann; columns: 2; font: 600 15px/1.3 var(--hand); color: var(--ink); }
  .ann-legend li { counter-increment: ann; display: flex; gap: 8px; break-inside: avoid; margin-bottom: 6px; }
  .ann-legend li::before { content: counter(ann); flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--bow); color: #fff; border: 1.5px solid var(--ink); font: 700 10px/15px var(--display); text-align: center; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .top-in { height: 60px; gap: 10px; }
  .brand { font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .top-nav { display: none; }
  .top .langs a { padding: 6px 8px; }
  #login span { display: none; }
  #login { padding: 0 12px; }
  .me-btn span { display: none; }
  .hero { padding: 28px 0 64px; gap: 36px; }
  .hero-copy { order: 2; }
  .splash-page { order: 1; }
  .b-hola { font-size: 19px; padding: 10px 18px; }
  .sfx { font-size: 32px; }
  .b-small { font-size: 13px; }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 auto; }
  .hand-me { display: none; }
  .sec { padding: 52px 0; }
  .koma-row { grid-template-columns: 1fr; gap: 14px; }
  .koma-row + .koma-row { margin-top: 26px; }
  .koma-text h3 { font-size: 24px; }
  .ink-sec { padding: 64px 0; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
  .toc-row { grid-template-columns: auto 1fr auto; row-gap: 4px; }
  .toc-cat { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .toc-dots, .toc-row > .ic { display: none; }
  .toc-ver { grid-column: 3; grid-row: 1; }
  .finale { min-height: 520px; }
  .foot-links { margin-left: 0; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
/* Las líneas de acción y las anotaciones salen de su caja: nunca deben crear scroll horizontal. */
main { overflow-x: clip; }

/* Herramienta descontinuada */
.dep-note{margin:.7rem 0 0;padding:.55rem .85rem;border-radius:.65rem;background:rgba(190,45,45,.12);border:1px solid rgba(190,45,45,.38);color:#b02a2a;font-weight:600;font-size:.95rem;max-width:42rem}
.dep-tag{display:inline-block;padding:.08rem .5rem;border-radius:999px;background:#b02a2a;color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.03em;vertical-align:middle;text-transform:uppercase}
