/* Fonts: self-hosted Google Fonts files (Geist v5 is variable, one file covers 400–700). Latin subset + a separate "№" file,
   which Google only ships in its cyrillic subset; → and ↗ are in no subset and fall back to system-ui, same as with Google */
@font-face{font-family:Geist;font-style:normal;font-weight:400 700;font-display:swap;src:url(/wp-content/themes/desnudar/fonts/geist-v5-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Geist;font-style:normal;font-weight:400 700;font-display:swap;src:url(/wp-content/themes/desnudar/fonts/geist-v5-numero.woff2) format('woff2');unicode-range:U+2116}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/wp-content/themes/desnudar/fonts/jetbrains-mono-v24-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/wp-content/themes/desnudar/fonts/jetbrains-mono-v24-numero.woff2) format('woff2');unicode-range:U+2116}

:root{
  --bg:#09090B;
  --text:#F8FAFC;
  --text-2:#D4D4D8;
  --muted:#A1A1AA;
  --dim:#8C8C95; /* lowest grey with ≥4.5:1 on the page, cards, burger panel and the fog's brightest spot (4.54 at 2560px) */
  --pink:#EC4899;
  /* Prose links. --pink itself measures 4.38:1 on the fog's brightest 8x8 spot at 2560px (4.52 at 1440) — under
     the 4.5 that 16-17px bold needs; this rose measures 5.84:1 there. Same value the design already uses for
     .label-rose, .hue-3 and .path-rose, so it is not a new colour, only a second job for an existing one. */
  --link:#F472B6;
  --violet:#8B5CF6;
  --cyan:#22D3EE;
  --line:rgba(255,255,255,0.08);
  --card:rgba(17,17,22,0.7);
  --font:Geist,system-ui,sans-serif;
  --mono:'JetBrains Mono',monospace;
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* Base */
html{-webkit-tap-highlight-color:transparent;background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;text-wrap:pretty}
*{box-sizing:border-box}
a{color:var(--text);text-decoration:none}
/* :where() keeps this at element specificity, so any class that sets a colour wins — same as inline colours did in the design */
a:where(:hover){color:var(--pink)}
button{font-family:inherit}
em{font-style:normal}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-weight:600}
/* Links in running text: pink + 600, so they don't rely on colour alone (WCAG 1.4.1) and are visible at all.
   Scoped to the text elements, not to the sections that happen to hold them: naming sections (.kw-sec, .use-box…)
   meant every new block on the home page silently reverted its links to --text. Prose lives in <p> — plus the two
   prose blocks that are not a <p>: the FAQ answer and the rules list, where the link sits inside a sentence.
   Lists of links stay out on purpose (nav, .toc, .footer-col, .index-list, .side-list): there the <a> IS the item.
   :where() keeps this at element specificity, so any component that sets its own colour still wins over it. */
:where(p,.faq-a,.rules li) a{color:var(--link);font-weight:600;transition:color .2s,text-decoration-color .2s}
:where(p,.faq-a,.rules li) a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}

.page{position:relative;min-height:100vh;background:var(--bg);color:var(--text);overflow-x:clip}
.wrap{max-width:1680px;margin-left:auto;margin-right:auto;padding-left:40px;padding-right:40px}
main{position:relative;z-index:1}

/* Reveal on scroll: hidden state only exists once script.js adds .js-reveal */
.reveal{transition:opacity .9s var(--ease),transform .9s var(--ease)}
html.js-reveal .reveal:not(.shown){opacity:0;transform:translateY(28px)}

@keyframes fogA{0%{transform:translate(-10%,-5%) scale(1)}50%{transform:translate(8%,10%) scale(1.15)}100%{transform:translate(-10%,-5%) scale(1)}}
@keyframes fogB{0%{transform:translate(10%,5%) scale(1.1)}50%{transform:translate(-6%,-8%) scale(0.95)}100%{transform:translate(10%,5%) scale(1.1)}}
@keyframes fogC{0%{transform:translate(0,10%) scale(1)}50%{transform:translate(-8%,-4%) scale(1.2)}100%{transform:translate(0,10%) scale(1)}}
@keyframes grain{0%,100%{transform:translate(0,0)}25%{transform:translate(-1%,1%)}50%{transform:translate(1%,-1%)}75%{transform:translate(-1%,-1%)}}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}

