/* Nov 12: the web pages outside the app (conta, nova, reset, suporte, termos, privacidade) share this one sheet, built on the app's
   design system: the same colour tokens (--c-*), text tokens (--fs-/--lh-/--fw-) and the same button. Dark = html.dk, set before drawing
   by each page from the app's own setting (pp-theme) or the phone's. */
@font-face{font-family:"Bricolage Grotesque";src:url(/fonts/bricolage.woff2) format("woff2"),url(/fonts/bricolage.woff) format("woff");font-weight:200 800;font-style:normal;font-display:swap}
:root{
  --c-fundo:#FFFFFF;--c-primaria:#424242;--c-secundaria:#767676;--c-superficie:#F2F2F2;--c-linha:#E0E0E0;--c-sobre-primaria:#FFFFFF;--c-vermelho:#D0281C;
  --fs-titulo:26px;--fs-leitura:20px;--fs-texto:18px;--fs-legenda:14px;
  --lh-alta:32px;--lh-texto:28px;--lh-media:24px;--lh-curta:20px;
  --fw-ativo:800;--fw-forte:600;--fw-normal:400;
  --bx:24px;--r-bt:9999px;
  color-scheme:light}
html.dk{--c-fundo:#262626;--c-primaria:#D6D6D6;--c-secundaria:#8F8F8F;--c-superficie:#333333;--c-linha:#404040;--c-sobre-primaria:#1E1E1E;--c-vermelho:#FF7B6E;color-scheme:dark}

html,body{margin:0;background:var(--c-fundo);color:var(--c-primaria)}
:root{--letra:"Bricolage Grotesque",system-ui,-apple-system,sans-serif}   /* Nov 18: the letter in one token, as in the app */
body{font-family:var(--letra);font-size:var(--fs-texto);line-height:var(--lh-texto);font-weight:var(--fw-normal);-webkit-text-size-adjust:100%}
a{color:var(--c-primaria)}
b,strong{font-weight:var(--fw-forte)}
[hidden]{display:none!important}

/* Page shapes: .pg-centro = one short message in the middle (conta, nova, reset); .pg-texto = a page to read (suporte, termos, privacidade) */
main{width:100%;margin:0 auto;box-sizing:border-box;padding:calc(48px + env(safe-area-inset-top)) calc(var(--bx) + env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) calc(var(--bx) + env(safe-area-inset-left))}
body.pg-centro{min-height:100vh;min-height:100dvh;display:flex;align-items:center}
.pg-centro main{max-width:480px}
.pg-texto main{max-width:680px}

/* Text styles, by name */
.logo{font-size:var(--fs-titulo);line-height:var(--lh-alta);font-weight:var(--fw-ativo);margin:0 0 56px}
h1{font-size:var(--fs-titulo);line-height:var(--lh-alta);font-weight:var(--fw-forte);margin:0 0 16px}
h2{font-size:var(--fs-leitura);line-height:var(--lh-alta);font-weight:var(--fw-forte);margin:56px 0 16px}
p,li{margin:0 0 16px}
ul,ol{padding-left:24px;margin:0 0 16px}
:where(.pg-centro) p{margin:0;color:var(--c-secundaria)}
.meta{font-size:var(--fs-legenda);line-height:var(--lh-curta);color:var(--c-secundaria);margin:-8px 0 32px}
hr{border:0;border-top:1px solid var(--c-linha);margin:56px 0}

/* Language switch and the app icon (suporte) */
.lang{display:flex;gap:24px;margin:0 0 32px}
.lang a{font-weight:var(--fw-forte)}
.app-ic{display:block;width:64px;height:64px;border-radius:14px;margin:0 0 24px;box-shadow:0 0 0 1px var(--c-linha)}

/* Form: fields with a line under them, the app's button, and the message under it */
form{margin-top:24px}
input{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:var(--fs-texto);line-height:var(--lh-alta);font-weight:var(--fw-forte);color:var(--c-primaria);background:transparent;border:0;border-bottom:1px solid var(--c-primaria);border-radius:0;padding:16px 0 8px;outline:0;-webkit-appearance:none;appearance:none}
input::placeholder{color:var(--c-secundaria);font-weight:var(--fw-normal)}
input + input{margin-top:8px}
.btn{display:block;width:100%;margin-top:32px;height:52px;border:0;border-radius:var(--r-bt);background:var(--c-primaria);color:var(--c-sobre-primaria);font:inherit;font-size:var(--fs-texto);line-height:52px;font-weight:var(--fw-forte);cursor:pointer;text-decoration:none;text-align:center;padding:0 24px;box-sizing:border-box}
.btn:disabled,.btn[aria-disabled=true]{opacity:.32;cursor:default}
.msg{margin-top:16px;min-height:24px;font-size:var(--fs-legenda);line-height:var(--lh-media)}
.msg.err{color:var(--c-vermelho)}

/* Nov 14: each answer starts on the line below its question */
p > b:first-child{display:block;margin-bottom:4px}
