:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #101010;
  --bg-tertiary: #141414;
  --accent-red: #ff2d2d;
  --accent-red-soft: rgba(255, 45, 45, 0.14);
  --accent-green: #36d27d;
  --white: #fff;
  --white-soft: rgba(255, 255, 255, 0.86);
  --white-muted: rgba(255, 255, 255, 0.62);
  --white-faint: rgba(255, 255, 255, 0.38);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-red: rgba(255, 45, 45, 0.36);
  --shadow-red: 0 24px 80px -40px rgba(255, 45, 45, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 45, 45, 0.2), transparent 30rem),
    radial-gradient(circle at 8% 26%, rgba(255, 45, 45, 0.1), transparent 24rem),
    var(--bg-primary);
  color: var(--white-soft);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.7), transparent 48%, rgba(10, 10, 10, 0.82)),
    radial-gradient(circle at 50% 0, transparent, rgba(10, 10, 10, 0.42));
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1192px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.38em;
  font-size: 1.08rem;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--white-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 11px 18px;
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 34px -18px rgba(0, 0, 0, 0.9);
}

.btn-red {
  background: var(--accent-red);
  box-shadow: 0 0 28px -10px rgba(255, 45, 45, 0.9);
}

.btn-green {
  background: linear-gradient(135deg, #2fd06f, #72d796);
  box-shadow: 0 0 28px -10px rgba(54, 210, 125, 0.8);
}

.btn-ghost {
  border-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-soft);
}

.hero {
  width: min(1192px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 54px;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--white-muted);
  font-size: 0.9rem;
}

.crumb span {
  color: var(--accent-red);
}

.eyebrow {
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 930px;
  margin: 14px 0 0;
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--white-muted);
  font-size: clamp(1rem, 2.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.shell {
  min-width: 0;
  width: min(1192px, calc(100% - 48px));
  margin: 0 auto 84px;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.84);
}

.toc-title {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white-muted);
  font-size: 0.92rem;
}

.toc a:hover {
  color: var(--white);
}

.content {
  min-width: 0;
  max-width: 100%;
}

.doc-card {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.94), rgba(14, 14, 14, 0.94));
  box-shadow: var(--shadow-red);
  overflow: hidden;
}

.doc-card.accent {
  border-color: var(--border-red);
  background:
    linear-gradient(180deg, rgba(255, 45, 45, 0.08), rgba(20, 20, 20, 0.94)),
    var(--bg-tertiary);
}

h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.1;
}

h3 {
  margin: 24px 0 8px;
  color: var(--white);
  font-size: 1.08rem;
}

p,
li {
  color: var(--white-muted);
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 14px;
}

.legal-pre {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--white-muted);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.03rem);
  line-height: 1.72;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

ul,
ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

strong {
  color: var(--white);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-box {
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.info-box b {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--border-red);
  border-radius: 14px;
  background: var(--accent-red-soft);
  color: var(--white-soft);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.legal-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-table tr:last-child {
  border-bottom: 0;
}

.legal-table th,
.legal-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 32%;
  color: var(--white);
  font-size: 0.86rem;
}

.legal-table td {
  color: var(--white-muted);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  background: rgba(10, 10, 10, 0.86);
}

.footer-inner {
  width: min(1192px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--white-muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--white-muted);
}

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(160deg, #25d366, #64d88d);
  box-shadow: 0 0 34px -8px rgba(37, 211, 102, 0.9);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav {
    width: min(100% - 28px, 720px);
    height: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn-green {
    display: none;
  }

  .brand {
    font-size: 1rem;
  }

  .hero {
    width: min(100% - 24px, 720px);
    padding: 54px 0 34px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .shell {
    width: min(100% - 24px, 720px);
    grid-template-columns: 1fr;
    margin-bottom: 54px;
  }

  .toc {
    position: static;
    padding: 16px;
  }

  .toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }

  .doc-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .legal-pre {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 2px;
  }

  .legal-table td {
    padding-top: 2px;
  }

  .footer-inner {
    width: min(100% - 24px, 720px);
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-actions .btn-red {
    display: none;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .crumb {
    font-size: 0.82rem;
  }
}
