/* Rincón de familias — app demo */
html, body { background: #1c0d2b; }
:root {
  --night: #1c0d2b; --plum: #2f1544; --brand: #7b4d8f; --brand-2: #57287a;
  --lilac: #ecdff5; --lilac-2: #f6effa; --cream: #fcf8f3; --ink: #241530; --ink-2: #6a5a75; --line: #ece3f1;
  --c-a: #e2489e; --c-m: #1f9d63; --c-e: #ffc83a; --c-l: #ff8a3d; --c-i: #c8a6e6; --c-n: #e0245e;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font-ui); color: var(--ink); -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-e); outline-offset: 2px; border-radius: 8px; }
svg.i { width: 22px; height: 22px; flex: none; }
::selection { background: rgba(123, 77, 143, .3); }

/* ---------- escaparate (escritorio) ---------- */
.stage {
  min-height: 100dvh; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px;
  padding: 40px max(24px, 6vw);
  background: radial-gradient(70% 60% at 80% 20%, rgba(226, 72, 158, .18), transparent 70%), linear-gradient(180deg, var(--plum), var(--night));
  color: #fff;
}
.stage__info { max-width: 520px; }
.stage__back { display: inline-flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 600; font-size: .9rem; margin-bottom: 40px; }
.stage__back:hover { color: #fff; }
.stage h1 { font-family: var(--font-display); font-weight: 450; font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.03em; margin: 14px 0 20px; }
.stage h1 em { font-style: italic; color: var(--c-e); }
.stage p { color: rgba(255, 255, 255, .72); font-size: 1.08rem; line-height: 1.6; }
.stage__eyebrow { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--c-e); }
.roles { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); margin: 30px 0 16px; border: 1px solid rgba(255, 255, 255, .12); }
.roles button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: rgba(255, 255, 255, .75); transition: all .3s var(--ease); }
.roles button[aria-pressed="true"] { background: #fff; color: var(--brand-2); }
.stage__tip { font-size: .9rem !important; display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.stage__tip svg { color: var(--c-e); margin-top: 2px; }
.stage__reset { margin-top: 26px; background: none; border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); border-radius: 999px; padding: 8px 16px; font-size: .85rem; }
.stage__reset:hover { color: #fff; border-color: #fff; }
.device {
  /* el marco nunca sobresale de la pantalla: el ancho sale de la altura disponible */
  width: min(390px, calc((100dvh - 80px) * 390 / 820)); aspect-ratio: 390 / 820;
  border-radius: 13% / 6.2%; padding: 3%; position: relative;
  background: linear-gradient(145deg, #3a2550, #120819); box-shadow: 0 0 0 2px #5a3e73, 0 50px 100px -30px rgba(0, 0, 0, .6), 0 0 120px rgba(226, 72, 158, .2);
}
.device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10.5% / 5%; }
.device .app { position: absolute; top: 0; left: 0; width: 390px; height: 800px; transform-origin: 0 0; }

/* barra flotante de la demo (solo móvil a pantalla completa) */
.demo-bar { display: none; }

@media (max-width: 900px) {
  .stage { display: block; padding: 0; background: var(--cream); }
  .stage__info { display: none; }
  .device { width: 100%; height: 100dvh; aspect-ratio: auto; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .device__screen { border-radius: 0; overflow: visible; }
  .device .app { position: relative; width: 100%; height: 100%; transform: none !important; border-radius: 0; }
  .demo-bar {
    display: flex; position: fixed; z-index: 60; left: 10px; right: 10px; top: max(8px, env(safe-area-inset-top));
    justify-content: space-between; align-items: center; gap: 8px; pointer-events: none;
  }
  .demo-bar > * { pointer-events: auto; }
  .demo-bar__exit {
    display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px 0 8px; border-radius: 999px;
    background: var(--night); color: #fff; font-size: .78rem; font-weight: 800; text-decoration: none;
    box-shadow: 0 6px 16px -6px rgba(28, 13, 43, .6);
  }
  .demo-bar__exit svg { width: 18px; height: 18px; }
  .demo-bar__roles { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(28, 13, 43, .88); box-shadow: 0 6px 16px -6px rgba(28, 13, 43, .6); }
  .demo-bar__roles button { border: 0; background: none; color: rgba(255, 255, 255, .75); font-size: .74rem; font-weight: 800; padding: 0 12px; min-height: 30px; border-radius: 999px; }
  .demo-bar__roles button[aria-pressed="true"] { background: #fff; color: var(--brand-2); }
  .topbar { padding-top: 58px; }
}
body.embed .demo-bar { display: none; }
body.embed .stage { display: block; padding: 0; background: var(--cream); }
body.embed .stage__info { display: none; }
body.embed .device { width: 100%; height: 100dvh; aspect-ratio: auto; padding: 0; border-radius: 0; box-shadow: none; background: none; }
body.embed .device__screen { border-radius: 0; overflow: visible; }
body.embed .device .app { position: relative; width: 100%; height: 100%; transform: none !important; border-radius: 0; }
body.embed .topbar { padding-top: 50px; }

/* pantallas estrechas (p. ej. dentro del móvil simulado) */
@media (max-width: 340px) {
  .screen { padding-left: 12px; padding-right: 12px; }
  .topbar h2 { font-size: 1.4rem; }
  .quick { gap: 6px; }
  .quick button { font-size: .64rem; padding: 10px 2px; }
  .quick i { width: 34px; height: 34px; }
  .seg { grid-template-columns: 1fr; }
  .kids { gap: 8px; }
  .kid { padding: 10px; }
  .summary b { font-size: 1.3rem; }
  .status__now { font-size: 1.3rem; }
  .status img { width: 96px; }
  .acts button { font-size: .68rem; }
  .row2 { grid-template-columns: 1fr; }
  .tabbar button { font-size: .6rem; }
  .login h1 { font-size: 1.8rem; }
}
@media (max-height: 640px) {
  .login img { width: 48%; padding-top: 30px; }
}
/* ---------- app ---------- */
.app {
  height: 100%; background: var(--cream); color: var(--ink); overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.screen { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 110px; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }

.topbar { position: sticky; top: 0; z-index: 5; padding: 50px 0 14px; display: flex; align-items: center; gap: 12px; background: linear-gradient(var(--cream) 80%, transparent); }
.topbar h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; letter-spacing: -.02em; margin: 0; line-height: 1.05; flex: 1; }
.topbar small { display: block; font-family: var(--font-ui); font-size: .78rem; color: var(--ink-2); font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c, var(--c-a)); flex: none; font-size: 1rem; box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(0, 0, 0, .25); }
.avatar--sm { width: 38px; height: 38px; font-size: .85rem; box-shadow: 0 0 0 2px #fff; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(47, 21, 68, .08); position: relative; }
.dot-badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-n); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }

/* estado */
.status {
  border-radius: 28px; padding: 20px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 20px 40px -20px rgba(87, 40, 122, .8);
}
.status::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); z-index: -1; }
.status img { position: absolute; right: -6px; bottom: -8px; width: 120px; z-index: -1; opacity: .95; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
.status__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; opacity: .75; }
.status__now { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; margin: 6px 0 4px; max-width: 70%; }
.status__since { font-size: .84rem; opacity: .8; }
.status__stats { display: flex; gap: 8px; margin-top: 16px; max-width: 72%; flex-wrap: wrap; }
.status__stats span { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 6px 10px; font-size: .78rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.status__stats svg { width: 15px; height: 15px; }

.h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin: 26px 2px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.h3 small { font-family: var(--font-ui); font-size: .78rem; color: var(--ink-2); font-weight: 600; }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick button {
  border: 0; background: #fff; border-radius: 20px; padding: 14px 4px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; line-height: 1.2; box-shadow: 0 2px 10px rgba(47, 21, 68, .06); transition: transform .2s var(--ease);
}
.quick button:active { transform: scale(.95); }
.quick i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }

