/* Generado por web/build.mjs: los colores salen de design/keys.css. */
:root{
  --k-C: #EAB261;  --kl-C: #F3DEC1;  --km-C: #6E4B10;  --kt-C: #ECCB9E;  --kd-C: #352206;
  --k-G: #C9C263;  --kl-G: #E5E4C1;  --km-G: #5A5511;  --kt-G: #D7D49F;  --kd-G: #2A2806;
  --k-D: #9DCF81;  --kl-D: #D5E9CB;  --km-D: #3D5D2A;  --kt-D: #BEDCAE;  --kd-D: #1B2C12;
  --k-A: #6BD6AB;  --kl-A: #C7EBDA;  --km-A: #136147;  --kt-A: #A6E0C6;  --kd-A: #072E20;
  --k-E: #48D5D5;  --kl-E: #C0EBEA;  --km-E: #075F5F;  --kt-E: #9AE0DF;  --kd-E: #002D2D;
  --k-B: #5BCDF7;  --kl-B: #C2E8F8;  --km-B: #075B74;  --kt-B: #9FDBF4;  --kd-B: #012B39;
  --k-Fs: #91C1FF;  --kl-Fs: #D0E3FD;  --km-Fs: #305480;  --kt-Fs: #B3D4FF;  --kd-Fs: #15273E;
  --k-Db: #B7B5FD;  --kl-Db: #DDDEFF;  --km-Db: #4E4B7F;  --kt-Db: #CBCBFE;  --kd-Db: #24233E;
  --k-Ab: #DAA6F2;  --kl-Ab: #EDD9F6;  --km-Ab: #644373;  --kt-Ab: #E3C4F1;  --kd-Ab: #301E37;
  --k-Eb: #F49ECF;  --kl-Eb: #F8D6E8;  --km-Eb: #733E5D;  --kt-Eb: #F4BFDC;  --kd-Eb: #371C2C;
  --k-Bb: #FE9FA6;  --kl-Bb: #FED6D8;  --km-Bb: #7A3D43;  --kt-Bb: #FCBFC2;  --kd-Bb: #3B1B1E;
  --k-F: #FDA57D;  --kl-F: #FCD9C9;  --km-F: #794228;  --kt-F: #F9C3AB;  --kd-F: #3A1E11;
}

/* Metatonía · web. Diseño «La rueda»: oscura, luminosa, circular. Cabinet Grotesk (Bold en los títulos).
   Los colores de los 12 tonos (--k-*, --kl-*…) vienen de design/keys.css: build.mjs los antepone. */
