html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #f59e0b;
  color: #0a0a0a;
}

/* Details / FAQ chevron smoothing */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Subtle grain texture on the body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.04), transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03), transparent 40%);
  z-index: -1;
}

/* Buttons — tactile feel */
a[href], button {
  transition: transform 120ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
a[href]:active, button:active {
  transform: translateY(1px);
}

/* Focus states */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Card hover lift */
.group\/card:hover {
  transform: translateY(-2px);
}
