/* The legal pages (round 316): privacy, terms, support, data deletion.
   A document to read, plainly, in the app's clothes: a segment pill to
   move between them, the date in gold because dates are time, a contents
   rail that follows your place. Follows the phone's light or dark setting. */
:root { color-scheme: light dark; --bg: light-dark(#F4F3F8, #0D0D15); --ink: light-dark(#191727, #F2F1F7); --muted: light-dark(#625E78, #A9A7BC); --line: light-dark(#E4E1EE, rgba(255,255,255,.09)); --card: light-dark(#FFFFFF, rgba(255,255,255,.05)); --link: light-dark(#6C55E0, #8F7BFF); --head: light-dark(rgba(244,243,248,.84), rgba(13,13,21,.8)); }
@supports not (color: light-dark(#000, #fff)) {
  :root { --bg: #F4F3F8; --ink: #191727; --muted: #625E78; --line: #E4E1EE; --card: #FFFFFF; --link: #6C55E0; --head: rgba(244,243,248,.84); }
  @media (prefers-color-scheme: dark) { :root { --bg: #0D0D15; --ink: #F2F1F7; --muted: #A9A7BC; --line: rgba(255,255,255,.09); --card: rgba(255,255,255,.05); --link: #8F7BFF; --head: rgba(13,13,21,.8); } }
}
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(seg-thumb) { animation-duration: .45s; animation-timing-function: var(--spring); }

html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.lhead { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); background: var(--head); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.lhead .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.lhead .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 900 19px var(--display); letter-spacing: -.02em; margin-right: auto; white-space: nowrap; }
.lhead .brand .mark { width: 34px; }
.lhead .get { padding: 9px 16px; border-radius: 99px; background: var(--violet); color: #120A33; font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--violet); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }

.top { padding-block: clamp(34px, 5vw, 64px) 10px; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a { position: relative; padding: 10px 18px; border-radius: 99px; text-decoration: none; color: var(--muted); font: 750 15px var(--text); white-space: nowrap; transition: color .2s; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { color: var(--ink); }
.seg .thumb { position: absolute; inset: 0; z-index: -1; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -10px rgba(25,23,39,.5); view-transition-name: seg-thumb; }
.seg a[aria-current] { isolation: isolate; }
h1 { font: 900 clamp(42px, 6vw, 76px)/1 var(--display); letter-spacing: -.04em; margin: 30px 0 14px; }
.byline { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0; color: var(--muted); font-size: 15px; }
.byline a { color: var(--muted); }

.doc { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: clamp(30px, 6vw, 90px); padding-block: 40px 80px; }
.doc.solo { grid-template-columns: minmax(0, 680px); }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14.5px; }
.toc b { display: block; font: 800 13px var(--text); color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; position: relative; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color .25s; }
.toc a.on { color: var(--ink); font-weight: 700; }
.toc .bar { position: absolute; left: -2px; width: 2px; background: var(--violet); border-radius: 1px; transition: top .45s var(--spring), height .45s var(--spring); }
article h2 { font: 850 clamp(22px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.02em; margin: 46px 0 10px; scroll-margin-top: 96px; }
article h2:first-child { margin-top: 0; }
article ul, article ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
article ul li { position: relative; padding-left: 22px; }
article ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
article ol { counter-reset: n; }
article ol li { counter-increment: n; position: relative; padding-left: 40px; }
article ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #120A33; font: 800 14px var(--text); }
article .quiet { color: var(--muted); font-size: 15px; }
.motion article h2 { opacity: .001; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.motion article h2.in { opacity: 1; transform: none; }
.ask { margin-top: 50px; padding: 24px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.ask b { font: 850 20px var(--display); letter-spacing: -.02em; display: block; }
.ask span { color: var(--muted); font-size: 15px; }
.ask a { padding: 11px 18px; border-radius: 99px; background: var(--violet); color: #120A33; font-weight: 800; text-decoration: none; }
@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
  .toc { position: static; padding: 16px 18px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .toc ol { border-left: 0; padding-left: 0; columns: 2; column-gap: 18px; }
  .toc .bar { display: none; }
}
@media (max-width: 480px) { .toc ol { columns: 1; } .seg a { padding: 9px 12px; font-size: 14px; } }

footer { border-top: 1px solid var(--line); padding-block: 34px calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
