/* Shared styles for the static legal pages (privacy, terms, delete-account).
   Plain HTML so store reviewers and crawlers can read them without JavaScript.
   Colors match src/landing.css. */
:root {
  --green: #29d235;
  --green-deep: #137a1d;
  --tint: #e6fbe8;
  --cream: #fdf8f2;
  --ink: #0c1a0e;
  --text: #3a3e3b;
  --muted: #6a6f6b;
  --line: rgba(12, 26, 14, .1);
  --warn-bg: #fff4e5;
  --warn-line: #f2c98a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Open Sauce Sans', 'Arial Nova', Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--green-deep); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid rgba(41, 210, 53, .55); outline-offset: 3px; border-radius: 6px; }

.top { border-bottom: 1px solid var(--line); background: rgba(253, 248, 242, .95); }
.top-inner, .page, .foot-inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* Same lockup positioning as .lp-logo in the app and on the landing page. */
.logo { --logo: 30px; --wordmark: 19.5px; --logo-gap: 2px; --logo-lift: -.5px; --badge-lift: .2px; display: inline-flex; align-items: center; gap: var(--logo-gap); text-decoration: none; }
.logo i { flex: none; width: var(--logo); height: var(--logo); transform: translateY(var(--badge-lift)); background: var(--green); -webkit-mask: url('/images/safebiteLogoWhite.png') center / contain no-repeat; mask: url('/images/safebiteLogoWhite.png') center / contain no-repeat; }
.logo img { height: var(--wordmark); width: auto; display: block; transform: translateY(var(--logo-lift)); }
.top nav { display: flex; gap: 18px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--green-deep); }

.page { padding-top: 44px; padding-bottom: 72px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(30px, 6vw, 40px); margin: 0 0 8px; }
h2 { font-size: 22px; margin: 44px 0 10px; padding-top: 8px; }
h3 { font-size: 18px; margin: 26px 0 6px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.lead { font-size: 19px; color: var(--ink); }
p, li { overflow-wrap: anywhere; }
ul, ol { padding-left: 1.3em; }
li { margin: 6px 0; }
strong { color: var(--ink); }

.toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 28px 0 8px; }
.toc p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; columns: 2 220px; column-gap: 28px; }
.toc li { margin: 3px 0; break-inside: avoid; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 18px 0; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card.green { background: var(--tint); border-color: rgba(41, 210, 53, .35); }
.card.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 700; font-size: 15px; display: grid; place-items: center; }

.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--ink); background: #f7f3ee; font-weight: 700; }

.foot { border-top: 1px solid var(--line); }
.foot-inner { padding-top: 22px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--muted); }
.foot-inner a { color: var(--muted); }
.foot-inner span { margin-left: auto; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .top nav { gap: 12px; font-size: 14px; }
  .top nav .hide-sm { display: none; }
  .foot-inner span { margin-left: 0; width: 100%; }
}
@media print {
  .top, .foot, .toc { display: none; }
  body { background: #fff; }
}

/* Legally conspicuous text (disclaimers, liability, arbitration) */
.caps { font-size: 14.5px; line-height: 1.6; letter-spacing: .01em; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
