/* The Lifting App — marketing + legal pages.
 *
 * Brand tokens lifted from ads.md so the web feels like the app:
 * warm cream surface, near-black text, deep red accent, Inter type
 * scale. Long-form pages are constrained to ~720px for readability.
 */

:root {
  --bg-base: #f8f4ec;
  --bg-elevated: #fffefa;
  --bg-muted: #eae4d8;
  --fg-primary: #0c0c0e;
  --fg-secondary: #636059;
  --fg-muted: #a8a298;
  --accent: #ba0909;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-base: #0c0b09;
    --bg-elevated: #161412;
    --bg-muted: #24211e;
    --fg-primary: #f8f4ec;
    --fg-secondary: #a8a298;
    --fg-muted: #6e6860;
    --accent: #d11c1c;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--fg-primary);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

nav.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 48px;
}

nav.top a.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--fg-primary);
  text-decoration: none;
}

nav.top a.brand .accent {
  color: var(--accent);
}

nav.top .links a {
  color: var(--fg-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-left: 20px;
}

nav.top .links a:hover {
  color: var(--fg-primary);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

h1 {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  margin: 0 0 16px;
}

h1 .accent {
  color: var(--accent);
}

h2 {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 48px 0 16px;
  border-top: 1px solid var(--bg-muted);
  padding-top: 32px;
}

h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

h3 {
  font-weight: 700;
  font-size: 17px;
  margin: 28px 0 12px;
  color: var(--fg-primary);
}

p {
  margin: 0 0 16px;
  color: var(--fg-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.lede {
  font-size: 18px;
  color: var(--fg-primary);
  margin-bottom: 32px;
}

strong {
  color: var(--fg-primary);
  font-weight: 700;
}

ul,
ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--fg-secondary);
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid var(--bg-muted);
  margin: 48px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--bg-muted);
  vertical-align: top;
  color: var(--fg-secondary);
}

th {
  color: var(--fg-primary);
  font-weight: 700;
  background: var(--bg-elevated);
}

.meta {
  color: var(--fg-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

footer {
  border-top: 1px solid var(--bg-muted);
  margin-top: 80px;
  padding-top: 32px;
  color: var(--fg-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--fg-secondary);
  text-decoration: none;
  margin-right: 16px;
}

footer a:last-child {
  margin-right: 0;
}

.hero {
  padding: 80px 0 48px;
}

.hero p {
  max-width: 560px;
}

.cta {
  display: inline-block;
  background: var(--fg-primary);
  color: var(--bg-base);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  margin-top: 16px;
}

.cta:hover {
  text-decoration: none;
  opacity: 0.9;
}
