/* Shared brand palette for the app and static legal pages. */
:root {
  color-scheme: light;
  --page-bg: #FDFDFE;
  --surface-bg: #FFFFFF;
  --surface-tint: #EDF5F4;
  --surface-hover: #DFEEEC;
  --text: #162828;
  --text-muted: #162828;
  --highlight: #075D58;
  --accent: #EB8721;
  --line: #CBDDDB;
  --strong-bg: #162828;
  --on-strong: #FDFDFE;
  --button-bg: #075D58;
  --button-text: #FDFDFE;
  --button-hover: #064C48;
  --accent-text: #162828;
  --shadow-color: #162828;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #162828;
  --surface-bg: #1C3433;
  --surface-tint: #213E3C;
  --surface-hover: #294D49;
  --text: #00FFF0;
  --text-muted: #00FFF0;
  --highlight: #EB8721;
  --line: #426561;
  --on-strong: #00FFF0;
  --button-bg: #EB8721;
  --button-text: #162828;
  --button-hover: #F39B42;
}

html, body { background: var(--page-bg); color: var(--text); }
::selection { background: var(--accent); color: var(--accent-text); }

/* Standalone legal pages share the same action and logo treatment. */
.wrap .button { background: var(--button-bg); color: var(--button-text); }
.wrap .button:hover { background: var(--button-hover); }
.wrap .brand img { background: #FDFDFE; border-radius: 7px; }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 22px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.footer-socials a:hover {
  background: var(--surface-hover);
  border-color: var(--highlight);
  color: var(--highlight);
}
.footer-socials a:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 4px;
}
.footer-social-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #FFFFFF;
}
.footer-social-logo img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
/* These official assets are white and need contrasting brand backgrounds. */
.footer-socials [data-platform="x"] .footer-social-logo {
  background: #000000;
}
.footer-socials [data-platform="linkedin"] .footer-social-logo {
  background: #0A66C2;
}
