/* Minimal overrides/utilities. Tailwind Play CDN provides most styles. */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #2563eb; /* brand */
  outline-offset: 2px;
  border-radius: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem; /* rounded-md */
  font-weight: 500;
  line-height: 1.25rem;
  text-decoration: none;
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
  padding: 0.75rem 1.25rem;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-outline {
  border: 1px solid #e5e7eb; /* gray-200 */
  color: #111827; /* gray-900 */
  padding: 0.75rem 1.25rem;
}

.btn-outline:hover {
  background-color: #f9fafb; /* gray-50 */
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.footer a {
  text-underline-offset: 4px;
}

/* Toggle summary labels for details accordions */
summary .label-open {
  display: none;
}
details[open] summary .label-open {
  display: inline;
}
details[open] summary .label-closed {
  display: none;
}
