:root {
  --bg: #070a16;
  --bg-soft: #0f1428;
  --surface: #151b34;
  --surface-2: #1c2445;
  --surface-3: #222c52;
  --text: #f0f4ff;
  --text-muted: #a8b4d4;
  --text-soft: #7f8cb0;
  --primary: #6a5cff;
  --primary-2: #8b7dff;
  --primary-glow: rgba(106, 92, 255, 0.35);
  --accent: #15c9c2;
  --accent-glow: rgba(21, 201, 194, 0.25);
  --warning: #ffb347;
  --danger: #ff6b8a;
  --success: #4ade80;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --max-width: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(106, 92, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(21, 201, 194, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(106, 92, 255, 0.08), transparent 40%),
    var(--bg);
  min-height: 100%;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Navigation ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 22, 0.88);
  border-bottom: 1px solid var(--border);
}

.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(106, 92, 255, 0.3);
}

.brand h1 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: 1px;
}

.links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.links a i {
  font-size: 0.82rem;
  opacity: 0.85;
}

.links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.links a.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(106, 92, 255, 0.35), rgba(21, 201, 194, 0.2));
  border: 1px solid rgba(106, 92, 255, 0.4);
}

.menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.1rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* ── Hero (Home) ── */
.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, var(--primary-glow), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(21, 201, 194, 0.1);
  border: 1px solid rgba(21, 201, 194, 0.25);
}

.hero h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, #c4ceff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p,
.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero p {
  margin-bottom: 28px;
  max-width: 580px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 8px 28px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.hero-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hero-card img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(106, 92, 255, 0.35);
  display: block;
  margin: 0 auto;
}

.hero-card h3 {
  margin: 22px 0 0;
  font-size: 1.25rem;
  text-align: center;
}

.logo-showcase {
  padding: 36px 0 10px;
}

.logo-showcase-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(21, 27, 52, 0.95), rgba(28, 36, 69, 0.85));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.logo-showcase img {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 16px 48px rgba(106, 92, 255, 0.4);
}

.logo-showcase-text h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: 800;
}

.logo-showcase-text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

.score-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.score-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.score-list li span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.score-list li span i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.score-list li:last-child {
  border-bottom: 0;
}

.score-list li strong {
  color: #fff;
  font-weight: 700;
}

