/* ═══════════════════════════════════════════════════════════════
   HYPE by JAURIA — web del servicio y acceso
   Sistema JAURIA Grid: papel, tinta, líneas al 14 %, radio 0, sin sombras.
   Mori para títulos, Inter para texto, JetBrains Mono solo para cifras.
   Bermellón solo en el subrayado de la pestaña activa del acceso.
═══════════════════════════════════════════════════════════════ */

:root {
    --jg-paper: #ededed;
    --jg-lift:  #e4e4e4;
    --jg-ink:   #0a0a0a;
    --jg-ink60: #5a5a5a;
    --jg-hair:  rgba(10, 10, 10, .14);
    --jg-verm:  #e23420;
    --hs-err:   #991b1b;
    --hs-mori:  'Mori', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --hs-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hs-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.hype-site {
    margin: 0;
    background: var(--jg-paper);
    color: var(--jg-ink);
    font: 400 16px/1.55 var(--hs-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
:where(.hype-site) *, :where(.hype-site) *::before, :where(.hype-site) *::after { box-sizing: border-box; }
:where(.hype-site) a { color: inherit; }
:where(.hype-site) :where(h1, h2, h3) { margin: 0; font-weight: 600; }
:where(.hype-site) p { margin: 0; }
:where(.hype-site) :focus-visible { outline: 2px solid var(--jg-ink); outline-offset: 3px; }

.hs-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hs-sr, .hs-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hs-hp { left: -9999px; }
.hs-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--jg-ink); color: var(--jg-paper); padding: 10px 14px; text-decoration: none; }
.hs-skip:focus { top: 16px; }

/* ── Marca ───────────────────────────────────────────────────── */
.hw { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: inherit; }
.hw__name { font-family: var(--hs-mori); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -.045em; }
.hw__by { font-size: 12px; font-weight: 500; color: var(--jg-ink60); letter-spacing: 0; }
.hw--sm .hw__name { font-size: 20px; }
.hw--xl { flex-direction: column; align-items: flex-start; gap: 10px; }
.hw--xl .hw__name { font-size: clamp(88px, 11vw, 176px); line-height: .8; letter-spacing: -.06em; margin-left: -.04em; }
.hw--xl .hw__by { font-size: 14px; }

/* ── Botones ─────────────────────────────────────────────────── */
.hb {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px;
    background: var(--jg-ink); color: var(--jg-paper) !important; border: 1px solid var(--jg-ink); border-radius: 0;
    font: 600 15px/1 var(--hs-sans); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s;
    touch-action: manipulation;
}
.hb:hover { background: #2b2b2b; }
.hb:active { transform: translateY(1px); }
.hb--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.hb--line { background: transparent; color: var(--jg-ink) !important; }
.hb--line:hover { background: var(--jg-lift); }
.hb--inv { background: var(--jg-paper); color: var(--jg-ink) !important; border-color: var(--jg-paper); }
.hb--inv:hover { background: #fff; }
.hb--inv:focus-visible { outline-color: var(--jg-paper); }

/* ═══════════════════════════════════════════════════════════════
   WEB DEL SERVICIO
═══════════════════════════════════════════════════════════════ */
.hl-head { position: sticky; top: 0; z-index: 20; background: var(--jg-paper); border-bottom: 1px solid var(--jg-hair); }
.admin-bar .hl-head { top: 32px; }
.hl-head__in { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.hl-head__brand { text-decoration: none; }
.hl-nav { display: flex; gap: 28px; margin-left: 24px; }
.hl-nav a, .hl-head__login { font-size: 15px; font-weight: 500; color: var(--jg-ink60); text-decoration: none; }
.hl-nav a:hover, .hl-head__login:hover { color: var(--jg-ink); }
.hl-head__act { display: flex; align-items: center; gap: 20px; margin-left: auto; }

/* Hero */
.hl-hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 72px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hl-hero__title {
    font-family: var(--hs-mori); font-weight: 600;
    font-size: clamp(46px, 6.4vw, 96px); line-height: .94; letter-spacing: -.04em;
    max-width: 11.5ch; text-wrap: balance;
}
.hl-hero__lede { margin-top: 28px; font-size: 19px; line-height: 1.5; color: var(--jg-ink60); max-width: 44ch; text-wrap: pretty; }
.hl-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.hl-hero__note { margin-top: 18px; font-size: 14px; color: var(--jg-ink60); }
.hl-textlink { font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--jg-hair); text-underline-offset: 5px; }
.hl-textlink:hover { text-decoration-color: var(--jg-ink); }

/* Demo: un lyric video en marcha */
.hl-demo { margin: 0; justify-self: end; width: min(100%, 360px); }
.hl-demo__frame { position: relative; aspect-ratio: 9 / 16; background: var(--jg-ink); color: var(--jg-paper); overflow: hidden; }
.hl-demo__lyrics { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 28px 24px; }
.hl-demo__line { font-family: var(--hs-mori); font-weight: 600; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.02; letter-spacing: -.035em; }
.hl-demo__w { display: inline-block; opacity: .14; transform: translateY(.18em); transition: opacity .28s ease, transform .28s cubic-bezier(.2, .7, .2, 1); }
.hl-demo__w.is-on { opacity: 1; transform: none; }
.hl-demo__line.is-past .hl-demo__w { opacity: .38; }
.hl-demo__bar { position: absolute; left: 28px; right: 28px; bottom: 26px; height: 2px; background: rgba(237, 237, 237, .18); }
.hl-demo__prog { display: block; height: 100%; width: 0; background: var(--jg-paper); }
.hl-demo__fmt { position: absolute; top: 22px; left: 28px; font: 500 11px/1 var(--hs-mono); color: rgba(237, 237, 237, .5); font-variant-numeric: tabular-nums; }
.hl-demo__cap { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--jg-ink60); }

/* Secciones */
.hl-sec { border-top: 1px solid var(--jg-hair); padding: 96px 0; }
.hl-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.hl-sec__title { font-family: var(--hs-mori); font-weight: 600; font-size: clamp(34px, 4.4vw, 56px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.hl-sec__lede { font-size: 17px; color: var(--jg-ink60); max-width: 48ch; text-wrap: pretty; }

/* Herramientas */
.hl-tools { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--jg-hair); }
.hl-tool { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 120px; gap: 8px 40px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--jg-hair); }
.hl-tool__name { font-family: var(--hs-mori); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.03em; color: var(--jg-ink60); }
.hl-tool.is-live .hl-tool__name { color: var(--jg-ink); }
.hl-tool__desc { font-size: 16px; color: var(--jg-ink60); max-width: 56ch; }
.hl-tool.is-live .hl-tool__desc { color: var(--jg-ink); }
.hl-tool__state { justify-self: end; font-size: 13px; font-weight: 500; color: var(--jg-ink60); white-space: nowrap; }
.hl-tool.is-live .hl-tool__state { color: var(--jg-ink); display: inline-flex; align-items: center; gap: 8px; }
.hl-tool.is-live .hl-tool__state::before { content: ''; width: 8px; height: 8px; background: var(--jg-ink); }

/* Pasos */
.hl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.hl-step { counter-increment: step; border-top: 2px solid var(--jg-ink); padding-top: 22px; }
.hl-step::before { content: counter(step); display: block; font-family: var(--hs-mori); font-weight: 600; font-size: 64px; line-height: .9; letter-spacing: -.04em; margin-bottom: 28px; }
.hl-step__name { font-family: var(--hs-mori); font-size: 24px; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 10px; }
.hl-step__desc { font-size: 16px; color: var(--jg-ink60); max-width: 36ch; }

/* Precios */
.hl-prices { width: 100%; max-width: 760px; border-collapse: collapse; }
.hl-prices th, .hl-prices td { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--jg-hair); vertical-align: baseline; }
.hl-prices thead th { padding: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--jg-ink60); }
.hl-prices tbody th { font-family: var(--hs-mori); font-weight: 600; font-size: 24px; letter-spacing: -.025em; }
.hl-prices__num { font: 500 17px/1 var(--hs-mono); font-variant-numeric: tabular-nums; }
.hl-prices__unit { color: var(--jg-ink60); font-size: 14px; }
.hl-prices__soon th, .hl-prices__soon td { color: var(--jg-ink60); }
.hl-prices__soon td { font-size: 14px; font-weight: 500; }
.hl-prices__note { margin-top: 16px; font-size: 13px; color: var(--jg-ink60); }

