/* The pages of MIRAINER on the web (P-4): the privacy policy, the terms
   and the support page that the stores link to. Plain HTML and CSS, with
   nothing fetched from elsewhere, so no one who reads them is tracked. */

:root {
  --cherry: #c5406a;
  --cherry-soft: #fbe8ee;
  --ink: #2a2328;
  --ink-muted: #5e5258;
  --line: #f0e3e7;
  --ground: #fcf8f9;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cherry: #f08aa9;
    --cherry-soft: #3a2630;
    --ink: #f4eef1;
    --ink-muted: #c9bcc2;
    --line: #3a3236;
    --ground: #1c181a;
    --card: #262124;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

header,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  padding-top: 24px;
}

header a.brand {
  color: var(--cherry);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink-muted);
}

h1 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 32px 0 8px;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 32px 0 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

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

.lead {
  color: var(--ink-muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.95rem;
}

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

th {
  background: var(--cherry-soft);
  white-space: nowrap;
}

.note {
  background: var(--cherry-soft);
  border-radius: 12px;
  padding: 12px 16px;
}

/* A blank still to be filled before the page is put up (site/README.md). */
mark.todo {
  background: #ffe58a;
  color: #2a2328;
  padding: 0 4px;
  border-radius: 4px;
}

footer {
  margin-top: 48px;
  padding-bottom: 32px;
  color: var(--ink-muted);
  font-size: 0.85rem;
}
