:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --muted: #3D3D3D;
  --soft: #6B6B6B;
  --rule: #D4D4D4;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --label: 'Jost', 'Century Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: var(--ink); }
a:hover { color: var(--muted); }
img { max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.label {
  font-family: var(--label);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Cabeçalho */
.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 24px; padding: 40px 0 32px; border-bottom: 1px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--serif); font-size: 28px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 32px; }
.site-nav a { text-decoration: none; font-size: 15px; }

/* Home */
.hero { padding: 128px 0 120px; max-width: 820px; display: flex; flex-direction: column; gap: 32px; }
.hero .label { color: var(--muted); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 68px); line-height: 1.08; letter-spacing: -0.01em; }
.hero p { margin: 0; font-size: 21px; line-height: 1.6; color: #2B2B2B; max-width: 620px; }

.section { padding-bottom: 120px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head span { color: var(--muted); }

.post { display: grid; grid-template-columns: minmax(140px, 3fr) minmax(0, 9fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.post .meta { color: var(--muted); padding-top: 10px; line-height: 1.6; }
.post .title { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.2; }
.post .summary { display: block; margin-top: 12px; font-size: 18px; line-height: 1.6; color: #2B2B2B; }
.post.soon { color: var(--soft); padding: 32px 0; }
.post.soon .title { font-size: 28px; }

.series { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 48px; }
.series div { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.series span:first-child { font-family: var(--serif); font-size: 24px; }

.method { background: var(--ink); color: var(--paper); padding: 72px 56px; margin-bottom: 120px; display: flex; flex-direction: column; gap: 28px; }
.method .label { color: #BDBDBD; }
.method .lead { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; max-width: 760px; }
.method p { margin: 0; font-size: 18px; line-height: 1.6; color: #E6E6E6; max-width: 640px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px 0 56px; border-top: 1px solid var(--ink); color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer nav { display: flex; gap: 28px; }

/* Artigo */
.article { max-width: 680px; margin: 0 auto; padding: 112px 0 120px; }
.article .meta { display: block; color: var(--muted); margin-bottom: 28px; }
.article h1 { margin: 0 0 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1.08; }
.article .lede { margin: 0 0 56px; font-size: 22px; line-height: 1.6; color: #2B2B2B; padding-bottom: 48px; border-bottom: 1px solid var(--ink); }
.prose p { margin: 0 0 24px; font-size: 19px; line-height: 1.75; color: #1A1A1A; }
.prose h2 { margin: 64px 0 24px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose strong { font-weight: 600; }
.prose sup a { font-family: var(--label); font-size: 13px; font-weight: 600; text-decoration: none; padding: 0 2px; }

.cta { margin-top: 72px; padding: 40px; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta span { font-family: var(--serif); font-size: 26px; line-height: 1.3; max-width: 420px; }
.cta a { color: var(--paper); border: 1px solid var(--paper); padding: 14px 24px; text-decoration: none; }

.refs { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--ink); }
.refs h2 { margin: 0 0 28px; }
.refs ol { margin: 0; padding-left: 22px; }
.refs li { margin-bottom: 14px; font-size: 16px; line-height: 1.6; color: #2B2B2B; padding-left: 6px; }
.refs li a { text-underline-offset: 3px; }
.refs .fix { margin: 40px 0 0; color: var(--muted); }

@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; gap: 8px; }
  .post .meta { padding-top: 0; }
  .method { padding: 48px 28px; }
  .site-nav { gap: 20px; }
}
