/* Zync — site institucional. Tokens espelham @zync/design-tokens (tema escuro). */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --ink: #0c0d13;
  --bg: #111218;
  --surface: #1c1e27;
  --elevated: #262936;
  --line: #ffffff14;
  --line2: #ffffff22;
  --text: #f3f4f8;
  --muted: #969cab;
  --dim: #858b9c; /* 4,9:1 ou mais sobre todos os fundos escuros */
  --primary: #5865f2;
  --primary-2: #4a57f0;
  --primary-hi: #8590fb;
  --success: #23c483;
  --warning: #f0b44c;
  --danger: #f05267;
  --radius: 16px;
  --wrap: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font:
    16px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html {
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--primary-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
}
.skip:focus {
  left: 8px;
}

/* Tipografia */
.display {
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display--md {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
}
.grad {
  background: linear-gradient(100deg, var(--primary-hi), #b6bdff 45%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  max-width: 560px;
}
.center .lead,
.lead.center {
  margin-inline: auto;
}
.eyebrow {
  color: var(--primary-hi);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* Ícones de traço (icon()) num botão: sem preenchimento. */
.btn svg.i {
  fill: none;
}
.btn--sm {
  padding: 8px 18px;
  font-size: 14px;
}
.btn--lg {
  padding: 15px 28px;
  font-size: 17px;
}
.btn--primary {
  background: linear-gradient(180deg, #6672f5, var(--primary-2));
  color: #fff;
  box-shadow:
    0 10px 30px -8px #5865f2aa,
    inset 0 1px 0 #ffffff33;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -8px #5865f2cc,
    inset 0 1px 0 #ffffff33;
}
.btn--light {
  background: var(--text);
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-2px);
  color: var(--primary-2);
  box-shadow: 0 14px 34px -10px #000a;
}
.btn--ghost {
  border-color: var(--line2);
  background: #ffffff08;
  color: var(--text);
}
.btn--ghost:hover {
  border-color: #ffffff44;
  background: #ffffff12;
}
.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Navegação */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.25s,
    border-color 0.25s,
    backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: #0c0d13cc;
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.logo img {
  width: 30px;
  height: auto;
  filter: drop-shadow(0 4px 12px #4a57f066);
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a[aria-current='page'] {
  color: var(--text);
}
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s;
}
.nav__toggle[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 70% 30%, #5865f240, transparent 70%),
    radial-gradient(ellipse 35% 35% at 15% 10%, #8590fb24, transparent 70%),
    radial-gradient(ellipse 30% 30% at 90% 80%, #23c48314, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.5;
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}
.hero__copy .lead {
  margin: 22px 0 32px;
}
/* Selo BETA com a versão, ao lado da logo */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.beta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px 3px 9px;
  border: 1px solid #5865f255;
  border-radius: 999px;
  background: #5865f21a;
  color: var(--primary-hi);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.beta-tag span:not(.sr-only) {
  padding: 1px 7px;
  border-radius: 999px;
  background: #5865f233;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.beta-tag:hover {
  border-color: #5865f2aa;
  background: #5865f22e;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__meta {
  margin-top: 16px;
  color: var(--dim);
  font-size: 14px;
}

/* Maquete do app */
.app {
  position: relative;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: var(--bg);
  box-shadow:
    0 40px 100px -30px #000,
    0 0 0 1px #00000080,
    0 30px 80px -40px #5865f2aa;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.app:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg);
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.app__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--elevated);
}
.app__bar span {
  margin: 0 auto;
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  transform: translateX(-24px);
}
.app__body {
  display: grid;
  grid-template-columns: 54px 150px minmax(0, 1fr) 136px;
  height: 430px;
}
.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  background: var(--ink);
}
.rail hr {
  width: 24px;
  border: 0;
  border-top: 2px solid var(--elevated);
  margin: 2px 0;
}
.rail__home,
.srv {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
  transition: border-radius 0.2s;
}
.rail__home {
  border-radius: 12px;
  background: var(--elevated);
}
.rail__home img {
  width: 20px;
}
.srv--a {
  background: linear-gradient(135deg, #f05267, #f0b44c);
}
.srv--b {
  background: linear-gradient(135deg, #23c483, #1a8f9e);
}
.srv--c {
  background: linear-gradient(135deg, #8590fb, #b34df0);
}
.srv--add {
  color: var(--success);
  font-size: 20px;
  font-weight: 500;
}
.srv.is-on {
  border-radius: 12px;
  box-shadow: -9px 0 0 -5px var(--text);
}
.side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px 8px;
  background: var(--surface);
  min-width: 0;
}
.side__head {
  margin: 0 -8px 6px;
  padding: 0 12px;
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 800;
  border-bottom: 1px solid #00000040;
}
.side__cat {
  margin: 10px 4px 4px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
}
.ch.is-on {
  background: var(--elevated);
  color: var(--text);
}
.ch em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
}
.side__me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto -8px -8px;
  padding: 8px 10px;
  background: #15161e;
}
.side__me small {
  display: block;
  color: var(--dim);
  font-size: 11px;
  line-height: 1;
}
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat__head {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-weight: 800;
  border-bottom: 1px solid #00000040;
}
.chat__head small {
  color: var(--dim);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 16px;
  overflow: hidden;
}
.msg {
  display: flex;
  gap: 10px;
}
.msg time {
  color: var(--dim);
  font-size: 11px;
  margin-left: 4px;
}
.msg p {
  color: #dfe1e8;
}
.msg code {
  font:
    12px ui-monospace,
    Consolas,
    monospace;
  background: var(--ink);
  border-radius: 4px;
  padding: 1px 5px;
}
.av {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.av--1 {
  background: linear-gradient(135deg, #8590fb, #5865f2);
}
.av--2 {
  background: linear-gradient(135deg, #f0b44c, #f05267);
}
.av--3 {
  background: linear-gradient(135deg, #23c483, #16a3b8);
}
.av--4 {
  background: linear-gradient(135deg, #b34df0, #f05267);
}
.av--5 {
  background: linear-gradient(135deg, #6b7183, #3b3f4e);
}
.av--6 {
  background: linear-gradient(135deg, #16a3b8, #5865f2);
}
.c1 {
  color: #9aa3ff;
}
.c2 {
  color: #f7c56b;
}
.c3 {
  color: #4fd9a0;
}
.reacts {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.reacts span {
  padding: 1px 8px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
}
.reacts span:first-child {
  border-color: #5865f2aa;
  background: #5865f222;
}
.reply {
  color: var(--dim);
  font-size: 12px;
  margin-bottom: 2px;
}
.file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
}
.file span {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--danger);
  font-size: 9px;
  font-weight: 800;
}
.typing {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 16px 4px;
  color: var(--dim);
  font-size: 11px;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
  margin-right: 4px;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.composer {
  margin: 0 16px 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--dim);
}
.members {
  padding: 0 8px;
  background: var(--surface);
  min-width: 0;
}
.members .side__cat:first-child {
  margin-top: 14px;
}
.mem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 6px;
  font-weight: 600;
}
.mem .av {
  width: 28px;
  height: 28px;
}
.mem.is-off {
  opacity: 0.4;
}
.st {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2.5px solid var(--surface);
}
.st--on {
  background: var(--success);
}
.st--away {
  background: var(--warning);
}
.st--dnd {
  background: var(--danger);
}

/* Faixa de novidade */
.news {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  padding: 14px 18px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: linear-gradient(90deg, #5865f21c, #ffffff05);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.news:hover {
  border-color: #5865f288;
  transform: translateY(-1px);
}
.news__txt {
  color: #cfd2dc;
  font-size: 15px;
}
.news__go {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--elevated);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--elevated);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--green {
  background: #23c48326;
  color: var(--success);
}
.tag--red {
  background: #f0526726;
  color: var(--danger);
}
.tag--amber {
  background: #f0b44c26;
  color: var(--warning);
}

/* Seções */
.section {
  padding: 110px 0;
}
.section--alt {
  background: linear-gradient(180deg, var(--bg), var(--ink));
  border-block: 1px solid var(--line);
}
.section .display--md {
  margin-bottom: 48px;
}

/* Público */
.aud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.aud__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #16171f);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s;
}
.aud__card:hover {
  transform: translateY(-4px);
  border-color: #5865f266;
}
.aud__card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 800;
}
.aud__card p {
  color: var(--muted);
  font-size: 15px;
}
.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.ico svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.ico--a {
  background: #5865f226;
  color: var(--primary-hi);
}
.ico--b {
  background: #23c48322;
  color: var(--success);
}
.ico--c {
  background: #f0526722;
  color: #ff7d8f;
}
.ico--d {
  background: #f0b44c22;
  color: var(--warning);
}

/* Abas */
.tabs__list {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list button {
  flex: none;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.tabs__list button:hover {
  color: var(--text);
}
.tabs__list button[aria-selected='true'] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px -6px #5865f2;
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, #5865f21a, transparent 70%), var(--bg);
  animation: fade 0.35s var(--ease);
}
.panel[hidden] {
  display: none;
}
.no-js .panel[hidden] {
  display: grid;
  margin-top: 16px;
}
.no-js .tabs__list {
  display: none;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.panel h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}
.panel__copy > p {
  color: var(--muted);
  margin-bottom: 22px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #5865f233
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238590fb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.mini {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px #000;
  font-size: 14px;
}
.mini .msg {
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
}
.mini .mem {
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
}
.mini .mem .av {
  width: 36px;
  height: 36px;
}
.mini .mem small {
  display: block;
  color: var(--dim);
  font-weight: 500;
  font-size: 12px;
}
.count {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
}
.link {
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  border-radius: 6px;
  background: var(--surface);
  display: grid;
  font-size: 13px;
}
.link b {
  color: var(--dim);
  font-size: 11px;
}
.link span {
  color: #7fb2ff;
  font-weight: 700;
}
.perm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  font-weight: 600;
}
.tri {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 8px;
}
.tri i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 26px;
  font-style: normal;
  font-weight: 800;
  color: var(--dim);
  font-size: 12px;
}
.tri i + i {
  border-left: 1px solid var(--line2);
}
.tri .no.is-on {
  background: var(--danger);
  color: #fff;
}
.tri .yes.is-on {
  background: var(--success);
  color: #fff;
}
.tri i.is-on:not(.no):not(.yes) {
  background: var(--elevated);
  color: var(--text);
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.role::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.r1::before {
  background: var(--danger);
}
.r2::before {
  background: var(--warning);
}
.r3::before {
  background: var(--primary-hi);
}
.log {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg);
}
.log .tag {
  min-width: 84px;
  text-align: center;
}
.log small {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

/* Faixa rolante */
.ticker {
  overflow: hidden;
  padding: 26px 0;
  background: linear-gradient(90deg, var(--primary-2), #7a5cf5, var(--primary-2));
  transform: rotate(-1.5deg);
  margin: 20px -20px;
  box-shadow: 0 20px 50px -20px #5865f2aa;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: roll 30s linear infinite;
}
.ticker span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker span::after {
  content: '';
  width: 18px;
  height: 18px;
  background: url(/mark.svg) center/contain no-repeat;
  filter: brightness(0) invert(1);
}
@keyframes roll {
  to {
    transform: translateX(-33.333%);
  }
}

/* Grade */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.feat:hover {
  border-color: var(--line2);
  background: var(--surface);
}
.feat__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px currentColor;
  transition: transform 0.2s var(--ease);
}
.feat__ico.ico--a {
  box-shadow: inset 0 0 0 1px #8590fb40;
}
.feat__ico.ico--b {
  box-shadow: inset 0 0 0 1px #23c48340;
}
.feat__ico.ico--c {
  box-shadow: inset 0 0 0 1px #ff7d8f40;
}
.feat__ico.ico--d {
  box-shadow: inset 0 0 0 1px #f0b44c40;
}
.feat:hover .feat__ico {
  transform: translateY(-2px) scale(1.05);
}
.i {
  width: 20px;
  height: 20px;
}
.feat b {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.feat p {
  color: var(--muted);
  font-size: 14px;
}

/* Segurança */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}
.split .display--md {
  margin: 0 0 20px;
}
.sec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sec__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.sec__item b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.sec__item p {
  color: var(--muted);
  font-size: 14px;
}

/* Roadmap */
.road {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Uma coluna por etapa, quantas houver na linha do tempo. */
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  position: relative;
}
.road::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--success) 0 30%,
    var(--primary) 30% 40%,
    var(--line2) 40%
  );
}
.road__item {
  position: relative;
  padding-top: 40px;
}
.road__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--line2);
}
.road__item.is-done::before {
  background: var(--success);
  border-color: var(--success);
}
.road__item.is-now::before {
  background: var(--primary);
  border-color: var(--primary-hi);
  box-shadow: 0 0 0 6px #5865f233;
}
.road__v {
  display: block;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-done .road__v {
  color: var(--success);
}
.is-now .road__v {
  color: var(--primary-hi);
}
.road__item b {
  display: block;
  margin: 6px 0;
  font-size: 18px;
  font-weight: 800;
}
.road__item p {
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-hi);
  font-size: 20px;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 4px 22px;
  color: var(--muted);
  max-width: 680px;
}
.faq a {
  color: var(--primary-hi);
}

/* CTA final */
.final {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
}
.final__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, #5865f255, transparent 70%),
    radial-gradient(ellipse 30% 40% at 50% 0%, #8590fb1f, transparent 70%);
}
.final .wrap {
  position: relative;
}
.final__icon {
  margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: 0 20px 60px -10px #5865f2aa;
}
.final .lead {
  margin: 20px auto 32px;
}

/* Rodapé */
.foot {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: 56px 0 28px;
}
.foot__in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot__brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__col b {
  color: var(--primary-hi);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.foot__col a,
.foot__bottom a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.foot__col a:hover,
.foot__bottom a:hover {
  color: var(--text);
}
.foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

/* Páginas internas */
.phead {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.phead__glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 640px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 70% 30%, #5865f235, transparent 70%),
    radial-gradient(ellipse 30% 40% at 10% 0%, #8590fb1c, transparent 70%);
}
.phead .wrap {
  position: relative;
}
.phead .lead {
  margin-top: 18px;
}
.section--tight {
  padding: 72px 0;
}
.h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  margin: 48px 0 20px;
}
.h2:first-child {
  margin-top: 0;
}
.h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 32px 0 12px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.prose > * {
  max-width: 820px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
}
.prose a:not(.btn),
.legal a:not(.btn),
.muted a:not(.btn) {
  color: var(--primary-hi);
}
code {
  font:
    0.92em ui-monospace,
    Consolas,
    'Cascadia Code',
    monospace;
}
.prose code,
.steps code,
.dl code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.code {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--ink);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.code code {
  padding: 0;
  border: 0;
  background: none;
  white-space: pre;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 12px;
}
.steps li {
  position: relative;
  padding-left: 40px;
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.checks--todo li::before {
  background: #f0b44c22
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23f0b44c'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.checks--no {
  margin-top: 12px !important;
}
.checks--no li::before {
  background: #f0526722
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23f05267' stroke-width='3' stroke-linecap='round' d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 24px;
}
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.cols3 .h2 {
  margin-top: 0;
}
.cta-row--center {
  justify-content: center;
  margin-top: 32px;
}
.split__more {
  margin-top: 28px;
}
.road__more {
  margin-top: 40px;
}
.road__more a {
  color: var(--primary-hi);
  font-weight: 700;
  text-decoration: none;
}
.news__txt b {
  color: var(--text);
}
.chat__search {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--dim);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.search {
  padding: 10px 14px;
  border: 1px solid #5865f288;
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 0 0 3px #5865f222;
}
.search b {
  color: var(--primary-hi);
}
.result {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
}
.result small {
  color: var(--dim);
  font-size: 12px;
}
.result mark {
  background: #f0b44c33;
  color: #ffd78a;
  border-radius: 3px;
  padding: 0 2px;
}
.mini__foot {
  color: var(--dim);
  font-size: 12px;
  text-align: right;
}

/* Download */
.dl__card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, #5865f222, transparent 70%), var(--surface);
}
.dl__card img {
  border-radius: 18px;
  box-shadow: 0 12px 30px -8px #5865f2aa;
}
.dl__info h2 {
  font-size: 26px;
  font-weight: 900;
}
.dl__cta {
  margin-left: auto;
  text-align: right;
}
.dl__cta .hero__meta {
  margin-top: 10px;
}
.dl__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 12px;
}
.dl__facts div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  min-width: 0;
}
.dl__facts dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dl__facts dd {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 17px;
}
.dl__hash {
  grid-column: 1/-1;
}
.dl__hash code {
  display: block;
  word-break: break-all;
  font-size: 12.5px;
  font-weight: 500;
  color: #cfd2dc;
  padding: 8px 10px !important;
}

/* Novidades */
.rels {
  display: grid;
  gap: 20px;
}
.rels > * {
  max-width: 980px;
}
.rel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  scroll-margin-top: 90px;
}
.rel--top,
.rel--fresh {
  border-color: #5865f266;
  background: radial-gradient(ellipse 50% 100% at 100% 0%, #5865f21c, transparent 70%), var(--bg);
}
.rel:target {
  border-color: var(--primary-hi);
}
.rel__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.rel__v {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
}
.rel__meta time {
  color: var(--dim);
  font-size: 14px;
}
.rel h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}
.rel .muted {
  margin-bottom: 16px;
}

/* Status */
.status > * {
  max-width: 880px;
}
.status__banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: var(--surface);
  margin-bottom: 20px;
}
.status__banner > i,
.svc__state i,
.foot__status i {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dim);
}
.status__banner > i {
  width: 16px;
  height: 16px;
}
.status__banner b {
  display: block;
  font-size: 19px;
}
.status__banner small {
  color: var(--muted);
}
[data-state='up'] > i {
  background: var(--success);
  box-shadow: 0 0 0 4px #23c48333;
}
[data-state='down'] > i {
  background: var(--danger);
  box-shadow: 0 0 0 4px #f0526733;
}
[data-state='partial'] > i {
  background: var(--warning);
  box-shadow: 0 0 0 4px #f0b44c33;
}
.status__banner[data-state='up'] {
  border-color: #23c48355;
  background: linear-gradient(90deg, #23c4831a, transparent 60%), var(--surface);
}
.status__banner[data-state='down'] {
  border-color: #f0526766;
  background: linear-gradient(90deg, #f052671a, transparent 60%), var(--surface);
}
.status__banner[data-state='partial'] {
  border-color: #f0b44c66;
  background: linear-gradient(90deg, #f0b44c1a, transparent 60%), var(--surface);
}
.svcs {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.svc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
}
.svc + .svc {
  border-top: 1px solid var(--line);
}
.svc b {
  display: block;
}
.svc small {
  color: var(--dim);
  font-size: 13px;
}
.svc__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.svc__state[data-state='up'] {
  color: var(--success);
}
.svc__state[data-state='down'] {
  color: var(--danger);
}
.status__facts {
  margin-top: 20px;
}
.foot__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.foot__status:hover {
  color: var(--text);
}
.foot__status i {
  width: 8px;
  height: 8px;
}

/* Segurança */
.sec--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sec--3 .sec__item {
  gap: 0;
}

/* Textos legais */
.legal h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 40px 0 12px;
  scroll-margin-top: 90px;
}
.legal h2:first-of-type {
  margin-top: 8px;
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 8px;
  color: #d9dbe3;
}
.legal p {
  color: #d9dbe3;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 14px;
}
.toc b {
  width: 100%;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc a {
  text-decoration: none;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.tbl th,
.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tbl th {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tbl td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

/* Marca */
.brand {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.brand__card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.brand__art {
  display: grid;
  place-items: center;
  height: 220px;
}
.brand__art img {
  width: auto;
  max-height: 140px;
}
.brand__art--dark {
  background: var(--ink);
}
.brand__art--light {
  background: #eef0fb;
}
.brand__art--grad {
  background: linear-gradient(135deg, #6c78f7, #4c59f0);
}
.brand__word {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
}
.brand__word img {
  filter: brightness(0) invert(1);
}
.brand__card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px;
}
.brand__card figcaption span {
  color: var(--muted);
  font-size: 14px;
}
.brand__card .btn {
  margin-top: 6px;
}
.brand__btns {
  display: flex;
  gap: 8px;
}
.sws {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sw {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.sw:hover {
  border-color: var(--line2);
  transform: translateY(-2px);
}
.sw.is-copied {
  border-color: var(--success);
}
.sw__c {
  display: block;
  width: 100%;
  height: 72px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sw b,
.sw code,
.sw small {
  padding: 0 14px;
}
.sw code {
  color: var(--muted);
  font-size: 13px;
}
.sw small {
  color: var(--dim);
  font-size: 12px;
}
.sw--5865f2 {
  background: #5865f2;
}
.sw--8590fb {
  background: #8590fb;
}
.sw--4a57f0 {
  background: #4a57f0;
}
.sw--111218 {
  background: #111218;
}
.sw--1c1e27 {
  background: #1c1e27;
}
.sw--f3f4f8 {
  background: #f3f4f8;
}
.sw--23c483 {
  background: #23c483;
}
.sw--f05267 {
  background: #f05267;
}
.type-sample {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 12px;
  background: linear-gradient(100deg, var(--primary-hi), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 404 */
.nf {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}
.nf .wrap {
  position: relative;
}
.nf__code {
  font-size: clamp(110px, 22vw, 220px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #8590fb, #5865f200);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf .lead {
  margin: 18px auto 0;
}

/* Revelar ao rolar */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsivo */
@media (max-width: 1080px) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__copy .lead {
    margin-inline: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .app {
    transform: none;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
  }
  .app:hover {
    transform: none;
  }
  .aud,
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .road {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-left: 36px;
  }
  .road::before {
    left: 9px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      var(--success) 0 25%,
      var(--primary) 25% 40%,
      var(--line2) 40%
    );
  }
  .road__item {
    padding-top: 0;
  }
  .road__item::before {
    left: -36px;
  }
  .sec--3,
  .brand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sws {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .foot__in {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    background: #0c0d13f5;
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav__cta {
    margin-left: auto;
  }
  .nav__toggle {
    display: flex;
  }
  .app__body {
    grid-template-columns: 52px 150px minmax(0, 1fr);
  }
  .members {
    display: none;
  }
  .panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 28px;
  }
  .tabs__list {
    justify-content: flex-start;
  }
  .news__txt {
    font-size: 14px;
  }
  .cols3,
  .cols2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .dl__card {
    flex-wrap: wrap;
  }
  .dl__cta {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .rel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 24px;
  }
  .rel__meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .sws {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding-top: 32px;
  }
  .app__body {
    grid-template-columns: 48px minmax(0, 1fr);
    height: 380px;
  }
  .side {
    display: none;
  }
  .app {
    font-size: 12px;
  }
  .aud,
  .grid,
  .sec {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding: 80px 0;
  }
  .section .display--md {
    margin-bottom: 32px;
  }
  .news {
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .news__go {
    margin-left: 0;
  }
  .btn--lg {
    width: 100%;
    justify-content: center;
  }
  .final {
    padding: 96px 0;
  }
  .foot__in {
    grid-template-columns: 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1/-1;
  }
  .foot__bottom {
    flex-direction: column;
  }
  .log .tag {
    min-width: 72px;
  }
  .section--tight {
    padding: 56px 0;
  }
  .phead {
    padding: 48px 0 40px;
  }
  .sec--3,
  .brand,
  .dl__facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc {
    padding: 16px;
  }
  .type-sample {
    font-size: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ───────────────────────── Componentes da fase 2 (S6–S8) ───────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
kbd {
  display: inline-block;
  min-width: 24px;
  padding: 1px 7px;
  border: 1px solid var(--line2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font:
    600 12px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  text-align: center;
  white-space: nowrap;
}
.tag--blue {
  background: #5865f22e;
  color: var(--primary-hi);
}
.tag--dim {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--dim);
}

/* Botão de tema */
.theme-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  margin-right: -16px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.theme-btn:hover {
  color: var(--text);
  border-color: var(--dim);
}
.theme-btn .i {
  width: 18px;
  height: 18px;
}
.theme-btn .i + .i,
:root[data-theme='light'] .theme-btn .i:first-child {
  display: none;
}
:root[data-theme='light'] .theme-btn .i + .i {
  display: block;
}

/* Cabeçalho de página menor (artigos) */
.phead--sm {
  padding: 40px 0 36px;
}
.display--sm {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--dim);
  font-size: 14px;
}
.crumbs a {
  color: var(--primary-hi);
  text-decoration: none;
}
.crumbs .i {
  width: 14px;
  height: 14px;
}
.ahead {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ahead .lead {
  margin-top: 6px;
}
.feat__ico--lg {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
  flex: none;
}
.feat__ico--lg .i {
  width: 26px;
  height: 26px;
}

/* Central de ajuda */
.hsearch {
  position: relative;
  max-width: 640px;
  margin: 0 0 32px;
}
.hsearch > .i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  pointer-events: none;
}
.hsearch input {
  width: 100%;
  padding: 16px 18px 16px 50px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.hsearch input::placeholder {
  color: var(--dim);
}
.hsearch input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px #5865f233;
}
.hgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hcard {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}
.hcard[hidden] {
  display: none;
}
.hcard:hover {
  border-color: #5865f266;
  background: var(--surface);
  transform: translateY(-3px);
}
.hcard b {
  font-size: 17px;
  margin-bottom: 6px;
}
.hcard p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.hcard__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--primary-hi);
  font-size: 14px;
  font-weight: 700;
}
.hcard__go .i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.hcard:hover .hcard__go .i {
  transform: translateX(3px);
}
.hempty {
  color: var(--muted);
  margin-top: 8px;
}
.hempty a,
.hcontact a:not(.btn) {
  color: var(--primary-hi);
}
.hcontact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hcontact .h2 {
  margin: 0 0 6px;
}
.adoc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}
.aside__box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font-size: 14px;
}
.aside__box b {
  margin: 0 0 8px 8px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aside__box a {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}
.aside__box a:hover {
  background: var(--surface);
  color: var(--text);
}
.aside__box a[aria-current='page'] {
  background: #5865f222;
  color: var(--primary-hi);
  font-weight: 700;
}
.help h2 {
  scroll-margin-top: 90px;
}
.help .steps {
  margin-bottom: 16px;
}
.tbl--keys td:first-child {
  width: 1%;
}
.tbl--keys td {
  vertical-align: middle;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.pager a:hover {
  border-color: #5865f288;
}
.pager small {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pager b {
  color: var(--text);
}
.pager__next {
  text-align: right;
}

/* Roadmap */
.rboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.rcol {
  display: grid;
  gap: 12px;
}
.rcol__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rcol__title i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dim);
}
.rcol--now .rcol__title i {
  background: var(--primary);
  box-shadow: 0 0 0 4px #5865f233;
}
.rcol--next .rcol__title i {
  background: var(--success);
}
.rcol__title small {
  margin-left: auto;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--dim);
  font-size: 12px;
}
.ritem {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.rcol--now .ritem {
  border-color: #5865f255;
  background: radial-gradient(ellipse 60% 100% at 100% 0%, #5865f21a, transparent 70%), var(--bg);
}
.ritem .feat__ico {
  margin: 0;
  flex: none;
}
.ritem h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.ritem p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.ship__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ship__head .h2 {
  margin: 0;
}
.ship__head .btn .i {
  width: 16px;
  height: 16px;
}
.ship {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ship a {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.2s;
}
.ship a:hover {
  border-color: #5865f288;
}
.ship__v {
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
}
.ship time {
  color: var(--dim);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rboard,
  .ship {
    grid-template-columns: 1fr 1fr;
  }
  .adoc {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  /* Em telas estreitas o artigo vem primeiro; breadcrumb e "Anterior/Próximo" navegam. */
  .aside {
    display: none;
  }
}
@media (max-width: 860px) {
  .theme-btn {
    margin: 0 0 0 auto;
  }
  .theme-btn + .nav__cta {
    margin-left: 0;
  }
  .nav__in {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  /* Atalhos no celular: a tecla em cima e a descrição embaixo, sem rolagem lateral. */
  .tbl--keys,
  .tbl--keys tbody,
  .tbl--keys tr,
  .tbl--keys td {
    display: block;
    width: auto;
  }
  .tbl--keys thead {
    display: none;
  }
  .tbl--keys tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .tbl--keys td {
    padding: 2px 0;
    border: 0;
  }
  .tbl--keys td:first-child {
    width: auto;
    white-space: normal;
  }
  .hgrid,
  .rboard,
  .ship,
  .aside,
  .pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .ahead {
    align-items: flex-start;
  }
  .feat__ico--lg {
    width: 44px;
    height: 44px;
  }
  .theme-btn {
    width: 36px;
    height: 36px;
  }
}

/* ───────────────────────── Tema claro (S8) ───────────────────────── */
:root[data-theme='light'] {
  --ink: #f5f6fb;
  --bg: #ffffff;
  --surface: #eef0f6;
  --elevated: #e2e5ef;
  --line: #14182a17;
  --line2: #14182a29;
  --text: #151722;
  --muted: #555b6d;
  --dim: #646a7c; /* 4,7:1 ou mais sobre todos os fundos claros */
  --primary-hi: #4a57f0;
  color-scheme: light;
}
/* Maquetes do app e a faixa rolante continuam escuras, como capturas de tela. */
.app,
.mini,
.ticker,
.brand__art--dark {
  --ink: #0c0d13;
  --bg: #111218;
  --surface: #1c1e27;
  --elevated: #262936;
  --line: #ffffff14;
  --line2: #ffffff22;
  --text: #f3f4f8;
  --muted: #969cab;
  --dim: #6b7183;
  --primary-hi: #8590fb;
  color: var(--text);
}
.ticker span {
  color: #fff;
}
:root[data-theme='light'] .brand__art--dark {
  background: #0c0d13;
}
:root[data-theme='light'] .grad {
  background-image: linear-gradient(100deg, #4a57f0, #7a5cf5 50%, #5865f2);
}
:root[data-theme='light'] .nav.is-scrolled {
  background: #f5f6fbd9;
}
:root[data-theme='light'] .btn--ghost {
  background: #ffffff;
  border-color: var(--line2);
}
:root[data-theme='light'] .btn--ghost:hover {
  border-color: #14182a40;
  background: var(--surface);
}
:root[data-theme='light'] .btn--light:hover {
  color: #c3c9ff;
}
:root[data-theme='light'] .news__txt,
:root[data-theme='light'] .legal p,
:root[data-theme='light'] .legal li,
:root[data-theme='light'] .dl__hash code {
  color: var(--text);
}
:root[data-theme='light'] .aud__card {
  background: linear-gradient(180deg, #ffffff, var(--ink));
}
:root[data-theme='light'] .app {
  box-shadow:
    0 40px 90px -40px #14182a80,
    0 0 0 1px #14182a1a,
    0 30px 80px -40px #5865f288;
}
:root[data-theme='light'] .tag--green,
:root[data-theme='light'] .ico--b,
:root[data-theme='light'] .ship__v,
:root[data-theme='light'] .svc__state[data-state='up'] {
  color: #0a7a4c;
}
:root[data-theme='light'] .tag--red,
:root[data-theme='light'] .ico--c,
:root[data-theme='light'] .svc__state[data-state='down'] {
  color: #c62a43;
}
:root[data-theme='light'] .tag--amber,
:root[data-theme='light'] .ico--d {
  color: #94600a;
}
:root[data-theme='light'] .hero__glow,
:root[data-theme='light'] .phead__glow,
:root[data-theme='light'] .final__glow {
  opacity: 0.7;
}
@media (max-width: 860px) {
  :root[data-theme='light'] .nav__links {
    background: #f5f6fbf5;
  }
}

/* Maquete de voz (aba "Voz e tela") */
.vc__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
}
.vc__head small {
  color: var(--dim);
  font-weight: 500;
  font-size: 12px;
}
.mini .mem.vc {
  position: relative;
}
.vc.is-talking .av {
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px var(--success);
}
.vc__live {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.vc__muted {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0526733;
  color: var(--danger);
  font-size: 11px;
  font-weight: 800;
}
.vc__stream {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  height: 120px;
  padding: 12px 14px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, transparent 40%, #000000b3),
    radial-gradient(ellipse 60% 70% at 30% 30%, #f0b44c66, transparent 70%),
    radial-gradient(ellipse 60% 70% at 80% 60%, #5865f2aa, transparent 70%), #1a1c2b;
}
.vc__stream span {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.vc__stream small {
  color: #ffffffb3;
  font-size: 12px;
}

/* Capturas reais do app (static/shots, geradas por scripts/app-shots.mjs) */
.app--shot {
  margin: 0;
  line-height: 0;
  background: #0c0d13;
}
.app--shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: #111218;
  box-shadow:
    0 30px 60px -30px #000000b3,
    0 0 0 1px #00000040;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* Captura alta (chat): mostra a parte de baixo, onde estão as mensagens e o campo de texto. */
.shot--tall {
  aspect-ratio: 807 / 600;
}
.shot--tall img {
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
/* Captura estreita (cartão de perfil): tamanho real, centralizada, sem esticar. */
.shot--card {
  width: min(100%, 320px);
  margin-inline: auto;
}
:root[data-theme='light'] .shot {
  box-shadow:
    0 30px 60px -34px #14182a66,
    0 0 0 1px #14182a14;
}

/* Capturas dentro dos artigos de ajuda */
.help__shot {
  margin: 8px 0 28px;
}
/* Captura pequena (ex.: um diálogo): não estica além do tamanho real. */
.help__shot--sm {
  max-width: 440px;
}
.help__shot--md {
  max-width: 560px;
}
.help__shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Seletor de idioma (rodapé) */
.foot__langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 16px;
  font-size: 13px;
}
.foot__langs .i {
  width: 16px;
  height: 16px;
  color: var(--dim);
}
.foot__langs a {
  color: var(--muted);
  text-decoration: none;
}
.foot__langs a:hover {
  color: var(--text);
}
.foot__langs a[aria-current='true'] {
  color: var(--text);
  font-weight: 700;
}
.nf__other {
  margin-top: 28px;
}
.nf__other a {
  color: var(--primary-hi);
}

/* Aviso das traduções dos textos legais */
.legal__notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid #f0b44c55;
  border-radius: 12px;
  background: #f0b44c14;
  color: var(--text);
  font-size: 14px;
}
.legal__notice a {
  color: var(--primary-hi);
}

/* Convite (/convite/<código>) */
.invite__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 8px;
}
.invite__link code {
  padding: 10px 16px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  word-break: break-all;
}
.invite__bad {
  margin: 24px auto 0;
  color: var(--danger);
}
.invite__bad p + p {
  margin-top: 6px;
  color: var(--muted);
}
.invite__server {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 16px 22px 16px 16px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: var(--surface);
  text-align: left;
}
.invite__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hi));
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}
.invite__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.invite__meta {
  min-width: 0;
}
.invite__name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.invite__official {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.invite__official .i {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.invite__members {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.invite__steps {
  max-width: 560px;
  margin: 32px auto;
  text-align: left;
}
.invite [hidden] {
  display: none;
}

/* ───────────────────────── Zync no celular ───────────────────────── */
/* Botão de download: no Android vira o APK (ícone de celular). */
.btn [data-i-phone],
.btn.is-android .i-win {
  display: none;
}
.btn.is-android [data-i-phone] {
  display: block;
}
.dl__lead {
  max-width: 640px;
  margin: 8px 0 24px;
}
.dl__name {
  font-size: 26px;
  font-weight: 900;
}
.dl__more {
  margin-top: 36px;
}
.dl__iphone {
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

/* Faixa "baixe o app" no celular (aparece só pelo JS, no Android e no iPhone). */
.appbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px -12px #000c;
  animation: appbar-in 0.35s var(--ease) both;
}
.appbar[hidden] {
  display: none;
}
.appbar img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.appbar__txt {
  display: flex;
  flex: 1;
  color: var(--text);
  text-decoration: none;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.appbar__txt strong {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.appbar__txt span {
  color: var(--muted);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.appbar .btn {
  flex: none;
  padding: 8px 16px;
}
.appbar__x {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.appbar__x:hover {
  background: var(--line);
  color: var(--text);
}
.appbar__x svg {
  width: 18px;
  height: 18px;
}
/* Espaço no fim da página para a faixa não cobrir o rodapé. */
body.has-appbar .foot {
  padding-bottom: 96px;
}
@keyframes appbar-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
:root[data-theme='light'] .appbar {
  box-shadow: 0 18px 50px -16px #14182a55;
}
:root[data-theme='light'] .beta-tag span {
  color: var(--primary-2);
  background: #5865f222;
}
@media (max-width: 480px) {
  /* Celular estreito: a logo, o selo BETA, o tema e o menu cabem; o "Baixar" do topo sai
     (a página tem os botões de download e, no celular, a faixa do app). */
  .nav__brand {
    gap: 8px;
  }
  .nav__cta {
    display: none;
  }
  .theme-btn {
    margin-left: auto;
  }
}

/* Download: escolha da plataforma no topo e seções que continuam a anterior. */
.plat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plat__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    transform 0.18s var(--ease),
    border-color 0.18s,
    box-shadow 0.18s;
}
.plat__card:hover {
  transform: translateY(-3px);
  border-color: #5865f288;
  box-shadow: 0 18px 40px -20px #5865f2aa;
}
.plat__card strong {
  font-size: 19px;
  font-weight: 800;
}
.plat__card .muted {
  font-size: 14px;
}
.plat__ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #5865f21f;
  color: var(--primary-hi);
}
.plat__ico svg {
  width: 22px;
  height: 22px;
}
.plat__ico--win svg {
  fill: currentColor;
}
.plat__ico--android {
  background: #23c4831f;
  color: var(--success);
}
.plat__ico--web {
  background: #f0b44c1f;
  color: var(--warning);
}
.plat__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--primary-hi);
  font-size: 14px;
  font-weight: 700;
}
.plat__go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s var(--ease);
}
.plat__card:hover .plat__go svg {
  transform: translateX(3px);
}
.section--alt.dl__cont {
  padding-top: 0;
  border-top: 0;
  background: var(--ink);
}
#windows.section--alt {
  border-bottom: 0;
}
@media (max-width: 860px) {
  .plat {
    grid-template-columns: minmax(0, 1fr);
  }
}
:root[data-theme='light'] .plat__ico--android {
  color: #0a7a4c;
}
:root[data-theme='light'] .plat__ico--web {
  color: #94600a;
}
@media (max-width: 600px) {
  /* Celular: cartões de plataforma em linha (ícone à esquerda), mais baixos. */
  .plat__card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px;
  }
  .plat__ico {
    grid-row: 1 / span 3;
    margin: 0;
  }
  .plat__card strong {
    font-size: 17px;
  }
  .plat__go {
    margin-top: 4px;
  }
}

/* Página inicial: Zync Plus e Loja */
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plus__meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Zync × Discord */
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vs__grid {
  margin-top: 24px;
}
.vs .checks {
  margin-top: 16px;
}
.vs__more {
  margin-top: 16px;
  font-weight: 700;
}
.vs__cta .cta-row {
  margin-top: 24px;
}
.vs__note {
  max-width: 560px;
  margin: 32px auto 0;
}
@media (max-width: 1080px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Novidades: filtro por plataforma e versão recém-saída */
.rels__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rels__filter[hidden] {
  display: none;
}
.chip {
  padding: 7px 16px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--primary-hi);
}
.chip[aria-pressed='true'] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.rel__p--windows {
  background: #5865f222;
  color: var(--primary-hi);
}
.rel__p--android {
  background: #23c48322;
  color: var(--success);
}
:root[data-theme='light'] .rel__p--android {
  color: #0a7a4c;
}
.rel[hidden] {
  display: none;
}

/* Download no Android: o app de celular logo depois da escolha de plataforma. */
html.is-android main#conteudo:has(> #android) {
  display: flex;
  flex-direction: column;
}
html.is-android main#conteudo:has(> #android) > * {
  order: 3;
}
html.is-android main#conteudo:has(> #android) > :nth-child(-n + 2) {
  order: 0;
}
html.is-android main#conteudo > #android {
  order: 1;
}
/* Convite inválido no tema claro: o vermelho do tema escuro não tem contraste no fundo claro. */
:root[data-theme='light'] .invite__bad strong,
:root[data-theme='light'] p.invite__bad {
  color: #c62a43;
}

/* Para comunidades: linhas de texto e captura, alternando o lado */
.crow__top {
  padding-top: 0;
}
.crow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.crow--flip .crow__copy {
  order: 2;
}
.crow__copy .h2 {
  margin: 4px 0 10px;
}
.crow__copy .checks {
  margin-top: 18px;
}
.crow__shot img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 860px) {
  .crow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .crow--flip .crow__copy {
    order: 0;
  }
}

/* Preços */
.prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.price {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: var(--surface);
}
.price--featured {
  border-color: #5865f2aa;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #5865f22e, transparent 70%), var(--surface);
  box-shadow: 0 24px 60px -30px #5865f2aa;
}
.price .feat__ico {
  margin-bottom: 14px;
}
.price__name {
  font-size: 20px;
  font-weight: 900;
}
.price__value {
  margin: 10px 0 2px;
}
.price__value b {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.price__value small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.price__note {
  min-height: 42px;
  font-size: 14px;
}
.price .checks {
  margin: 16px 0 20px;
  flex: 1;
}
.price .checks li {
  font-size: 14px;
}
.price__cta .btn {
  width: 100%;
  justify-content: center;
}
.price__soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px dashed var(--line2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.price__soon svg {
  width: 16px;
  height: 16px;
}
.prices__note {
  margin-top: 18px;
}
.prices__rules {
  margin-top: 10px;
  font-size: 15px;
}
@media (max-width: 1080px) {
  .prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .prices {
    grid-template-columns: minmax(0, 1fr);
  }
}
.price .checks {
  align-content: start;
}

/* Lista de espera */
.wl {
  max-width: 560px;
}
.wl__form {
  display: grid;
  gap: 14px;
  margin: 8px 0 20px;
  padding: 28px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: var(--surface);
}
.wl__label {
  font-weight: 800;
  font-size: 15px;
}
.wl__input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.wl__input:focus-visible {
  border-color: var(--primary);
}
.wl__interests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}
.wl__interests legend {
  margin-bottom: 8px;
}
.wl__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.wl__opt:has(input:checked) {
  border-color: var(--primary);
  background: #5865f21a;
}
.wl__opt input {
  accent-color: var(--primary);
}
.wl__form .btn {
  justify-content: center;
}
.wl__msg {
  margin: 0;
  min-height: 1.4em;
  font-weight: 700;
  color: var(--success);
}
.wl__msg--bad {
  color: var(--danger);
}
.wl__msg:empty {
  display: none;
}
.wl__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wl__status {
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #23c48366;
  border-radius: 14px;
  background: #23c48314;
}
.wl__status--invalido {
  border-color: #f0526766;
  background: #f0526712;
}
.wl__status[hidden] {
  display: none;
}
.wl__status p {
  margin: 4px 0 0;
}
:root[data-theme='light'] .wl__msg {
  color: #0a7a4c;
}
:root[data-theme='light'] .wl__msg--bad {
  color: #c62a43;
}
@media (max-width: 600px) {
  .wl__interests {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Central de segurança */
.safe__nav {
  margin-top: 20px;
}
.safe__nav .plat__ico svg {
  fill: none;
}
.safe__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.safe__item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.safe__item b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.safe__item p {
  margin: 0;
  color: var(--muted);
}
.safe__item strong {
  color: var(--text);
}
#dados > .wrap > .h2:first-child {
  margin-bottom: 8px;
}
@media (max-width: 860px) {
  .safe__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.a11y {
  margin-top: 24px;
}

/* Download inteligente: sistema detectado, QR do APK e aviso para Mac e Linux */
.plat__card {
  position: relative;
}
.plat__card--you {
  border-color: var(--primary);
  box-shadow: 0 18px 40px -22px #5865f2cc;
}
.plat__you {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.plat__you[hidden],
.plat__other[hidden] {
  display: none;
}
.plat__other {
  margin-top: 14px;
  font-size: 14px;
}
.dl__qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.dl__qr img {
  flex: none;
  border-radius: 10px;
  background: #fff;
}
.dl__qr p {
  margin: 4px 0 0;
  font-size: 14px;
}
/* No celular, o QR não faz sentido: some (o is-android vem do theme.js; telas pequenas também). */
html.is-android .dl__qr {
  display: none;
}
@media (max-width: 600px) {
  .dl__qr {
    display: none;
  }
}
/* Páginas por uso: capturas estreitas (cartão de perfil) centralizadas */
.crow__shot--narrow {
  max-width: 340px;
  justify-self: center;
}
.para__more {
  margin-top: 28px;
}

/* Kit de imprensa */
.press__facts {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}
.press__facts div {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.press__facts dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.press__facts dd {
  margin: 2px 0 0;
}
.press__boiler {
  margin: 14px 0 16px;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--bg);
  line-height: 1.7;
}
.press__shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.press__shot {
  margin: 0;
}
.press__shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line2);
  border-radius: 12px;
}
.press__shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 860px) {
  .press__shots {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Ajuda: resultado de busca que leva a uma seção de um artigo */
.hcard--sub {
  border-style: dashed;
}
.hcard--sub[hidden] {
  display: none;
}
.hcard--sub p {
  font-size: 13px;
}

/* Diretório de comunidades (/c/) */
.dir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.dir__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.dir__card:hover {
  border-color: var(--primary);
}
.dir__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dir__body svg {
  width: 16px;
  height: 16px;
  color: var(--primary-hi);
  vertical-align: -2px;
}
.dir__icon {
  flex: none;
  border-radius: 16px;
  object-fit: cover;
}
.dir__icon--letter {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}
.dir__head .dir__icon--letter {
  width: 96px;
  height: 96px;
  font-size: 40px;
}
.dir__yours {
  margin-top: 24px;
}
.dir__hero {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: var(--surface);
  padding-bottom: 24px;
}
.dir__hero > :not(.dir__banner) {
  margin-left: 24px;
  margin-right: 24px;
}
.dir__banner {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.dir__banner--none {
  background: linear-gradient(120deg, #5865f2, #8590fb);
}
.dir__head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: -48px;
}
.dir__head .dir__icon {
  border: 4px solid var(--surface);
  border-radius: 24px;
}
.dir__official svg {
  width: 22px;
  height: 22px;
  color: var(--primary-hi);
  vertical-align: -3px;
}
.dir__desc {
  margin: 16px 24px;
  white-space: pre-line;
}
.dir__page .cta-row {
  margin-top: 16px;
}
.dir__gone[hidden] {
  display: none;
}
@media (max-width: 860px) {
  .dir {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Só o ícone sobe sobre o banner; nome e números ficam abaixo dele. */
.dir__head > div {
  padding-top: 56px;
}
.dir__head h1 {
  margin: 0;
}
.dir__head h1 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dir__official {
  display: inline-flex;
}

/* Convite: aviso quando o zync:// não abriu nada */
.invite__noapp {
  flex-basis: 100%;
  margin: 0 0 4px;
  text-align: center;
}

/* Desenvolvedores: chamada para o bot de exemplo */
.dev-start {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  background: var(--surface);
}

/* Exemplos de código com abas (curl, JavaScript, Python) na /desenvolvedores/ */
.codetabs {
  margin: 0 0 20px;
}
.codetabs__list {
  display: flex;
  gap: 4px;
  margin: 0 0 -1px;
  overflow-x: auto;
  scrollbar-width: none;
}
.codetabs__list button {
  flex: none;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
}
.codetabs__list button:hover {
  color: var(--text);
}
.codetabs__list button[aria-selected='true'] {
  border-color: var(--line2);
  background: var(--ink);
  color: var(--text);
}
.codetabs__panel {
  border-top-left-radius: 0;
}

/* Exibição (S53): tamanho do texto e alto contraste. O texto usa zoom: o site é medido em px, e o
   zoom reorganiza a página como o zoom do navegador (sem rolagem lateral). */
:root[data-text='sm'] main,
:root[data-text='sm'] .foot {
  zoom: 0.9;
}
:root[data-text='lg'] main,
:root[data-text='lg'] .foot {
  zoom: 1.2;
}
.dispctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
}
.dispctl[hidden] {
  display: none;
}
.dispctl__label {
  margin-right: 4px;
  color: var(--muted);
}
.dispctl button {
  min-width: 36px;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dispctl button:hover {
  color: var(--text);
}
.dispctl button[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.dispctl--page {
  margin: 8px 0 24px;
  font-size: 15px;
}
.dispctl--page button {
  min-height: 40px;
  padding: 6px 14px;
}

/* Alto contraste: textos secundários quase da cor do texto, bordas visíveis, links sublinhados,
   títulos sem degradê. Vale nos dois temas; liga sozinho com prefers-contrast: more. */
:root[data-contrast='more'] {
  --text: #ffffff;
  --muted: #e4e6ee;
  --dim: #d2d5df;
  --line: #ffffff59;
  --line2: #ffffff8c;
  --primary-hi: #b3baff;
}
:root[data-theme='light'][data-contrast='more'] {
  --text: #000000;
  --muted: #23262f;
  --dim: #2f323c;
  --line: #00000059;
  --line2: #0000008c;
  --primary-hi: #2a35c4;
}
:root[data-contrast='more'] .grad {
  background: none;
  color: var(--primary-hi);
}
:root[data-contrast='more'] a:not(.btn):not(.logo):not(.foot__status) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
:root[data-contrast='more'] .btn--ghost,
:root[data-contrast='more'] .card,
:root[data-contrast='more'] .code {
  border-color: var(--line2);
}
:root[data-contrast='more'] :focus-visible {
  outline: 3px solid var(--primary-hi);
  outline-offset: 3px;
}

/* Diretório de bots (S51) */
.bots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.bot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--surface);
}
.bot__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bot__head p {
  margin: 2px 0 0;
}
.bot__avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.bot__avatar--letter {
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}
.bot__name {
  margin: 0;
  font-size: 18px;
}
.bot__check svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  color: var(--primary-hi);
  vertical-align: -2px;
}
.bot__desc {
  margin: 0;
  color: var(--muted);
}
.bot__label {
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bot__cmds {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.bot__cmds span {
  color: var(--muted);
}
.bot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.bots__dev {
  margin-top: 40px;
}

/* /bots/: os caminhos para ter um bot (S60) */
.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.way {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--surface);
}
.way h3 {
  margin: 0;
  font-size: 18px;
}
.way p {
  margin: 0;
}
.way .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Status: histórico de 90 dias (S34) */

.hist { list-style: none; margin: 16px 0 28px; padding: 0; display: grid; gap: 18px; }
.hist__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.hist__bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 30px; }
.hist__bars i { border-radius: 2px; background: var(--line2); }
.hist__bars i[data-state='up'] { background: var(--success); }
.hist__bars i[data-state='partial'] { background: var(--warning); }
.hist__bars i[data-state='down'] { background: var(--danger); }
.hist__inc { display: grid; gap: 10px; padding-left: 18px; }
@media (max-width: 600px) { .hist__bars { height: 24px; gap: 1px; } }
.hist[hidden],
[data-hist-collecting][hidden] {
  display: none;
}

/* Ajuda: primeiros passos (S68) */
.gcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.gcard {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.gcard:hover {
  border-color: var(--primary);
}
.gcard small {
  color: var(--muted);
}
.gcard__n {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--dim);
  font-weight: 800;
}
.gcard__ico svg {
  width: 22px;
  height: 22px;
  color: var(--primary-hi);
}
.guide {
  max-width: 860px;
}
.guide__steps {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.guide__steps li {
  position: relative;
  padding: 2px 0 0 46px;
  counter-increment: step;
  font-size: 17px;
}
.guide__steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.guide__steps a {
  color: var(--primary-hi);
}
.guide__more {
  margin: 24px 0 8px;
}
.guide__more a {
  color: var(--primary-hi);
}
.guide__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
