* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
}

/* Index page background image (only on /) */
body.index-page {
  background-image: url("corncob-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fafafa; /* fallback while image loads */
}

/* Main page: centered button */
.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: #1a1a1a;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
  background: #333;
}

.cta-button:active {
  transform: scale(0.98);
}

/* Legal pages */
.legal-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: 100vh;
}

.legal-page header {
  margin-bottom: 2rem;
}

.legal-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.legal-page .subtitle {
  font-size: 0.875rem;
  color: #666;
}

.legal-content {
  line-height: 1.65;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #1a1a1a;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #333;
}
