/* Regesto · página provisional (mientras se prepara la web entera). Misma identidad que publico/. */

@font-face {
  font-family: "EB Garamond";
  src: url("../letra/eb-garamond.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --papel: #F4EEE3;
  --tinta: #2B2421;
  --tinta-suave: #6F665E;
  --burdeos: #6F1D2A;
  --filete: #D3BAB5;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papel: #1F1A18;
    --tinta: #EFE7DA;
    --tinta-suave: #B9AEA2;
    --burdeos: #D9939A;
    --filete: #4A3C3B;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.06rem + .25vw, 1.1875rem);
  line-height: 1.5;
  font-feature-settings: "liga", "kern";
  -webkit-font-smoothing: antialiased;
}

p, h1 { margin: 0; }

.hoja {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: clamp(64px, 12vh, 140px) 20px;
  text-align: center;
}

.marca img {
  display: block;
  width: min(308px, 70vw);
  height: auto;
}

.lema {
  margin-top: .4rem;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-style: normal;
  color: var(--burdeos);
}

.que { color: var(--tinta-suave); }

.aviso {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--filete);
  min-width: min(22rem, 80vw);
}

a {
  color: var(--burdeos);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:focus-visible {
  outline: 2px solid var(--burdeos);
  outline-offset: 3px;
  border-radius: 2px;
}

.pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.5rem;
  padding: 18px 20px 24px;
  font-size: .9rem;
  color: var(--tinta-suave);
}

.pie a { color: inherit; }