/* ── Stats strip ── */
.stats-strip {
  padding: 0 0 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-box {
  background: rgba(21, 27, 52, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.stat-box:hover {
  border-color: rgba(106, 92, 255, 0.4);
}

.stat-box i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-box strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-box span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* ── Sections & Cards ── */
.section {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-header h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p.lead {
  margin: 0;
}

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

.card {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(21, 27, 52, 0.9), rgba(28, 36, 69, 0.7));
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(106, 92, 255, 0.35);
  box-shadow: var(--shadow-soft);
}

.card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--primary-glow);
}

.card h4 {
  margin: 16px 0 10px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* ── Landing screenshot + content sections ── */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shot-card {
  margin: 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  display: block;
}

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

.benefit-card {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(21, 27, 52, 0.95), rgba(28, 36, 69, 0.8));
  border-radius: var(--radius);
  padding: 22px;
}

.benefit-card h4 {
  margin: 0 0 10px;
  font-size: 1.04rem;
}

.benefit-card h4 i {
  color: var(--accent);
  margin-right: 8px;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.flow-step {
  border: 1px solid var(--border);
  background: rgba(21, 27, 52, 0.7);
  border-radius: var(--radius);
  padding: 20px;
}

.flow-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.flow-step h4 {
  margin: 12px 0 8px;
}

.flow-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(160deg, rgba(26, 34, 64, 0.95), rgba(34, 45, 82, 0.8));
}

.review-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.review-card h5 {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(22, 28, 54, 0.8);
}

.faq-item h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

/* ── Legal pages hero ── */
.legal-hero {
  padding: 70px 0 40px;
  position: relative;
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.legal-hero h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-hero .lead {
  margin: 0;
  max-width: 620px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(106, 92, 255, 0.12);
  border: 1px solid rgba(106, 92, 255, 0.3);
  color: var(--text-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.legal-badge i {
  color: var(--primary-2);
  font-size: 1.2rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.meta-chip i {
  color: var(--accent);
}

/* ── Summary cards (legal) ── */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.summary-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.summary-card i {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.summary-card h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.summary-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ── Legal layout with TOC ── */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding-bottom: 60px;
  align-items: start;
}

.toc-sidebar {
  position: sticky;
  top: 100px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.toc-sidebar h4 {
  margin: 0 0 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.toc-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-sidebar li {
  margin-bottom: 4px;
}

.toc-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.toc-sidebar a:hover,
.toc-sidebar a.active {
  color: #fff;
  background: rgba(106, 92, 255, 0.15);
}

.toc-sidebar a i {
  width: 18px;
  color: var(--accent);
  font-size: 0.75rem;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-section {
  background: linear-gradient(160deg, rgba(21, 27, 52, 0.95), rgba(28, 36, 69, 0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  scroll-margin-top: 100px;
}

.legal-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.section-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(106, 92, 255, 0.25), rgba(21, 201, 194, 0.15));
  border: 1px solid rgba(106, 92, 255, 0.3);
  color: var(--primary-2);
  font-size: 1.15rem;
}

.legal-section h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal-section h3 span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 0.95rem;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.info-box {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.info-box i {
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box.note {
  background: rgba(21, 201, 194, 0.08);
  border: 1px solid rgba(21, 201, 194, 0.25);
  color: var(--text-muted);
}

.info-box.note i {
  color: var(--accent);
}

.info-box.warning {
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.25);
  color: var(--text-muted);
}

.info-box.warning i {
  color: var(--warning);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.data-table td {
  color: var(--text-muted);
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(106, 92, 255, 0.12), rgba(21, 201, 194, 0.08));
  border: 1px solid rgba(106, 92, 255, 0.25);
  margin-top: 8px;
}

.contact-card i {
  font-size: 1.5rem;
  color: var(--primary-2);
}

.contact-card div strong {
  display: block;
  margin-bottom: 4px;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.legal-section a {
  color: var(--accent);
  font-weight: 600;
}

.legal-section a:hover {
  text-decoration: underline;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.related-link:hover {
  border-color: rgba(106, 92, 255, 0.35);
  color: var(--text);
  background: rgba(106, 92, 255, 0.08);
}

.related-link i {
  color: var(--accent);
}

/* ── CTA banner ── */
.cta-banner {
  margin: 20px 0 60px;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(106, 92, 255, 0.2), rgba(21, 201, 194, 0.1));
  border: 1px solid rgba(106, 92, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.cta-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 20px;
  background: rgba(7, 10, 22, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(106, 92, 255, 0.25);
}

.footer-brand p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
  margin: 0;
}

.footer-col h5 {
  margin: 0 0 16px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom small {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  color: var(--text);
  border-color: rgba(106, 92, 255, 0.4);
  background: rgba(106, 92, 255, 0.12);
}

/* ── Back to top ── */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(21, 27, 52, 0.95);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 90;
  box-shadow: var(--shadow-soft);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc-sidebar {
    position: static;
  }

  .legal-hero-inner {
    grid-template-columns: 1fr;
  }

  .legal-badge {
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .summary-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid,
  .flow-grid,
  .shots-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: grid;
    place-items: center;
  }

  .links {
    position: absolute;
    top: 84px;
    right: 1rem;
    left: 1rem;
    background: rgba(15, 20, 40, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: none;
    flex-direction: column;
    padding: 10px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .links.open {
    display: flex;
  }

  .features,
  .summary-grid,
  .stats-grid,
  .related-links,
  .faq-grid,
  .benefits-grid,
  .flow-grid,
  .reviews-grid,
  .shots-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 24px;
  }

  .legal-section {
    padding: 22px 20px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }
}
