*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #ffffff; /* High-contrast white */
  --ink-2: #d4d4d8; /* Muted text */
  --ink-3: #5a6882; /* Enduring (secondary metadata / helper descriptions) */
  --surface: #1d2938; /* Midnight Express (container cards / blocks) */
  --surface-2: #0c1015; /* Ruined Smores (main canvas background) */
  --surface-3: rgba(255, 255, 255, 0.03);
  --accent: #050304; /* Armor Wash (deep shadow / inset input boxes) */
  --accent-2: rgba(139, 92, 246, 0.08);
  --accent-text: #a78bfa; /* violet-400 */
  --divider: #3c475a; /* Very Navy (thin dividers & crisp borders) */
  --radius: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--surface-2);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
  position: relative;
}

/* Neon glow backgrounds */
.glow-purple {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  top: -100px;
  left: -100px;
}
.glow-indigo {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  bottom: -100px;
  right: -100px;
}

/* NAV */
nav {
  background: #13171f; /* Kuroi Black structural block */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo .logo-wora {
  background: linear-gradient(to right, #8b5cf6, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-logo .logo-media {
  color: var(--ink-3);
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-3);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.nav-links a:hover { background: var(--surface-3); color: var(--ink); }
.nav-links a.active { color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.nav-updated {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(to bottom, rgba(19, 23, 31, 0.4), rgba(12, 16, 21, 0));
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--divider);
  z-index: 10;
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
  background: linear-gradient(to right, #ffffff, #e4e4e7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--ink-3);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.policy-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--divider);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.tab-btn:hover { background: rgba(255, 255, 255, 0.06); color: white; border-color: rgba(139, 92, 246, 0.3); }
.tab-btn.active {
  background: linear-gradient(to right, #8b5cf6, #6366f1);
  color: white;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

/* LAYOUT */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

/* SIDEBAR TOC */
.toc {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
}
.toc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.toc ul {
  list-style: none;
  border-left: 1px solid var(--divider);
}
.toc li a {
  display: block;
  padding: 6px 0 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
  margin-left: -1.5px;
}
.toc li a:hover { color: var(--ink); }
.toc li a.active { color: var(--accent-text); border-left-color: #8b5cf6; font-weight: 600; }

/* CONTENT */
.policy-content {
  flex: 1;
  min-width: 0;
}

.policy-meta {
  background: var(--accent-2);
  border-radius: var(--radius);
  border: 1px solid var(--divider);
  padding: 1.25rem 1.5rem;
  font-size: 13px;
  color: var(--accent-text);
  margin-bottom: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.policy-meta strong { font-weight: 700; color: #c084fc; }

.section-block {
  background: var(--surface); /* Midnight Express elevated card background */
  border-radius: var(--radius);
  border: 1px solid var(--divider);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.section-block:hover {
  border-color: var(--ink-3);
  background: #233143; /* slightly lighter Midnight Express hover */
}
.section-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--divider);
}
.section-block h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
}
.section-block p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 1rem;
  font-weight: 400;
}
.section-block p:last-child { margin-bottom: 0; }
.section-block ul, .section-block ol {
  padding-left: 1.5rem;
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.section-block li { margin-bottom: 0.5rem; }

.highlight-box {
  background: var(--accent-2);
  border-left: 3px solid #8b5cf6;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 1.25rem 0;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.contact-card {
  background: var(--accent); /* Armor Wash inset box style */
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 1.25rem;
  font-size: 13.5px;
}
.contact-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}
.contact-card .value {
  color: var(--ink);
  font-weight: 600;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 1rem;
  border: 1px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
}
.data-table th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.01);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--divider);
  text-transform: uppercase;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--divider);
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.5;
}
.data-table tr:last-child td { border-bottom: none; }

/* DELETION FORM */
.deletion-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.deletion-steps li {
  counter-increment: step;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.deletion-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(to right, #8b5cf6, #6366f1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}
.deletion-steps .step-body {
  padding-top: 4px;
}
.deletion-steps .step-body strong {
  font-weight: 600;
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
  color: var(--ink);
}
.deletion-steps .step-body span {
  font-size: 13px;
  color: var(--ink-3);
}

/* FOOTER */
.footer {
  background: #13171f; /* Kuroi Black structural block */
  border-top: 1px solid var(--divider);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  position: relative;
  z-index: 10;
}
.footer a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .toc { display: none; }
  .page-wrap { padding: 2.5rem 1.5rem 5rem; gap: 0; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .section-block { padding: 1.5rem; }
  nav { padding: 0 1.5rem; }
  .nav-updated { display: none; }
}
