/*
  Legal Center — reusable source template
  Visual standard taken from Precision Demolition’s legal aurora:
  Figtree + IBM Plex Mono, aubergine field, cyan / magenta / amber accents,
  numbered sections, flowing directory tiles, details accordion, jump cards.

  Reuse on a future independent site:
  1. Copy legal.css and legal.js.
  2. Keep these class names: legal-page, legal-header, legal-main, legal-hero,
     legal-kicker, legal-title, legal-lead, legal-updated, legal-toc,
     legal-section, legal-section-title, legal-heading-accent, legal-section-desc,
     legal-panel, legal-panel--warn, legal-list, legal-subhead, legal-cards,
     legal-card, legal-contact, legal-accordion, legal-back, legal-jump,
     legal-footer.
  3. Replace brand markup, contact links, and legal copy only.
  4. Do not copy another company’s name, license, services, or legal claims.

  BND adapter: also restyles .bnd-site-header / .bnd-site-nav / .bnd-site-brand
  when they sit inside body.legal-page.
*/

.legal-page {
  --legal-ink: #140816;
  --legal-ink-deep: #0c050f;
  --legal-read: rgba(18, 8, 22, 0.72);
  --legal-read-soft: rgba(22, 10, 28, 0.55);
  --legal-violet: #a855f7;
  --legal-magenta: #ec4899;
  --legal-cyan: #22d3ee;
  --legal-amber: #fbbf24;
  --legal-text: #f4f0f7;
  --legal-muted: #c9bfd4;
  --legal-sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --legal-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --legal-header-h: 5.15rem;
  --maxw: 1080px;
  --padx: 28px;
  color: var(--legal-text);
  font-family: var(--legal-sans);
  background-color: var(--legal-ink) !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 12% -8%, rgba(168, 85, 247, 0.42), transparent 58%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(236, 72, 153, 0.34), transparent 55%),
    radial-gradient(ellipse 60% 45% at 78% 72%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 40% at 8% 88%, rgba(251, 191, 36, 0.14), transparent 62%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(88, 28, 135, 0.35), transparent 70%),
    linear-gradient(165deg, #1a0b22 0%, #120814 42%, #0e0614 100%) !important;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

.legal-page::before {
  content: "";
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 35% at 30% 18%, rgba(192, 38, 211, 0.18), transparent 70%),
    radial-gradient(ellipse 45% 30% at 70% 55%, rgba(14, 165, 233, 0.14), transparent 68%),
    radial-gradient(ellipse 40% 28% at 45% 85%, rgba(244, 114, 182, 0.12), transparent 70%);
}

.legal-page::after,
.legal-page .wrap::before,
.legal-page .wrap::after {
  display: none !important;
  content: none !important;
}

.legal-page .wrap {
  background: transparent !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.legal-page .skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--legal-violet), var(--legal-magenta));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.legal-page .skip-link:focus {
  left: 12px;
  top: 12px;
  outline: 3px solid rgba(34, 211, 238, 0.7);
  outline-offset: 2px;
}

/* Header chrome */
.legal-page .legal-header,
.legal-page .bnd-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
  background: linear-gradient(180deg, rgba(20, 8, 22, 0.88), rgba(16, 6, 20, 0.72)) !important;
  border-bottom: none !important;
  box-shadow: 0 18px 40px rgba(8, 2, 12, 0.35);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.legal-page .legal-header__inner,
.legal-page .bnd-site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--padx);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--legal-header-h);
  flex-wrap: nowrap;
}

.legal-page .legal-brand,
.legal-page .bnd-site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
}

.legal-page .legal-brand__logo,
.legal-page .bnd-site-brand__logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
  filter: none !important;
  box-shadow: none !important;
}

.legal-page .legal-brand__copy,
.legal-page .bnd-site-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.legal-page .legal-brand__name,
.legal-page .bnd-site-brand__name {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--legal-text) !important;
  font-family: var(--legal-sans);
}

