/* Shared look for the Couple Spark legal & help pages (matches the home page). */
:root {
  --bg: #fbf1f6; --surface: #ffffff; --ink: #2a0a1f; --body: #4a3242; --muted: #786270;
  --brand: #be185d; --line: #f0e6ec; --tint: #fde2ef; --tint2: #ede4fd;
  --ok: #15803d; --ok-bg: #e8f7ee; --warn: #b91c1c; --warn-bg: #fdeaea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #160a13; --surface: #24121f; --ink: #f8eef4; --body: #e2cfda; --muted: #b59aaa;
    --brand: #f9a8d4; --line: #34202e; --tint: #3a162c; --tint2: #2c1e42;
    --ok: #4ade80; --ok-bg: #143020; --warn: #f87171; --warn-bg: #3c161a;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--body); line-height: 1.7; font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--brand); text-underline-offset: 2px; word-break: break-word; }
strong { color: var(--ink); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -0.3px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.top .links { display: flex; gap: 4px; }
.top .links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 999px; }
.top .links a[aria-current="page"] { color: var(--brand); background: var(--tint); }
@media (max-width: 460px) { .brand span { display: none; } .top .links a { padding: 6px 8px; font-size: 13px; } }

/* Header */
.hero { background: linear-gradient(135deg, #db2777, #a855f7); color: #fff; text-align: center; padding: 44px 20px 72px; }
.hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; }
.hero h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.8px; margin-top: 6px; color: #fff; }
.hero p { max-width: 560px; margin: 10px auto 0; opacity: 0.92; }
.hero .updated { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.2); }
@media (max-width: 480px) { .hero h1 { font-size: 28px; } }

/* Content card */
.doc { max-width: 760px; margin: -44px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 34px 32px 40px; box-shadow: 0 18px 50px rgba(190, 24, 93, 0.08); position: relative; }
@media (max-width: 600px) { .doc { margin: -40px 12px 0; padding: 26px 20px 32px; border-radius: 22px; } }
.doc > p:first-child { font-size: 17px; }
.doc h2 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; letter-spacing: -0.3px;
  margin: 34px 0 12px; }
.doc h2::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(#ec4899, #a855f7); flex: none; }
.doc h3 { color: var(--ink); font-size: 16px; margin: 20px 0 6px; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--brand); }

/* Tables (Data Safety) — scroll sideways on small screens */
.table-wrap { overflow-x: auto; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--tint); color: var(--ink); font-weight: 700; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
td.yes, td.no { white-space: nowrap; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--warn); font-weight: 600; }

/* Delete account */
.notice { background: var(--warn-bg); color: var(--warn); border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; }
.notice strong { color: inherit; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 8px; margin-bottom: 16px; background: var(--bg); }
.card h2 { margin-top: 0; font-size: 17px; }
ol.steps { list-style: none; margin-left: 0; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding-left: 42px; min-height: 28px; padding-top: 1px; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ec4899, #a855f7); }
.btn { display: inline-block; text-decoration: none; color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #ec4899, #9333ea); box-shadow: 0 10px 24px rgba(190, 24, 93, 0.25); }

/* Footer */
footer { padding: 36px 20px 44px; text-align: center; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 12px; }
footer nav a { text-decoration: none; font-weight: 600; }
