/* JustDownload.me — web de presentación con Nui (~/Projects/nui): mismos tokens, tipografía, radios, componentes y
   estructura que la landing de Donna; propio de JustDownload solo el color (azul acero de la app, tema «Industry»),
   el logo y el contenido. HTML estático sin Tailwind: las clases replican las de Nui con CSS a mano.
   Tema: la web sigue al sistema (como la app y sus capturas), sin selector. */

/* ── Tokens (tripletes RGB sin coma, lista obligatoria de Nui 09) ── */
:root {
  /* Azul acero de la app (DefaultThemes.kt, jd-light). --brand = #5980A6 exacto: logo, iconos y brillos.
     --primary es el «primaryVariant» de la app (#416180): con texto blanco encima cumple AA (6,5:1), el #5980A6 no (4,1:1). */
  --brand: 89 128 166;
  --primary: 65 97 128;
  --on-primary: 255 255 255;
  --primary-container: 220 231 242;
  --on-primary-container: 22 46 70;
  --primary-fixed: 220 231 242;
  --primary-fixed-dim: 148 188 227;
  --on-primary-fixed: 22 46 70;
  --on-primary-fixed-variant: 65 97 128;
  --inverse-primary: 148 188 227;
  --surface-tint: 89 128 166;
  --secondary: 72 96 119;
  --on-secondary: 255 255 255;
  --secondary-container: 226 232 238;
  --on-secondary-container: 36 50 64;
  --secondary-fixed: 226 232 238;
  --secondary-fixed-dim: 158 187 216;
  --on-secondary-fixed: 36 50 64;
  --on-secondary-fixed-variant: 72 96 119;
  --tertiary: 79 138 98;
  --on-tertiary: 255 255 255;
  --tertiary-container: 222 238 227;
  --on-tertiary-container: 26 64 39;
  --tertiary-fixed: 222 238 227;
  --tertiary-fixed-dim: 125 187 143;
  --on-tertiary-fixed: 26 64 39;
  --on-tertiary-fixed-variant: 52 104 70;
  --error: 180 72 62;
  --on-error: 255 255 255;
  --error-container: 250 222 219;
  --on-error-container: 110 30 22;
  --background: 242 242 243;
  --on-background: 29 31 32;
  --surface: 255 255 255;
  --on-surface: 29 31 32;
  --on-surface-variant: 74 78 84;
  --surface-variant: 233 233 234;
  --surface-dim: 224 225 227;
  --surface-bright: 255 255 255;
  --surface-container-lowest: 255 255 255;
  --surface-container-low: 248 248 249;
  --surface-container: 236 237 239;
  --surface-container-high: 229 230 232;
  --surface-container-highest: 218 220 223;
  --inverse-surface: 46 49 52;
  --inverse-on-surface: 240 241 242;
  --outline: 116 120 126;
  --outline-variant: 222 224 227;
  --warn: 192 138 46;
  --st-ok: 79 138 98;
  --glass-bg: 255 255 255;
  --glass-high-bg: 255 255 255;
  --glass-header-bg: 255 255 255;
  --glow-a: 0.16;
  --shadow-tint: 65 97 128;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* jd-dark: primary #749DC4, variante #94BCE3, fondo #1A1C1E, superficie #232629 */
    --brand: 148 188 227;
    --primary: 116 157 196;
    --on-primary: 26 28 30;
    --primary-container: 37 54 72;
    --on-primary-container: 214 230 246;
    --primary-fixed: 220 231 242;
    --primary-fixed-dim: 148 188 227;
    --on-primary-fixed: 22 46 70;
    --on-primary-fixed-variant: 65 97 128;
    --inverse-primary: 65 97 128;
    --surface-tint: 116 157 196;
    --secondary: 158 187 216;
    --on-secondary: 26 28 30;
    --secondary-container: 41 50 60;
    --on-secondary-container: 214 226 238;
    --secondary-fixed: 226 232 238;
    --secondary-fixed-dim: 158 187 216;
    --on-secondary-fixed: 36 50 64;
    --on-secondary-fixed-variant: 72 96 119;
    --tertiary: 125 187 143;
    --on-tertiary: 26 28 30;
    --tertiary-container: 30 52 38;
    --on-tertiary-container: 200 234 210;
    --tertiary-fixed: 222 238 227;
    --tertiary-fixed-dim: 125 187 143;
    --on-tertiary-fixed: 26 64 39;
    --on-tertiary-fixed-variant: 52 104 70;
    --error: 224 122 112;
    --on-error: 26 28 30;
    --error-container: 90 32 27;
    --on-error-container: 250 222 219;
    --background: 26 28 30;
    --on-background: 232 233 235;
    --surface: 35 38 41;
    --on-surface: 232 233 235;
    --on-surface-variant: 176 182 190;
    --surface-variant: 43 46 50;
    --surface-dim: 20 22 24;
    --surface-bright: 56 60 65;
    --surface-container-lowest: 20 22 24;
    --surface-container-low: 31 33 36;
    --surface-container: 40 43 47;
    --surface-container-high: 47 51 55;
    --surface-container-highest: 56 60 65;
    --inverse-surface: 232 233 235;
    --inverse-on-surface: 26 28 30;
    --outline: 138 144 152;
    --outline-variant: 52 56 61;
    --warn: 227 181 101;
    --st-ok: 125 187 143;
    --glass-bg: 35 38 41;
    --glass-high-bg: 47 51 55;
    --glass-header-bg: 35 38 41;
    --glow-a: 0.22;
    --shadow-tint: 0 0 0;
    color-scheme: dark;
  }
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; background: rgb(var(--background)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: rgb(var(--background)); color: rgb(var(--on-surface));
  font: 400 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .2s ease, color .2s ease;
}
h1, h2, h3, .headline { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; }
a { color: rgb(var(--primary)); }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
:focus-visible { outline: 2px solid rgb(var(--primary)); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 16px; padding: 8px 14px; border-radius: 9999px; background: rgb(var(--primary)); color: rgb(var(--on-primary)); }

