/* Terms & Conditions / Privacy Policy — scoped AMZ Retailers styles. */
.legal-page {
   color: #29313d;
   background: #f6f8fa;
}

.legal-page .legal-hero {
   position: relative;
   overflow: hidden;
   isolation: isolate;
   padding: 205px 0 92px;
   color: #fff;
   background: linear-gradient(125deg, #182435 0%, #232f3e 62%, #304057 100%);
}

.legal-page .legal-hero::before,
.legal-page .legal-hero::after {
   content: "";
   position: absolute;
   z-index: -1;
   pointer-events: none;
   border-radius: 50%;
}

.legal-page .legal-hero::before {
   width: 480px;
   height: 480px;
   right: -130px;
   top: 26px;
   background: radial-gradient(circle, rgba(255, 153, 0, 0.16), transparent 68%);
}

.legal-page .legal-hero::after {
   width: 370px;
   height: 370px;
   left: -160px;
   bottom: -220px;
   border: 1px solid rgba(255, 255, 255, 0.09);
}

.legal-page .legal-breadcrumb {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 12px;
   margin-bottom: 38px;
   font-size: 14px;
   color: rgba(255, 255, 255, 0.70);
}

.legal-page .legal-breadcrumb a {
   color: #fff;
   transition: color .2s ease;
}

.legal-page .legal-breadcrumb a:hover,
.legal-page .legal-breadcrumb a:focus-visible {
   color: #ffb443;
}

.legal-page .legal-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   margin: 0 0 16px;
   color: #ffb443;
   font-size: 12px;
   font-weight: 700;
   line-height: 1.5;
   letter-spacing: 2.2px;
}

.legal-page .legal-eyebrow::before {
   content: "";
   width: 26px;
   height: 2px;
   background: #ff9900;
}

.legal-page .legal-hero h1 {
   max-width: 800px;
   margin: 0 0 18px;
   color: #fff;
   font-size: clamp(40px, 5vw, 64px);
   font-weight: 700;
   line-height: 1.14;
   letter-spacing: -1.5px;
}

.legal-page .legal-hero h1 span {
   color: #ff9900;
}

.legal-page .legal-hero-description {
   max-width: 660px;
   margin: 0;
   color: rgba(255, 255, 255, 0.79);
   font-size: 17px;
   line-height: 1.8;
}

.legal-page .legal-content {
   padding: 72px 0 135px;
}

.legal-page .legal-grid {
   display: grid;
   grid-template-columns: minmax(210px, 255px) minmax(0, 1fr);
   align-items: start;
   gap: 38px;
}

.legal-page .legal-sidebar-inner {
   position: sticky;
   top: 28px;
   border: 1px solid #e7eaf0;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 10px 34px rgba(30, 45, 63, 0.04);
   padding: 28px 18px;
}

.legal-page .legal-sidebar h2 {
   margin: 0 0 14px;
   padding: 0 12px;
   color: #243247;
   font-size: 17px;
   font-weight: 700;
}

.legal-page .legal-toc {
   display: flex;
   flex-direction: column;
   gap: 3px;
   max-height: min(56vh, 485px);
   overflow-y: auto;
   scrollbar-width: thin;
}

.legal-page .legal-toc a {
   display: block;
   padding: 10px 12px;
   border-radius: 9px;
   color: #546274;
   font-size: 14px;
   line-height: 1.5;
   transition: color .2s ease, background-color .2s ease;
}

.legal-page .legal-toc a:hover,
.legal-page .legal-toc a:focus-visible {
   background: #fff3df;
   color: #b96c00;
}

.legal-page .legal-sidebar-help {
   display: flex;
   flex-direction: column;
   gap: 7px;
   margin: 24px 6px 0;
   padding: 20px 12px 0;
   border-top: 1px solid #eceff3;
   font-size: 13px;
   color: #637085;
}

.legal-page .legal-sidebar-help a {
   color: #d77d00;
   font-weight: 700;
}

.legal-page .legal-sidebar-help a:hover,
.legal-page .legal-sidebar-help a:focus-visible {
   color: #975800;
}

