/* The text pages (privacy, terms, support, delete data, 404): a sky band with
   the logo, rolling hills, and the page itself on a cream card with an oak rim,
   like the game's cards. */
body {
  background:
    linear-gradient(180deg, var(--sky-top) 0, var(--sky-bot) 150px, var(--sky-bot) 170px, transparent 170px),
    var(--grass);
}
.top { position: relative; height: 210px; overflow: hidden; }
.top .brand { position: relative; z-index: 2; display: block; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding-top: 22px; }
.top .brand img { display: block; width: 300px; max-width: 100%; height: auto; filter: drop-shadow(0 6px 8px rgba(58,42,28,.25)); transition: transform .2s var(--bounce); }
.top .brand:hover img { transform: translateY(-3px) rotate(-1deg); }
.top .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.top .cloud { position: absolute; z-index: 1; top: 30px; width: 90px; height: 30px; border-radius: 30px; background: #fff; opacity: .9; }
.top .cloud::before { content: ""; position: absolute; left: 18px; top: -16px; width: 44px; height: 40px; border-radius: 50%; background: #fff; }
.top .cloud.one { left: 6%; }
.top .cloud.two { right: 7%; top: 64px; transform: scale(.8); }

main.paper {
  position: relative;
  max-width: 820px; margin: -34px auto 48px; padding: 28px 30px 36px;
  background: var(--cream-hi);
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 0 0 6px var(--oak-hi), 0 0 0 10px var(--ink), 0 18px 0 6px rgba(58,42,28,.25);
}
@media (max-width: 860px) {
  main.paper { margin: -34px 16px 48px; padding: 22px 18px 30px; }
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 700; margin: 4px 0 4px; }
h2 { font-size: 24px; font-weight: 600; color: var(--leaf); margin: 34px 0 8px; padding-top: 14px; border-top: 2px dashed var(--cream-lo); }
h3 { font-size: 19px; font-weight: 600; margin: 22px 0 4px; }
.updated { color: var(--ink-soft); margin: 0 0 22px; }
p, li { color: var(--ink-soft); }
strong { color: var(--ink); }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.card {
  background: var(--cream); border: 2px solid var(--tile-line); border-radius: 18px;
  padding: 16px 20px; margin: 20px 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* A loud strip on every page whose wording Leo still has to check */
.draft {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 0 22px; padding: 12px 16px;
  background: #fff1c2; border: 2px dashed var(--brass-lo); border-radius: 14px;
  color: var(--ink); font-size: 15px;
}
.draft b { font-family: var(--display); font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; background: var(--honey); border: 2px solid var(--ink); border-radius: 8px; padding: 0 8px; white-space: nowrap; }
.draft p { margin: 0; color: var(--ink); }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px solid var(--cream-lo); }
th { font-family: var(--display); font-weight: 600; color: var(--ink); background: var(--cream); }
td { color: var(--ink-soft); }

.big-link {
  display: inline-block; margin-top: 8px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, #8fe06a, var(--button) 55%);
  border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--button-lo), 0 5px 0 3px var(--ink);
  text-shadow: 0 2px 0 rgba(47,143,31,.8);
  transition: transform .15s var(--bounce);
}
.big-link:hover { color: #fff; transform: translateY(-2px); }
