/* RunFiller marketing/legal site — same dark visual idiom as the app.
 * Single CSS file shared across index/privacy/terms. */

:root {
  --bg: #000;
  --bg-card: #0a0a0a;
  --bg-card-hover: #18181b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --gold: #f5c800;
  --link: #fff;
  --link-hover: #f5c800;
  --max-content: 720px;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
}

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

main {
  flex: 1;
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 96px;
}

/* Header / nav */
header {
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

header .nav {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

header .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* Reset link underline since the brand is now an image */
  border: 0;
}

header .brand img {
  display: block;
  height: 28px;
  width: auto;
}

header nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.15s;
}

header nav a:hover {
  color: var(--text);
}

/* Headings */
h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 16px 0 8px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 40px 0 12px;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin: 24px 0 8px;
  color: var(--text);
}

.meta {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lede {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 8px 0 28px;
}

/* Body content */
p {
  color: var(--text-muted);
  margin: 12px 0;
}

p strong, li strong {
  color: var(--text);
  font-weight: 600;
}

ul, ol {
  color: var(--text-muted);
  margin: 12px 0 12px 24px;
}

li {
  margin: 4px 0;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--text-faint);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Big "TL;DR" / callout */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p {
  margin: 0;
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--text-faint);
  font-size: 12px;
  text-align: center;
}

footer a {
  color: var(--text-faint);
  text-decoration: none;
  margin: 0 12px;
}

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

/* Index/landing-specific */
.hero {
  text-align: center;
  padding: 64px 24px 32px;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}

.hero p {
  font-size: 18px;
  max-width: 520px;
  margin: 24px auto 0;
}

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  header .brand img { height: 24px; }
  .hero { padding: 48px 20px 24px; }
  .hero-logo { max-width: 360px; }
  main { padding: 24px 20px 64px; }
}
