  *,
  *::before,
  *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }

  html {
      scroll-behavior: smooth;
  }

  a {
      text-decoration: none;
      color: inherit;
  }

  ul {
      list-style: none;
  }

  :root {
      --bg: #0d0d0d;
      --card: #141414;
      --primary: #00ff9d;
      --beige: #f2e4cc;
      --border: rgba(255, 255, 255, 0.06);
      --text: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.55);
      --text-faint: rgba(255, 255, 255, 0.4);
      --radius: 16px;
      --font-heading: 'Inter', ui-sans-serif, system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, monospace;
      --pad-x: clamp(1.5rem, 8vw, 8rem);
  }

  body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-heading);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
  }

  ::selection {
      background: rgba(0, 255, 157, 0.2);
  }

  ::-webkit-scrollbar {
      width: 4px;
  }

  ::-webkit-scrollbar-track {
      background: #0d1117;
  }

  ::-webkit-scrollbar-thumb {
      background: #1e2a38;
      border-radius: 2px;
  }

  .section {
      padding-left: var(--pad-x);
      padding-right: var(--pad-x);
  }

  .mono-xs {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
  }

  .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.in-view {
      opacity: 1;
      transform: translateY(0);
  }

  .slide-up {
      opacity: 0;
      transform: translateY(40px);
      animation: slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
  }

  @keyframes slideUp {
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .back-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-muted);
      transition: color 0.2s;
      margin-bottom: 3rem;
  }

  .back-link:hover {
      color: var(--primary);
  }

  .back-link .lucide {
      width: 14px;
      height: 14px;
  }

  .hero {
      padding-top: 6rem;
      padding-bottom: 4rem;
  }

  .hero-label {
      color: var(--primary);
  }

  .hero-h1 {
      font-family: var(--font-heading);
      font-weight: 900;
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      letter-spacing: -0.04em;
      line-height: 0.95;
      margin-top: 1rem;
      margin-bottom: 1.5rem;
  }

  .hero-h1 .alt {
      color: var(--beige);
  }

  .hero-date {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.05em;
      color: var(--text-faint);
  }

  .intro {
      padding-bottom: 3rem;
  }

  .intro-card {
      padding: 2rem;
      background: var(--card);
      border-radius: var(--radius);
      border-left: 2px solid var(--primary);
      margin-bottom: 2rem;
  }

  .intro-card p {
      font-size: 0.875rem;
      line-height: 1.6;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
  }

  .toc-card {
      padding: 2rem;
      background: var(--card);
      border-radius: var(--radius);
      border: 1px solid var(--border);
  }

  .toc-title {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
      color: var(--beige);
  }

  .toc-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.5rem;
  }

  @media (min-width: 768px) {
      .toc-grid {
          grid-template-columns: 1fr 1fr;
      }
  }

  .toc-link {
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.45);
      transition: color 0.2s;
  }

  .toc-link:hover {
      color: var(--primary);
  }

  .sections {
      padding-bottom: 8rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
  }

  .section-card {
      padding: 2rem;
      background: var(--card);
      border-radius: var(--radius);
      border: 1px solid var(--border);
  }

  .section-card h2 {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.125rem;
      margin-bottom: 1rem;
      color: var(--beige);
  }

  .section-card p {
      font-size: 0.875rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.6);
      white-space: pre-line;
  }

  @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
          animation-duration: 0.01ms !important;
          transition-duration: 0.01ms !important;
      }
  }