/* Per-app accents */
.hue-1{--hue:#EC4899;--glow:rgba(236,72,153,0.45);--sa:#1F1B2E;--sb:#191627}
.hue-2{--hue:#22D3EE;--glow:rgba(34,211,238,0.4);--sa:#0F1A22;--sb:#0C151B}
.hue-3{--hue:#F472B6;--glow:rgba(244,114,182,0.4);--sa:#231523;--sb:#1B111B}
.hue-4{--hue:#A78BFA;--glow:rgba(167,139,250,0.4);--sa:#191636;--sb:#13112A}
.hue-5{--hue:#67E8F9;--glow:rgba(103,232,249,0.35);--sa:#0E1B2A;--sb:#0B1520}
.hue-6{--hue:#FBBF24;--glow:rgba(251,191,36,0.35);--sa:#231C10;--sb:#1B160C}

/* Shared bits */
.label{font-family:var(--mono);font-size:11.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted)}
.label-pink{color:var(--pink)}
.label-violet{color:var(--violet)}
.label-cyan{color:var(--cyan)}
.label-rose{color:#F472B6}
.sec-title{line-height:1;letter-spacing:-0.03em;margin:18px 0 0}
.sec-title em{color:var(--muted)}
.chapter::before,.essay::before,.method::before{content:"";position:absolute;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.12),transparent)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;transition:transform .25s var(--ease),box-shadow .3s,background .2s}
.btn-lg{padding:16px 26px;font-size:15px}
.btn-md{padding:15px 24px;font-size:14.5px}
.btn-sm{padding:14px 22px;font-size:14.5px}
.btn-light{background:var(--text);color:var(--bg);font-weight:600;border:0}
.btn-light:hover{color:var(--bg);box-shadow:0 20px 50px var(--glow)}
.btn-glass{border:1px solid rgba(255,255,255,0.22);background:rgba(9,9,11,0.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-weight:500}
.btn-glass:hover{background:rgba(255,255,255,0.1);color:var(--text)}
.btn-line{border:1px solid rgba(255,255,255,0.16);background:transparent;color:var(--text);font-weight:500}
.btn-line:hover{background:rgba(255,255,255,0.06);color:var(--text)}

/* Fog + grain (decorative, fixed behind everything) */
.fog{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.fog > div{position:absolute;border-radius:50%}
.fog-a{left:-10%;top:-20%;width:70vw;height:70vw;background:radial-gradient(closest-side,rgba(139,92,246,0.28),transparent 70%);filter:blur(60px);animation:fogA 26s ease-in-out infinite}
.fog-b{right:-15%;top:10%;width:60vw;height:60vw;background:radial-gradient(closest-side,rgba(236,72,153,0.22),transparent 70%);filter:blur(70px);animation:fogB 32s ease-in-out infinite}
.fog-c{left:20%;bottom:-30%;width:65vw;height:65vw;background:radial-gradient(closest-side,rgba(34,211,238,0.12),transparent 70%);filter:blur(80px);animation:fogC 38s ease-in-out infinite}
.fog > .grain{inset:-5%;border-radius:0;opacity:0.35;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");animation:grain 1.2s steps(4) infinite}

/* Header */
/* The blur lives on ::before: backdrop-filter on the header itself would make it the containing block for the fixed burger panel */
.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line)}
.site-header::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(9,9,11,0.88);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.header-bar{position:relative;padding-top:18px;padding-bottom:18px;display:flex;align-items:center;gap:28px}
.logo{font-weight:600;font-size:26px;letter-spacing:-0.01em;display:flex;align-items:center;gap:10px}
.logo:hover,.footer-logo:hover{color:var(--text)}
.logo-mark{flex:none;width:32px;height:32px;border-radius:50%}
/* width:max-content porque el menú es absoluto con left:50%: sin él, el ancho disponible que el
   navegador le asigna es solo el que queda del centro al borde, y los siete puntos se comprimían y
   partían en dos líneas entre 1001 y 1279 px. Con max-content mide lo que mide su texto. */
.nav{position:absolute;left:50%;transform:translateX(-50%);display:flex;gap:38px;font-size:13.5px;width:max-content}
.nav a{color:var(--muted)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text)}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.nav-cta{display:inline-block;padding:11px 18px;border-radius:999px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:13.5px;font-weight:500;transition:transform .25s var(--ease),background .2s}
.nav-cta:hover{background:rgba(255,255,255,0.12);color:var(--text)}
/* Burger (where the nav is hidden): <details> + full-screen panel that slides in from the right, items stagger in.
   Hidden state only with JS (html.js), so without JS the native <details> still opens a visible menu */
.burger{display:none}
.burger > summary{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;cursor:pointer;list-style:none;color:var(--text);background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);transition:background .22s,border-color .22s}
.burger > summary::-webkit-details-marker{display:none}
.burger > summary:hover,.burger[open] > summary{background:rgba(255,255,255,0.12)}
.burger-ic{position:relative;width:20px;height:20px}
.burger-ic svg{position:absolute;inset:0;width:20px;height:20px;transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
.burger .ic-close{opacity:0;transform:rotate(-90deg) scale(.7)}
.burger[open] .ic-open{opacity:0;transform:rotate(90deg) scale(.7)}
.burger[open] .ic-close{opacity:1;transform:none}
.logo,.burger > summary{position:relative;z-index:3}
.burger-menu{position:fixed;inset:0;z-index:1;padding:calc(var(--hh,79px) + 4px) 0 24px;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(78% 42% at 88% 0%,rgba(139,92,246,0.16) 0%,transparent 68%),radial-gradient(64% 38% at 4% 100%,rgba(236,72,153,0.12) 0%,transparent 70%),#0c0b10;transition:transform .28s cubic-bezier(.4,0,.7,.4),opacity .28s cubic-bezier(.4,0,.7,.4)}
html.js .burger-menu:not(.is-open){transform:translateX(64px);opacity:0}
.burger-menu.is-open{transition:transform .46s cubic-bezier(.2,.8,.25,1),opacity .46s ease}
.burger-menu.is-open .bmenu-nav > *,.burger-menu.is-open .bmenu-cta{animation:bitem-in .44s cubic-bezier(.22,.9,.3,1) both}
.bmenu-nav > :nth-child(1){animation-delay:110ms}.bmenu-nav > :nth-child(2){animation-delay:138ms}.bmenu-nav > :nth-child(3){animation-delay:166ms}.bmenu-nav > :nth-child(4){animation-delay:194ms}.bmenu-nav > :nth-child(5){animation-delay:222ms}
.bmenu-nav > :nth-child(6){animation-delay:250ms}.bmenu-nav > :nth-child(7){animation-delay:278ms}.bmenu-nav > :nth-child(8){animation-delay:306ms}.bmenu-nav > :nth-child(9){animation-delay:334ms}.bmenu-nav > :nth-child(10){animation-delay:362ms}
.bmenu-nav > :nth-child(11){animation-delay:390ms}.bmenu-nav > :nth-child(12){animation-delay:418ms}.bmenu-nav > :nth-child(13){animation-delay:446ms}.bmenu-nav > :nth-child(n+14){animation-delay:474ms}
.bmenu-cta{animation-delay:500ms}
@keyframes bitem-in{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
/* lock on html only: overflow on body too would make body the scroller and unstick the header */
html:has(.burger[open]){overflow:hidden}
body:has(.burger[open])::after{content:"";position:fixed;inset:0;z-index:0;background:rgba(6,5,10,0.62);pointer-events:none;opacity:0;transition:opacity .28s ease}
body:has(.burger-menu.is-open)::after{opacity:1;transition:opacity .46s ease}
.bmenu-nav{display:flex;flex-direction:column;padding-bottom:24px}
.bmenu-cap{display:flex;align-items:center;gap:12px;margin:0;padding:18px 20px 8px;font-family:var(--mono);font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--dim)}
.bmenu-cap::before{content:"";width:16px;height:1px;flex:none;background:var(--pink)}
.bmenu-cap:first-child{padding-top:4px}
.bmenu-nav a{padding:12px 20px;font-size:17px;color:rgba(255,255,255,0.86);transition:background .18s,color .18s,padding-left .28s cubic-bezier(.16,1,.3,1)}
.bmenu-nav a:hover,.bmenu-nav a:focus-visible{background:rgba(255,255,255,0.07);color:var(--text);padding-left:26px}
.bmenu-nav a[aria-current="page"]{color:var(--text)}
.bmenu-cta{margin:auto 20px 0;flex:none;justify-content:center}

/* Hero: photo stays the background on every breakpoint, scrims from the design keep text readable */
.hero{position:relative;clip-path:inset(0);min-height:calc(100vh - var(--hh,79px));min-height:calc(100svh - var(--hh,79px));display:flex;align-items:flex-end;overflow:hidden}
/* clip-path here as well as on .hero: without it the compositor clips the fixed photo to a whole pixel while
   the scrim is antialiased to the box's fractional bottom, and the row between them leaks ~55% of the photo as
   a bright hairline at the seam. Clipping both in the same layer makes the two edges round identically. */
.hero-bg{position:absolute;inset:0;clip-path:inset(0)}
/* Photo is pinned to the viewport (clip-path on .hero clips it to the section), so it stays put natively while the page scrolls over it */
.hero-bg img{position:fixed;top:var(--hh,79px);left:0;width:100%;height:100vh;object-fit:cover;object-position:70% top}
/* Slow zoom on scroll. Scroll-driven CSS, no JS; browsers without it just skip the zoom */
@supports (animation-timeline:scroll()){.hero-bg img{animation:hero-bg linear both;animation-timeline:scroll(root);animation-range:0 100vh}}
@keyframes hero-bg{to{transform:scale(1.12)}}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,9,11,0.7) 0%,transparent 60%),linear-gradient(180deg,rgba(9,9,11,0.35) 0%,rgba(9,9,11,0.1) 40%,rgba(9,9,11,0.92) 100%)}
.hero-inner{position:relative;z-index:2;width:100%;max-width:1680px;margin:0 auto;padding:120px 40px 72px;animation:rise .9s var(--ease) both}
.kicker{display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:11.5px;letter-spacing:0.12em;color:var(--text-2);text-transform:uppercase}
.kicker::before{content:"";width:28px;height:1px;background:var(--pink)}
.hero-title{font-size:clamp(56px,7.5vw,120px);line-height:0.95;letter-spacing:-0.035em;margin:24px 0 0;max-width:12ch}
.hero-title em{color:var(--pink)}
.hero-lead{font-size:18px;line-height:1.6;color:var(--text-2);margin:28px 0 0;max-width:745px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px;align-items:center}
.hero-ctas .btn-light:hover{box-shadow:0 20px 60px rgba(236,72,153,0.35)}

/* Index */
.index{padding-top:72px;padding-bottom:40px}
.index-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;border-bottom:1px solid rgba(255,255,255,0.1);padding-bottom:18px}
.index-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr)}
.index-list a{display:block;padding:22px 18px 22px 0;border-bottom:1px solid rgba(255,255,255,0.06);color:var(--text);transition:padding-left .3s var(--ease)}
.index-list a:hover{padding-left:8px;color:var(--text)}
.index-rank{display:block;font-family:var(--mono);font-size:11px;color:var(--hue)}
.index-name{display:block;font-weight:600;font-size:26px;margin-top:6px;letter-spacing:-0.01em}
.index-badge{display:block;font-size:12.5px;color:var(--muted);margin-top:4px}

