/* -----------------------------------
   GLOBAL RESET
----------------------------------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* -----------------------------------
   LINKS
----------------------------------- */

a {
  position: relative;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

a:hover {
  color: var(--accent-2);
}

a:hover::after {
  width: 100%;
}

/* Remove underline animation from cards wrapped in <a> */
a:has(.card)::after {
  display: none !important;
}

/* Prevent link underline animation from affecting headings */
h1::after,
h2::after,
h3::after {
  content: none !important;
}


/* -----------------------------------
   WRAPPER
----------------------------------- */
.wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px; /* keep 24px, it looks better */
}

/* -----------------------------------
   SECTION DIVIDER
----------------------------------- */
.section-divider {
  height: 1px;
  background: var(--border-light);
  margin: 40px 0;
}

/* -----------------------------------
   PDF WRAPPER
----------------------------------- */
.pdf-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-light);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.pdf-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  overflow: hidden;
}

/* -----------------------------------
   SCROLL REVEAL
----------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------
   PLACEHOLDER
----------------------------------- */

::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