/* Cabinet Grotesk (Fontshare, ITF Free Font License): los woff2 oficiales, sin tocar. Se usan 400, 500, 700 y 800: todos los títulos (h1–h3, marca, números y letras grandes) van en 800 (Extrabold: el Bold de esta familia es ligero); etiquetas y botones, en 700. */
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Music"; src: url("fonts/NotoMusic.ttf") format("truetype"); font-display: swap; }
:root {
  --bg: #0C0B09; --bg2: #151310; --tx: #F4F1EA; --tx2: rgba(244, 241, 234, .74); --line: rgba(244, 241, 234, .16);
  --accent: var(--k-G);          /* el tono elegido en la rueda: JS lo cambia con data-key en <html> */
  --display: "Cabinet Grotesk", "Noto Music", system-ui, sans-serif; --body: "Cabinet Grotesk", "Noto Music", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px); --max: 1180px;
}
:root[data-key="C"] { --accent: var(--k-C); } :root[data-key="Db"] { --accent: var(--k-Db); } :root[data-key="D"] { --accent: var(--k-D); }
:root[data-key="Eb"] { --accent: var(--k-Eb); } :root[data-key="E"] { --accent: var(--k-E); } :root[data-key="F"] { --accent: var(--k-F); }
:root[data-key="Fs"] { --accent: var(--k-Fs); } :root[data-key="G"] { --accent: var(--k-G); } :root[data-key="Ab"] { --accent: var(--k-Ab); }
:root[data-key="A"] { --accent: var(--k-A); } :root[data-key="Bb"] { --accent: var(--k-Bb); } :root[data-key="B"] { --accent: var(--k-B); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--body); font-size: 18px; line-height: 1.6; font-weight: 400; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tx); color: var(--bg); padding: 12px 16px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); overflow-wrap: break-word; }
h1.h1s { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); max-width: 18em; }
h2.h2s { font-size: clamp(1.5rem, 3vw, 2rem); margin: 56px 0 18px; }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--tx2); max-width: 38em; margin-top: 18px; }
.soft { color: var(--tx2); }
.eyebrow { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); transition: color .6s; margin-bottom: 16px; }
.eyebrow.dark { color: #0C0B09; }
section { padding-block: clamp(56px, 9vw, 112px); }

/* cabecera */
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(12, 11, 9, .86); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 10px 24px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin-right: auto; }
.brand img { border-radius: 11px; width: 40px; height: 40px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--tx2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bg); background: var(--tx); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--tx); color: var(--bg); font-weight: 700; text-decoration: none; font-size: .9375rem; transition: background .6s, transform .15s; }
.pill:hover { background: var(--accent); }
.pill:active { transform: scale(.97); }
.pill.big { min-height: 54px; padding: 0 30px; font-size: 1.0625rem; }
.ghostbtn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; }
.ghostbtn:hover { border-color: var(--tx); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* héroe: la rueda */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; width: 90vmin; height: 90vmin; right: -20vmin; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent) 0%, transparent 62%); transition: background .8s; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.aside { font-size: .9375rem; color: var(--tx2); max-width: 32em; margin-top: 20px; border-left: 3px solid var(--accent); padding-left: 14px; transition: border-color .6s; }
.wheel-wrap { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.wheel-svg { width: 100%; height: 100%; }
.wheel { transform-origin: 250px 250px; transform: rotate(var(--rot, -30deg)); transition: transform .8s cubic-bezier(.2, .85, .2, 1); }
.sec { cursor: pointer; outline: none; }
.sec path { stroke: var(--bg); stroke-width: 5; transition: opacity .4s, transform .4s; transform-origin: 250px 250px; opacity: .72; }
.sec:hover path, .sec:focus-visible path { opacity: .92; }
.sec[aria-pressed="true"] path, .sec.on path { opacity: 1; transform: scale(1.045); }
.sec:focus-visible path { stroke: var(--tx); }
.lab { font-family: var(--display); font-weight: 800; font-size: 28px; fill: #0C0B09; pointer-events: none; transform-box: fill-box; transform-origin: center; transform: rotate(calc(var(--rot, -30deg) * -1)); transition: transform .8s cubic-bezier(.2, .85, .2, 1); }
.hub { position: absolute; inset: 25.5%; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; pointer-events: none; }
.hub-key { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 9vw, 6rem); letter-spacing: -.02em; line-height: 1; color: var(--accent); transition: color .6s; }
.hub-meta { font-size: clamp(.7rem, 1.5vw, .9rem); color: var(--tx2); font-variant-numeric: tabular-nums; max-width: 9em; line-height: 1.25; margin-top: 4px; }
.steppers { position: absolute; left: 50%; bottom: -8px; translate: -50% 100%; display: flex; gap: 14px; }
.step { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--tx); font-family: var(--display); font-weight: 800; font-size: 1.6rem; cursor: pointer; }
.step:hover { background: var(--tx); color: var(--bg); }
.wheel-wrap { margin-bottom: 76px; }
/* entrada: los sectores aparecen girando uno tras otro; en reposo ya están todos visibles */
@media (prefers-reduced-motion: no-preference) {
  .sec { animation: secIn .7s cubic-bezier(.2, .85, .2, 1) backwards; animation-delay: calc(var(--i) * 55ms); }
  @keyframes secIn { from { opacity: 0; transform: rotate(-30deg) scale(.9); transform-origin: 250px 250px; } }
}

/* hoja */
.sheet-band { background: var(--bg2); border-block: 1px solid var(--line); }
.sheet-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sheet-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--bg); }
.sheet { display: flex; flex-direction: column; gap: 14px; }
.part { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tx2); margin-bottom: -6px; }
.line { display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 2px; }
.seg { display: inline-flex; flex-direction: column; }
.ch { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--accent); padding-right: .7em; min-height: 1.2em; transition: color .6s; }
.ly { white-space: pre-wrap; font-size: 1.1rem; }

