/* Pitako's privacy policy and support pages. Colours and type follow brand/BRAND.md. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/GeistMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  --page: #0a0b0d;
  --card: #141519;
  --rule: #2c2f36;
  --card-rule: #22252a;
  --text: #ffffff;
  --muted: #a8acb3;
  color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #f5f6f8;
    --card: #ffffff;
    --rule: #e2e5ea;
    --card-rule: #e2e5ea;
    --text: #0a0b0d;
    --muted: #5b616e;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

header {
  margin-bottom: 40px;
}

header picture,
header img {
  display: block;
}

header img {
  width: 120px;
  height: auto;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  margin: 40px 4px 12px;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: 600;
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 20px;
}

.card > :last-child,
.card li:last-child,
.item > :last-child {
  margin-bottom: 0;
}

.item + .item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--card-rule);
}

.item > :first-child {
  margin-bottom: 4px;
}

.label {
  color: var(--muted);
  font-size: 12px;
}

.num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Links stay text colour: BRAND.md keeps the accent and accentText off text it does not name. */
a {
  color: var(--text);
  text-decoration-color: var(--muted);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--text);
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
}

footer a {
  margin-right: 16px;
}
