/* Páginas de Yesterday fuera del editor: portada, entrar y cuenta */
:root { --bg: #0a0a0a; --panel: #141414; --panel-2: #1a1a1a; --line: #262626; --ink: #f5f5f3; --ink-2: #a3a3a0; --ink-3: #6b6b68; --a: #ff4f9a; --b: #ff4f9a; --pink: #ff4f9a; --ok: #3ccf7a; --err: #ff5a5f; --edge: clamp(16px, 3vw, 44px); color-scheme: dark; }
* { box-sizing: border-box; }
html { overflow-x: clip; } /* solo html: con body también, algunos navegadores ponen una segunda barra */
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, -apple-system, "Segoe UI", sans-serif; min-height: 100vh; }
a { color: inherit; }
.grad { background: var(--pink); }
.gtext { color: var(--pink); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.logo img { width: 30px; height: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); border-radius: 10px; padding: 11px 18px; font: 600 14.5px Inter, sans-serif; cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.12); }
.btn.pri { border: 0; background: var(--pink); color: #0a0a0a; font-weight: 600; box-shadow: 0 8px 24px rgba(255, 79, 154, .22); }
.btn.big { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.top .sp { flex: 1; }
.top nav { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
input[type=email], input[type=password], input[type=text] { width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; color: var(--ink); font: inherit; outline: none; }
input:focus { border-color: var(--a); }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.err { color: var(--err); font-size: 13.5px; min-height: 20px; }
@media (max-width: 720px) { .top nav { display: none; } }

/* ---- barra de promoción arriba del encabezado: el descuento real y permanente del plan anual (2 meses gratis), sin cuenta regresiva ---- */
.promo { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 34px; padding: 7px var(--edge); background: #000; color: #f5f5f3; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; border-bottom: 1px solid #161616; }
.promo:hover { color: #fff; }
.promo-sep { color: #555; }
.promo-end { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.promo-cd { font-weight: 800; letter-spacing: .06em; color: var(--pink); background: rgba(255, 79, 154, .12); border: 1px solid rgba(255, 79, 154, .3); border-radius: 6px; padding: 2px 8px; }
@media (max-width: 520px) { .promo { font-size: 11px; gap: 4px 8px; letter-spacing: .07em; } .promo-sep { display: none; } }

/* ---- encabezado compartido (portada y precios) ---- */
/* ---- encabezado ---- */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(10,10,10,.95); border-bottom: 1px solid rgba(255,255,255,.06); } /* sin backdrop-filter: encima de videos frenaba el deslizamiento */
.hd .wrap { display: flex; align-items: center; gap: 6px; height: 64px; max-width: none; padding: 0 var(--edge); }
.ye { display: inline-flex; margin-right: 18px; }
.ye img { width: 26px; height: 26px; display: block; }
.hd nav { display: flex; gap: 2px; }
.hl { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.hl:hover, .hl[aria-expanded="true"] { color: var(--ink); background: rgba(255,255,255,.06); }
.hl svg { width: 17px; height: 17px; flex: none; }
.hl.price { color: var(--pink); }
/* pastilla de descuento junto a "Precios": el descuento del plan anual (10 meses por 12 = -17%) */
.hl .off { font-size: 11px; font-weight: 700; line-height: 1; color: #0a0a0a; background: var(--pink); padding: 3px 6px; border-radius: 99px; letter-spacing: -.01em; }

.hd .sp { flex: 1; }
.hd .btn { padding: 9px 15px; font-size: 14px; border-radius: 10px; }
.ib { width: 38px; padding: 0; justify-content: center; }
/* buscador como atajo */
.sbox { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--ink-3); font: 500 13.5px Inter, sans-serif; cursor: pointer; min-width: 190px; }
.sbox:hover { border-color: #33373f; color: var(--ink-2); }
.sbox svg { width: 16px; height: 16px; }
.sbox kbd { margin-left: auto; font: 600 11px Inter, sans-serif; color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
/* menú de idiomas */
.lw { position: relative; }
.lm { position: absolute; right: 0; top: 46px; width: 210px; background: #17181c; border: 1px solid #2a2d33; border-radius: 14px; padding: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.55); display: none; }
.lm.on { display: block; }
.lm button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 10px; border: 0; background: none; color: var(--ink); font: 500 15px Inter, sans-serif; border-radius: 9px; cursor: pointer; text-align: left; }
.lm button:hover, .lm button.cur { background: rgba(255,255,255,.07); }
.lm button .ck { margin-left: auto; opacity: 0; width: 16px; height: 16px; }
.lm button.cur .ck { opacity: 1; }
.flag { width: 22px; height: 22px; border-radius: 50%; flex: none; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
/* buscador (paleta) */
.sp-bg { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.55); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 0; }
.sp-bg.on { display: flex; }
.spal { width: min(560px, 100%); background: #17181c; border: 1px solid #2a2d33; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; }
.spal input { width: 100%; border: 0; border-bottom: 1px solid #2a2d33; border-radius: 0; background: none; padding: 17px 18px; font-size: 16px; color: var(--ink); outline: none; }
.spal ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.spal li a { display: flex; justify-content: space-between; padding: 11px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.spal li a small { color: var(--ink-3); }
.spal li a:hover, .spal li a.sel { background: rgba(255,255,255,.07); }
.spal .none { padding: 16px 14px; color: var(--ink-3); font-size: 14px; }
/* ventana de entrar / crear cuenta */
.au-bg { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; }
.au-bg.on { display: block; animation: auin .25s ease; }
.au-bg iframe { width: 100%; height: 100%; border: 0; background: transparent; }
@keyframes auin { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1020px) { .sbox { min-width: 0; } .sbox span, .sbox kbd { display: none; } .hd nav .tx { display: none; } }
@media (max-width: 720px) { .hd nav { display: none; } .ye { margin-right: auto; } .hd .sp { display: none; } .hd .btn.lg { display: none; } }

/* ---- footer compartido (portada y precios) ---- */
.ft { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); background: var(--bg); color: var(--ink-3); font-size: 14px; }
.ft-top { margin-bottom: clamp(16px, 3vw, 56px); padding-top: 40px !important; }
.ft-top a, .ft-top p, .ft-top h4 { text-shadow: 0 1px 12px rgba(10, 10, 10, .85); }
/* resplandor rosa que sube desde abajo y se difumina */
.ft::before { content: ""; position: absolute; z-index: -2; left: -10%; right: -10%; bottom: -30%; height: 95%; pointer-events: none;
  background: radial-gradient(45% 60% at 72% 70%, rgba(255, 79, 154, .75), transparent 70%), radial-gradient(45% 55% at 22% 85%, rgba(255, 140, 191, .5), transparent 70%), radial-gradient(90% 70% at 50% 100%, rgba(255, 79, 154, .65), transparent 75%);
  filter: blur(40px); }
/* marca gigante cortada abajo, se desvanece hacia arriba */
.ft::after { content: "Yesterday"; position: absolute; z-index: -1; left: 50%; bottom: 0; transform: translate(-50%, 24%); pointer-events: none; white-space: nowrap;
  font: 800 clamp(80px, 21vw, 380px)/1 Inter, sans-serif; letter-spacing: -.06em; color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 220, 236, .14) 30%, rgba(255, 225, 238, .38) 100%); -webkit-background-clip: text; background-clip: text; }
.ft-bot { border-top-color: rgba(255, 255, 255, .12) !important; color: rgba(255, 255, 255, .75); }
.ft .wrap { max-width: none; }
.ft-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 56px var(--edge) 44px; }
.ft-brand .ye { margin: 0 0 14px; }
.ft-brand .ye img { width: 32px; height: 32px; }
.ft-brand p { margin: 0 0 18px; max-width: 280px; color: var(--ink-2); line-height: 1.55; }
.ft-brand .btn { font-size: 13.5px; }
.ft h4 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { color: var(--ink-2); text-decoration: none; display: inline-block; transition: color .15s, transform .15s; }
.ft ul a:hover, .ft ul a:focus-visible { color: var(--pink); transform: translateX(3px); outline: none; }
.ft-bot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px var(--edge); border-top: 1px solid var(--line); font-size: 13px; }
.ft-bot .top { background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 99px; padding: 6px 12px; font: inherit; cursor: pointer; transition: color .15s, border-color .15s; }
.ft-bot .top:hover, .ft-bot .top:focus-visible { color: var(--ink); border-color: var(--ink-3); outline: none; }
@media (max-width: 860px) { .ft-top { grid-template-columns: repeat(3, 1fr); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-top { grid-template-columns: 1fr 1fr; padding: 44px var(--edge) 32px; } .ft-bot { padding: 18px var(--edge); } }