/* Turtle Time website: shared look for every page. The teal is the app
   icon's background; text on it is dark because white on this teal is too
   faint to read comfortably. */

:root {
  --teal: #20a7ab;       /* the icon's background */
  --on-teal: #0b2526;    /* text on teal: 6:1 contrast */
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #5b5b60;
  --accent: #00737f;     /* links and buttons, as the app's readable teal */
  --on-accent: #ffffff;
  --card: #f0f6f6;
  --line: #d6e3e3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214;
    --text: #f2f2f4;
    --muted: #a8a8ae;
    --accent: #5fd3cf;
    --on-accent: #0b2526;
    --card: #1b2022;
    --line: #2c3537;
  }
}

* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--text); margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
main { max-width: 640px; margin: 0 auto; padding: 32px 16px 48px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 19px; margin: 32px 0 6px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { margin: 0 0 12px; }
a { color: var(--accent); }
.muted { color: var(--muted); }

/* Teal band across the top of every page. */
.band { background: var(--teal); color: var(--on-teal); }
.band-inner { max-width: 640px; margin: 0 auto; padding: 14px 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--on-teal); text-decoration: none; font-weight: 700; font-size: 19px;
}
.brand img { width: 44px; height: 44px; border-radius: 10px; display: block; }

/* The home page's bigger version of the band. */
.hero .band-inner { padding: 36px 16px 32px; text-align: center; }
.hero .icon { width: 128px; height: 128px; border-radius: 29px; display: block; margin: 0 auto 16px;
              box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.hero h1 { font-size: 34px; margin: 0; }
.hero .tagline { font-size: 19px; margin: 4px 0 16px; }
.pill {
  display: inline-block; background: var(--on-teal); color: #ffffff;
  border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600;
}

footer { border-top: 1px solid var(--line); }
footer .inner {
  max-width: 640px; margin: 0 auto; padding: 20px 16px 40px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted);
}
footer a { color: var(--muted); }

/* Support page: a short note, then questions that open to show the answer. */
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details > summary {
  cursor: pointer; font-weight: 600; padding: 10px 0; list-style-position: outside;
  margin-left: 20px; min-height: 44px; display: list-item;
}
details > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
details > p { margin: 0 0 12px 20px; }
details:target > summary { color: var(--accent); }
