@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --text: #e3e6d9;
  --muted: #b8b8b4;
  --accent: #a3c29a;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

body {
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(135deg, #171d19 0%, #111612 100%);
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: '';
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(163, 194, 154, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 194, 154, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  animation: lab-grid 18s linear infinite;
}

body::after {
  position: fixed;
  top: var(--pointer-y);
  left: var(--pointer-x);
  z-index: 0;
  width: 45vw;
  height: 45vw;
  max-width: 520px;
  max-height: 520px;
  pointer-events: none;
  content: '';
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 194, 154, 0.1), transparent 68%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
}

main {
  flex: 1;
  width: min(calc(100% - 3rem), 680px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  max-width: 680px;
  margin: 0;
  padding: clamp(5rem, 16vh, 10rem) 0 4rem;
  text-align: left;
}

.hero h1 {
  max-width: none;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(3rem, 9vw, 5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #e3e6d9 35%, #a3c29a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 30px rgba(163, 194, 154, 0.12);
}

.disclaimer {
  margin-top: 1.75rem;
  padding: 0;
  max-width: 39rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  letter-spacing: 0.012em;
  margin-bottom: 2.25rem;
}

.disclaimer strong {
  color: var(--accent);
  font-weight: 500;
}

.disclaimer > strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.disclaimer > strong::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(163, 194, 154, 0.7);
  content: '';
}

.disclaimer p {
  max-width: 37rem;
  text-wrap: pretty;
}

.disclaimer em {
  color: var(--text);
  font-style: normal;
  text-shadow: 0 0 12px rgba(163, 194, 154, 0.15);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 1.4rem;
}

.social-links a {
  display: inline-block;
  padding: 0;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.social-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.animate {
  animation: fadeIn 0.5s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lab-grid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(42px, 42px, 0);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate {
    animation: none;
  }

  body::before,
  body::after {
    animation: none;
    transition: none;
  }
}
