:root {
  color-scheme: light dark;
  --page: #f5f5f7;
  --page-soft: #ececf2;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #17171b;
  --muted: #686870;
  --line: rgba(31, 31, 39, 0.1);
  --accent: #6857e5;
  --accent-2: #c85e8f;
  --accent-soft: rgba(104, 87, 229, 0.12);
  --success: #16865a;
  --shadow: 0 24px 70px rgba(38, 36, 55, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0a0a0d;
    --page-soft: #111116;
    --surface: rgba(31, 31, 38, 0.66);
    --surface-strong: rgba(35, 35, 42, 0.9);
    --text: #f7f7fa;
    --muted: #a7a7b0;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #a094ff;
    --accent-2: #ff94c2;
    --accent-soft: rgba(160, 148, 255, 0.14);
    --success: #64d7a5;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(105, 88, 230, 0.1), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(220, 110, 145, 0.09), transparent 28rem),
    linear-gradient(180deg, transparent 0, var(--page) 52%);
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.ambient {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
}
.ambient-one { top: 8%; left: -220px; background: #6651e5; }
.ambient-two { top: 44%; right: -240px; background: #d26391; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 72%, transparent);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 760; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; }
.nav-tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.nav-tabs a { padding: 9px 14px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; transition: 180ms ease; }
.nav-tabs a:hover, .nav-tabs a.active { color: var(--text); background: var(--surface-strong); box-shadow: 0 4px 16px rgba(20, 20, 30, 0.06); }
.contact-link { padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none; }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 70px; padding-top: 80px; padding-bottom: 80px; }
.status-pill, .method-label { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 14%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 20px 0 24px; font-size: clamp(54px, 7vw, 88px); line-height: 0.96; letter-spacing: 0; }
.hero-copy > p { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-button, .secondary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}
.primary-button { background: var(--text); color: var(--page); }
.secondary-button { border-color: var(--line); background: var(--surface); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }

.privacy-visual { position: relative; padding: 18px; }
.privacy-visual::before { content: ""; position: absolute; inset: 10% 0; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); filter: blur(70px); opacity: 0.17; }
.device-glass, .glass-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
}
.device-glass { position: relative; padding: 22px; border-radius: 28px; transform: rotate(1.5deg); }
.mini-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mini-header img { width: 42px; height: 42px; border-radius: 12px; }
.mini-header div, .security-row div { display: flex; flex-direction: column; }
.mini-header span, .security-row span { color: var(--muted); font-size: 12px; }
.vault-card { min-height: 205px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 22px; color: white; background: linear-gradient(145deg, #6856e3 0%, #39227e 64%, #24194d 100%); box-shadow: 0 24px 48px rgba(61, 38, 132, 0.3); }
.chip { width: 42px; height: 31px; border-radius: 8px; background: linear-gradient(145deg, #ffe17b, #b97912); }
.card-dots { font-size: clamp(14px, 2vw, 18px); letter-spacing: 0.06em; }
.vault-card div { display: flex; flex-direction: column; gap: 4px; }
.vault-card small { color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .12em; }
.security-row { display: flex; align-items: center; gap: 13px; padding: 17px 4px 2px; }
.security-row + .security-row { padding-top: 13px; }
.security-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-weight: 800; }

.trust-strip { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 25px 30px; text-align: center; }
.trust-grid div + div { border-left: 1px solid var(--line); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { margin-bottom: 5px; }
.trust-grid span { color: var(--muted); font-size: 13px; }

.content-section { padding-top: 110px; padding-bottom: 110px; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 12px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(38px, 6vw, 60px); line-height: 1; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.6; }

.policy-layout { display: grid; grid-template-columns: 190px 1fr; gap: 34px; align-items: start; }
.section-index { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 4px; }
.section-index a { padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 13px; text-decoration: none; }
.section-index a:hover { color: var(--text); background: var(--accent-soft); }
.glass-panel { border-radius: 24px; }
.policy { padding: 8px 34px; }
.policy section { display: grid; grid-template-columns: 38px 1fr; gap: 20px; padding: 34px 0; }
.policy section + section { border-top: 1px solid var(--line); }
.number { color: var(--accent); font-size: 12px; font-weight: 800; padding-top: 5px; }
.policy h3, .steps-card h3, .deletion-form h3, .safety-card h3 { margin-bottom: 12px; font-size: 22px; }
.policy p, .policy li, .deletion-form p, .safety-card p { color: var(--muted); line-height: 1.72; }
.policy ul { margin: 12px 0; padding-left: 20px; }
.policy li + li { margin-top: 7px; }

.deletion-section { background: color-mix(in srgb, var(--page-soft) 68%, transparent); border-block: 1px solid var(--line); }
.deletion-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 22px; align-items: start; }
.steps-card, .deletion-form { padding: clamp(24px, 4vw, 38px); }
.steps-card h3, .deletion-form h3 { margin-top: 12px; }
.steps { list-style: none; margin: 28px 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 14px; }
.steps li + li { margin-top: 17px; }
.steps li > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.local-note { display: flex; flex-direction: column; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--accent-soft); }
.local-note span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.deletion-form > p { margin-bottom: 25px; }
.deletion-form label:not(.check-row) { display: flex; justify-content: space-between; margin: 16px 2px 7px; font-size: 12px; font-weight: 750; }
.deletion-form label span { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: var(--surface-strong); color: var(--text); font: inherit; }
textarea { min-height: 102px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; min-height: 1px; opacity: 0; pointer-events: none; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check-row input { width: 18px; min-height: 18px; margin-top: 1px; accent-color: var(--accent); }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { cursor: progress; opacity: .72; transform: none; }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-status.success { color: var(--success); }
.form-status.error { color: #c23b34; }
.data-outcome { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; padding: 20px; }
.data-outcome > div { display: flex; gap: 12px; padding: 10px 18px; }
.data-outcome > div + div { border-left: 1px solid var(--line); }
.data-outcome p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.data-outcome strong { display: block; color: var(--text); margin-bottom: 3px; }
.outcome-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.deleted { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.local { color: var(--accent); background: var(--accent-soft); }
.retained { color: #b16e18; background: rgba(196, 130, 42, .12); }

.support-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
.support-contact { display: flex; align-items: center; gap: 17px; padding: 28px; text-decoration: none; transition: transform 180ms ease; }
.support-contact:hover { transform: translateY(-3px); }
.mail-icon, .shield-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--accent), var(--accent-2)); font-size: 20px; font-weight: 800; }
.support-contact div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.support-contact small, .support-contact span { color: var(--muted); font-size: 12px; }
.support-contact strong { overflow: hidden; text-overflow: ellipsis; }
.safety-card { display: flex; gap: 17px; padding: 28px; }
.safety-card h3 { margin-bottom: 7px; font-size: 17px; }
.safety-card p { margin: 0; font-size: 13px; }
.faq { margin-top: 20px; padding: 8px 28px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--muted); font-size: 20px; font-weight: 400; transition: transform 180ms ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 760px; padding: 0 0 22px; margin: -5px 0 0; color: var(--muted); line-height: 1.65; }

.site-footer { border-top: 1px solid var(--line); }
.footer-row { min-height: 170px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--text); }
.footer-row p { margin: 0; }
.footer-row > div:nth-of-type(2) { display: flex; gap: 18px; }
.footer-row a { text-decoration: none; }
.footer-row > span { grid-column: 1 / -1; padding-bottom: 28px; border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 860px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 50px; padding-top: 64px; }
  .privacy-visual { width: min(520px, 100%); margin: 0 auto; }
  .policy-layout { grid-template-columns: 1fr; }
  .section-index { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .section-index a { white-space: nowrap; }
  .deletion-grid, .support-grid { grid-template-columns: 1fr; }
  .data-outcome { grid-template-columns: 1fr; }
  .data-outcome > div + div { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1120px); }
  .site-header { position: relative; }
  .nav { min-height: 64px; }
  .nav-tabs { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; justify-content: space-around; border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,.18); backdrop-filter: blur(30px) saturate(180%); }
  .nav-tabs a { flex: 1; text-align: center; padding: 12px 7px; }
  .contact-link { display: none; }
  .hero { padding-top: 46px; padding-bottom: 64px; }
  h1 { font-size: clamp(48px, 16vw, 70px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .privacy-visual { padding: 0; }
  .device-glass { padding: 16px; border-radius: 22px; transform: none; }
  .vault-card { min-height: 180px; padding: 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div + div { border-top: 1px solid var(--line); border-left: 0; }
  .content-section { padding-top: 78px; padding-bottom: 78px; }
  .section-heading { margin-bottom: 30px; }
  .policy { padding: 5px 20px; }
  .policy section { grid-template-columns: 1fr; gap: 7px; padding: 28px 0; }
  .steps-card, .deletion-form { padding: 22px 18px; }
  .support-contact, .safety-card { padding: 22px 18px; }
  .faq { padding: 5px 18px; }
  .footer-row { grid-template-columns: 1fr; padding: 40px 0 90px; gap: 16px; }
  .footer-row > div:nth-of-type(2) { flex-wrap: wrap; }
  .footer-row > span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