/* Chapters */
.chapter{position:relative;padding-top:120px;padding-bottom:120px;min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;scroll-margin-top:40px}
.chapter::before{left:0;right:0}
.index + .chapter::before{content:none}
.ch-text,.ch-visual{position:relative}
.ch-flip .ch-text{order:2}
.ch-flip .ch-visual{order:1}
.ch-text > *{position:relative}
.ch-text > .ch-rank{position:absolute;left:-16px;top:-120px;font-weight:600;font-size:240px;line-height:1;letter-spacing:-0.06em;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,0.12);pointer-events:none;user-select:none}
.ch-kicker{display:flex;align-items:center;gap:12px;font-family:var(--mono);font-size:11.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--hue)}
.ch-kicker::before{content:"";width:22px;height:1px;background:currentColor}
.ch-title{font-size:clamp(48px,5.6vw,84px);line-height:0.98;letter-spacing:-0.025em;margin:22px 0 0}
.ch-title em{color:var(--muted);font-size:0.62em}
.ch-verdict{font-size:17px;line-height:1.7;color:var(--text-2);margin:28px 0 0}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 24px;margin:34px 0 0}
.facts dt,.tool-facts dt{font-family:var(--mono);font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;color:var(--dim)}
.facts dd{margin:6px 0 0;font-size:15px;font-weight:500}
.ch-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:38px;align-items:center}

/* Chapter visual: image placeholder with the score laid over it */
.ch-card{position:relative;border-radius:28px;overflow:hidden;aspect-ratio:4/3;width:100%;background:repeating-linear-gradient(135deg,var(--sa) 0 12px,var(--sb) 12px 24px);box-shadow:0 60px 120px rgba(0,0,0,0.55),0 0 0 1px rgba(255,255,255,0.06)}
.ch-card::before{content:"";position:absolute;inset:0;background:radial-gradient(70% 50% at 50% 100%,var(--glow),transparent 70%),linear-gradient(180deg,rgba(9,9,11,0.1),rgba(9,9,11,0.85) 85%)}
.ch-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.ch-card::before{z-index:1}
.ch-score{z-index:2}
.ch-score{position:absolute;left:24px;right:24px;bottom:24px}
.score{display:flex;align-items:baseline;gap:10px}
.score-num{font-weight:600;font-size:clamp(72px,7vw,120px);line-height:0.9;letter-spacing:-0.04em}
.score-of{color:var(--muted);font-size:15px}
.bars{display:grid;gap:10px;margin-top:22px}
.bar{display:grid;grid-template-columns:96px 1fr 32px;align-items:center;gap:12px;font-size:12.5px}
.bar-label{color:var(--muted)}
.bar-track{display:block;height:2px;background:rgba(255,255,255,0.14);border-radius:9px;overflow:hidden}
.bar-fill{display:block;height:100%;background:var(--text);transition:width 1.4s var(--ease)}
.bar-val{text-align:right;font-weight:500}
/* Bar widths = score × 10.
   ponytail: one class per value in use; add a class for a new score, or switch to attr() once typed attr() ships everywhere */
.w-76{width:76%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}
.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-92{width:92%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}
/* script.js adds .pending until the card scrolls into view, then removes it so the bars grow */
.pending .bar-fill{width:0;transition:none}