/* Modo en vivo de la portada (sheet.js): la línea de ahora resaltada y las demás atenuadas, como en la app. Sin JS no se aplica. */
.sheet.live .line { margin-left: -14px; padding: 3px 8px 3px 10px; border-left: 4px solid transparent; border-radius: 0 12px 12px 0; opacity: .4; cursor: pointer;
  transition: opacity .3s, background-color .3s, border-color .3s; }
.sheet.live .line.on { opacity: 1; border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* servicio: tarjetas */
.cards { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 20px; background: var(--bg2); display: flex; flex-direction: column; gap: 6px; min-height: 250px; }
.card .chip { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--tx2); min-height: 1.2em; }
.card .tone { font-family: var(--display); font-weight: 800; font-size: 4.2rem; letter-spacing: -.02em; line-height: 1; color: var(--c); margin-top: auto; }
.card h3 { font-size: 1.15rem; }
.card p { font-size: .9375rem; color: var(--tx2); }
.card.now { background: var(--c); border-color: var(--c); color: #0C0B09; }
.card.now .tone, .card.now .chip, .card.now p { color: #0C0B09; }
.ahora { position: absolute; right: 18px; top: 18px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card.now .chip.ghost { visibility: hidden; }

/* pestañas */
.tabsgrid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tabc { border-top: 3px solid var(--c); padding-top: 18px; }
.tabc .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--c); color: var(--c); font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.tabc p { color: var(--tx2); font-size: 1rem; margin-top: 8px; }

/* afinador */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.tuner { background: var(--tone, var(--k-A)); color: #0C0B09; border-radius: 28px; padding: 30px; max-width: 440px; width: 100%; margin-inline: auto; transition: background-color .6s; }
.tn { font-family: var(--display); font-weight: 800; font-size: 7.5rem; letter-spacing: -.02em; line-height: 1; text-align: center; }
.tn span { display: inline-block; }
.tsub { text-align: center; font-weight: 700; opacity: .75; margin: 4px 0 0; }
.tuner svg[data-t="dial"] { margin: 14px 0 4px; width: 100%; display: block; }
.trow { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 40px; }
.tword { font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.1; }
.tmark { width: 30px; height: 30px; flex: none; }
.tdetail { text-align: center; font-weight: 500; opacity: .75; font-variant-numeric: tabular-nums; margin: 4px 0 0; min-height: 1.6em; }

/* sin red */
.claims { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.claims li { border-top: 1px solid var(--line); padding-top: 20px; }
.claims p { color: var(--tx2); margin-top: 10px; }
.lic { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.box { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--bg2); }
.close { background: var(--tx); color: var(--bg); }
.close .lead { color: rgba(12, 11, 9, .74); }
.close .pill { background: var(--bg); color: var(--tx); }
.close .ghostbtn { border-color: rgba(12, 11, 9, .3); }
.close-in { display: flex; flex-direction: column; align-items: flex-start; }

/* soporte */
.page-head { padding-block: clamp(40px, 7vw, 88px) 24px; }
.page-body { padding-top: 0; }
.narrow { max-width: 860px; }
.contactc { background: var(--c); color: #0C0B09; border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.contactc .big { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 6px 0 14px; overflow-wrap: anywhere; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 20px; color: var(--tx2); max-width: 44em; } .faq .ans p + p { margin-top: 10px; }

/* pie */
.foot { border-top: 1px solid var(--line); padding-block: 40px; font-size: .9375rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.brandword { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; margin: 0; }
.foot li a { display: inline-block; padding: 8px 0; color: var(--tx2); }
.legal { color: var(--tx2); margin-top: 24px; font-size: .875rem; }
mark.ph { background: #FFC24D; color: #0C0B09; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

@media (max-width: 900px) {
  h1 { font-size: clamp(2.6rem, 10.5vw, 5rem); }
  .nav { order: 3; width: 100%; margin-inline: -6px; }
  .hero-grid, .sheet-grid, .two, .lic { grid-template-columns: 1fr; }
  .cards, .tabsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claims { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .cards, .tabsgrid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .top-in { gap: 8px 12px; } .brand { font-size: 1.1rem; gap: 8px; } .pill { padding: 0 16px; min-height: 40px; }
  .nav { order: 3; width: 100%; margin-inline: -6px; }
  .nav a { padding: 8px 8px; font-size: .875rem; }
  .cta .pill, .cta .ghostbtn { width: 100%; justify-content: center; }
  .wheel-wrap { margin-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .wheel, .lab, .sec path, .hub-key, .eyebrow, .pill { transition: none; } }

/* ---------- Páginas interiores y texto largo ---------- */
.meta { font-size: .9375rem; color: var(--tx2); }
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose h2.h2s { margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.h2s.first, .prose h2.h2s.first { margin-top: 0; }
a { text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--accent); }
code { background: rgba(244, 241, 234, .1); padding: .05em .35em; border-radius: 6px; font-size: .92em; }
.two.top { align-items: start; }
.table-wrap { overflow-x: auto; }
.table-wrap table { min-width: 560px; }
.see { width: 100%; border-collapse: collapse; }
.see th, .see td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.see tr:last-child th, .see tr:last-child td { border-bottom: 1px solid var(--line); }
.see th { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; width: 30%; }
.see thead th { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); font-family: var(--body); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 56rem; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-family: var(--display); font-weight: 800; transition: border-color .6s, color .6s; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--tx2); max-width: 40em; } .steps p + p { margin-top: 8px; }
.draft { background: var(--bg2); border-left: 6px solid #FFC24D; border-radius: 10px; padding: 14px 18px; font-size: .9375rem; margin-bottom: 32px; max-width: 44rem; }
.pill[disabled] { opacity: .55; cursor: not-allowed; }
.pill[disabled]:hover { background: var(--tx); }
button.pill { border: 0; font-family: var(--body); cursor: pointer; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font-family: var(--body); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; color: var(--tx2); max-width: none; }
.foot ul { flex-direction: column; gap: 4px; }
.foot .legal a { color: inherit; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .steps > li { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; } }
/* Títulos largos en Cabinet Grotesk Bold en pantallas estrechas: rompen la palabra solo si no caben. */
h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 520px) { .prose h2.h2s, h2.h2s { font-size: 1.3rem; } }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Guía con capturas ---------- */
.guide { counter-reset: g; list-style: none; padding: 0; margin: 0; }
.guide > li { counter-increment: g; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(24px, 5vw, 64px); align-items: start; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.guide > li:last-child { border-bottom: 1px solid var(--line); }
.gtext { max-width: 34rem; }
.gtext h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 12px; }
.gtext h3::before { content: counter(g); display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 14px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-size: 1rem; vertical-align: middle; transition: border-color .6s, color .6s; }
.gtext p { color: var(--tx2); } .gtext p + p { margin-top: 10px; }
.shots { display: flex; gap: 16px; }
.shot { margin: 0; width: clamp(150px, 20vw, 232px); }
.shot img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--bg2); }
.shot figcaption { margin-top: 8px; font-size: .875rem; color: var(--tx2); text-align: center; }
@media (max-width: 900px) { .guide > li { grid-template-columns: 1fr; } .shots { overflow-x: auto; padding-bottom: 6px; } .shot { flex: none; width: min(46vw, 232px); } }

/* ---------- Seguridad: el viaje de un cambio ---------- */
.flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.node { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--bg2); margin-right: 36px; }
.node:last-child { margin-right: 0; }
.node:not(:last-child)::after { content: ""; position: absolute; right: -36px; top: 50%; width: 36px; height: 2px; background: var(--accent); transition: background .6s; }
.node:not(:last-child)::before { content: ""; position: absolute; right: -36px; top: calc(50% - 5px); width: 0; height: 0; border-left: 9px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateX(0); transition: border-color .6s; }
.node.server { border-style: dashed; }
.step-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); transition: color .6s; margin-bottom: 10px; }
.node h3 { margin-bottom: 10px; }
.node p { color: var(--tx2); font-size: 1rem; }
.node .has { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--tx); font-size: .9375rem; }
.keys3 { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.keys3 li { border-top: 3px solid var(--accent); padding-top: 18px; transition: border-color .6s; display: flex; flex-direction: column; gap: 8px; }
.keys3 p { color: var(--tx2); font-size: 1rem; }
.keys3 .who { margin-top: auto; align-self: flex-start; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 36px; }
  .node { margin-right: 0; }
  .node:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -36px; width: 2px; height: 36px; }
  .node:not(:last-child)::before { right: auto; left: calc(50% - 5px); top: auto; bottom: -37px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--accent); border-bottom: 0; }
  .keys3 { grid-template-columns: 1fr; }
}

