/* salariapix.xyz: a página de links de Zampa, do @zampabtc (SSM-384; no ar desde o SSM-389, com os dois sites).
 *
 * Cores e fonte da marca Salaria: fundo #161e1b, a palavra «salaria» sempre em #e64a2e, Outfit.
 * O laranja dá 4,36:1 sobre o fundo. Por isso só aparece em texto grande, de 24 px ou de 18,66 px em negrito
 * (o mínimo do WCAG para texto grande é 3:1). Todo o resto fica em tons claros, de 7,26:1 a 16,07:1.
 *
 * A página não carrega nada de fora: as três fontes estão em fontes/, e não há script. */

@font-face {
  font-family: "Outfit";
  src: url("fontes/Outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fontes/Outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fontes/Outfit-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fundo: #161e1b;
  --superficie: #1f2a26;
  --linha: #333c38;
  --texto: #f7f9f8;      /* 16,07:1 sobre o fundo */
  --texto-2: #d6ddd9;    /* 12,3:1 */
  --texto-3: #a1aca7;    /* 7,26:1 */
  --borda-botao: #a9b5b0;
  --brasa: #e64a2e;      /* só a palavra salaria */
  --folha: #e2e8e5;      /* fundo do texto selecionado */
  --tinta: #161e1b;      /* texto selecionado: 13,8:1 sobre --folha */
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--fundo);
  color: var(--texto);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-synthesis: none;
  font-kerning: normal;
  /* Posição fracionária das letras também no Chromium do Linux. Sem ela, a 2× o «e» ganha um vão antes. */
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--folha);
  color: var(--tinta);
}

.pagina {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.5rem;
}

/* Topo: quem é */

.topo {
  margin-bottom: 2.5rem;
}

.nome {
  margin: 0;
  font-size: clamp(4.25rem, 24vw, 7rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: var(--texto);
}

.arroba {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  color: var(--texto-2);
}

.produto {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--texto-2);
}

/* 18,66 px em negrito ou mais: texto grande, e o laranja passa. */
.salaria {
  color: var(--brasa);
  font-weight: 700;
}

/* Os três destinos */

.destinos {
  margin: 0;
  padding: 0;
  list-style: none;
}

.destino h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--texto);
}

.destino p {
  margin: 0.5rem 0 0;
  color: var(--texto-2);
}

.destino--site {
  padding: 1.5rem 0;
  border-top: 1px solid var(--linha);
}

/* Botões */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.botao:active {
  transform: translateY(1px);
}

.botao:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 3px;
}

.botao--contorno {
  margin-top: 1.125rem;
  border-color: var(--borda-botao);
  background: transparent;
  color: var(--texto);
}

.botao--contorno:hover {
  border-color: var(--texto);
  background: var(--superficie);
}

@media (prefers-reduced-motion: no-preference) {
  .botao {
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }
}

/* Rodapé: o que protege quem chegou aqui */

.rodape {
  margin-top: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--linha);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--texto-3);
}

.rodape p {
  margin: 0 0 0.875rem;
}

.rodape p:last-child {
  margin-bottom: 0;
}

.rodape .seguranca {
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--texto);
}

.rodape .oficiais {
  margin-bottom: 1.25rem;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--texto-2);
}

.dominio {
  font-weight: 700;
  color: var(--texto);
  white-space: nowrap;
}

/* Telas maiores: a mesma coluna, com mais ar. */

@media (min-width: 48rem) {
  .pagina {
    max-width: 32rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .topo {
    margin-bottom: 3rem;
  }
}

/* Alto contraste do sistema: os botões ganham borda, porque o fundo some. */

@media (forced-colors: active) {
  .botao {
    border: 2px solid ButtonText;
  }
}
