/* Aura Deen: legal pages (privacy policy, delete account). Same type and colour as the marketing site. */

:root {
  --ink: #0b0b0c;
  --paper: #f2f2f7;
  --green: #15803d;
  --green-deep: #0f5f2c;
  --graphite: #6c6c70;
  --hair: #d1d1d6;
  --display: "Fira Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --text: "Onest Variable", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, p, ul, ol { margin: 0; padding: 0; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 650; }

/* ---------- top band ---------- */
.top { background: var(--green); color: #fff; }
.top-in {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.top a { color: inherit; text-decoration: none; }
.mark { font: 800 24px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.mark span { margin-left: .32em; opacity: .62; }
.langs { display: flex; gap: 2px; font: 500 12px/1 var(--mono); letter-spacing: .08em; }
.langs a { padding: 8px 7px; opacity: .72; border-bottom: 2px solid transparent; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; border-bottom-color: currentColor; }
.top-title { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) 24px clamp(36px, 6vw, 84px); }
h1 { font: 800 clamp(42px, 7.2vw, 104px)/.9 var(--display); text-transform: uppercase; margin-bottom: 22px; overflow-wrap: break-word; }
h1 .app { opacity: .75; }
.updated { font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .88; }

/* ---------- document ---------- */
.page {
  max-width: 1180px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) 24px clamp(56px, 8vw, 112px);
  display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start;
}
.page--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.toc { position: sticky; top: 24px; }
.toc ol { list-style: none; font: 500 13px/1.35 var(--mono); }
.toc a { display: block; padding: 10px 0; border-top: 1px solid var(--hair); color: var(--graphite); text-decoration: none; }
.toc li:last-child a { border-bottom: 1px solid var(--hair); }
.toc a:hover { color: var(--ink); }
.doc { max-width: 760px; }
.intro { font-size: 19px; line-height: 1.6; margin-bottom: 12px; }
.block { border-top: 1px solid var(--hair); margin-top: 40px; padding-top: 36px; }
h2 { font: 800 clamp(30px, 3.3vw, 44px)/.95 var(--display); text-transform: uppercase; margin-bottom: 20px; }
.block p, .intro p { margin-bottom: 14px; }
.block ul { padding-left: 1.15em; }
.block li { margin-bottom: 12px; }
.block li::marker { color: var(--green); }
.doc-foot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--hair); font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--graphite); }

/* ---------- delete-account page ---------- */
.steps { margin: 28px 0; border-top: 1px solid var(--hair); }
.steps h2 { font-size: clamp(26px, 2.8vw, 36px); margin: 28px 0 14px; }
.steps ol { padding-left: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 13px 0 13px 2.6em; border-top: 1px solid var(--hair); }
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 13px; font: 500 14px/1.7 var(--mono); color: var(--green-deep); }
.note { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--graphite); }
.page--single p { margin-bottom: 16px; }

@media (max-width: 860px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; margin-bottom: 8px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a, .toc li:last-child a { border: 1px solid var(--hair); border-radius: 999px; padding: 8px 13px; }
}

@media print {
  .top { background: none; color: var(--ink); }
  .langs, .toc { display: none; }
  body { background: #fff; font-size: 11pt; }
  .page { display: block; padding-top: 0; }
  h1 { font-size: 30pt; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
