/* variables */
:root {
  --bg: #000;            /* asphalt black */
  --fg: #cfcfcf;         /* light grey text */
  --max-width: 500px;    /* narrower central column on desktop */
  --side-padding: 24px;  /* horizontal padding */
  --top-offset: 15vh;    /* move column slightly down from top */
}

/* reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* base */
body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;

  /* vertical positioning */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--top-offset);
}

/* central column */
main.arena {
  width: 100%;
  max-width: var(--max-width);  /* desktop: narrow column */
  margin: 0 auto;               /* horizontal center */
  padding: 0 var(--side-padding);
  text-align: left;             /* left-align heading and body */
  box-sizing: border-box;
}

/* headings */
main.arena h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
  color: var(--fg);
  text-align: left;
}

/* body text */
main.arena p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin: 1.5rem 0;
  color: var(--fg);
}

/* separators */
main.arena hr {
  border: none;
  margin: 3rem 0;
  border-top: 1px solid #333;
}

/* links */
main.arena a {
  display: inline-block;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--fg);
  text-decoration: none;
  margin: 1rem 1.5rem 0 0;
  position: relative;
}

main.arena a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--fg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

main.arena a:hover::after {
  opacity: 1;
}

/* mobile */
@media (max-width: 700px) {
  body {
    padding-top: 8vh; /* smaller top offset on mobile */
  }

  main.arena {
    max-width: 100%;       /* take full width on mobile */
    padding: 0 16px;       /* comfortable side padding */
  }

  main.arena h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  main.arena p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin: 1rem 0;
  }
}
