/* public/fallback.css
   Minimal fallback styles: ensures readable layout and basic components.
   Keep this file small and focused on structural styles only.
*/

:root {
  --primary: #0ea5a4;
  --muted: #6b7280;
  --bg: #ffffff;
  --border: #e5e7eb;
}

html, body, #__next {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: #111827;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 18px;
  font-weight: 600;
}

.main-hero {
  padding: 2rem 0;
}

.h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.lead {
  color: var(--muted);
  margin: 0 0 1rem 0;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.card {
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
}

.grid {
  display: block;
}

.grid-cols-3 > .card {
  display: block;
  margin-bottom: 8px;
}

/* small responsive helper */
@media (min-width: 768px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .main-row {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1rem;
  }
}
