/* =========================================================================
   Inventario de Aplicaciones · Coninsa
   Estética: editorial-arquitectónica · papel cálido + tinta + teal/terracota
   ========================================================================= */

:root {
  --paper: #f4f0e6;
  --paper-2: #fbf8f1;
  --paper-3: #efe9dc;
  --ink: #16201c;
  --ink-soft: #45504a;
  --muted: #6d756c;
  --line: rgba(22, 32, 28, 0.12);
  --line-strong: rgba(22, 32, 28, 0.2);

  --teal: #0c6b5e;
  --teal-deep: #084d43;
  --teal-soft: #e3efe9;
  --terra: #bb5a36;
  --terra-soft: #f3e3d9;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 32, 28, 0.04), 0 12px 30px -18px rgba(22, 32, 28, 0.35);
  --shadow-lift: 0 2px 6px rgba(22, 32, 28, 0.06), 0 26px 50px -28px rgba(8, 77, 67, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 500px at 88% -8%, rgba(12, 107, 94, 0.07), transparent 60%),
    radial-gradient(700px 420px at -6% 4%, rgba(187, 90, 54, 0.06), transparent 60%);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--teal); color: var(--paper-2); }

/* ----- Tipografía utilitaria ----- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
  line-height: 1.04;
  margin: 0;
}
.muted { color: var(--muted); }

/* ----- Marca ----- */
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--paper-2);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.brand-mark.big { width: 52px; height: 52px; font-size: 1.7rem; border-radius: 13px; }

/* =========================================================================
   Topbar
   ========================================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1.1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.brand-text small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.topbar-user { display: flex; align-items: center; gap: 0.75rem; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
}
.user-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }

/* =========================================================================
   Botones / campos
   ========================================================================= */
.btn-primary {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--paper-2);
  background: var(--teal);
  padding: 0.85rem 1.4rem;
  border-radius: 11px;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 24px -12px rgba(8, 77, 67, 0.8);
}
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  appearance: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: background 0.18s, border-color 0.18s;
}
.btn-ghost:hover { background: var(--paper-3); border-color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.field span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); }
.field input {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.field input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field input:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.alert {
  background: var(--terra-soft);
  color: #7a3217;
  border: 1px solid color-mix(in srgb, var(--terra) 35%, transparent);
  border-radius: 11px;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
}

/* =========================================================================
   Login
   ========================================================================= */
.login-screen { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

.login-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal) 60%, #0a5d51);
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 4vw, 4rem);
}
.login-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 80% 10%, #000, transparent 75%);
}
.login-aside-inner { position: relative; z-index: 2; max-width: 30rem; }
.login-aside .eyebrow { color: rgba(255, 255, 255, 0.78); }
.login-display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1.1rem;
}
.login-lead { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; max-width: 26rem; }
.login-meta { display: flex; gap: 1.6rem; margin-top: 2rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }
.login-meta b { font-family: var(--display); font-size: 1.1rem; color: #fff; }
.grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.login-card {
  width: min(100%, 24rem);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  text-align: center;
}
.login-card .brand-mark { margin: 0 auto; }
.login-card h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 0.4rem 0 0; }
.login-card .muted { margin: 0 0 0.4rem; font-size: 0.92rem; }
.login-card .btn-primary { margin-top: 0.4rem; }
.login-card .field { margin-top: 0.15rem; }
.login-foot { margin-top: 1.6rem; font-size: 0.78rem; color: var(--muted); }

@media (max-width: 820px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .login-panel { min-height: 100vh; }
}

/* =========================================================================
   Layout de página
   ========================================================================= */
.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.1rem, 4vw, 3rem) 5rem;
}

