/* Shared styles for the privacy, terms and contact pages. Matches index.html. */
:root {
  --ink: #2a1030;
  --sun: #ffc93c;
  --tomato: #ff3b2a;
  --cream: #fff4d6;
  --paper: #fffaf0;
  --display: "Lilita One", "Baloo 2", system-ui, sans-serif;
  --body: "Baloo 2", system-ui, sans-serif;
  --stroke: 4px;
  --radius: 22px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; }
.wrap { width: min(820px, 100% - 32px); margin-inline: auto; }

.top { padding: 20px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 22px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; border: 3px solid var(--ink); }
.back { font-weight: 700; text-decoration: none; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); box-shadow: 0 4px 0 var(--ink); }
.back:hover { background: var(--sun); }

.doc {
  background: var(--paper);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 7px 0 var(--ink);
  padding: clamp(22px, 5vw, 48px);
  margin: 12px auto 56px;
}
.doc h1 { font-size: clamp(36px, 7vw, 56px); }
.doc .updated { margin: 8px 0 24px; font-weight: 700; opacity: .7; }
.doc h2 { font-size: clamp(24px, 4vw, 30px); margin: 32px 0 8px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc .short { background: var(--sun); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; font-weight: 600; }

.mail {
  display: inline-block; margin-top: 8px;
  font-family: var(--display); font-size: clamp(22px, 6vw, 36px);
  color: #fff; background: var(--tomato); text-decoration: none;
  padding: 10px 22px 14px; border: var(--stroke) solid var(--ink); border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink); overflow-wrap: anywhere;
}
.mail:hover { transform: translateY(-2px); }

footer { background: var(--ink); color: var(--cream); padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; width: min(1160px, 100% - 32px); }
footer p { margin: 0; font-weight: 600; opacity: .8; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { font-weight: 700; text-decoration: none; opacity: .9; }
footer nav a:hover { text-decoration: underline; opacity: 1; }
