/* Single stylesheet for the entire tredsy.com site. Deliberately
   small and framework-free — the whole point of this site is to host
   policy pages reliably; bringing in Tailwind/Bootstrap for ~5 static
   pages would be more dependency than content. */

:root {
  --bg: #ffffff;
  --bg-muted: #f7f7f8;
  --text: #1a1a1f;
  --text-muted: #5e5e6e;
  --border: #e5e5ea;
  --accent: #1a1a1f;
  --link: #2563eb;
  --max-width: 720px;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e11;
    --bg-muted: #16161a;
    --text: #f2f2f5;
    --text-muted: #9b9ba8;
    --border: #2a2a31;
    --accent: #f2f2f5;
    --link: #7aa5ff;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site-header a.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
header.site-header nav a {
  color: var(--text-muted);
  margin-left: 20px;
  font-size: 14px;
}
header.site-header nav a:hover { color: var(--text); }

h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  letter-spacing: -0.01em;
}
p, li { color: var(--text); }
.muted { color: var(--text-muted); font-size: 14px; }

.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.callout {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 15px;
}

.hero {
  text-align: center;
  padding: 80px 20px 40px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}
.hero p.lead {
  font-size: 20px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
}
.feature {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.feature h3 { margin-top: 0; }
.feature p { color: var(--text-muted); font-size: 14px; margin: 0; }

footer.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
footer.site-footer .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
footer.site-footer a {
  color: var(--text-muted);
  margin-right: 16px;
}
footer.site-footer a:hover { color: var(--text); }
