:root {
  --noite: #14182B;
  --abre: #FF5B2E;
  --brasa: #B83A12;
  --pessego: #FFB199;
  --papel: #F7F6F2;
  --branco: #FFFFFF;
  --nevoa: #E4E2DA;
  --grafite: #5E6170;
  --sinal: #1F7A4D;
  --sinal-claro: #3DDC97;
  --fonte-marca: "Bricolage Grotesque", system-ui, sans-serif;
  --fonte-texto: "Inter", system-ui, sans-serif;
  --fonte-codigo: "JetBrains Mono", ui-monospace, monospace;
  --raio-campo: 12px;
  --raio-card: 18px;
  --raio-pilula: 999px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
::selection { background: var(--pessego); color: var(--noite); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--noite);
  background: var(--papel);
  font-family: var(--fonte-texto);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}
a { color: var(--brasa); }
a:hover { color: var(--noite); }
button, input { font: inherit; color: inherit; }
h1, h2 {
  margin: 0;
  font-family: var(--fonte-marca);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
h1 { font-size: clamp(3.25rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; }
:focus-visible { outline: 2px solid var(--abre); outline-offset: 3px; }

.top, .stage, .foot { width: min(1120px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.page-public .stage { width: min(760px, calc(100% - 40px)); }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 8px;
}
.brand { display: flex; line-height: 0; }
.brand img { display: block; width: auto; height: 40px; }
.top-nav { display: flex; align-items: center; gap: 10px; }
.top-nav a, .top-nav button {
  color: var(--noite);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--noite);
  border-radius: var(--raio-campo);
  padding: 10px 18px;
  font-weight: 500;
  cursor: pointer;
}
.top-nav a:hover, .top-nav button:hover { background: var(--noite); color: var(--papel); }
.top-nav form { margin: 0; }
.stage { padding: 36px 0 56px; }
.foot { color: var(--grafite); font-size: 14px; padding-bottom: 36px; text-align: center; }

.hero { margin-bottom: 28px; }
.hero h1 span { color: var(--brasa); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--grafite);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lede { color: var(--grafite); font-size: 18px; max-width: 38rem; }
.card {
  background: var(--branco);
  border: 1px solid var(--nevoa);
  border-radius: var(--raio-card);
  padding: 24px;
}
.card.slim { padding: 18px; margin-top: 16px; }
.shorten { display: flex; flex-direction: column; gap: 16px; }
.shorten > label { margin-bottom: -8px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
label small { color: var(--grafite); font-weight: 400; }
.url-line { display: flex; gap: 12px; align-items: stretch; }
input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--noite);
  background: var(--branco);
  border-radius: var(--raio-campo);
  padding: 12px 16px;
}
input:focus { outline: none; border-color: var(--abre); }
.alias {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  border: 1.5px solid var(--noite);
  border-radius: var(--raio-campo);
  padding-left: 16px;
  background: var(--branco);
}
.alias span { color: var(--grafite); font-family: var(--fonte-codigo); font-size: 15px; white-space: nowrap; }
.alias input { border: 0; min-height: 44px; padding-left: 0; background: transparent; font-family: var(--fonte-codigo); font-size: 15px; font-weight: 500; }
button[type="submit"] {
  margin: 0;
  min-height: 48px;
  border: 0;
  border-radius: var(--raio-campo);
  background: var(--abre);
  color: var(--noite);
  padding: 12px 26px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
button[type="submit"]:hover { filter: brightness(0.96); }
.alert {
  background: var(--pessego);
  color: var(--noite);
  border-radius: var(--raio-campo);
  padding: 12px 14px;
  margin: 0 0 16px;
  font-weight: 500;
}
.result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  background: var(--noite);
  color: var(--papel);
  border-radius: var(--raio-campo);
  padding: 12px 12px 12px 16px;
}
.seal {
  flex: none;
  background: var(--sinal-claro);
  color: var(--noite);
  border-radius: var(--raio-pilula);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}
.shortcut { flex: 1; min-width: 0; text-align: left; }
.short {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fonte-codigo);
  font-size: 20px;
  font-weight: 500;
}
.short .code { color: var(--abre); }
.goes {
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #C9CBD6;
  font-size: 14px;
  line-height: 1.3;
}
.goes a { color: inherit; text-decoration: none; }
.goes a:hover { color: var(--papel); }
#copy {
  flex: none;
  margin: 0;
  border: 0;
  border-radius: var(--raio-campo);
  background: var(--papel);
  color: var(--noite);
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}
.login-card { max-width: 460px; }
.login-card h1 { margin-bottom: 16px; }
.login-card button[type="submit"] { width: 100%; }