/* ----- Hero ----- */
.hero { max-width: 46rem; }
.hero .display { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 0.8rem 0 1.1rem; }
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 40rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 2.4rem;
  max-width: 100%;
}
.stat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat-num { font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--teal-deep); }
.stat-label { font-size: 0.76rem; color: var(--muted); letter-spacing: 0.02em; }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Toolbar / filtros ----- */
.toolbar {
  position: sticky;
  top: 60px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin: 2.6rem 0 1rem;
  padding: 0.75rem;
  background: color-mix(in srgb, var(--paper-2) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.search {
  position: relative;
  flex: 1 1 280px;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute; left: 0.9rem;
  width: 18px; height: 18px;
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
}
.search input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.search input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.seg {
  display: inline-flex;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.seg-btn {
  appearance: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active {
  background: var(--paper-2);
  color: var(--teal-deep);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(22, 32, 28, 0.12);
}

/* ----- Bloques de categoría ----- */
.cat-block { margin-top: 2.8rem; }
.cat-head { margin-bottom: 1.2rem; }
.cat-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  margin: 0;
}
.cat-code {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  padding: 0.25rem 0.55rem;
  border-radius: 7px;
}
.cat-code.small { font-size: 0.66rem; padding: 0.2rem 0.45rem; }
.cat-blurb { color: var(--muted); margin: 0.5rem 0 0; max-width: 48rem; font-size: 0.95rem; }

/* ----- Grid de tarjetas ----- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.95rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--teal) 35%, var(--line));
}
.card:hover::before { transform: scaleY(1); }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.card-index { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em; }
.tech {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: var(--paper-3);
  border: 1px solid var(--line);
  padding: 0.28rem 0.55rem;
  border-radius: 7px;
  white-space: nowrap;
}
.card-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}
.card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.chip-tec { color: var(--teal-deep); background: var(--teal-soft); border-color: color-mix(in srgb, var(--teal) 22%, transparent); }
.chip-ope { color: #8a3f1f; background: var(--terra-soft); border-color: color-mix(in srgb, var(--terra) 28%, transparent); }
.chip-none { color: var(--muted); background: var(--paper-3); border-color: var(--line); }

.card-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-deep);
  white-space: nowrap;
  transition: gap 0.2s var(--ease);
}
.card:hover .card-go { gap: 0.7rem; }
.doc-flag {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0.1rem 0.3rem;
}

.empty { text-align: center; color: var(--muted); padding: 3rem 0; font-size: 0.95rem; }

/* =========================================================================
   Detalle
   ========================================================================= */
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
  transition: color 0.18s, gap 0.18s var(--ease);
}
.back:hover { color: var(--teal-deep); gap: 0.6rem; }

.detail-head { border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; }
.detail-title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.7rem 0 1.2rem; max-width: 22ch; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.tech-lg {
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
  background: var(--paper-2);
}

.detail-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin: 2.2rem 0;
}
.summary-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.summary-block p { margin: 0.5rem 0 0; color: var(--ink-soft); font-size: 0.98rem; }
.block-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
@media (max-width: 720px) { .detail-summary { grid-template-columns: 1fr; } }

.detail-docs { margin-top: 1rem; }
.docs-head { margin-bottom: 1.4rem; }
.docs-title { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 0.5rem 0 0; }
.no-docs {
  background: var(--paper-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.6rem;
  color: var(--muted);
}
.no-docs p { margin: 0; }

/* ----- Prosa (markdown renderizado) ----- */
.prose {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.8rem);
  margin-bottom: 1.4rem;
  max-width: 100%;
  overflow-wrap: break-word;
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--line);
}
.prose h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  margin: 2.2rem 0 0.8rem;
  color: var(--teal-deep);
}
.prose h3 { font-family: var(--sans); font-weight: 700; font-size: 1.12rem; margin: 1.6rem 0 0.6rem; }
.prose h4 { font-family: var(--sans); font-weight: 700; font-size: 0.98rem; margin: 1.3rem 0 0.5rem; color: var(--ink-soft); }
.prose p { margin: 0.8rem 0; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.prose a:hover { text-decoration-color: var(--teal); }

.prose ul, .prose ol { margin: 0.8rem 0; padding-left: 1.3rem; color: var(--ink-soft); }
.prose li { margin: 0.35rem 0; }
.prose li::marker { color: var(--teal); }

.prose blockquote {
  margin: 1.2rem 0;
  padding: 0.6rem 1.1rem;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
}
.prose blockquote p { margin: 0.3rem 0; }

.prose code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--paper-3);
  border: 1px solid var(--line);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  color: var(--terra);
}
.prose pre {
  background: var(--ink);
  color: #e8efe9;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  margin: 1.2rem 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.prose pre code { background: none; border: 0; color: inherit; padding: 0; font-size: 0.86em; }

.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* Tablas markdown */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.3rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
.prose thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 0.6rem 0.85rem;
  border-bottom: 2px solid color-mix(in srgb, var(--teal) 25%, transparent);
}
.prose tbody td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  white-space: normal;
}
.prose tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper-3) 50%, transparent); }
.prose tbody tr:hover { background: var(--paper-3); }

/* =========================================================================
   Footer / 404
   ========================================================================= */
.foot {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.6rem clamp(1.1rem, 4vw, 3rem) 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.foot-link:hover { color: var(--teal-deep); }

.notfound { text-align: center; max-width: 34rem; }
.notfound .display { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0.7rem 0 0.8rem; }
.notfound .btn-primary { display: inline-block; margin-top: 1.4rem; }

/* =========================================================================
   Entrada animada
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero > *, .stat, .cat-block, .toolbar {
    animation: rise 0.6s var(--ease) both;
  }
  .stat:nth-child(2) { animation-delay: 0.04s; }
  .stat:nth-child(3) { animation-delay: 0.08s; }
  .stat:nth-child(4) { animation-delay: 0.12s; }
  .stat:nth-child(5) { animation-delay: 0.16s; }
  .card { animation: rise 0.5s var(--ease) both; }
  .grid .card:nth-child(2) { animation-delay: 0.03s; }
  .grid .card:nth-child(3) { animation-delay: 0.06s; }
  .grid .card:nth-child(4) { animation-delay: 0.09s; }
  .grid .card:nth-child(n+5) { animation-delay: 0.12s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