.legal-page .legal-brand__tag,
.legal-page .bnd-site-brand__tag {
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
  color: var(--legal-muted) !important;
}

.legal-page .legal-brand__meta,
.legal-page .bnd-site-brand__meta {
  display: block;
  margin: 0;
  font-family: var(--legal-mono);
  font-size: 0.64rem !important;
  font-weight: 500;
  line-height: 1.2 !important;
  letter-spacing: 0.02em;
  color: var(--legal-cyan) !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.legal-page .bnd-site-quote {
  display: none !important;
}

.legal-page .legal-nav-toggle,
.legal-page .bnd-site-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: rgba(36, 14, 48, 0.85);
  color: var(--legal-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.25);
}

.legal-page .legal-nav-toggle:hover,
.legal-page .legal-nav-toggle:focus-visible,
.legal-page .bnd-site-nav-toggle:hover,
.legal-page .bnd-site-nav-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.55);
  outline: none;
}

.legal-page .legal-nav-toggle__icon,
.legal-page .bnd-site-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.legal-page .legal-nav-toggle__icon span,
.legal-page .bnd-site-nav-toggle__icon span {
  display: block;
  height: 2px;
  background: var(--legal-text);
  border-radius: 1px;
}

.legal-page .legal-nav,
.legal-page .bnd-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  padding-top: 0;
}

.legal-page .legal-nav a,
.legal-page .bnd-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  color: var(--legal-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  background: none;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.legal-page .legal-nav a:hover,
.legal-page .legal-nav a:focus-visible,
.legal-page .bnd-site-nav a:hover,
.legal-page .bnd-site-nav a:focus-visible {
  color: #fff;
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.28), rgba(236, 72, 153, 0.22), rgba(34, 211, 238, 0.18));
  outline: 2px solid rgba(34, 211, 238, 0.65);
  outline-offset: 2px;
}

.legal-page .legal-nav a[aria-current="page"],
.legal-page .bnd-site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.55), rgba(236, 72, 153, 0.45));
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
}

@media (min-width: 901px) {
  .legal-page .legal-nav[hidden],
  .legal-page .bnd-site-nav[hidden] {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .legal-page {
    --padx: 14px;
    --legal-header-h: 4.1rem;
  }

  .legal-page .wrap {
    padding-left: var(--padx);
    padding-right: var(--padx);
  }

  .legal-page .legal-header__inner,
  .legal-page .bnd-site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 8px;
    row-gap: 4px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 0;
  }

  .legal-page .legal-brand,
  .legal-page .bnd-site-brand {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    gap: 8px;
  }

  .legal-page .legal-brand__logo,
  .legal-page .bnd-site-brand__logo {
    width: 36px;
    height: 36px;
    margin-top: 2px;
  }

  .legal-page .legal-brand__name,
  .legal-page .bnd-site-brand__name {
    font-size: 0.92rem;
    max-width: none;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .legal-page .legal-nav-toggle,
  .legal-page .bnd-site-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    min-width: 44px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
  }

  .legal-page .legal-nav,
  .legal-page .bnd-site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
    background: rgba(16, 6, 20, 0.92);
    box-shadow: 0 16px 40px rgba(8, 2, 14, 0.45);
  }

  .legal-page .legal-nav[hidden],
  .legal-page .bnd-site-nav[hidden] {
    display: none !important;
  }

  .legal-page .legal-nav a,
  .legal-page .bnd-site-nav a {
    min-height: 44px;
    justify-content: flex-start;
    white-space: normal;
  }

  .legal-page .legal-brand__meta,
  .legal-page .bnd-site-brand__meta {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .legal-page {
    --padx: 12px;
  }

  .legal-page .legal-brand__name,
  .legal-page .bnd-site-brand__name {
    font-size: 0.88rem;
  }
}

/* Reading column */
.legal-main {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  padding: 36px var(--padx, 28px) 72px;
  flex: 1 1 auto;
  counter-reset: legal-sec;
}

@media (max-width: 900px) {
  .legal-main {
    padding-left: 0;
    padding-right: 0;
    padding-top: 8px;
  }
}

