/* Legal pages: Casa-Medi staging structure translated into Nordlicht Noir. */
body#top.rnnd-legal-page #main.rnnd-legal {
  padding-top: 126px !important;
  background: #f4f1ea;
  color: #171717;
}

body#top.rnnd-legal-page .rnnd-legal__shell {
  width: var(--rn-grid-width);
  max-width: none;
  margin: 0 auto;
}

body#top.rnnd-legal-page .rnnd-legal__breadcrumb {
  border-bottom: 1px solid rgba(8, 8, 8, .12);
  background: #fff;
  font-family: var(--rn-text);
  font-size: 12px;
}

body#top.rnnd-legal-page .rnnd-legal__breadcrumb .rnnd-legal__shell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
}

body#top.rnnd-legal-page .rnnd-legal__breadcrumb :is(a, strong) {
  color: #57534b;
  text-decoration: none;
  font-weight: 400;
}

body#top.rnnd-legal-page .rnnd-legal__breadcrumb strong {
  color: #111;
  font-weight: 600;
}

body#top.rnnd-legal-page .rnnd-legal__hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #ece7dd 0%, #f5f2eb 60%, #fff 100%);
}

body#top.rnnd-legal-page .rnnd-legal__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  align-items: center;
  min-height: 430px;
  padding: 72px 0 76px;
}

body#top.rnnd-legal-page .rnnd-legal__eyebrow,
body#top.rnnd-legal-page .rnnd-legal__section-label,
body#top.rnnd-legal-page .rnnd-legal__aside > p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  color: #8d7549;
  font-family: var(--rn-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

body#top.rnnd-legal-page .rnnd-legal__eyebrow::before,
body#top.rnnd-legal-page .rnnd-legal__section-label::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

body#top.rnnd-legal-page .rnnd-legal__hero h1 {
  max-width: 760px;
  margin: 0;
  color: #111;
  font-family: var(--rn-display) !important;
  font-size: clamp(54px, 6vw, 88px) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em;
  line-height: .96;
  text-transform: uppercase;
}

body#top.rnnd-legal-page .rnnd-legal__hero h1 em {
  color: var(--rn-warm);
  font-style: normal;
  font-weight: 400;
}

body#top.rnnd-legal-page .rnnd-legal__lead {
  max-width: 650px;
  margin: 36px 0 0;
  color: #5d5952;
  font-family: var(--rn-text);
  font-size: 18px;
  line-height: 1.65;
}

body#top.rnnd-legal-page .rnnd-legal__orbit {
  position: relative;
  justify-self: end;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 8, 8, .12);
  border-radius: 50%;
}

body#top.rnnd-legal-page .rnnd-legal__orbit::before,
body#top.rnnd-legal-page .rnnd-legal__orbit::after {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(8, 8, 8, .12);
  border-radius: 50%;
  content: "";
}

body#top.rnnd-legal-page .rnnd-legal__orbit::after {
  inset: 31%;
}

body#top.rnnd-legal-page .rnnd-legal__orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--rn-warm);
  font: 300 36px/1 var(--rn-text);
}

body#top.rnnd-legal-page .rnnd-legal__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(52px, 8vw, 110px);
  padding-top: 110px;
  padding-bottom: 130px;
}

body#top.rnnd-legal-page .rnnd-legal__aside {
  position: sticky;
  top: 156px;
  align-self: start;
}

body#top.rnnd-legal-page .rnnd-legal__aside > p {
  margin-bottom: 18px;
}

body#top.rnnd-legal-page .rnnd-legal__aside a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(8, 8, 8, .15);
  color: #4e4a43;
  font-family: var(--rn-text);
  font-size: 14px;
  text-decoration: none;
}

body#top.rnnd-legal-page .rnnd-legal__aside a:hover,
body#top.rnnd-legal-page .rnnd-legal__aside a:focus-visible,
body#top.rnnd-legal-page .rnnd-legal__content a {
  color: #8d7549;
}

body#top.rnnd-legal-page .rnnd-legal__content {
  min-width: 0;
  max-width: 860px;
}