/* Cierre */
.hl-end { background: var(--jg-ink); color: var(--jg-paper); padding: 96px 0; }
.hl-end__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hl-end__title { font-family: var(--hs-mori); font-size: clamp(38px, 5.2vw, 72px); line-height: .95; letter-spacing: -.04em; max-width: 13ch; }

/* Pie */
.hl-foot { padding: 40px 0 48px; }
.hl-foot__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 40px; align-items: baseline; }
.hl-foot__by, .hl-foot__copy { font-size: 14px; color: var(--jg-ink60); }
.hl-foot__by a { color: var(--jg-ink); }
.hl-foot__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; grid-column: 1 / -1; font-size: 14px; }
.hl-foot__nav a { color: var(--jg-ink60); text-decoration: none; }
.hl-foot__nav a:hover { color: var(--jg-ink); text-decoration: underline; text-underline-offset: 4px; }
.hl-foot__copy { grid-column: 3; grid-row: 1; }

/* ═══════════════════════════════════════════════════════════════
   ACCESO (entrar, crear cuenta, contraseña)
═══════════════════════════════════════════════════════════════ */
.ha { display: grid; grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr); min-height: 100vh; min-height: 100dvh; }
.admin-bar .ha { min-height: calc(100vh - 32px); }
.ha-side { background: var(--jg-ink); color: var(--jg-paper); padding: 40px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.ha-side__home { text-decoration: none; color: inherit; }
.ha-side .hw__by { color: rgba(237, 237, 237, .6); }
.ha-side__home:focus-visible, .ha-side__back:focus-visible { outline-color: var(--jg-paper); }
.ha-side__line { font-family: var(--hs-mori); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -.03em; max-width: 16ch; }
.ha-side__back { display: inline-block; margin-top: 20px; font-size: 14px; color: rgba(237, 237, 237, .7); text-underline-offset: 4px; }
.ha-side__back:hover { color: var(--jg-paper); }

.ha-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 32px 40px; }
.ha-box { width: 100%; max-width: 420px; }
.ha-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--jg-hair); margin-bottom: 40px; }
.ha-tab { padding: 0 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 500; color: var(--jg-ink60); text-decoration: none; }
.ha-tab:hover { color: var(--jg-ink); }
.ha-tab.is-active { color: var(--jg-ink); border-bottom-color: var(--jg-verm); }
.ha-title { font-family: var(--hs-mori); font-size: clamp(36px, 3.4vw, 46px); line-height: .98; letter-spacing: -.035em; margin-bottom: 14px; }
.ha-text { font-size: 16px; margin-bottom: 14px; max-width: 42ch; }
.ha-text--quiet { color: var(--jg-ink60); }
.ha-title + .ha-form, .ha-title + .ha-notice { margin-top: 28px; }
.ha-text + .ha-form, .ha-text + .ha-notice { margin-top: 26px; }
.ha-box > .hb { margin-top: 12px; }

