/* JD365 public legal pages — responsive typography and overflow handling */
*,*::before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  width:min(960px,100%);
  margin:clamp(18px,4vw,36px) auto;
  padding:0 clamp(16px,3vw,22px);
  overflow-wrap:anywhere;
}
h1{font-size:clamp(24px,4vw,32px);line-height:1.2}
h2{font-size:clamp(19px,3vw,22px);line-height:1.3}
p,li{line-height:1.65}
a{overflow-wrap:anywhere}
img,svg,video{max-width:100%;height:auto}
table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse}
th,td{min-width:130px}
footer{line-height:1.55}
@media(max-width:560px){
  body{margin:18px auto;padding:0 16px}
  h1{font-size:25px}
  .company,.warning,.note{padding:12px}
}