.legal-hero,
.legal-panel,
.legal-card,
.legal-accordion details,
.legal-contact {
  background-color: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
  color: var(--legal-text);
  border-radius: 0;
}

.legal-hero {
  padding: 8px 0 28px;
  margin: 0 0 36px;
  position: relative;
}

.legal-kicker,
.legal-updated {
  font-family: var(--legal-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--legal-cyan), var(--legal-violet), var(--legal-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-kicker {
  margin: 0 0 8px;
}

.legal-updated {
  letter-spacing: 0.04em;
  text-transform: none;
  margin-top: 20px;
  font-size: 0.82rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--legal-muted);
  -webkit-text-fill-color: var(--legal-muted);
}

.legal-title {
  margin: 10px 0 0;
  font-family: var(--legal-sans);
  font-weight: 750;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(100deg, #e879f9 0%, #22d3ee 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-lead,
.legal-section-desc,
.legal-panel,
.legal-panel p,
.legal-list,
.legal-list li,
.legal-card p,
.legal-contact,
.legal-back,
.legal-accordion details p {
  color: var(--legal-text);
  font-family: var(--legal-sans);
  font-weight: 500;
  line-height: 1.7;
  -webkit-text-fill-color: var(--legal-text);
}

.legal-lead {
  color: var(--legal-muted);
  -webkit-text-fill-color: var(--legal-muted);
  max-width: 36rem;
  font-size: 1.12rem;
  margin: 18px 0 0;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 40px;
  padding: 0;
}

.legal-toc a {
  background: none;
  color: var(--legal-muted);
  border: none;
  border-radius: 0;
  font-family: var(--legal-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: auto;
  padding: 4px 0;
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease;
}

.legal-toc a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--legal-violet), var(--legal-cyan), var(--legal-amber));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: #fff;
  outline: none;
}

.legal-toc a:hover::after,
.legal-toc a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.legal-toc a:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 4px;
}

.legal-section {
  margin: 0 0 44px;
  padding: 0;
}

