/* =========================================
   Runpik website — minimal stylesheet
   Pure CSS, no preprocessor, no build step.
   ========================================= */

:root {
  --bg: #fefefe;
  --text: #1a1a1a;
  --text-muted: #666;
  --accent: #0066cc;
  --border: #e5e5e5;
  --notice-bg: #fff8e1;
  --notice-border: #f0c419;
}

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

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

/* ---------- Header ---------- */

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ---------- Main ---------- */

main {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

/* ---------- Hero (index.html) ---------- */

.hero {
  text-align: center;
  padding: 2rem 0 4rem;
}

.hero h1 {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero .coming-soon {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-size: 0.95rem;
}

/* ---------- Legal pages (terms.html, privacy.html) ---------- */

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal .last-updated {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.legal h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

.placeholder-notice {
  background: var(--notice-bg);
  border-left: 4px solid var(--notice-border);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* ---------- Links ---------- */

a {
  color: var(--accent);
}

a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer nav {
  margin-bottom: 1rem;
}

footer nav a {
  margin: 0 1rem;
  color: var(--text-muted);
  text-decoration: none;
}

footer nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

footer .copyright {
  font-size: 0.85rem;
}

/* ---------- Mobile responsiveness ---------- */

@media (max-width: 600px) {
  header {
    padding: 1.25rem 1.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .lead {
    font-size: 1.05rem;
  }
  main {
    padding: 2rem 1.5rem;
  }
}
