/* Generated from brand/tokens/tokens.json by site/build/tokens.ts. */
:root {
  --marca: #0D644E;
  --sobre-marca: #FFFFFF;
  --tinta: #0E271F;
  --papel: #EAF9F3;
  --recua: #55B395;
  --fundo: #FFFFFF;
  --raio-miniatura: 0.5rem;
  --raio-cartao: 1.25rem;
  --espaco-xs: 0.25rem;
  --espaco-s: 0.5rem;
  --espaco-m: 0.75rem;
  --espaco-l: 1rem;
  --espaco-xl: 1.5rem;
  --espaco-xxl: 2rem;
  --recua-duracao: 240ms;
  --recua-atraso: 100ms;
  --recua-curva: cubic-bezier(0.2, 0, 0, 1);
  --recua-opacidade: 0.55;
  --recua-escala: 0.94;
  --fica-duracao: 320ms;
  --fica-curva: cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --marca: #61D7B2;
    --sobre-marca: #0E271F;
    --tinta: #E5F2ED;
    --papel: #0C1C16;
    --recua: #32856C;
    --fundo: #000000;
  }
}
@media (prefers-contrast: more) {
  :root {
    --marca: #0C4E3D;
    --sobre-marca: #FFFFFF;
    --tinta: #0E271F;
    --papel: #EAF9F3;
    --recua: #55B395;
    --fundo: #FFFFFF;
  }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root {
    --marca: #8DEACA;
    --sobre-marca: #0E271F;
    --tinta: #E5F2ED;
    --papel: #0C1C16;
    --recua: #32856C;
    --fundo: #000000;
  }
}
/*
 * Keepfew site stylesheet (docs/plano/site.md, section 8), written for this brand, identity A
 * "Selo". The color, radius, spacing and motion variables come from brand/tokens/tokens.json
 * through site/build/tokens.ts, which the build puts in front of this file; no color is typed
 * here. Logical properties only (the rtl-css gate), one orchestrated moment (the hero's
 * "fica uma"), nothing that moves under prefers-reduced-motion: reduce.
 */

