/* Fallback styles for static/dev previews if Tailwind CSS is not yet hydrated. */
body {
  margin: 0;
  color: #18201d;
  background: #f8faf8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(24, 32, 29, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

header > div,
footer > div,
section > div,
section.mx-auto,
article.mx-auto {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

section {
  padding-top: 48px;
  padding-bottom: 48px;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 750;
}

h3 {
  font-weight: 700;
}

p,
dd,
li {
  line-height: 1.8;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid rgba(24, 32, 29, 0.1);
}

input,
button {
  border-radius: 4px;
}

.bg-white { background: #fff; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f3f4f6; }
.bg-pine { background: #1e5a42; }
.text-white { color: #fff; }
.text-pine { color: #1e5a42; }
.text-brass { color: #c28a2d; }
.text-ink { color: #18201d; }
.rounded { border-radius: 4px; }
.border { border: 1px solid rgba(24, 32, 29, 0.1); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 1280px; }
.max-w-4xl { max-width: 896px; }
.grid { display: grid; }
.flex { display: flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-14 { padding-top: 56px; padding-bottom: 56px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-7 { margin-top: 28px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-8 { margin-bottom: 32px; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-7 { line-height: 1.75; }
.leading-8 { line-height: 2; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-\[1\.1fr_0\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
  .lg\:grid-cols-\[1fr_320px\] { grid-template-columns: 1fr 320px; }
  .lg\:grid-cols-\[1fr_360px\] { grid-template-columns: 1fr 360px; }
  .lg\:items-center { align-items: center; }
}
