/* Shared by every document here. An external file rather than inline
   <style> blocks: the copies would drift the first time one of them
   is touched, and at this size the extra request costs nothing (it ships
   with the same short-cache headers as the documents, so they always
   update together). */

:root {
  /* FIT27 brand tokens, mirroring apps/web/tailwind.config.ts. */
  --paper: #f5f5f4;
  --ink: #2c2e35; /* never pure black, per the brand manual */
  --ember: #ff7d24; /* accent only — never a surface */
  --muted: #5c5e66;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  color: var(--ink);
  font-family: Archivo, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  text-align: center;
}

/* The source SVG carries its own width="233.462" height="65.181", so the
   box has to be pinned in CSS or it renders at that native size. */
.logo {
  display: block;
  margin: 0 auto;
  width: 220px;
  max-width: 70vw;
  height: auto;
}

/* Uppercase, 700, +0.02em tracking — the brand manual's title treatment,
   the same one apps/web applies to its page headings. */
h1 {
  margin: 40px 0 0;
  font-size: clamp(1.625rem, 6vw, 2.375rem); /* 26px → 38px (display) */
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rule {
  width: 48px;
  height: 3px;
  margin: 24px auto 0;
  border: 0;
  border-radius: 2px;
  background: var(--ember);
}

/* Long-form documents (privacidade.html, exclusao-de-dados.html): a left-
   aligned reading column instead of the centred holding-page layout. */
body.legal {
  display: block;
  padding: 48px 24px;
  line-height: 1.6;
}

.legal main {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
}

.legal .logo {
  margin: 0;
  width: 120px;
}

.legal h1 {
  margin-top: 32px;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.legal h2 {
  margin: 32px 0 8px;
  font-size: 1.125rem;
}

.legal .updated,
.legal p,
.legal li {
  color: var(--muted);
}

.legal strong {
  color: var(--ink);
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.legal a:hover {
  color: var(--ember);
}
