:root {
  color-scheme: light;
  --ink: #231338;
  --muted: #574b65;
  --violet: #5c29a2;
  --line: #e9e0f0;
  color: var(--ink);
  background: #fff;
  font: 1rem/1.65 "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--violet); text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem max(1rem, 6%);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.brand { display: block; padding: .35rem .7rem; border-radius: .45rem; background: #170b2d; }
.brand img { display: block; width: 76px; height: auto; }
article { width: min(58rem, calc(100% - 2rem)); margin: clamp(2.5rem, 7vw, 5.5rem) auto; }
.post-heading, .post-body { width: min(100%, 43rem); margin-inline: auto; }

.section-label { margin: 0 0 .9rem; color: var(--violet); font-size: .9rem; font-weight: 700; }
.section-label span { margin-inline: .35rem; color: var(--muted); }
h1, h2 { font-family: Manrope, system-ui, sans-serif; }
h1 { margin: 0; font-size: clamp(2.65rem, 6.4vw, 5rem); line-height: 1.04; letter-spacing: -.055em; }
.intro { margin: 1.15rem 0 0; color: var(--muted); font-size: clamp(1.15rem, 2.1vw, 1.42rem); }

.cover {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
  margin-block: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: .55rem;
  background: #eee5f6;
}

.post-body { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.75; }
.post-body h2 { margin: 1.75rem 0 .35rem; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.025em; }
.post-body p { margin: 0; color: var(--muted); }

.post-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  margin-top: 2rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

@media (max-width: 600px) {
  .cover { aspect-ratio: 16 / 10; }
}