:root {
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --surface: rgba(14, 29, 49, 0.78);
  --surface-strong: #13243c;
  --text: #f7f9fc;
  --muted: #aab8cb;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #ffb347;
  --accent-2: #ff6b6b;
  --success: #53d6a2;
  --danger: #ff7a86;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 179, 71, 0.18), transparent 31rem),
    radial-gradient(circle at 88% 12%, rgba(255, 107, 107, 0.16), transparent 28rem),
    linear-gradient(180deg, #07111f 0%, #091525 52%, #07111f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: #ffd08d; text-underline-offset: 3px; }
a:hover { color: #ffe0b4; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: #111;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}
.header-inner,
.footer-inner,
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #23180d;
  box-shadow: 0 8px 24px rgba(255, 140, 78, .25);
}
.brand-mark svg { width: 24px; height: 24px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
  flex-wrap: wrap;
}
.nav a {
  padding: .62rem .78rem;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 650;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

main { min-height: calc(100vh - 180px); }
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  right: -190px;
  top: 50px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.015), 0 0 0 140px rgba(255,255,255,.01);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .72rem;
  border: 1px solid rgba(255, 208, 141, .25);
  border-radius: 999px;
  color: #ffd08d;
  background: rgba(255, 179, 71, .08);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; }
h1 {
  max-width: 820px;
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}
.hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); }
.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #ff8a5b);
  color: #23180d;
}
.button.danger {
  border-color: rgba(255, 122, 134, .35);
  background: rgba(255, 122, 134, .12);
  color: #ffd5d9;
}

.section { padding: 2rem 0 5rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}
.card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, .18), transparent 68%);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #ffd08d;
  font-size: 1.2rem;
  font-weight: 900;
}
.card h2 { margin: 1rem 0 .5rem; font-size: 1.35rem; }
.card p { margin: 0 0 1.25rem; color: var(--muted); }
.card a { position: relative; z-index: 1; font-weight: 800; }

.page-hero { padding: 4.5rem 0 2rem; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.meta { color: var(--muted); font-size: .94rem; }

.document-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding-bottom: 5rem;
}
.toc {
  position: sticky;
  top: 96px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.toc strong { display: block; margin-bottom: .65rem; }
.toc a {
  display: block;
  padding: .42rem .55rem;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}
.toc a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.legal-doc {
  padding: clamp(1.2rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 23, 39, .72);
  box-shadow: var(--shadow);
}
.legal-doc h2 { margin-top: 2.2rem; font-size: 1.55rem; scroll-margin-top: 100px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { margin-top: 1.4rem; font-size: 1.08rem; }
.legal-doc p, .legal-doc li { color: #d4dce8; }
.legal-doc ul, .legal-doc ol { padding-left: 1.25rem; }
.notice {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 208, 141, .22);
  border-radius: 16px;
  background: rgba(255, 179, 71, .08);
  color: #f8e5ca;
}
.notice.success {
  border-color: rgba(83, 214, 162, .24);
  background: rgba(83, 214, 162, .08);
  color: #d6faec;
}

.deletion-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1.2rem;
  align-items: start;
  padding-bottom: 5rem;
}
.panel {
  padding: clamp(1.15rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 23, 39, .74);
  box-shadow: var(--shadow);
}
.panel h2 { margin-top: 0; }
.steps { counter-reset: item; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.steps li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
  color: #d4dce8;
}
.steps li::before {
  content: counter(item);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 179, 71, .12);
  color: #ffd08d;
  font-weight: 900;
}
.form-grid { display: grid; gap: 1rem; }
label { display: grid; gap: .42rem; font-weight: 750; }
label span { color: var(--muted); font-size: .86rem; font-weight: 500; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  padding: .78rem .88rem;
  outline: none;
}
input:focus, textarea:focus {
  border-color: rgba(255, 208, 141, .65);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, .09);
}
textarea { min-height: 120px; resize: vertical; }
.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .65rem;
  align-items: start;
  font-weight: 500;
  color: #d4dce8;
}
.checkbox-row input { width: 18px; height: 18px; margin-top: .2rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.status {
  min-height: 1.4rem;
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.status.error { color: #ffc4ca; }
.status.ok { color: #c7f7e3; }
.data-list {
  display: grid;
  gap: .65rem;
  padding: 0;
  list-style: none;
}
.data-list li {
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  color: #d4dce8;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 18, .55);
}
.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.footer-links a { color: var(--muted); }

@media (max-width: 840px) {
  .grid { grid-template-columns: 1fr; }
  .document-layout, .deletion-shell { grid-template-columns: 1fr; }
  .toc { position: static; }
  .hero { padding-top: 4.5rem; }
}
@media (max-width: 620px) {
  .header-inner { align-items: flex-start; padding: .8rem 0; }
  .nav { justify-content: flex-start; }
  .nav a { padding: .42rem .52rem; font-size: .82rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 1.3rem 0; }
  .hero-actions .button { width: 100%; }
}
@media print {
  .site-header, .site-footer, .toc, .hero-actions, .button { display: none !important; }
  body { background: #fff; color: #111; }
  .page-hero { padding: 1rem 0; }
  .legal-doc { border: 0; box-shadow: none; padding: 0; background: #fff; }
  .legal-doc p, .legal-doc li, .meta { color: #222; }
  a { color: #111; }
}
