/* Support and privacy pages for Hidden in the Story. Plain system fonts on purpose:
   the game's fonts are licensed for the game, not for a public website. */
:root {
  --night: #13335f;
  --night-deep: #0d2446;
  --parchment: #fff6dc;
  --ink: #2a2a33;
  --accent: #e2a830;
  --green: #2f8a5b;
  --card: #ffffff;
  --line: #e7dfc8;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--parchment);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: #1f5fa8; }
a:hover { color: var(--night); }

.top {
  background: var(--night);
  background-image: radial-gradient(ellipse 60% 100% at 50% 0%, #1d4a85, var(--night) 70%);
  color: #fff;
  padding: 28px 16px 20px;
  text-align: center;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.brand img { width: 120px; height: 120px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.brand-name { font-size: 26px; font-weight: 700; letter-spacing: .2px; }
.brand-name sup { font-size: .45em; margin-left: 2px; }
nav { margin-top: 16px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 6px 2px; border-bottom: 2px solid transparent; opacity: .85; }
nav a:hover, nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--accent); color: #fff; }

main { max-width: 720px; margin: 0 auto; padding: 28px 16px 48px; }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 10px; color: var(--night); }
h2 { font-size: 22px; margin: 32px 0 10px; color: var(--night); }
.lead { font-size: 19px; }
.meta { color: #6b6b75; margin-top: -4px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 22px 0; box-shadow: 0 6px 18px rgba(19, 51, 95, .08); }
.card h2 { margin-top: 0; }
.contact { font-size: 22px; font-weight: 700; margin: 6px 0 0; }
.contact a { color: var(--green); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--night); list-style: none; display: flex; align-items: center; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "▸"; color: var(--accent); font-size: 18px; transition: transform .15s; }
details[open] summary::before { transform: rotate(90deg); }
details p { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin: 6px 0; }

footer { background: var(--night-deep); color: #c9d4e6; text-align: center; padding: 24px 16px 32px; font-size: 14px; }
footer p { margin: 6px 0; }
footer a { color: #fff; }
