/* Sitio público de Ocasia (getocasia.com). Colores de docs/brand/ocasia-brand.md.
   Sin fuentes externas: no se carga nada de terceros (la política de privacidad no lo declara). */
:root {
  --fucsia: #e11d74;
  --fucsia-700: #be185d;
  --fucsia-50: #fde7f1;
  --noche: #1a1b3f;
  --niebla: #f6f7f9;
  --texto-suave: #4a4b6a;
  --borde: #e3e4ea;
  --fondo: #ffffff;
  --enlace: #be185d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #1a1b3f;
    --noche: #f6f7f9;
    --niebla: #24264f;
    --texto-suave: #c9cadb;
    --borde: #3a3c6b;
    --fucsia-50: #3a2347;
    --enlace: #ff8ac0;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--noche);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--enlace);
}

header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 16px;
}

.wordmark {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--fucsia);
  text-decoration: none;
}

nav a {
  margin-left: 16px;
  font-weight: 600;
  text-decoration: none;
}

nav a:first-child {
  margin-left: 0;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: 34px;
  margin-top: 24px;
}

h2 {
  font-size: 22px;
  margin-top: 36px;
}

.draft {
  background: var(--fucsia-50);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
}

.meta {
  color: var(--texto-suave);
  font-size: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid var(--borde);
  vertical-align: top;
}

.card {
  background: var(--niebla);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
}

.button {
  display: inline-block;
  background: var(--fucsia-700);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 28px;
  padding: 12px 24px;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--borde);
  color: var(--texto-suave);
  font-size: 15px;
}

footer a {
  margin-right: 16px;
}

.card h2 {
  margin-top: 4px;
}