/* Essay */
.essay{position:relative;padding-top:140px;padding-bottom:40px}
.essay::before,.method::before{left:40px;right:40px}
.essay-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:56px;align-items:start}
/* Sticky only while the aside sits beside its text: below 1152px the grids wrap to one column and a sticky aside would ride over the text */
@media (min-width:1152px){.essay-aside,.faq-intro{position:sticky;top:100px}}
.essay-title{font-size:clamp(40px,4.2vw,60px);line-height:1.02;margin-top:20px}
.byline{display:flex;gap:16px;margin-top:28px;font-size:13px;color:var(--dim)}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.stat-num{font-weight:600;font-size:40px;letter-spacing:-0.03em;line-height:1}
.stat-label{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.5}
.essay-body{grid-column:span 2 / auto}
.essay-body p{font-size:17px;line-height:1.8;color:var(--text-2);margin:24px 0 0}
.essay-body .essay-lede{font-weight:500;font-size:clamp(22px,2vw,28px);line-height:1.4;letter-spacing:-0.015em;color:var(--text);margin:0}
.essay-body .essay-lede + p{margin-top:32px}
.essay-body blockquote{margin:40px 0;padding:0 0 0 28px;border-left:2px solid var(--pink);font-weight:500;font-size:clamp(22px,2vw,30px);line-height:1.35;letter-spacing:-0.015em;color:var(--text)}
.essay-body blockquote + p{margin-top:0}
.essay-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px;align-items:center}
.text-link{font-size:14.5px;font-weight:500;color:var(--link)}
.text-link:hover{color:var(--text)}

/* Method */
.method{position:relative;padding-top:140px;padding-bottom:100px}
.method-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:56px;align-items:start}
.method-title{font-size:clamp(44px,4.6vw,68px);letter-spacing:-0.025em;margin-top:20px}
.method-lead{font-size:17px;line-height:1.7;color:var(--muted);margin:28px 0 0}
.criteria{list-style:none;padding:0;margin:0;display:grid}
.criteria li{display:grid;grid-template-columns:48px 1fr auto;gap:20px;align-items:baseline;padding:22px 0;border-bottom:1px solid var(--line)}
.crit-n,.crit-w{font-family:var(--mono);font-size:12px;color:var(--dim)}
.crit-w{color:var(--text)}
.crit-name{margin:0;font-weight:600;font-size:26px;letter-spacing:-0.01em}
.crit-desc{font-size:14px;color:var(--muted);margin-top:6px;line-height:1.55}

/* Trust */
.trust{padding-top:40px;padding-bottom:120px}
.trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:16px}
.panel{position:relative;overflow:hidden;padding:44px;border-radius:28px;background:var(--card);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--line)}
.panel::before{content:"";position:absolute;right:-120px;width:380px;height:380px;border-radius:50%}
.panel-privacy::before{bottom:-140px;background:radial-gradient(closest-side,rgba(34,211,238,0.22),transparent)}
.panel-use::before{top:-140px;background:radial-gradient(closest-side,rgba(236,72,153,0.22),transparent)}
.panel-title{font-size:44px;line-height:1;letter-spacing:-0.02em;margin:18px 0 0}
.panel-text{font-size:15.5px;line-height:1.7;color:var(--muted);margin:20px 0 0}
.badges{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.badges li{padding:8px 14px;border-radius:999px;border:1px solid rgba(34,211,238,0.3);font-size:12.5px;color:var(--text-2)}
.rules{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px;font-size:15px;line-height:1.6;color:var(--text-2)}
/* Not flex: any inline element inside the text (a link, em) would become its own flex item
   and break the paragraph into columns. Absolute dash keeps the text one flow */
.rules li{position:relative;padding-left:24px}
.rules li::before{content:"—";content:"—"/"";position:absolute;left:0;top:0;color:var(--pink)}
.panel-link{display:inline-block;margin-top:28px;font-size:14px;font-weight:500;color:var(--cyan)}
.panel-use .panel-link{color:var(--pink)}
.panel-link:hover,.panel-use .panel-link:hover{color:var(--text)}

/* Where to start */
.start{padding-top:0;padding-bottom:140px}
.start-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.start-title{font-size:clamp(40px,4.6vw,64px)}
.start-note{font-size:14px;color:var(--dim);max-width:320px;line-height:1.55}
.paths{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin-top:40px}
.path-cyan{--hue:#22D3EE;--glow:rgba(34,211,238,0.22)}
.path-rose{--hue:#F472B6;--glow:rgba(244,114,182,0.22)}
.path-pink{--hue:#EC4899;--glow:rgba(236,72,153,0.22)}
/* After .reveal on purpose: the design's inline transition replaced the reveal one on these cards */
.path{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:300px;padding:32px;border-radius:26px;background:var(--card);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--line);color:var(--text);transition:transform .35s var(--ease),border-color .3s}
.path:hover{transform:translateY(-6px);border-color:rgba(255,255,255,0.2);color:var(--text)}
.path::before{content:"";position:absolute;right:-120px;bottom:-140px;width:360px;height:360px;border-radius:50%;background:radial-gradient(closest-side,var(--glow),transparent)}
/* z-index en vez de position:relative para levantar el texto por encima del halo de .path::before.
   Ambos son flex items, así que el z-index les vale sin posicionarlos — y al no posicionarlos, el
   bloque contenedor del estirador de abajo sigue siendo .path y no .path-body. */
.path-kicker{z-index:1;font-family:var(--mono);font-size:11.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--hue)}
.path-body{z-index:1}
.path-q{display:block;margin:0;font-weight:600;font-size:30px;line-height:1.1;letter-spacing:-0.025em}
.path-a{display:block;font-size:14.5px;line-height:1.6;color:var(--muted);margin-top:12px}
/* El enlace envuelve solo su propio texto: así el nombre accesible son tres palabras y no la tarjeta
   entera. El ::after devuelve el área de clic a toda la tarjeta sin meter el texto dentro del <a>. */
.path-cta{display:inline-flex;align-items:center;gap:8px;margin-top:22px;font-size:14px;font-weight:500;color:var(--text)}
.path-cta::after{content:"";position:absolute;inset:0}

/* FAQ. Without JS every answer is open; script.js collapses panels via aria-hidden */
.faq{position:relative;padding-top:0;padding-bottom:140px}
.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:56px;align-items:start}
.faq-title{font-size:clamp(40px,4.6vw,64px)}
.faq-lead{font-size:16px;line-height:1.65;color:var(--muted);margin:22px 0 0}
.faq-list{grid-column:span 2 / auto;display:grid;counter-reset:faq}
.faq-item{border-bottom:1px solid var(--line);counter-increment:faq}
.faq-item h3{margin:0}
.faq-q{width:100%;display:grid;grid-template-columns:48px 1fr 32px;align-items:center;gap:20px;padding:26px 0;background:transparent;border:none;color:var(--text);text-align:left;cursor:pointer}
.faq-n{font-family:var(--mono);font-size:12px;color:var(--dim);transition:color .3s}
.faq-n::before{content:counter(faq,decimal-leading-zero)}
.faq-text{font-size:clamp(18px,1.6vw,22px);font-weight:500;letter-spacing:-0.015em;line-height:1.3}
.faq-icon{width:32px;height:32px;border-radius:50%;border:1px solid rgba(255,255,255,0.14);display:inline-flex;align-items:center;justify-content:center;transition:transform .35s var(--ease),background .3s}
.faq-q[aria-expanded="true"] .faq-n{color:var(--cyan)}
.faq-q[aria-expanded="true"] .faq-icon{transform:rotate(45deg);background:rgba(255,255,255,0.1)}
.faq-panel{display:grid;grid-template-rows:1fr;transition:grid-template-rows .45s var(--ease)}
.faq-panel[aria-hidden="true"]{grid-template-rows:0fr}
.faq-clip{overflow:hidden;min-height:0}
.faq-a{padding:0 52px 28px 68px;font-size:16px;line-height:1.75;color:var(--muted);transition:opacity .35s ease,transform .45s var(--ease)}
.faq-panel[aria-hidden="true"] .faq-a{opacity:0;transform:translateY(-8px)}

/* Footer */
.site-footer{position:relative;z-index:1;border-top:1px solid var(--line);background:rgba(9,9,11,0.6);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.footer-grid{padding-top:72px;padding-bottom:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:44px 32px}
.footer-brand{grid-column:span 2 / auto;min-width:240px}
.footer-logo{font-weight:600;font-size:24px;letter-spacing:-0.02em;display:inline-flex;align-items:center;gap:10px}
.footer-brand p{font-size:14px;line-height:1.65;color:var(--muted);margin:16px 0 0;max-width:300px}
.tags{display:flex;gap:10px;margin-top:22px;font-family:var(--mono);font-size:11px;letter-spacing:0.08em}
.tag{padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);color:var(--muted)}
.tag-pink{border-color:rgba(236,72,153,0.4);color:var(--pink)}
.footer-title{font-family:var(--mono);font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--dim);font-weight:400;margin:0 0 18px}
.footer-col ul{list-style:none;padding:0;margin:0;display:grid;gap:11px}
.footer-col li{display:flex}
.footer-col a{display:inline-flex;align-items:center;font-size:14px;line-height:1.5;color:var(--text-2);transition:color .2s}
.footer-col a:hover,.footer-col a:focus-visible{color:var(--text)}
/* hover: a short pink dash slides in and nudges the label, same motif as the kickers */
.footer-col a::before{content:"";flex:none;align-self:flex-start;margin-top:.75em;width:0;height:1px;margin-right:0;background:var(--pink);transition:width .3s var(--ease),margin-right .3s var(--ease)}
@media (hover:hover){.footer-col a:hover::before{width:12px;margin-right:8px}}
.footer-col a:focus-visible::before{width:12px;margin-right:8px}
.footer-bottom{padding-top:22px;padding-bottom:40px;border-top:1px solid rgba(255,255,255,0.06);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;font-size:12.5px;color:var(--dim)}

