/* Base styles for Triggr static pages */
:root {
  --bg-blur: 6px;
  --fg: #0d1b2a;
  --fg-contrast: #ffffff;
  --link: #00e5ff;
  --link-hover: #b3f5ff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
  color: var(--fg);
  line-height: 1.6;
  background: url('./abd6999abdf17ab13c81e78c65aae46d2bd9d106.png') center/cover fixed no-repeat;
}

/* Removed blur/overlay for a crisp background */

.wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 960px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.3px;
  color: var(--fg);
}

nav a {
  color: var(--link);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}

nav a:hover,
nav a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

main h1 {
  margin-top: 8px;
  margin-bottom: 16px;
}

main h2 {
  margin-top: 24px;
}

footer.site-footer {
  margin-top: 24px;
  font-size: 14px;
  opacity: 0.9;
}

.muted { color: #333; }

/* Content helpers */
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.25rem 0; }
.prose strong { font-weight: 700; }

.hero {
  text-align: center;
  padding: 24px 12px 8px;
}

.hero .logo {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn:hover { filter: brightness(1.1); }

.nav-links { white-space: nowrap; }

/* Small screens */
@media (max-width: 520px) {
  nav a { margin-left: 10px; }
  .hero .logo { font-size: 36px; }
}

/* Ensure exact Markdown text wraps nicely when embedded in <pre> */
pre { white-space: pre-wrap; word-wrap: break-word; }
