:root {
  --legal-bg: #ebecf0;
  --legal-text: #333333;
  --legal-muted: #62666b;
  --legal-teal: #4a6c6e;
  --legal-red: #9a381d;
  --legal-gold: #daa520;
  --legal-light: rgba(255, 255, 255, 0.9);
  --legal-dark: rgba(174, 176, 185, 0.5);
  --legal-raised:
    -9px -9px 20px var(--legal-light),
    9px 9px 20px var(--legal-dark);
  --legal-inset:
    inset -5px -5px 11px rgba(255, 255, 255, 0.82),
    inset 5px 5px 11px rgba(174, 176, 185, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--legal-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--legal-text);
  background: var(--legal-bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

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

a:hover {
  color: var(--legal-red);
}

.header-global {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 0;
  background: rgba(235, 236, 240, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar,
.container {
  width: min(calc(100% - 36px), 980px);
  margin-inline: auto;
}

.navbar .container {
  width: 100%;
}

.navbar-brand {
  display: inline-flex;
  width: auto;
  min-height: 58px;
  padding: 6px 15px 6px 6px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--legal-teal);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: var(--legal-bg);
  box-shadow: var(--legal-raised);
  font-weight: 800;
  text-decoration: none;
}

.navbar-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.navbar-brand-name {
  line-height: 1;
}

.navbar-brand-arrow {
  color: var(--legal-red);
  font-size: 1.15rem;
}

.navbar-brand:hover {
  color: var(--legal-red);
  box-shadow: var(--legal-inset);
}

.tab-content main {
  padding: 64px 0 80px;
}

.tab-pane:not(.active) {
  display: none;
}

.section,
.section.bg-soft,
.section.section {
  padding: 0;
  background: transparent !important;
}

.section > .container {
  width: min(calc(100% - 36px), 980px);
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: var(--legal-bg);
  box-shadow: var(--legal-raised);
}

.section .col-lg-8,
.section .col-xl-8 {
  width: 100%;
  max-width: none;
  padding: 0;
}

.display-2,
.section h1,
.section h2 {
  margin: 0 0 32px;
  color: var(--legal-teal);
  font-size: clamp(2.25rem, 7vw, 4.4rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-shadow:
    -2px -2px 2px rgba(255, 255, 255, 0.82),
    2px 2px 3px rgba(174, 176, 185, 0.4);
}

.section h1 {
  margin-bottom: 10px;
}

.section h3 {
  margin: 42px 0 14px;
  color: var(--legal-teal);
  font-size: 1.45rem;
  line-height: 1.25;
}

.legal-updated {
  margin-bottom: 32px !important;
  color: var(--legal-muted);
  font-weight: 700;
}

.legal-note {
  margin: 30px 0 38px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: var(--legal-inset);
}

.legal-note > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--legal-teal);
  font-size: 1.1rem;
}

.legal-note ul {
  margin-bottom: 0;
}

.section address {
  margin: 0 0 18px;
  font-style: normal;
}

.header-global .navbar > .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 720px) {
  .header-global .navbar > .container {
    align-items: flex-start;
    flex-direction: column;
  }

}

.section h4,
.section h5 {
  margin: 30px 0 10px;
  color: var(--legal-text);
  font-size: 1.08rem;
}

.section p {
  margin: 0 0 18px;
}

.section ul,
.section ol {
  margin: 12px 0 24px;
  padding-left: 24px;
}

.section li {
  margin-bottom: 12px;
}

.section b,
.section strong {
  color: var(--legal-text);
}

footer {
  display: block !important;
  padding: 38px 0 44px !important;
  border: 0 !important;
  background: var(--legal-bg) !important;
}

footer .container {
  width: min(calc(100% - 36px), 980px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: var(--legal-bg);
  box-shadow: var(--legal-raised);
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
}

footer .col-6,
footer .col-sm-3 {
  width: auto;
  padding: 0;
  text-align: center;
}

footer .p-2 {
  display: inline-block;
  padding: 9px 13px !important;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

footer .p-2:hover {
  box-shadow: var(--legal-inset);
}

footer hr {
  height: 1px;
  margin: 24px 0 !important;
  border: 0;
  background: rgba(174, 176, 185, 0.3);
}

footer .col {
  width: 100%;
  text-align: center;
}

footer .col > a {
  display: inline-flex !important;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  padding: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: var(--legal-inset);
}

footer .col > a img {
  max-width: 100%;
  max-height: 100%;
}

footer p {
  margin: 0;
  color: var(--legal-muted);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .header-global {
    padding: 12px 0;
  }

  .navbar-brand {
    min-height: 50px;
  }

  .navbar-brand img {
    width: 38px;
    height: 38px;
  }

  .tab-content main {
    padding: 36px 0 54px;
  }

  .section > .container {
    padding: 25px 20px;
    border-radius: 20px;
  }

  footer .container {
    padding: 22px 16px;
  }
}
