/* ViConnects v188.0.0 public policy and account-deletion pages. */
:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: #0a1217;
  --panel-2: #0d1920;
  --text: #eef8fb;
  --muted: #a9bac2;
  --accent: #2df5cf;
  --accent-2: #ff4b8a;
  --line: rgba(45, 245, 207, .18);
  --danger: #ff6b75;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -8%, rgba(45,245,207,.13), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(255,75,138,.09), transparent 26rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
button, input { font: inherit; }
.legal-shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 72px; }
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  margin-bottom: 34px;
}
.legal-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 850; text-decoration: none; }
.legal-brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 14px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  font-weight: 720;
  text-decoration: none;
}
.legal-hero, .legal-section, .deletion-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(13,25,32,.94), rgba(7,13,17,.94));
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.legal-hero { padding: clamp(26px, 6vw, 52px); margin-bottom: 20px; }
.legal-kicker { display: block; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 7vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
h2 { margin: 0 0 10px; font-size: clamp(21px, 4vw, 28px); line-height: 1.25; }
h3 { margin: 22px 0 7px; font-size: 18px; }
p { margin: 0 0 14px; }
.legal-lead { max-width: 70ch; color: #d7e5ea; font-size: 17px; }
.legal-date { display: inline-flex; margin-top: 9px; color: var(--muted); font-size: 13px; }
.legal-section { padding: clamp(22px, 5vw, 36px); margin: 16px 0; }
.legal-section p, .legal-section li, .deletion-card p, .deletion-card li { color: #cad9df; }
.legal-section ul, .legal-section ol, .deletion-card ul, .deletion-card ol { margin: 10px 0 14px; padding-left: 22px; }
.legal-section li + li, .deletion-card li + li { margin-top: 7px; }
.legal-callout { border-left: 3px solid var(--accent); padding: 12px 15px; border-radius: 4px 14px 14px 4px; background: rgba(45,245,207,.07); }
.legal-warning { border-color: rgba(255,107,117,.35); background: rgba(255,107,117,.07); }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.legal-mini { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 19px; background: rgba(255,255,255,.025); }
.legal-mini b { display: block; margin-bottom: 5px; }
.legal-mini small { display: block; color: var(--muted); font-size: 14px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 13px 20px; justify-content: space-between; align-items: center; margin-top: 34px; color: var(--muted); font-size: 13px; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.deletion-card { padding: clamp(23px, 5vw, 38px); margin: 16px 0; }
.delete-form { display: grid; gap: 14px; margin-top: 22px; }
.delete-form label { display: grid; gap: 7px; color: #d9e7ec; font-weight: 720; }
.delete-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  color: var(--text);
  background: rgba(0,0,0,.24);
  outline: none;
}
.delete-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,245,207,.11); }
.delete-confirm { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; font-weight: 540 !important; }
.delete-confirm input { width: 20px; min-height: 20px; accent-color: var(--danger); }
.delete-button {
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  color: #160408;
  background: linear-gradient(135deg, #ff7580, #ff4b8a);
  font-weight: 900;
  cursor: pointer;
}
.delete-button:disabled { cursor: wait; opacity: .62; }
.delete-status { min-height: 24px; margin: 0; color: var(--muted); font-weight: 700; }
.delete-status.success { color: var(--accent); }
.delete-status.error { color: #ff9299; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 650px) {
  .legal-shell { width: min(100% - 22px, 900px); padding-top: 8px; }
  .legal-top { margin-bottom: 18px; }
  .legal-brand span { display: none; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-hero, .legal-section, .deletion-card { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
