/* Black and white windows, with lavender accents and short pixel labels. */
@font-face {
  font-family: 'Press Start 2P';
  src: url('/fonts/PressStart2P-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #ffffff;
  --ink: #202020;
  --text: #363636;
  --muted: #686868;
  --lavender: #e8e0f2;
  --accent: #70568c;
  --line: #dedede;
  --window-border: #444444;
  --window-bar: #d1b5ef;
  --window-divider: #444444;
  --window-shadow: #e8e0f2;
  --pixel: 'Press Start 2P', 'Courier New', monospace;
}
body {
  background: var(--paper);
  color: var(--text);
  padding-top: 38px;
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
}
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #c9b9dd;
}
h1, h2, h3, h4, h5, h6, strong, b { color: var(--ink); }
h1 { font-size: 29px; line-height: 1.3; }
header { margin-bottom: 36px; }
header .title { display: inline-block; }
header .title h2 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  margin: 12px 0 16px;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
nav { font-size: 14px; }
nav a { margin-right: 20px; }
::selection { background: var(--lavender); color: var(--ink); }
.intro-window {
  background: #fff;
  border: 1px solid var(--window-border);
  box-shadow: 3px 3px 0 var(--window-shadow);
}
.window-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--window-bar);
  border-bottom: 1px solid var(--window-divider);
  padding: 13px 22px;
}
.window-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.window-content { padding: 25px 28px 24px; }
.window-content > p { margin: 0 0 20px; }
.window-content > p:last-child { margin-bottom: 0; }
.window-content .views { color: var(--muted); font-size: 13px; }
.window-content .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: 'Courier New', monospace;
  font-size: 14px;
}
.window-content .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 18px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--window-border);
  box-shadow: 2px 2px 0 var(--window-shadow);
  text-decoration: none;
}
.window-content .social-links a:hover {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--accent);
}
.window-content .social-links a:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
footer { color: var(--muted); padding: 27px 0; font-size: 12px; }
footer a { color: inherit; }
code { background: #f2f2f2; }
blockquote { border-color: #c9b9dd; color: var(--text); }
ul.blog-posts li a:visited { color: #606060; }
@media (max-width: 480px) {
  body { padding: 28px 20px 20px; }
  header .title h2 { font-size: 14px; }
  header { margin-bottom: 25px; }
  .window-heading { padding: 11px 17px; }
  .window-content { padding: 21px 19px; }
  .window-content .social-links { gap: 20px; }
}

nav a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 700; }