.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.panel-head h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
.count { margin: 0; font-family: var(--fonte-marca); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.count span { display: block; margin-top: 4px; font-family: var(--fonte-texto); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--grafite); }
.periods { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.periods a {
  text-decoration: none;
  color: var(--noite);
  border: 1.5px solid var(--noite);
  border-radius: var(--raio-pilula);
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
}
.periods a.is-on, .periods a:hover { background: var(--noite); color: var(--papel); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats article, .top-list {
  background: var(--branco);
  border: 1px solid var(--nevoa);
  border-radius: var(--raio-card);
}
.stats article { padding: 16px 18px; }
.stats b { display: block; font-family: var(--fonte-marca); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 800; letter-spacing: -0.04em; }
.stats span, .top-list span { color: var(--grafite); }
.top-list { list-style: none; margin: 12px 0 0; padding: 6px 14px; }
.top-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--nevoa); }
.top-list li:first-child { border-top: 0; }
.search { display: flex; gap: 12px; margin-top: 16px; }
.search input { flex: 1; }
.search button { margin-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--nevoa); vertical-align: middle; }
th { color: var(--grafite); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.tag {
  display: inline-block;
  font-family: var(--fonte-codigo);
  font-size: 16px;
  font-weight: 500;
  color: var(--brasa);
  text-decoration: none;
}
.url { color: var(--grafite); text-decoration: none; display: inline-block; max-width: 460px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { color: var(--grafite); }
.pager { display: flex; gap: 14px; align-items: center; justify-content: flex-end; padding-top: 14px; }
.pager a { color: var(--noite); font-weight: 600; }
.back { margin: 0 0 8px; }
.note { margin: 0 0 12px; color: var(--grafite); }
.breakdowns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.breakdowns .card { margin-top: 16px; }
.bars, .hours { list-style: none; margin: 14px 0 0; padding: 0; }
.bars li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 5px 0; }
.bars b, .hours b { font-variant-numeric: tabular-nums; }
.bar { display: block; height: 8px; background: var(--nevoa); border-radius: var(--raio-pilula); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--abre); }
.hours { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.hours li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hours span, .hours b { font-size: 13px; color: var(--grafite); }
.hours b { color: var(--noite); }
.text-link { color: var(--noite); font-weight: 600; }
.lp { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.lp h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.lp h3 { margin: 6px 0 0; font-family: var(--fonte-texto); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.lp p { margin: 6px 0 0; color: var(--grafite); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps article, .points article, .faq article {
  background: var(--branco);
  border: 1px solid var(--nevoa);
  border-radius: var(--raio-card);
  padding: 16px 18px;
}
.steps b { display: block; font-family: var(--fonte-marca); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; }
.points, .faq { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 800px) {
  .brand img { height: 32px; }
  .stats, .url-line, .result, .search, .panel-head, .steps { display: flex; flex-direction: column; align-items: stretch; }
  .stats, .stats.four, .breakdowns { display: grid; grid-template-columns: 1fr; }
  .hours { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .url { max-width: 100%; }
  .short { white-space: normal; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { padding: 8px 0 14px; border-bottom: 1px solid var(--nevoa); }
  td { border: 0; padding: 4px 0; }
  td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    color: var(--grafite);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}
