/* Shared look for the long-form pages: /privacy, /terms and /delete.
 *
 * The same type and palette as the homepage, which are the app's: Manrope
 * headings over Source Sans 3, a soft lavender paper and a muted violet
 * accent, applied to the class names those pages already use. Only presentation lives here — the legal text is in
 * each page and must not move into CSS. */
:root {
  --paper: #f5f0f6;
  --ink: #2e2633;
  --ink-2: #4d4459;
  --ink-3: #7e748b;
  --line: rgba(34, 26, 45, .11);
  --line-2: rgba(34, 26, 45, .06);
  --accent: #735c8e;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
b, strong { font-weight: 600; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid #8a5ea6; outline-offset: 4px; border-radius: 4px; }
::selection { background: rgba(155, 142, 196, .3); }

/* The fixed sky behind every legal page. */
.grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 6% 4%, rgba(246, 200, 211, .75), rgba(246, 200, 211, 0) 72%),
    radial-gradient(44% 44% at 98% 6%, rgba(196, 206, 243, .8), rgba(196, 206, 243, 0) 72%),
    radial-gradient(60% 40% at 50% 104%, rgba(251, 222, 210, .6), rgba(251, 222, 210, 0) 72%),
    var(--paper);
}
.grid::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 320px 320px;
}

.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }

/* ---- Header ---- */
.site-nav { position: sticky; top: 0; z-index: 10; padding: 14px 0; }
.nav-inner {
  min-height: 60px;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: rgba(250, 247, 251, .72);
  box-shadow: 0 14px 34px -24px rgba(64, 36, 98, .45);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand svg { height: 26px; width: auto; fill: currentColor; }
.brand:hover { color: var(--ink); }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 14.5px/1 var(--sans);
  text-decoration: none;
  transition: transform .4s var(--ease);
}
.back:hover { color: #fff; transform: translateY(-1px); }

/* ---- Title block ---- */
.hero { padding: 84px 0 54px; }
.eyebrow {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1, h2, h3 { color: var(--ink); }
h1 {
  max-width: 14ch;
  margin: 22px 0 22px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero-lede {
  max-width: 690px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.meta span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--ink-3);
  font: 600 13.5px/1 var(--sans);
  box-shadow: 0 10px 22px -18px rgba(64, 36, 98, .45);
}

/* ---- Delete card ---- */
.delete-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -40px rgba(64, 36, 98, .5);
}
.delete-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 87, 132, .2), transparent 68%);
  pointer-events: none;
}
.delete-card h2 { margin: 8px 0 10px; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.delete-card p { margin: 0; color: var(--ink-2); }
.delete-card strong { color: var(--ink); }
.button {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c2338, #160f1f);
  color: #fff;
  font: 600 15.5px/1 var(--sans);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 16px 30px -16px rgba(34, 18, 52, .55);
  transition: transform .4s var(--ease);
}
.button:hover { color: #fff; transform: translateY(-2px); }

/* ---- Policy body ---- */
.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}
.toc {
  position: sticky;
  top: 104px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.toc-label {
  margin-bottom: 12px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.toc a:hover { color: var(--accent); }

article { min-width: 0; }
/* An article with no contents column beside it keeps a reading measure. */
article.solo { padding-bottom: 96px; }
article.solo section { max-width: 46rem; }
article section { scroll-margin-top: 110px; padding: 0 0 48px; }
article section + section { padding-top: 48px; border-top: 1px solid var(--line); }
article h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}
article h3 { margin: 28px 0 8px; font-size: 1.1rem; font-weight: 600; }
article p { margin: 0 0 15px; color: var(--ink-2); }
article ul { margin: 14px 0 0; padding-left: 1.2rem; color: var(--ink-2); }
article li { margin: 10px 0; padding-left: 5px; }
article li::marker { color: var(--accent); }
article strong { font-weight: 600; color: var(--ink); }
article a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.note {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: rgba(155, 142, 196, .12);
}
.note p:last-child { margin-bottom: 0; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.data-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
}
.data-card h3 { margin: 0 0 7px; }
.data-card p { margin: 0; color: var(--ink-3); font-size: .92rem; }
.small { color: var(--ink-3); font-size: .9rem; }

/* ---- Footer ---- */
footer { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.footer-inner .brand svg { height: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a, .footer-inner > span, .footer-inner > span a {
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.foot-links a:hover, .footer-inner > span a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .wrap { width: min(100% - 32px, var(--maxw)); }
  .hero { padding-top: 58px; }
  .delete-card { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; }
  .toc nav { columns: 2; column-gap: 20px; }
}
@media (max-width: 560px) {
  .nav-inner { min-height: 54px; padding: 0 10px 0 16px; }
  .brand svg { height: 22px; }
  .hero { padding: 46px 0 40px; }
  .delete-card { padding: 24px; margin-bottom: 48px; }
  .data-grid { grid-template-columns: 1fr; }
  .toc nav { columns: 1; }
  article section { padding-bottom: 38px; }
  article section + section { padding-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back:hover, .button:hover { transform: none; }
}
