/* Fairshare static site — shared styles. Mobile-first, no JS, light + dark. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --border: rgba(0, 0, 0, 0.08);
  --text: #111111;
  --text-muted: #6B6B6B;
  --text-subtle: #9A9A9A;
  --accent: #007AFF;
  --amber: #B45309;
  --green: #059669;
  --max-width: 640px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E10;
    --bg-soft: #161618;
    --border: rgba(255, 255, 255, 0.1);
    --text: #FAFAFA;
    --text-muted: #A3A3A3;
    --text-subtle: #6B6B6B;
    --accent: #0A84FF;
    --amber: #FBBF24;
    --green: #10B981;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue',
               Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

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

h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

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

h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin: 28px 0 8px;
}

p {
  margin: 0 0 14px;
  color: var(--text);
}

p.lead {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 32px;
}

strong { font-weight: 600; }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

code {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

/* — site header — */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
}

header.site .brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

header.site nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

header.site nav a {
  color: var(--text-muted);
}

header.site nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* — hero (landing page) — */

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 56px;
}

.hero img.logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hero h1 {
  font-size: 44px;
}

.hero .tagline {
  font-size: 19px;
  color: var(--text-muted);
  margin: 12px 0 24px;
}

.hero .availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-soft);
}

.hero .availability .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

/* — value bullets (landing) — */

.bullets {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.bullet {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bullet .marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.bullet h3 { margin-top: 0; }

.bullet p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* — footer — */

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 24px 48px;
  text-align: center;
  font-size: 14px;
  color: var(--text-subtle);
}

footer.site nav {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

footer.site nav a { color: var(--text-muted); }
