/* RCORE custom styles layered on top of Tailwind */

html {
  scroll-behavior: smooth;
}

/* offset anchor targets so fixed nav doesn't cover headings */
section[id],
main [id] {
  scroll-margin-top: 5.5rem;
}

/* umbrella eyebrow kicker */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #187FC3;
  margin-bottom: 0.5rem;
}

/* legal / policy pages */
.legal { color: #1f2937; line-height: 1.7; }
.legal h2 { font-size: 1.5rem; font-weight: 700; color: #0C234B; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal h3 { font-size: 1.125rem; font-weight: 600; color: #0C234B; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: #187FC3; text-decoration: underline; }
.legal strong { color: #0C234B; font-weight: 600; }
.legal dl dt { font-weight: 600; color: #0C234B; }

/* service list items with check marks */
.svc-item {
  position: relative;
  padding-left: 1.75rem;
  color: #000;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}
.svc-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  background-color: #187FC3;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* tech / skill chips */
.chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(24, 127, 195, 0.1);
  color: #187FC3;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0.15rem 0.15rem 0.15rem 0;
}
/* chip as a citation link */
a.chip {
  text-decoration: none;
  transition: background-color 0.15s ease;
}
a.chip:hover,
a.chip:focus-visible {
  background-color: rgba(24, 127, 195, 0.2);
  text-decoration: underline;
}

/* LLMO data tables */
.rcore-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}
.rcore-table thead th {
  background-color: #187FC3;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 0.85rem 1rem;
}
.rcore-table tbody th {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
  font-weight: 600;
  color: #0C234B;
  width: 22%;
  white-space: nowrap;
}
.rcore-table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  color: #1f2937;
}
.rcore-table tbody tr:nth-child(even) {
  background-color: #F6FAFD;
}
.rcore-table tbody tr + tr th,
.rcore-table tbody tr + tr td {
  border-top: 1px solid #eef2f7;
}

/* visually hidden, still available to crawlers and screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
