:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --fg: #1d2026;
  --muted: #636973;
  --line: #e3e5e9;
  --graphite: #1f2124;
  --brand: #b2423f;
  --brand-bright: #e5534b;
  --brand-soft: #fbecea;
  --head-bg: rgba(255,255,255,.78);
  --f-body: "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-logo: "Nunito","Inter",system-ui,sans-serif;
  --f-mono: "IBM Plex Mono",ui-monospace,monospace;
  --wrap: min(760px,100% - 32px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111215;
  --surface: #1a1c20;
  --fg: #eceef1;
  --muted: #9aa0a9;
  --line: #2b2e34;
  --graphite: #0b0c0e;
  --brand: #ee7d74;
  --brand-soft: #3a201e;
  --head-bg: rgba(17,18,21,.78);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--head-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--graphite);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}

.logo-mark::before {
  content: "";
  position: absolute;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #5c6066;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--brand-bright);
}

.logo-mark span {
  position: relative;
  font: 900 15px/1 var(--f-logo);
  color: #fff;
  letter-spacing: -.04em;
}

.logo small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.1;
}

.voltar {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 0;
}

.voltar:hover {
  color: var(--brand);
}

main {
  padding-block: 56px 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 12px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

h1 {
  font-size: clamp(32px,6vw,48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 16px 0 12px;
  font-weight: 800;
}

.data {
  color: var(--muted);
  font-size: 14px;
}

.resumo {
  margin: 32px 0 8px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.resumo ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

h2 {
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 44px 0 10px;
}

p,
li {
  color: var(--fg);
}

p {
  margin: 0 0 12px;
}

ul {
  padding-left: 20px;
  margin: 0 0 12px;
}

li {
  margin-bottom: 6px;
}

.muted {
  color: var(--muted);
}

footer {
  position: relative;
  background: #1f2124;
  color: #9aa0a9;
  font-size: 13px;
  padding-block: 28px;
}

:root[data-theme="dark"] footer {
  background: #0b0c0e;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand-bright);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

footer a {
  text-decoration: none;
}

.lr {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.lr:hover {
  border-color: rgba(255,255,255,.35);
}

.lr svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--brand-bright);
}
