/* Trib — site (privacy / terms / support / community guidelines) */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0c;
  --surface: #121316;
  --line: #1c1d22;
  --primary: #19D76D;
  --t1: #ffffff;
  --t2: rgba(255,255,255,0.65);
  --t3: rgba(255,255,255,0.35);
  --max: 720px;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 48px 24px 96px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

/* Brand — wordmark "trib" + escudo na posição do ponto final.
   Renderizado como inline para que o vertical-align sit naturalmente
   na baseline da palavra, como faria um '.' real. */
a.brand,
a.brand:hover,
a.brand:visited {
  display: inline-block;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.9px;
  line-height: 1;
  color: var(--t1);
  text-decoration: none;
  border: none;
  border-bottom: none;
  margin-bottom: 56px;
  white-space: nowrap;
}
.brand-shield {
  display: inline-block;
  width: 0.34em;
  height: calc(0.34em * (26 / 22));
  margin-left: 1px;
  vertical-align: baseline;
  fill: var(--primary);
}

/* Typography */
h1 {
  font-family: var(--fd);
  font-size: clamp(48px, 8vw, 72px);
  letter-spacing: -0.8px;
  line-height: 0.95;
  margin-bottom: 8px;
  color: var(--t1);
}

.subtitle {
  color: var(--t3);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 48px;
  font-weight: 500;
}

h2 {
  font-family: var(--fd);
  font-size: 28px;
  letter-spacing: 0;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--t1);
}

h3 {
  font-family: var(--fb);
  font-weight: 600;
  font-size: 17px;
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--t1);
}

p, li {
  color: var(--t2);
  font-size: 15px;
  margin-bottom: 16px;
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

li { margin-bottom: 8px; }

strong { color: var(--t1); font-weight: 600; }

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(25,215,109,0.3);
  transition: border-color 0.15s ease;
}
a:hover { border-bottom-color: var(--primary); }

code, .mono {
  font-family: 'SF Mono', Monaco, Menlo, monospace;
  font-size: 13px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--t1);
}

/* Footer */
.footer {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--t3);
  font-size: 13px;
}
.footer a {
  color: var(--t3);
  border-bottom: none;
  margin-right: 16px;
}
.footer a:hover { color: var(--primary); }

/* Mobile */
@media (max-width: 480px) {
  body { padding: 32px 20px 64px; }
  h2 { font-size: 24px; margin-top: 32px; }
  h3 { font-size: 16px; margin-top: 24px; }
  .brand { margin-bottom: 40px; }
}
