/* Shared style for the legal pages (terms / privacy / accessibility). Same colors as index.html. */
:root { --navy: #01047b; --navy-deep: #00024a; --cyan: #0ed2c8; --lime: #def434; --white: #ffffff; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--navy-deep); }
body { font-family: 'Heebo', system-ui, sans-serif; color: rgba(255,255,255,.88); -webkit-font-smoothing: antialiased; line-height: 1.7; font-size: 16px; }
.page { max-width: 680px; margin: 0 auto; padding: 28px 20px 60px; }
.back { display: inline-block; color: var(--cyan); font-weight: 700; text-decoration: none; margin-bottom: 22px; }
.brand { font-family: 'Anton', 'Impact', sans-serif; letter-spacing: .1em; color: rgba(255,255,255,.6); font-size: 15px; direction: ltr; text-align: right; }
h1 { font-size: 30px; font-weight: 900; color: var(--white); line-height: 1.2; margin: 6px 0 6px; }
.updated { font-size: 13.5px; color: rgba(255,255,255,.5); margin-bottom: 26px; }
h2 { font-size: 19px; font-weight: 800; color: var(--lime); margin: 28px 0 8px; }
p, li { margin-bottom: 10px; }
ul { padding-right: 20px; }
a { color: var(--cyan); }
mark.todo { background: rgba(222,244,52,.18); color: var(--lime); padding: 0 4px; border-radius: 4px; }
footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.5); display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,.7); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Floating "back to main page" button, same look as the sticky trial button on index.html */
.page { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.sticky-back {
  position: fixed; z-index: 40; left: 50%; bottom: 0;
  width: 100%; max-width: 480px; transform: translateX(-50%);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0, 2, 74, 0), rgba(0, 2, 74, 0.92) 35%);
}
.sticky-back a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 54px; border-radius: 999px;
  background: var(--lime); color: var(--navy);
  font-size: 18px; font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 30px rgba(222, 244, 52, 0.28);
  transition: transform .15s ease;
}
.sticky-back a:active { transform: scale(0.97); }
