/* legal.app2day.es: los colores y la fuente de la app (src/theme.ts). */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fuentes/BricolageGrotesque_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fuentes/BricolageGrotesque_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fuentes/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --background: #0f241c;
  --surface: #163128;
  --border: #2b4d40;
  --text: #f1ebe0;
  --text-muted: #a6b9b0;
  --accent: #f4a3b4;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 720px;
  padding: 0 16px;
  background: var(--background);
  color: var(--text);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

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

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border);
}

.logo {
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

nav a {
  color: var(--text-muted);
  font-weight: 700;
  text-decoration: none;
}

nav a[aria-current='page'],
nav a:hover {
  color: var(--accent);
}

main {
  padding: 8px 0 32px;
}

h1 {
  margin: 24px 0 4px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

h2 {
  margin: 28px 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0 0 12px;
}

.updated {
  color: var(--text-muted);
  font-size: 14px;
}

ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

li::marker {
  color: var(--accent);
}

.cards {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.card strong {
  font-size: 19px;
}

.card span {
  color: var(--text-muted);
  font-size: 14px;
}

.card:hover {
  border-color: var(--accent);
}

footer {
  padding: 20px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

footer p {
  margin: 0 0 6px;
}
