/* ==============================
   Fonts
============================== */

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.woff2") format("woff2"),
       url("fonts/Roboto-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.woff2") format("woff2"),
       url("fonts/Roboto-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Reset
============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==============================
   Base
============================== */

html {
  font-size: 16px;
}

body {
  background-color: #000;
  color: #eaeaea;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* ==============================
   Layout
============================== */

.container {
  max-width: 760px;                 /* slightly narrower for better harmony */
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* ==============================
   Typography & Rhythm
============================== */

h1, h2, h3 {
  font-weight: 700;
}

/* Header block */

h1 {
  font-size: 1.85rem;               /* slightly reduced for balance */
  margin-bottom: 0.5rem;
}

.tagline {
  margin-bottom: 2.25rem;           /* distinct from section spacing */
  font-size: 1rem;
}

/* Sections */

section + section {
  margin-top: 2.75rem;              /* consistent section spacing */
}

h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

p {
  font-size: 1rem;
}

/* Question blocks */

article {
  margin-bottom: 1.5rem;            /* slightly tighter than section gap */
}

article:last-child {
  margin-bottom: 0;
}

/* All questions link */

.all-questions {
  margin-top: 2.75rem;
  font-weight: 700;
}

/* ==============================
   Links
============================== */

a {
  display: block;
  color: inherit;
  text-decoration: none;
}

article a:hover {
  cursor: pointer;
}

/* ==============================
   Scrollbar (Chromium/WebKit)
============================== */

::-webkit-scrollbar {
  width: 15px;
  background-color: #2b2b2b;
}

::-webkit-scrollbar-track {
  background-color: #2b2b2b;
}

::-webkit-scrollbar-thumb {
  background-color: #3f3f3f;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #565656;
}

::-webkit-scrollbar-thumb:active {
  background-color: #6a6a6a;
}

::-webkit-scrollbar-button {
  height: 15px;
  background-color: #2b2b2b;
}

::-webkit-scrollbar-button:hover {
  background-color: #3a3a3a;
}

::-webkit-scrollbar-button:active {
  background-color: #4a4a4a;
}

::-webkit-scrollbar-button:vertical:decrement {
  background: #2b2b2b
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'>\
<polygon points='50,32 20,68 80,68' fill='rgb(150,150,150)'/>\
</svg>")
    center / 10px no-repeat;
}

::-webkit-scrollbar-button:vertical:increment {
  background: #2b2b2b
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'>\
<polygon points='50,68 20,32 80,32' fill='rgb(150,150,150)'/>\
</svg>")
    center / 10px no-repeat;
}