.legal-section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--legal-sans);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #f5e9ff 0%, #d946ef 40%, #22d3ee 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-section-title::before {
  counter-increment: legal-sec;
  content: counter(legal-sec, decimal-leading-zero);
  font-family: var(--legal-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
  background: linear-gradient(160deg, var(--legal-amber), var(--legal-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-heading-accent {
  background: linear-gradient(100deg, var(--legal-cyan), var(--legal-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-subhead {
  margin: 0 0 8px;
  font-family: var(--legal-sans);
  font-size: 1.05rem;
  font-weight: 650;
  background: linear-gradient(100deg, var(--legal-magenta), var(--legal-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-section-desc {
  color: var(--legal-muted);
  -webkit-text-fill-color: var(--legal-muted);
  max-width: 40rem;
  margin: -4px 0 18px;
  font-size: 0.92rem;
}

.legal-panel {
  padding: 20px 4px 8px;
  margin: 0 0 18px;
  background: linear-gradient(180deg, var(--legal-read), transparent 120%) !important;
  border-radius: 18px;
  max-width: 42rem;
}

.legal-panel--warn {
  background: linear-gradient(180deg, rgba(28, 12, 20, 0.75), transparent 130%) !important;
}

.legal-panel p {
  margin: 0 0 10px;
}

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

.legal-panel code {
  font-family: var(--legal-mono);
  font-size: 0.86em;
  color: var(--legal-cyan);
  background: rgba(12, 5, 18, 0.55);
  border: none;
  padding: 0.12em 0.45em;
  border-radius: 6px;
}

.legal-list {
  margin: 0;
  padding-left: 1.15rem;
  max-width: 42rem;
}

.legal-list li + li {
  margin-top: 10px;
}

.legal-list li::marker {
  color: var(--legal-magenta);
}

.legal-cards {
  counter-reset: legal-card;
  display: grid;
  gap: 8px 28px;
  margin: 0 0 40px;
}

@media (min-width: 720px) {
  .legal-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-card {
  display: block;
  padding: 22px 8px 26px;
  margin: 0;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: transform 0.18s ease, opacity 0.18s ease;
  position: relative;
}

.legal-card::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 12%;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0), rgba(236, 72, 153, 0.55), rgba(34, 211, 238, 0.45), rgba(251, 191, 36, 0));
  opacity: 0.55;
  pointer-events: none;
}

.legal-card h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--legal-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, #ffe8fb 0%, #e879f9 35%, #22d3ee 75%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-card h2::before {
  counter-increment: legal-card;
  content: counter(legal-card, decimal-leading-zero);
  font-family: var(--legal-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: linear-gradient(160deg, var(--legal-amber), var(--legal-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-card:hover,
.legal-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.legal-card:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 6px;
  border-radius: 12px;
}

.legal-card:hover::after,
.legal-card:focus-visible::after {
  opacity: 1;
  right: 0;
}

.legal-card p {
  margin: 0;
  max-width: 28rem;
  color: var(--legal-text);
  -webkit-text-fill-color: var(--legal-text);
}

.legal-accordion {
  display: grid;
  gap: 6px;
  margin: 0 0 28px;
}

.legal-accordion details {
  margin: 0;
  overflow: hidden;
  background: var(--legal-read-soft) !important;
  border-radius: 16px;
  transition: background-color 0.18s ease;
}

.legal-accordion summary {
  color: var(--legal-text);
  -webkit-text-fill-color: var(--legal-text);
  padding: 16px 18px;
  font-family: var(--legal-sans);
  font-weight: 650;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.legal-accordion summary::-webkit-details-marker {
  display: none;
}

.legal-accordion summary:hover,
.legal-accordion summary:focus-visible {
  background: linear-gradient(100deg, rgba(168, 85, 247, 0.18), rgba(34, 211, 238, 0.12));
  color: #fff;
  outline: none;
}

.legal-accordion summary:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.65);
  outline-offset: -2px;
}

.legal-accordion details[open] {
  background: var(--legal-read) !important;
}

.legal-accordion details[open] summary {
  background: linear-gradient(100deg, rgba(236, 72, 153, 0.14), rgba(168, 85, 247, 0.1));
}

.legal-accordion details p {
  padding: 4px 18px 18px;
  margin: 0;
  color: var(--legal-muted);
  -webkit-text-fill-color: var(--legal-muted);
  max-width: 40rem;
}

.legal-contact {
  margin: 24px 0 0;
  padding: 8px 0 0;
  max-width: 42rem;
  line-height: 1.5;
}

.legal-back {
  margin: 0 0 22px;
  font-family: var(--legal-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.legal-contact a,
.legal-back a,
.legal-panel a,
.legal-list a,
.legal-accordion a {
  color: var(--legal-cyan);
  -webkit-text-fill-color: var(--legal-cyan);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}

.legal-contact a:hover,
.legal-back a:hover,
.legal-panel a:hover,
.legal-list a:hover,
.legal-accordion a:hover,
.legal-contact a:focus-visible,
.legal-back a:focus-visible,
.legal-panel a:focus-visible,
.legal-list a:focus-visible,
.legal-accordion a:focus-visible {
  color: var(--legal-amber);
  -webkit-text-fill-color: var(--legal-amber);
  outline: 2px solid rgba(251, 191, 36, 0.55);
  outline-offset: 3px;
}

.legal-jump {
  margin: 40px 0 8px;
  padding: 0;
}

.legal-jump__kicker {
  margin: 0 0 14px;
  font-family: var(--legal-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--legal-cyan), var(--legal-violet), var(--legal-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

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

@media (min-width: 720px) {
  .legal-jump__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 960px) {
  .legal-jump__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.legal-jump__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.14) 45%, rgba(34, 211, 238, 0.16));
  box-shadow: inset 0 0 0 1px rgba(244, 240, 247, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.legal-jump__card:nth-child(2) {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.16) 50%, rgba(251, 191, 36, 0.1));
}

.legal-jump__card:nth-child(3) {
  background: linear-gradient(155deg, rgba(236, 72, 153, 0.2), rgba(34, 211, 238, 0.14) 55%, rgba(168, 85, 247, 0.12));
}

.legal-jump__card:nth-child(4) {
  background: linear-gradient(125deg, rgba(251, 191, 36, 0.14), rgba(236, 72, 153, 0.16) 40%, rgba(34, 211, 238, 0.14));
}

.legal-jump__card:nth-child(5) {
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.18), rgba(34, 211, 238, 0.18) 60%, rgba(236, 72, 153, 0.12));
}

.legal-jump__title {
  font-family: var(--legal-sans);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--legal-text);
  -webkit-text-fill-color: var(--legal-text);
  line-height: 1.25;
}

.legal-jump__card:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.34), rgba(236, 72, 153, 0.24), rgba(34, 211, 238, 0.22));
  box-shadow: inset 0 0 0 1px rgba(244, 240, 247, 0.14);
}

.legal-jump__card:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.75);
  outline-offset: 3px;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35);
}

/* Footer */
.legal-footer {
  margin-top: 48px;
  border-top: none;
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(168, 85, 247, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 100%, rgba(34, 211, 238, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(12, 5, 15, 0.4), var(--legal-ink-deep));
  color: var(--legal-muted);
}

.legal-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--padx) 40px;
  display: grid;
  gap: 16px;
}

