/* Araujo Connect — legal + support pages.
   The palette is the bandeira, lifted to stay readable as text: #009C3B and
   especially #002776 are too dark to sit on a near-black ground. */
:root {
  --ground:  #FBFDFB;
  --surface: #FFFFFF;
  --line:    #DCE6DF;
  --text:    #0B1A12;
  --muted:   #556B60;
  --verde:   #00803A;
  --ouro:    #A07D00;
  --azul:    #2C5BD8;
  --accent:  var(--verde);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:  #04110C;
    --surface: #0A1F16;
    --line:    #1B3728;
    --text:    #E8F0EA;
    --muted:   #8FA79A;
    --verde:   #00D95F;
    --ouro:    #FFE94D;
    --azul:    #5B8CFF;
  }
}
:root[data-theme="dark"] {
  --ground:  #04110C;
  --surface: #0A1F16;
  --line:    #1B3728;
  --text:    #E8F0EA;
  --muted:   #8FA79A;
  --verde:   #00D95F;
  --ouro:    #FFE94D;
  --azul:    #5B8CFF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem 6rem; }

header.site { padding: 3.5rem 0 0; }
.brand {
  display: inline-flex; align-items: baseline; gap: .6rem;
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
}
.flagrule { height: 3px; border-radius: 2px; margin: 1rem 0 2.5rem;
  background: linear-gradient(90deg, var(--verde) 0 38%, var(--ouro) 38% 72%, var(--azul) 72% 100%); }

nav.pages { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: 3rem;
  font-family: Archivo, sans-serif; font-size: .8125rem; text-transform: uppercase; letter-spacing: .07em; }
nav.pages a { color: var(--muted); text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
nav.pages a:hover { color: var(--text); }
nav.pages a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

h1 { font-family: Archivo, sans-serif; font-weight: 700; font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5rem; text-wrap: balance; }
h2 { font-family: Archivo, sans-serif; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em;
  margin: 3rem 0 .75rem; text-wrap: balance; }
h3 { font-family: Archivo, sans-serif; font-weight: 600; font-size: 1rem; margin: 2rem 0 .5rem; }
p, li { color: var(--text); }
a { color: var(--azul); text-underline-offset: 2px; }
a:focus-visible, nav.pages a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.updated { font-family: Archivo, sans-serif; font-size: .8125rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin: 0 0 2.5rem; }
.lede { font-size: 1.1875rem; color: var(--muted); margin: 0 0 2rem; }

ul, ol { padding-left: 1.25rem; }
li { margin: .4rem 0; }
li::marker { color: var(--accent); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .9375rem; }
.scroll { overflow-x: auto; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: Archivo, sans-serif; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); font-weight: 600; }

footer.site { border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 1.5rem;
  font-family: Archivo, sans-serif; font-size: .8125rem; color: var(--muted); }
footer.site a { color: var(--muted); }

/* Click-to-reveal email. Styled as a link so it reads as one, but it is a button
   until clicked — the address is not in the HTML. */
.mailrv .reveal {
  font: inherit;
  color: var(--azul);
  background: none;
  border: 0;
  border-bottom: 1px dashed currentColor;
  padding: 0;
  cursor: pointer;
}
.mailrv .reveal::before { content: "✉ "; opacity: .7; }
.mailrv .reveal:hover { border-bottom-style: solid; }
.mailrv .reveal:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
