:root {
  --fig: #1c111b;
  --fig2: #342235;
  --fig3: #51384e;
  --porcelain: #fbfaf7;
  --surface: #fffefa;
  --line: #e2dedf;
  --line-strong: #c9c2c5;
  --ink: #171216;
  --muted: #514850;
  --faint: #766f76;
  --verdigris: #0a947a;
  --verdigris2: #066b59;
}

body {
  background: var(--porcelain);
  color: var(--ink);
}

.blog-shell-header,
.blog-shell-footer {
  border-color: var(--line);
  background: rgba(251, 250, 247, 0.94);
  color: var(--ink);
  font-family: Archivo, Inter, system-ui, -apple-system, sans-serif;
}

.blog-shell-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
}

.blog-shell-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.blog-shell-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fig);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-shell-mark {
  position: relative;
  width: 88px;
  height: 24px;
  display: inline-block;
  flex: 0 0 auto;
}

.blog-shell-mark span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  border-radius: 50%;
}

.blog-shell-mark span:nth-child(1) { left: 0; width: 9px; height: 9px; background: var(--fig); opacity: 0.32; }
.blog-shell-mark span:nth-child(2) { left: 13px; width: 14px; height: 14px; background: var(--fig2); opacity: 0.46; }
.blog-shell-mark span:nth-child(3) { left: 32px; width: 20px; height: 20px; background: var(--fig3); opacity: 0.82; }
.blog-shell-mark span:nth-child(4) { left: 56px; width: 24px; height: 24px; background: var(--verdigris); }

.blog-shell-links {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.blog-shell-links a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.blog-shell-links a[aria-current="page"] {
  color: var(--fig);
  text-decoration: underline;
  text-decoration-color: var(--verdigris2);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.blog-shell-links .blog-shell-pill {
  background: var(--fig);
  color: var(--surface);
  padding: 0 16px;
  border-radius: 999px;
}

.blog-shell-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 24px;
}

.blog-shell-footer .blog-shell-inner {
  padding: 0;
  flex-wrap: wrap;
}

.blog-shell-footer p {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .blog-shell-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px 18px;
  }
  .blog-shell-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 12px;
    font-size: 13px;
  }
  .blog-shell-links .blog-shell-pill {
    padding: 0 14px;
  }
  .blog-shell-mark {
    width: 88px;
  }
}
