/*
 * Styles for the static pages (about.html, privacy.html). These pages are plain HTML so
 * search engines and ad reviewers can read them without running the app. Colors follow the
 * app's light and dark themes (src/ui/theme.css); Bamboo shows as light here.
 */
:root {
  color-scheme: light;
  --bg: #f2f2f3;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #6b6b74;
  --line: #d4d4d8;
  --accent: #2f8a52;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #161618;
  --surface: #202023;
  --text: #ececee;
  --muted: #9d9da6;
  --line: #36363c;
  --accent: #6fcf8b;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

.page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.page__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 650;
  font-size: 18px;
  text-decoration: none;
}

.page__play {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}

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

h2 {
  margin: 36px 0 8px;
  font-size: 20px;
}

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

p,
ul {
  margin: 0 0 12px;
}

li {
  margin-bottom: 4px;
}

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

.page__lead {
  color: var(--muted);
  font-size: 17px;
}

kbd {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  font: inherit;
  font-size: 14px;
}

/* Contact form (contact.html). */
.form {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.form__field {
  display: grid;
  gap: 6px;
}

.form__label {
  font-weight: 600;
}

.form__optional {
  color: var(--muted);
  font-weight: 400;
}

.form textarea,
.form input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: inherit;
  font: inherit;
}

.form textarea {
  resize: vertical;
}

/* The honeypot: off screen rather than display:none, which some bots skip. */
.form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  min-height: 1.6em;
  margin: 0;
  color: var(--muted);
}

.form__send {
  justify-self: start;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form__send:disabled {
  opacity: 0.6;
  cursor: default;
}

.form__done {
  font-size: 18px;
}

.form__alt {
  color: var(--muted);
  font-size: 14px;
}

.page__foot {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.page__foot a {
  color: inherit;
}
