/* Renew Trading · composição tirada de vercel.com (primeira dobra, 1440×900) */

:root {
  /* cores medidas na referência */
  --fundo: #000;
  --superficie: #0a0a0a;       /* recheio dos botões escuros */
  --borda: #2e2e2e;
  --texto: #ededed;
  --texto-2: #a1a1a1;          /* texto de apoio */
  --texto-inverso: #0a0a0a;    /* texto no botão claro */

  --fonte: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --margem: 24px;
  --dobra-altura: 900px;

  /* tipografia por tag do wireframe: tamanho pela altura da maiúscula, peso e espaçamento pela largura */
  --h1-tam: 64px;   --h1-peso: 400; --h1-espaco: -0.06em;  --h1-linha: 64px;
  --t1-tam: 16px;   --t1-peso: 500; --t1-espaco: -0.025em; --t1-linha: 32px;
  --t2-tam: 14px;   --t2-peso: 400; --t2-espaco: 0;        --t2-linha: 20px;
  --btn-tam: 14px;  --btn-peso: 500;

  --btn-altura: 34px;
  --raio-btn: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--fundo); }

body {
  font-family: var(--fonte);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; }

.dobra {
  position: relative;
  height: var(--dobra-altura);
  overflow: hidden;
}

/* ---------- tags tipadas ---------- */

.h1 {
  font-size: var(--h1-tam);
  font-weight: var(--h1-peso);
  letter-spacing: var(--h1-espaco);
  line-height: var(--h1-linha);
}

.t1 {
  font-size: var(--t1-tam);
  font-weight: var(--t1-peso);
  letter-spacing: var(--t1-espaco);
  line-height: var(--t1-linha);
}

.t2 {
  font-size: var(--t2-tam);
  font-weight: var(--t2-peso);
  letter-spacing: var(--t2-espaco);
  line-height: var(--t2-linha);
}

.btn {
  display: inline-flex;
  align-items: center;
  height: var(--btn-altura);
  padding: 0 11px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-btn);
  background: var(--superficie);
  color: var(--texto);
  font-size: var(--btn-tam);
  font-weight: var(--btn-peso);
  white-space: nowrap;
}

.btn.primario {
  background: var(--texto);
  border-color: var(--texto);
  color: var(--texto-inverso);
}


/* ---------- regiões ---------- */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 var(--margem);
  display: flex;
  align-items: center;
}

/* A marca RT ao lado do nome, como no cabeçalho do painel. */
.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t2-tam);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.logo {
  display: block;
  height: 20px;
  width: auto;
  flex-shrink: 0;
}

.acoes {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.aviso {
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero {
  position: absolute;
  top: 328px;
  left: var(--margem);
}

.lista {
  position: absolute;
  top: 380px;
  left: calc(50% + 340px);
}

/* ---------- telas menores: composição da Vercel no celular ----------
   Título centralizado na parte de baixo, a lista logo abaixo em mono cinza,
   e o meio da tela vazio. Abaixo de 1200px a lista já não cabe à direita. */
@media (max-width: 1199px) {
  .dobra {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 64px;
  }

  .nav {
    position: static;
    align-self: stretch;
    flex: none;
  }

  .aviso {
    position: static;
    transform: none;
    margin-top: 14px;
    padding: 0 var(--margem);
    white-space: normal;
    text-align: center;
  }

  .hero {
    position: static;
    margin-top: calc(50svh - 93px);
    padding: 0 var(--margem);
    text-align: center;
  }

  .lista {
    position: static;
    margin-top: 17px;
    padding: 0 var(--margem);
    text-align: center;
  }

  .lista .t1 {
    font-family: var(--fonte-mono);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    color: var(--texto-2);
  }
}

@media (max-width: 639px) {
  :root {
    --h1-tam: 48px;
    --h1-linha: 56px;
  }
}
