/* Shared styling for the legal and support pages — same "Midnight Gym" palette as the app
   and the landing page, so the store reviewer and the user see one coherent product. */
:root {
  --bg: #0A0B10; --surface: #13151F; --card: #181B27; --line: #222738;
  --text: #F1F3F8; --muted: #9BA3B7; --faint: #5C6479;
  --violet: #7B5CFF; --cyan: #22D3EE;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.7; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(10,11,16,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 820px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-size: 1.4rem; font-weight: 800; letter-spacing: .3em; padding-left: .3em;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.back { color: var(--muted); font-size: .9rem; }

main { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }
h1 { font-size: 2.2rem; margin: 0 0 6px; letter-spacing: -.02em; }
.stand { color: var(--faint); font-size: .85rem; margin-bottom: 34px; }
h2 { font-size: 1.25rem; margin: 34px 0 10px; }
h3 { font-size: 1.02rem; margin: 22px 0 6px; color: var(--text); }
p, li { color: var(--muted); font-size: 1rem; }
strong { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 6px 0; }

.box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px; margin: 14px 0;
}
/* Used for the passages that carry the real weight — health data and coach access. */
.box.accent { border-color: var(--violet); background: rgba(123,92,255,.08); }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
th { color: var(--text); font-weight: 600; }

footer {
  border-top: 1px solid var(--line); text-align: center;
  color: var(--faint); font-size: .82rem; padding: 26px;
}
footer a { color: var(--muted); margin: 0 8px; }
