/* Shared styles for BuildEasy legal / support static pages */

:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #1a1d24;
  --muted: #5c6370;
  --accent: #2563eb;
  --border: #e2e5eb;
  --radius: 10px;
  --max: 42rem;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.site-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.site-header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-header .meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.nav a {
  font-weight: 500;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card h2:first-child {
  margin-top: 0;
}

.card h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  margin: 0 0 1rem;
}

.card ul,
.card ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.card li {
  margin-bottom: 0.35rem;
}

.card .lead {
  font-size: 1.0625rem;
  color: var(--muted);
}

.placeholder-note {
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: calc(var(--radius) - 2px);
}

.placeholder-note strong {
  color: var(--text);
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-list li {
  margin-bottom: 0.75rem;
}

.index-list a {
  font-weight: 500;
}

@media (min-width: 480px) {
  .wrap {
    padding: 2rem 1.5rem 4rem;
  }

  .site-header h1 {
    font-size: 1.625rem;
  }
}