/* Iconos: Material Symbols Outlined (subconjunto autoalojado) */
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; display: inline-block;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; flex: none; }
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.tnum { font-variant-numeric: tabular-nums; }

/* Movimiento Nui (03): cambios de color/fondo/borde fundidos en 0,18 s; especificidad (0,1,1) */
button:not(.no-anim), a:not(.no-anim), [role="button"]:not(.no-anim) {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform, filter;
  transition-duration: .18s; transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }
.animate-fade { animation: fadeIn .18s ease-out; }
.animate-pop { animation: popIn .22s cubic-bezier(.22, 1, .36, 1); }
@media (prefers-reduced-motion: reduce) {
  .animate-fade, .animate-pop { animation-duration: 1ms !important; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ── Clases base Nui (09) ── */
.card { border-radius: 1.5rem; background: rgb(var(--surface)); border: 1px solid rgb(var(--outline-variant));
  box-shadow: 0 12px 32px -4px rgb(var(--shadow-tint) / .08); }
.card-soft { border-radius: 1.75rem; background: rgb(var(--surface-container)); }
.label-caps { font: 600 11px/1.4 "Plus Jakarta Sans", Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: rgb(var(--on-surface-variant)); }
.eyebrow { display: inline-block; font: 700 12px/1.4 "Plus Jakarta Sans", Inter, sans-serif; text-transform: uppercase; letter-spacing: .2em; color: rgb(var(--secondary)); }
.tile { width: 44px; height: 44px; border-radius: 1.75rem; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: rgb(var(--primary-container)); color: rgb(var(--primary)); }
.tile.t2 { background: rgb(var(--secondary-container)); color: rgb(var(--secondary)); }
.tile.t3 { background: rgb(var(--tertiary-container)); color: rgb(var(--tertiary)); }
.tile .ms { font-size: 24px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 9999px;
  font: 600 12px/1 Inter, sans-serif; background: rgb(var(--primary) / .1); color: rgb(var(--primary)); white-space: nowrap; }

/* Botones (rounded-full como los de la landing de Donna) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 9999px; font: 700 15px/1.2 "Plus Jakarta Sans", Inter, sans-serif; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn .ms { font-size: 20px; }
.btn-primary { background: rgb(var(--primary)); color: rgb(var(--on-primary)); box-shadow: 0 12px 28px -8px rgb(var(--primary) / .55); }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-outline { background: rgb(var(--surface)); color: rgb(var(--on-surface)); border-color: rgb(var(--outline-variant)); }
.btn-outline:hover { color: rgb(var(--primary)); background: rgb(var(--surface-container-low)); }
.btn-outline .ms { color: rgb(var(--primary)); }
.btn.sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn.sm .ms { font-size: 18px; }
/* Botón de descarga: icono + dos líneas */
.btn.dl { min-height: 60px; padding: 8px 26px 8px 20px; gap: 12px; text-align: left; }
.btn.dl .ms { font-size: 26px; }
.btn.dl b { display: block; font-size: 15px; }
.btn.dl small { display: block; font: 500 12px/1.35 Inter, sans-serif; opacity: .85; }
.btn.off { cursor: default; box-shadow: none; }
.btn.off:hover { filter: none; transform: none; }
.btn.off:active { transform: none; }
.btn.off .soon { display: inline-flex; margin-left: 4px; padding: 1px 8px; border-radius: 9999px; font: 600 11px/1.5 Inter, sans-serif;
  background: rgb(var(--on-primary) / .18); }
.btn-outline.off .soon { background: rgb(var(--primary) / .1); color: rgb(var(--primary)); }

/* ── Cabecera flotante en píldora (Nui 12) ── */
.top { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 24px; }
.bar { height: 64px; max-width: 80rem; margin: 0 auto; border-radius: 9999px; padding: 0 12px 0 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; background: rgb(var(--glass-header-bg) / .86); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border: 1px solid rgb(var(--outline-variant)); box-shadow: 0 12px 32px -4px rgb(var(--shadow-tint) / .1); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: rgb(var(--on-surface));
  font: 800 20px/1 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; color: rgb(var(--brand)); }
.brand b { color: rgb(var(--primary)); font-weight: 800; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { padding: 6px 12px; border-radius: 9999px; font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none;
  color: rgb(var(--on-surface-variant)); }
.links a:hover { color: rgb(var(--primary)); background: rgb(var(--surface-container-high)); }
.right { display: flex; align-items: center; gap: 12px; flex: none; }
/* LangSwitch (Nui 12): ES | EN */
.langsw { display: inline-flex; align-items: center; padding: 4px; border-radius: 9999px; background: rgb(var(--surface-container-high) / .7);
  font: 700 12px/1 Inter, sans-serif; }
.langsw a { padding: 6px 10px; border-radius: 9999px; text-decoration: none; color: rgb(var(--on-surface-variant)); }
.langsw a:hover { color: rgb(var(--on-surface)); }
.langsw a[aria-current="true"] { background: rgb(var(--primary)); color: rgb(var(--on-primary)); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 9999px; border: 0; background: transparent; color: rgb(var(--on-surface));
  align-items: center; justify-content: center; cursor: pointer; }
.menu-btn:hover { background: rgb(var(--surface-container-high)); }
.mlinks { display: none; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font: 700 14px/1 "Plus Jakarta Sans", Inter, sans-serif;
  color: rgb(var(--primary)); padding: 10px 16px; border-radius: 9999px; border: 1px solid rgb(var(--outline-variant)); background: rgb(var(--surface)); white-space: nowrap; }
.back:hover { background: rgb(var(--surface-container-high)); }
.back .ms { font-size: 18px; }

/* ── Estructura ── */
main { position: relative; overflow: hidden; padding-top: 96px; }
.wrap { position: relative; max-width: 80rem; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 48rem; }
.sec { padding: 96px 0; scroll-margin-top: 96px; }
.glow { position: absolute; border-radius: 9999px; pointer-events: none; filter: blur(140px); }
.glow.g1 { width: 900px; height: 640px; top: -260px; right: -120px; background: rgb(var(--brand) / var(--glow-a)); }
.glow.g2 { width: 620px; height: 620px; top: 1500px; left: -260px; background: rgb(var(--secondary) / calc(var(--glow-a) * .8)); }
.glow.g3 { width: 620px; height: 620px; top: 3000px; right: -240px; background: rgb(var(--brand) / calc(var(--glow-a) * .7)); }

.head { text-align: center; max-width: 48rem; margin: 0 auto 56px; }
.head.left { text-align: left; margin: 0 0 32px; }
h2 { font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 8px 0 0; color: rgb(var(--on-surface)); }
.head p { font-size: 16px; line-height: 1.65; color: rgb(var(--on-surface-variant)); margin-top: 16px; }

/* 1 · Portada */
.hero { padding: 56px 0 24px; text-align: center; }
.chipline { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px; background: rgb(var(--surface));
  border: 1px solid rgb(var(--outline-variant)); font: 600 12px/1.4 Inter, sans-serif; color: rgb(var(--primary)); }
.chipline i { width: 6px; height: 6px; border-radius: 9999px; background: rgb(var(--brand)); }
h1 { font-size: 64px; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 28px auto 0; max-width: 56rem; }
h1 em { font-style: normal; color: rgb(var(--primary)); }
.lead { font-size: 18px; line-height: 1.65; color: rgb(var(--on-surface-variant)); max-width: 42rem; margin: 24px auto 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 14px; color: rgb(var(--on-surface-variant)); }
.note .ms { font-size: 20px; color: rgb(var(--tertiary)); }

/* Captura real de la app (ventana del Mac; clara u oscura según el sistema) */
.shot { max-width: 1040px; margin: 56px auto 0; padding: 0; }
.shot img { width: 100%; height: auto; border-radius: 12px;
  box-shadow: 0 30px 60px -12px rgb(var(--shadow-tint) / .3), 0 0 0 1px rgb(var(--outline-variant)); }
.shot figcaption { margin-top: 16px; font-size: 12px; color: rgb(var(--on-surface-variant)); display: flex; align-items: center; justify-content: center; gap: 6px; }
.shot figcaption .ms { font-size: 16px; }

/* 2 · Funciones */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { padding: 24px; }
.feat h3, .step h3 { font-size: 16px; font-weight: 700; margin: 16px 0 0; }
.feat p, .step p { font-size: 14px; line-height: 1.6; color: rgb(var(--on-surface-variant)); margin-top: 6px; }

/* 3 · Cómo funciona (pasos numerados como en Donna) */
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 24px; }
.step .n { display: block; font: 800 48px/1 "Plus Jakarta Sans", Inter, sans-serif; color: rgb(var(--primary) / .25); }
.step .ms { color: rgb(var(--primary)); font-size: 26px; margin-top: 16px; }
.step h3 { font-size: 18px; margin-top: 10px; }

/* 4 · Instalar */
.inst { padding: 32px; }
.inst h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; margin: 0 0 20px; }
.nlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.nlist li { counter-increment: n; display: flex; gap: 12px; font-size: 14px; line-height: 1.6; color: rgb(var(--on-surface-variant)); }
.nlist li::before { content: counter(n); flex: none; width: 26px; height: 26px; border-radius: 9999px; display: inline-flex; align-items: center;
  justify-content: center; font: 700 12px/1 "Plus Jakarta Sans", Inter, sans-serif; background: rgb(var(--primary-container)); color: rgb(var(--primary)); margin-top: -1px; }
.nlist b { color: rgb(var(--on-surface)); font-weight: 600; }
.band { margin-top: 32px; padding: 24px; display: flex; align-items: center; gap: 20px; border-radius: 1.5rem; background: rgb(var(--surface-container)); }
.band > div { flex: 1; min-width: 0; }
.band p { font-size: 14px; color: rgb(var(--on-surface-variant)); margin-top: 2px; }
.band .t { font: 700 16px/1.3 "Plus Jakarta Sans", Inter, sans-serif; color: rgb(var(--on-surface)); margin: 0; }

/* 5 · Preguntas frecuentes */
.faq { display: flex; flex-direction: column; gap: 12px; }
details.card { box-shadow: none; padding: 16px 24px; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px;
  font: 600 16px/1.4 "Plus Jakarta Sans", Inter, sans-serif; color: rgb(var(--on-surface)); }
summary::-webkit-details-marker { display: none; }
summary .ms { color: rgb(var(--on-surface-variant)); transition: transform .18s cubic-bezier(.22, 1, .36, 1); }
details[open] summary .ms { transform: rotate(180deg); }
details.card p { font-size: 14px; line-height: 1.65; color: rgb(var(--on-surface-variant)); margin-top: 12px; }

/* 6 · Empezar */
.final { border-radius: 36px; padding: 56px 40px; text-align: center; background: rgb(var(--primary-container) / .7);
  border: 1px solid rgb(var(--brand) / .25); }
.final .appicon { width: 112px; height: 112px; margin: 0 auto 8px; }
.final h2 { margin-top: 8px; }
.final p { color: rgb(var(--on-surface-variant)); margin-top: 12px; }
.final .cta { margin-top: 28px; }

/* ── Pie (Nui 12) ── */
.foot { background: rgb(var(--surface-container-low)); border-top: 1px solid rgb(var(--outline-variant)); }
.foot .wrap { padding-top: 56px; padding-bottom: 40px; }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.fbrand .brand { font-size: 18px; }
.fbrand .brand svg { width: 28px; height: 28px; }
.fbrand p { font-size: 14px; color: rgb(var(--on-surface-variant)); margin-top: 8px; }
.flinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; }
.flinks a { color: rgb(var(--on-surface-variant)); text-decoration: none; white-space: nowrap; }
.flinks a:hover { color: rgb(var(--primary)); }
.fbase { padding-top: 32px; border-top: 1px solid rgb(var(--outline-variant)); display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px; flex-wrap: wrap; font-size: 12px; color: rgb(var(--on-surface-variant)); }
.fsign { display: flex; align-items: center; gap: 20px; }
.plusline { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--on-surface-variant)); text-decoration: none; font-size: 12px; }
.plusline:hover { color: rgb(var(--primary)); }
.nuvola-logo { height: 24px; width: auto; opacity: .8; }
.fsign a:hover .nuvola-logo { opacity: 1; }
@media (prefers-color-scheme: dark) { .nuvola-logo { filter: invert(1) brightness(1.6); } }

