a {
  color: #d4d4d4;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.pdf-container {
  width: 100%;
  max-width: 900px;
  height: 100vh;
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pdf-container iframe {
  width: 100%;
  height: 100%;
}


/* ═══════════════════════════════════════════
   RUJIT SHRESTHA — Shared Design System
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&family=Syne:wght@400;500;600;700;800&display=swap');

/* ── Tokens ── */
:root {
  --bg:             #030303;
  --surface:        #0a0a0a;
  --surface-hover:  #111111;
  --border:         rgba(255, 255, 255, 0.06);
  --border-hover:   rgba(255, 255, 255, 0.14);
  --text-primary:   #f5f5f5;
  --text-secondary: #a1a1aa;
  --text-muted:     #52525b;
  --accent:         #e5d5b7;
  --accent-dim:     rgba(229, 213, 183, 0.1);
  --accent-glow:    rgba(229, 213, 183, 0.18);

  --font-display: 'Syne', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #1a1a1a #030303;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-mono);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── Grain overlay (shared) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
}

/* ── Scroll progress bar ── */
.scroll-line {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  z-index: 200;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ── Links (shared base) ── */
a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 213, 183, 0.2);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}