/* Shared look for the privacy, account deletion and support pages. */
:root {
  --ink: #17122b;
  --body: #3b3552;
  --muted: #6d6786;
  --line: #e7e3f1;
  --soft: #f6f4fb;
  --brand: #180435;
  --brand2: #2a0b5c;
  --blue: #00b8cc;
  --pink: #ff2075;
  --green: #0fbf98;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--body);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #6b2bd9; text-underline-offset: 3px; }
a:hover { color: var(--pink); }

/* Header band */
.top {
  background: radial-gradient(1200px 300px at 80% -40%, rgba(255, 32, 117, .35), transparent 60%),
              radial-gradient(900px 300px at 0% 0%, rgba(0, 230, 255, .18), transparent 60%),
              linear-gradient(160deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 22px 20px 70px;
}
.nav { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .3px; }
.brand img { height: 30px; width: auto; }
.links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; }
.links a:hover, .links a[aria-current="page"] { color: #fff; }
.hero { max-width: 980px; margin: 44px auto 0; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 0 0 10px; color: #fff; letter-spacing: -.5px; }
.hero p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 640px; }
.meta { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* Layout */
.page { max-width: 980px; margin: -44px auto 0; padding: 0 20px 80px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.toc { position: sticky; top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: 14px; }
.toc b { display: block; color: var(--ink); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 8px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; min-width: 0; }
.page.single { grid-template-columns: 1fr; max-width: 820px; }

h2 { color: var(--ink); font-size: 22px; line-height: 1.3; margin: 38px 0 10px; scroll-margin-top: 18px; }
h2:first-child { margin-top: 0; }
h3 { color: var(--ink); font-size: 17px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 5px 0; }
strong { color: var(--ink); }

/* At a glance */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 6px 0 26px; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card .t { color: var(--ink); font-weight: 800; margin-bottom: 4px; }
.card p { margin: 0; font-size: 14px; line-height: 1.55; }
.tick::before { content: "✓"; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: rgba(15, 191, 152, .14); color: var(--green); text-align: center; line-height: 22px; font-size: 13px; font-weight: 900; margin-right: 8px; }

/* Tables become cards on phones */
.table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 20px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.table th { background: var(--soft); color: var(--ink); font-size: 12px; letter-spacing: .8px; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--ink); font-weight: 700; width: 30%; }

.note { border-left: 4px solid var(--blue); background: rgba(0, 184, 204, .07); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 16px 0 20px; }
.note.pink { border-left-color: var(--pink); background: rgba(255, 32, 117, .06); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 54px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; text-align: center; line-height: 28px; font-size: 14px; }
.btn { display: inline-block; background: var(--brand); color: #fff !important; text-decoration: none; font-weight: 800; padding: 13px 20px; border-radius: 12px; margin: 6px 0 10px; }
.btn:hover { background: var(--pink); }
.small { font-size: 13.5px; color: var(--muted); }

footer { max-width: 980px; margin: 0 auto; padding: 0 20px 48px; font-size: 13.5px; color: var(--muted); }
footer .row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .page { grid-template-columns: 1fr; }
  .toc { position: static; }
  .doc { padding: 24px 20px; }
  .links { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100% !important; }
  .table thead, .table tr:first-child:has(th) { display: none; }
  .table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table td { border: 0; padding: 4px 13px; }
  .table td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
}