/* Marca nuvola+ (Nui 13): favicon de nuvola en caja blanca + insignia con cruz dibujada (nunca el carácter «+») */
.pmark { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 28%; background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .05); flex: none; }
.pmark img { width: 78%; height: 78%; }
.pmark i { position: absolute; right: -28%; bottom: -28%; width: 46%; height: 46%; border-radius: 50%; background: rgb(var(--primary));
  box-shadow: 0 0 0 2px rgb(var(--surface-container-low)); }
.pmark i::before, .pmark i::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px; transform: translate(-50%, -50%); }
.pmark i::before { width: 60%; height: 1.5px; } .pmark i::after { width: 1.5px; height: 60%; }

/* ── Páginas interiores: legales, extensión y 404 (cabecera pegajosa glass-header, Nui 12) ── */
.page main { padding-top: 0; overflow: visible; }
.page .top { position: sticky; top: 0; padding: 0; }
.page .bar { border-radius: 0; border-width: 0 0 1px; box-shadow: none; max-width: none; padding: 0 max(24px, calc((100% - 48rem) / 2)); }
.page main.doc { padding: 48px 0 96px; }
.doc .wrap { user-select: text; }
.ltabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9999px; border: 1px solid rgb(var(--outline-variant));
  background: rgb(var(--surface)); color: rgb(var(--on-surface-variant)); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { color: rgb(var(--primary)); }
