:root {
  --bg: #efebe3;
  --fg: #1a1714;
  --sc: #d2cec1;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.06) 0px,
    rgba(0,0,0,0.06) 1px,
    transparent 1px,
    transparent 3px
  );
  background-size: 100% 3px;
  animation: scan 0.3s linear infinite;
}

@keyframes scan {
  to { background-position: 0 3px; }
}

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
}

.hero {
  margin-bottom: 60px;
}

.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1rem;
  line-height: 2;
  max-width: 540px;
}

code {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.95rem;
  line-height: 2;
  max-width: 600px;
  background-color: var(--fg);
  color: var(--bg);
  padding: 2px;
}

section {
  border-top: 1px solid var(--sc);
  padding-top: 32px;
  margin-bottom: 48px;
}

section h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

section p {
  font-size: 0.95rem;
  line-height: 2;
  max-width: 600px;
}

.e {
  display: inline-block;
  height: 1.5em;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: -0.1em;
  cursor: default;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.e:hover {
  transform: rotate(-2.5deg) scale(1.04);
}
