/* Bora Aí: static pages (privacy, terms, support, deletion). Matches the Visor-style landing. */
:root {
  --paper: #FFFFFF;
  --band: #F6F6F3;
  --ink: #11151B;
  --muted: rgba(17, 21, 27, .62);
  --brand: #2B6E79;
  --brand-deep: #1F5660;
  --tint: #E6EFF0;
  --line: #ECEBE7;
  --danger: #A02B2B;
  --radius: 24px;
  --inset: 20px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--tint); color: var(--ink); }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 19px; letter-spacing: -.02em; }
p { margin: 0; }

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--inset); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 30; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* Header: floating pill */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px var(--inset) 0;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  max-width: 1080px;
  min-height: 60px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 1px 2px rgba(17, 21, 27, .04), 0 12px 32px -16px rgba(17, 21, 27, .18);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; background: url(/brand/icon.svg) center / cover; box-shadow: 0 1px 2px rgba(17, 21, 27, .16); }
.brand:hover { color: var(--ink); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a, .locale-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.site-nav a:hover, .locale-nav a:hover { color: var(--ink); background: var(--band); }
.site-nav a[aria-current="page"] { color: var(--brand-deep); background: var(--tint); }

.locale-nav { display: flex; align-items: center; gap: 2px; padding-left: 8px; border-left: 1px solid var(--line); }
.locale-nav a { min-width: 44px; padding: 0 8px; }
.locale-nav a[aria-current="page"] { color: var(--brand-deep); }

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, transform .2s var(--ease);
}
.header-cta:hover { background: var(--brand-deep); color: #fff; }
.header-cta:active { transform: scale(.97); }
.header-cta:focus-visible { outline-color: var(--ink); outline-offset: 3px; }

/* Document */
main { display: block; }
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }

.doc-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::after { content: "+"; margin-left: 4px; }
.caption { color: var(--muted); font-size: 14px; line-height: 1.5; }
.doc-head .caption { max-width: 560px; font-size: 18px; line-height: 1.55; }

.doc h2 { margin-top: 48px; }
.doc h3 { margin-top: 32px; }
.doc p { margin-top: 12px; color: var(--muted); }
.doc .doc-head p { margin-top: 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; padding-left: 22px; color: var(--muted); }
.doc li::marker { color: var(--brand); }

ol.steps { counter-reset: step; padding-left: 0; list-style: none; gap: 12px; }
ol.steps li { position: relative; min-height: 32px; padding: 16px 20px 16px 64px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
}

.panel { margin-top: 48px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--band); }
.panel h2 { margin-top: 0; }
.panel-danger { border-color: rgba(160, 43, 43, .28); background: #FBF3F2; }
.panel-danger h2 { color: var(--danger); }

code { padding: 1px 6px; border-radius: 6px; background: var(--band); color: var(--ink); font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; }

.table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; min-width: 560px; border-collapse: collapse; }
caption { caption-side: bottom; padding: 12px 20px 16px; text-align: left; }
th, td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; text-align: left; vertical-align: top; }
thead th { background: var(--band); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
tbody th { color: var(--ink); font-weight: 600; }
td { color: var(--muted); }
tbody tr:last-child > * { border-bottom: 0; }

/* Footer */
.site-footer { padding: 56px 0 64px; background: var(--band); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; max-width: 1080px; }
.site-footer nav { flex: 1 1 420px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-footer nav a:hover { color: var(--brand); }
.site-footer nav a[aria-current="page"] { color: var(--brand-deep); }
.site-footer p { flex-basis: 100%; color: var(--muted); font-size: 14px; }

/* Entrance: only when the head script set .motion (motion allowed). */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.motion .doc-head { animation: rise .7s var(--ease) both; }
.motion .doc-head ~ * { animation: rise .7s .12s var(--ease) both; }

@media (max-width: 860px) {
  .site-header .wrap { padding-left: 14px; }
  .site-nav { order: 3; flex-basis: 100%; margin: 0 -6px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; }
  .locale-nav { margin-left: auto; padding-left: 0; border-left: 0; }
}

@media (max-width: 420px) {
  :root { --inset: 12px; }
  .site-header .wrap { gap: 2px 4px; }
  /* Row 1 holds brand, languages and CTA; the page links keep their own scrollable row 2. */
  .header-cta { padding: 0 14px; }
  .locale-nav a { min-width: 36px; padding: 0 4px; }
  .doc { padding-top: 40px; }
  .panel { padding: 22px; }
  ol.steps li { padding: 14px 16px 14px 58px; }
  ol.steps li::before { left: 14px; }
}

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