:root {
  --bg: #07080c;
  --ink: #f6f3ea;
  --muted: #d5d0c4;
  --dim: #9a9588;
  --blue: #2f9bff;
  --yellow: #ffd23a;
  --paper: #141820;
  --line: #f4f1e8;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1.1px, transparent 1.1px);
  background-size: 8px 8px;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

a { color: var(--yellow); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: #16140a;
  padding: 0.55rem 0.85rem;
  border: 3px solid #111;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 0.8rem; }

.nav {
  display: flex;
  align-items: center;
  height: 4.6rem;
  padding: 0 1.15rem;
  background: rgba(7, 8, 12, 0.92);
  border-bottom: 3px solid #111;
  box-shadow: 0 4px 0 var(--blue);
}

.nav img { height: 2.55rem; width: auto; }
.nav picture { display: flex; align-items: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.2rem 1.15rem 3rem;
}

article {
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 6px 6px 0 #111;
  padding: 1.3rem 1.2rem 1.5rem;
}

h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.updated {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-weight: 700;
}

article p { margin: 0 0 0.95rem; color: var(--muted); }
article p:last-child { margin-bottom: 0; }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.15rem 1.8rem;
  border-top: 3px solid #111;
  box-shadow: inset 0 4px 0 var(--yellow);
  color: var(--dim);
}

.foot a { font-weight: 800; text-decoration: none; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  width: 100%;
}
