/* Shared look for the FantaReminder pages (support, privacy):
   plain reading column, with the app's brand green as the only accent. */

:root {
  color-scheme: light dark;
  --green: #0E9F52;
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --muted: #777777;
  --border: rgba(0, 0, 0, 0.08);
  --link: #0A7F42;
  --tint: rgba(14, 159, 82, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --text: #E6E6E6;
    --muted: #999999;
    --border: rgba(255, 255, 255, 0.1);
    --link: #35D07F;
    --tint: rgba(53, 208, 127, 0.12);
  }
}

* { box-sizing: border-box; }

body {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--link); text-underline-offset: 2px; }

/* App header */
.app-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.app-header .icon {
  width: 56px; height: 56px;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.app-header .name { margin: 0; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.app-header .tagline { margin: 0; color: var(--muted); font-size: 0.95rem; }

.tabs { margin-left: auto; display: flex; gap: 16px; font-size: 0.95rem; }
.tabs a { color: var(--muted); text-decoration: none; padding-bottom: 2px; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] {
  color: var(--text); font-weight: 600;
  border-bottom: 2px solid var(--green);
}

/* Content */
h1 { font-size: 1.8rem; margin: 32px 0 0.2em; }
h2 { font-size: 1.2rem; margin-top: 1.8em; }
.updated { color: var(--muted); font-size: 0.95rem; margin-top: 0; }

.box {
  margin-top: 1.4em;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--tint);
}
.box p { margin: 0; }

.contact { display: flex; align-items: center; gap: 16px; margin-top: 2.4em; }
.contact img { width: 56px; height: auto; flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.22)); }
.contact h2 { margin: 0 0 2px; }

footer { margin-top: 2.4em; color: var(--muted); font-size: 0.9rem; }
footer a { color: inherit; }

@media (max-width: 520px) {
  .app-header { flex-wrap: wrap; }
  .tabs { margin-left: 0; width: 100%; }
}
