/* befbuy.com's plain pages (privacy, terms, help, account deletion). Colors
   and type come from tokens.css, generated from design/tokens.json, so these
   pages match the app. build.sh copies tokens.css and the fonts next to this. */
@import url("/tokens.css");

@font-face { font-family: "Public Sans"; src: url("/fonts/PublicSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/PublicSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/PublicSans-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bb-page);
  color: var(--bb-text);
  font-family: var(--bb-font-text);
  font-size: 16px;
  line-height: 1.6;
}
main { max-width: 680px; margin: 0 auto; padding: 24px 16px 64px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
header img { height: 28px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: inline; }
}
h1 { font-size: 32px; line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 36px 0 8px; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 4px; }
p, li { color: var(--bb-text-quiet); }
.meta { color: var(--bb-text-secondary); font-size: 14px; }
a { color: var(--bb-text); text-underline-offset: 3px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--bb-line); }
th { color: var(--bb-text-secondary); font-weight: 600; white-space: nowrap; }
.card { background: var(--bb-fill); border-radius: 18px; padding: 16px 18px; margin: 16px 0; }
.card p { margin: 4px 0; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--bb-line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
footer a { color: var(--bb-text-secondary); text-decoration: none; }
footer a:hover { color: var(--bb-text); }
