/* Survive 100 Days — shared styles for the landing, privacy and terms pages.
   Deliberately one small file with no external fonts or frameworks: these pages
   are crawled by the Play Store and read on slow mobile connections. */

:root {
  --bg: #0e1116;
  --surface: #161b22;
  --border: #262c36;
  --text: #e6edf3;
  --muted: #9aa4b2;
  --accent: #4f9d69;
  --accent-hover: #5fb37c;
  --danger: #b4544a;
  --radius: 10px;
  --max-width: 780px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fa;
    --surface: #ffffff;
    --border: #d8dee4;
    --text: #1f2328;
    --muted: #5b6570;
    --accent: #2f6f46;
    --accent-hover: #3d8a58;
  }
}

* { box-sizing: border-box; }

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

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

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

header.site .wrap {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--text);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

nav a:hover { color: var(--text); }

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  font-size: 1.25rem;
  margin: 40px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1.05rem;
  margin: 24px 0 6px;
}

p, li { color: var(--text); }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 28px;
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

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

th {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
}

.notice {
  border-left: 3px solid var(--danger);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.notice strong { color: var(--danger); }

.fill {
  background: rgba(180, 84, 74, 0.14);
  border-bottom: 1px dashed var(--danger);
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 600;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 8px;
}

.cta:hover { background: var(--accent-hover); color: #fff; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0;
}

.features b { display: block; margin-bottom: 4px; }

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site .wrap { padding: 24px 20px; }
