/* Identidad compartida: la apariencia original de los manuales es la referencia.
   Esta capa se carga después de los estilos de distribución de cada página. */
:root{
  --site-font:"Space Grotesk","Segoe UI","Trebuchet MS",sans-serif;
  --bg-1:#f7fbff;--bg-2:#e8f2fb;--text:#1c1f27;
  --surface:rgba(255,255,255,.78);--surface-strong:rgba(255,255,255,.9);
  --muted:rgba(28,31,39,.7);--border:rgba(28,31,39,.1);
  --accent:#188aeb;--accent-strong:#0f73c5;--accent-soft:rgba(24,138,235,.12);
  --shadow-soft:0 10px 24px rgba(16,55,96,.08);--radius-lg:22px;
}
body{font-family:var(--site-font);color:var(--text);background:radial-gradient(circle at 18% 8%,rgba(24,138,235,.16),transparent 30%),radial-gradient(circle at 86% 44%,rgba(15,157,122,.12),transparent 28%),linear-gradient(145deg,var(--bg-1),var(--bg-2))}
h1,h2,h3{font-family:var(--site-font);letter-spacing:0}
button,input,select,textarea{font-family:inherit}
.site-header{background:rgba(247,251,255,.74);border-bottom:1px solid rgba(28,31,39,.08);backdrop-filter:blur(18px)}
.site-header a[aria-current=page]{background:var(--accent-soft);color:var(--accent-strong)}
.button,.pill-button{border-radius:999px;min-height:44px;font-size:13px;font-weight:800;box-shadow:var(--shadow-soft)}
.button.primary,.pill-button.primary{background:linear-gradient(135deg,#1c1f27,#188aeb);color:#f6fbff;border-color:transparent;box-shadow:0 14px 28px rgba(24,138,235,.24)}
.button.secondary,.button.light{background:var(--surface-strong);color:var(--text);border:1px solid var(--border)}
a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #0f73c5;outline-offset:4px}
/* La portada mantiene sus secciones; comparte tipografía, ancho, tarjetas y controles. */
.landing-page{--ink:var(--text);--page:var(--bg-1);--wash:var(--accent-soft);--radius:22px;--link:#0b65ad}
.landing-page .wrap{width:min(100% - 48px,1180px)}
.landing-page .header-inner{max-width:none;min-height:72px;padding:12px 28px;gap:18px}
.landing-page .brand img{width:168px}
.landing-page .site-header nav{gap:8px}
.landing-page .site-header nav a{padding:8px 12px;border-radius:999px;color:var(--muted);font-size:13px;font-weight:800}
.landing-page .site-header nav a:hover{background:rgba(255,255,255,.58);color:var(--text)}
.landing-page .hero{padding-block:74px 48px;min-height:640px;gap:48px}
.landing-page h1{font-size:52px;line-height:1.02;font-weight:700}
.landing-page h2{font-size:36px;line-height:1.12;font-weight:700}
.landing-page h3{font-weight:700}
.landing-page .lead{font-size:17px;line-height:1.55;color:var(--muted)}
.landing-page .eyebrow{color:var(--muted);font-weight:900;font-size:11px!important;letter-spacing:.14em}
.landing-page .section{padding-block:64px}
.landing-page .record{display:none}
.landing-page .hero-image-frame{transform:none;border-radius:22px;box-shadow:var(--shadow-soft)}
.landing-page .preview-halo{background:radial-gradient(ellipse,rgba(24,138,235,.15),transparent 72%)}
.landing-page .benefits,.landing-page .feature,.landing-page .detail-card,.landing-page .theme-card,.landing-page .release-panel,.landing-page .roadmap-panel,.landing-page .demo-section,.landing-page .final-cta{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-soft)}
.landing-page .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.landing-page .feature{padding:22px}
.landing-page .feature h3{font-size:24px;line-height:1.16}
.landing-page .feature p{font-size:15px;line-height:1.65}
.landing-page .icon-tile{background:var(--accent-soft);border-color:transparent}
.landing-page .demo-section{width:min(100% - 48px,1180px);margin-inline:auto;padding:32px}
.landing-page .demo-section>.wrap{width:100%}
.landing-page .themes-section{background:transparent;border:0}
.landing-page .updates{gap:16px;align-items:start}
.landing-page .release-panel,.landing-page .roadmap-panel{padding:26px}
.landing-page .final-cta{color:var(--text)}
.landing-page .final-cta h2{font-size:28px}
.landing-page .final-cta p{color:var(--muted)}
.landing-page .credits-section{padding-block:48px}
.landing-page .credits-copy h2{font-size:32px}
.landing-page footer{font-size:13px}
@media(max-width:1100px){.landing-page .header-inner{gap:10px}.landing-page .site-header nav a{padding-inline:8px}.landing-page .brand img{width:144px}}
@media(max-width:850px){.landing-page .hero{gap:24px}.landing-page h1{font-size:44px}.landing-page .header-inner{padding:10px 24px}.landing-page .demo-section{padding:24px}}
@media(max-width:650px){.landing-page .wrap,.landing-page .demo-section{width:calc(100% - 32px)}.landing-page .demo-section>.wrap{width:100%}.landing-page .hero{padding-block:40px;min-height:0}.landing-page h1{font-size:38px;line-height:1.08}.landing-page h2{font-size:30px}.landing-page .feature-grid{grid-template-columns:1fr}.landing-page .section{padding-block:40px}.landing-page .feature h3{font-size:22px}.landing-page .credits-copy h2{font-size:28px}.landing-page .demo-section{padding:22px}.landing-page .header-inner{padding-inline:16px}.landing-page .snooz-modes b{font-size:18px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* El código y las URL largas no deben ensanchar las tarjetas del manual. */
.manual-card,.manual-card-header>div,.policy-card{min-width:0;overflow-wrap:anywhere}.manual-code{max-width:100%;overflow-x:auto}.manual-code code{overflow-wrap:normal}

