:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid #e2e8f0;
}

.site-header-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
}

.site-logo img {
  height: 2.25rem;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--primary);
}

main {
  flex: 1;
  width: 100%;
}

.hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.25;
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 20rem;
  margin: 0 auto 2rem;
}

@media (min-width: 480px) {
  .cta-row {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
}

button.btn {
  font: inherit;
  cursor: pointer;
}

button.btn:disabled {
  cursor: not-allowed;
  opacity: 0.88;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.site-footer {
  margin-top: auto;
  padding: 1.5rem;
  background: var(--surface);
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.site-footer-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer-links a {
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

/* Legal / prose pages */
.prose-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.prose-wrap h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
}

.prose-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.prose-wrap h2 {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.prose-wrap p,
.prose-wrap li {
  font-size: 0.9375rem;
  color: var(--text);
  margin: 0 0 1rem;
}

.prose-wrap ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.placeholder-note {
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
  font-size: 0.875rem;
  color: #1e40af;
  margin-bottom: 1.5rem;
}