.legal-page .legal-document {
   min-width: 0;
   padding: 40px 48px 46px;
   border: 1px solid #e7eaf0;
   border-radius: 20px;
   background: #fff;
   box-shadow: 0 16px 40px rgba(31, 47, 67, 0.045);
}

.legal-page .legal-section {
   scroll-margin-top: 24px;
   padding: 0 0 28px;
   margin: 0 0 32px;
   border-bottom: 1px solid #edf0f3;
}

.legal-page .legal-section:last-of-type {
   border-bottom: 0;
   margin-bottom: 14px;
}

.legal-page .legal-intro {
   padding: 0 0 24px;
   border-bottom: 1px solid #edf0f3;
}

.legal-page .legal-intro > p:first-child {
   padding-left: 18px;
   border-left: 3px solid #ff9900;
   color: #334156;
   font-size: 17px;
   line-height: 1.9;
}

.legal-page .legal-document h2 {
   margin: 0 0 18px;
   color: #202d40;
   font-size: clamp(22px, 2.5vw, 27px);
   font-weight: 700;
   line-height: 1.4;
}

.legal-page .legal-document h3 {
   margin: 28px 0 13px;
   color: #273750;
   font-size: 19px;
   font-weight: 700;
   line-height: 1.45;
}

.legal-page .legal-document h2:not(:first-child) {
   margin-top: 30px;
}

.legal-page .legal-document p,
.legal-page .legal-document li {
   font-size: 15px;
   line-height: 1.95;
   color: #576275;
}

.legal-page .legal-document p {
   margin: 0 0 15px;
}

.legal-page .legal-document ul {
   padding: 0;
   margin: 14px 0 20px;
   list-style: none;
}

.legal-page .legal-document li {
   position: relative;
   padding-left: 25px;
   margin-bottom: 9px;
}

.legal-page .legal-document li::before {
   position: absolute;
   content: "";
   top: 13px;
   left: 2px;
   width: 7px;
   height: 7px;
   border-radius: 50%;
   background: #ff9900;
}

.legal-page .legal-document strong {
   color: #29374a;
   font-weight: 700;
}

.legal-page .legal-document a {
   color: #bb6f00;
   font-weight: 600;
   text-decoration: underline !important;
   text-underline-offset: 3px;
}

.legal-page .legal-document a:hover,
.legal-page .legal-document a:focus-visible {
   color: #8d5100;
}

.legal-page .legal-document-footer {
   padding: 28px 30px;
   border: 1px solid #f4dfc2;
   border-radius: 14px;
   background: #fff8ed;
}

.legal-page .legal-document-footer strong {
   display: block;
   margin-bottom: 6px;
   font-size: 17px;
}

.legal-page .legal-document-footer p {
   margin-bottom: 9px;
}

@media (max-width: 991.98px) {
   .legal-page .legal-hero {
      padding: 160px 0 75px;
   }

   .legal-page .legal-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 26px;
   }

   .legal-page .legal-sidebar-inner {
      position: static;
   }

   .legal-page .legal-toc {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-height: none;
      overflow: visible;
   }

   .legal-page .legal-content {
      padding-top: 40px;
   }
}

@media (max-width: 575.98px) {
   .legal-page .legal-hero {
      padding: 135px 0 62px;
   }

   .legal-page .legal-breadcrumb {
      margin-bottom: 28px;
   }

   .legal-page .legal-hero h1 {
      letter-spacing: -0.7px;
   }

   .legal-page .legal-hero-description {
      font-size: 15px;
   }

   .legal-page .legal-content {
      padding: 28px 0 115px;
   }

   .legal-page .legal-sidebar-inner {
      padding: 22px 14px;
      border-radius: 14px;
   }

   .legal-page .legal-toc {
      grid-template-columns: minmax(0, 1fr);
   }

   .legal-page .legal-toc a {
      padding: 7px 12px;
   }

   .legal-page .legal-document {
      padding: 28px 22px 30px;
      border-radius: 15px;
   }

   .legal-page .legal-section {
      margin-bottom: 26px;
   }

   .legal-page .legal-document p,
   .legal-page .legal-document li {
      font-size: 14px;
      line-height: 1.85;
   }

   .legal-page .legal-document-footer {
      padding: 22px;
   }
}
