:root {
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #6a5ef8;
  --accent-soft: #efedff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

.top {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Same wordmark as the app (components/BrandLogo.tsx): purple bar, light "sync", heavy "news". */
.brand {
  display: inline-flex;
  align-items: center;
  color: #1a1a1c;
  font-size: 19px;
  letter-spacing: -0.3px;
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand i {
  width: 3px;
  height: 20px;
  background: #7c3aed;
  border-radius: 2px;
  margin-right: 7px;
}
.brand .s { font-weight: 300; }
.brand .n { font-weight: 800; }

.top nav a {
  color: var(--muted);
  font-size: 14px;
  margin-left: 16px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
}

h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

h2 {
  font-size: 18px;
  margin: 32px 0 8px;
}

h3 {
  font-size: 16px;
  margin: 20px 0 4px;
}

p, li { color: #374151; }
ul { padding-left: 20px; }
li { margin: 4px 0; }

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.note {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
}
.note p { margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

.hero {
  text-align: center;
  padding: 56px 8px 40px;
}
.hero h1 { font-size: 34px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 12px auto 0; }

.pill {
  display: inline-block;
  margin-top: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
}

.links {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 8px;
}
.links a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 600;
}
.links a small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.links a:hover { border-color: var(--accent); text-decoration: none; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 40px;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--muted); margin-right: 14px; }
