:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Subtle background pattern */
.bg-grid {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,0.08) 1px, transparent 0);
  background-size: 18px 18px;
}

/* Nice focus ring for a11y */
:focus-visible { outline: none; box-shadow: 0 0 0 6px rgba(59,130,246,0.18); border-radius: 12px; }

/* Smooth card hover lift */
.lift { transition: transform .18s ease, box-shadow .18s ease; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(2,6,23,0.10); }

/* Tiny gradient border helper */
.g-border {
  position: relative;
  background: white;
}
.g-border:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(34,211,238,0.25), rgba(16,185,129,0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .lift, .lift:hover { transition: none; transform: none; }
}