.ha-form { margin-top: 28px; }
.ha-form .hb { width: 100%; margin-top: 8px; }
.ha-notice { margin: 0 0 20px; padding: 12px 14px; font-size: 14px; line-height: 1.5; background: var(--jg-lift); border: 1px solid var(--jg-hair); border-left: 3px solid var(--jg-ink60); }
.ha-notice--err { border-left-color: var(--hs-err); }
.ha-resend { margin: -6px 0 20px; }
.ha-resend .hb { min-height: 40px; font-size: 14px; }
.ha-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 2px 0 22px; }
.ha-link { color: var(--jg-ink); text-decoration: underline; text-decoration-color: var(--jg-hair); text-underline-offset: 4px; font-size: inherit; }
.ha-link:hover { text-decoration-color: var(--jg-ink); }
.ha-row .ha-link { font-size: 14px; }
.ha-alt { margin-top: 28px; font-size: 14px; color: var(--jg-ink60); }
.ha-legal { margin-top: 40px; display: flex; gap: 20px; font-size: 13px; }
.ha-legal a { color: var(--jg-ink60); }

/* Campos */
.hf { margin-bottom: 18px; }
.hf__label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; }
.hf__input {
    display: block; width: 100%; height: 50px; padding: 0 14px;
    background: var(--jg-lift); color: var(--jg-ink); border: 1px solid var(--jg-hair); border-radius: 0;
    font: 400 16px/1 var(--hs-sans); appearance: none; transition: border-color .15s;
}
.hf__input:hover { border-color: rgba(10, 10, 10, .32); }
.hf__input:focus { outline: none; border-color: var(--jg-ink); box-shadow: inset 0 0 0 1px var(--jg-ink); }
.hf--err .hf__input { border-color: var(--hs-err); }
.hf__pw { position: relative; }
.hf__pw .hf__input { padding-right: 84px; }
.hf__show { position: absolute; top: 7px; right: 7px; height: 36px; padding: 0 10px; background: transparent; border: 0; color: var(--jg-ink60); font: 500 13px/1 var(--hs-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hf__show:hover { color: var(--jg-ink); }
.hf__hint { margin-top: 6px; font-size: 13px; color: var(--jg-ink60); }
.hf__err { margin-top: 6px; font-size: 13px; color: var(--hs-err); }
.hc { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.hc--top { align-items: flex-start; line-height: 1.45; }
.hc input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--jg-ink); }
.hc--top input { margin-top: 1px; }
.cf-turnstile { margin: 4px 0 18px; }

/* Buscador del perfil de Spotify (registro) */
.hsp__chosen{display:flex;align-items:center;gap:12px;padding:10px;background:var(--jg-lift);border:1px solid var(--jg-ink)}
.hsp__chosen[hidden],.hsp__find[hidden]{display:none}
.hsp__img{width:44px;height:44px;flex:0 0 44px;background:var(--jg-paper);overflow:hidden}
.hsp__img img{width:100%;height:100%;object-fit:cover;display:block}
.hsp__name{flex:1;min-width:0;font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hsp__change{background:none;border:0;padding:6px 4px;font:500 13px/1 var(--hs-sans);color:var(--jg-ink60);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.hsp__change:hover{color:var(--jg-ink)}
.hsp__status{font-size:13px;color:var(--jg-ink60);margin-top:8px}
.hsp__status:empty{display:none}
.hsp__results{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid var(--jg-hair);max-height:300px;overflow:auto}
.hsp__results:empty{display:none}
.hsp__opt{display:flex;align-items:center;gap:12px;width:100%;padding:8px 6px;background:none;border:0;border-bottom:1px solid var(--jg-hair);text-align:left;cursor:pointer;font:inherit;color:inherit}
.hsp__opt:hover,.hsp__opt:focus-visible{background:var(--jg-lift)}
.hsp__opt .hsp__img{width:40px;height:40px;flex-basis:40px}
.hsp__opt-name{font-size:15px;font-weight:500}
.hsp__none{margin-top:12px}
.hsp.hf--err .hf__input{border-color:var(--hs-err)}

/* ── Tablet y móvil ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .hl-nav { display: none; }
    .hl-hero__in { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 72px; }
    .hl-demo { justify-self: start; width: min(100%, 320px); }
    .hl-sec { padding: 72px 0; }
    .hl-sec__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
    .hl-tool { grid-template-columns: minmax(0, 1fr) auto; }
    .hl-tool__desc { grid-column: 1 / -1; grid-row: 2; }
    .hl-tool__state { grid-column: 2; grid-row: 1; }
    .hl-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .hl-step::before { font-size: 48px; margin-bottom: 18px; }
    .ha { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .ha-side { padding: 18px 16px; flex-direction: row; align-items: center; }
    .ha-side .hw--xl { flex-direction: row; align-items: baseline; gap: 8px; }
    .ha-side .hw--xl .hw__name { font-size: 30px; letter-spacing: -.045em; margin: 0; }
    .ha-side .hw--xl .hw__by { font-size: 12px; }
    .ha-side__line { display: none; }
    .ha-side__back { margin: 0; font-size: 13px; }
    .ha-main { justify-content: flex-start; padding: 40px 16px 32px; }
}
@media (max-width: 600px) {
    .hs-wrap { padding-left: 16px; padding-right: 16px; }
    .hl-head__in { gap: 16px; min-height: 60px; }
    .hl-head__act { gap: 14px; }
    .hl-hero__lede { font-size: 17px; }
    .hl-tool { padding: 22px 0; }
    .hl-prices tbody th { font-size: 20px; }
    .hl-prices__unit { display: none; }
    .hl-prices thead th:last-child { display: none; }
    .hl-end { padding: 72px 0; }
    .hl-foot__in { grid-template-columns: minmax(0, 1fr); }
    .hl-foot__copy { grid-column: 1; grid-row: auto; }
}
@media screen and (max-width: 782px) { .admin-bar .hl-head { top: 46px; } }

@media (prefers-reduced-motion: reduce) {
    .hl-demo__w { transition: none; }
    .hb { transition: none; }
    .hb:active { transform: none; }
}
