.font-inter {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}

html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

.surface {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.surface-strong {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.section-tint {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.0));
}

.section-tint-2 {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09), rgba(16, 185, 129, 0.0));
}

.navlink {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(15 23 42);
  border: 1px solid transparent;
}
.navlink:hover {
  background: rgb(248 250 252);
  border-color: rgb(226 232 240);
}

.mobilelink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  padding: 0.85rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgb(15 23 42);
}
.mobilelink:hover {
  background: rgb(248 250 252);
}

/* Mobile drawer animation */
.mobile-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  transform: translateX(102%);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-overlay,
  .mobile-drawer {
    transition: none;
  }
}

.footerlink {
  color: rgb(51 65 85);
}
.footerlink:hover {
  color: rgb(15 23 42);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Minimal typography helpers (so we don't depend on Tailwind typography plugin) */
.prose p { margin: 0.75rem 0; line-height: 1.8; }
.prose h2 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 800; }
.prose h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 800; }
.prose ul { margin: 0.75rem 0; padding-left: 1.25rem; list-style: disc; }
.prose a { color: rgb(29 78 216); text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { font-size: 1.05rem; color: rgb(51 65 85); }

/* Line clamp helpers (Tailwind CDN doesn't ship the plugin by default) */
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

