/* The flocksum.app pages: the app's light palette, and the tracker's dark
   ground when the phone is in dark mode. Values match src/theme/index.ts. */

:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --text: #122b31;
  --text-secondary: #465f66;
  --sum: #869ea4;
  --border: #e1eaed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b2c33;
    --surface: #103840;
    --text: #f4f7f8;
    --text-secondary: #c9d6d9;
    --sum: #a0aaad;
    --border: #1e4a52;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 16px 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-decoration: none;
}

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

.brand b {
  font-weight: inherit;
}

.brand span {
  color: var(--sum);
}

.card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

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

p:last-child {
  margin-bottom: 0;
}

footer {
  margin-top: 24px;
  font-size: 14px;
}

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