/* Terms, privacy, text-message and data-deletion pages: reading pages in the site's look. The line background and its
   traveling lights come from bg.css; the document sits on a frosted glass panel so the text stays easy to read. */
:root {
  --bg: #0E0F11; --ink: #EDEEF0; --muted: #A3A6AD; --line: rgba(255,255,255,.13); --accent: #7C9BFF; --wrap: 780px;
  --glass: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); --gline: rgba(255,255,255,.2);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 96px; }
body {
  margin: 0; color: var(--ink);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 2px; } }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: #3F66EA; color: #fff; border-radius: 10px; z-index: 60; text-decoration: none; }
.skip:focus { top: max(12px, env(safe-area-inset-top)); }

/* Floating glass menu */
.top {
  position: fixed; z-index: 50; left: 0; right: 0; top: max(12px, env(safe-area-inset-top)); width: min(780px, calc(100% - 24px)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 8px 0 16px;
  border-radius: 999px; background: rgba(52,54,60,.7); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 44px -26px rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.brand { color: var(--ink); font: 700 18px/1 "Inter Tight", Inter, sans-serif; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.top nav { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 0 11px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; touch-action: manipulation; transition: color 150ms ease, background-color 150ms ease; }
.top nav a[aria-current="page"] { color: var(--ink); background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.1)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.1); }
@media (hover: hover) and (pointer: fine) { .top nav a:hover { color: var(--ink); } }

/* The document, on glass */
.doc {
  width: min(780px, calc(100% - 24px)); margin: calc(88px + env(safe-area-inset-top)) auto 28px; padding: clamp(24px, 5vw, 48px) clamp(20px, 5vw, 52px) clamp(28px, 5vw, 52px);
  border-radius: 26px; background: var(--glass); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 40px 90px -50px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(24px) saturate(115%); backdrop-filter: blur(24px) saturate(115%);
}
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) { .doc, .top { background: rgba(38,43,54,.96); } }
h1 { font: 700 clamp(34px, 6.4vw, 50px)/1.05 "Inter Tight", Inter, sans-serif; letter-spacing: -0.03em; margin: 0 0 10px; text-wrap: balance; }
h2 { font: 650 20px/1.3 "Inter Tight", Inter, sans-serif; margin: 40px 0 10px; letter-spacing: -0.01em; scroll-margin-top: 96px; text-wrap: balance; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
p, li { max-width: 66ch; text-wrap: pretty; overflow-wrap: anywhere; }
ul, ol { padding-left: 1.3em; }
li { margin: 8px 0; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }

.foot { width: min(780px, calc(100% - 24px)); margin-inline: auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; padding: 4px 16px max(28px, env(safe-area-inset-bottom)); }
.foot a { color: var(--muted); }
.foot-cta { width: min(780px, calc(100% - 24px)); margin: 0 auto 22px; display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.foot-cta .b { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: transform 140ms cubic-bezier(.23,1,.32,1), background-color 160ms ease; }
.foot-cta .b.p { background: #3F66EA; border-color: transparent; color: #fff; box-shadow: 0 10px 30px -12px rgba(63,102,234,.8), inset 0 1px 0 rgba(255,255,255,.18); }
.foot-cta .b:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .foot-cta .b:hover { background: rgba(255,255,255,.1); } .foot-cta .b.p:hover { background: #5579F2; } }
@media (max-width: 560px) { .brand span { display: none; } .top { padding-left: 12px; } }
@media (prefers-reduced-motion: reduce) { .top nav a, .foot-cta .b { transition: none; } .foot-cta .b:active { transform: none; } }