.chip.on { border-color: rgb(var(--primary)); background: rgb(var(--primary) / .1); color: rgb(var(--primary)); }
.doc h1 { font-size: 40px; text-align: left; margin: 8px 0 0; }
.upd { font-size: 14px; color: rgb(var(--on-surface-variant)); margin-top: 8px; }
.prose { margin-top: 32px; padding: 32px; }
.prose h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 28px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15px; line-height: 1.7; color: rgb(var(--on-surface-variant)); margin: 0 0 10px; }
.prose p b { color: rgb(var(--on-surface)); }
.doc .lead { margin: 16px 0 0; text-align: left; max-width: none; }
.xfeats { margin-top: 32px; }
.xhow { margin-top: 20px; padding: 28px; }
.xhow h2 { font-size: 20px; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.xnote { display: flex; gap: 8px; margin-top: 20px; font-size: 14px; color: rgb(var(--on-surface-variant)); }
.xnote .ms { font-size: 18px; color: rgb(var(--primary)); margin-top: 2px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 96px 24px; }
.empty .tile { width: 64px; height: 64px; margin-bottom: 16px; }
.empty .tile .ms { font-size: 30px; }
.empty h1 { font-size: 28px; margin: 0; }
.empty p { font-size: 14px; color: rgb(var(--on-surface-variant)); margin-top: 6px; max-width: 20rem; }
.empty .cta { margin-top: 24px; }

/* ── Adaptable ── */
@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .menu-btn { display: inline-flex; }
  .top.open .mlinks { display: flex; flex-direction: column; max-width: 80rem; margin: 8px auto 0; padding: 8px; border-radius: 1.5rem;
    background: rgb(var(--glass-high-bg)); border: 1px solid rgb(var(--outline-variant)); box-shadow: 0 12px 32px -4px rgb(var(--shadow-tint) / .14);
    animation: popIn .22s cubic-bezier(.22, 1, .36, 1); }
  .mlinks a { padding: 12px 16px; border-radius: 1rem; font-size: 15px; font-weight: 500; text-decoration: none; color: rgb(var(--on-surface)); }
  .mlinks a:hover { background: rgb(var(--surface-container-high)); }
  h1 { font-size: 52px; }
}
@media (max-width: 820px) {
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .head { margin-bottom: 40px; }
  .frow { flex-direction: column; align-items: flex-start; }
  .right .btn { display: none; }
}
@media (max-width: 560px) {
  .top { top: 12px; padding: 0 16px; }
  .bar { height: 60px; padding: 0 6px 0 16px; gap: 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .right { gap: 4px; }
  .wrap { padding: 0 16px; }
  main { padding-top: 84px; }
  .hero { padding-top: 32px; }
  h1 { font-size: 36px; margin-top: 20px; }
  .lead { font-size: 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn.dl { width: 100%; }
  .shot { margin-top: 40px; }
  .inst, .prose, .xhow { padding: 24px 20px; }
  .band { flex-direction: column; align-items: flex-start; }
  .final { padding: 40px 20px; border-radius: 1.75rem; }
  .final .appicon { width: 88px; height: 88px; }
  .doc h1 { font-size: 32px; }
  .page .bar { padding: 0 16px; }
  .page .brand span { display: none; }
  .back { padding: 10px 14px; }
  .fsign { flex-wrap: wrap; }
}