.bring { background: #fff7e0; border: 1.5px dashed #f0c64a; border-radius: 20px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.bring svg { color: #c38f00; }
.bring b { display: block; font-size: .9rem; }
.bring span { font-size: .82rem; color: var(--ink-2); }
.bring button { margin-left: auto; border: 0; background: #ffc83a; border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: .78rem; white-space: nowrap; }

/* timeline */
.feed { list-style: none; margin: 0; padding: 0; position: relative; }
.feed::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.feed li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 8px 0; position: relative; animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.feed i { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--cream); }
.feed .card { background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 2px 10px rgba(47, 21, 68, .05); }
.feed .card header { display: flex; justify-content: space-between; gap: 10px; }
.feed .card b { font-size: .92rem; }
.feed .card time { font-size: .76rem; color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.feed .card p { margin: 3px 0 0; font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.feed .meter { display: flex; gap: 3px; margin-top: 8px; }
.feed .meter span { height: 6px; flex: 1; border-radius: 3px; background: var(--line); }
.feed .meter span.on { background: var(--c); }
.empty { text-align: center; color: var(--ink-2); padding: 30px 10px; font-size: .9rem; }

.menu-card { background: #fff; border-radius: 22px; padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; box-shadow: 0 2px 10px rgba(47, 21, 68, .05); }
.menu-card dt { font-weight: 800; font-size: .78rem; color: var(--c-l); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.menu-card dd { margin: 0; font-size: .9rem; font-weight: 600; }

/* formularios */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { border: 1.5px solid var(--line); background: #fff; border-radius: 18px; padding: 14px 12px; display: flex; gap: 10px; align-items: center; text-align: left; font-weight: 700; font-size: .86rem; transition: all .2s; }
.seg button i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); flex: none; }
.seg button[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.fld { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.fld label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; font-size: 16px; width: 100%; }
.fld textarea { min-height: 80px; resize: none; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(123, 77, 143, .12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: .98rem; margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 12px 24px -12px var(--brand); transition: transform .2s var(--ease); }
.cta:active { transform: scale(.97); }
.cta--ghost { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--line); }

.sent { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sent li { background: #fff; border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; box-shadow: 0 2px 10px rgba(47, 21, 68, .05); animation: pop .4s var(--ease) both; }
.sent i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }
.sent b { font-size: .88rem; display: block; }
.sent span { font-size: .8rem; color: var(--ink-2); display: block; line-height: 1.35; }
.tag { font-size: .7rem; font-weight: 800; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.tag--sent { background: var(--lilac); color: var(--brand-2); }
.tag--read { background: #dff5ea; color: #147a4a; }
.tag--new { background: #ffe1ea; color: var(--c-n); }
.sent button.tag { border: 0; background: var(--brand); color: #fff; padding: 7px 10px; }

/* chat */
.chat { display: flex; flex-direction: column; height: 100%; }
.chat .screen { padding-bottom: 20px; display: flex; flex-direction: column; }
.bubbles { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 10px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 20px; font-size: .9rem; line-height: 1.4; animation: pop .35s var(--ease) both; position: relative; }
.bubble time { display: block; font-size: .68rem; opacity: .6; margin-top: 3px; text-align: right; }
.bubble.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(47, 21, 68, .06); }
.day-sep { align-self: center; font-size: .72rem; font-weight: 700; color: var(--ink-2); background: var(--lilac-2); padding: 4px 10px; border-radius: 8px; margin: 8px 0; }
.typing { align-self: flex-start; background: #fff; border-radius: 20px; padding: 12px 16px; display: flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-i); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; transform: translateY(-3px); } }
.composer { display: flex; gap: 8px; padding: 10px 14px 96px; background: var(--cream); border-top: 1px solid var(--line); }
.composer input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; background: #fff; font-size: 16px; min-width: 0; }
.composer input:focus { outline: none; border-color: var(--brand); }
.composer button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 8px; background: var(--cream); scrollbar-width: none; }
.chips button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700; }

/* circulares */
.circ { background: #fff; border-radius: 22px; padding: 16px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(47, 21, 68, .05); animation: pop .4s var(--ease) both; }
.circ header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.circ header i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); flex: none; }
.circ header b { font-size: .95rem; display: block; line-height: 1.25; }
.circ header small { font-size: .76rem; color: var(--ink-2); }
.circ p { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.circ footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
.circ .sign { border: 0; background: var(--c-m); color: #fff; font-weight: 800; border-radius: 999px; padding: 9px 16px; font-size: .84rem; display: inline-flex; gap: 6px; align-items: center; }
.circ .signed { color: #147a4a; font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; }
.progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; flex: 1; }
.progress span { display: block; height: 100%; background: var(--c-m); border-radius: 3px; }

/* educadora: clase */
.kids { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kid { border: 0; background: #fff; border-radius: 22px; padding: 14px; text-align: left; box-shadow: 0 2px 10px rgba(47, 21, 68, .06); display: flex; flex-direction: column; gap: 10px; transition: transform .2s var(--ease); }
.kid:active { transform: scale(.97); }
.kid header { display: flex; gap: 10px; align-items: center; }
.kid b { font-size: .95rem; display: block; }
.kid small { font-size: .74rem; color: var(--ink-2); }
.kid .state { font-size: .74rem; font-weight: 800; padding: 5px 9px; border-radius: 9px; align-self: flex-start; background: var(--lilac-2); color: var(--brand-2); }
.kid .state.off { background: #f1eef3; color: #8a7f92; }
.kid .state.sleep { background: #e7ecff; color: #3d4fb8; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.summary div { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 2px 10px rgba(47, 21, 68, .05); }
.summary b { font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1; }
.summary span { font-size: .72rem; color: var(--ink-2); font-weight: 700; }

/* hoja inferior */
.sheet-bg { position: absolute; inset: 0; background: rgba(28, 13, 43, .45); z-index: 20; opacity: 0; pointer-events: none; transition: opacity .3s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--cream); border-radius: 30px 30px 0 0; padding: 10px 18px 28px; max-height: 88%; overflow-y: auto; transform: translateY(105%); transition: transform .45s cubic-bezier(.32, .72, 0, 1); }
.sheet.open { transform: none; }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: 0; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.acts button { border: 0; background: #fff; border-radius: 16px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; box-shadow: 0 2px 8px rgba(47, 21, 68, .06); transition: transform .15s; }
.acts button:active { transform: scale(.94); }
.acts i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }
.acts-label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 18px 2px 0; }

/* barra inferior */
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 26px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 10px 30px -10px rgba(47, 21, 68, .3), 0 0 0 1px rgba(47, 21, 68, .05);
}
.tabbar button { border: 0; background: none; border-radius: 20px; padding: 8px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68rem; font-weight: 700; color: var(--ink-2); position: relative; transition: color .2s, background .3s var(--ease); }
.tabbar button[aria-current="page"] { color: var(--brand-2); background: var(--lilac); }
.tabbar .dot-badge { top: 2px; right: calc(50% - 22px); border-color: #fff; }

/* login */
.login { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 22px 34px; color: #fff; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 25%, #6a3d80, var(--plum) 60%, var(--night)); transition: transform .6s cubic-bezier(.32, .72, 0, 1), opacity .4s; }
.login.hide { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.login img { width: 64%; margin: 0 auto auto; padding-top: 50px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .35)); }
.login h1 { font-family: var(--font-display); font-weight: 450; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; margin: 0 0 8px; }
.login h1 em { color: var(--c-e); }
.login p { color: rgba(255, 255, 255, .7); font-size: .92rem; margin: 0 0 22px; line-height: 1.5; }
.login .cta { margin-top: 10px; }
.login .cta--gold { background: var(--c-e); color: var(--night); box-shadow: none; }
.login .cta--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.login small { display: block; text-align: center; margin-top: 16px; font-size: .74rem; color: rgba(255, 255, 255, .5); }

/* toast */
.toast { position: absolute; left: 50%; bottom: 96px; z-index: 40; transform: translate(-50%, 200%); opacity: 0; background: var(--night); color: #fff; padding: 12px 18px; border-radius: 16px; font-size: .86rem; font-weight: 700; display: flex; gap: 8px; align-items: center; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { color: var(--c-e); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; } }