.legal-footer__name {
  margin: 0 0 6px;
  font-family: var(--legal-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--legal-text);
  letter-spacing: -0.02em;
}

.legal-footer__name a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.legal-footer__name a:hover,
.legal-footer__name a:focus-visible {
  color: var(--legal-cyan);
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 3px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer__meta,
.legal-footer__copy {
  margin: 0;
  color: var(--legal-muted);
  font-size: 0.9rem;
}

.legal-footer__home {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-footer__home a {
  color: var(--legal-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer__home a:hover,
.legal-footer__home a:focus-visible {
  color: var(--legal-cyan);
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 3px;
}

.legal-footer__meta a {
  color: inherit;
  text-decoration: none;
}

.legal-footer__meta a:hover,
.legal-footer__meta a:focus-visible {
  color: var(--legal-cyan);
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 3px;
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.legal-footer__links a {
  color: var(--legal-text);
  text-decoration: none;
  font-size: 0.92rem;
}

.legal-footer__links a:hover,
.legal-footer__links a:focus-visible {
  color: var(--legal-cyan);
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .legal-hero,
  .legal-panel,
  .legal-card,
  .legal-contact,
  .legal-jump__card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .legal-title {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1.12;
  }

  .legal-section-title {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
    line-height: 1.2;
  }

  .legal-footer__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-card,
  .legal-jump__card,
  .legal-toc a,
  .legal-toc a::after,
  .legal-page .legal-nav a,
  .legal-page .bnd-site-nav a,
  .legal-accordion summary,
  .legal-footer__name a {
    transition: none !important;
  }

  .legal-card:hover,
  .legal-card:focus-visible,
  .legal-jump__card:hover,
  .legal-jump__card:focus-visible {
    transform: none;
  }
}

@media print {
  .legal-page,
  .legal-page::before,
  .legal-footer,
  .legal-hero,
  .legal-panel,
  .legal-card,
  .legal-jump__card,
  .legal-accordion details,
  .legal-contact {
    background: #fff !important;
    background-image: none !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .legal-page .legal-header,
  .legal-page .bnd-site-header,
  .legal-page .legal-nav-toggle,
  .legal-page .bnd-site-nav-toggle {
    display: none !important;
  }

  .legal-title,
  .legal-section-title,
  .legal-kicker,
  .legal-card h2,
  .legal-subhead,
  .legal-heading-accent,
  .legal-section-title::before,
  .legal-card h2::before,
  .legal-page a {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  .legal-card::after,
  .legal-toc a::after {
    display: none !important;
  }
}
