/* The privacy and terms pages: the table's green felt and gold, the
   app's own fonts (from the Flutter build's assets). */
@font-face { font-family: "Cinzel"; font-weight: 700; src: url("/assets/assets/fonts/Cinzel-700.ttf") format("truetype"); }
@font-face { font-family: "Mulish"; font-weight: 400; src: url("/assets/assets/fonts/Mulish-400.ttf") format("truetype"); }
@font-face { font-family: "Mulish"; font-weight: 700; src: url("/assets/assets/fonts/Mulish-700.ttf") format("truetype"); }

:root {
  --felt: #0f3b2c;
  --felt-deep: #0a2a1f;
  --panel: #134634;
  --gold: #d9a441;
  --gold-hi: #f3c969;
  --cream: #f4ecd8;
  --muted: #b9c7bd;
  --line: #2a5e4a;
  --display: "Cinzel", Georgia, "Times New Roman", serif;
  --body: "Mulish", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--felt-deep); }
body {
  margin: 0;
  padding: 0 16px 64px;
  background: radial-gradient(ellipse at top, var(--felt) 0%, var(--felt-deep) 70%) no-repeat, var(--felt-deep);
  color: var(--cream);
  font: 16px/1.65 var(--body);
}
main { max-width: 42rem; margin: 0 auto; }

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 8px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-hi); text-decoration: none; font: 700 1.3rem var(--display); letter-spacing: .04em; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.langs { display: flex; gap: 6px; }
.langs a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.langs a:hover, .langs a:focus-visible { border-color: var(--gold); color: var(--gold-hi); }

h1 { font: 700 clamp(1.7rem, 5vw, 2.3rem)/1.2 var(--display); color: var(--gold-hi); margin: 28px 0 4px; text-wrap: balance; }
.updated { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
h2 { font: 700 1.1rem/1.3 var(--display); color: var(--gold); letter-spacing: .03em; margin: 32px 0 8px; text-wrap: balance; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 6px; }
strong { color: #fff; }
a { color: var(--gold-hi); }
a:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0 8px;
}
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 56px 0 8px; }
footer { color: var(--muted); font-size: .85rem; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

.consent-reset {
  font: 700 0.9rem var(--body);
  color: var(--felt-deep);
  background: var(--gold);
  border: 0;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
}
.consent-reset:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