/* Geologica, OFL 1.1 (site/assets/fonts/OFL-Geologica.txt), subsets made by site/build/fonts.py. */
@font-face {
  font-family: "Geologica";
  src: url("/assets/fonts/geologica-latin.9ae5c10058.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geologica";
  src: url("/assets/fonts/geologica-ext.2a7cb1e5ba.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+0259, U+0300-0309, U+0323, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geologica";
  src: url("/assets/fonts/geologica-cyrillic.8cd5025a12.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Metric-matched fallback while Geologica loads (values printed by site/build/fonts.py). */
@font-face {
  font-family: "Geologica Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 110.65%;
  ascent-override: 88.11%;
  descent-override: 24.85%;
  line-gap-override: 0%;
}
/* Noto Sans JP, SC and KR, OFL 1.1 (site/assets/fonts/OFL-Noto.txt): headings only, cut to the
   characters of the headings of each language (ADR 0063). */
@font-face {
  font-family: "Keepfew Titles JP";
  src: url("/assets/fonts/noto-ja.594ea1edc4.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Keepfew Titles SC";
  src: url("/assets/fonts/noto-zh-hans.1c4c8f9e7e.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Keepfew Titles KR";
  src: url("/assets/fonts/noto-ko.048fb3aa6a.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+AC00-D7AF, U+FF00-FFEF;
}

:root {
  color-scheme: light dark;
  --texto: "Geologica", "Geologica Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --titulo: var(--texto);
  --medida: 40rem;
  --largura: 68rem;
  --anel: 3px;
}
:lang(ja) {
  --texto: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --titulo: "Geologica", "Keepfew Titles JP", var(--texto);
}
:lang(zh-Hans) {
  --texto: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --titulo: "Geologica", "Keepfew Titles SC", var(--texto);
}
:lang(ko) {
  --texto: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --titulo: "Geologica", "Keepfew Titles KR", var(--texto);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--texto);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fundo);
  overflow-wrap: break-word;
}
:lang(vi) body {
  line-height: 1.75;
}

h1,
h2,
h3 {
  font-family: var(--titulo);
  font-weight: 600;
  line-height: 1.25;
  margin-block: 0 var(--espaco-m);
  text-wrap: balance;
}
/* Japanese headings break between phrases, not inside them. */
:lang(ja) :is(h1, h2, h3) {
  word-break: auto-phrase;
}
h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
}
h3 {
  font-size: 1.1875rem;
}

p,
ul,
dl {
  margin-block: 0 var(--espaco-l);
}
p,
li,
dd {
  max-inline-size: var(--medida);
}

a {
  color: var(--marca);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: var(--anel) solid var(--marca);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  inset-inline-start: var(--espaco-l);
  inset-block-start: -10rem;
  padding: var(--espaco-s) var(--espaco-l);
  background: var(--marca);
  color: var(--sobre-marca);
  border-radius: var(--raio-miniatura);
  z-index: 2;
}
.skip:focus {
  inset-block-start: var(--espaco-l);
}

.wrap {
  inline-size: 100%;
  max-inline-size: var(--largura);
  margin-inline: auto;
  padding-inline: var(--espaco-l);
}

/* Header: the lockup, two links and the language selector (a details element, no script). */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--espaco-s) var(--espaco-xl);
  padding-block: var(--espaco-l);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  margin-inline-end: auto;
}
.brand img {
  display: block;
  block-size: 2rem;
  inline-size: auto;
}
.nav {
  display: flex;
  gap: var(--espaco-l);
}
.nav a,
.lang summary {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
}
.lang {
  position: relative;
}
.lang summary {
  gap: var(--espaco-xs);
  cursor: pointer;
  color: var(--marca);
  list-style: none;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}
.lang ul {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 100%;
  z-index: 1;
  margin: 0;
  padding: var(--espaco-s);
  list-style: none;
  background: var(--fundo);
  border: 1px solid var(--tinta);
  border-radius: var(--raio-miniatura);
  min-inline-size: 13rem;
}
.lang li a {
  display: block;
  padding: var(--espaco-xs) var(--espaco-s);
  min-block-size: 2.75rem;
  line-height: 2.25rem;
}
.lang [aria-current] {
  font-weight: 600;
  text-decoration: none;
}

/* Landing. Text starts at the inline start; only the hero has its own composition. */
.hero {
  display: grid;
  gap: var(--espaco-xl);
  align-items: center;
  padding-block: var(--espaco-xl) var(--espaco-xxl);
}
.hero h1 {
  margin: 0;
}
.hero h1 img {
  display: block;
  inline-size: min(17rem, 70vw);
  block-size: auto;
}
.tagline {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.3;
  margin-block: var(--espaco-m) var(--espaco-l);
}
.lead {
  font-size: 1.1875rem;
}
.store {
  font-weight: 600;
}
.moment {
  justify-self: center;
  inline-size: min(16rem, 60vw);
  block-size: auto;
}
.moment .circulo {
  fill: var(--marca);
}
.moment .fica {
  fill: var(--papel);
}
.moment .recua {
  fill: var(--recua);
  opacity: var(--recua-opacidade);
  transform: scale(var(--recua-escala));
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .moment .recua {
    animation: recua var(--recua-duracao) var(--recua-curva) var(--recua-atraso) both;
  }
}
@keyframes recua {
  from {
    opacity: 1;
    transform: scale(1);
  }
}

.band {
  padding-block: var(--espaco-xxl);
}
/* The secondary band insets its own content on every side (2 rem is espaco.xxl, 1 rem is
   espaco.l), written as plain lengths so static checks can see the inset. */
.band.alt {
  background: var(--papel);
  padding: 2rem 1rem;
}
.example {
  border-inline-start: var(--anel) solid var(--marca);
  padding-inline-start: var(--espaco-l);
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.1875rem;
}
.split {
  display: grid;
  gap: var(--espaco-xl);
}
.split ul,
.points {
  padding-inline-start: 1.25em;
}
.split li,
.points li {
  margin-block-end: var(--espaco-s);
}
.split h3 {
  padding-block-start: var(--espaco-m);
  border-block-start: var(--anel) solid var(--recua);
}
.split > div + div h3 {
  border-block-start-color: var(--marca);
}
.where div {
  margin-block-end: var(--espaco-l);
}
.where dt {
  font-weight: 600;
}
.where dd {
  margin: 0;
}

/* Documents: support, data deletion, accessibility and the legal pages. */
.doc {
  padding-block: var(--espaco-xl) var(--espaco-xxl);
}
.doc h1 {
  margin-block-end: var(--espaco-l);
}
.doc h2 {
  margin-block-start: var(--espaco-xxl);
}
.doc h3 {
  margin-block-start: var(--espaco-xl);
  margin-block-end: var(--espaco-s);
}
.doc ul {
  padding-inline-start: 1.25em;
}
.doc li {
  margin-block-end: var(--espaco-s);
}
.table {
  overflow-x: auto;
  margin-block: var(--espaco-xl);
}
table {
  border-collapse: collapse;
  inline-size: 100%;
  min-inline-size: 36rem;
}
caption {
  caption-side: top;
  text-align: start;
  font-weight: 600;
  padding-block-end: var(--espaco-s);
}
th,
td {
  text-align: start;
  vertical-align: top;
  padding: var(--espaco-s) var(--espaco-m);
  border-block-end: 1px solid var(--recua);
}
thead th {
  border-block-end: var(--anel) solid var(--marca);
}
tbody th {
  font-weight: 600;
}
.legal-version,
.legal-notice {
  font-size: 0.9375rem;
}
.legal-notice {
  border-inline-start: var(--anel) solid var(--recua);
  padding-inline-start: var(--espaco-m);
}
/* A link that stands alone in its paragraph gets the full touch target (WCAG 2.5.8). */
.target {
  display: inline-block;
  min-block-size: 2.75rem;
  line-height: 2.75rem;
}
.langs {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--espaco-l);
}
.langs a {
  display: inline-block;
  min-block-size: 2.75rem;
  line-height: 2.75rem;
}

/* Footer */
.foot {
  border-block-start: 1px solid var(--recua);
  padding-block: var(--espaco-xl);
  font-size: 0.9375rem;
}
.foot ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--espaco-l);
}
.foot li a {
  display: inline-block;
  min-block-size: 2.75rem;
  line-height: 2.75rem;
}

@media (min-width: 52rem) {
  .hero {
    grid-template-columns: 3fr 2fr;
    padding-block: var(--espaco-xxl) 4rem;
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
