:root { --ui: 'Ubuntu', system-ui, sans-serif; --display: 'Cormorant Garamond', Georgia, serif; --navy: #081326; --ice: #8fd3f2; --muted: #d5e0ee; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--ui); background: var(--navy); color: #fff; -webkit-font-smoothing: antialiased; }
.lg { position: relative; isolation: isolate; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--navy) url('/assets/img/texture-silk.jpg') center / cover no-repeat; }
.lg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 52% 65% at 76% 46%, rgba(59, 153, 211, .22), transparent 76%), linear-gradient(90deg, rgba(8, 19, 38, .86), rgba(8, 19, 38, .32) 63%, rgba(8, 19, 38, .18)); pointer-events: none; }
.lg-art { position: absolute; z-index: 0; width: 58%; height: 100%; right: 0; top: 0; pointer-events: none; }
.lg-cap, .lg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lg-cap { object-fit: contain; transform: scale(1.08) rotate(-8deg); mix-blend-mode: screen; filter: saturate(1.12) drop-shadow(0 0 52px rgba(69, 167, 230, .3)); mask-image: radial-gradient(ellipse 47% 43% at 50% 50%, #000 55%, transparent 100%); }
.lg-canvas { opacity: 0; mask-image: radial-gradient(ellipse 66% 64% at 50% 50%, #000 55%, transparent 100%); transition: opacity .8s cubic-bezier(.2, .8, .2, 1); }
.lg-art.is-live .lg-canvas { opacity: 1; }
.lg-art.is-live .lg-cap { visibility: hidden; transition: visibility 0s .8s; }
.lg-wrap { position: relative; z-index: 1; display: flex; align-items: center; min-height: 100vh; min-height: 100dvh; padding: 48px clamp(24px, 7vw, 120px); }
.lg-card { width: min(480px, 100%); padding: clamp(28px, 3.2vw, 44px); display: flex; flex-direction: column; gap: 18px; border-radius: 28px; border: 1px solid rgba(194, 223, 244, .4); background: linear-gradient(145deg, rgba(19, 39, 67, .94), rgba(9, 24, 47, .9)); box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 24px 80px rgba(1, 8, 22, .48); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.lg-logo { width: auto; height: 24px; align-self: flex-start; margin-bottom: 14px; }
.lg .lg-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ice); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.lg-kicker::before { content: ''; width: 20px; height: 1px; background: currentColor; }
.lg h1 { margin: 0; max-width: 390px; font: 600 clamp(43px, 4.1vw, 59px)/.98 var(--display); letter-spacing: -.022em; }
.lg h1 em { color: var(--ice); font-style: italic; }
.lg p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.lg-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.lg-form label { color: #e8f0f8; font-size: 14px; font-weight: 500; }
.lg-form input { width: 100%; min-height: 48px; margin-bottom: 8px; padding: 0 15px; border: 1px solid #829ab6; border-radius: 11px; background: rgba(5, 16, 34, .72); color: #fff; font: 400 16px var(--ui); }
.lg-form input:hover { border-color: #b6d7ec; }
.lg-form input[aria-invalid="true"] { border-color: #ffb8aa; }
.lg-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 0; border-radius: 11px; background: #d9f1fd; color: var(--navy); font: 500 16px var(--ui); text-decoration: none; box-shadow: 0 10px 30px rgba(11, 102, 159, .19); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lg-btn:hover { background: #fff; }
.lg-btn:active { transform: scale(.985); }
.lg-form .lg-btn { margin-top: 4px; }
.lg :is(input, button, a):focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.lg-btn .ico { width: 18px; height: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; flex: none; }
.lg-btn .ico i:nth-child(1) { background: #f25022; } .lg-btn .ico i:nth-child(2) { background: #7fba00; } .lg-btn .ico i:nth-child(3) { background: #00a4ef; } .lg-btn .ico i:nth-child(4) { background: #ffb900; }
.lg-btn .ico.g { display: block; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); }
.lg-secure { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(190, 220, 242, .25); color: #c3d1e1; font-size: 13px; line-height: 1.45; }
.lg-secure svg { width: 17px; height: 17px; color: var(--ice); flex: none; }
.lg .lg-help { color: #c3d1e1; font-size: 13px; }
.lg-help a { color: var(--ice); }
.lg .lg-err { color: #ffe0d9; font-size: 14px; background: rgba(152, 42, 39, .32); border: 1px solid #d77c72; border-radius: 10px; padding: 12px 14px; }
.lg-err[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .lg-cap { animation: lg-breathe 3.4s ease-in-out infinite alternate; }
  .lg-card { animation: lg-enter .7s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes lg-breathe { to { transform: scale(1.105) translateY(-5px) rotate(-8deg); } }
  @keyframes lg-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 700px) {
  .lg::before { background: radial-gradient(ellipse 75% 37% at 50% 22%, rgba(59, 153, 211, .22), transparent 80%), linear-gradient(180deg, rgba(8, 19, 38, .2), rgba(8, 19, 38, .74) 58%, #081326); }
  .lg-art { width: 100%; height: 43vh; height: 43dvh; top: 0; right: 0; }
  .lg-cap { transform: scale(1.05) rotate(-8deg); }
  .lg-wrap { align-items: flex-end; justify-content: center; padding: 210px 16px 20px; }
  .lg-card { width: 100%; padding: 25px 23px; gap: 14px; border-radius: 23px; }
  .lg-logo { margin-bottom: 7px; }
  .lg h1 { font-size: clamp(37px, 10vw, 44px); }
  .lg p { font-size: 14px; }
  .lg-form { margin-top: 3px; }
}
@media (max-width: 380px) { .lg-card { padding: 22px 19px; } .lg h1 { font-size: 36px; } }
@media (prefers-reduced-motion: reduce) { .lg-canvas, .lg-btn { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .lg-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: #10213c; } }

/* AC1: the capsule anchors a contained orbit; the feed sits below it. */
.lg { background-position: 62% center; }
.lg::before { background: radial-gradient(ellipse 50% 60% at 74% 36%, rgba(59,153,211,.22), transparent 76%), linear-gradient(90deg, rgba(8,19,38,.88), rgba(8,19,38,.4) 40%, rgba(8,19,38,.16)); }
.lg-art { height: calc(100% - 180px); min-height: 400px; }
.lg-wrap { padding: 40px clamp(24px, 6.7vw, 100px); }
.lg-card { width: min(440px, 100%); padding: clamp(28px, 3vw, 40px); background: linear-gradient(160deg, rgba(30,49,76,.92), rgba(12,29,54,.94)); border-color: rgba(255,255,255,.3); }
.lg-logo { margin-bottom: 4px; }
.lg h1 { font-size: clamp(42px, 3.5vw, 50px); line-height: 1.02; }
.lg-form input { border-color: #9aafc7; }
.lg-form .lg-btn { background: #ee8005; color: var(--navy); font-weight: 700; box-shadow: 0 12px 30px rgba(238,128,5,.25); }
.lg-form .lg-btn:hover { background: #ffab38; }
.lg-pause { position: absolute; z-index: 4; top: 28px; right: 32px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(8,19,38,.78); color: #fff; font: 500 13px var(--ui); cursor: pointer; }
.lg-pause:hover { background: #203c5c; }
.lg-pause svg { width: 17px; height: 17px; }
.lg-orbit { position: absolute; z-index: 1; left: var(--orbit-x, 73%); top: var(--orbit-y, 38%); width: 0; height: 0; pointer-events: none; --r: 180px; --disc: 108px; }
.lg-orbit.is-cramped { display: none; }
.lg-orbit-track { position: absolute; animation: orbit-turn 60s linear infinite; }
.lg-orbit-slot { position: absolute; width: 0; height: 0; animation: disc-born 1.6s cubic-bezier(.2,.8,.2,1) both; }
.lg-orbit-slot--insights { left: calc(var(--r) * -.8); top: calc(var(--r) * -.6); --fx: calc(var(--r) * .8); --fy: calc(var(--r) * .6); animation-delay: .5s; --tint: 43,171,226; --edge: #2babe2; }
.lg-orbit-slot--assistant { left: calc(var(--r) * .8); top: calc(var(--r) * -.6); --fx: calc(var(--r) * -.8); --fy: calc(var(--r) * .6); animation-delay: .75s; --tint: 139,108,240; --edge: #a087ff; }
.lg-orbit-slot--covers { left: calc(var(--r) * .8); top: calc(var(--r) * .6); --fx: calc(var(--r) * -.8); --fy: calc(var(--r) * -.6); animation-delay: 1s; --tint: 227,179,65; --edge: #e3b341; }
.lg-orbit-slot--review { left: calc(var(--r) * -.8); top: calc(var(--r) * .6); --fx: calc(var(--r) * .8); --fy: calc(var(--r) * -.6); animation-delay: 1.25s; --tint: 59,179,138; --edge: #50c89b; }
.lg-disc { width: var(--disc); height: var(--disc); margin: calc(var(--disc) / -2) 0 0 calc(var(--disc) / -2); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.22), rgba(var(--tint),.3) 45%, rgba(8,19,38,.88)); border: 1.5px solid var(--edge); box-shadow: 0 0 24px rgba(var(--tint),.26); animation: orbit-turn 60s linear infinite reverse; }
.lg-disc svg { width: 19px; height: 19px; }
.lg-disc strong { font: 700 13px var(--ui); }
.lg-disc em { font: italic 500 15px/1 var(--display); color: #fff; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes disc-born { from { opacity: 0; translate: var(--fx) var(--fy); scale: .3; } to { opacity: 1; translate: 0 0; scale: 1; } }
.lg-feed { position: absolute; right: clamp(35px, 12vw, 180px); bottom: 55px; width: min(400px, 35vw); }
.lg .lg-feed > p { margin: 0 0 10px; color: var(--ice); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.lg-feed-stack { position: relative; height: 112px; }
.lg-feed-stack::before, .lg-feed-stack::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.06); }
.lg-feed-stack::before { inset: 14px -16px -14px 16px; }
.lg-feed-stack::after { inset: 7px -8px -7px 8px; }
.lg-feed-rotating { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; background: linear-gradient(160deg, rgba(45,69,97,.84), rgba(19,41,69,.9)); overflow: hidden; }
.lg-feed-item { position: absolute; inset: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.lg-feed-item.is-current { opacity: 1; transform: translateY(0); }
.lg-feed-meta { font: 500 11px var(--ui); color: #d4eefa; }
.lg-feed-title { font: 600 21px/1.15 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* La pila que rota es decorativa (aria-hidden); los lectores de pantalla leen esta lista. */
.lg-feed-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
.lg.is-paused *, .lg.is-offscreen * { animation-play-state: paused !important; }
.lg.is-paused .lg-feed-item { transition: none; }
@media (max-width: 700px) {
  .lg::before { background: linear-gradient(180deg, rgba(8,19,38,.08), rgba(8,19,38,.72) 42%, #081326 75%); }
  .lg-art { width: 100%; height: 290px; min-height: 0; top: 0; }
  .lg-orbit { --disc: 68px; }
  .lg-disc svg { width: 15px; height: 15px; }
  .lg-disc strong { font-size: 10px; }
  .lg-disc em { display: none; }
  .lg-wrap { min-height: 100dvh; padding: 288px 16px 20px; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 12px; }
  .lg-feed { position: relative; inset: auto; width: 100%; }
  .lg .lg-feed > p { margin-bottom: 6px; font-size: 10px; }
  .lg-feed-stack { height: 73px; }
  .lg-feed-stack::before, .lg-feed-stack::after { display: none; }
  .lg-feed-rotating { border-radius: 16px; }
  .lg-feed-item { padding: 9px 13px; gap: 3px; }
  .lg-feed-title { font-size: 16px; -webkit-line-clamp: 2; }
  .lg-feed-meta { font-size: 10px; }
  .lg-card { width: 100%; padding: 18px; gap: 9px; border-radius: 22px; }
  .lg-logo { height: 20px; margin-bottom: 1px; }
  .lg h1 { font-size: clamp(28px, 7.4vw, 34px); }
  .lg p { font-size: 13px; }
  .lg-form { gap: 5px; margin-top: 0; }
  .lg-form label { font-size: 13px; }
  .lg-form input { margin-bottom: 0; }
  .lg-form .lg-btn { margin-top: 4px; }
  .lg-secure { padding-top: 9px; font-size: 11px; }
  .lg .lg-help { font-size: 11px; }
  .lg-pause { top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; }
  .lg-pause span { display: none; }
}
@media (max-width: 360px) { .lg-wrap { padding-left: 12px; padding-right: 12px; } .lg-card { padding: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .lg-cap, .lg-card, .lg-orbit-track, .lg-orbit-slot, .lg-disc { animation: none !important; }
  .lg-canvas, .lg-btn, .lg-feed-item { transition: none; }
  .lg-pause, .lg-feed-stack { display: none; }
  .lg-feed-static { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
  .lg-feed-static li { padding: 9px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(32,54,80,.88); font: 600 17px/1.2 var(--display); }
}