body#top.rnnd-legal-page .rnnd-legal__notice,
body#top.rnnd-legal-page .rnnd-legal__inline-note {
  padding: 26px 30px;
  border-left: 4px solid #c3aa7a;
  background: #f3e7c8;
  color: #4e4431;
  font: 14px/1.7 var(--rn-text);
}

body#top.rnnd-legal-page .rnnd-legal__notice {
  margin-bottom: 54px;
}

body#top.rnnd-legal-page .rnnd-legal__notice strong,
body#top.rnnd-legal-page .rnnd-legal__inline-note strong {
  display: block;
  margin-bottom: 5px;
  color: #382f20;
  font-weight: 600;
}

body#top.rnnd-legal-page .rnnd-legal__notice p,
body#top.rnnd-legal-page .rnnd-legal__inline-note p {
  margin: 0;
}

body#top.rnnd-legal-page .rnnd-legal__section {
  padding: 54px 0 58px;
  border-top: 1px solid rgba(8, 8, 8, .15);
}

body#top.rnnd-legal-page .rnnd-legal__section-label {
  margin-bottom: 35px;
  color: #6d685f;
}

body#top.rnnd-legal-page .rnnd-legal__section h2 {
  margin: 0 0 22px;
  color: #111;
  font-family: var(--rn-display) !important;
  font-size: clamp(31px, 3.2vw, 44px) !important;
  font-weight: 500 !important;
  letter-spacing: -.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

body#top.rnnd-legal-page .rnnd-legal__section h3 {
  margin: 38px 0 12px;
  color: #171717;
  font-family: var(--rn-display) !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
}

body#top.rnnd-legal-page .rnnd-legal__section :is(p, li),
body#top.rnnd-legal-page .rnnd-legal__answer :is(p, li) {
  color: #57534b;
  font: 16px/1.75 var(--rn-text);
}

body#top.rnnd-legal-page .rnnd-legal__section p {
  max-width: 760px;
  margin: 0 0 22px;
}

body#top.rnnd-legal-page .rnnd-legal__muted,
body#top.rnnd-legal-page .rnnd-legal__updated {
  color: #777168 !important;
  font-size: 13px !important;
}

body#top.rnnd-legal-page .rnnd-legal__accordion {
  border-top: 1px solid rgba(8, 8, 8, .18);
}

body#top.rnnd-legal-page .rnnd-legal__accordion + .rnnd-legal__accordion {
  margin-top: 0;
  border-top: 0;
}

body#top.rnnd-legal-page .rnnd-legal__accordion details {
  border-bottom: 1px solid rgba(8, 8, 8, .18);
}

body#top.rnnd-legal-page .rnnd-legal__accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 20px 4px;
  color: #171717;
  cursor: pointer;
  list-style: none;
  font: 400 clamp(22px, 2.3vw, 31px)/1.2 var(--rn-display);
  text-transform: uppercase;
}

body#top.rnnd-legal-page .rnnd-legal__accordion summary::-webkit-details-marker {
  display: none;
}

body#top.rnnd-legal-page .rnnd-legal__accordion summary i {
  flex: 0 0 40px;
  color: #8d7549;
  font: 300 30px/1 var(--rn-text);
  text-align: center;
  transition: transform .25s ease;
}

body#top.rnnd-legal-page .rnnd-legal__accordion details[open] summary i {
  transform: rotate(45deg);
}

body#top.rnnd-legal-page .rnnd-legal__answer {
  max-width: 770px;
  padding: 0 56px 34px 4px;
}

body#top.rnnd-legal-page .rnnd-legal__answer p {
  margin: 0 0 18px;
}

body#top.rnnd-legal-page .rnnd-legal__inline-note {
  margin: 24px 0 4px;
}

body#top.rnnd-legal-page .rnnd-legal__updated {
  margin: 36px 0 0;
}