/* ---------- Licencia: línea de tiempo y estados ---------- */
.timeline { display: grid; grid-template-columns: 5fr 1.4fr 2.6fr; gap: 6px; margin-top: 28px; }
.timeline .seg { min-height: 64px; border-radius: 14px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; padding: 0 16px; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: .9375rem; }
.timeline .vigente { background: var(--accent); color: #0C0B09; transition: background .6s; }
.timeline .gracia { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, var(--bg)) 0 8px, var(--bg2) 8px 16px); color: var(--tx); border: 1px solid var(--line); }
.timeline .vencida { border: 2px dashed var(--line); color: var(--tx2); }
.tl-note { margin-top: 12px; max-width: 44rem; }
.states { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.states li { border-top: 3px solid var(--accent); padding-top: 16px; transition: border-color .6s; }
.states li:nth-child(2) { border-top-style: dashed; } .states li:nth-child(3), .states li:nth-child(4) { border-top-color: var(--line); }
.states p { color: var(--tx2); font-size: 1rem; margin-top: 8px; }
.ask { max-width: 44rem; } .ask h3 { margin-bottom: 8px; }
@media (max-width: 900px) { .states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .states { grid-template-columns: 1fr; } .timeline .seg { padding: 0 8px; font-size: .75rem; min-height: 52px; } .timeline .gracia span { font-size: .6875rem; } }
@media (prefers-reduced-motion: reduce) { .timeline .vigente, .states li { transition: none; } }

/* ---------- Descarga: huellas y órdenes ---------- */
.hash { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .8125rem; line-height: 1.5; background: rgba(244, 241, 234, .08); padding: 4px 8px; border-radius: 8px; display: inline-block; max-width: 100%; word-break: break-all; overflow-wrap: anywhere; user-select: all; }
pre.cmd { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: .875rem; line-height: 1.7; }
pre.cmd code { background: none; padding: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: inherit; }

/* ---------- Opina (formulario por correo) ---------- */
.opine { display: flex; flex-direction: column; gap: 28px; max-width: 44rem; }
.opine fieldset { border: 0; padding: 0; margin: 0; }
.opine legend { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 1.2rem; line-height: 1.25; margin-bottom: 14px; padding: 0; text-wrap: balance; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.choice input:hover + label { border-color: var(--tx); }
.choice input:checked + label { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; }
.field input, .field textarea { font: inherit; color: var(--tx); background: var(--bg2); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; width: 100%; max-width: 40rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.opine .cta { margin-top: 0; }
a.pill[role="button"] { cursor: pointer; }

/* ---------- Estado del servicio ---------- */
.status { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; background: var(--bg2); max-width: 44rem; margin-bottom: 40px; }
.status .badge { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; border: 2px solid var(--accent); color: var(--accent); transition: border-color .6s, color .6s; }
.status.issue .badge { border-style: dashed; border-radius: 12px; }
.status.unknown .badge { border-color: var(--line); color: var(--tx2); }
.status .st { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; }
.status p + p { margin-top: 6px; }

/* ---------- Novedades y recursos ---------- */
.notes h2.h2s { margin-top: 3rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.notes li { color: var(--tx2); } .notes li strong { color: var(--tx); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; }
.toc a:hover { border-color: var(--tx); }
.recurso { scroll-margin-top: 96px; }
.recurso li strong { color: var(--tx); }

/* Títulos de texto largo (legales, novedades): el mismo tamaño que los .h2s, no el de las secciones de la portada. */
.prose h2:not(.h2s) { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: 3rem; letter-spacing: -.02em; max-width: none; }
.prose h2:not(.h2s):first-child { margin-top: 0; }
.toc { margin-bottom: 40px; }

figcaption { font-weight: 700; }
