@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --bg: #edeae4;
  --fg: #1a1a1a;
  --border: #d4d0c9;
  --card-bg: #f4f1ec;
  --accent: #c43039;
  --grey: #8e8d8a;
  --font: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --tracking-tight: -0.03em;
  --tracking-tighter: -0.04em;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.nl-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Top Bar ── */
.nl-topbar {
  padding: 40px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.nl-topbar-left {
  display: flex;
  align-items: center;
}

.nl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
  text-decoration: none;
}

.nl-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}

.nl-nav { display: flex; gap: 20px; }

.nl-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  padding-bottom: 2px;
}

.nl-nav a.active { border-bottom: 1.5px solid var(--accent); }

.nl-topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nl-counter {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nl-counter-val {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}

.nl-counter-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nl-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ── Content ── */
.nl-content { padding-bottom: 48px; }

.nl-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.08s forwards;
}

.nl-page-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nl-page-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nl-date {
  font-size: 12px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.nl-updated {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pos { color: var(--accent); }
.neg { color: var(--fg); }

/* ── Section ── */
.nl-section { margin-bottom: 48px; }

.nl-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.nl-sec-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nl-sec-meta {
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* ── Footer ── */
.nl-footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.nl-footer-text {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nl-wrap { padding: 0 20px; }
  .nl-topbar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 500px) {
  .nl-page-head { flex-direction: column; gap: 12px; }
  .nl-page-meta { text-align: left; }
}
