/* Lumi: política de privacidade e termos. Same palette and fonts as the app (src/constants/theme.ts). */

:root {
  /* Same values as the app (src/constants/theme.ts): day scheme, then night. */
  --bg: #fff7ec;
  --surface: #f6eadb;
  --text: #1d1a47;
  --text2: #6b6590;
  --accent: #c2502f;
  --stroke: #eadfce;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #141235;
    --surface: #231f5c;
    --text: #ece7f6;
    --text2: #a9aedb;
    --accent: #f6c95b;
    --stroke: #2f2a6e;
  }
}

:root[data-theme='dark'] {
  --bg: #141235;
  --surface: #231f5c;
  --text: #ece7f6;
  --text2: #a9aedb;
  --accent: #f6c95b;
  --stroke: #2f2a6e;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 96px;
  height: auto;
}
.brand .on-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  .brand .on-light {
    display: none;
  }
  .brand .on-dark {
    display: block;
  }
}

h1,
h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

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

h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

.meta {
  color: var(--text2);
  font-size: 15px;
  margin: 0 0 24px;
}

.summary {
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: 24px;
  padding: 20px 22px;
  margin: 24px 0;
}

.summary h2 {
  margin-top: 0;
}

ul {
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

a {
  color: var(--accent);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.card {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: 24px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--text);
}

.card strong {
  display: block;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 22px;
}

.card span {
  color: var(--text2);
  font-weight: 400;
}

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1.5px solid var(--stroke);
  color: var(--text2);
  font-size: 15px;
}

footer a {
  margin-right: 16px;
}