@media (max-width: 989px) {
  body#top.rnnd-legal-page #main.rnnd-legal {
    padding-top: 102px !important;
  }

  body#top.rnnd-legal-page .rnnd-legal__hero-inner {
    grid-template-columns: 1fr 190px;
    min-height: 380px;
  }

  body#top.rnnd-legal-page .rnnd-legal__orbit {
    width: 190px;
  }

  body#top.rnnd-legal-page .rnnd-legal__layout {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 72px;
  }

  body#top.rnnd-legal-page .rnnd-legal__aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  body#top.rnnd-legal-page .rnnd-legal__aside > p {
    grid-column: 1 / -1;
  }

  body#top.rnnd-legal-page .rnnd-legal__aside a {
    padding-right: 12px;
  }
}

@media (max-width: 767px) {
  body#top.rnnd-legal-page #main.rnnd-legal {
    padding-top: 88px !important;
  }

  body#top.rnnd-legal-page .rnnd-legal__shell {
    width: calc(100vw - 40px);
  }

  body#top.rnnd-legal-page .rnnd-legal__hero-inner {
    display: block;
    min-height: 0;
    padding: 64px 0 70px;
  }

  body#top.rnnd-legal-page .rnnd-legal__hero h1 {
    font-size: clamp(45px, 14vw, 66px) !important;
  }

  body#top.rnnd-legal-page .rnnd-legal__lead {
    margin-top: 28px;
    font-size: 16px;
  }

  body#top.rnnd-legal-page .rnnd-legal__orbit {
    position: absolute;
    right: -88px;
    bottom: -88px;
    width: 220px;
    opacity: .55;
  }

  body#top.rnnd-legal-page .rnnd-legal__layout {
    padding-top: 54px;
    padding-bottom: 84px;
  }

  body#top.rnnd-legal-page .rnnd-legal__aside {
    grid-template-columns: 1fr;
  }

  body#top.rnnd-legal-page .rnnd-legal__notice,
  body#top.rnnd-legal-page .rnnd-legal__inline-note {
    padding: 22px 20px;
  }

  body#top.rnnd-legal-page .rnnd-legal__section {
    padding: 44px 0 48px;
  }

  body#top.rnnd-legal-page .rnnd-legal__accordion summary {
    min-height: 74px;
    font-size: 21px;
  }

  body#top.rnnd-legal-page .rnnd-legal__answer {
    padding-right: 4px;
  }
}

/*
 * Regression guard: the shared Noir content layer is intentionally dark and
 * loads after the page stylesheet. Legal pages use the approved Casa-Medi
 * light reading surface, so its palette and header spacing must win locally.
 */
body#top.rnnd-legal-page #main.rnnd-legal {
  padding-top: 0 !important;
  background: #f4f1ea !important;
  color: #171717 !important;
}

body#top.rnnd-legal-page .rnnd-legal__hero {
  background: linear-gradient(105deg, #ece7dd 0%, #f5f2eb 60%, #fff 100%) !important;
  color: #171717 !important;
}

body#top.rnnd-legal-page #main.rnnd-legal .rnnd-legal__hero h1,
body#top.rnnd-legal-page #main.rnnd-legal .rnnd-legal__hero h1 * {
  color: #111 !important;
}

body#top.rnnd-legal-page #main.rnnd-legal .rnnd-legal__hero h1 em {
  color: var(--rn-warm) !important;
}

body#top.rnnd-legal-page :is(
  .rnnd-legal__layout,
  .rnnd-legal__content,
  .rnnd-legal__section,
  .rnnd-legal__accordion,
  .rnnd-legal__answer
) {
  color: #171717 !important;
}

body#top.rnnd-legal-page .rnnd-legal__lead,
body#top.rnnd-legal-page .rnnd-legal__section :is(p, li),
body#top.rnnd-legal-page .rnnd-legal__answer :is(p, li) {
  color: #57534b !important;
}

body#top.rnnd-legal-page #main.rnnd-legal .rnnd-legal__section :is(h2, h3),
body#top.rnnd-legal-page #main.rnnd-legal .rnnd-legal__accordion summary {
  color: #171717 !important;
}

body#top.rnnd-legal-page .rnnd-legal__breadcrumb :is(a, span) {
  color: #57534b !important;
}

body#top.rnnd-legal-page .rnnd-legal__breadcrumb strong {
  color: #111 !important;
}

@media (max-width: 989px) {
  body#top.rnnd-legal-page #main.rnnd-legal {
    padding-top: 0 !important;
  }
}