@media (max-width:900px){
  .nav{display:none}
  .burger{display:block}
  .chapter{grid-template-columns:1fr;min-height:auto;padding-top:80px;padding-bottom:80px}
  .ch-text > .ch-rank{font-size:120px;top:-100px}
  /* one column: every chapter opens with its photo, then its text */
  .chapter .ch-visual{order:-1;z-index:1}
}
@media (max-width:640px){
  /* text spans the full width on phones, so the side scrim does not reach it: darken the whole photo, keep the face readable up top */
  .hero-bg::after{background:linear-gradient(180deg,rgba(9,9,11,0.35) 0%,rgba(9,9,11,0.5) 30%,rgba(9,9,11,0.72) 60%,rgba(9,9,11,0.94) 100%)}
  .nav-cta{display:none}
  /* 3 columns leave ~100px each on a 390px screen: a 29-char value breaks over 3 lines */
  .facts{grid-template-columns:repeat(2,1fr)}
  .wrap,.hero{padding-left:20px;padding-right:20px}
  .hero-inner{padding:48px 0 40px}
  .hero-title{font-size:54px}
  /* tighter vertical rhythm on phones: desktop 120–140px section gaps read as empty screens */
  /* The index duplicates the five chapters that follow it and the burger list; on a phone it is scroll, not navigation */
  .index{display:none}
  .chapter{padding-top:56px;padding-bottom:56px}
  .essay{padding-top:64px;padding-bottom:24px}
  .method{padding-top:64px;padding-bottom:48px}
  .trust{padding-top:24px;padding-bottom:64px}
  .start,.faq{padding-bottom:64px}
  .essay-grid,.method-grid,.faq-grid{gap:32px}
  .ch-card{aspect-ratio:auto;min-height:380px}
  .ch-title,.sec-title{font-size:40px}
  .index-list{grid-template-columns:1fr 1fr}
  /* 44px padding on a 390px screen leaves ~300px of text column */
  .panel{padding:28px 22px}
  .panel-title{font-size:32px}
  /* design bug fix: span 2 in a one-column grid adds an implicit column + 56px gap and pushed the text 21–41px off-screen at 375 */
  .essay-body,.faq-list{grid-column:auto}
}
@media (prefers-reduced-motion:reduce){
  .hero-bg img{position:absolute;top:0;height:100%}
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ==== Inner pages: /free-tools/ and /privacy-guide/ (.page.kw) ==== */
/* Chrome: the inner-page designs use a smaller logo, a shorter footer top, two fog blobs and hide the nav at 1000 */
.kw .logo{font-size:22px;letter-spacing:-0.02em}
.kw .footer-grid{padding-top:64px}
.fog-tools .fog-a{background:radial-gradient(closest-side,rgba(139,92,246,0.22),transparent 70%)}
.fog-tools .fog-b{top:20%;background:radial-gradient(closest-side,rgba(244,114,182,0.16),transparent 70%)}
.fog-guide .fog-a{top:10%;background:radial-gradient(closest-side,rgba(34,211,238,0.14),transparent 70%)}
.fog-guide .fog-b{top:40%;background:radial-gradient(closest-side,rgba(139,92,246,0.18),transparent 70%)}

/* Hero */
.crumbs{display:flex;flex-wrap:wrap;gap:10px;font-family:var(--mono);font-size:11.5px;letter-spacing:0.08em;text-transform:uppercase;color:var(--dim)}
.crumbs a{color:var(--dim)}
.crumbs [aria-current]{color:var(--muted)}
.kw-hero{padding-top:72px;padding-bottom:56px;animation:rise .9s var(--ease) both}
.kw-title{font-size:clamp(44px,5.6vw,84px);line-height:0.98;letter-spacing:-0.035em;margin:28px 0 0;max-width:16ch}
.kw-title em{color:var(--muted)}
.kw-lead{font-size:18px;line-height:1.65;color:var(--text-2);margin:0;max-width:640px}
.kw-meta{display:flex;flex-wrap:wrap;justify-content:end;gap:16px 28px;font-size:13px;color:var(--dim)}
.kw-meta .by{color:var(--text-2)}
/* Guide hero reuses the homepage .hero/.hero-bg: whatever sits in .hero-bg stays a full-bleed background with the scrim on top */
.hero-guide{min-height:70vh;min-height:70svh}
/* Two scrims: the horizontal one carries the text side, the vertical one hands the photo over to the page background */
/* El stop superior es 0.75 y no 0.55 por contraste: las migas viven en esa franja y con fotos claras
   no llegaban a 4.5:1. Sube también el texto del h1 y del lead, que están en la misma zona. */
.hero-guide .hero-bg::after{background:linear-gradient(90deg,rgba(9,9,11,0.82) 0%,rgba(9,9,11,0.45) 45%,rgba(9,9,11,0.15) 75%,transparent 100%),linear-gradient(180deg,rgba(9,9,11,0.75),rgba(9,9,11,0.35) 40%,rgba(9,9,11,0.96))}
/* Narrow screens: text runs full width, so the side scrim would only mute the photo */
@media (max-width:640px){
  /* The pinned photo is fixed and 100vh tall, so a hero taller than that leaves its bottom on the fog.
     Page bg behind it covers the box at any content height; the scrim ends opaque so the seam matches the section below */
  .hero-guide .hero-bg{background:var(--bg)}
  .hero-guide .hero-bg::after{background:linear-gradient(180deg,rgba(9,9,11,0.75),rgba(9,9,11,0.45) 35%,#09090B)}
}
.hero-guide .hero-inner{padding-bottom:64px}
/* Service and trust pages get no decorative photo: no .hero-bg means no scrim either, so the 70svh
   floor would only reserve an empty dark block. Drop it and let the text set the height. */
.hero-plain{min-height:0}
.hero-ph{display:flex;justify-content:flex-end;padding:24px;background:repeating-linear-gradient(135deg,#0F1A22 0 14px,#0C151B 14px 28px);font-family:var(--mono);font-size:10.5px;color:var(--dim)}
/* Over the photo --muted tops out at ~3.4:1; small text needs 4.5:1, so both steps move up one shade */
.hero-guide .crumbs,.hero-guide .crumbs a{color:var(--text)}
.hero-guide .crumbs [aria-current]{color:var(--text)}
.hero-guide .kw-title{font-size:clamp(44px,6vw,92px);line-height:0.96;margin-top:24px;max-width:15ch}
.hero-guide .kw-title em{color:var(--cyan)}
/* Collection hero carries a lead the guide hero does not; .kw-lead ships with margin:0 for the flat 404 hero */
.hero-guide .kw-lead{margin-top:28px;max-width:680px}
.hero-guide .kw-meta{justify-content:start;margin-top:28px;font-size:13.5px;color:var(--muted)}
.hero-guide .kw-meta .by{color:var(--text)}
.crumbs a:hover,.hero-guide .crumbs a:hover{color:var(--text)}

/* Article + sticky sidebar */
.kw-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:64px;align-items:start;padding-bottom:120px}
.guide-layout{padding-top:56px}
.kw-main{min-width:0}
/* design only set this on the long-form sections; #ranked and #faq landed under the sticky header */
.kw-main [id]{scroll-margin-top:100px}
.kw-h2{font-size:clamp(28px,2.6vw,40px);letter-spacing:-0.03em;line-height:1.05;margin:0}
.guide-layout .kw-h2{font-size:clamp(28px,2.8vw,44px)}
.kw-sec{margin-top:72px}
.kw-sec-lg{margin-top:80px}
.kw-sec p{font-size:17px;line-height:1.8;color:var(--text-2);margin:18px 0 0}
.kw-sec .kw-h2 + p{margin-top:22px}
/* Prose subheading, direct child only: the base h3 lands at 18.7px, 1.7px over the body text, and reads as a bold
   paragraph. Child combinator on purpose — the FAQ and the tool cards also put an h3 inside .kw-sec, nested, and
   those carry their own margin:0. A descendant selector here silently pushes every FAQ row down by 40px. */
.kw-sec > h3{font-size:21px;letter-spacing:-0.015em;margin:40px 0 0}
/* Swatches, one per tool: two callouts on the same page must not wear the same gradient, or the
   colour code stops coding anything. mark-ainudez keeps the gradient pulled from the AiNudez card
   set; mark-wavespeed was sharing it and did collide with AiNudez on /deepnude/ and /nudify/,
   so it moved to the violet one. Pair a new name onto an existing gradient only after checking no
   page shows both as callouts. */
.mark{width:44px;height:44px;border-radius:12px}
.mark-ainudez{background:linear-gradient(135deg,#EC4899,#8B5CF6)}
.mark-deep-undress{background:linear-gradient(135deg,#F472B6,#FB7185)}
.mark-pornworks{background:linear-gradient(135deg,#F472B6,#8B5CF6)}
.mark-wavespeed{background:linear-gradient(135deg,#A78BFA,#6366F1)}
.mark-undresswith{background:linear-gradient(135deg,#FBBF24,#EC4899)}
.item-name{display:block;font-weight:600;font-size:15px}
.item-note{display:block;font-size:12px;color:var(--muted);margin-top:2px}

/* Free Tools: short answer */
.qa{position:relative;overflow:hidden;padding:32px 36px;border-radius:24px;background:var(--card);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1)}
.qa::before{content:"";position:absolute;right:-140px;top:-160px;width:400px;height:400px;border-radius:50%;background:radial-gradient(closest-side,rgba(244,114,182,0.22),transparent)}
.qa p{position:relative;font-size:clamp(20px,1.7vw,24px);line-height:1.4;letter-spacing:-0.015em;font-weight:500;margin:14px 0 0}

/* Free Tools: ranked list */
.kw-ranked{margin-top:56px}
.ranked-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-bottom:1px solid rgba(255,255,255,0.1);padding-bottom:16px}
.ranked-head .kw-h2{line-height:1}
.ranked-date{font-family:var(--mono);font-size:11px;letter-spacing:0.08em;color:var(--dim)}
/* Why this page's order differs from the catalogue. Sits between the rule and the first card, so it is read before the ranking */
.ranked-note{font-size:14.5px;line-height:1.65;color:var(--muted);margin:16px 0 0;max-width:72ch}
.tools{list-style:none;padding:0;margin:0}
.tool{display:grid;grid-template-columns:56px minmax(0,1fr) 220px;gap:28px;padding:32px 0;border-bottom:1px solid var(--line);align-items:start}
.tool-rank{font-weight:600;font-size:40px;letter-spacing:-0.04em;line-height:1;color:var(--hue)}
.tool-body{min-width:0}
.tool-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.tool-name{font-size:26px;letter-spacing:-0.025em;margin:0}
.badge{font-family:var(--mono);font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;color:var(--hue);padding:5px 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--hue) 33%,transparent)}
.tool-text{font-size:16px;line-height:1.7;color:var(--text-2);margin:14px 0 0}
.tool-facts{margin:20px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px 20px}
.tool-facts dd{margin:5px 0 0;font-size:14.5px;font-weight:500}
.tool-side{display:grid;gap:14px}
.tool-shot{position:relative;overflow:hidden;border-radius:18px;aspect-ratio:4/3;background:repeating-linear-gradient(135deg,var(--sa) 0 12px,var(--sb) 12px 24px);border:1px solid rgba(255,255,255,0.06)}
/* Photo fills the shot, the hue glow stays on top of it — same pairing as .ch-card on the home page */
.tool-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0%}
.tool-shot::before{content:"";position:absolute;inset:0;z-index:1;background:radial-gradient(70% 60% at 50% 100%,var(--glow),transparent 70%)}
.btn.tool-cta{display:flex;justify-content:center;gap:4px;padding:13px 18px;font-size:14px}
.tool-cta:hover{box-shadow:0 16px 40px var(--glow)}

/* Free Tools: long-form callout */
.callout{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;margin-top:28px;padding:20px 24px;border-radius:18px;background:var(--card);border:1px solid rgba(255,255,255,0.1);color:var(--text);transition:border-color .3s,transform .3s}
.callout:hover{border-color:rgba(255,255,255,0.22);transform:translateY(-2px);color:var(--text)}
.callout-name{display:block;font-weight:600;font-size:16px}
.callout-text{display:block;font-size:13.5px;color:var(--muted);margin-top:3px}
.callout-cta{font-size:13.5px;font-weight:500;white-space:nowrap}

/* Free Tools: FAQ is the homepage accordion at a smaller size */
.kw-faq{margin-top:16px}
.kw-faq .faq-q{grid-template-columns:44px 1fr 32px;gap:18px;padding:22px 0}
.kw-faq .faq-text{font-size:19px}
.kw-faq .faq-a{padding:0 50px 24px 62px}

/* Privacy Guide: article blocks */
.kw-lede{font-size:clamp(21px,1.8vw,26px);line-height:1.4;letter-spacing:-0.015em;font-weight:500;margin:0}
.findings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin-top:40px}
.finding{padding:22px 24px;border-radius:20px;background:var(--card);border:1px solid var(--line)}
.finding-v{font-weight:600;font-size:40px;letter-spacing:-0.04em;line-height:1}
.finding-l{font-size:13.5px;color:var(--muted);margin-top:8px;line-height:1.5}
.c-pink{color:var(--pink)}
.c-cyan{color:var(--cyan)}
.sec-n{font-family:var(--mono);font-size:11.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--cyan)}
.sec-n + .kw-h2{margin-top:14px}
.tool-box{margin-top:28px;padding:22px 24px;border-radius:20px;background:var(--card);border:1px solid rgba(255,255,255,0.1)}
.mini-label{font-family:var(--mono);font-size:10.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--dim)}
.tool-links{display:grid;gap:10px;margin-top:14px}
.tool-link{display:grid;grid-template-columns:40px 1fr auto auto;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.06);color:var(--text);transition:border-color .3s,background .3s}
.tool-link:hover{border-color:rgba(255,255,255,0.2);background:rgba(255,255,255,0.06);color:var(--text)}
.tool-link .mark{width:40px;height:40px;border-radius:11px}
.tool-link .item-note{font-size:12.5px}
.tool-link-cta{font-size:13px;font-weight:500;white-space:nowrap}
.grade{font-family:var(--mono);font-size:11px;padding:5px 9px;border-radius:999px;border:1px solid}
.grade-strong{color:var(--cyan);border-color:rgba(34,211,238,0.4)}
.grade-good{color:#C4B5FD;border-color:rgba(196,181,253,0.4)}
.grade-mixed{color:#F9A8D4;border-color:rgba(249,168,212,0.4)}
.matrix-wrap{margin-top:24px;border-radius:20px;border:1px solid rgba(255,255,255,0.1);background:var(--card);overflow-x:auto}
.matrix{width:100%;border-collapse:collapse;font-size:14px}
.matrix th,.matrix td{padding:15px 16px;border-bottom:1px solid rgba(255,255,255,0.06);text-align:left;color:var(--text-2)}
.matrix thead th{padding-top:16px;padding-bottom:16px;border-bottom-color:var(--line);font-family:var(--mono);font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;font-weight:400;color:var(--dim)}
.matrix :is(th,td):is(:first-child,:last-child){padding-left:20px;padding-right:20px}
.matrix tbody th{font-weight:600;color:var(--text)}
.matrix tbody td:last-child{font-weight:600;font-size:16px;color:var(--text)}
/* Prose in every column: the guide's table ends on a short value, so the emphasis sits on the last column.
   Here the last column is a sentence and the second one is the weight — move the same emphasis there. */
.matrix-prose tbody td:last-child{font-weight:400;font-size:14px;color:var(--text-2)}
.matrix-prose tbody td:first-of-type{white-space:nowrap;font-weight:600;font-size:16px;color:var(--text)}
/* Same specificity as .matrix tbody td:last-child above, which colours the whole last column and
   used to win over the "not published" mark when the mark landed there. Later in the file wins. */
.matrix tbody td.y{color:var(--cyan)}
.matrix tbody td.n{color:#F9A8D4}
.matrix tbody tr:hover{background:rgba(255,255,255,0.03)}
.use-box{margin-top:72px;padding:36px 40px;border-radius:24px;border:1px solid rgba(236,72,153,0.3);background:var(--card)}
.use-box h2{margin:0;font-weight:400}
.use-box p{font-size:16px;line-height:1.7;color:var(--text-2);margin:14px 0 0}

/* Sidebar */
/* Sticky column taller than the viewport would pin with its tail below the fold and never scroll into view.
   On a 1440x700 laptop that cut the affiliate disclosure. The cap only engages when it would not fit. */
.kw-side{position:sticky;top:96px;display:grid;gap:14px;max-height:calc(100svh - 112px);overflow-y:auto;overscroll-behavior:contain}
.side-card{position:relative;overflow:hidden;padding:24px;border-radius:22px;background:rgba(17,17,22,0.78);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1)}
.side-card > *{position:relative}
.side-card-cyan{border-color:rgba(34,211,238,0.25)}
.side-card-cyan::before{content:"";position:absolute;right:-120px;top:-140px;width:320px;height:320px;border-radius:50%;background:radial-gradient(closest-side,rgba(34,211,238,0.2),transparent)}
.side-label{font-size:11px}
.side-head{display:flex;justify-content:space-between;align-items:baseline}
.side-date{font-size:11.5px;color:var(--dim)}
.side-list{list-style:none;padding:0;margin:14px 0 0;display:grid}
.side-list li{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-top:1px solid rgba(255,255,255,0.06)}
.side-card-cyan .side-list li{grid-template-columns:1fr auto;padding:13px 0}
.side-rank{font-family:var(--mono);font-size:11px;color:var(--hue)}
/* Affiliate disclosure for the sidebar block itself: the footer note covers the site, FTC wants it next to the recommendation */
.side-note{margin:14px 0 0;font-size:11.5px;line-height:1.5;color:var(--dim)}
.pill{padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,0.14);font-size:12.5px;font-weight:500;white-space:nowrap}
.pill:hover{background:rgba(255,255,255,0.08);color:var(--text)}
.pill-light,.pill-light:hover{border:0;background:var(--text);color:var(--bg);font-weight:600}
.pill-light:hover{opacity:0.9}
.toc{padding:22px 24px;border-radius:22px;background:rgba(17,17,22,0.5);border:1px solid var(--line)}
.toc :is(ul,ol){list-style:none;padding:0;margin:12px 0 0;display:grid;gap:9px;font-size:14px}
.toc a{display:flex;gap:10px;color:var(--text-2);transition:color .2s var(--ease)}
.toc a:hover{color:var(--text)}
/* Section being read: colour alone is not enough (WCAG 1.4.1), so the weight carries it too */
.toc a[aria-current="true"]{color:var(--pink);font-weight:600}
.toc a[aria-current="true"] .toc-n{color:var(--pink)}
.toc-n{font-family:var(--mono);font-size:11px;color:var(--dim);transition:color .2s var(--ease)}

@media (max-width:1000px){
  .nav{gap:26px}
  .kw .nav{display:none}
  .kw .burger{display:block}
  .kw-layout{grid-template-columns:1fr}
  /* the height cap only exists to keep the sticky desktop column scrollable; stacked, it would nest a scroller mid-page */
  .kw-side{position:static;max-height:none;overflow:visible}
  .kw-side-first{order:-1}
  /* toc duplicated by the burger menu: out of the flow and out of the a11y tree, so it is not read twice */
  .toc-dup{display:none}
}
@media (max-width:640px){
  .kw-hero{padding-top:48px;padding-bottom:40px}
  .kw-layout{padding-bottom:64px}
  .kw-title,.hero-guide .kw-title{font-size:40px}
  /* side by side, the Spanish revision date squeezed the h2 into a third of the width and wrapped itself over three lines */
  .ranked-head{flex-direction:column;align-items:flex-start;gap:8px}
  .tool{grid-template-columns:1fr}
  .matrix{min-width:640px}
  /* grade and "Visit ↗" drop under the name: in one row they pushed "Visit" out of the box at 320px */
  .tool-link{grid-template-columns:40px 1fr auto}
  .tool-link .mark{grid-row:span 2}
  .tool-link > :has(.item-name){grid-column:span 2}
  .tool-link .grade{justify-self:start}
}

/* ==== 404 ==== */
.nf{min-height:calc(78vh - var(--hh,79px));display:flex;flex-direction:column;justify-content:center}
.nf .kw-title{margin-top:20px}
.nf-lead{margin-top:28px}

/* ==== Age gate 18+ and its exit page /salida/ ==== */
/* The cover lives on <html>, not on the dialog: age-gate.js sets the attribute from <head>, before <body> exists,
   so the page is covered on the very first frame instead of flashing until the dialog is appended. Content keeps
   its place in the DOM and its document order — nothing here hides it, the overlay only sits on top of it. */
html[data-age]{overflow:hidden}
html[data-age]::before{content:"";position:fixed;inset:0;z-index:100;background:rgba(9,9,11,0.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.age{width:min(100% - 32px,460px);max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:32px;border:1px solid rgba(255,255,255,0.12);border-radius:24px;background:#111116;color:var(--text);font-family:var(--font)}
.age::backdrop{background:rgba(9,9,11,0.92)}
/* No heading and no imitation of one: body size, body weight, one paragraph. Owner's rule for this window. */
.age-text{margin:0;font-size:16px;line-height:1.6;font-weight:400;color:var(--text-2)}
/* Stacked and full width, confirmation on top: the two labels only fit in a row on a screen this box never gets */
.age-btns{display:grid;gap:10px;margin-top:24px}
.age-btns .btn{justify-content:center;cursor:pointer}
/* Smaller, not dimmer: names the storage and carries the only link out of the dialog. 7.4:1 on #111116 */
.age-note{margin:18px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
/* Global a is --text with no underline; inside a muted paragraph that reads as emphasis, not a link. */
.age-note a{color:var(--text-2);text-decoration:underline;text-underline-offset:2px}
@media (max-width:400px){.age{padding:24px 20px}}

/* /salida/: no header, no footer, no nav, no links. The page is a dead end and that is its job. */
.salida{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;gap:28px;padding-top:40px;padding-bottom:40px}
.salida p{margin:0;max-width:56ch;font-size:17px;line-height:1.7;color:var(--text-2)}

/* ==== Tap targets ≥44px. Kept last: the touch gaps must override the base .toc and .footer-col rules ====
   An invisible ::after grows the hit area to 44px where the link is smaller; nothing visible moves */
.pill,.crumbs a,.toc a,.footer-col a{position:relative}
.pill::after,.crumbs a::after{content:"";position:absolute;inset:min(0px,(100% - 44px)/2)}
@media (pointer:coarse){
  /* toc and footer links sit 27–29px apart, and 44px areas need a 44px pitch: touch screens get the wider gap, text unchanged */
  .toc :is(ul,ol),.footer-col ul{gap:26px}
  .toc a::after,.footer-col a::after{content:"";position:absolute;inset:min(0px,(100% - 44px)/2)}
}
