/* Rowland Made Website V144 — additive legal, privacy and consumer-rights UI */

.rm-footer-legal {
  display: grid;
  gap: 18px;
  padding: 24px 28px;
  color: var(--navy);
  background: color-mix(in srgb, var(--cream) 82%, white);
  border-top: 1px solid rgba(7, 30, 61, 0.14);
}

.rm-footer-seller {
  display: grid;
  gap: 3px;
  font-family: var(--font-brand);
}

.rm-footer-seller b {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.rm-footer-seller span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.rm-footer-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.rm-footer-policy-nav a {
  color: var(--navy);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-footer-bottom .rm-footer-origin {
  opacity: 0.72;
}

.rm-legal-page {
  min-height: calc(100svh - 66px);
  color: var(--navy);
  background:
    radial-gradient(circle at 91% 4%, rgba(247, 180, 195, 0.24), transparent 27rem),
    linear-gradient(180deg, #fffaf0 0%, var(--cream) 44%, #fff9ed 100%);
}

.rm-legal-hero {
  padding: 52px 20px 34px;
  border-bottom: 1px solid rgba(7, 30, 61, 0.12);
}

.rm-legal-hero > div {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rm-legal-hero .display {
  max-width: 900px;
  margin: 8px 0 12px;
  font-size: clamp(48px, 10vw, 84px);
  line-height: 0.91;
}

.rm-legal-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.rm-policy-date {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rm-legal-layout {
  display: grid;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.rm-legal-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.rm-policy-nav,
.rm-seller-card,
.rm-policy-content {
  border: 1px solid rgba(7, 30, 61, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(7, 30, 61, 0.07);
}

.rm-policy-nav {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.rm-policy-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 13px;
  color: var(--navy);
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.rm-policy-nav a:hover,
.rm-policy-nav a:focus-visible {
  background: rgba(247, 180, 195, 0.22);
}

.rm-policy-nav a[aria-current="page"] {
  color: var(--cream);
  background: var(--navy);
}

.rm-seller-card {
  padding: 20px;
}

.rm-seller-card > span {
  display: block;
  margin-bottom: 5px;
  color: #617084;
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rm-seller-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-brand);
  font-size: 25px;
  font-weight: 900;
}

.rm-seller-card p,
.rm-seller-card address {
  margin: 0 0 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.rm-seller-card a,
.rm-policy-content a,
.rm-privacy-note a,
.rm-reference-rights-note a,
.rm-checkout-legal a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rm-policy-content {
  overflow: hidden;
}

.rm-policy-content > section {
  padding: 24px 22px;
}

.rm-policy-content > section + section {
  border-top: 1px solid rgba(7, 30, 61, 0.1);
}

.rm-policy-content h2 {
  margin: 0 0 12px;
  font-family: var(--font-brand);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 900;
  line-height: 1.04;
}

.rm-policy-content h3 {
  margin: 22px 0 9px;
  font-family: var(--font-brand);
  font-size: 19px;
  font-weight: 900;
}

.rm-policy-content p,
.rm-policy-content li,
.rm-policy-content dd,
.rm-policy-content address {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.rm-policy-content p {
  margin: 0 0 13px;
}

.rm-policy-content p:last-child {
  margin-bottom: 0;
}

.rm-policy-content ul,
.rm-policy-content ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 21px;
}

.rm-policy-content address {
  font-style: normal;
}

.rm-policy-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 18px 0 0;
  border: 1px solid rgba(7, 30, 61, 0.1);
  border-radius: 16px;
  background: rgba(7, 30, 61, 0.1);
}

.rm-policy-facts > div {
  display: grid;
  gap: 5px;
  padding: 15px;
  background: #fffdf8;
}

.rm-policy-facts dt {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.rm-policy-facts dd {
  margin: 0;
}

.rm-policy-callout {
  margin: 17px 0;
  padding: 18px;
  border-left: 5px solid var(--teal, #5bc0be);
  border-radius: 0 16px 16px 0;
  background: rgba(91, 192, 190, 0.13);
}

.rm-policy-callout-warn {
  border-left-color: var(--pink);
  background: rgba(247, 180, 195, 0.19);
}

.rm-policy-callout strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rm-policy-next > div {
  display: grid;
  gap: 10px;
}

.rm-policy-next a {
  display: grid;
  gap: 3px;
  padding: 16px;
  border-radius: 14px;
  color: var(--navy);
  background: rgba(247, 180, 195, 0.15);
  text-decoration: none;
}

.rm-policy-next a span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rm-policy-next a strong {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 900;
}

.rm-cancellation-form {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(7, 30, 61, 0.34);
  border-radius: 16px;
  background: #fffdf8;
}

.rm-cancellation-form p {
  min-height: 28px;
  margin: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(7, 30, 61, 0.1);
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.rm-cancellation-form p:last-child {
  border-bottom: 0;
}

.rm-privacy-note,
.rm-reference-rights-note {
  margin: 10px 0 0;
  color: #4b5c72;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

.rm-reference-rights-note {
  padding: 11px 12px;
  border-radius: 11px;
  background: rgba(247, 180, 195, 0.14);
}

.rm-checkout-legal {
  display: grid;
  gap: 10px;
  margin: 15px 0;
  padding: 14px;
  border: 1px solid rgba(7, 30, 61, 0.13);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.88);
}

.rm-checkout-seller {
  display: grid;
  gap: 3px;
}

.rm-checkout-seller strong {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rm-checkout-seller span {
  font-size: 10px;
  font-weight: 750;
  line-height: 1.45;
}

.rm-terms-check {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.rm-terms-check input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color: var(--navy);
}

@media (min-width: 700px) {
  .rm-footer-legal {
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.5fr);
    align-items: center;
    padding: 24px 5vw;
  }

  .rm-footer-policy-nav {
    justify-content: flex-end;
  }

  .rm-legal-hero {
    padding: 72px 5vw 46px;
  }

  .rm-legal-hero .display {
    font-size: clamp(72px, 9vw, 112px);
  }

  .rm-legal-hero p {
    font-size: 18px;
  }

  .rm-legal-layout {
    width: min(1180px, calc(100% - 10vw));
    padding: 42px 0 96px;
  }

  .rm-policy-content > section {
    padding: 32px 34px;
  }

  .rm-policy-content h2 {
    font-size: 34px;
  }

  .rm-policy-facts > div {
    grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1.4fr);
    gap: 20px;
  }

  .rm-policy-next > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .rm-legal-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

  .rm-legal-sidebar {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-policy-nav a,
  .rm-policy-next a {
    scroll-behavior: auto;
    transition: none;
  }
}
