:root {
  color-scheme: dark;
  --bg: #14110e;
  --paper: #211b16;
  --ink: #f6f0e8;
  --muted: #c9b8a6;
  --line: #3d342c;
  --accent: #e25b2a;
  --spotify: #1ed760;
  --spotify-ink: #06210f;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 50% -10%, #3a2418 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  line-height: 1.5;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.top a { text-decoration: none; }
.top a:hover { color: var(--ink); }

.cover {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin: 0 auto 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-align: center;
}

.tag {
  margin: 0.8rem 0 1.4rem;
  text-align: center;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
}

.cta,
.secondary {
  display: block;
  width: min(100%, 22rem);
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
}

.cta {
  padding: 0.9rem 1.2rem;
  background: var(--spotify);
  color: var(--spotify-ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  border-radius: 999px;
}

.cta:hover { filter: brightness(1.05); }

.secondary {
  margin-top: 0.85rem;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.links {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.links a {
  display: block;
  padding: 0.75rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
}

.links a:hover { border-color: var(--accent); }

.contact {
  margin-top: 1.6rem;
  text-align: center;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.contact a { color: var(--muted); }

.foot {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

article h1 {
  text-align: left;
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 0.4rem;
}

article .updated {
  margin-top: 0;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
}

article h2 {
  margin: 1.8rem 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
}

article p,
article li { font-family: "Segoe UI", system-ui, sans-serif; }

article ul { padding-left: 1.2rem; }

article code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 560px) {
  .links { grid-template-columns: 1fr; }
}
